Cognizant interview question

Full SQL queries - grant and transaction also