Question : If a compound query contains both a MINUS and an INTERSECT operator, which will be applied first?
1. The INTERSECT, because INTERSECT has higher precedence than MINUS. 2. The MINUS, because MINUS has a higher precedence than INTERSECT. 3. Access Mostly Uused Products by 50000+ Subscribers 4. It is not possible for a compound query to include both MINUS and INTERSECT.
Explanation: B,C,D,F are the DML commands: they can all be rolled back. A and E are incorrect. COMMIT terminates a transaction, which can then never be rolled back. TRUNCATE is a DDL command and includes a built-in COMMIT.
Question : How can you change the primary key value of a row?
1. You cannot change the primary key value. 2. Change it with a simple UPDATE statement. 3. Access Mostly Uused Products by 50000+ Subscribers 4. This is only possible if the row is first locked with a SELECT FOR UPDATE.
1. The INTERSECT, because INTERSECT has higher precedence than MINUS. 2. The MINUS, because MINUS has a higher precedence than INTERSECT. 3. Access Mostly Uused Products by 50000+ Subscribers 4. It is not possible for a compound query to include both MINUS and INTERSECT.
1. You cannot change the primary key value. 2. Change it with a simple UPDATE statement. 3. Access Mostly Uused Products by 50000+ Subscribers 4. This is only possible if the row is first locked with a SELECT FOR UPDATE.