Formatando as consultas SQL