Tag: databases

Questions Related to databases

DATE() returns the current date

  1. True

  2. False


Correct Option: B

the data type "tinyint" allows whole numbers from 0 to 198

  1. True

  2. False


Correct Option: B

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
  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

What are the notations used for writing SQL language

  1. OMEGA

  2. RHO

  3. DELTA

  4. PIE


Correct Option: B,D