
W1 – SQL Basics Quiz
Quiz
•
Information Technology (IT)
•
Professional Development
•
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Apple
Quiz
•
Professional Development
10 questions
Project Management Bespoke Lesson 2
Quiz
•
Professional Development
15 questions
HyQuizz_Mùa 3_Day 1
Quiz
•
Professional Development
10 questions
How Cyber Safe Are You? Part 4
Quiz
•
Professional Development
15 questions
FOS Quiz 1
Quiz
•
Professional Development
10 questions
[March] Download (+) Assessment
Quiz
•
Professional Development
10 questions
Front-End Development Beginner Knowledge Test
Quiz
•
Professional Development
10 questions
WORKSHOP: HEALTHCARE DATA LAKEHOUSE IN ACTION
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
20 questions
Context Clues: Multiple Meaning Words
Quiz
•
Professional Development
18 questions
Do or Does
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...
