Exam 4: Single Table Queries
Exam 1: Introduction to Kimtay Pet Supplies and Staywell Student Accommodation Databases36 Questions
Exam 2: Database Design Fundamentals33 Questions
Exam 3: Creating Tables35 Questions
Exam 4: Single Table Queries35 Questions
Exam 5: Multiple Table Queries34 Questions
Exam 6: Updating Data34 Questions
Exam 7: Database Administration35 Questions
Exam 8: Functions Procedures and Triggers35 Questions
Select questions type
Which clause is used to restrict the groups that will be included in a query result?
(Multiple Choice)
4.8/5
(37)
Which of the following operators can be used for a column computation?
(Multiple Choice)
4.8/5
(36)
Which operator uses one or more wildcard characters to test for a pattern match?
(Multiple Choice)
4.8/5
(38)
In MySQL, you can use an asterisk (*) to represent any column when using the _____.
(Multiple Choice)
4.8/5
(36)
Mallory would like to display the rows from a MySQL table that have "Red," "Pink," or "White" in the COLOR column. A concise way of writing her query would be to use a(n) _____.
(Multiple Choice)
5.0/5
(31)
What does the following SQL query do? SELECT INVOICE_NUM FROM INVOICE_LINE WHERE PROD_CODE IN (SELECT PROD_CODE FROM PRODUCTS WHERE (PROD_TYPE = 'Cupcake'));
(Multiple Choice)
5.0/5
(40)
When you need to sort data on two columns, the less important column is called the _____.
(Multiple Choice)
5.0/5
(38)
Which operator finds rows that do not contain a null value in the specified column?
(Multiple Choice)
4.7/5
(38)
Imagine that you are working with a MySQL table called ADDRESS_BOOK with the following columns: FIRST_NAME, LAST_NAME, STREET_ADDRESS, CITY, STATE, ZIP_CODE, and BIRTHDAY. Write queries to (1) list all rows missing the ZIP code value and (2) list all rows that include a birthday value.
(Essay)
4.9/5
(32)
Showing 21 - 35 of 35
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)