SQL Basic
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
John Oli
Used 42+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause is used with the ALTER TABLE statement?
JOIN
SELECT
INTO
ADD COLUMN
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a relational database?
A database that organizes information into one or more tables.
A set of data values of a particular type.
A single record in a table
A collection of data organized into rows and columns.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would you need to complete the associated UPDATE statement?
UPDATE ________
SET height = 6
WHERE id = 1;
A column name.
A table name.
The keyword INTO.
A row name.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are common data types in SQL?
PDF, JPEG, GIF, MP3
id, name, age
Row, Column
Integer, Text, Date, Real
Answer explanation
Integer - a whole number. Text - a text string. Date - a date. Real - a decimal number.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the INSERT statement do?
Fetch data from a database.
Insert a new table into a database
Insert new rows into a table
Insert new columns into a table
Answer explanation
You can use the INSERT statement when you want to add new records.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a NULL value?
A value that represents missing or unknown data.
A numerical value.
An outdated value.
A known value.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the * character?
SELECT *
FROM celebs;
It selects new values in the table.
It only selects columns where values are not empty in the table.
It selects the leftmost column in the table.
It selects every column in the table.
Answer explanation
Correct! It allows us to select every column in a table without having to name each one individually.
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
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
15 questions
ADVACOMT-Quiz No.1 (final term)
Quiz
•
University
10 questions
Web-II-Loop and Function
Quiz
•
University
10 questions
Condicionales en Racket
Quiz
•
University
10 questions
Què en saps de GSuite?
Quiz
•
University - Professi...
15 questions
Firewall and Network Security
Quiz
•
University
10 questions
Soal SKD
Quiz
•
University - Professi...
12 questions
Porcentajes
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
