db-900 relational data Flashcards
What is data normalization?
A schema design process that minimizes duplication of data and enforces data integrity
What are the 4 common steps of normalization?
- each type of “entity” gets its own table
- each type of “attribute” gets its own column
- Each unique instance of an entity gets a unique identifier (ID column)
- Use “foreign keys” to link entities across tables
What are the common SQL dialects?
T-SQL
MySQL
pgSQL
PL/SQL
What is T-SQL?
This is the language used by SQL Server, it stands for Transact-SQL
What is pgSQL
Language used by postgres
What is PL/SQL
This is used by Oracle, stands for Procedural Language SQL
What are the three categories of SQL statements?
Data Definition Language (DDL)
Data Control Language (DCL)
Data Manipulation Language (DML)
What are the common DDL operations?
Create, Modify, Delete objects in the database (tables, procedures, views, etc)
The most common DDL statements are:
- Create
- Alter
- Drop
- Rename