
Let's sort it!
Authored by Thuan Tran
Specialty
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 _____;
Access all questions and much more by creating a free account
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
Pembekalan OJT
Quiz
•
University
10 questions
190 Week 2: AB-Can You-C-D?
Quiz
•
University
10 questions
E-Commerce Chap 6.2: Online Marketing And Ad Strategies & Tools
Quiz
•
University
10 questions
ANALOGUE ELECTRONICS B
Quiz
•
University
15 questions
QUIZ BAB 2 CC-43
Quiz
•
University
11 questions
1A Types of Travel (Btec)
Quiz
•
11th Grade - University
10 questions
Automatic Transmissions and Planetary gear sets
Quiz
•
9th Grade - University
15 questions
Education requirements by career
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Specialty
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University