Cognizant Interview Question

They asked me to write dbms queries and 2 -3 puzzles.