Exam Flashcards
includes commands to create database
Data Definition Language
is a group of database objects
Schema
is a collection of related data
Table
type of constraint. . to extablish and enforce a link
Foreign Key
type of constraints that ensures. . no duplicate values
Unique Constraint / Unique
what sql command is used to remove an object
DROP
command is used to list the contents of a table
SELECT
is a function that returns the current system date for MySQL
CURDATE()
wheter an attribute value is within a range
BETWEEN
subquery returns any rows
EXISTS
the highest maximmum value in the table
MAX()
the toal sum for any specified attribute
SUM()
when you have attribute columns combined with aggregate functions
GROUP BY
condition is generally composed of an equality comparison between
Referential Integrity Constraint (RIC)
type of join wherein a table is connected to itself
Self join
type of outer join wherein it will show all rows
Right outer join
statement combines rows from two or more queries
UNION
join performs a relational product
Cartesian Join
this select subquery is used anywhere a single value is expected
Scalar subquery
operator allows you to check if a single value exists
IN operator
one way of reading every row in a table and comparing values in each row against related data
Correlated subquery