
Let's sort it!
Quiz
•
Specialty
•
University
•
Practice Problem
•
Hard
Thuan Tran
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
In this exercise, you'll practice the use of ORDER BY using the grid dataset. It's loaded and waiting for you! It contains a subset of wider publicly available information on US power outages.
Yes
OK, let go!
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Select description and event_date from grid table. Your query should return the first 5 rows, ordered by event_date.
SELECT ........ (........) ........, event_date FROM grid
........ ........ ........;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Select the top 20 rows from description, nerc_region and event_date. Order by nerc_region, affected_customers & event_date. Event_date should be in descending order.
SELECT
TOP (20) PERCENT description, nerc_region, event_date
FROM grid
ORDER BY
nerc_region,
affected_customers,
event_date DESC;
SELECT
TOP (20) description, nerc_region, event_date
FROM grid
ORDER BY
nerc_region,
affected_customers,
event_date DESC;
SELECT
TOP (20) description, nerc_region, event_date
FROM grid
ORDER
nerc_region,
affected_customers,
event_date DESC;
SELECT
TOP (20) description, nerc_region, event_date
FROM grid
ORDER BY
nerc_region,
affected_customers,
event_date;
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Select the description and event_year columns. Return rows where the description is 'Paris'.
Select the description and event_year columns. Return rows where the description is 'Paris'.
SELECT ......., ....... FROM grid WHERE ....... = 'Paris';
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Select the nerc_region and demand_loss_mw columns, limiting the results to those where affected_customers is greater than or equal to 500000.
Select the nerc_region and demand_loss_mw columns, limiting the results to those where affected_customers is greater than or equal to 500000.
SELECT ......., ....... FROM grid WHERE ....... >= 500000;
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Update your code to select description and affected_customers, returning records where the event_date was the 22nd December, 2023.
Update your code to select description and affected_customers, returning records where the event_date was the 22nd December, 2023.
SELECT nerc_region, demand_loss_mw FROM grid
WHERE affected_customers >= 500000;
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank
Limit the results to those where the affected_customers is BETWEEN 50000 and 150000.
Fill in the blank
Limit the results to those where the affected_customers is BETWEEN 50000 and 150000.
SELECT description, affected_customers, event_date FROM grid
WHERE _____;
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
10 questions
Nursing School Ethical Issues
Quiz
•
University
10 questions
Remembrance Day 2020
Quiz
•
10th Grade - Professi...
11 questions
Civil Air Patrol Uniform Lesson
Quiz
•
8th Grade - University
15 questions
Global Marketing_Chap 8 Quizz
Quiz
•
University
15 questions
Hydronics
Quiz
•
University
10 questions
Overview of Risk and Insurance
Quiz
•
University
10 questions
metier et formation / droits et respensabilités
Quiz
•
University
14 questions
LCQ 16705 Section 3 & 4
Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Specialty
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
