A CASE SQL statement is which of the following? A way to establish a loop in SQL. A way to establish a data definition in SQL. All of these A way to establish an IF-THEN-ELSE in SQL. TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements is true concerning subqueries? All of these Involves the use of an inner and outer query. Cannot return the same result as a query that is not a subquery. Does not start with the word SELECT. TRUE ANSWER : ? YOUR ANSWER : ?
With the UNION clause, each query involved must output the same number of columns, and they must be UNION compatible. False True TRUE ANSWER : ? YOUR ANSWER : ?
The UNION clause is used to combine the output from multiple queries together into a single result table. False True TRUE ANSWER : ? YOUR ANSWER : ?
A function returns one value and has only output parameters. True False TRUE ANSWER : ? YOUR ANSWER : ?
The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID Outer join Cartesian join Equi-join Natural join TRUE ANSWER : ? YOUR ANSWER : ?
A UNION query is which of the following? Combines the output from multiple queries and does not include the same number of columns. Combines the output from no more than two queries and does not include the same number of columns. Combines the output from no more than two queries and must include the same number of columns. Combines the output from multiple queries and must include the same number of columns. TRUE ANSWER : ? YOUR ANSWER : ?
What type of join is needed when you wish to return rows that do have matching values? Outer join Equi-join Natural join All of these TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is true concerning triggers? You do not create them with SQL. They have an event, condition, and action. They cannot cascade (cause another trigger to fire). They execute against only some applications that access a database. TRUE ANSWER : ? YOUR ANSWER : ?