chapter 5 review Flashcards
(41 cards)
SQL functions fit into two board categories:
d
m
data manipulation language
data definition language
basic commands have a vocab of fewer than….. words?
100
ensure that a column will not have duplicate values?
unique
validate data in an attribute
check
create a dynamic subset of rows and columns from one or more table
create view
restrict the selection of rows based on a conditional expression
where
….creates physical files that hold a database
RDBMS
t or f: RDMS are the same
false
…. verifies that only registered users are able to access DB
DBMS
a key that is both not a null and a unique specification
primary key
….. will automatically enforce referential integrity for foreign key
RDBMS
command sequence ends with a…?
semicolon
ensure that column doesn’t accept nulls
not null constraints
ensure that all values in the column are unique
unique constraints
assign value to an attribute when a new row is added to the table
default constraints
validate data when the attribute value is entered
check
data manipulation commands:
insert
select
commit
update
rollback
delete
used to enter data into table
insert
t or f: when entering values, rows have to be between parentheses
true
changes made to table contents are not physically saved on disk until:
d
p
c
database is closed
program is closed
commit command is used
used to list contents of table
select
columnist represents…… or….. attributes. separated by commas
one or more
modify data in table
update
t or f: if more than one attribute is to be updated in a row, separate the correction with a period.
false, commas