Exam Prep Flashcards
analysis phase
specifies database requirements represented as entities
AKA conceptual design, entity-relationship modeling
logical design
implements database requirements by converting entities, relationships and attributes into tables, keys and columns
physical design
adds indexes and specifies how tables are organized on storage media
MySQL Command-line client
text interface in MySQL Server
- returns error code
DDL (data definition language)
defines structure of database
DQL (data query language)
retrieves data from database
DML (data manipulation)
manipulates data stored in database
DCL (data control)
controls database user access
DTL (data transaction)
manages database transactions
Drop table
deletes a table and its rows
Update statement
modifies existing rows by using SET clause and optional WHERE clause
Truncate
deletes all rows from a table
- like delete statement without WHERE clause
auto-increment column
numeric column that is assigned an automatically incrementing value when a new row is inserted
RESTRICT
rejects an insert, update, or delete that violates referential integrity
CASCADE
propagates primary key changes to foreign keys
TRIM
returns string s without leading and trailing spaces
INNER JOIN
selects only matching left and right table rows