Académique Documents
Professionnel Documents
Culture Documents
False
2. The explanation below is a User Defined integrity rule and must therefore be
manually coded, the Database cannot enforce this rule automatically: A primary key
must be unique, and no part of the primary key can be null. True or False?
True
3. The text below is an example of what constraint type: The value in the
manager_id column of the EMPLOYEES table must match a value in the employee_id
column in the EMPLOYEES table.
Referential integrity
4. A table must have a primary key. True or False?
True
5. Why would this table name NOT work in an Oracle database?
This_year_end+next_year
None of the above
6. In a physical data model, a relationship is represented as a combination of:
(Choose Two)
Prima
ry Key
or
Uniqu
e Key
Foreign Key
7. The transformation from an ER diagram to a physical design involves changing
terminology. Primary Unique Identifiers in the ER diagram become __________ and
relationships become ____________.
Primary keys, Foreign keys
8.One-to-One relationships are transformed into Check Constraints in the tables
created at either end of that relationship. True or False?
False
9. What do you create when you transform a many to many relationship from your
ER diagram into a physical design?
Intersection table
10. An "Arc Implementation" can be done just like any other Relationship - you
simply add the required Foreign Keys. True or False?
False
3. The explanation below is a column integrity constraint: A column must contain
only values consistent with the defined data format of the column. True or False?
True
5. In a physical data model, an attribute becomes a _____________.
Column
SEL * FR sky;
15. In which clause of a SELECT statement would you specify the name of the table
or tables being queried?
17. In a SQL statement, which clause specifies one or more columns to be returned
by the query?
FROM
18. If a SQL statement returns data from two or more tables, which SQL capability is
being used?
Joining
28. You need to display all the rows in the EMPLOYEES table that contain a null
value in the DEPARTMENT_ID column. Which comparison operator should you use?
"= NULL"
29. You want to retrieve a list of customers whose last names begin with the letters
Fr . Which keyword should you include in the WHERE clause of your SELECT
statement to achieve the desired result?
LIKE
32. You want to retrieve a list of customers whose last names begin with the letters
Fr . Which symbol should you include in the WHERE clause of your SELECT
statement to achieve the desired result?
%
33. You need to display all the values in the EMAIL column that contains the
underscore (_) character as part of that email address. The WHERE clause in your
SELECT statement contains the LIKE operator. What must you include in the LIKE
operator?
The ESCAPE option (\)
37. The ORDER BY clause always comes last. True or False?
True
38. You need to change the default sort order of the ORDER BY clause so that the
data is displayed in reverse alphabetical order. Which keyword should you include in
the ORDER BY clause?
DESC
39. Which of the following are TRUE regarding the logical AND operator?
TRUE AND FALSE return FALSE
40. Which statement about the default sort order is true?
The earliest date values are displayed first.
42. Which statement about the logical operators is true?
The order of operator precedence is NOT, OR, and AND.