1. The Basics of SQL Flashcards

1
Q

What does SQL stand for?

A

Structured Query Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is SQL?

A

SQL is a computer language used to communicate with databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can a primary key not contain?

A

NULL values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a SELECT statement?

A

A SELECT statement is used to select data from a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a primary key?

A

A primary key, also called a primary keyword, is a key in a relational database that is unique for each record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a record?

A

It is a row of columns in a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a NULL value?

A

NULL values represent missing / unknown / unavailable data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which character is used to close a statement?

A

Semicolon or ;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What SQL statement is used to extract/choose data from a database?

A

SELECT statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly