
SQL MCQ
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
CDAC Silchar
FREE Resource
Enhance your content in a minute
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which answer is NOT a type of table index?
nonclustered
unique
heap
hash
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The keywords AND, IN, LIKE, and between all belong to a category called what?
joining operations
linking operations
criteria operations
logical operations
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of this series of statements?
BEGIN TRY
SELECT 'Foo' ASResult;
END TRY
BEGIN CATCH
SELECT 'Bar' ASResult;
END CATCH
Foo
FooBar
Foo Bar
Bar
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given these two tables, which query generates a listing showing student names
and the department office location where you could reach each student?
SELECT Students.first_name, Students.last_name, Departments.office_location FROM Students, Departments;
SELECT Students.first_name, Students.last_name, Departments.office_location
FROM Students JOIN Departments ON Students.department = Departments.department;
SELECT Students.first_name, Students.last_name, Departments.office_location
FROM Students JOIN Departments;
SELECT Students.first_name, Students.last_name, Departments.office_location
FROM Students ON Students.department = Departments.department;
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the Games table pictured, which query generates the results shown?
SELECTGameType, MaxPlayers, count(*) ASNumberOfGames
FROMGames
GROUP BYMaxPlayers, GameType
ORDER BYMaxPlayers, GameType;
SELECTGameType, MaxPlayers, count(*) ASNumberOfGames
FROMGames
GROUP BYGameType, MaxPlayers
ORDER BYGameType;
SELECTGameType, count(Players) ASMaxPlayers, NumberOfGames
FROMGames
GROUP BYGameType, MaxPlayers
ORDER BYGameType;
SELECTGameType, MaxPlayers, count(*) ASNumberOfGames
FROMGames
GROUP BYGameType
ORDER BYMaxPlayers;
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which answer is a possible result of the sequence of commands below?
DECLARE@UniqueID uniqueidentifier = NEWID();
SELECT@UniqueID ASResult;
1
bb261196-66a5-43af-815d-123fc593cf3a
z350mpj1-62lx-40ww-9ho0-4u1875rt2mx4
0x2400001155F04846674AD4590F832C0
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You need to find all students that are not on the "Chemistry Cats" team. Which
query does NOT work for this task?
WHERE team NOT 'Chemistry Cats';
WHERE team <> 'Chemistry Cats';
WHERE team != 'Chemistry Cats';
WHERE NOT team = 'Chemistry Cats';
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
50 questions
Test Mendix 3
Quiz
•
Professional Development
50 questions
Final Exam - Data Entry & Retrieval Procedures
Quiz
•
Professional Development
50 questions
DP-900 Simulado
Quiz
•
Professional Development
50 questions
Operating System Quiz
Quiz
•
Professional Development
50 questions
REDES1
Quiz
•
University - Professi...
50 questions
Reti, internet e servizi
Quiz
•
Professional Development
52 questions
Word Processing
Quiz
•
Professional Development
47 questions
AZ-900 MÓDULO 01
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 Computers
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
