Permalink
Browse files

How did this even work at all, at least in sqlplus this syntax fails

  • Loading branch information...
1 parent 48d3472 commit 77721580766de5a313d4eba734272b9898f31405 Amos Wenger committed May 22, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 queries/basic_e.sql
View
@@ -1,7 +1,6 @@
-- Compute the highest scoring and lowest scoring player for each season.
CREATE OR REPLACE VIEW best_players AS
-
SELECT
person_id best_player_id, pts best_player_pts, year
FROM (
@@ -19,7 +18,6 @@ WHERE r = 1;
CREATE OR REPLACE VIEW worst_players AS
-
SELECT
person_id worst_player_id, pts worst_player_pts, year
FROM (
@@ -37,7 +35,6 @@ WHERE r = 1;
CREATE OR REPLACE VIEW best_players_unique AS
-
SELECT * FROM best_players
WHERE ROWID IN (
SELECT MAX(ROWID)
@@ -46,7 +43,6 @@ WHERE ROWID IN (
CREATE OR REPLACE VIEW worst_players_unique AS
-
SELECT * FROM worst_players
WHERE ROWID IN (
SELECT MAX(ROWID)

0 comments on commit 7772158

Please sign in to comment.