SQL Basic

SQL Basic

University

10 Qs

quiz-placeholder

Similar activities

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

ICT 0513 - Chapter 4 : System Unit

ICT 0513 - Chapter 4 : System Unit

University

15 Qs

BB

BB

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

University

10 Qs

Teste 1 - Inteligência Artificial

Teste 1 - Inteligência Artificial

University

10 Qs

SQL Basic

SQL Basic

Assessment

Quiz

Computers

University

Medium

Created by

John Oli

Used 41+ 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?