
SQL Basic
Authored by John Oli
Computers
University
Used 42+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?