Databases Flashcards
Database
a persistent structured collection of data that allows people to extract information in a way that meets their standards
Single-table database
a database that contains one table
Table
A collection of related records in a database
Record
A collection of fields that describe one item
field
a database table
data type
a classification of how data is stored and displayed, and of which operations that can be performed on the stored value
primary key
a field in a database that uniquely identifies a record
SQL
the standard query language for writing scripts to obtain useful information from a relational database
SQL Scripts
a list of SQL commands that perform a given task, often stored in a file so the script can be reused
Select
an SQL command that fetches specified fields(columns) from a table
From
an SQL command that identifies the table to use
Where
an SQL command that include only those records(rows) in a query that match a given condition
Order by
an SQL command that sorts the results from a query by a given column wither alphabetically or numerically
Sum
an SQL command that returns the sum of all the values in a field(column) used with SELECT
Count
an SQL command that counts the number of records(rows) in which the field(column) matches a specified condition; used with SELECT