Created
April 30, 2016 05:24
-
-
Save alexandre-mbm/6fd18d82a7659278576c946e662db202 to your computer and use it in GitHub Desktop.
Revisions
-
alexandre-mbm created this gist
Apr 30, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ 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