instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is City, when IATA is 'amm'? | SELECT "City" FROM table_8826 WHERE "IATA" = 'amm' | [
2061,
318,
2254,
11,
618,
314,
13563,
318,
705,
6475,
30960,
46506,
366,
14941,
1,
16034,
3084,
62,
3459,
2075,
33411,
366,
40,
13563,
1,
796,
705,
6475,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
2254,
11,
618,
314,
13563,
318,
705,
6475,
30960,
46506,
366,
14941,
1,
16034,
3084,
62,
3459,
2075,
33411,
366,
40,
13563,
1,
796,
705,
6475,
6
] |
How many episodes have a segment d that is goalie masks (part 2)? | SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 2)" | [
2437,
867,
8640,
423,
257,
10618,
288,
326,
318,
31071,
20680,
357,
3911,
362,
19427,
46506,
327,
28270,
7,
38668,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
10618,
62,
67,
796,
366,
35231,
494,
20680,
357,
3911,
362,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8640,
423,
257,
10618,
288,
326,
318,
31071,
20680,
357,
3911,
362,
19427,
46506,
327,
28270,
7,
38668,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
10618,
62,
67,
796,
366,
35231,
494,
20680,
357,
3911,
362,
16725
] |
number of points dolphins scored against tampa bay buccaneers in week 4 | SELECT "result" FROM table_204_9 WHERE "opponent" = 'tampa bay buccaneers' AND "week" = 4 | [
17618,
286,
2173,
36798,
7781,
1028,
256,
13299,
15489,
809,
535,
33547,
287,
1285,
604,
46506,
366,
20274,
1,
16034,
3084,
62,
18638,
62,
24,
33411,
366,
10365,
3471,
1,
796,
705,
83,
13299,
15489,
809,
535,
33547,
6,
5357,
366,
1046... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17618,
286,
2173,
36798,
7781,
1028,
256,
13299,
15489,
809,
535,
33547,
287,
1285,
604,
46506,
366,
20274,
1,
16034,
3084,
62,
18638,
62,
24,
33411,
366,
10365,
3471,
1,
796,
705,
83,
13299,
15489,
809,
535,
33547,
6,
5357,
366,
1046... |
List all the names of schools with an endowment amount smaller than or equal to 10. | SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10 | [
8053,
477,
262,
3891,
286,
4266,
351,
281,
886,
36569,
2033,
4833,
621,
393,
4961,
284,
838,
13,
46506,
309,
17,
13,
14347,
62,
3672,
16034,
886,
36569,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
14347,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
477,
262,
3891,
286,
4266,
351,
281,
886,
36569,
2033,
4833,
621,
393,
4961,
284,
838,
13,
46506,
309,
17,
13,
14347,
62,
3672,
16034,
886,
36569,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
14347,
62,
... |
Find the number of funiture types produced by each manufacturer as well as the company names Show bar chart, and sort in descending by the Y-axis. | SELECT Name, COUNT(*) FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.Manufacturer_ID = t2.Manufacturer_ID GROUP BY t1.Manufacturer_ID ORDER BY COUNT(*) DESC | [
16742,
262,
1271,
286,
1257,
8089,
3858,
4635,
416,
1123,
11554,
355,
880,
355,
262,
1664,
3891,
5438,
2318,
8262,
11,
290,
3297,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
11554,
7054,
256... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
1257,
8089,
3858,
4635,
416,
1123,
11554,
355,
880,
355,
262,
1664,
3891,
5438,
2318,
8262,
11,
290,
3297,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
11554,
7054,
256... |
which country has the most number of medals ? | SELECT "nation" FROM table_203_608 ORDER BY "total" DESC LIMIT 1 | [
4758,
1499,
468,
262,
749,
1271,
286,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
28688,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1499,
468,
262,
749,
1271,
286,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
28688,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] |
Three Men and a Little Lady from Touchstone Pictures was from what year? | SELECT year FROM table_name_12 WHERE distributor_s_ = "touchstone pictures" AND title = "three men and a little lady" | [
12510,
6065,
290,
257,
7703,
11182,
422,
15957,
6440,
20051,
373,
422,
644,
614,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1065,
33411,
32137,
62,
82,
62,
796,
366,
29332,
6440,
5986,
1,
5357,
3670,
796,
366,
15542,
1450,
290,
257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12510,
6065,
290,
257,
7703,
11182,
422,
15957,
6440,
20051,
373,
422,
644,
614,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1065,
33411,
32137,
62,
82,
62,
796,
366,
29332,
6440,
5986,
1,
5357,
3670,
796,
366,
15542,
1450,
290,
257,
... |
What is Date, when Attendance is greater than 20,066, and when Visitor is 'Boston Bruins'? | SELECT "Date" FROM table_47389 WHERE "Attendance" > '20,066' AND "Visitor" = 'boston bruins' | [
2061,
318,
7536,
11,
618,
46502,
590,
318,
3744,
621,
1160,
11,
15,
2791,
11,
290,
618,
6911,
2072,
318,
705,
31710,
27607,
30960,
46506,
366,
10430,
1,
16034,
3084,
62,
2857,
29769,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1238,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
7536,
11,
618,
46502,
590,
318,
3744,
621,
1160,
11,
15,
2791,
11,
290,
618,
6911,
2072,
318,
705,
31710,
27607,
30960,
46506,
366,
10430,
1,
16034,
3084,
62,
2857,
29769,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1238,
1... |
let me know if patient brian brock is married or unmarried. | SELECT demographic.marital_status FROM demographic WHERE demographic.name = "Brian Brock" | [
1616,
502,
760,
611,
5827,
275,
4484,
1379,
694,
318,
6405,
393,
39183,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
20501,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1616,
502,
760,
611,
5827,
275,
4484,
1379,
694,
318,
6405,
393,
39183,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
20501,
1
] |
Who was the successor for the reason for change being 'died January 16, 1944? | SELECT "Successor" FROM table_24499 WHERE "Reason for change" = 'Died January 16, 1944' | [
8241,
373,
262,
17270,
329,
262,
1738,
329,
1487,
852,
705,
67,
798,
3269,
1467,
11,
16994,
30,
46506,
366,
33244,
273,
1,
16034,
3084,
62,
25707,
2079,
33411,
366,
45008,
329,
1487,
1,
796,
705,
35,
798,
3269,
1467,
11,
16994,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
17270,
329,
262,
1738,
329,
1487,
852,
705,
67,
798,
3269,
1467,
11,
16994,
30,
46506,
366,
33244,
273,
1,
16034,
3084,
62,
25707,
2079,
33411,
366,
45008,
329,
1487,
1,
796,
705,
35,
798,
3269,
1467,
11,
16994,
6
] |
When was the school with the largest enrollment founded? | SELECT founded FROM university ORDER BY enrollment DESC LIMIT 1 | [
2215,
373,
262,
1524,
351,
262,
4387,
20753,
9393,
30,
46506,
9393,
16034,
6403,
38678,
11050,
20753,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
1524,
351,
262,
4387,
20753,
9393,
30,
46506,
9393,
16034,
6403,
38678,
11050,
20753,
22196,
34,
27564,
2043,
352
] |
give me the number of elective hospital admission patients who had cardiopulmonary resuscitation, not otherwise specified. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.long_title = "Cardiopulmonary resuscitation, not otherwise specified" | [
26535,
502,
262,
1271,
286,
1742,
425,
4436,
13938,
3871,
508,
550,
2657,
14922,
377,
36639,
48636,
3780,
11,
407,
4306,
7368,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
1742,
425,
4436,
13938,
3871,
508,
550,
2657,
14922,
377,
36639,
48636,
3780,
11,
407,
4306,
7368,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... |
On songs that have a release date of 6/17/61, a track larger than 20, and a writer of Woody Harris, what is the chart peak? | SELECT "Chart Peak" FROM table_80295 WHERE "Release Date" = '6/17/61' AND "Track" > '20' AND "Writer(s)" = 'woody harris' | [
2202,
7259,
326,
423,
257,
2650,
3128,
286,
718,
14,
1558,
14,
5333,
11,
257,
2610,
4025,
621,
1160,
11,
290,
257,
6260,
286,
37684,
10026,
11,
644,
318,
262,
8262,
9103,
30,
46506,
366,
45488,
23974,
1,
16034,
3084,
62,
1795,
25710... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2202,
7259,
326,
423,
257,
2650,
3128,
286,
718,
14,
1558,
14,
5333,
11,
257,
2610,
4025,
621,
1160,
11,
290,
257,
6260,
286,
37684,
10026,
11,
644,
318,
262,
8262,
9103,
30,
46506,
366,
45488,
23974,
1,
16034,
3084,
62,
1795,
25710... |
What is the socket type for the processor with a multiplier 1 of 11.5x? | SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x" | [
2061,
318,
262,
17802,
2099,
329,
262,
12649,
351,
257,
33090,
352,
286,
1367,
13,
20,
87,
30,
46506,
17802,
16034,
3084,
62,
3672,
62,
2791,
33411,
33090,
62,
16,
796,
366,
1157,
13,
20,
87,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
17802,
2099,
329,
262,
12649,
351,
257,
33090,
352,
286,
1367,
13,
20,
87,
30,
46506,
17802,
16034,
3084,
62,
3672,
62,
2791,
33411,
33090,
62,
16,
796,
366,
1157,
13,
20,
87,
1
] |
For all employees who have the letters D or S in their first name, what is the relationship between commission_pct and department_id ? | SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
644,
318,
262,
2776,
1022,
5810,
62,
79,
310,
290,
5011,
62,
312,
5633,
46506,
22240,
40373,
62,
47,
4177,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
644,
318,
262,
2776,
1022,
5810,
62,
79,
310,
290,
5011,
62,
312,
5633,
46506,
22240,
40373,
62,
47,
4177,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
... |
what is the year for borderlands 2? | SELECT year FROM table_name_81 WHERE game = "borderlands 2" | [
10919,
318,
262,
614,
329,
4865,
4447,
362,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
6659,
33411,
983,
796,
366,
20192,
4447,
362,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
614,
329,
4865,
4447,
362,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
6659,
33411,
983,
796,
366,
20192,
4447,
362,
1
] |
What's the highest Points with the Team of Tacuary, and has Losses that's smaller than 4? | SELECT MAX("Points") FROM table_39039 WHERE "Team" = 'tacuary' AND "Losses" < '4' | [
2061,
338,
262,
4511,
11045,
351,
262,
4816,
286,
26075,
2838,
11,
290,
468,
22014,
274,
326,
338,
4833,
621,
604,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
25964,
2670,
33411,
366,
15592,
1,
796,
705,
83,
330,
2838,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
4511,
11045,
351,
262,
4816,
286,
26075,
2838,
11,
290,
468,
22014,
274,
326,
338,
4833,
621,
604,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
25964,
2670,
33411,
366,
15592,
1,
796,
705,
83,
330,
2838,
6,
... |
What is the highest Stolen Ends when ludmila privivkova shows for skip? | SELECT MAX("Stolen Ends") FROM table_41512 WHERE "Skip" = 'ludmila privivkova' | [
2061,
318,
262,
4511,
520,
8622,
46756,
618,
300,
463,
76,
10102,
1953,
452,
74,
10071,
2523,
329,
14267,
30,
46506,
25882,
7203,
1273,
8622,
46756,
4943,
16034,
3084,
62,
35038,
1065,
33411,
366,
50232,
1,
796,
705,
75,
463,
76,
1010... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
520,
8622,
46756,
618,
300,
463,
76,
10102,
1953,
452,
74,
10071,
2523,
329,
14267,
30,
46506,
25882,
7203,
1273,
8622,
46756,
4943,
16034,
3084,
62,
35038,
1065,
33411,
366,
50232,
1,
796,
705,
75,
463,
76,
1010... |
What are the processors supported by a ddr2 memory and the nforce 550 model? | SELECT "Processors Supported" FROM table_39045 WHERE "Memory" = 'ddr2' AND "Model" = 'nforce 550' | [
2061,
389,
262,
20399,
4855,
416,
257,
288,
7109,
17,
4088,
290,
262,
299,
3174,
25240,
2746,
30,
46506,
366,
18709,
669,
36848,
1,
16034,
3084,
62,
25964,
2231,
33411,
366,
30871,
1,
796,
705,
1860,
81,
17,
6,
5357,
366,
17633,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
20399,
4855,
416,
257,
288,
7109,
17,
4088,
290,
262,
299,
3174,
25240,
2746,
30,
46506,
366,
18709,
669,
36848,
1,
16034,
3084,
62,
25964,
2231,
33411,
366,
30871,
1,
796,
705,
1860,
81,
17,
6,
5357,
366,
17633,
1,
... |
when was the loan ended when the country is ghana? | SELECT "Ended" FROM table_46422 WHERE "Country" = 'ghana' | [
12518,
373,
262,
8063,
4444,
618,
262,
1499,
318,
24997,
2271,
30,
46506,
366,
12915,
276,
1,
16034,
3084,
62,
44578,
1828,
33411,
366,
33921,
1,
796,
705,
456,
2271,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
373,
262,
8063,
4444,
618,
262,
1499,
318,
24997,
2271,
30,
46506,
366,
12915,
276,
1,
16034,
3084,
62,
44578,
1828,
33411,
366,
33921,
1,
796,
705,
456,
2271,
6
] |
What was the highest grid for a time/retired of +19.1 secs? | SELECT MAX(grid) FROM table_name_50 WHERE time_retired = "+19.1 secs" | [
2061,
373,
262,
4511,
10706,
329,
257,
640,
14,
1186,
1202,
286,
1343,
1129,
13,
16,
792,
82,
30,
46506,
25882,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
640,
62,
1186,
1202,
796,
43825,
1129,
13,
16,
792,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
10706,
329,
257,
640,
14,
1186,
1202,
286,
1343,
1129,
13,
16,
792,
82,
30,
46506,
25882,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
640,
62,
1186,
1202,
796,
43825,
1129,
13,
16,
792,
82,
1
] |
Who is the lead of the nation with Juha Pekaristo as the alternate? | SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo" | [
8241,
318,
262,
1085,
286,
262,
3277,
351,
12585,
3099,
350,
988,
34566,
78,
355,
262,
13527,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
3510,
33411,
13527,
796,
366,
14396,
3099,
613,
21070,
396,
78,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
1085,
286,
262,
3277,
351,
12585,
3099,
350,
988,
34566,
78,
355,
262,
13527,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
3510,
33411,
13527,
796,
366,
14396,
3099,
613,
21070,
396,
78,
1
] |
Which tournament had a 2012 of a and a 2011 of 2r? | SELECT tournament FROM table_name_25 WHERE 2012 = "a" AND 2011 = "2r" | [
13828,
7756,
550,
257,
2321,
286,
257,
290,
257,
2813,
286,
362,
81,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1495,
33411,
2321,
796,
366,
64,
1,
5357,
2813,
796,
366,
17,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7756,
550,
257,
2321,
286,
257,
290,
257,
2813,
286,
362,
81,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1495,
33411,
2321,
796,
366,
64,
1,
5357,
2813,
796,
366,
17,
81,
1
] |
what is the monthly minimum amount of phosphate patient 8204 has since 06/2105? | SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8204) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'phosphate') AND STRFTIME('%y-%m', labevents.charttime) >= '2105-06' GROUP BY... | [
10919,
318,
262,
9651,
5288,
2033,
286,
46926,
5827,
807,
18638,
468,
1201,
9130,
14,
17,
13348,
30,
46506,
20625,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
9651,
5288,
2033,
286,
46926,
5827,
807,
18638,
468,
1201,
9130,
14,
17,
13348,
30,
46506,
20625,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
465... |
name the date where score time is w 74-63 | SELECT date FROM table_17186229_4 WHERE score_time = "W 74-63" | [
3672,
262,
3128,
810,
4776,
640,
318,
266,
8915,
12,
5066,
46506,
3128,
16034,
3084,
62,
1558,
25096,
23539,
62,
19,
33411,
4776,
62,
2435,
796,
366,
54,
8915,
12,
5066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3672,
262,
3128,
810,
4776,
640,
318,
266,
8915,
12,
5066,
46506,
3128,
16034,
3084,
62,
1558,
25096,
23539,
62,
19,
33411,
4776,
62,
2435,
796,
366,
54,
8915,
12,
5066,
1
] |
Which Airport has a IATA of erz? | SELECT airport FROM table_name_63 WHERE iata = "erz" | [
13828,
12690,
468,
257,
314,
13563,
286,
1931,
89,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
5066,
33411,
1312,
1045,
796,
366,
263,
89,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12690,
468,
257,
314,
13563,
286,
1931,
89,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
5066,
33411,
1312,
1045,
796,
366,
263,
89,
1
] |
How many people does the KRF Party preside over? | SELECT AVG("Innhabitants") FROM table_35423 WHERE "Party" = 'krf' | [
2437,
867,
661,
857,
262,
29430,
37,
3615,
906,
485,
625,
30,
46506,
35224,
7203,
818,
77,
5976,
270,
1187,
4943,
16034,
3084,
62,
32182,
1954,
33411,
366,
33553,
1,
796,
705,
38584,
69,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
857,
262,
29430,
37,
3615,
906,
485,
625,
30,
46506,
35224,
7203,
818,
77,
5976,
270,
1187,
4943,
16034,
3084,
62,
32182,
1954,
33411,
366,
33553,
1,
796,
705,
38584,
69,
6
] |
what was the last episode called ? | SELECT "title" FROM table_203_182 ORDER BY "no. in\nseries" DESC LIMIT 1 | [
10919,
373,
262,
938,
4471,
1444,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
24294,
38678,
11050,
366,
3919,
13,
287,
59,
77,
25076,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
4471,
1444,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
24294,
38678,
11050,
366,
3919,
13,
287,
59,
77,
25076,
1,
22196,
34,
27564,
2043,
352
] |
What is the total revenue of companies started by founder. Plot them as bar chart. | SELECT Founder, SUM(Revenue) FROM Manufacturers GROUP BY Founder | [
2061,
318,
262,
2472,
6426,
286,
2706,
2067,
416,
9119,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
30153,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
30153
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
6426,
286,
2706,
2067,
416,
9119,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
30153,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
30153
] |
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium? | SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium" | [
2215,
318,
262,
8464,
3425,
776,
1437,
1134,
418,
11,
262,
17490,
12,
929,
267,
6760,
9607,
418,
290,
262,
14359,
299,
1134,
418,
50162,
5356,
10308,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2996,
33411,
8464,
796,
366,
6839,
776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
318,
262,
8464,
3425,
776,
1437,
1134,
418,
11,
262,
17490,
12,
929,
267,
6760,
9607,
418,
290,
262,
14359,
299,
1134,
418,
50162,
5356,
10308,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2996,
33411,
8464,
796,
366,
6839,
776,
... |
What score has a game greater than 29, with 24-6 as the record? | SELECT score FROM table_name_6 WHERE game > 29 AND record = "24-6" | [
2061,
4776,
468,
257,
983,
3744,
621,
2808,
11,
351,
1987,
12,
21,
355,
262,
1700,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
21,
33411,
983,
1875,
2808,
5357,
1700,
796,
366,
1731,
12,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
468,
257,
983,
3744,
621,
2808,
11,
351,
1987,
12,
21,
355,
262,
1700,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
21,
33411,
983,
1875,
2808,
5357,
1700,
796,
366,
1731,
12,
21,
1
] |
what is admission type and lab test abnormal status of subject id 2560? | SELECT demographic.admission_type, lab.flag FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
13938,
2099,
290,
2248,
1332,
18801,
3722,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
2248,
13,
32109,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
2099,
290,
2248,
1332,
18801,
3722,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
2248,
13,
32109,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
give me the number of patients whose marital status is widowed and diagnoses icd9 code is 56962? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "WIDOWED" AND diagnoses.icd9_code = "56962" | [
26535,
502,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
40567,
14158,
67,
24,
2438,
318,
642,
3388,
5237,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
40567,
14158,
67,
24,
2438,
318,
642,
3388,
5237,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
Name the drawn for lost being 5 and tries for 89 | SELECT drawn FROM table_27293285_4 WHERE lost = "5" AND tries_for = "89" | [
5376,
262,
7428,
329,
2626,
852,
642,
290,
8404,
329,
9919,
46506,
7428,
16034,
3084,
62,
1983,
31675,
26279,
62,
19,
33411,
2626,
796,
366,
20,
1,
5357,
8404,
62,
1640,
796,
366,
4531,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
7428,
329,
2626,
852,
642,
290,
8404,
329,
9919,
46506,
7428,
16034,
3084,
62,
1983,
31675,
26279,
62,
19,
33411,
2626,
796,
366,
20,
1,
5357,
8404,
62,
1640,
796,
366,
4531,
1
] |
when did patient 65759 first get prescribed a drug since 01/2103? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 65759) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2103-01' ORDER BY prescriptions.startdate LIMIT 1 | [
12518,
750,
5827,
6135,
38314,
717,
651,
14798,
257,
2563,
1201,
5534,
14,
17,
15197,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
6135,
38314,
717,
651,
14798,
257,
2563,
1201,
5534,
14,
17,
15197,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... |
What did they do against Villanova? | SELECT "Result" FROM table_24089 WHERE "Opponent" = 'Villanova' | [
2061,
750,
484,
466,
1028,
9757,
40993,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
49352,
33411,
366,
27524,
3471,
1,
796,
705,
42074,
40993,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
484,
466,
1028,
9757,
40993,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
49352,
33411,
366,
27524,
3471,
1,
796,
705,
42074,
40993,
6
] |
Show the premise type and address type code for all customer addresses. | SELECT T2.premises_type, T1.address_type_code FROM customer_addresses AS T1 JOIN premises AS T2 ON T1.premise_id = T2.premise_id | [
15307,
262,
18659,
2099,
290,
2209,
2099,
2438,
329,
477,
6491,
9405,
13,
46506,
309,
17,
13,
31605,
2696,
62,
4906,
11,
309,
16,
13,
21975,
62,
4906,
62,
8189,
16034,
6491,
62,
2860,
16746,
7054,
309,
16,
32357,
1268,
17095,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
18659,
2099,
290,
2209,
2099,
2438,
329,
477,
6491,
9405,
13,
46506,
309,
17,
13,
31605,
2696,
62,
4906,
11,
309,
16,
13,
21975,
62,
4906,
62,
8189,
16034,
6491,
62,
2860,
16746,
7054,
309,
16,
32357,
1268,
17095,
7054,
... |
Give me a histogram for how old is each gender, on average?, and sort X in descending order please. | SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender DESC | [
23318,
502,
257,
1554,
21857,
329,
703,
1468,
318,
1123,
5279,
11,
319,
2811,
21747,
290,
3297,
1395,
287,
31491,
1502,
3387,
13,
46506,
5279,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
5279,
38678,
11050,
5279,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
1554,
21857,
329,
703,
1468,
318,
1123,
5279,
11,
319,
2811,
21747,
290,
3297,
1395,
287,
31491,
1502,
3387,
13,
46506,
5279,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
5279,
38678,
11050,
5279,
22196,
34
] |
For the Year 2013 what building(s) had more than 15 Floors? | SELECT "Building" FROM table_53074 WHERE "Floors" > '15' AND "Year" = '2013' | [
1890,
262,
6280,
2211,
644,
2615,
7,
82,
8,
550,
517,
621,
1315,
29075,
669,
30,
46506,
366,
25954,
1,
16034,
3084,
62,
38612,
4524,
33411,
366,
33574,
669,
1,
1875,
705,
1314,
6,
5357,
366,
17688,
1,
796,
705,
6390,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
262,
6280,
2211,
644,
2615,
7,
82,
8,
550,
517,
621,
1315,
29075,
669,
30,
46506,
366,
25954,
1,
16034,
3084,
62,
38612,
4524,
33411,
366,
33574,
669,
1,
1875,
705,
1314,
6,
5357,
366,
17688,
1,
796,
705,
6390,
6
] |
What is the first leg score when team 2 is Wagad Mogadishu? | SELECT "1st leg" FROM table_41711 WHERE "Team 2" = 'wagad mogadishu' | [
2061,
318,
262,
717,
1232,
4776,
618,
1074,
362,
318,
21309,
324,
30926,
48563,
84,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
38547,
1157,
33411,
366,
15592,
362,
1,
796,
705,
86,
363,
324,
32985,
48563,
84,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
717,
1232,
4776,
618,
1074,
362,
318,
21309,
324,
30926,
48563,
84,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
38547,
1157,
33411,
366,
15592,
362,
1,
796,
705,
86,
363,
324,
32985,
48563,
84,
6
] |
Users based on location and badges. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Location, Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%##Location##%') ORDER BY Reputation DESC | [
14490,
1912,
319,
4067,
290,
37583,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
13397,
11,
1432,
7094,
16034,
18987,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14490,
1912,
319,
4067,
290,
37583,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
13397,
11,
1432,
7094,
16034,
18987,
3... |
When the VFL played at Junction Oval what was the away score? | SELECT "Away team score" FROM table_4789 WHERE "Venue" = 'junction oval' | [
2215,
262,
569,
3697,
2826,
379,
44410,
25165,
644,
373,
262,
1497,
4776,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2857,
4531,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
569,
3697,
2826,
379,
44410,
25165,
644,
373,
262,
1497,
4776,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2857,
4531,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] |
What is the period for Ben Eager? | SELECT period FROM table_name_49 WHERE player = "ben eager" | [
2061,
318,
262,
2278,
329,
3932,
412,
3536,
30,
46506,
2278,
16034,
3084,
62,
3672,
62,
2920,
33411,
2137,
796,
366,
11722,
11069,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2278,
329,
3932,
412,
3536,
30,
46506,
2278,
16034,
3084,
62,
3672,
62,
2920,
33411,
2137,
796,
366,
11722,
11069,
1
] |
What is the sum number of round with Nebraska as the college and the overall greater than 40? | SELECT COUNT("Round") FROM table_8991 WHERE "College" = 'nebraska' AND "Overall" > '40' | [
2061,
318,
262,
2160,
1271,
286,
2835,
351,
18329,
355,
262,
4152,
290,
262,
4045,
3744,
621,
2319,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
44093,
16,
33411,
366,
38951,
1,
796,
705,
710,
17088,
6,
5357,
366,
16350,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
1271,
286,
2835,
351,
18329,
355,
262,
4152,
290,
262,
4045,
3744,
621,
2319,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
44093,
16,
33411,
366,
38951,
1,
796,
705,
710,
17088,
6,
5357,
366,
16350,... |
Chauncey Billups (6) had a high assist on what date? | SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (6)" | [
1925,
1942,
344,
88,
3941,
4739,
357,
21,
8,
550,
257,
1029,
3342,
319,
644,
3128,
30,
46506,
3128,
16034,
3084,
62,
1558,
28567,
26200,
62,
22,
33411,
1029,
62,
562,
1023,
796,
366,
1925,
1942,
344,
88,
3941,
4739,
357,
21,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1925,
1942,
344,
88,
3941,
4739,
357,
21,
8,
550,
257,
1029,
3342,
319,
644,
3128,
30,
46506,
3128,
16034,
3084,
62,
1558,
28567,
26200,
62,
22,
33411,
1029,
62,
562,
1023,
796,
366,
1925,
1942,
344,
88,
3941,
4739,
357,
21,
16725
] |
For those employees who was hired before 2002-06-21, draw a line chart about the change of department_id over hire_date . | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
5011,
62,
312,
625,
11078,
62,
4475,
764,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
30709,
10979,
62,
2389,
16034,
440... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
5011,
62,
312,
625,
11078,
62,
4475,
764,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
30709,
10979,
62,
2389,
16034,
440... |
how many patients whose insurance is medicaid and lab test name is creatinine, urine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Medicaid" AND lab.label = "Creatinine, Urine" | [
4919,
867,
3871,
3025,
5096,
318,
6924,
1698,
290,
2248,
1332,
1438,
318,
1827,
259,
500,
11,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
5096,
318,
6924,
1698,
290,
2248,
1332,
1438,
318,
1827,
259,
500,
11,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
167... |
Which club is associated with Hafiz Abu Sujad? | SELECT "Club" FROM table_55344 WHERE "Name" = 'hafiz abu sujad' | [
13828,
3430,
318,
3917,
351,
47458,
528,
13098,
1778,
38442,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
2816,
33535,
33411,
366,
5376,
1,
796,
705,
71,
1878,
528,
450,
84,
424,
38442,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3430,
318,
3917,
351,
47458,
528,
13098,
1778,
38442,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
2816,
33535,
33411,
366,
5376,
1,
796,
705,
71,
1878,
528,
450,
84,
424,
38442,
6
] |
What is the total in the case when there are more than 4 associate professors, 5 lecturers and fewer professors than 40? | SELECT COUNT("Total") FROM table_33072 WHERE "Associate professors" > '4' AND "Lecturers" = '5' AND "Professors" < '40' | [
2061,
318,
262,
2472,
287,
262,
1339,
618,
612,
389,
517,
621,
604,
11602,
20339,
11,
642,
11042,
17496,
290,
7380,
20339,
621,
2319,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
26073,
4761,
33411,
366,
8021,
47615,
20339... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
287,
262,
1339,
618,
612,
389,
517,
621,
604,
11602,
20339,
11,
642,
11042,
17496,
290,
7380,
20339,
621,
2319,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
26073,
4761,
33411,
366,
8021,
47615,
20339... |
who finished at the top with a gold medal ? | SELECT "athlete" FROM table_204_862 WHERE id = 1 | [
8727,
5201,
379,
262,
1353,
351,
257,
3869,
18279,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
4521,
17,
33411,
4686,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
5201,
379,
262,
1353,
351,
257,
3869,
18279,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
4521,
17,
33411,
4686,
796,
352
] |
For those products with a price between 60 and 120, draw a bar chart about the distribution of name and manufacturer , and could you order by the Y in asc please? | SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Manufacturer | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
714,
345,
1502,
416,
262,
575,
287,
10570,
3387,
30,
46506,
6530,
11,
40218,
16034,
18675,
33411,
7886... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
714,
345,
1502,
416,
262,
575,
287,
10570,
3387,
30,
46506,
6530,
11,
40218,
16034,
18675,
33411,
7886... |
What was the score of the game that had a loss of Coates (0 2)? | SELECT score FROM table_name_25 WHERE loss = "coates (0–2)" | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
2994,
286,
1766,
689,
357,
15,
362,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
1495,
33411,
2994,
796,
366,
1073,
689,
357,
15,
1906,
17,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
2994,
286,
1766,
689,
357,
15,
362,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
1495,
33411,
2994,
796,
366,
1073,
689,
357,
15,
1906,
17,
16725
] |
What is the lowest number of drawn games by a team? | SELECT MIN("Drawn") FROM table_30389 | [
2061,
318,
262,
9016,
1271,
286,
7428,
1830,
416,
257,
1074,
30,
46506,
20625,
7203,
35,
5791,
4943,
16034,
3084,
62,
1270,
29769
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1271,
286,
7428,
1830,
416,
257,
1074,
30,
46506,
20625,
7203,
35,
5791,
4943,
16034,
3084,
62,
1270,
29769
] |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and code , and group by attribute name. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
10669,
16034,
18675,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
10669,
16034,
18675,
705... |
Which Draws have a Team of annandale, and Losses smaller than 13? | SELECT SUM(draws) FROM table_name_58 WHERE team = "annandale" AND losses < 13 | [
13828,
15315,
82,
423,
257,
4816,
286,
1529,
392,
1000,
11,
290,
22014,
274,
4833,
621,
1511,
30,
46506,
35683,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
1074,
796,
366,
1236,
392,
1000,
1,
5357,
9089,
1279,
1511
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15315,
82,
423,
257,
4816,
286,
1529,
392,
1000,
11,
290,
22014,
274,
4833,
621,
1511,
30,
46506,
35683,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
1074,
796,
366,
1236,
392,
1000,
1,
5357,
9089,
1279,
1511
] |
how many students are advised by each rank of faculty? List the rank and the number of students, sort by the x axis in desc. | SELECT Rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.Rank ORDER BY Rank DESC | [
4919,
867,
2444,
389,
13030,
416,
1123,
4279,
286,
12829,
30,
7343,
262,
4279,
290,
262,
1271,
286,
2444,
11,
3297,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
32357,
1268... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2444,
389,
13030,
416,
1123,
4279,
286,
12829,
30,
7343,
262,
4279,
290,
262,
1271,
286,
2444,
11,
3297,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
32357,
1268... |
which type of competition was listed the most ? | SELECT "competition" FROM table_203_652 GROUP BY "competition" ORDER BY COUNT(*) DESC LIMIT 1 | [
4758,
2099,
286,
5449,
373,
5610,
262,
749,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
43193,
44441,
11050,
366,
5589,
15620,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2099,
286,
5449,
373,
5610,
262,
749,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
43193,
44441,
11050,
366,
5589,
15620,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What is the usual attendance for july 2? | SELECT AVG("Attendance") FROM table_67771 WHERE "Date" = 'july 2' | [
2061,
318,
262,
6678,
14858,
329,
474,
2062,
362,
30,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
3134,
46761,
33411,
366,
10430,
1,
796,
705,
73,
2062,
362,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6678,
14858,
329,
474,
2062,
362,
30,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
3134,
46761,
33411,
366,
10430,
1,
796,
705,
73,
2062,
362,
6
] |
what is the difference between the team ranking of the 1998-99 season and the 2003-04 season ? | SELECT (SELECT "place" FROM table_203_183 WHERE "season" = '1998/99') - (SELECT "place" FROM table_203_183 WHERE "season" = '2003/04') | [
10919,
318,
262,
3580,
1022,
262,
1074,
12759,
286,
262,
7795,
12,
2079,
1622,
290,
262,
5816,
12,
3023,
1622,
5633,
46506,
357,
46506,
366,
5372,
1,
16034,
3084,
62,
22416,
62,
24839,
33411,
366,
6230,
1,
796,
705,
21113,
14,
2079,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
3580,
1022,
262,
1074,
12759,
286,
262,
7795,
12,
2079,
1622,
290,
262,
5816,
12,
3023,
1622,
5633,
46506,
357,
46506,
366,
5372,
1,
16034,
3084,
62,
22416,
62,
24839,
33411,
366,
6230,
1,
796,
705,
21113,
14,
2079,
... |
Who is the director when the title is listed as 'all guts, no glory'? | SELECT "Directed by" FROM table_3986 WHERE "Title" = 'All Guts, No Glory' | [
8241,
318,
262,
3437,
618,
262,
3670,
318,
5610,
355,
705,
439,
31875,
11,
645,
13476,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
2670,
4521,
33411,
366,
19160,
1,
796,
705,
3237,
402,
5500,
11,
1400,
25778,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
3437,
618,
262,
3670,
318,
5610,
355,
705,
439,
31875,
11,
645,
13476,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
2670,
4521,
33411,
366,
19160,
1,
796,
705,
3237,
402,
5500,
11,
1400,
25778,
6
] |
how many games has kansas state and depaul played against each other | SELECT COUNT("Games played") FROM table_20286 WHERE "Kansas State vs." = 'DePaul' | [
4919,
867,
1830,
468,
479,
6618,
1181,
290,
1207,
2518,
2826,
1028,
1123,
584,
46506,
327,
28270,
7203,
24474,
2826,
4943,
16034,
3084,
62,
1238,
27033,
33411,
366,
43451,
1812,
3691,
526,
796,
705,
5005,
12041,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1830,
468,
479,
6618,
1181,
290,
1207,
2518,
2826,
1028,
1123,
584,
46506,
327,
28270,
7203,
24474,
2826,
4943,
16034,
3084,
62,
1238,
27033,
33411,
366,
43451,
1812,
3691,
526,
796,
705,
5005,
12041,
6
] |
When 2012 is the year what is the winning boat? | SELECT winning_boat FROM table_24673710_1 WHERE year = 2012 | [
2215,
2321,
318,
262,
614,
644,
318,
262,
5442,
8848,
30,
46506,
5442,
62,
24482,
16034,
3084,
62,
1731,
3134,
2718,
940,
62,
16,
33411,
614,
796,
2321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
2321,
318,
262,
614,
644,
318,
262,
5442,
8848,
30,
46506,
5442,
62,
24482,
16034,
3084,
62,
1731,
3134,
2718,
940,
62,
16,
33411,
614,
796,
2321
] |
What was the circumstance that happened on the road to Jalalabad? | SELECT "Circumstances" FROM table_70961 WHERE "Location" = 'road to jalalabad' | [
2061,
373,
262,
25179,
326,
3022,
319,
262,
2975,
284,
28649,
282,
17325,
30,
46506,
366,
31560,
388,
301,
1817,
1,
16034,
3084,
62,
2154,
4846,
16,
33411,
366,
14749,
1,
796,
705,
6344,
284,
474,
282,
282,
17325,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
25179,
326,
3022,
319,
262,
2975,
284,
28649,
282,
17325,
30,
46506,
366,
31560,
388,
301,
1817,
1,
16034,
3084,
62,
2154,
4846,
16,
33411,
366,
14749,
1,
796,
705,
6344,
284,
474,
282,
282,
17325,
6
] |
Who was the 1st member of the parliament that was dissolved 23 february 1510? | SELECT "1st member" FROM table_62445 WHERE "Dissolved" = '23 february 1510' | [
8241,
373,
262,
352,
301,
2888,
286,
262,
8540,
326,
373,
26306,
2242,
730,
65,
3728,
1315,
940,
30,
46506,
366,
16,
301,
2888,
1,
16034,
3084,
62,
21,
1731,
2231,
33411,
366,
35,
747,
5634,
1,
796,
705,
1954,
730,
65,
3728,
1315,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
352,
301,
2888,
286,
262,
8540,
326,
373,
26306,
2242,
730,
65,
3728,
1315,
940,
30,
46506,
366,
16,
301,
2888,
1,
16034,
3084,
62,
21,
1731,
2231,
33411,
366,
35,
747,
5634,
1,
796,
705,
1954,
730,
65,
3728,
1315,... |
How many Points have a Position larger than 3, and a Played smaller than 14? | SELECT COUNT("Points") FROM table_51125 WHERE "Position" > '3' AND "Played" < '14' | [
2437,
867,
11045,
423,
257,
23158,
4025,
621,
513,
11,
290,
257,
33101,
4833,
621,
1478,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
4349,
11623,
33411,
366,
26545,
1,
1875,
705,
18,
6,
5357,
366,
11002,
276,
1,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
11045,
423,
257,
23158,
4025,
621,
513,
11,
290,
257,
33101,
4833,
621,
1478,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
4349,
11623,
33411,
366,
26545,
1,
1875,
705,
18,
6,
5357,
366,
11002,
276,
1,
1279,
... |
Number of posts talking about privacy. | SELECT TagName, Tags.Count FROM Tags | [
15057,
286,
6851,
3375,
546,
6782,
13,
46506,
17467,
5376,
11,
44789,
13,
12332,
16034,
44789
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
6851,
3375,
546,
6782,
13,
46506,
17467,
5376,
11,
44789,
13,
12332,
16034,
44789
] |
what medication was first prescribed to patient 23858 via the in route since 114 months ago? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23858) AND prescriptions.route = 'in' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-114 month') ORDER BY prescriptions.startdate LIMIT 1 | [
10919,
14103,
373,
717,
14798,
284,
5827,
32544,
3365,
2884,
262,
287,
6339,
1201,
17342,
1933,
2084,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
14103,
373,
717,
14798,
284,
5827,
32544,
3365,
2884,
262,
287,
6339,
1201,
17342,
1933,
2084,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
1603... |
What is the numbers of the thn unit with a power greater than 220? | SELECT numbers FROM table_name_49 WHERE power__horsepower_ > 220 AND type = "thn" | [
2061,
318,
262,
3146,
286,
262,
294,
77,
4326,
351,
257,
1176,
3744,
621,
15629,
30,
46506,
3146,
16034,
3084,
62,
3672,
62,
2920,
33411,
1176,
834,
30527,
6477,
62,
1875,
15629,
5357,
2099,
796,
366,
400,
77,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3146,
286,
262,
294,
77,
4326,
351,
257,
1176,
3744,
621,
15629,
30,
46506,
3146,
16034,
3084,
62,
3672,
62,
2920,
33411,
1176,
834,
30527,
6477,
62,
1875,
15629,
5357,
2099,
796,
366,
400,
77,
1
] |
Can you compare the account balances of customers with the letter 'a' in their names using a bar graph, and list in desc by the y axis. | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' ORDER BY acc_bal DESC | [
6090,
345,
8996,
262,
1848,
25223,
286,
4297,
351,
262,
3850,
705,
64,
6,
287,
511,
3891,
1262,
257,
2318,
4823,
11,
290,
1351,
287,
1715,
416,
262,
331,
16488,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
8996,
262,
1848,
25223,
286,
4297,
351,
262,
3850,
705,
64,
6,
287,
511,
3891,
1262,
257,
2318,
4823,
11,
290,
1351,
287,
1715,
416,
262,
331,
16488,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,... |
What pick was J.D. Hill? | SELECT MIN(pick) FROM table_name_52 WHERE player = "j.d. hill" | [
2061,
2298,
373,
449,
13,
35,
13,
3327,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
2137,
796,
366,
73,
13,
67,
13,
12788,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2298,
373,
449,
13,
35,
13,
3327,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
2137,
796,
366,
73,
13,
67,
13,
12788,
1
] |
provide the number of patients whose age is less than 76 and procedure icd9 code is 3961? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "76" AND procedures.icd9_code = "3961" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8684,
290,
8771,
14158,
67,
24,
2438,
318,
48758,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8684,
290,
8771,
14158,
67,
24,
2438,
318,
48758,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
In Ghent in 2011, what was the rank-qualifying value when the score-qualifying value was 14.850 | SELECT MAX(rank_qualifying) FROM table_26681728_1 WHERE location = "Ghent" AND year = 2011 AND score_qualifying = "14.850" | [
818,
402,
6925,
287,
2813,
11,
644,
373,
262,
4279,
12,
13255,
4035,
1988,
618,
262,
4776,
12,
13255,
4035,
1988,
373,
1478,
13,
25764,
46506,
25882,
7,
43027,
62,
13255,
4035,
8,
16034,
3084,
62,
2075,
3104,
1558,
2078,
62,
16,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
402,
6925,
287,
2813,
11,
644,
373,
262,
4279,
12,
13255,
4035,
1988,
618,
262,
4776,
12,
13255,
4035,
1988,
373,
1478,
13,
25764,
46506,
25882,
7,
43027,
62,
13255,
4035,
8,
16034,
3084,
62,
2075,
3104,
1558,
2078,
62,
16,
334... |
All display names on StackOverflow sorted by frequency. | SELECT DisplayName, COUNT(DisplayName) FROM Users GROUP BY DisplayName ORDER BY COUNT(DisplayName) DESC | [
3237,
3359,
3891,
319,
23881,
5886,
11125,
23243,
416,
8373,
13,
46506,
16531,
5376,
11,
327,
28270,
7,
23114,
5376,
8,
16034,
18987,
44441,
11050,
16531,
5376,
38678,
11050,
327,
28270,
7,
23114,
5376,
8,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3237,
3359,
3891,
319,
23881,
5886,
11125,
23243,
416,
8373,
13,
46506,
16531,
5376,
11,
327,
28270,
7,
23114,
5376,
8,
16034,
18987,
44441,
11050,
16531,
5376,
38678,
11050,
327,
28270,
7,
23114,
5376,
8,
22196,
34
] |
what were the three most common microbiological tests that followed during the same month for patients who took bronchodilator - nebulized until 2104? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'bronchodilator - nebulized' AND STRFTIME('%y... | [
10919,
547,
262,
1115,
749,
2219,
24559,
2770,
5254,
326,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
1718,
18443,
354,
375,
346,
1352,
532,
497,
15065,
1143,
1566,
362,
13464,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1115,
749,
2219,
24559,
2770,
5254,
326,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
1718,
18443,
354,
375,
346,
1352,
532,
497,
15065,
1143,
1566,
362,
13464,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
4650... |
What is the home team of the game with a 2-0 record? | SELECT home FROM table_name_89 WHERE record = "2-0" | [
2061,
318,
262,
1363,
1074,
286,
262,
983,
351,
257,
362,
12,
15,
1700,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
4531,
33411,
1700,
796,
366,
17,
12,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
1074,
286,
262,
983,
351,
257,
362,
12,
15,
1700,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
4531,
33411,
1700,
796,
366,
17,
12,
15,
1
] |
What is the percentage of registered voters in which the d-r spread is +10.4%? | SELECT registered_voters FROM table_27003223_4 WHERE d_r_spread = "+10.4%" | [
2061,
318,
262,
5873,
286,
6823,
4446,
287,
543,
262,
288,
12,
81,
4104,
318,
1343,
940,
13,
19,
4,
30,
46506,
6823,
62,
85,
26008,
16034,
3084,
62,
1983,
11245,
22047,
62,
19,
33411,
288,
62,
81,
62,
43639,
796,
43825,
940,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5873,
286,
6823,
4446,
287,
543,
262,
288,
12,
81,
4104,
318,
1343,
940,
13,
19,
4,
30,
46506,
6823,
62,
85,
26008,
16034,
3084,
62,
1983,
11245,
22047,
62,
19,
33411,
288,
62,
81,
62,
43639,
796,
43825,
940,
13,
... |
what is the date for the tournament jou -l s-tours? | SELECT date FROM table_name_52 WHERE tournament = "joué-lès-tours" | [
10919,
318,
262,
3128,
329,
262,
7756,
474,
280,
532,
75,
264,
12,
83,
4662,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4309,
33411,
7756,
796,
366,
73,
280,
2634,
12,
75,
14064,
82,
12,
83,
4662,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
3128,
329,
262,
7756,
474,
280,
532,
75,
264,
12,
83,
4662,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4309,
33411,
7756,
796,
366,
73,
280,
2634,
12,
75,
14064,
82,
12,
83,
4662,
1
] |
when was patient 3929 last prescribed with potassium chloride and furosemide at the same time during this month? | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'potassium chloride' AND admissions.subject_id = 3929 AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIM... | [
12518,
373,
5827,
5014,
1959,
938,
14798,
351,
33156,
44921,
290,
277,
1434,
43616,
485,
379,
262,
976,
640,
1141,
428,
1227,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
5827,
5014,
1959,
938,
14798,
351,
33156,
44921,
290,
277,
1434,
43616,
485,
379,
262,
976,
640,
1141,
428,
1227,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,... |
Who is the player from round 8? | SELECT player FROM table_name_20 WHERE round = 8 | [
8241,
318,
262,
2137,
422,
2835,
807,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1238,
33411,
2835,
796,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
2137,
422,
2835,
807,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1238,
33411,
2835,
796,
807
] |
What was the outcome when the partner was Iryna Bremond? | SELECT "Outcome" FROM table_65020 WHERE "Partner" = 'iryna bremond' | [
2061,
373,
262,
8055,
618,
262,
5212,
373,
314,
563,
2616,
347,
2787,
623,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
17544,
1238,
33411,
366,
7841,
1008,
1,
796,
705,
343,
46434,
1449,
6327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
8055,
618,
262,
5212,
373,
314,
563,
2616,
347,
2787,
623,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
17544,
1238,
33411,
366,
7841,
1008,
1,
796,
705,
343,
46434,
1449,
6327,
6
] |
Name the Losing BP of Newport Saracens RFC and has a Lost of 19. | SELECT "Losing BP" FROM table_70820 WHERE "Lost" = '19' AND "Club" = 'newport saracens rfc' | [
5376,
262,
406,
2752,
20997,
286,
36538,
6866,
330,
641,
30978,
290,
468,
257,
9164,
286,
678,
13,
46506,
366,
43,
2752,
20997,
1,
16034,
3084,
62,
32583,
1238,
33411,
366,
31042,
1,
796,
705,
1129,
6,
5357,
366,
42350,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
406,
2752,
20997,
286,
36538,
6866,
330,
641,
30978,
290,
468,
257,
9164,
286,
678,
13,
46506,
366,
43,
2752,
20997,
1,
16034,
3084,
62,
32583,
1238,
33411,
366,
31042,
1,
796,
705,
1129,
6,
5357,
366,
42350,
1,
796,
705,... |
What is the average number of hours spent practicing for students who got rejected? | SELECT AVG(T1.hs) FROM player AS T1 JOIN tryout AS T2 ON T1.pid = T2.pid WHERE T2.decision = 'no' | [
2061,
318,
262,
2811,
1271,
286,
2250,
3377,
18207,
329,
2444,
508,
1392,
8606,
30,
46506,
35224,
7,
51,
16,
13,
11994,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
1949,
448,
7054,
309,
17,
6177,
309,
16,
13,
35317,
796,
309,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
2250,
3377,
18207,
329,
2444,
508,
1392,
8606,
30,
46506,
35224,
7,
51,
16,
13,
11994,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
1949,
448,
7054,
309,
17,
6177,
309,
16,
13,
35317,
796,
309,
17,
... |
Return the song in the volume that has spent the most weeks on top? | SELECT song FROM volume ORDER BY weeks_on_top DESC LIMIT 1 | [
13615,
262,
3496,
287,
262,
6115,
326,
468,
3377,
262,
749,
2745,
319,
1353,
30,
46506,
3496,
16034,
6115,
38678,
11050,
2745,
62,
261,
62,
4852,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
3496,
287,
262,
6115,
326,
468,
3377,
262,
749,
2745,
319,
1353,
30,
46506,
3496,
16034,
6115,
38678,
11050,
2745,
62,
261,
62,
4852,
22196,
34,
27564,
2043,
352
] |
What was the score of the game against Minnesota? | SELECT score FROM table_name_69 WHERE opponent = "minnesota" | [
2061,
373,
262,
4776,
286,
262,
983,
1028,
8919,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3388,
33411,
6125,
796,
366,
1084,
8360,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
1028,
8919,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3388,
33411,
6125,
796,
366,
1084,
8360,
1
] |
how many divorced patients had the diagnosis short title as cardiogenic shock? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "DIVORCED" AND diagnoses.short_title = "Cardiogenic shock" | [
4919,
867,
25107,
3871,
550,
262,
13669,
1790,
3670,
355,
2657,
72,
15147,
6380,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
25107,
3871,
550,
262,
13669,
1790,
3670,
355,
2657,
72,
15147,
6380,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
... |
Name the highest Draw which has a Rank of 14, and a Televotes larger than 908? | SELECT MAX("Draw") FROM table_46652 WHERE "Rank" = '14' AND "Televotes" > '908' | [
5376,
262,
4511,
15315,
543,
468,
257,
10916,
286,
1478,
11,
290,
257,
1665,
2768,
6421,
4025,
621,
860,
2919,
30,
46506,
25882,
7203,
25302,
4943,
16034,
3084,
62,
42199,
4309,
33411,
366,
27520,
1,
796,
705,
1415,
6,
5357,
366,
6767... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4511,
15315,
543,
468,
257,
10916,
286,
1478,
11,
290,
257,
1665,
2768,
6421,
4025,
621,
860,
2919,
30,
46506,
25882,
7203,
25302,
4943,
16034,
3084,
62,
42199,
4309,
33411,
366,
27520,
1,
796,
705,
1415,
6,
5357,
366,
6767... |
How many econs have 13.76 as the S/Rate, with runs less than 325? | SELECT COUNT("Econ") FROM table_59625 WHERE "S/Rate" = '13.76' AND "Runs" < '325' | [
2437,
867,
304,
5936,
423,
1511,
13,
4304,
355,
262,
311,
14,
32184,
11,
351,
4539,
1342,
621,
29524,
30,
46506,
327,
28270,
7203,
36,
1102,
4943,
16034,
3084,
62,
3270,
26704,
33411,
366,
50,
14,
32184,
1,
796,
705,
1485,
13,
4304,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
304,
5936,
423,
1511,
13,
4304,
355,
262,
311,
14,
32184,
11,
351,
4539,
1342,
621,
29524,
30,
46506,
327,
28270,
7203,
36,
1102,
4943,
16034,
3084,
62,
3270,
26704,
33411,
366,
50,
14,
32184,
1,
796,
705,
1485,
13,
4304,... |
Who is the driver from 1969? | SELECT "Driver" FROM table_58055 WHERE "Year" = '1969' | [
8241,
318,
262,
4639,
422,
16450,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
39322,
2816,
33411,
366,
17688,
1,
796,
705,
38391,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
4639,
422,
16450,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
39322,
2816,
33411,
366,
17688,
1,
796,
705,
38391,
6
] |
Where was the game on Thursday, April 29, and they played the Chicago Cubs? | SELECT site FROM table_name_84 WHERE opponent = "chicago cubs" AND date = "thursday, april 29" | [
8496,
373,
262,
983,
319,
3635,
11,
3035,
2808,
11,
290,
484,
2826,
262,
4842,
21562,
30,
46506,
2524,
16034,
3084,
62,
3672,
62,
5705,
33411,
6125,
796,
366,
354,
4549,
13617,
82,
1,
5357,
3128,
796,
366,
400,
3479,
11,
46593,
346,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
983,
319,
3635,
11,
3035,
2808,
11,
290,
484,
2826,
262,
4842,
21562,
30,
46506,
2524,
16034,
3084,
62,
3672,
62,
5705,
33411,
6125,
796,
366,
354,
4549,
13617,
82,
1,
5357,
3128,
796,
366,
400,
3479,
11,
46593,
346,... |
How much money does the player with a score of 74-71-76-76=297 have? | SELECT "Money ( $ )" FROM table_13193 WHERE "Score" = '74-71-76-76=297' | [
2437,
881,
1637,
857,
262,
2137,
351,
257,
4776,
286,
8915,
12,
4869,
12,
4304,
12,
4304,
28,
26561,
423,
30,
46506,
366,
26788,
357,
720,
1267,
1,
16034,
3084,
62,
1485,
24943,
33411,
366,
26595,
1,
796,
705,
4524,
12,
4869,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
1637,
857,
262,
2137,
351,
257,
4776,
286,
8915,
12,
4869,
12,
4304,
12,
4304,
28,
26561,
423,
30,
46506,
366,
26788,
357,
720,
1267,
1,
16034,
3084,
62,
1485,
24943,
33411,
366,
26595,
1,
796,
705,
4524,
12,
4869,
12,
... |
Name the authority for morrinsville college | SELECT authority FROM table_name_88 WHERE name = "morrinsville college" | [
5376,
262,
4934,
329,
2146,
81,
1040,
4244,
4152,
46506,
4934,
16034,
3084,
62,
3672,
62,
3459,
33411,
1438,
796,
366,
4491,
81,
1040,
4244,
4152,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4934,
329,
2146,
81,
1040,
4244,
4152,
46506,
4934,
16034,
3084,
62,
3672,
62,
3459,
33411,
1438,
796,
366,
4491,
81,
1040,
4244,
4152,
1
] |
On what date was the game played where the opponent was Stanford, ranked #5? | SELECT date FROM table_name_24 WHERE rank__number = "5" AND opponent_number = "stanford" | [
2202,
644,
3128,
373,
262,
983,
2826,
810,
262,
6125,
373,
13863,
11,
10307,
1303,
20,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
4279,
834,
17618,
796,
366,
20,
1,
5357,
6125,
62,
17618,
796,
366,
14192,
3841,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
262,
983,
2826,
810,
262,
6125,
373,
13863,
11,
10307,
1303,
20,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
4279,
834,
17618,
796,
366,
20,
1,
5357,
6125,
62,
17618,
796,
366,
14192,
3841,
1
] |
What Song has a Draw of less than 4 with a Percentage of 32.22%? | SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.22%" | [
2061,
10940,
468,
257,
15315,
286,
1342,
621,
604,
351,
257,
36013,
286,
3933,
13,
1828,
4,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
4761,
33411,
3197,
1279,
604,
5357,
5873,
796,
366,
2624,
13,
1828,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
10940,
468,
257,
15315,
286,
1342,
621,
604,
351,
257,
36013,
286,
3933,
13,
1828,
4,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
4761,
33411,
3197,
1279,
604,
5357,
5873,
796,
366,
2624,
13,
1828,
39658
] |
what is procedure short title of procedure icd9 code 9744? | SELECT procedures.short_title FROM procedures WHERE procedures.icd9_code = "9744" | [
10919,
318,
8771,
1790,
3670,
286,
8771,
14158,
67,
24,
2438,
10111,
2598,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
5607,
2598,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
8771,
1790,
3670,
286,
8771,
14158,
67,
24,
2438,
10111,
2598,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
5607,
2598,
1
] |
Return the room and number of reservations made for each of the rooms to draw a bar chart. | SELECT Room, COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room | [
13615,
262,
2119,
290,
1271,
286,
24722,
925,
329,
1123,
286,
262,
9519,
284,
3197,
257,
2318,
8262,
13,
46506,
10096,
11,
327,
28270,
7,
28104,
16034,
40425,
602,
7054,
309,
16,
32357,
1268,
42043,
7054,
309,
17,
6177,
309,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
2119,
290,
1271,
286,
24722,
925,
329,
1123,
286,
262,
9519,
284,
3197,
257,
2318,
8262,
13,
46506,
10096,
11,
327,
28270,
7,
28104,
16034,
40425,
602,
7054,
309,
16,
32357,
1268,
42043,
7054,
309,
17,
6177,
309,
16,
13,
... |
what's the doubles w-l for player seol jae-min (none) | SELECT "Doubles W-L" FROM table_15890 WHERE "Player" = 'Seol Jae-Min (none)' | [
10919,
338,
262,
21938,
266,
12,
75,
329,
2137,
384,
349,
474,
3609,
12,
1084,
357,
23108,
8,
46506,
366,
40287,
7689,
370,
12,
43,
1,
16034,
3084,
62,
21273,
3829,
33411,
366,
14140,
1,
796,
705,
4653,
349,
34521,
12,
9452,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
21938,
266,
12,
75,
329,
2137,
384,
349,
474,
3609,
12,
1084,
357,
23108,
8,
46506,
366,
40287,
7689,
370,
12,
43,
1,
16034,
3084,
62,
21273,
3829,
33411,
366,
14140,
1,
796,
705,
4653,
349,
34521,
12,
9452,
357,
... |
Participation as of actor, film editor has what average year? | SELECT AVG(year) FROM table_name_11 WHERE participation_as = "actor, film editor" | [
34363,
341,
355,
286,
8674,
11,
2646,
5464,
468,
644,
2811,
614,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
10270,
62,
292,
796,
366,
11218,
11,
2646,
5464,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
34363,
341,
355,
286,
8674,
11,
2646,
5464,
468,
644,
2811,
614,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
10270,
62,
292,
796,
366,
11218,
11,
2646,
5464,
1
] |
What is the current streak against TCU? | SELECT "Current Streak" FROM table_1315 WHERE "Kansas State vs." = 'TCU' | [
2061,
318,
262,
1459,
15113,
1028,
44914,
30,
46506,
366,
11297,
9737,
461,
1,
16034,
3084,
62,
1485,
1314,
33411,
366,
43451,
1812,
3691,
526,
796,
705,
4825,
52,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1459,
15113,
1028,
44914,
30,
46506,
366,
11297,
9737,
461,
1,
16034,
3084,
62,
1485,
1314,
33411,
366,
43451,
1812,
3691,
526,
796,
705,
4825,
52,
6
] |
What was the score when there was a visitor of Magic and at home with the Clippers? | SELECT score FROM table_name_54 WHERE visitor = "magic" AND home = "clippers" | [
2061,
373,
262,
4776,
618,
612,
373,
257,
21493,
286,
6139,
290,
379,
1363,
351,
262,
28564,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4051,
33411,
21493,
796,
366,
32707,
1,
5357,
1363,
796,
366,
565,
16415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
612,
373,
257,
21493,
286,
6139,
290,
379,
1363,
351,
262,
28564,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4051,
33411,
21493,
796,
366,
32707,
1,
5357,
1363,
796,
366,
565,
16415,
1
] |
What velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750 km? | SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km" | [
2061,
11555,
375,
5998,
1718,
1295,
2961,
621,
11445,
351,
257,
8464,
422,
4881,
287,
32969,
44756,
625,
257,
5253,
286,
860,
4349,
13,
15426,
10571,
30,
46506,
11555,
375,
5998,
16034,
3084,
62,
3672,
62,
21,
33411,
614,
1279,
11445,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
11555,
375,
5998,
1718,
1295,
2961,
621,
11445,
351,
257,
8464,
422,
4881,
287,
32969,
44756,
625,
257,
5253,
286,
860,
4349,
13,
15426,
10571,
30,
46506,
11555,
375,
5998,
16034,
3084,
62,
3672,
62,
21,
33411,
614,
1279,
11445,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.