a collection of electronically stored organized files that allows access, retrieval, and use of data
Back
keys
Front
uniquely identify a row or record in a table , and create a relationship between two tables
Back
Asterisk wildcard character (*)
Front
When used with the LIKE operator, you can match any number of occurrences of any character.
Back
IN operator
Front
a miscellaneous operator that provides a shorter method for specifying a range of conditions
Back
Primary Key
Front
a field that uniquely identifies a record in a table
Back
Primary Key
Front
a field whose value uniquely identifies every row in a table
Back
Group By clause
Front
clusters data into groups and then performs an aggregate function on the group
Back
query
Front
a question or command to extract data from a database.
Back
Brackets wildcard character ( [] )
Front
When used with the LIKE operator, you can specify a set of characters that match a character in a specific position.
Back
client/server database
Front
a system that divides processing between client computers and a database server
Back
LIKE operator
Front
A character operator. When used in conjunction with asterisks or brackets, matches parts of a value within a table.
Back
EXP ( ) arithmetic function
Front
returns a value of e (an exponent) raised to the power of a given number
Back
IS NULL
Front
used to check whether an attribute value is null
Back
SUM ( ) aggregate function
Front
sums values in a column
Back
Calculated fields
Front
lets you perform mathematical calculations on retrieved data
Back
Row
Front
a record that represents a collection of information relation to an item in a table
Back
DESC keyword
Front
Used to sort data in descending order
Back
AVG ( ) aggregate function
Front
returns the average in a column
Back
syntax
Front
rules that govern how programming language should be written
Back
Query
Front
a question or command users pose concerning data from the database
Back
SEQUEL
Front
Structured English Query Language; former name for SQL (Structured Query Language)
Back
Grouping
Front
separate data into logical sets
Back
field
Front
column in a database table that runs vertically within a table
Back
client
Front
a single user computer that interfaces with the multiple-user server.
Back
COUNT ( ) aggregate function
Front
counts the number of rows in a column
Back
SELECT
Front
the most commonly used statement in SQL
Back
Normalization
Front
three step technique used to organize data attributes in a more efficient, reliable, flexible, and maintainable structure.
Back
DISTINCT keyword
Front
used to display only unique values in a column
Back
Cartesian Product
Front
Reflects the selection of data from two or more tables without a specification of a relationship between tables; causes each row in the first table to be multiplies by the total number of rows in the second table
Back
Alias
Front
a substitute name for a field or value. To assign an an alias, you use the AS keyword
Back
NOT operator
Front
A logical operator used to match any condition opposite of the one defined.
Back
SQL
Front
a nonprocedural language that is used to manipulate and retrieve data from a relational DBMS (database management system); describes what needs to be processed.
Back
subquery
Front
A query that is embedded (or nested) inside another query. Also known as a nested query or an inner query.
Back
Query
Front
question or command
Back
MIN ( ) aggregate function
Front
finds the lowest number in a column
Back
ORDER BY clause
Front
Retrieves the name of one or more columns from the SELECT statement, and sorts (ascending or descending) the output.
Back
arithmetic
Front
function that executes a mathematical operation based on input values; provided as arguments, and return a numeric value as the result
Back
MAX ( ) aggregate function
Front
finds the highest number in a column
Back
Syntax
Front
rules that govern how you write a programming language
Back
ASC keyword
Front
Used to sort data in ascending order.
Back
natural join
Front
used to eliminate multiple occurrences of data
Back
table
Front
a structured file that contains rows and columns
Back
syntax error
Front
An error that results when an instruction does not follow the syntax rules or grammar of the programming language.
Back
foreign key
Front
link records of one type with those of another type
Back
Inner join
Front
matches values of a column in one table to the corresponding values in another table
Back
Datepart ( )
Front
Returns an integer containing a specific part of a date
Back
Server
Front
a multiple-user computer that provides shared database connection, interfacing, and processing services.
Back
keys
Front
Uniquely identify a row or record in a table.
Back
Section 2
(50 cards)
Or logical operator
Front
requires at least one expression on either side of the "OR" to be true, in order for data to be returned
Back
VALUES
Front
term used to tell the DBMS what to insert.
Back
DROP COLUMN
Front
used to remove a column from a table
Back
IF keyword
Front
used to check or set conditions on values of data retrieved from the database
Back
SAVE TRANSACTION
Front
indicates a section within a transaction to roll back to if an error occurs
Back
ADD COLUMN
Front
used to insert a new column
Back
INSERT
Front
used to add data (rows) to tables
Back
input parameters
Front
used to accept input from the user
Back
field size
Front
The maximum number of characters that can be entered into a cell (field)
Back
INTO
Front
used to specify a table name
Back
underscore "( _ )"
Front
used to match single characters
Back
NULL
Front
when you add rows to a table, a column can have no value
Back
UNION ALL
Front
returns results of two queries with duplicate rows
Back
BETWEEN(set operator)
Front
provides a shorter method of checking for a range of values
Back
Syntax rules
Front
rules that govern how a programming language must be written
Back
outer join
Front
A join that includes all of the rows from one table and only those rows from the other table that match the join field in the first table.
Back
Declaration
Front
identifying all variables that will be used in the stored procedure
Back
Savepoint
Front
enables you to pinpoint specific points within a transaction to roll back to. This allows you to avoid rolling back the entire transaction. You create Savepoints using SAVE TRANSACTION
Back
create table
Front
used to instruct the DBMS to create a new table
Back
local variable
Front
used to store values located within a stored procedure
Back
DROP PROCEDURE
Front
command to delete a stored procedure
Back
compile
Front
converting program commands into a set of instructions that the computer can understand
Back
left outer join
Front
where the query includes all of the rows from the table on the left and only those records from the table on the right that match the join field in the left table
Back
keywords (parts of a query)
Front
reserved words that allow you to communicate with a database
Back
Transaction processing
Front
used to ensure that SQL statements process fully or not at all
Back
DROP TABLE
Front
deletes a table
Back
primary key
Front
a field who value uniquely identifies every row in a table
Back
clause (parts of a query)
Front
a segment of an SQL statement combined to form a complete SQL statement
Back
BEGIN TRANSACTION
Front
indicates the beginning of a transaction
Back
COMMIT TRANSACTION
Front
indicates the ending of a transaction, and saves the transaction
Back
self join
Front
Joins a table to itself
Back
Transaction
Front
SQL statements that must be completed as a group in a logical order
Back
CREATE PRODCEDURE
Front
used to create a new procedure
Back
ALTER TABLE
Front
used to modify a table after it has been created
Back
The SELECT keyword
Front
Used to tell the database which column(s) to display.
Back
statement (parts of a query)
Front
keywords and data supplied within an SQL query
Back
and (logical operator)
Front
requires both expression on either side of the AND statement to be true in order for data to be returned
Back
INTERSECT
Front
given two queries, returns only the rows found by both queries
Back
IN (set operator)
Front
provides a shorter method for specifying a range of conditions
Back
UNION (set operator)
Front
returns the results of the two queries without duplicate rows
Back
MINUS (set operator)
Front
given two queries, returns the rows from the first query that weren't present in the second query
Back
Query
Front
a question or command you pose concerning data from the database
Back
Not (logical operator)
Front
used to match any condition opposite of the one defined.
Back
EXECUTE
Front
used to run a stored procedure. Parameters that need to be passed to the procedure must be specified within the EXECUTE Statement
Back
from
Front
used to tell the database which table to retrieve the columns from
Back
NOT NULL
Front
when you add rows to a table, you must insert a value in the specified column
Back
like
Front
parts of a value when in conjunction with wildcard characters such as asterisks or brackets
Back
data type
Front
Specifies the type of data that a column can hold (e.g., text and numbers).
Back
NULL
Front
term used to specify no value
Back
column
Front
represents a category of information within a table
Back
Section 3
(20 cards)
UPPER ( ) function
Front
converts all lowercase characters to uppercase characters
Back
DEALLOCATE statement
Front
used to release all memory associated with the cursor
Back
FETCH NEXT statement
Front
used jointly, returns the result row immediately following the current row, and increments the current row to the row returned.
Back
FETCH statement
Front
used to specify which rows to retrieve
Back
END statement
Front
tells the DBMS that a procedure is ending
Back
FOR
Front
Specifies the operation that a trigger is linked to
Back
Result set
Front
group of records retrieved by a SQL query
Back
CREATE TRIGGER statement
Front
tells the DBMS you are creating a new trigger
Back
Trigger
Front
a stored procedure that executes in response to an INSERT, UPDATE, or DELETE statement
Back
Cursor
Front
enables you to scroll through a set of records to retrieve data
Back
ON
Front
specifies the table that the trigger relates to
Back
OPEN CURSOR statement
Front
used to open a cursor
Back
BEGIN statement
Front
tells the DBMS that a new procedure is begining
Back
DROP TRIGGER trigger_name command
Front
Deletes a trigger without deleting the table
Back
DELCARE statement
Front
used to define the cursor result set that will be used for all cursor operations
Back
RETURN statement
Front
used to return results from functions
Back
WHILE loop
Front
sets a condition for a repeated execution of an SQL statement or statement block
Back
PRINT statement
Front
used to display data to an output device
Back
stored procedure
Front
One or more SQL Statement stored inside a database