I have this query in sql
SELECT
"Certificates"."Email",
"Organizations"."CommonName",
"Certificates"."Id",
"Certificates"."OrganizationId"
FROM
"Certificates"
INNER JOIN
"Organizations" ON "Organizations"."Id" = "Certificates"."OrganizationId"
ORDER BY
"Email"
LIMIT
15
OFFSET
0
But it returns me all the certificates, there are certificates with repeated emails, I wish it were just single emails, I tried to use DISTINCT after SELECT, but it still returns the same thing