instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
In what year was the movie 8 women up for a C sar Award? | SELECT MIN("Year") FROM table_79935 WHERE "Movie" = '8 women' AND "Awards" = 'césar award' | [
818,
644,
614,
373,
262,
3807,
807,
1466,
510,
329,
257,
327,
29008,
11289,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
45455,
2327,
33411,
366,
25097,
1,
796,
705,
23,
1466,
6,
5357,
366,
32,
2017,
1,
796,
705,
66,
20954,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
614,
373,
262,
3807,
807,
1466,
510,
329,
257,
327,
29008,
11289,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
45455,
2327,
33411,
366,
25097,
1,
796,
705,
23,
1466,
6,
5357,
366,
32,
2017,
1,
796,
705,
66,
20954,... |
How many reserves are in Herzogtum Lauenburg with an area of 123,14? | SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE district___town = "Herzogtum Lauenburg" AND area__ha_ = "123,14" | [
2437,
867,
14072,
389,
287,
34321,
519,
83,
388,
40014,
37036,
351,
281,
1989,
286,
17031,
11,
1415,
30,
46506,
327,
28270,
7,
5907,
70,
62,
48624,
8,
16034,
3084,
62,
2075,
486,
2623,
1507,
62,
16,
33411,
4783,
17569,
12735,
796,
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
] | [
2437,
867,
14072,
389,
287,
34321,
519,
83,
388,
40014,
37036,
351,
281,
1989,
286,
17031,
11,
1415,
30,
46506,
327,
28270,
7,
5907,
70,
62,
48624,
8,
16034,
3084,
62,
2075,
486,
2623,
1507,
62,
16,
33411,
4783,
17569,
12735,
796,
3... |
Where was the tourney when UCLA won the regular season? | SELECT "Tournament Venue (City)" FROM table_2436 WHERE "Regular Season Winner" = 'UCLA' | [
8496,
373,
262,
4205,
1681,
618,
21750,
1839,
262,
3218,
1622,
30,
46506,
366,
51,
5138,
9932,
518,
357,
14941,
16725,
16034,
3084,
62,
1731,
2623,
33411,
366,
40164,
7369,
25358,
1,
796,
705,
52,
16827,
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
] | [
8496,
373,
262,
4205,
1681,
618,
21750,
1839,
262,
3218,
1622,
30,
46506,
366,
51,
5138,
9932,
518,
357,
14941,
16725,
16034,
3084,
62,
1731,
2623,
33411,
366,
40164,
7369,
25358,
1,
796,
705,
52,
16827,
6
] |
Who are all the womens doubles for the year 2008/2009? | SELECT "Womens doubles" FROM table_72601 WHERE "Year" = '2008/2009' | [
8241,
389,
477,
262,
1116,
641,
21938,
329,
262,
614,
3648,
14,
10531,
30,
46506,
366,
54,
296,
641,
21938,
1,
16034,
3084,
62,
22,
2075,
486,
33411,
366,
17688,
1,
796,
705,
11528,
14,
10531,
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
] | [
8241,
389,
477,
262,
1116,
641,
21938,
329,
262,
614,
3648,
14,
10531,
30,
46506,
366,
54,
296,
641,
21938,
1,
16034,
3084,
62,
22,
2075,
486,
33411,
366,
17688,
1,
796,
705,
11528,
14,
10531,
6
] |
What is the Team of the Fullback Player? | SELECT "Team" FROM table_14028 WHERE "Position" = 'fullback' | [
2061,
318,
262,
4816,
286,
262,
6462,
1891,
7853,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
15187,
2078,
33411,
366,
26545,
1,
796,
705,
12853,
1891,
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
] | [
2061,
318,
262,
4816,
286,
262,
6462,
1891,
7853,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
15187,
2078,
33411,
366,
26545,
1,
796,
705,
12853,
1891,
6
] |
On what Date was the Score 105-128? | SELECT date FROM table_name_14 WHERE score = "105-128" | [
2202,
644,
7536,
373,
262,
15178,
13343,
12,
12762,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1415,
33411,
4776,
796,
366,
13348,
12,
12762,
1
] | [
1,
1,
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,
7536,
373,
262,
15178,
13343,
12,
12762,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1415,
33411,
4776,
796,
366,
13348,
12,
12762,
1
] |
Name the year for womens doubles being raina tzvetkova emilia dimitrova | SELECT "Year" FROM table_19667 WHERE "Womens doubles" = 'Raina Tzvetkova Emilia Dimitrova' | [
5376,
262,
614,
329,
1116,
641,
21938,
852,
6290,
64,
256,
89,
16809,
74,
10071,
795,
17517,
5391,
270,
305,
6862,
46506,
366,
17688,
1,
16034,
3084,
62,
1129,
28933,
33411,
366,
54,
296,
641,
21938,
1,
796,
705,
31443,
64,
309,
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,
1,
1,
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,
614,
329,
1116,
641,
21938,
852,
6290,
64,
256,
89,
16809,
74,
10071,
795,
17517,
5391,
270,
305,
6862,
46506,
366,
17688,
1,
16034,
3084,
62,
1129,
28933,
33411,
366,
54,
296,
641,
21938,
1,
796,
705,
31443,
64,
309,
89,... |
What place is player johnny miller, who has a to par of +2? | SELECT place FROM table_name_28 WHERE to_par = "+2" AND player = "johnny miller" | [
2061,
1295,
318,
2137,
45610,
3281,
3939,
263,
11,
508,
468,
257,
284,
1582,
286,
1343,
17,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2078,
33411,
284,
62,
1845,
796,
43825,
17,
1,
5357,
2137,
796,
366,
30686,
3281,
3939,
263,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1295,
318,
2137,
45610,
3281,
3939,
263,
11,
508,
468,
257,
284,
1582,
286,
1343,
17,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2078,
33411,
284,
62,
1845,
796,
43825,
17,
1,
5357,
2137,
796,
366,
30686,
3281,
3939,
263,
1
] |
What is the average round of the player from the college of baylor with a pick less than 28? | SELECT AVG("Round") FROM table_77152 WHERE "College" = 'baylor' AND "Pick" < '28' | [
2061,
318,
262,
2811,
2835,
286,
262,
2137,
422,
262,
4152,
286,
275,
7167,
351,
257,
2298,
1342,
621,
2579,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
3324,
17827,
33411,
366,
38951,
1,
796,
705,
65,
7167,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
286,
262,
2137,
422,
262,
4152,
286,
275,
7167,
351,
257,
2298,
1342,
621,
2579,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
3324,
17827,
33411,
366,
38951,
1,
796,
705,
65,
7167,
6,
5357,
366,
... |
Which days of the week does the telenovela play that is aired at 11:00? | SELECT "Weekly Schedule" FROM table_42890 WHERE "Timeslot" = '11:00' | [
13828,
1528,
286,
262,
1285,
857,
262,
13632,
23397,
626,
64,
711,
326,
318,
18530,
379,
1367,
25,
405,
30,
46506,
366,
20916,
306,
19281,
1,
16034,
3084,
62,
40173,
3829,
33411,
366,
28595,
26487,
1,
796,
705,
1157,
25,
405,
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
] | [
13828,
1528,
286,
262,
1285,
857,
262,
13632,
23397,
626,
64,
711,
326,
318,
18530,
379,
1367,
25,
405,
30,
46506,
366,
20916,
306,
19281,
1,
16034,
3084,
62,
40173,
3829,
33411,
366,
28595,
26487,
1,
796,
705,
1157,
25,
405,
6
] |
What is the smallest third place finish? | SELECT MIN(third_place) FROM table_2146364_2 | [
2061,
318,
262,
18197,
2368,
1295,
5461,
30,
46506,
20625,
7,
17089,
62,
5372,
8,
16034,
3084,
62,
22291,
5066,
2414,
62,
17
] | [
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,
18197,
2368,
1295,
5461,
30,
46506,
20625,
7,
17089,
62,
5372,
8,
16034,
3084,
62,
22291,
5066,
2414,
62,
17
] |
What was the character name for the film with a release date of July 29, 1938? | SELECT "Character name" FROM table_6590 WHERE "Release date" = 'july 29, 1938' | [
2061,
373,
262,
2095,
1438,
329,
262,
2646,
351,
257,
2650,
3128,
286,
2901,
2808,
11,
28017,
30,
46506,
366,
27275,
1438,
1,
16034,
3084,
62,
2996,
3829,
33411,
366,
26362,
3128,
1,
796,
705,
73,
2062,
2808,
11,
28017,
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,
373,
262,
2095,
1438,
329,
262,
2646,
351,
257,
2650,
3128,
286,
2901,
2808,
11,
28017,
30,
46506,
366,
27275,
1438,
1,
16034,
3084,
62,
2996,
3829,
33411,
366,
26362,
3128,
1,
796,
705,
73,
2062,
2808,
11,
28017,
6
] |
What is the sum of the ranks for bulgaria? | SELECT SUM(rank) FROM table_name_10 WHERE country = "bulgaria" | [
2061,
318,
262,
2160,
286,
262,
9803,
329,
4807,
4563,
544,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
1499,
796,
366,
15065,
4563,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
9803,
329,
4807,
4563,
544,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
1499,
796,
366,
15065,
4563,
544,
1
] |
what's the average cost of a hospital with dexmedetomidine 200 mcg in 50 ml ns during this year? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'dexmedetomidine 200 mcg in 50 ml ns')) AND DAT... | [
10919,
338,
262,
2811,
1575,
286,
257,
4436,
351,
36017,
1150,
316,
296,
39422,
939,
36650,
70,
287,
2026,
25962,
36545,
1141,
428,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
1575,
286,
257,
4436,
351,
36017,
1150,
316,
296,
39422,
939,
36650,
70,
287,
2026,
25962,
36545,
1141,
428,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
... |
What was their record when they played the stampeders? | SELECT "Record" FROM table_24657 WHERE "Opponent" = 'Stampeders' | [
2061,
373,
511,
1700,
618,
484,
2826,
262,
28305,
364,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1731,
37680,
33411,
366,
27524,
3471,
1,
796,
705,
1273,
13322,
364,
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
] | [
2061,
373,
511,
1700,
618,
484,
2826,
262,
28305,
364,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1731,
37680,
33411,
366,
27524,
3471,
1,
796,
705,
1273,
13322,
364,
6
] |
Show the number of accounts in a bar chart that groups by other account details, and sort in desc by the x-axis please. | SELECT other_account_details, COUNT(other_account_details) FROM Accounts GROUP BY other_account_details ORDER BY other_account_details DESC | [
15307,
262,
1271,
286,
5504,
287,
257,
2318,
8262,
326,
2628,
416,
584,
1848,
3307,
11,
290,
3297,
287,
1715,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
584,
62,
23317,
62,
36604,
11,
327,
28270,
7,
847,
62,
23317,
62,
36604,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
5504,
287,
257,
2318,
8262,
326,
2628,
416,
584,
1848,
3307,
11,
290,
3297,
287,
1715,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
584,
62,
23317,
62,
36604,
11,
327,
28270,
7,
847,
62,
23317,
62,
36604,
8,
... |
What competition was played on October 7, 2011? | SELECT competition FROM table_name_95 WHERE date = "october 7, 2011" | [
2061,
5449,
373,
2826,
319,
3267,
767,
11,
2813,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
3865,
33411,
3128,
796,
366,
38441,
2023,
767,
11,
2813,
1
] | [
1,
1,
1,
1,
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,
5449,
373,
2826,
319,
3267,
767,
11,
2813,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
3865,
33411,
3128,
796,
366,
38441,
2023,
767,
11,
2813,
1
] |
How many times did incumbent ruben hinojosa get elected? | SELECT COUNT(results) FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa" | [
2437,
867,
1661,
750,
23526,
6437,
268,
289,
2879,
73,
8546,
651,
7018,
30,
46506,
327,
28270,
7,
43420,
8,
16034,
3084,
62,
19880,
1415,
4310,
62,
2231,
33411,
23526,
796,
366,
21312,
268,
367,
2879,
73,
8546,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
750,
23526,
6437,
268,
289,
2879,
73,
8546,
651,
7018,
30,
46506,
327,
28270,
7,
43420,
8,
16034,
3084,
62,
19880,
1415,
4310,
62,
2231,
33411,
23526,
796,
366,
21312,
268,
367,
2879,
73,
8546,
1
] |
How many blocks did tye'sha fluker have? | SELECT MIN("Blocks") FROM table_27154 WHERE "Player" = 'Tye''sha Fluker' | [
2437,
867,
7021,
750,
1259,
68,
338,
3099,
781,
2724,
263,
423,
30,
46506,
20625,
7203,
45356,
4943,
16034,
3084,
62,
1983,
21526,
33411,
366,
14140,
1,
796,
705,
51,
5948,
7061,
26270,
1610,
2724,
263,
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
] | [
2437,
867,
7021,
750,
1259,
68,
338,
3099,
781,
2724,
263,
423,
30,
46506,
20625,
7203,
45356,
4943,
16034,
3084,
62,
1983,
21526,
33411,
366,
14140,
1,
796,
705,
51,
5948,
7061,
26270,
1610,
2724,
263,
6
] |
When was the original air date written by michael s. chernuchin & joe morgenstern? | SELECT original_air_date FROM table_2618072_1 WHERE written_by = "Michael S. Chernuchin & Joe Morgenstern" | [
2215,
373,
262,
2656,
1633,
3128,
3194,
416,
285,
40302,
264,
13,
269,
2881,
43416,
1222,
2525,
68,
2146,
5235,
301,
1142,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
2075,
1507,
2998,
17,
62,
16,
33411,
3194,
62,
1525,
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
] | [
2215,
373,
262,
2656,
1633,
3128,
3194,
416,
285,
40302,
264,
13,
269,
2881,
43416,
1222,
2525,
68,
2146,
5235,
301,
1142,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
2075,
1507,
2998,
17,
62,
16,
33411,
3194,
62,
1525,
796... |
For those employees who did not have any job in the past, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id. | SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
4706,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
13,
46506,
449,
9864,
62,
2389,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
4706,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
13,
46506,
449,
9864,
62,
2389,
11,
... |
What is the id of the routes whose source and destination airports are in the United States? | SELECT rid FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'United States') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States') | [
2061,
318,
262,
4686,
286,
262,
11926,
3025,
2723,
290,
10965,
22600,
389,
287,
262,
1578,
1829,
30,
46506,
5755,
16034,
11926,
33411,
29636,
62,
499,
312,
3268,
357,
46506,
2471,
312,
16034,
22600,
33411,
1499,
796,
705,
17013,
1829,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
286,
262,
11926,
3025,
2723,
290,
10965,
22600,
389,
287,
262,
1578,
1829,
30,
46506,
5755,
16034,
11926,
33411,
29636,
62,
499,
312,
3268,
357,
46506,
2471,
312,
16034,
22600,
33411,
1499,
796,
705,
17013,
1829,
1... |
what is the total number of medals won by all countries combined ? | SELECT SUM("total") FROM table_203_608 | [
10919,
318,
262,
2472,
1271,
286,
28057,
1839,
416,
477,
2678,
5929,
5633,
46506,
35683,
7203,
23350,
4943,
16034,
3084,
62,
22416,
62,
28688
] | [
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,
2472,
1271,
286,
28057,
1839,
416,
477,
2678,
5929,
5633,
46506,
35683,
7203,
23350,
4943,
16034,
3084,
62,
22416,
62,
28688
] |
How many songs have a shared vocal? | SELECT COUNT(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE TYPE = "shared" | [
2437,
867,
7259,
423,
257,
4888,
12435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
3670,
8,
16034,
25355,
7054,
309,
16,
32357,
1268,
7259,
7054,
309,
17,
6177,
309,
16,
13,
34050,
312,
796,
309,
17,
13,
34050,
312,
33411,
4187... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7259,
423,
257,
4888,
12435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
3670,
8,
16034,
25355,
7054,
309,
16,
32357,
1268,
7259,
7054,
309,
17,
6177,
309,
16,
13,
34050,
312,
796,
309,
17,
13,
34050,
312,
33411,
4187... |
what is date of birth and procedure long title of subject id 81923? | SELECT demographic.dob, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "81923" | [
10919,
318,
3128,
286,
4082,
290,
8771,
890,
3670,
286,
2426,
4686,
807,
1129,
1954,
30,
46506,
16728,
13,
67,
672,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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,
1,
1
] | [
10919,
318,
3128,
286,
4082,
290,
8771,
890,
3670,
286,
2426,
4686,
807,
1129,
1954,
30,
46506,
16728,
13,
67,
672,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
What is the council area for the Larkhall urban sub-area? | SELECT council_area FROM table_name_51 WHERE urban_sub_area = "larkhall" | [
2061,
318,
262,
6745,
1989,
329,
262,
406,
668,
18323,
7876,
850,
12,
20337,
30,
46506,
6745,
62,
20337,
16034,
3084,
62,
3672,
62,
4349,
33411,
7876,
62,
7266,
62,
20337,
796,
366,
75,
668,
18323,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6745,
1989,
329,
262,
406,
668,
18323,
7876,
850,
12,
20337,
30,
46506,
6745,
62,
20337,
16034,
3084,
62,
3672,
62,
4349,
33411,
7876,
62,
7266,
62,
20337,
796,
366,
75,
668,
18323,
1
] |
Questions with all answers having at least given score. | SELECT question.Id AS "post_link", question.Score, question.AnswerCount, MIN(answer.Score) AS "Lowest answer score" FROM Posts AS question, Posts AS answer WHERE question.PostTypeId = 1 AND answer.PostTypeId = 2 AND answer.ParentId = question.Id GROUP BY question.Id, question.Score, question.AnswerCount HAVING MIN(answ... | [
35741,
351,
477,
7429,
1719,
379,
1551,
1813,
4776,
13,
46506,
1808,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
1808,
13,
26595,
11,
1808,
13,
33706,
12332,
11,
20625,
7,
41484,
13,
26595,
8,
7054,
366,
20535,
395,
3280,
4776,
1,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
351,
477,
7429,
1719,
379,
1551,
1813,
4776,
13,
46506,
1808,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
1808,
13,
26595,
11,
1808,
13,
33706,
12332,
11,
20625,
7,
41484,
13,
26595,
8,
7054,
366,
20535,
395,
3280,
4776,
1,
16... |
How much 0 100km/h, s has a Fuel of diesel, and a Torque of n m (lb ft) @1900 rpm, and an Engine ID code(s) of agr/alh? | SELECT COUNT("0\u2013100km/h,s") FROM table_60126 WHERE "Fuel" = 'diesel' AND "Torque" = 'n·m (lb·ft) @1900 rpm' AND "Engine ID code(s)" = 'agr/alh' | [
2437,
881,
657,
1802,
13276,
14,
71,
11,
264,
468,
257,
25483,
286,
21866,
11,
290,
257,
4022,
4188,
286,
299,
285,
357,
23160,
10117,
8,
2488,
48104,
37542,
11,
290,
281,
7117,
4522,
2438,
7,
82,
8,
286,
556,
81,
14,
282,
71,
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,
1,
1... | [
2437,
881,
657,
1802,
13276,
14,
71,
11,
264,
468,
257,
25483,
286,
21866,
11,
290,
257,
4022,
4188,
286,
299,
285,
357,
23160,
10117,
8,
2488,
48104,
37542,
11,
290,
281,
7117,
4522,
2438,
7,
82,
8,
286,
556,
81,
14,
282,
71,
3... |
Tell me the country for ICAO tjvq | SELECT country FROM table_name_14 WHERE icao = "tjvq" | [
24446,
502,
262,
1499,
329,
314,
8141,
46,
256,
73,
85,
80,
46506,
1499,
16034,
3084,
62,
3672,
62,
1415,
33411,
220,
3970,
78,
796,
366,
83,
73,
85,
80,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
1499,
329,
314,
8141,
46,
256,
73,
85,
80,
46506,
1499,
16034,
3084,
62,
3672,
62,
1415,
33411,
220,
3970,
78,
796,
366,
83,
73,
85,
80,
1
] |
Which classes on intelligent systems are offered in Fall or Winter of 2003 ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE area.area LIKE '%intel... | [
13828,
6097,
319,
12661,
3341,
389,
4438,
287,
7218,
393,
10633,
286,
5816,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
3268,
21479,
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,
1,
1... | [
13828,
6097,
319,
12661,
3341,
389,
4438,
287,
7218,
393,
10633,
286,
5816,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
3268,
21479,
3... |
Which Post Town has a Dialcode of 020 and is located in Hook? | SELECT "Post town" FROM table_53503 WHERE "Dialcode" = '020' AND "Location" = 'hook' | [
13828,
2947,
8329,
468,
257,
21269,
8189,
286,
657,
1238,
290,
318,
5140,
287,
18531,
30,
46506,
366,
6307,
3240,
1,
16034,
3084,
62,
4310,
31938,
33411,
366,
24400,
8189,
1,
796,
705,
33618,
6,
5357,
366,
14749,
1,
796,
705,
25480,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2947,
8329,
468,
257,
21269,
8189,
286,
657,
1238,
290,
318,
5140,
287,
18531,
30,
46506,
366,
6307,
3240,
1,
16034,
3084,
62,
4310,
31938,
33411,
366,
24400,
8189,
1,
796,
705,
33618,
6,
5357,
366,
14749,
1,
796,
705,
25480,
... |
Name the district for 1994 | SELECT district FROM table_25030512_41 WHERE first_elected = 1994 | [
5376,
262,
4783,
329,
9162,
46506,
4783,
16034,
3084,
62,
9031,
22515,
1065,
62,
3901,
33411,
717,
62,
28604,
796,
9162
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4783,
329,
9162,
46506,
4783,
16034,
3084,
62,
9031,
22515,
1065,
62,
3901,
33411,
717,
62,
28604,
796,
9162
] |
Which Year has a Runner(s)-up of tammie green? | SELECT MIN("Year") FROM table_9264 WHERE "Runner(s)-up" = 'tammie green' | [
13828,
6280,
468,
257,
21529,
7,
82,
13219,
929,
286,
256,
6475,
494,
4077,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
24,
18897,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
83,
6475,
494,
4077,
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
] | [
13828,
6280,
468,
257,
21529,
7,
82,
13219,
929,
286,
256,
6475,
494,
4077,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
24,
18897,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
83,
6475,
494,
4077,
6
] |
What is the highest round a fight lasted against masutatsu yano? | SELECT MAX("Round") FROM table_45423 WHERE "Opponent" = 'masutatsu yano' | [
2061,
318,
262,
4511,
2835,
257,
1907,
15436,
1028,
12422,
315,
19231,
331,
5733,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
34229,
1954,
33411,
366,
27524,
3471,
1,
796,
705,
5356,
315,
19231,
331,
5733,
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
] | [
2061,
318,
262,
4511,
2835,
257,
1907,
15436,
1028,
12422,
315,
19231,
331,
5733,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
34229,
1954,
33411,
366,
27524,
3471,
1,
796,
705,
5356,
315,
19231,
331,
5733,
6
] |
count the number of patients whose ethnicity is black/african american and year of birth is less than 2076? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.dob_year < "2076" | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4304,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4304,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728... |
What's the 1981 census of Livorno? | SELECT "1981 Census" FROM table_15978 WHERE "City" = 'Livorno' | [
2061,
338,
262,
14745,
21649,
286,
32020,
46447,
30,
46506,
366,
35411,
20962,
1,
16034,
3084,
62,
19707,
3695,
33411,
366,
14941,
1,
796,
705,
43,
452,
46447,
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,
338,
262,
14745,
21649,
286,
32020,
46447,
30,
46506,
366,
35411,
20962,
1,
16034,
3084,
62,
19707,
3695,
33411,
366,
14941,
1,
796,
705,
43,
452,
46447,
6
] |
Draw a bar chart of dept code versus the total number, rank by the bar in descending. | SELECT DEPT_CODE, COUNT(*) FROM STUDENT GROUP BY DEPT_CODE ORDER BY DEPT_CODE DESC | [
25302,
257,
2318,
8262,
286,
390,
457,
2438,
9051,
262,
2472,
1271,
11,
4279,
416,
262,
2318,
287,
31491,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820,
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
] | [
25302,
257,
2318,
8262,
286,
390,
457,
2438,
9051,
262,
2472,
1271,
11,
4279,
416,
262,
2318,
287,
31491,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820,
3... |
Which language has 3 draws? | SELECT "Language" FROM table_9575 WHERE "Draw" = '3' | [
13828,
3303,
468,
513,
14293,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
3865,
2425,
33411,
366,
25302,
1,
796,
705,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3303,
468,
513,
14293,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
3865,
2425,
33411,
366,
25302,
1,
796,
705,
18,
6
] |
What is the listed Location with a # found of 4? | SELECT "Location" FROM table_6438 WHERE "# found" = '4' | [
2061,
318,
262,
5610,
13397,
351,
257,
1303,
1043,
286,
604,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
2414,
2548,
33411,
25113,
1043,
1,
796,
705,
19,
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,
262,
5610,
13397,
351,
257,
1303,
1043,
286,
604,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
2414,
2548,
33411,
25113,
1043,
1,
796,
705,
19,
6
] |
When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists? | SELECT "High assists" FROM table_25890 WHERE "High rebounds" = 'Marcus Camby (15)' | [
2215,
1667,
9042,
12172,
1525,
357,
1314,
8,
468,
262,
4511,
2033,
286,
18841,
508,
468,
262,
4511,
2033,
286,
13648,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
25600,
3829,
33411,
366,
11922,
18841,
1,
796,
705,
35110,
7298,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1667,
9042,
12172,
1525,
357,
1314,
8,
468,
262,
4511,
2033,
286,
18841,
508,
468,
262,
4511,
2033,
286,
13648,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
25600,
3829,
33411,
366,
11922,
18841,
1,
796,
705,
35110,
7298,
1... |
What was the UDMR for 18-22/04/2009? | SELECT udmr FROM table_name_75 WHERE date = "18-22/04/2009" | [
2061,
373,
262,
43700,
13599,
329,
1248,
12,
1828,
14,
3023,
14,
10531,
30,
46506,
334,
36020,
81,
16034,
3084,
62,
3672,
62,
2425,
33411,
3128,
796,
366,
1507,
12,
1828,
14,
3023,
14,
10531,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43700,
13599,
329,
1248,
12,
1828,
14,
3023,
14,
10531,
30,
46506,
334,
36020,
81,
16034,
3084,
62,
3672,
62,
2425,
33411,
3128,
796,
366,
1507,
12,
1828,
14,
3023,
14,
10531,
1
] |
What is the crew with the end time of 21:11? | SELECT "Crew" FROM table_70278 WHERE "End Time" = '21:11' | [
2061,
318,
262,
5462,
351,
262,
886,
640,
286,
2310,
25,
1157,
30,
46506,
366,
46724,
1,
16034,
3084,
62,
2154,
25870,
33411,
366,
12915,
3862,
1,
796,
705,
2481,
25,
1157,
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
] | [
2061,
318,
262,
5462,
351,
262,
886,
640,
286,
2310,
25,
1157,
30,
46506,
366,
46724,
1,
16034,
3084,
62,
2154,
25870,
33411,
366,
12915,
3862,
1,
796,
705,
2481,
25,
1157,
6
] |
was the value of the bedside glucose of patient 013-23115 last measured on the last hospital visit greater than that second to last measured on the last hospital visit? | SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-23115' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi... | [
9776,
262,
1988,
286,
262,
3996,
1589,
15701,
286,
5827,
5534,
18,
12,
1954,
15363,
938,
8630,
319,
262,
938,
4436,
3187,
3744,
621,
326,
1218,
284,
938,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
13,
23912,
20274,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9776,
262,
1988,
286,
262,
3996,
1589,
15701,
286,
5827,
5534,
18,
12,
1954,
15363,
938,
8630,
319,
262,
938,
4436,
3187,
3744,
621,
326,
1218,
284,
938,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
13,
23912,
20274,
... |
did patient 14054 have sc 20 fe po given on last month/01? | SELECT COUNT(*) > 0 FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14054)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'sc 20 fe... | [
20839,
5827,
1478,
2713,
19,
423,
629,
1160,
730,
745,
1813,
319,
938,
1227,
14,
486,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
436,
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... | [
20839,
5827,
1478,
2713,
19,
423,
629,
1160,
730,
745,
1813,
319,
938,
1227,
14,
486,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
436,
32... |
Which highest number of Seats has votes of 244,867? | SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867 | [
13828,
4511,
1271,
286,
1001,
1381,
468,
5690,
286,
35264,
11,
23,
3134,
30,
46506,
25882,
7,
325,
1381,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
5690,
796,
35264,
3963,
10652,
2767,
807,
3134
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
1271,
286,
1001,
1381,
468,
5690,
286,
35264,
11,
23,
3134,
30,
46506,
25882,
7,
325,
1381,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
5690,
796,
35264,
3963,
10652,
2767,
807,
3134
] |
When did the comic which came out in 1982 end? | SELECT last_year FROM table_name_75 WHERE first_year = "1982" | [
2215,
750,
262,
9048,
543,
1625,
503,
287,
14489,
886,
30,
46506,
938,
62,
1941,
16034,
3084,
62,
3672,
62,
2425,
33411,
717,
62,
1941,
796,
366,
30763,
1
] | [
1,
1,
1,
1,
1,
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,
750,
262,
9048,
543,
1625,
503,
287,
14489,
886,
30,
46506,
938,
62,
1941,
16034,
3084,
62,
3672,
62,
2425,
33411,
717,
62,
1941,
796,
366,
30763,
1
] |
Which venue did the home team score 22.23 (155) at? | SELECT "Venue" FROM table_56771 WHERE "Home team score" = '22.23 (155)' | [
13828,
14359,
750,
262,
1363,
1074,
4776,
2534,
13,
1954,
357,
18742,
8,
379,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
3134,
4869,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1828,
13,
1954,
357,
18742,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
750,
262,
1363,
1074,
4776,
2534,
13,
1954,
357,
18742,
8,
379,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
3134,
4869,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1828,
13,
1954,
357,
18742,
33047
] |
What position did the Belenenses club occupy in 1960/61? | SELECT position_in_1960_1961 FROM table_name_2 WHERE clubs = "belenenses" | [
2061,
2292,
750,
262,
3944,
268,
4541,
3430,
22265,
287,
9507,
14,
5333,
30,
46506,
2292,
62,
259,
62,
38503,
62,
1129,
5333,
16034,
3084,
62,
3672,
62,
17,
33411,
9784,
796,
366,
6667,
268,
4541,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
750,
262,
3944,
268,
4541,
3430,
22265,
287,
9507,
14,
5333,
30,
46506,
2292,
62,
259,
62,
38503,
62,
1129,
5333,
16034,
3084,
62,
3672,
62,
17,
33411,
9784,
796,
366,
6667,
268,
4541,
1
] |
Which customer made the most orders? Find the customer name. | SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
6491,
925,
262,
749,
6266,
30,
9938,
262,
6491,
1438,
13,
46506,
309,
16,
13,
23144,
263,
62,
3672,
16034,
4297,
7054,
309,
16,
32357,
1268,
6266,
7054,
309,
17,
6177,
309,
16,
13,
23144,
263,
62,
312,
796,
309,
17,
13,
231... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6491,
925,
262,
749,
6266,
30,
9938,
262,
6491,
1438,
13,
46506,
309,
16,
13,
23144,
263,
62,
3672,
16034,
4297,
7054,
309,
16,
32357,
1268,
6266,
7054,
309,
17,
6177,
309,
16,
13,
23144,
263,
62,
312,
796,
309,
17,
13,
231... |
Name the 10:30 for 8:00 of charmed | SELECT "10:30" FROM table_5084 WHERE "8:00" = 'charmed' | [
5376,
262,
838,
25,
1270,
329,
807,
25,
405,
286,
1149,
1150,
46506,
366,
940,
25,
1270,
1,
16034,
3084,
62,
1120,
5705,
33411,
366,
23,
25,
405,
1,
796,
705,
10641,
1150,
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
] | [
5376,
262,
838,
25,
1270,
329,
807,
25,
405,
286,
1149,
1150,
46506,
366,
940,
25,
1270,
1,
16034,
3084,
62,
1120,
5705,
33411,
366,
23,
25,
405,
1,
796,
705,
10641,
1150,
6
] |
What branch was involved when the term began in January 3, 1985? | SELECT branch FROM table_197446_1 WHERE term_began = "January 3, 1985" | [
2061,
8478,
373,
2950,
618,
262,
3381,
2540,
287,
3269,
513,
11,
12863,
30,
46506,
8478,
16034,
3084,
62,
24991,
27260,
62,
16,
33411,
3381,
62,
1350,
1030,
796,
366,
21339,
513,
11,
12863,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8478,
373,
2950,
618,
262,
3381,
2540,
287,
3269,
513,
11,
12863,
30,
46506,
8478,
16034,
3084,
62,
24991,
27260,
62,
16,
33411,
3381,
62,
1350,
1030,
796,
366,
21339,
513,
11,
12863,
1
] |
How many locations was game 3 played at? | SELECT COUNT(location_attendance) FROM table_23248967_5 WHERE game = 3 | [
2437,
867,
7064,
373,
983,
513,
2826,
379,
30,
46506,
327,
28270,
7,
24886,
62,
1078,
437,
590,
8,
16034,
3084,
62,
1954,
1731,
4531,
3134,
62,
20,
33411,
983,
796,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7064,
373,
983,
513,
2826,
379,
30,
46506,
327,
28270,
7,
24886,
62,
1078,
437,
590,
8,
16034,
3084,
62,
1954,
1731,
4531,
3134,
62,
20,
33411,
983,
796,
513
] |
provide the number of patients whose admission location is transfer from hosp/extram and procedure long title is continuous intra-arterial blood gas monitoring? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND procedures.long_title = "Continuous intra-arterial blood gas monitoring" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
8771,
890,
3670,
318,
12948,
23422,
12,
2571,
498,
2910,
3623,
9904,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
8771,
890,
3670,
318,
12948,
23422,
12,
2571,
498,
2910,
3623,
9904,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,... |
what was the name of the procedure, which patient 81562 was first received until 4 years ago? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 81562) AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TI... | [
10919,
373,
262,
1438,
286,
262,
8771,
11,
543,
5827,
807,
1314,
5237,
373,
717,
2722,
1566,
604,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
8771,
11,
543,
5827,
807,
1314,
5237,
373,
717,
2722,
1566,
604,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,... |
What is the overall FHT points for Denis Kornilov? | SELECT "Overall FHT points" FROM table_36687 WHERE "Name" = 'denis kornilov' | [
2061,
318,
262,
4045,
376,
6535,
2173,
329,
33089,
509,
1211,
346,
709,
30,
46506,
366,
16350,
376,
6535,
2173,
1,
16034,
3084,
62,
2623,
39925,
33411,
366,
5376,
1,
796,
705,
6559,
271,
479,
1211,
346,
709,
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
] | [
2061,
318,
262,
4045,
376,
6535,
2173,
329,
33089,
509,
1211,
346,
709,
30,
46506,
366,
16350,
376,
6535,
2173,
1,
16034,
3084,
62,
2623,
39925,
33411,
366,
5376,
1,
796,
705,
6559,
271,
479,
1211,
346,
709,
6
] |
Who was the opponent on September 28? | SELECT "Opponent" FROM table_56290 WHERE "Date" = 'september 28' | [
8241,
373,
262,
6125,
319,
2693,
2579,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
3980,
24369,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
2579,
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
] | [
8241,
373,
262,
6125,
319,
2693,
2579,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
3980,
24369,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
2579,
6
] |
Which Points have a Year larger than 1998, and Wins of 1? | SELECT AVG(points) FROM table_name_79 WHERE year > 1998 AND wins = 1 | [
13828,
11045,
423,
257,
6280,
4025,
621,
7795,
11,
290,
24423,
286,
352,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
614,
1875,
7795,
5357,
7864,
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,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
11045,
423,
257,
6280,
4025,
621,
7795,
11,
290,
24423,
286,
352,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
614,
1875,
7795,
5357,
7864,
796,
352
] |
hba1c levels greater than 14 % | SELECT * FROM table_train_156 WHERE hemoglobin_a1c_hba1c > 14 | [
71,
7012,
16,
66,
2974,
3744,
621,
1478,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
21599,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
1478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
71,
7012,
16,
66,
2974,
3744,
621,
1478,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
21599,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
1478
] |
When the Away team was south melbourne what was the home team? | SELECT "Home team" FROM table_52429 WHERE "Away team" = 'south melbourne' | [
2215,
262,
21986,
1074,
373,
5366,
7758,
12544,
644,
373,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
48057,
1959,
33411,
366,
32,
1014,
1074,
1,
796,
705,
35782,
7758,
12544,
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
] | [
2215,
262,
21986,
1074,
373,
5366,
7758,
12544,
644,
373,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
48057,
1959,
33411,
366,
32,
1014,
1074,
1,
796,
705,
35782,
7758,
12544,
6
] |
Which record has 64,053 as the attendance? | SELECT record FROM table_name_51 WHERE attendance = "64,053" | [
13828,
1700,
468,
5598,
11,
2713,
18,
355,
262,
14858,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4349,
33411,
14858,
796,
366,
2414,
11,
2713,
18,
1
] | [
1,
1,
1,
1,
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,
1700,
468,
5598,
11,
2713,
18,
355,
262,
14858,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4349,
33411,
14858,
796,
366,
2414,
11,
2713,
18,
1
] |
How many bronze medals does South Korea have? | SELECT bronze FROM table_name_20 WHERE nation = "south korea" | [
2437,
867,
22101,
28057,
857,
2520,
4969,
423,
30,
46506,
22101,
16034,
3084,
62,
3672,
62,
1238,
33411,
3277,
796,
366,
35782,
479,
46215,
1
] | [
1,
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,
22101,
28057,
857,
2520,
4969,
423,
30,
46506,
22101,
16034,
3084,
62,
3672,
62,
1238,
33411,
3277,
796,
366,
35782,
479,
46215,
1
] |
What is the hometown of Jarrid Famous? | SELECT "Hometown" FROM table_31127 WHERE "Name" = 'Jarrid Famous' | [
2061,
318,
262,
20994,
286,
449,
3258,
312,
43261,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
3132,
16799,
33411,
366,
5376,
1,
796,
705,
41,
3258,
312,
43261,
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
] | [
2061,
318,
262,
20994,
286,
449,
3258,
312,
43261,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
3132,
16799,
33411,
366,
5376,
1,
796,
705,
41,
3258,
312,
43261,
6
] |
HOW MANY GAMES WERE TIED AT 76? | SELECT "Drawn" FROM table_17822 WHERE "Points" = '76' | [
37181,
17254,
56,
402,
29559,
370,
9338,
309,
19767,
5161,
8684,
30,
46506,
366,
35,
5791,
1,
16034,
3084,
62,
23188,
1828,
33411,
366,
40710,
1,
796,
705,
4304,
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
] | [
37181,
17254,
56,
402,
29559,
370,
9338,
309,
19767,
5161,
8684,
30,
46506,
366,
35,
5791,
1,
16034,
3084,
62,
23188,
1828,
33411,
366,
40710,
1,
796,
705,
4304,
6
] |
get me the number of patients diagnosed with hemochromatosis due to repeated red blood cell tranfusions. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Hemochromatos-rbc trans" | [
1136,
502,
262,
1271,
286,
3871,
14641,
351,
16869,
5374,
398,
265,
5958,
2233,
284,
5100,
2266,
2910,
2685,
491,
272,
69,
15880,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
502,
262,
1271,
286,
3871,
14641,
351,
16869,
5374,
398,
265,
5958,
2233,
284,
5100,
2266,
2910,
2685,
491,
272,
69,
15880,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... |
Find the name of instructor who is the advisor of the student who has the highest number of total credits. | SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1 | [
16742,
262,
1438,
286,
21187,
508,
318,
262,
20685,
286,
262,
3710,
508,
468,
262,
4511,
1271,
286,
2472,
10824,
13,
46506,
309,
17,
13,
3672,
16034,
20685,
7054,
309,
16,
32357,
1268,
21187,
7054,
309,
17,
6177,
309,
16,
13,
72,
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... | [
16742,
262,
1438,
286,
21187,
508,
318,
262,
20685,
286,
262,
3710,
508,
468,
262,
4511,
1271,
286,
2472,
10824,
13,
46506,
309,
17,
13,
3672,
16034,
20685,
7054,
309,
16,
32357,
1268,
21187,
7054,
309,
17,
6177,
309,
16,
13,
72,
62... |
Which county do the Trojans come from? | SELECT "County" FROM table_13279 WHERE "Mascot" = 'trojans' | [
13828,
7968,
466,
262,
8498,
73,
504,
1282,
422,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
1485,
26050,
33411,
366,
44,
3372,
313,
1,
796,
705,
23528,
73,
504,
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
] | [
13828,
7968,
466,
262,
8498,
73,
504,
1282,
422,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
1485,
26050,
33411,
366,
44,
3372,
313,
1,
796,
705,
23528,
73,
504,
6
] |
Will all of Dr. Alex Halderman 's classes be available next semester and if not , which ones will be available ? ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Alex Halderman%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.of... | [
8743,
477,
286,
1583,
13,
4422,
11023,
1082,
805,
705,
82,
6097,
307,
1695,
1306,
24878,
290,
611,
407,
837,
543,
3392,
481,
307,
1695,
5633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8743,
477,
286,
1583,
13,
4422,
11023,
1082,
805,
705,
82,
6097,
307,
1695,
1306,
24878,
290,
611,
407,
837,
543,
3392,
481,
307,
1695,
5633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
1... |
what is average age of patients whose admission type is elective and insurance is self pay? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.insurance = "Self Pay" | [
10919,
318,
2811,
2479,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
5096,
318,
2116,
1414,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2479,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
5096,
318,
2116,
1414,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
5357,
... |
Who played for Memphis State? | SELECT player FROM table_name_47 WHERE school_club_team = "memphis state" | [
8241,
2826,
329,
20522,
1812,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2857,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
11883,
18691,
1181,
1
] | [
1,
1,
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,
2826,
329,
20522,
1812,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2857,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
11883,
18691,
1181,
1
] |
What was the Jets week 17 attendance? | SELECT "Attendance" FROM table_32662 WHERE "Week" = '17' | [
2061,
373,
262,
14728,
1285,
1596,
14858,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
39195,
5237,
33411,
366,
20916,
1,
796,
705,
1558,
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,
373,
262,
14728,
1285,
1596,
14858,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
39195,
5237,
33411,
366,
20916,
1,
796,
705,
1558,
6
] |
What is the total that had an event of +105 kg and clean & jerk less than 227.5? | SELECT COUNT("Total") FROM table_78261 WHERE "Event" = '+105 kg' AND "Clean & Jerk" < '227.5' | [
2061,
318,
262,
2472,
326,
550,
281,
1785,
286,
1343,
13348,
14211,
290,
3424,
1222,
29757,
1342,
621,
30989,
13,
20,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
3695,
30057,
33411,
366,
9237,
1,
796,
705,
10,
13348,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
326,
550,
281,
1785,
286,
1343,
13348,
14211,
290,
3424,
1222,
29757,
1342,
621,
30989,
13,
20,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
3695,
30057,
33411,
366,
9237,
1,
796,
705,
10,
13348,
14... |
Who scored 69-74=143 for Colombia? | SELECT player FROM table_name_78 WHERE score = 69 - 74 = 143 AND country = "colombia" | [
8241,
7781,
8644,
12,
4524,
28,
21139,
329,
21291,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3695,
33411,
4776,
796,
8644,
532,
8915,
796,
24356,
5357,
1499,
796,
366,
4033,
2381,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7781,
8644,
12,
4524,
28,
21139,
329,
21291,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3695,
33411,
4776,
796,
8644,
532,
8915,
796,
24356,
5357,
1499,
796,
366,
4033,
2381,
544,
1
] |
What are the weights of entrepreneurs in descending order of money requested? | SELECT T2.weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id ORDER BY T1.money_requested DESC | [
2061,
389,
262,
19590,
286,
17038,
287,
31491,
1502,
286,
1637,
9167,
30,
46506,
309,
17,
13,
6551,
16034,
19500,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
15332,
62,
312,
796,
309,
17,
13,
15332,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19590,
286,
17038,
287,
31491,
1502,
286,
1637,
9167,
30,
46506,
309,
17,
13,
6551,
16034,
19500,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
15332,
62,
312,
796,
309,
17,
13,
15332,
62,
312,
... |
Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037? | SELECT driver FROM table_name_37 WHERE grid > 2 AND constructor = "bmw sauber" AND time_retired = "+15.037" | [
8241,
10182,
257,
19339,
23167,
527,
351,
257,
24846,
4025,
621,
362,
290,
257,
3862,
14,
9781,
1202,
286,
1343,
1314,
13,
15,
2718,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
2718,
33411,
10706,
1875,
362,
5357,
23772,
796,
366,
204... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10182,
257,
19339,
23167,
527,
351,
257,
24846,
4025,
621,
362,
290,
257,
3862,
14,
9781,
1202,
286,
1343,
1314,
13,
15,
2718,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
2718,
33411,
10706,
1875,
362,
5357,
23772,
796,
366,
204... |
Which Definition has a Rank smaller than 12, and a Town of tadcaster? | SELECT definition FROM table_name_63 WHERE rank < 12 AND town = "tadcaster" | [
13828,
30396,
468,
257,
10916,
4833,
621,
1105,
11,
290,
257,
8329,
286,
36264,
17970,
30,
46506,
6770,
16034,
3084,
62,
3672,
62,
5066,
33411,
4279,
1279,
1105,
5357,
3240,
796,
366,
83,
324,
17970,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30396,
468,
257,
10916,
4833,
621,
1105,
11,
290,
257,
8329,
286,
36264,
17970,
30,
46506,
6770,
16034,
3084,
62,
3672,
62,
5066,
33411,
4279,
1279,
1105,
5357,
3240,
796,
366,
83,
324,
17970,
1
] |
how long in years down this table cover ? | SELECT MAX("date") - MIN("date") FROM table_203_750 | [
4919,
890,
287,
812,
866,
428,
3084,
3002,
5633,
46506,
25882,
7203,
4475,
4943,
532,
20625,
7203,
4475,
4943,
16034,
3084,
62,
22416,
62,
15426
] | [
1,
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,
890,
287,
812,
866,
428,
3084,
3002,
5633,
46506,
25882,
7203,
4475,
4943,
532,
20625,
7203,
4475,
4943,
16034,
3084,
62,
22416,
62,
15426
] |
Pie chart. how many counties correspond to each police force? | SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force | [
48223,
8262,
13,
703,
867,
14683,
6053,
284,
1123,
1644,
2700,
30,
46506,
4287,
62,
3174,
11,
327,
28270,
7,
28104,
16034,
7968,
62,
11377,
62,
44708,
44441,
11050,
4287,
62,
3174
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
48223,
8262,
13,
703,
867,
14683,
6053,
284,
1123,
1644,
2700,
30,
46506,
4287,
62,
3174,
11,
327,
28270,
7,
28104,
16034,
7968,
62,
11377,
62,
44708,
44441,
11050,
4287,
62,
3174
] |
What is the place number for adrian vasile with less than 127.74 points? | SELECT SUM(places) FROM table_name_14 WHERE name = "adrian vasile" AND points < 127.74 | [
2061,
318,
262,
1295,
1271,
329,
512,
4484,
34439,
576,
351,
1342,
621,
18112,
13,
4524,
2173,
30,
46506,
35683,
7,
23625,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
1438,
796,
366,
324,
4484,
34439,
576,
1,
5357,
2173,
1279,
18112,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1295,
1271,
329,
512,
4484,
34439,
576,
351,
1342,
621,
18112,
13,
4524,
2173,
30,
46506,
35683,
7,
23625,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
1438,
796,
366,
324,
4484,
34439,
576,
1,
5357,
2173,
1279,
18112,
... |
how many times were goals scored in the friendly competition ? | SELECT COUNT(*) FROM table_204_346 WHERE "competition" = 'friendly' | [
4919,
867,
1661,
547,
4661,
7781,
287,
262,
8030,
5449,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
30557,
33411,
366,
5589,
15620,
1,
796,
705,
13120,
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
] | [
4919,
867,
1661,
547,
4661,
7781,
287,
262,
8030,
5449,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
30557,
33411,
366,
5589,
15620,
1,
796,
705,
13120,
6
] |
give me the number of patients whose primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda and admission year is less than 2129? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" AND demographic.admityear < "2129" | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
26,
616,
462,
310,
9145,
14,
82,
6814,
290,
13938,
614,
318,
1342,
621,
362,
18741,
30,
46506,
327,
28270,
7,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
26,
616,
462,
310,
9145,
14,
82,
6814,
290,
13938,
614,
318,
1342,
621,
362,
18741,
30,
46506,
327,
28270,
7,
35,
... |
What is the Score of the game larger than 57 with a Record of 4 55? | SELECT score FROM table_name_15 WHERE game > 57 AND record = "4–55" | [
2061,
318,
262,
15178,
286,
262,
983,
4025,
621,
7632,
351,
257,
13266,
286,
604,
5996,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1314,
33411,
983,
1875,
7632,
5357,
1700,
796,
366,
19,
1906,
2816,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15178,
286,
262,
983,
4025,
621,
7632,
351,
257,
13266,
286,
604,
5996,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1314,
33411,
983,
1875,
7632,
5357,
1700,
796,
366,
19,
1906,
2816,
1
] |
Can you tell me the sum of Podiums that has the Season of 2006, and the Races larger than 16? | SELECT SUM("Podiums") FROM table_38802 WHERE "Season" = '2006' AND "Races" > '16' | [
6090,
345,
1560,
502,
262,
2160,
286,
350,
12664,
82,
326,
468,
262,
7369,
286,
4793,
11,
290,
262,
45134,
4025,
621,
1467,
30,
46506,
35683,
7203,
47,
12664,
82,
4943,
16034,
3084,
62,
2548,
30863,
33411,
366,
18960,
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,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2160,
286,
350,
12664,
82,
326,
468,
262,
7369,
286,
4793,
11,
290,
262,
45134,
4025,
621,
1467,
30,
46506,
35683,
7203,
47,
12664,
82,
4943,
16034,
3084,
62,
2548,
30863,
33411,
366,
18960,
1,
796,
705,
1... |
Which stage corresponds to Banesto and Tony Rominger? | SELECT stage FROM table_name_7 WHERE team_classification = "banesto" AND points_classification = "tony rominger" | [
13828,
3800,
24866,
284,
10274,
395,
78,
290,
8832,
371,
3383,
263,
30,
46506,
3800,
16034,
3084,
62,
3672,
62,
22,
33411,
1074,
62,
4871,
2649,
796,
366,
3820,
395,
78,
1,
5357,
2173,
62,
4871,
2649,
796,
366,
1122,
88,
374,
3383,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3800,
24866,
284,
10274,
395,
78,
290,
8832,
371,
3383,
263,
30,
46506,
3800,
16034,
3084,
62,
3672,
62,
22,
33411,
1074,
62,
4871,
2649,
796,
366,
3820,
395,
78,
1,
5357,
2173,
62,
4871,
2649,
796,
366,
1122,
88,
374,
3383,
... |
how long does it take to fly from BOSTON to ATLANTA | SELECT DISTINCT flight.time_elapsed FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLA... | [
4919,
890,
857,
340,
1011,
284,
6129,
422,
347,
10892,
1340,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
2435,
62,
417,
28361,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
857,
340,
1011,
284,
6129,
422,
347,
10892,
1340,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
2435,
62,
417,
28361,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15... |
which team finished last in this conference this season ? | SELECT "school" FROM table_204_898 ORDER BY "seed" DESC LIMIT 1 | [
4758,
1074,
5201,
938,
287,
428,
4495,
428,
1622,
5633,
46506,
366,
14347,
1,
16034,
3084,
62,
18638,
62,
23,
4089,
38678,
11050,
366,
28826,
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
] | [
4758,
1074,
5201,
938,
287,
428,
4495,
428,
1622,
5633,
46506,
366,
14347,
1,
16034,
3084,
62,
18638,
62,
23,
4089,
38678,
11050,
366,
28826,
1,
22196,
34,
27564,
2043,
352
] |
What is the Time of the swimmer from Chinese Taipei in Heat 3? | SELECT time FROM table_name_88 WHERE heat = 3 AND lane > 3 AND nationality = "chinese taipei" | [
2061,
318,
262,
3862,
286,
262,
9422,
647,
422,
3999,
11144,
33265,
287,
12308,
513,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3459,
33411,
4894,
796,
513,
5357,
11193,
1875,
513,
5357,
29835,
796,
366,
354,
3762,
256,
1872,
33265,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3862,
286,
262,
9422,
647,
422,
3999,
11144,
33265,
287,
12308,
513,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3459,
33411,
4894,
796,
513,
5357,
11193,
1875,
513,
5357,
29835,
796,
366,
354,
3762,
256,
1872,
33265,
1... |
Who is the designer of the Christmas: Winter Fun (USA) stamp? | SELECT design FROM table_11900773_6 WHERE theme = "Christmas: Winter Fun (USA)" | [
8241,
318,
262,
11915,
286,
262,
6786,
25,
10633,
11138,
357,
14053,
8,
17977,
30,
46506,
1486,
16034,
3084,
62,
16315,
405,
46871,
62,
21,
33411,
7505,
796,
366,
44614,
25,
10633,
11138,
357,
14053,
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
] | [
8241,
318,
262,
11915,
286,
262,
6786,
25,
10633,
11138,
357,
14053,
8,
17977,
30,
46506,
1486,
16034,
3084,
62,
16315,
405,
46871,
62,
21,
33411,
7505,
796,
366,
44614,
25,
10633,
11138,
357,
14053,
16725
] |
Name the growth rate for hooghly | SELECT "Growth Rate" FROM table_27490 WHERE "District" = 'Hooghly' | [
5376,
262,
3349,
2494,
329,
289,
2238,
456,
306,
46506,
366,
38,
13046,
14806,
1,
16034,
3084,
62,
1983,
31503,
33411,
366,
44857,
1,
796,
705,
39,
2238,
456,
306,
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
] | [
5376,
262,
3349,
2494,
329,
289,
2238,
456,
306,
46506,
366,
38,
13046,
14806,
1,
16034,
3084,
62,
1983,
31503,
33411,
366,
44857,
1,
796,
705,
39,
2238,
456,
306,
6
] |
Find the total number of students for each department with a bar chart, and could you list y axis in descending order? | SELECT T1.dept_name, COUNT(DISTINCT T2.ID) FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name ORDER BY COUNT(DISTINCT T2.ID) DESC | [
16742,
262,
2472,
1271,
286,
2444,
329,
1123,
5011,
351,
257,
2318,
8262,
11,
290,
714,
345,
1351,
331,
16488,
287,
31491,
1502,
30,
46506,
309,
16,
13,
2934,
457,
62,
3672,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
17,
13,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
2444,
329,
1123,
5011,
351,
257,
2318,
8262,
11,
290,
714,
345,
1351,
331,
16488,
287,
31491,
1502,
30,
46506,
309,
16,
13,
2934,
457,
62,
3672,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
17,
13,
23... |
how many patients received a annuloplasty two times? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'annuloplasty') GROUP ... | [
4919,
867,
3871,
2722,
257,
1529,
377,
20106,
7833,
734,
1661,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
327,
28270,
7,
28104,
7054,
269,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2722,
257,
1529,
377,
20106,
7833,
734,
1661,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
327,
28270,
7,
28104,
7054,
269,
16,
... |
What NFL team was the player with pick number 28 drafted to? | SELECT nfl_team FROM table_20996923_25 WHERE pick__number = 28 | [
2061,
5134,
1074,
373,
262,
2137,
351,
2298,
1271,
2579,
15937,
284,
30,
46506,
299,
2704,
62,
15097,
16034,
3084,
62,
1238,
2079,
3388,
1954,
62,
1495,
33411,
2298,
834,
17618,
796,
2579
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5134,
1074,
373,
262,
2137,
351,
2298,
1271,
2579,
15937,
284,
30,
46506,
299,
2704,
62,
15097,
16034,
3084,
62,
1238,
2079,
3388,
1954,
62,
1495,
33411,
2298,
834,
17618,
796,
2579
] |
How many Area's are there for Armstrong? | SELECT COUNT("Area (km\u00b2)") FROM table_30494 WHERE "Name" = 'Armstrong' | [
2437,
867,
9498,
338,
389,
612,
329,
21166,
30,
46506,
327,
28270,
7203,
30547,
357,
13276,
59,
84,
405,
65,
17,
8,
4943,
16034,
3084,
62,
1270,
39449,
33411,
366,
5376,
1,
796,
705,
26560,
11576,
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
] | [
2437,
867,
9498,
338,
389,
612,
329,
21166,
30,
46506,
327,
28270,
7203,
30547,
357,
13276,
59,
84,
405,
65,
17,
8,
4943,
16034,
3084,
62,
1270,
39449,
33411,
366,
5376,
1,
796,
705,
26560,
11576,
6
] |
Name the total number of points for when try bonus is 10 | SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10" | [
5376,
262,
2472,
1271,
286,
2173,
329,
618,
1949,
7202,
318,
838,
46506,
327,
28270,
7,
13033,
62,
1640,
8,
16034,
3084,
62,
17059,
2414,
36680,
62,
18,
33411,
1949,
62,
4189,
385,
796,
366,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
2173,
329,
618,
1949,
7202,
318,
838,
46506,
327,
28270,
7,
13033,
62,
1640,
8,
16034,
3084,
62,
17059,
2414,
36680,
62,
18,
33411,
1949,
62,
4189,
385,
796,
366,
940,
1
] |
at what time was the patient with patient id 16438 discharged from hospital? | SELECT demographic.dischtime FROM demographic WHERE demographic.subject_id = "16438" | [
265,
644,
640,
373,
262,
5827,
351,
5827,
4686,
25307,
2548,
26476,
422,
4436,
30,
46506,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
23237,
2548,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
265,
644,
640,
373,
262,
5827,
351,
5827,
4686,
25307,
2548,
26476,
422,
4436,
30,
46506,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
23237,
2548,
1
] |
What is every result for the ceremony year of 2007 (80th)? | SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)" | [
2061,
318,
790,
1255,
329,
262,
10542,
614,
286,
4343,
357,
1795,
400,
19427,
46506,
1255,
16034,
3084,
62,
1828,
1065,
3459,
4869,
62,
16,
33411,
614,
834,
344,
2787,
1647,
62,
796,
366,
12726,
357,
1795,
400,
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
] | [
2061,
318,
790,
1255,
329,
262,
10542,
614,
286,
4343,
357,
1795,
400,
19427,
46506,
1255,
16034,
3084,
62,
1828,
1065,
3459,
4869,
62,
16,
33411,
614,
834,
344,
2787,
1647,
62,
796,
366,
12726,
357,
1795,
400,
16725
] |
What is every value for periselene if period is 4.947432? | SELECT periselene__km_ FROM table_206217_2 WHERE period__h_ = "4.947432" | [
2061,
318,
790,
1988,
329,
583,
36811,
1734,
611,
2278,
318,
604,
13,
24,
38652,
2624,
30,
46506,
583,
36811,
1734,
834,
13276,
62,
16034,
3084,
62,
1238,
5237,
1558,
62,
17,
33411,
2278,
834,
71,
62,
796,
366,
19,
13,
24,
38652,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
790,
1988,
329,
583,
36811,
1734,
611,
2278,
318,
604,
13,
24,
38652,
2624,
30,
46506,
583,
36811,
1734,
834,
13276,
62,
16034,
3084,
62,
1238,
5237,
1558,
62,
17,
33411,
2278,
834,
71,
62,
796,
366,
19,
13,
24,
38652,
... |
when did patient 83062 receive a microbiology test in this hospital visit for the last time? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83062 AND admissions.dischtime IS NULL) ORDER BY microbiologyevents.charttime DESC LIMIT 1 | [
12518,
750,
5827,
807,
1270,
5237,
3328,
257,
24559,
1435,
1332,
287,
428,
4436,
3187,
329,
262,
938,
640,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
807,
1270,
5237,
3328,
257,
24559,
1435,
1332,
287,
428,
4436,
3187,
329,
262,
938,
640,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
326... |
What season did he have 7 appearances? | SELECT "Season" FROM table_71133 WHERE "Apps." = '7' | [
2061,
1622,
750,
339,
423,
767,
11057,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
22,
1157,
2091,
33411,
366,
48433,
526,
796,
705,
22,
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
] | [
2061,
1622,
750,
339,
423,
767,
11057,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
22,
1157,
2091,
33411,
366,
48433,
526,
796,
705,
22,
6
] |
what were the top four most frequent lab tests that follow in the same hospital visit for patients who received tracheostomy - conventional since 2105? | SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'tracheostomy - co... | [
10919,
547,
262,
1353,
1440,
749,
10792,
2248,
5254,
326,
1061,
287,
262,
976,
4436,
3187,
329,
3871,
508,
2722,
491,
4891,
455,
9145,
532,
10224,
1201,
362,
13348,
30,
46506,
256,
18,
13,
23912,
3672,
16034,
357,
46506,
256,
17,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1353,
1440,
749,
10792,
2248,
5254,
326,
1061,
287,
262,
976,
4436,
3187,
329,
3871,
508,
2722,
491,
4891,
455,
9145,
532,
10224,
1201,
362,
13348,
30,
46506,
256,
18,
13,
23912,
3672,
16034,
357,
46506,
256,
17,
13,
... |
count the number of patients who have already received the esophagoscopy nec two or more times in 2102. | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'esophagoscopy nec') A... | [
9127,
262,
1271,
286,
3871,
508,
423,
1541,
2722,
262,
1658,
2522,
363,
17500,
11081,
27576,
734,
393,
517,
1661,
287,
362,
15377,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
423,
1541,
2722,
262,
1658,
2522,
363,
17500,
11081,
27576,
734,
393,
517,
1661,
287,
362,
15377,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.