Created
April 30, 2016 05:24
-
-
Save alexandre-mbm/6fd18d82a7659278576c946e662db202 to your computer and use it in GitHub Desktop.
Tentando prever resultado final de concurso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
"objetivas"."matricula" "matricula", | |
"objetivas"."nome" "nome", | |
"objetivas"."nascimento" "nascimento", | |
"objetivas"."nota" "nota1", | |
"discursiva"."nota" "nota2", | |
"objetivas"."nota" + "discursiva"."nota" "pontos", | |
"objetivas"."esp" "especificos", | |
"objetivas"."leg" "legislacao", | |
"objetivas"."port" "portugues" | |
FROM | |
"objetivas" "objetivas", "discursiva" "discursiva" | |
WHERE | |
"objetivas"."matricula" = "discursiva"."matricula" | |
ORDER BY | |
"pontos" DESC, "especificos" DESC, "nota2" DESC, "legislacao" DESC, "portugues" DESC, "nascimento" ASC | |
LIMIT 160 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment