SQL Skill Test - Workana
Sign in to Google to save your progress. Learn more
Email *
Workana Profile link
Please enter your full name *
MULTIPLE CHOICE QUESTIONS
1. Which​ of the following comparison operators could be used in an outer query to filter records using a subquery that returns multiple rows? *
2. Which of the following is true about Primary Key? *
3. Write a query to extract the following data from students_table: *
Captionless Image
4. How​ will you list all majors with more than 1 student enrolled in them? *
Captionless Image
5. Which of the following statements is correct about the query *
Captionless Image
6. Which of the following could be a possible issue with the output of the query? *
Captionless Image
7. Based on the following queries, which of the following statements is NOT correct? *
Captionless Image
8. Which​ of these queries will return “No”? *
9. Which of the following queries will select​ all the information about the student with the 3rd highest gpa from students_table in MySQL? *
Captionless Image
10. Which​ of the following clauses can have a subquery? *
WRITE QUERIES FOR THE FOLLOWING QUESTIONS
User the tables below to answer question 11
11. Write a query to calculate the total handling cost of each order using the tables above (in  MySQL) *
Captionless Image
Use the tables Problem, Expert, Problem_rating to answer questions 12-14
12. Write a query to count the number of problems asked in the last 24 hours (in MySQL) *
13. Write a single query to extract the two following data at once: (1) Percentage of problems that are unrated (any problem that does not exist in the problem_rating table is unrated) (2) Percentage of problems that were rated 4 or 5 stars (in MySQL) *
14. Write a query to output the email of the expert with second highest average rating (in MySQL) *
Following is a schema of a grocery store with 4 tables. Use this schema to answer the question 15-17
15. Use the schema and 4 tables above to write a query to calculate the total amount spent by each customer. The output of the query should have two columns - customer name and total amount spent (in  MySQL) *
16. Use the schema and 4 tables above to write a query to list top 3 selling products along with revenue generated by these products. Output of the query should have two columns - product name and revenue (in  MySQL) *
17. Use the schema and 4 tables above to write a query to output the quantity of milk sold by date (in gallons). Output should have two columns - date and gallons of milk sold (in  MySQL) *
Submit
Clear form
Never submit passwords through Google Forms.
This form was created inside of Got It, Inc.. Report Abuse