Podcast Beta
Questions and Answers
- (0.150 Point) Which of the following SELECT statements lists the highest retail price of all books in the Family category?
- (0.150 Point) Consider the following schema:
T_CUSTOMER(CUST_ID, CUST_NAME, CUST_ADDRESS)
T_ORDER(ORDER_ID, ORDER DATE, CUST_ID)
What are the names of all customers who have placed orders?
- (0.150 Point) Consider the following schema:
T_CUSTOMER(CUST_ID, CUST_NAME, CUST_ADDRESS)
T_ORDER(ORDER_ID, ORDER_DATE, CUST_ID)
List customer name, identification number, and order number for all order listed in the ORDER table. Include order number even if there is no customer name and identification number available.
- (0.150 Point) Select DatePart(yy, '20/01/2021') As 'Năm'
Signup and view all the answers
- (0.150 Point) Table: Customer(CUSTOMER_ID, CUSTOMER_NAME, CUSTOMER_ADDRESS)
Give the following authorization command
GRANT SELECT ON T_CUSTOMER(CUSTOMER_NAME, CUSTOMER_ADDRESS) TO USER
The user that executes the SELECT * FROM T_CUSTOMER statement after being authorized is true, false or not possible
Signup and view all the answers
- (0.150 Point) Which of the following SQL statements are used to establish a security scheme for a database?
Signup and view all the answers
- (0.150 Point) A trigger fires in response to .....and ...statements
Signup and view all the answers
- (0.150 Point) Consider the following steps:
- Transaction A retrieves record R at time T
- Transaction B retrieves the same record at time T + 1
- Transaction A updates the record at time T+2 (base on value seen at time T)
- Transaction B updates the same record at time T+3 (base on value seen at time T+1)
What is the result of the above sequence of steps?
Signup and view all the answers
- (0.150 Points) Which of the following statements contains an error?
Signup and view all the answers
- (0.150 Points) What are the benefits of Triggers?
Signup and view all the answers