SQL Easy Test
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
VIKAS BANDARU
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which SQL keyword is used to retrieve data from a table?
Answer explanation
`SELECT` is the standard SQL keyword for retrieving data.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to rename a column in the result set?
Answer explanation
`AS` is used to provide an alias for a column.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is correct to delete all rows from the table `orders`?
Answer explanation
`DELETE FROM table_name;` removes all rows but keeps the table structure.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the syntax error: `SELECT id name FROM employees;`
Answer explanation
Multiple columns in SELECT must be separated by commas.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will this query return? `SELECT UPPER('sql');`
Answer explanation
`UPPER()` converts the string to uppercase, returning `SQL`.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement creates a new table named `books` with two columns: id (INT) and title (VARCHAR)?
Answer explanation
Correct SQL syntax uses `CREATE TABLE` followed by column definitions.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which SQL keyword is used to sort the result set?
Answer explanation
`ORDER BY` is the SQL keyword for sorting.
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
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
16 questions
Hour_of_Code
Quiz
•
5th - 12th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
25 questions
CPA Inkscape Quiz 01
Quiz
•
7th - 12th Grade
20 questions
Perangkat Lunak dan Struktur Pemrograman (UH 2)
Quiz
•
10th Grade
15 questions
Dasar Kompetensi Keahlian IPv6
Quiz
•
10th Grade
20 questions
معالجة الصور المتقدمة
Quiz
•
10th Grade
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
