SQL Final Assessment
Flashcard
•
Other
•
Professional Development
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

27 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Can this query be executed and is it useful (according to the table and column definitions)?
SELECT CTITLE, CID
FROM COURSES
WHERE CID='7820'
Back
Query can be executed and makes sense (according to the table and column definitions).
2.
FLASHCARD QUESTION
Front
Which question corresponds best to the following query?
SELECT *
FROM COURSES
WHERE CTITLE LIKE '%SQL%'
AND CID NOT IN ('7800','7820')
Options:
1. Give the first row from the course table for which the column CTITLE equals *SQL* and for which the value in the column CID is neither 7800, nor 7820.
2. Give all rows from the course table for which the column CTITLE equals *SQL* and for which the value in the column CID is neither 7800, nor 7820.
3. Give the first row from the course table for which the column CTITLE contains the character sequence SQL and for which the value in the column CID is neither 7800, nor 7820.
4. Give all rows from the course table for which the column CTITLE contains the character sequence SQL and for which the value in the column CID is neither 7800, nor 7820.
5. Give the first row from the course table for which the column CTITLE equals *SQL* and for which the value in the column CID does not lie between 7800 and 7820.
Back
Give all rows from the course table for which the column CTITLE contains the character sequence SQL and for which the value in the column CID is neither 7800, nor 7820.
3.
FLASHCARD QUESTION
Front
Which question corresponds best to the following query?
SELECT CID, CDUR ‐1,' =PRICE' FROM
COURSES
ORDER BY2
Options:
Select three columns from the COURSES table, of which the third one has a constant value, i.e.
“= PRICE”. Leave an empty line after every second line.
,
Select two columns from the COURSES table, the second one gets as title “= PRICE”. Sort the
data according to the second column, in ascending order.
,
Select three columns from the COURSES table, of which the third one has a constant value, i.e.
“= PRICE”. Sort the data according to the second column, in ascending order.
,
Select two columns from the COURSES table, of which the second one has a constant value, i.e.
“= PRICE”. Sort the data according to the second column, in ascending
Back
Select three columns from the COURSES table, of which the third one has a constant value, i.e.
“= PRICE”. Sort the data according to the second column, in ascending order.
4.
FLASHCARD QUESTION
Front
Which table will be the result of the query? SELECT S_CID, MAX (SNO) FROM SESSIONS GROUP BY S_CID ORDER BY 2
Back
5.
FLASHCARD QUESTION
Front
Which table will be the result of the query?
SELECT SNO, SDATE
FROM SESSIONS
WHERE DAYNAME(SDATE) =‘Monday’
AND DAYNAME(SDATE) =‘Tuesday’
Back
6.
FLASHCARD QUESTION
Front
Which table will be the result of the query?
SELECT MAX(S_CID) ASS_CID FROM
SESSIONS
GROUP BY SINSTRUCTOR
HAVING COUNT(SDATE) > 1
Back
7.
FLASHCARD QUESTION
Front
Which table will be the result of the query? SELECT DISTINCT S_CID FROM SESSIONS WHERE SCANCEL ISNULL
Back
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
19 questions
PRACTICAL RESEARCH 2_Q2_Reviewer
Flashcard
•
12th Grade - University
26 questions
Definitions & Functions of Law
Flashcard
•
University
15 questions
Oscar Wilde Flashcard
Flashcard
•
University - Professi...
20 questions
Vocabulary Flashcards
Flashcard
•
University
20 questions
Lesson 8 Intermediate (for Logistics students only)
Flashcard
•
Professional Development
20 questions
Lesson 8 [tháng 2-3 DE Beginner] cô Hallie
Flashcard
•
Professional Development
20 questions
The Gift of Magi Flashcard
Flashcard
•
University
25 questions
Ch. 3 Inventory Management 20252 Flashcard
Flashcard
•
University
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 Other
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