
Let's write some T-SQL!

Quiz
•
Specialty
•
University
•
Hard
Thuan Tran
Used 5+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
It's time to begin writing your own queries! In this first coding exercise, you will use SELECT statements to retrieve columns from a database table. You'll be working with the eurovision table, which contains data relating to individual country performance at the Eurovision Song Contest from 1998 to 2012.
Yes
Ok, let go!
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Select the country column from the eurovision table.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Amend your query to return the points column instead of the country column.
SELECT country FROM eurovision;
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Amend your query to return the points column instead of the country column.
SELECT country FROM eurovision;
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Use TOP to change the existing query so that only the first 50 rows are returned.
SELECT ........ (........) points FROM eurovision;
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Return a list of unique countries using DISTINCT. Give the results an alias of unique_country.
SELECT ........ country ........ unique_country FROM eurovision;
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
SELECT the country and event_year columns from the eurovision table.
SELECT ........ , ........ FROM ........;
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Use a shortcut to amend the current query, returning ALL columns in the table.
SELECT country, event_year FROM eurovision;
9.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This time, return only half the rows using 'TOP', using the same shortcut as before to return all columns.
SELECT ........ (50) PERCENT * FROM eurovision;
Similar Resources on Wayground
10 questions
Nursing School Ethical Issues

Quiz
•
University
10 questions
Let's sort it!

Quiz
•
University
10 questions
Who wants to be a Bidder?

Quiz
•
University
5 questions
Lesson 2: GETTING ACQUAINTED WITH SPREADSHEETS

Quiz
•
8th Grade - University
5 questions
Let's practice! - String

Quiz
•
University
10 questions
Drilling machine

Quiz
•
University
10 questions
Physical Therapy

Quiz
•
University
11 questions
Civil Air Patrol Uniform Lesson

Quiz
•
8th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Specialty
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University