SQL Flashcards
SQL
Structured Query Language
DDL
Data Definition Language
-AutoCommit-
CRUD
Create
Read
Update
Delete
DDL Commands
Create
Alter
Drop
Truncate
DML
Data Manipulation Language
-NotAutoCommit-
DML Commands
Insert
Update
Delete
DQL
Data Query Language
DQL Commands
Select
DCL
Data Control Language
-Controls who can see data-
DCL Commands
Grant
Revoke
TCL
Transaction Control Language
TCL Commands
Commit
Savepoint
Rollback
Functions (Built-in)
Scalar
Aggregate
Scalar Function
returns a single row for every row queried in a table or row
Aggregate Function
returns a single result or set for a group of rows/tables
Query Makeup
SELECT (column list) FROM (table list) WHERE (condition1) AND (condition2) GROUP BY (column list) HAVING (condition) ORDER BY (default(ie assending) or DESC)
ResultSet
Table of results returned by execution of a SQL Query