SQL Basic

SQL Basic

University

10 Qs

quiz-placeholder

Similar activities

Database starter

Database starter

12th Grade - University

15 Qs

ICT502_LECTURE 2 RELATIONAL MODEL

ICT502_LECTURE 2 RELATIONAL MODEL

University

15 Qs

DDL

DDL

University

10 Qs

TechWizard Trivia

TechWizard Trivia

University

15 Qs

SQL Programming

SQL Programming

4th Grade - Professional Development

10 Qs

RDBMS

RDBMS

University

15 Qs

DDL

DDL

University

15 Qs

Normalization

Normalization

University

12 Qs

SQL Basic

SQL Basic

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?