SQL Fundamentals Quiz
Test your knowledge of SQL syntax, commands, operators, constraints, views, indexes, and database management concepts.
Questions
SQL is case sensitive
- True
- False
The SQL SELECT INTO statement can be used to create backup copies of tables.
- True
- False
Constraints can be specified after a table is created
- True
- False
The users cannot see an index
- True
- False
We cannot add SQL functions, WHERE, and JOIN statements to a view
- True
- False
DATE() returns the current date
- True
- False
the data type "tinyint" allows whole numbers from 0 to 198
- True
- False
The WHERE keyword cannot be used with aggregate functions.
- True
- False
SQL wildcards must not be used with the SQL LIKE operator.
- True
- False
The IN operator allows you to specify multiple values in a WHERE clause.
- True
- False
How many categories are available for SQL Commands
- 1
- 2
- 3
- 4
Commit is required after truncate command is issued.
- True
- False
Which of the following is the correct usage of Order by
- select col1,col2 from table_a order by col2,col1 desc
- select col1,col2 from table_a order by 2,col1 desc
- select col1,col2 from table_a order by 2,1
- select col1,col2 from table_a order by 1,col2
What are the notations used for writing SQL language
- OMEGA
- RHO
- DELTA
- PIE
What will happen when Database Instance is up but Listner is not running
- you will not be able to connect locally ,but you can be able to connect to DB from remote
- you cannot be able to connect to DB either from remote or from local
- you cane to connect to DB either from remote or from local
- you will not be able to connect remotely ,but you can be able to connect to DB locally
What are the different tags which can be used with 'LIKE'
- *
- ?
- _ (underscore)
- %