Py4Inf-14-Database-Clicker

Databases
What is the primary value add
of relational databases over
flat files?
A. Ability to store data in a format that can be sent across
a network
B. Ability to quickly convert data to HTML
C. Ability to scan large amounts of data quickly
D. Ability to execute PHP code within the file
Which command is used to
retrieve all records from the
table?
A. RETRIVE * FROM Users
B. SELECT * FROM Users
C. RETRIEVE all FROM Users
D. SELECT all FROM Users
Which keyword will cause the
results of the query to be
displayed in sorted order?
A. ORDER BY
B. WHERE
C. GROUP BY
D. None of these
Which of these is the right
syntax to make a new
database?
A. MAKE DATASET people;
B. MAKE people;
C. CREATE people;
D. CREATE DATABASE people;
Which of the following is NOT
a good rule to follow when
developing a database model?
A. Use a persons email address as their primary key
B. Use integers as primary keys
C. Never repeat string data in more than one table in a
data model
D. Each "object" in the application should be modeled as
one or more tables
Which of the following is the
label we give a column that the
"outside world" uses to look up
a particular row?
A. Logical key
B. Primary key
C. Foreign key
D. Local key
E. Remote key
What is the label we give to a
column that is an integer and
used to point to a row in a
different table?
A. Logical key
B. Primary key
C. Foreign key
D. Local key
E. Remote key
What MySQL keyword is added to primary
keys in a CREATE TABLE statement to
indicate that the database
is to provide a value for the column when
records are inserted.
A. PRIMARY
B. INSERT_AUTO_PROVIDE
C. AUTO_INCREMENT
D. ASSERT_UNIQUE