Tag: databases

Questions Related to databases

DATE() returns the current date

  1. True

  2. False


Correct Option: B

The WHERE keyword cannot be used with aggregate functions.

  1. True

  2. False


Correct Option: A

The IN operator allows you to specify multiple values in a WHERE clause.

  1. True

  2. False


Correct Option: A

Commit is required after truncate command is issued.

  1. True

  2. False


Correct Option: B

Which of the following is the correct usage of Order by

  1. select col1,col2 from table_a order by col2,col1 desc

  2. select col1,col2 from table_a order by 2,col1 desc

  3. select col1,col2 from table_a order by 2,1

  4. select col1,col2 from table_a order by 1,col2


Correct Option: A,C