SQL Fundamentals Quiz

Test your knowledge of SQL syntax, commands, operators, constraints, views, indexes, and database management concepts.

16 Questions Published

Questions

Question 1 True/False

SQL is case sensitive

  1. True
  2. False
Question 2 True/False

The SQL SELECT INTO statement can be used to create backup copies of tables.

  1. True
  2. False
Question 3 True/False

Constraints can be specified after a table is created

  1. True
  2. False
Question 4 True/False

The users cannot see an index

  1. True
  2. False
Question 5 True/False

We cannot add SQL functions, WHERE, and JOIN statements to a view

  1. True
  2. False
Question 6 True/False

DATE() returns the current date

  1. True
  2. False
Question 7 True/False

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

  1. True
  2. False
Question 8 True/False

The WHERE keyword cannot be used with aggregate functions.

  1. True
  2. False
Question 9 True/False

SQL wildcards must not be used with the SQL LIKE operator.

  1. True
  2. False
Question 10 True/False

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

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

How many categories are available for SQL Commands

  1. 1
  2. 2
  3. 3
  4. 4
Question 12 True/False

Commit is required after truncate command is issued.

  1. True
  2. False
Question 13 Multiple Choice (Multiple Answers)

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
Question 14 Multiple Choice (Multiple Answers)

What are the notations used for writing SQL language

  1. OMEGA
  2. RHO
  3. DELTA
  4. PIE
Question 15 Multiple Choice (Single Answer)

What will happen when Database Instance is up but Listner is not running

  1. you will not be able to connect locally ,but you can be able to connect to DB from remote
  2. you cannot be able to connect to DB either from remote or from local
  3. you cane to connect to DB either from remote or from local
  4. you will not be able to connect remotely ,but you can be able to connect to DB locally
Question 16 Multiple Choice (Multiple Answers)

What are the different tags which can be used with 'LIKE'

  1. *
  2. ?
  3. _ (underscore)
  4. %