COMPUTER AWARENESS - DATE BASE MCQS SET 77
1. The SQL ALTER statement can be used to:
A.change the table structure.
A.change the table structure.
B.change the table data.
C.add rows to the table.
D.delete rows from the table.
2.What SQL structure is used to limit column values of a table?
A.The LIMIT constraint
D.delete rows from the table.
2.What SQL structure is used to limit column values of a table?
A.The LIMIT constraint
B.The CHECK constraint
C.The VALUE constraint
D.None of the above is correct.
3. Which is NOT one of the most common types of SQL CHECK constraints?
A.System date B.Range checks C.Lists of values
D.Comparing one column value to another within the same table
4.What is an advantage of placing computations in SQL views?
A.To save users from having to write an expression.
B.To ensure that the results are consistent.
C.To accomplish both of the above.
D.None of the above is correct - computations cannot be placed in a view.
5.Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
A. GROUP BY. B. WHERE. C. ORDER BY. D.FROM.
ANSWER:D.None of the above is correct.
3. Which is NOT one of the most common types of SQL CHECK constraints?
A.System date B.Range checks C.Lists of values
D.Comparing one column value to another within the same table
4.What is an advantage of placing computations in SQL views?
A.To save users from having to write an expression.
B.To ensure that the results are consistent.
C.To accomplish both of the above.
D.None of the above is correct - computations cannot be placed in a view.
5.Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
A. GROUP BY. B. WHERE. C. ORDER BY. D.FROM.
1.A
2.B
3.A
4.C
5.C
2.B
3.A
4.C
5.C
No comments:
Post a Comment