Consider the Orders relation shown in the exhibit. Which of the following SQL statements would return all complete tuples for order dates in 2002, arranged by amount from lowest to highest?
Correct Answer:D
Consider the following SQL statement and the Orders relation shown in the exhibit:
How many records should be returned?
Correct Answer:C
Which term best defines a database system in which data records are stored with no structured relationships between the records?
Correct Answer:A
Consider the following SQL statement and the Orders relation shown in the exhibit:
What is the output of this SQL statement?
Correct Answer:C
Consider the Information Engineering diagram shown in the exhibit. Building_ID, R_ID, Room_Count and Room_Num are integer numbers, whereas Bldg_Name, Location and Res_Name are all represented by variable-length strings with a maximum of 20 characters. Which SQL statement best implements the RESIDENT relation shown in this diagram?
Correct Answer:D
Consider the Information Engineering diagram shown in the exhibit for a building management company. Referential integrity must be maintained such that a building cannot be deleted when it has residents. Building_ID, R_ID, Room_Count and Room_Num are integer numbers, whereas Bldg_Name, Location and Res_Name are all represented by variable-length strings with a maximum of 20 characters. Which SQL statement best implements the relations shown in this diagram?
Correct Answer:C