db-900 relational data Flashcards

1
Q

What is data normalization?

A

A schema design process that minimizes duplication of data and enforces data integrity

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

What are the 4 common steps of normalization?

A
  1. each type of “entity” gets its own table
  2. each type of “attribute” gets its own column
  3. Each unique instance of an entity gets a unique identifier (ID column)
  4. Use “foreign keys” to link entities across tables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the common SQL dialects?

A

T-SQL
MySQL
pgSQL
PL/SQL

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

What is T-SQL?

A

This is the language used by SQL Server, it stands for Transact-SQL

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

What is pgSQL

A

Language used by postgres

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

What is PL/SQL

A

This is used by Oracle, stands for Procedural Language SQL

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

What are the three categories of SQL statements?

A

Data Definition Language (DDL)
Data Control Language (DCL)
Data Manipulation Language (DML)

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

What are the common DDL operations?

A

Create, Modify, Delete objects in the database (tables, procedures, views, etc)

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

The most common DDL statements are:

A
  1. Create
  2. Alter
  3. Drop
  4. Rename
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly