Skip to content

Commit

Permalink
multiple votes
Browse files Browse the repository at this point in the history
  • Loading branch information
magyarb committed Mar 18, 2017
1 parent 39191bc commit 9a3b32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/akvote_full.sql
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ CREATE UNIQUE INDEX "egyszer" ON "public"."votes" USING btree ("votedfor", "user
BEGIN
OPEN ref FOR (

SELECT "name", aksz, hoksz, akprec, hokprec, (akprec+hokprec)/2 as sumprec FROM
SELECT "name", aksz, hoksz, akprec, hokprec, aksz+hoksz as sumsz, (akprec+hokprec)/2 as sumprec FROM

(
SELECT "name", aksz, hoksz,
Expand Down

0 comments on commit 9a3b32d

Please sign in to comment.