fixed schema names

This commit is contained in:
j-weissen 2022-11-29 22:13:24 +01:00
parent 576f4a4333
commit 684ded6af0

View file

@ -27,7 +27,7 @@ CREATE VIEW lb_highscore AS (
SELECT username, max(score) AS highscore FROM game GROUP BY username ORDER BY highscore DESC SELECT username, max(score) AS highscore FROM game GROUP BY username ORDER BY highscore DESC
); );
CREATE VIEW lb_highscore AS ( CREATE VIEW lb_total_score AS (
SELECT username, sum(score) AS total_score FROM game GROUP BY username ORDER BY total_score DESC SELECT username, sum(score) AS total_score FROM game GROUP BY username ORDER BY total_score DESC
); );