Pergunta de entrevista da empresa Rio Tinto

How have you used SQL in a production environment?