EPAM Systems Interview Question

Write couple of SQL queries