Quiz 10

Question # 1

Q

Which query/queries will return alternate rows from a table containing customer data?

A)
Select customerId from (Select rowId, customerId from customer) where mod(rowId,2)=1
B)
Select customerId from (Select rowId, customerId from customer) where mod(rowId,2)=0
C)
Select customerId from (Select odd(rowId) from customer);
D)
Select alternate(customerId) from customer;

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.