Type of data that a column can contain as well as the maximum number of characters or digits that the column can store
Character
• CHAR(n): Fixed-length character data
• VARCHAR(n): Variable-length character data
Number
• DECIMAL(p,q): used to represent decimal numbers
• INT: used to represent integer values
Date
• DATE
Back
IS NULL
Front
special operator that specifies null values for a column in a query
Back
key
Front
the column on which data is to be sorted when the ORDER BY clause is used
Back
INSERT
Front
The SQL command used to add rows to a table
Back
null
Front
A data value used to represent situations in which an actual value is unknown, unavailable or not applicable
Back
null data value
Front
A data value used to represent situations in which an actual value is unknown, unavailable or not applicable
Back
DESC
Front
operator included in an ORDER BY clause when results are to be sorted in descending order
Back
NOT NULL
Front
The clause in a CREATE TABLE command used to indicate which columns cannot contain null values
Back
Open source software
Front
Software for which the source code is freely and publicly available
Back
Reserved words
Front
SQL command words
Back
database management system (DBMS):
Front
A software program that lets you create a database and then use it to add, change, delete, sort, and view the data in a database
Back
grouping
Front
Creates groups of tows that share some common characteristic
Back
IS NOT NULL
Front
special operator used to specify no null values for a column in a query
Back
USE
Front
The SQL command to change the default database
Back
UPDATE
Front
The SQL command used to change a value in a table
Back
VALUES
Front
The SQL command used to insert values in a table
Back
CREATED DATABASE
Front
The SQL command to create a database
Back
IN clause
Front
The clause that consists of the IN operator, the operator which finds a value in a group of values specified in the condition
Back
MySQL
Front
An open source, full-featured database management system
Back
MIN
Front
function that calculates the minimum value in a numeric range
Back
compound condition
Front
A condition formed by connecting two or more simple conditions
Back
HAVING clause
Front
The clause that limits a condition to the groups that are included
Back
major sort key
Front
The more important column when data on two columns needs to be sorted
Back
MySQL
Front
An open source database management system that supports the SQL language
Back
AND
Front
logical operator that connects simple conditions and requires all conditions to be true for the compound condition to be true
Back
default database
Front
Database to which all subsequent commands pertain
Back
SHOW COLUMNS
Front
The SQL command used to list all the columns in a table
Back
DDL
Front
data definition language
Back
DESCRIBE
Front
The SQL command used to list all the columns in a table and their corresponding data types
Back
Structured Query Language
Front
A language used for retrieving and manipulating database data
Back
FROM clause
Front
The clause that indicates the table from which to retrieve the specified columns
Back
Database schema
Front
logical container for the database objects
Back
statement history
Front
A special area in which the most recently entered command is stored
Back
MAX
Front
function that calculates the maximum value in a numeric range
Back
AVG
Front
function that calculates the average value in a numeric range
Back
SQL
Front
Structured Query Language
Back
BETWEEN
Front
special operator that specifies a range of values in a condition
Back
minor sort key
Front
The less important column when data on two columns needs to be sorted
Back
DELETE
Front
The SQL command used to delete a row in a table
Back
SELECT
Front
The SQL command used to view data in a table
Back
GROUP BY clause
Front
The clause that groups rows based on the specified column
Back
COUNT
Front
function that counts the number of rows in a table
Back
DROP TABLE
Front
The SQL command used to drop an entire table
Back
aggregate function
Front
Special SQL functions that apply to groups of rows and used to calculate sums, averages, counts, maximum values, and minimum values
Back
DISTINCT
Front
operator that eliminates duplicate values in the results of a query
Back
database
Front
A structure that contains different categories of information and the relationships between these categories
Back
computed column
Front
A column that does not exist in the database but can be computed using data in existing columns
Back
IN
Front
special operator which finds a value in a group of values specified in the condition
Back
DML
Front
data manipulation language
Back
LIKE
Front
special operator that uses one or more wildcard characters to test for a pattern match
Back
Section 2
(31 cards)
INTERSECT
Front
Operator that creates a temporary table containing all rows that are in both tables
Back
EXISTS
Front
Operator that checks for the existence of rows that satisfy some criterion
Back
NOT
Front
logical operator that reverses the truth of the original condition
Back
nested subquery
Front
A subquery with a subquery
Back
union compatible
Front
A condition where two tables have the same number of columns and their corresponding columns have identical data types and lengths
Back
difference
Front
The set of all rows that are in the first table but that are not in the second table
Back
full outer join
Front
A join in which all rows from both tables will be included regardless of whether they match rows from the other table
Back
outer join
Front
A join in which all rows from one table in a join is listed, regardless of whether they match any rows in the other table
Back
sort key
Front
The column on which data is to be sorted when the ORDER BY clause is used
Back
right outer join
Front
A join in which all rows from the table on the right will be included regardless of whether they match rows from the table on the left
Back
simple condition
Front
A condition that has the form: column name, comparison operator, and either another column name or a value
Back
union
Front
A table containing every row that is in either the first table, the second table, or both tables
Back
ORDER BY clause
Front
The clause that allows query results to be sorted in a specified order
Back
UNION
Front
Operator that creates a temporary table containing every row that is in either the first table, the second table, or both tables
Back
query
Front
A question represented in a way that the DBMS can understand
Back
MINUS
Front
Operator that creates a temporary table containing the set of all rows that are in the first table but that are not in the second table
Back
subquery
Front
The inner query in nested queries
Back
OR
Front
logical operator that connects simple conditions; compound condition will be true whenever one of the simple conditions is true
Back
product
Front
The combination of all rows in the first table and all rows in the second table
Back
intersection
Front
A table which contains all rows that are in the two tables
Back
secondary sort key
Front
The less important column when data on two columns needs to be sorted
Back
join
Front
The process of combining two or more tables by finding rows in the tables that have identical values in matching fields.
Back
Cartesian Product
Front
The combination of all rows in the first table and all rows in the second table
Back
alias
Front
An alternate name for a table
Back
SELECT clause
Front
The clause that specifies the columns to retrieve in the query
Back
inner join
Front
A join that compare the tables in the FROM clause and lists only those rows that satisfy the condition in the WHERE clause
Back
WHERE clause
Front
The clause that specifies any conditions for the query
Back
primary sort key
Front
The more important column when data on two columns needs to be sorted
Back
self-join
Front
The process of joining a table to itself
Back
left outer join
Front
A join in which all rows from the table on the left will be included regardless of whether they match rows from the table on the right