Babban Gona interview question

Querying databases when subject to constraints.