Quiz 10

Quiz yourself on conditions and triggers in MySQL.

We'll cover the following...

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;
Access this course and 1400+ top-rated courses and projects.