
W1 – SQL Basics Quiz
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Hard
Bernard Zephaniah
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Your manager, Adwoa, is explaining the database structure. She points to the "customer_id" column in the customers table and says, "This column is special because it uniquely identifies every single customer. No two customers can have the same one." What is this type of column called?
Foreign Key
Unique Column
Primary Key
Index Column
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In the database hierarchy, a Table (like customers) exists inside a ________, which in turn exists inside a Database.
Column
Schema
Server
Row
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Adwoa gives you an Entity-Relationship Diagram (ERD) for a database. What is the primary purpose of this diagram for you as an analyst?
To see the actual data inside the tables.
To understand the tables, their columns, and how they are related to each other.
To check the performance of SQL queries.
To create new customer accounts.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To sort the results of a query from the highest value to the lowest value (e.g., most expensive to least expensive), you would use the ORDER BY clause followed by the keyword ____.
ASC
HIGH
DESC
LOW
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kofi from Marketing asks for "a list of all customers who live in Kumasi AND registered after January 1st, 2024." Which WHERE clause correctly represents this request?
WHERE city = 'Kumasi' OR registration_date > '2024-01-01'
WHERE city = 'Kumasi' AND registration_date < '2024-01-01'
WHERE city = 'Kumasi' AND registration_date > '2024-01-01'
WHERE city = 'Kumasi' OR registration_date < '2024-01-01'
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A colleague shows you this query: SELECT * FROM products WHERE price > 50 AND < 100;. It's not working. What is the correct way to write this condition?
WHERE price > 50 AND price < 100
WHERE price IS BETWEEN 50 TO 100
WHERE price > 50 OR < 100
WHERE price IN (50, 100)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You've written a complex query for a team report. What is a crucial "soft skill" action you should take before sharing it with your colleagues?
Add comments (--) to the SQL code to explain what each part of the query does.
Don't share the query, just the final results.
Name all your columns with short, one-letter aliases to save space.
Make sure to use as many subqueries as possible to show your skill.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Knowledge Check 4 (Final)
Quiz
•
Professional Development
15 questions
Understanding BOM in JavaScript (11R)
Quiz
•
Professional Development
10 questions
Ice Breaking Koding dan Kecerdasan Artifisial
Quiz
•
Professional Development
10 questions
JavaScript Operators and Expressions Quiz
Quiz
•
Professional Development
15 questions
Nusantara Knowledge Forum
Quiz
•
Professional Development
15 questions
Microsoft IT Pro Meetup - July
Quiz
•
Professional Development
10 questions
ATE6123 Fundamental of Wireless Communications - Topic 3
Quiz
•
Professional Development
10 questions
Web Development Mastery
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
