automated commit by check50 [check50=True]
This commit is contained in:
4
12.sql
4
12.sql
@@ -18,7 +18,7 @@ WITH least_expensive_per_hit AS (
|
|||||||
WHERE s."year" = 2001
|
WHERE s."year" = 2001
|
||||||
AND perf."H" > 0
|
AND perf."H" > 0
|
||||||
ORDER BY
|
ORDER BY
|
||||||
CAST(s."salary" AS REAL) / perf."H" ASC,
|
(s."salary" / perf."H") ASC,
|
||||||
p."first_name" ASC,
|
p."first_name" ASC,
|
||||||
p."last_name" ASC
|
p."last_name" ASC
|
||||||
LIMIT 10
|
LIMIT 10
|
||||||
@@ -37,7 +37,7 @@ least_expensive_per_rbi AS (
|
|||||||
WHERE s."year" = 2001
|
WHERE s."year" = 2001
|
||||||
AND perf."RBI" > 0
|
AND perf."RBI" > 0
|
||||||
ORDER BY
|
ORDER BY
|
||||||
CAST(s."salary" AS REAL) / perf."RBI" ASC,
|
(s."salary" / perf."RBI") ASC,
|
||||||
p."first_name" ASC,
|
p."first_name" ASC,
|
||||||
p."last_name" ASC
|
p."last_name" ASC
|
||||||
LIMIT 10
|
LIMIT 10
|
||||||
|
|||||||
Reference in New Issue
Block a user