When someone tries to delete the row from the other table (master table), prevent deletion from that other table (and of course, also don't delete from me, but that's not the main point here).
Back
candidate keys
Front
a column, or set of columns, in a table that can uniquely identify any database record without referring to any other data.
Back
what term is synonymous with relation?
Front
table
Back
sql domain
Front
new data type, not supported in mysql
Back
relational table
Front
A set of data elements (values) that is organized using a model of vertical columns (which are identified by their name) and horizontal rows, the cell being the unit where a row and column intersect.
Back
Product list of tables
Front
SHOW TABLES
Back
cross join
Front
each row from one table is combined with each row from another table
Back
composite key
Front
A primary key that consists of two or more fields.
Back
foreign keys
Front
A column or group of columns used to represent relationships. Values of the foreign key match values of the primary key in a different (foreign) table.
Back
default date format for mysql
Front
yyyy-mm-dd
Back
can you code USING with ON
Front
no
Back
command to change value in record of a table
Front
UPDATE
Back
The order of precedence for the logical operators in a WHERE clause is
Front
NOT, AND, OR
Back
LIMIT 4, 7
Front
return a maximum of 7 rows, starting with the 5th row
Back
individual character wildcard
Front
_
Back
conceptual schema
Front
high-level description of the whole database
Back
internal schema
Front
describes the physical storage structure of the database
Back
the date data type can store
Front
dates only, not times
Back
null value
Front
A special field value, distinct from 0, blank or any other value, that indicates that the value for the field is missing or otherwise unknown
Back
data
Front
facts that are recorded and can be accessed. In addition to text and numbers, data can also
appear in other formats, such as figures, graphics, images, and audio/video recordings.
Back
database management system
Front
a computerized system that enables users to create and
maintain a database. The DBMS is a general-purpose software system that facilitates the processes of
defining, constructing, manipulating, and sharing databases among various users and applications.
Back
database
Front
a collection of related data
Back
data manipulation language
Front
A language associated with a database management system that end users and programmers use to manipulate data in the database.
Back
relation instance
Front
current set of rows for a relation schema
Back
A full outer join returns
Front
unmatched rows from both the left and right tables
Back
atomic domain
Front
If elements of the domain are considered to be indivisable units
Back
multi-valued attributes
Front
A single entity may have multiple values for that attribute. For example, Color of a Car or Previous Degrees of a STUDENT
Back
advantages of dbms
Front
1)Reductions of data redundancy and inconsistency 2) Potential for data sharing 3) data independence 4) data standardization 5) improved data security 6) Expanded data fields 7) Enhanced information timeliness, effectiveness and availability
Back
super key
Front
a combination of columns that uniquely identifies any row within a relational database management system (RDBMS) table
Back
logical data independence
Front
The capacity to change the conceptual schema w/o having to change the external schemas and their associated application programs
Back
information
Front
refers to the data that is accessed by a user for some particular purpose.
Back
When you code a SELECT statement, you must code the four main clauses in the following order
Front
SELECT, FROM, WHERE, ORDER BY
Back
CASCADE DELETE
Front
When a record in a parent table is deleted, deletes all the related records from the child table where the value from the primary key matches the value in the foreign key.
Back
relation schema
Front
relation name and its attributes
Back
data redundancy
Front
unnecessarily duplicated data are found in the database
Back
surrogate key
Front
A system-assigned primary key, generally numeric and auto-incremented.
Back
DROP TABLE STUDENT;
Front
remove both the data and the table structure of the table named student
Back
data definition language
Front
builds the data dictionary, creates the database, describes logical views, and specifies record or field security constraints.
Back
display the results of the combined SQL statements without suppressing duplicate rows
Front
UNION ALL
Back
external schema
Front
describe the views of different user groups
Back
three tier architecture
Front
users, servers, databases
Back
SET NULL
Front
Specifies that if an attempt is made to delete or update a row with a key referenced by foreign keys in existing rows in other tables, all rows containing those foreign keys are set to NULL.
Back
intersect
Front
all rows in both tables
Back
two tier architecture
Front
client & server
Back
cartesian product
Front
The combination of all rows in the first table and all rows in the second table
Back
physical data independence
Front
Applications do not access data directly but, rather through an abstract data model provided by the DBMS. Applications immune to changes in storage structures
Back
primary key
Front
A field (or group of fields) that uniquely identifies a given entity in a table
Back
derived attributes
Front
Attributes Calculated
Back
how do you simulate a full outer join
Front
union
Back
remove only the data from a table named STUDENT while leaving the table structure intact
Alter the Customer_T table, and add a field called "Type"
Front
Alter Table Customer_T
Add (Type Varchar (2));
Back
transaction
Front
may cause some data to be read and some
data to be written into the database
Back
database system
Front
computer-based system whose purpose is to enable an efficient interaction
between the users and the information captured in a database.
database + DBMS
Back
CREATE USER
Front
SQL command statement to create a user
Back
traditional file processing disadvantages
Front
1. Data redundancy and inconsistency.
2. Difficulty in accessing data.
3. Data isolation.
4. Integrity problems.
5. atomicity problems
6. concurrent-access anomalies
7. security problems
Back
ALTER TABLE
Front
Back
DROP COLUMN can only be used to delete one column at a time