1.2 Structured Query Language Flashcards

1
Q

Structured Query Language (SQL)

A

high-level computer language for storing, manipulating, and retrieving data

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

SQL statement

A

a complete command composed of one or more clauses

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

clause

A

groups SQL keywords like SELECT, FROM, and WHERE with table names like City, column names like Name, and conditions like Population > 100000

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

Literals

A

Explicit values that are string, numeric, or binary.
Strings must be surrounded by single quotes or double quotes.

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

Keywords

A

Words with special meaning

ex: SELECT, FROM, WHERE

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

identifiers

A

Objects from the database like tables, columns, etc.

ex: City, Name, Population

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

Data Definition Language (DDL)

A

defines the structure of the database

DDL creates, alters, and drops tables

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

Data Query Language (DQL)

A

retrieves data from the database.

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

Data Manipulation Language (DML)

A

manipulates data stored in a database.

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

Data Control Language (DCL)

A

controls database user access.

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

Data Transaction Language (DTL)

A

manages database transactions.

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