SQL Online Quiz - 3
Tests fundamental SQL concepts including database structure, SELECT queries, JOINs, and SQL commands
Questions
Question 1 Multiple Choice (Single Answer)
SELF JOIN not allowed in
- Indexed view
- procedures
- triggers
- views
Question 2 Multiple Choice (Single Answer)
Which of the following do you need to consider when you make a table in SQL?
- Data types
- Primary keys
- Default values
- All of the above.
Question 3 Multiple Choice (Single Answer)
SQL query and modification commands make up a(n)
- DDL
- DML
- HTML
- XML
Question 4 Multiple Choice (Single Answer)
When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s
- LIKE only.
- IN only.
- NOT IN only.
- Both IN and NOT IN.
Question 5 Multiple Choice (Single Answer)
Find the SQL statement below that is equal to the following:SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';
- SELECT NAME IN CUSTOMER WHERE STATE IN ('VA');
- SELECT NAME IN CUSTOMER WHERE STATE = 'VA';
- SELECT NAME IN CUSTOMER WHERE STATE = 'V'
- SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
Question 6 Multiple Choice (Single Answer)
On UPDATE CASCADE ensures which of the following
- Normalization
- Data Integrity
- Materialized Views
- All of the above
Question 7 Multiple Choice (Single Answer)
Which of the following statements is false?
- Tables contain one or more rows
- Rows contain one or more database of information
- Databases contain one or more tables
Question 8 Multiple Choice (Single Answer)
Which portion of a database system contains the actual data elements, such as the name, address, or a phone number for a particular person?
- Tables
- Columns
- Rows
- Databases