SQL Basic

Quiz
•
Computers
•
University
•
Medium
John Oli
Used 40+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Key and constrain

Quiz
•
University
10 questions
DBMS concepts (Easy)

Quiz
•
University
15 questions
seatwork RDBMS

Quiz
•
University
13 questions
Week6-ERD-2

Quiz
•
University
12 questions
IntroToDatabases W2

Quiz
•
University
15 questions
DBMS_Quiz_1

Quiz
•
University
10 questions
SQL Queries

Quiz
•
University
11 questions
CH8 of database

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade