instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? | SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0 | [
2061,
318,
262,
9016,
1271,
286,
7864,
810,
262,
9089,
389,
517,
621,
1105,
290,
262,
14293,
389,
1342,
621,
657,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
9089,
1875,
1105,
5357,
14293,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
1271,
286,
7864,
810,
262,
9089,
389,
517,
621,
1105,
290,
262,
14293,
389,
1342,
621,
657,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
9089,
1875,
1105,
5357,
14293,
1279,
657
] |
what is the number of patients whose lab test name is lymphocytes, percent? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "Lymphocytes, Percent" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2248,
1332,
1438,
318,
28837,
30309,
11,
1411,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
3025,
2248,
1332,
1438,
318,
28837,
30309,
11,
1411,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... |
What was the innings when caught was 20? | SELECT "Innings" FROM table_26511 WHERE "Caught" = '20' | [
2061,
373,
262,
16267,
618,
4978,
373,
1160,
30,
46506,
366,
818,
23400,
1,
16034,
3084,
62,
22980,
1157,
33411,
366,
34,
3413,
1,
796,
705,
1238,
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,
373,
262,
16267,
618,
4978,
373,
1160,
30,
46506,
366,
818,
23400,
1,
16034,
3084,
62,
22980,
1157,
33411,
366,
34,
3413,
1,
796,
705,
1238,
6
] |
Show the number of courses for each instructor in a stacked bar chart. The x-axis is instructor's first name and group by course description. | SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY CRS_DESCRIPTION, EMP_FNAME | [
15307,
262,
1271,
286,
10902,
329,
1123,
21187,
287,
257,
24167,
2318,
8262,
13,
383,
2124,
12,
22704,
318,
21187,
338,
717,
1438,
290,
1448,
416,
1781,
6764,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
329,
1123,
21187,
287,
257,
24167,
2318,
8262,
13,
383,
2124,
12,
22704,
318,
21187,
338,
717,
1438,
290,
1448,
416,
1781,
6764,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
... |
What is the lowest round number in which Will Wilcox was selected? | SELECT MIN("Round") FROM table_66019 WHERE "Player" = 'will wilcox' | [
2061,
318,
262,
9016,
2835,
1271,
287,
543,
2561,
5187,
40359,
373,
6163,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2791,
30484,
33411,
366,
14140,
1,
796,
705,
10594,
39716,
40359,
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
] | [
2061,
318,
262,
9016,
2835,
1271,
287,
543,
2561,
5187,
40359,
373,
6163,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2791,
30484,
33411,
366,
14140,
1,
796,
705,
10594,
39716,
40359,
6
] |
how many license plates were issued before 1960 ? | SELECT COUNT(*) FROM table_203_379 WHERE "first issued" < 1960 | [
4919,
867,
5964,
13375,
547,
4884,
878,
9507,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
29088,
33411,
366,
11085,
4884,
1,
1279,
9507
] | [
1,
1,
1,
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,
5964,
13375,
547,
4884,
878,
9507,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
29088,
33411,
366,
11085,
4884,
1,
1279,
9507
] |
In what country is the El Hamada area of operation? | SELECT country FROM table_13150274_1 WHERE area_of_operation = "El Hamada" | [
818,
644,
1499,
318,
262,
2574,
4345,
4763,
1989,
286,
4905,
30,
46506,
1499,
16034,
3084,
62,
1485,
8628,
28857,
62,
16,
33411,
1989,
62,
1659,
62,
27184,
796,
366,
9527,
4345,
4763,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
318,
262,
2574,
4345,
4763,
1989,
286,
4905,
30,
46506,
1499,
16034,
3084,
62,
1485,
8628,
28857,
62,
16,
33411,
1989,
62,
1659,
62,
27184,
796,
366,
9527,
4345,
4763,
1
] |
What is the lowest number of laps for kyle petty with under 118 points? | SELECT MIN(laps) FROM table_name_99 WHERE points < 118 AND driver = "kyle petty" | [
2061,
318,
262,
9016,
1271,
286,
24590,
329,
479,
2349,
25229,
351,
739,
19035,
2173,
30,
46506,
20625,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
2173,
1279,
19035,
5357,
4639,
796,
366,
74,
2349,
25229,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
1271,
286,
24590,
329,
479,
2349,
25229,
351,
739,
19035,
2173,
30,
46506,
20625,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
2173,
1279,
19035,
5357,
4639,
796,
366,
74,
2349,
25229,
1
] |
How many descriptions are there when the attribute is 'ondragstart'? | SELECT COUNT(description) FROM table_1507852_1 WHERE attribute = "ondragstart" | [
2437,
867,
16969,
389,
612,
618,
262,
11688,
318,
705,
623,
22562,
9688,
30960,
46506,
327,
28270,
7,
11213,
8,
16034,
3084,
62,
8628,
3695,
4309,
62,
16,
33411,
11688,
796,
366,
623,
22562,
9688,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16969,
389,
612,
618,
262,
11688,
318,
705,
623,
22562,
9688,
30960,
46506,
327,
28270,
7,
11213,
8,
16034,
3084,
62,
8628,
3695,
4309,
62,
16,
33411,
11688,
796,
366,
623,
22562,
9688,
1
] |
Which Date has a Surface of clay, and a Score of 6 3, 5 7, 2 6? | SELECT "Date" FROM table_37560 WHERE "Surface" = 'clay' AND "Score" = '6–3, 5–7, 2–6' | [
13828,
7536,
468,
257,
20321,
286,
21558,
11,
290,
257,
15178,
286,
718,
513,
11,
642,
767,
11,
362,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
22318,
1899,
33411,
366,
14214,
2550,
1,
796,
705,
565,
323,
6,
5357,
366,
26595,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
468,
257,
20321,
286,
21558,
11,
290,
257,
15178,
286,
718,
513,
11,
642,
767,
11,
362,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
22318,
1899,
33411,
366,
14214,
2550,
1,
796,
705,
565,
323,
6,
5357,
366,
26595,
... |
What is the lowest long with a Gp-GS of 11-8, and a gain less than 228? | SELECT MIN("Long") FROM table_42881 WHERE "GP-GS" = '11-8' AND "Gain" < '228' | [
2061,
318,
262,
9016,
890,
351,
257,
402,
79,
12,
14313,
286,
1367,
12,
23,
11,
290,
257,
4461,
1342,
621,
29041,
30,
46506,
20625,
7203,
14617,
4943,
16034,
3084,
62,
40173,
6659,
33411,
366,
16960,
12,
14313,
1,
796,
705,
1157,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
890,
351,
257,
402,
79,
12,
14313,
286,
1367,
12,
23,
11,
290,
257,
4461,
1342,
621,
29041,
30,
46506,
20625,
7203,
14617,
4943,
16034,
3084,
62,
40173,
6659,
33411,
366,
16960,
12,
14313,
1,
796,
705,
1157,
12... |
what is the score when the country is united states and the player is george fazio? | SELECT score FROM table_name_4 WHERE country = "united states" AND player = "george fazio" | [
10919,
318,
262,
4776,
618,
262,
1499,
318,
16503,
2585,
290,
262,
2137,
318,
4903,
3643,
277,
1031,
952,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
19,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
2137,
796,
366,
469,
3643,
277,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
618,
262,
1499,
318,
16503,
2585,
290,
262,
2137,
318,
4903,
3643,
277,
1031,
952,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
19,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
2137,
796,
366,
469,
3643,
277,
1... |
What was the time/retired of the car that started in grid 4? | SELECT "Time/Retired" FROM table_9003 WHERE "Grid" = '4' | [
2061,
373,
262,
640,
14,
1186,
1202,
286,
262,
1097,
326,
2067,
287,
10706,
604,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
24,
11245,
33411,
366,
41339,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
640,
14,
1186,
1202,
286,
262,
1097,
326,
2067,
287,
10706,
604,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
24,
11245,
33411,
366,
41339,
1,
796,
705,
19,
6
] |
What is the lowest gain with an 18 long, and a loss less than 191? | SELECT MIN(gain) FROM table_name_40 WHERE long = 18 AND loss < 191 | [
2061,
318,
262,
9016,
4461,
351,
281,
1248,
890,
11,
290,
257,
2994,
1342,
621,
31009,
30,
46506,
20625,
7,
48544,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
890,
796,
1248,
5357,
2994,
1279,
31009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
4461,
351,
281,
1248,
890,
11,
290,
257,
2994,
1342,
621,
31009,
30,
46506,
20625,
7,
48544,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
890,
796,
1248,
5357,
2994,
1279,
31009
] |
Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions? | SELECT "Occupational pensions" FROM table_35400 WHERE "Other income sources" = '2%' AND "State pensions" = '7%' AND "Working tax credit" = '2%' AND "Employment ( salaries & wages)" = '66%' | [
6395,
3739,
4237,
286,
362,
7441,
290,
257,
1812,
27581,
286,
767,
7441,
290,
257,
14594,
1687,
3884,
286,
362,
7441,
290,
257,
24656,
357,
17058,
1222,
9400,
8,
286,
7930,
4,
468,
644,
34266,
27581,
30,
46506,
366,
47658,
864,
27581,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6395,
3739,
4237,
286,
362,
7441,
290,
257,
1812,
27581,
286,
767,
7441,
290,
257,
14594,
1687,
3884,
286,
362,
7441,
290,
257,
24656,
357,
17058,
1222,
9400,
8,
286,
7930,
4,
468,
644,
34266,
27581,
30,
46506,
366,
47658,
864,
27581,... |
What is the aspect ratio of the DVD released on 12/10/2009? | SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009" | [
2061,
318,
262,
4843,
8064,
286,
262,
12490,
2716,
319,
1105,
14,
940,
14,
10531,
30,
46506,
4843,
62,
10366,
952,
16034,
3084,
62,
1157,
1795,
23815,
62,
16,
33411,
2716,
796,
366,
1065,
14,
940,
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,
1,
1,
1
] | [
2061,
318,
262,
4843,
8064,
286,
262,
12490,
2716,
319,
1105,
14,
940,
14,
10531,
30,
46506,
4843,
62,
10366,
952,
16034,
3084,
62,
1157,
1795,
23815,
62,
16,
33411,
2716,
796,
366,
1065,
14,
940,
14,
10531,
1
] |
what's the average grid that has a time/retired piston and laps smaller than 15? | SELECT AVG("Grid") FROM table_56595 WHERE "Time/Retired" = 'piston' AND "Laps" < '15' | [
10919,
338,
262,
2811,
10706,
326,
468,
257,
640,
14,
1186,
1202,
41743,
290,
24590,
4833,
621,
1315,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
47372,
3865,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
79,
36363,
6,
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
] | [
10919,
338,
262,
2811,
10706,
326,
468,
257,
640,
14,
1186,
1202,
41743,
290,
24590,
4833,
621,
1315,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
47372,
3865,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
79,
36363,
6,
5357... |
Show me a bar chart for what are the apartment number and the room count of each apartment? | SELECT apt_number, room_count FROM Apartments | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
7962,
1271,
290,
262,
2119,
954,
286,
1123,
7962,
30,
46506,
15409,
62,
17618,
11,
2119,
62,
9127,
16034,
22596,
902
] | [
1,
1,
1,
1,
1,
1,
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,
502,
257,
2318,
8262,
329,
644,
389,
262,
7962,
1271,
290,
262,
2119,
954,
286,
1123,
7962,
30,
46506,
15409,
62,
17618,
11,
2119,
62,
9127,
16034,
22596,
902
] |
Return the number of booking end dates for the apartments that have type code 'Duplex' for each year in a bar chart, and sort in descending by the the number of booking start date please. | SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" ORDER BY COUNT(booking_start_date) DESC | [
13615,
262,
1271,
286,
25452,
886,
9667,
329,
262,
19592,
326,
423,
2099,
2438,
705,
35,
929,
2588,
6,
329,
1123,
614,
287,
257,
2318,
8262,
11,
290,
3297,
287,
31491,
416,
262,
262,
1271,
286,
25452,
923,
3128,
3387,
13,
46506,
254... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
25452,
886,
9667,
329,
262,
19592,
326,
423,
2099,
2438,
705,
35,
929,
2588,
6,
329,
1123,
614,
287,
257,
2318,
8262,
11,
290,
3297,
287,
31491,
416,
262,
262,
1271,
286,
25452,
923,
3128,
3387,
13,
46506,
254... |
what is the number of patients whose year of birth is less than 2049 and procedure long title is insertion of drug-eluting coronary artery stent(s)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2049" AND procedures.long_title = "Insertion of drug-eluting coronary artery stent(s)" | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
2920,
290,
8771,
890,
3670,
318,
36075,
286,
2563,
12,
417,
15129,
37151,
37646,
336,
298,
7,
82,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
2920,
290,
8771,
890,
3670,
318,
36075,
286,
2563,
12,
417,
15129,
37151,
37646,
336,
298,
7,
82,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
... |
Draw a pie chart about the proportion of all home and the sum of School_ID. | SELECT All_Home, SUM(School_ID) FROM basketball_match GROUP BY All_Home | [
25302,
257,
2508,
8262,
546,
262,
9823,
286,
477,
1363,
290,
262,
2160,
286,
3961,
62,
2389,
13,
46506,
1439,
62,
16060,
11,
35683,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
16060
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2508,
8262,
546,
262,
9823,
286,
477,
1363,
290,
262,
2160,
286,
3961,
62,
2389,
13,
46506,
1439,
62,
16060,
11,
35683,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
16060
] |
what is the age and death status of patient name joseph dillman? | SELECT demographic.age, demographic.expire_flag FROM demographic WHERE demographic.name = "Joseph Dillman" | [
10919,
318,
262,
2479,
290,
1918,
3722,
286,
5827,
1438,
474,
577,
746,
288,
359,
805,
30,
46506,
16728,
13,
496,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
29458,
44322,
805,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
290,
1918,
3722,
286,
5827,
1438,
474,
577,
746,
288,
359,
805,
30,
46506,
16728,
13,
496,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
29458,
44322,
805,
1
] |
is patient 035-13344's sao2 measured at 2103-01-14 00:35:00 less than it was measured at 2103-01-14 00:30:00? | SELECT (SELECT vitalperiodic.sao2 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-13344')) AND NOT vitalperiodic.sao2 IS NULL AND vi... | [
271,
5827,
657,
2327,
12,
16945,
2598,
338,
473,
78,
17,
8630,
379,
362,
15197,
12,
486,
12,
1415,
3571,
25,
2327,
25,
405,
1342,
621,
340,
373,
8630,
379,
362,
15197,
12,
486,
12,
1415,
3571,
25,
1270,
25,
405,
30,
46506,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
5827,
657,
2327,
12,
16945,
2598,
338,
473,
78,
17,
8630,
379,
362,
15197,
12,
486,
12,
1415,
3571,
25,
2327,
25,
405,
1342,
621,
340,
373,
8630,
379,
362,
15197,
12,
486,
12,
1415,
3571,
25,
1270,
25,
405,
30,
46506,
357,
... |
In what year of school is the player from Fayetteville, NC? | SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc" | [
818,
644,
614,
286,
1524,
318,
262,
2137,
422,
376,
27067,
4244,
11,
8823,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4309,
33411,
1363,
62,
12735,
796,
366,
69,
27067,
4244,
11,
299,
66,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
1524,
318,
262,
2137,
422,
376,
27067,
4244,
11,
8823,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4309,
33411,
1363,
62,
12735,
796,
366,
69,
27067,
4244,
11,
299,
66,
1
] |
Bar graph to show the average of high temperature from different day of week, and could you order by the bars in desc? | SELECT day_of_week, AVG(high_temperature) FROM weekly_weather GROUP BY day_of_week ORDER BY day_of_week DESC | [
10374,
4823,
284,
905,
262,
2811,
286,
1029,
5951,
422,
1180,
1110,
286,
1285,
11,
290,
714,
345,
1502,
416,
262,
9210,
287,
1715,
30,
46506,
1110,
62,
1659,
62,
10464,
11,
35224,
7,
8929,
62,
11498,
21069,
8,
16034,
10273,
62,
2356... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
4823,
284,
905,
262,
2811,
286,
1029,
5951,
422,
1180,
1110,
286,
1285,
11,
290,
714,
345,
1502,
416,
262,
9210,
287,
1715,
30,
46506,
1110,
62,
1659,
62,
10464,
11,
35224,
7,
8929,
62,
11498,
21069,
8,
16034,
10273,
62,
2356... |
Name the name of bowl for 2006 season | SELECT COUNT("Name of Bowl") FROM table_3239 WHERE "Last Appearance" = '2006 Season' | [
5376,
262,
1438,
286,
9396,
329,
4793,
1622,
46506,
327,
28270,
7203,
5376,
286,
8693,
4943,
16034,
3084,
62,
18,
23516,
33411,
366,
5956,
43436,
1,
796,
705,
13330,
7369,
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,
1438,
286,
9396,
329,
4793,
1622,
46506,
327,
28270,
7203,
5376,
286,
8693,
4943,
16034,
3084,
62,
18,
23516,
33411,
366,
5956,
43436,
1,
796,
705,
13330,
7369,
6
] |
what is patient 021-80293's height for the first time during this month? | SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-80293') AND NOT patient.admissionheight IS NULL AND DATETIME(patient.unitadmittime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', ... | [
10919,
318,
5827,
657,
2481,
12,
1795,
31675,
338,
6001,
329,
262,
717,
640,
1141,
428,
1227,
30,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
657,
2481,
12,
1795,
31675,
338,
6001,
329,
262,
717,
640,
1141,
428,
1227,
30,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948... |
What year did Naushad Direct the Music? | SELECT MAX(year) FROM table_2528382_5 WHERE music_director = "Naushad" | [
2061,
614,
750,
11013,
1530,
324,
4128,
262,
7849,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
1495,
2078,
36243,
62,
20,
33411,
2647,
62,
35248,
796,
366,
26705,
1530,
324,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
750,
11013,
1530,
324,
4128,
262,
7849,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
1495,
2078,
36243,
62,
20,
33411,
2647,
62,
35248,
796,
366,
26705,
1530,
324,
1
] |
In which year was Ang lica Rivera a nominee? | SELECT AVG(year) FROM table_name_66 WHERE nominee = "angélica rivera" | [
818,
543,
614,
373,
2895,
3476,
64,
31325,
257,
10429,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
10429,
796,
366,
648,
2634,
677,
64,
7850,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
614,
373,
2895,
3476,
64,
31325,
257,
10429,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
10429,
796,
366,
648,
2634,
677,
64,
7850,
64,
1
] |
Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr? | SELECT "Wheels" FROM table_46496 WHERE "Built" < '1958' AND "Location" = 'york' AND "Railway" = 'nsr' | [
13828,
37416,
468,
28477,
4833,
621,
24648,
11,
257,
13397,
286,
331,
967,
11,
290,
257,
32130,
286,
299,
27891,
30,
46506,
366,
10842,
1424,
1,
16034,
3084,
62,
44578,
4846,
33411,
366,
39582,
1,
1279,
705,
1129,
3365,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
37416,
468,
28477,
4833,
621,
24648,
11,
257,
13397,
286,
331,
967,
11,
290,
257,
32130,
286,
299,
27891,
30,
46506,
366,
10842,
1424,
1,
16034,
3084,
62,
44578,
4846,
33411,
366,
39582,
1,
1279,
705,
1129,
3365,
6,
5357,
366,
... |
Which Senior status has a Chief Judge of , a Reason for termination of death, and Active service of 1967 1983? | SELECT senior_status FROM table_name_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983" | [
13828,
14017,
3722,
468,
257,
5953,
8974,
286,
837,
257,
23219,
329,
19883,
286,
1918,
11,
290,
14199,
2139,
286,
15904,
13540,
30,
46506,
4664,
62,
13376,
16034,
3084,
62,
3672,
62,
1507,
33411,
4039,
62,
10456,
469,
796,
366,
19056,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14017,
3722,
468,
257,
5953,
8974,
286,
837,
257,
23219,
329,
19883,
286,
1918,
11,
290,
14199,
2139,
286,
15904,
13540,
30,
46506,
4664,
62,
13376,
16034,
3084,
62,
3672,
62,
1507,
33411,
4039,
62,
10456,
469,
796,
366,
19056,
... |
What is the title of the episode directed by Romeo Tirone? | SELECT "Title" FROM table_3680 WHERE "Directed by" = 'Romeo Tirone' | [
2061,
318,
262,
3670,
286,
262,
4471,
7924,
416,
43989,
39847,
505,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
2623,
1795,
33411,
366,
13470,
276,
416,
1,
796,
705,
49,
462,
78,
39847,
505,
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
] | [
2061,
318,
262,
3670,
286,
262,
4471,
7924,
416,
43989,
39847,
505,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
2623,
1795,
33411,
366,
13470,
276,
416,
1,
796,
705,
49,
462,
78,
39847,
505,
6
] |
find the name of subject id 3343. | SELECT demographic.name FROM demographic WHERE demographic.subject_id = "3343" | [
19796,
262,
1438,
286,
2426,
4686,
513,
32118,
13,
46506,
16728,
13,
3672,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
1438,
286,
2426,
4686,
513,
32118,
13,
46506,
16728,
13,
3672,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] |
Which score was associated with an attendance of 275? | SELECT "Score" FROM table_8670 WHERE "Attendance" = '275' | [
13828,
4776,
373,
3917,
351,
281,
14858,
286,
25829,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4521,
2154,
33411,
366,
8086,
437,
590,
1,
796,
705,
23195,
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
] | [
13828,
4776,
373,
3917,
351,
281,
14858,
286,
25829,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4521,
2154,
33411,
366,
8086,
437,
590,
1,
796,
705,
23195,
6
] |
What was the away team at the venue victoria park? | SELECT "Away team score" FROM table_51518 WHERE "Venue" = 'victoria park' | [
2061,
373,
262,
1497,
1074,
379,
262,
14359,
2210,
7661,
3952,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
45969,
1507,
33411,
366,
37522,
518,
1,
796,
705,
32433,
7661,
3952,
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
] | [
2061,
373,
262,
1497,
1074,
379,
262,
14359,
2210,
7661,
3952,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
45969,
1507,
33411,
366,
37522,
518,
1,
796,
705,
32433,
7661,
3952,
6
] |
Who is the current champion for the event in Beverly, MA, with previous champions of Mike Webb and Nick Fahrenheit? | SELECT current_champion_s_ FROM table_name_19 WHERE location = "beverly, ma" AND previous_champion_s_ = "mike webb and nick fahrenheit" | [
8241,
318,
262,
1459,
8783,
329,
262,
1785,
287,
30633,
11,
8779,
11,
351,
2180,
7827,
286,
4995,
25130,
290,
8047,
35935,
30,
46506,
1459,
62,
354,
6734,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1129,
33411,
4067,
796,
366,
65,
964,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1459,
8783,
329,
262,
1785,
287,
30633,
11,
8779,
11,
351,
2180,
7827,
286,
4995,
25130,
290,
8047,
35935,
30,
46506,
1459,
62,
354,
6734,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1129,
33411,
4067,
796,
366,
65,
964,
... |
What were the Tyres after 1984? | SELECT "Tyres" FROM table_31607 WHERE "Year" > '1984' | [
2061,
547,
262,
7039,
411,
706,
12844,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
33400,
2998,
33411,
366,
17688,
1,
1875,
705,
28296,
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,
547,
262,
7039,
411,
706,
12844,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
33400,
2998,
33411,
366,
17688,
1,
1875,
705,
28296,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, a line chart shows the trend of manager_id over hire_date , could you display X-axis from high to low order? | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
257,
1627,
8262,
2523,
262,
5182,
286,
4706,
62,
312,
625,
11078,
62,
4475,
837... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
257,
1627,
8262,
2523,
262,
5182,
286,
4706,
62,
312,
625,
11078,
62,
4475,
837... |
i would like information on flights from DALLAS FORT WORTH to ATLANTA on wednesday morning | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, date_day, days, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS FORT WORTH'... | [
72,
561,
588,
1321,
319,
13956,
422,
360,
7036,
1921,
7473,
51,
21881,
4221,
284,
5161,
25697,
5603,
319,
29445,
3462,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
1321,
319,
13956,
422,
360,
7036,
1921,
7473,
51,
21881,
4221,
284,
5161,
25697,
5603,
319,
29445,
3462,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... |
What is the first name of the staff who did not give any lesson? | SELECT first_name FROM staff EXCEPT SELECT T2.first_name FROM lessons AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id | [
2061,
318,
262,
717,
1438,
286,
262,
3085,
508,
750,
407,
1577,
597,
11483,
30,
46506,
717,
62,
3672,
16034,
3085,
7788,
42006,
33493,
309,
17,
13,
11085,
62,
3672,
16034,
11658,
7054,
309,
16,
32357,
1268,
3085,
7054,
309,
17,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
3085,
508,
750,
407,
1577,
597,
11483,
30,
46506,
717,
62,
3672,
16034,
3085,
7788,
42006,
33493,
309,
17,
13,
11085,
62,
3672,
16034,
11658,
7054,
309,
16,
32357,
1268,
3085,
7054,
309,
17,
6177,
... |
What is the ranking of the UEFA Euro 2012 qualifying Group A competition? | SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A" | [
2061,
318,
262,
12759,
286,
262,
40858,
1898,
2321,
18677,
4912,
317,
5449,
30,
46506,
4279,
16034,
3084,
62,
23753,
38431,
1314,
62,
17,
33411,
5449,
796,
366,
8924,
7708,
1898,
2321,
18677,
4912,
317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12759,
286,
262,
40858,
1898,
2321,
18677,
4912,
317,
5449,
30,
46506,
4279,
16034,
3084,
62,
23753,
38431,
1314,
62,
17,
33411,
5449,
796,
366,
8924,
7708,
1898,
2321,
18677,
4912,
317,
1
] |
What team played Geelong at their away game? | SELECT home_team FROM table_name_59 WHERE away_team = "geelong" | [
2061,
1074,
2826,
2269,
21537,
379,
511,
1497,
983,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3270,
33411,
1497,
62,
15097,
796,
366,
469,
21537,
1
] | [
1,
1,
1,
1,
1,
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,
1074,
2826,
2269,
21537,
379,
511,
1497,
983,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3270,
33411,
1497,
62,
15097,
796,
366,
469,
21537,
1
] |
Which Label has a Catalog of 7243 8 49494 2 6? | SELECT label FROM table_name_98 WHERE catalog = "7243 8 49494 2 6" | [
13828,
36052,
468,
257,
44515,
286,
767,
26660,
807,
5125,
39449,
362,
718,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
4089,
33411,
18388,
796,
366,
22,
26660,
807,
5125,
39449,
362,
718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36052,
468,
257,
44515,
286,
767,
26660,
807,
5125,
39449,
362,
718,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
4089,
33411,
18388,
796,
366,
22,
26660,
807,
5125,
39449,
362,
718,
1
] |
when was the last time the respiratory rate of patient 4401 was measured on this month/29 at greater than 23.0? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4401)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'respirato... | [
12518,
373,
262,
938,
640,
262,
22949,
2494,
286,
5827,
5846,
486,
373,
8630,
319,
428,
1227,
14,
1959,
379,
3744,
621,
2242,
13,
15,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
640,
262,
22949,
2494,
286,
5827,
5846,
486,
373,
8630,
319,
428,
1227,
14,
1959,
379,
3744,
621,
2242,
13,
15,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
... |
Who was the actor in Moscow who did the part done by John Carlisle in London in 2002? | SELECT "Actor in Moscow, 2007" FROM table_77482 WHERE "Actor in London, 2002" = 'john carlisle' | [
8241,
373,
262,
8674,
287,
9070,
508,
750,
262,
636,
1760,
416,
1757,
8124,
20919,
287,
3576,
287,
6244,
30,
46506,
366,
40277,
287,
9070,
11,
4343,
1,
16034,
3084,
62,
3324,
40149,
33411,
366,
40277,
287,
3576,
11,
6244,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8674,
287,
9070,
508,
750,
262,
636,
1760,
416,
1757,
8124,
20919,
287,
3576,
287,
6244,
30,
46506,
366,
40277,
287,
9070,
11,
4343,
1,
16034,
3084,
62,
3324,
40149,
33411,
366,
40277,
287,
3576,
11,
6244,
1,
796,
70... |
What is the number of Mike Thomas? | SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas" | [
2061,
318,
262,
1271,
286,
4995,
5658,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
21315,
31980,
2670,
62,
16,
33411,
2137,
796,
366,
16073,
5658,
1
] | [
1,
1,
1,
1,
1,
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,
1271,
286,
4995,
5658,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
21315,
31980,
2670,
62,
16,
33411,
2137,
796,
366,
16073,
5658,
1
] |
What was the first leg of the semi-final? | SELECT first_leg FROM table_name_78 WHERE round = "semi-final" | [
2061,
373,
262,
717,
1232,
286,
262,
10663,
12,
20311,
30,
46506,
717,
62,
1455,
16034,
3084,
62,
3672,
62,
3695,
33411,
2835,
796,
366,
325,
11632,
12,
20311,
1
] | [
1,
1,
1,
1,
1,
1,
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,
717,
1232,
286,
262,
10663,
12,
20311,
30,
46506,
717,
62,
1455,
16034,
3084,
62,
3672,
62,
3695,
33411,
2835,
796,
366,
325,
11632,
12,
20311,
1
] |
Name the security forces with civilians of 67 | SELECT "Security Forces" FROM table_57136 WHERE "Civilians" = '67' | [
5376,
262,
2324,
3386,
351,
10380,
286,
8275,
46506,
366,
24074,
12700,
1,
16034,
3084,
62,
3553,
20809,
33411,
366,
32610,
1547,
1,
796,
705,
3134,
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
] | [
5376,
262,
2324,
3386,
351,
10380,
286,
8275,
46506,
366,
24074,
12700,
1,
16034,
3084,
62,
3553,
20809,
33411,
366,
32610,
1547,
1,
796,
705,
3134,
6
] |
When segment b is dining room tables what is segment d? | SELECT segment_d FROM table_15187735_5 WHERE segment_b = "Dining Room Tables" | [
2215,
10618,
275,
318,
17423,
2119,
8893,
644,
318,
10618,
288,
30,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
20,
33411,
10618,
62,
65,
796,
366,
35,
3191,
10096,
33220,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10618,
275,
318,
17423,
2119,
8893,
644,
318,
10618,
288,
30,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
20,
33411,
10618,
62,
65,
796,
366,
35,
3191,
10096,
33220,
1
] |
please find a flight round trip from LOS ANGELES to TACOMA WASHINGTON with a stopover in SAN FRANCISCO not exceeding the price of 300 dollars for 6 10 1993 | SELECT DISTINCT flight_id FROM flight WHERE ((((flight_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 10 AND DATE_DAYalias0.month_number = 6 AND DATE_DAYalias0.year = 1993)) AND f... | [
29688,
1064,
257,
5474,
2835,
5296,
422,
406,
2640,
44892,
1546,
284,
309,
2246,
2662,
32,
370,
19436,
351,
257,
2245,
2502,
287,
37376,
8782,
20940,
1797,
8220,
407,
23353,
262,
2756,
286,
5867,
5054,
329,
718,
838,
9656,
46506,
360,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1064,
257,
5474,
2835,
5296,
422,
406,
2640,
44892,
1546,
284,
309,
2246,
2662,
32,
370,
19436,
351,
257,
2245,
2502,
287,
37376,
8782,
20940,
1797,
8220,
407,
23353,
262,
2756,
286,
5867,
5054,
329,
718,
838,
9656,
46506,
360,
... |
What were the round results when Hanne Skak Jensen faced Austria? | SELECT result FROM table_25505246_7 WHERE against = "Austria" | [
2061,
547,
262,
2835,
2482,
618,
9530,
710,
3661,
461,
32623,
7452,
17322,
30,
46506,
1255,
16034,
3084,
62,
1495,
31654,
26912,
62,
22,
33411,
1028,
796,
366,
15160,
7496,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
2835,
2482,
618,
9530,
710,
3661,
461,
32623,
7452,
17322,
30,
46506,
1255,
16034,
3084,
62,
1495,
31654,
26912,
62,
22,
33411,
1028,
796,
366,
15160,
7496,
1
] |
What is the total number of rounds that UCLA has? | SELECT COUNT(round) FROM table_name_41 WHERE school = "ucla" | [
2061,
318,
262,
2472,
1271,
286,
9196,
326,
21750,
468,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
1524,
796,
366,
36616,
64,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1271,
286,
9196,
326,
21750,
468,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
1524,
796,
366,
36616,
64,
1
] |
tell me how many married patients have been diagnosed with dysthymic disorder. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "MARRIED" AND diagnoses.short_title = "Dysthymic disorder" | [
33331,
502,
703,
867,
6405,
3871,
423,
587,
14641,
351,
20268,
48476,
4948,
291,
8967,
13,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
703,
867,
6405,
3871,
423,
587,
14641,
351,
20268,
48476,
4948,
291,
8967,
13,
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,
... |
Who was the winner of the mechelen > mechelen route? | SELECT "Winner" FROM table_60903 WHERE "Route" = 'mechelen > mechelen' | [
8241,
373,
262,
8464,
286,
262,
502,
2395,
11925,
1875,
502,
2395,
11925,
6339,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
31751,
3070,
33411,
366,
43401,
1,
796,
705,
76,
721,
2978,
268,
1875,
502,
2395,
11925,
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
] | [
8241,
373,
262,
8464,
286,
262,
502,
2395,
11925,
1875,
502,
2395,
11925,
6339,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
31751,
3070,
33411,
366,
43401,
1,
796,
705,
76,
721,
2978,
268,
1875,
502,
2395,
11925,
6
] |
How many viewers were there on 1august1964? | SELECT "Viewers (in millions)" FROM table_72855 WHERE "Broadcast date" = '1August1964' | [
2437,
867,
10209,
547,
612,
319,
352,
7493,
436,
46477,
30,
46506,
366,
7680,
364,
357,
259,
5242,
16725,
16034,
3084,
62,
48524,
2816,
33411,
366,
30507,
2701,
3128,
1,
796,
705,
16,
17908,
46477,
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
] | [
2437,
867,
10209,
547,
612,
319,
352,
7493,
436,
46477,
30,
46506,
366,
7680,
364,
357,
259,
5242,
16725,
16034,
3084,
62,
48524,
2816,
33411,
366,
30507,
2701,
3128,
1,
796,
705,
16,
17908,
46477,
6
] |
ejection fraction: 20 _ 45 % | SELECT * FROM table_test_9 WHERE ejection_fraction_ef >= 20 AND ejection_fraction_ef <= 45 | [
68,
29192,
13390,
25,
1160,
4808,
4153,
4064,
46506,
1635,
16034,
3084,
62,
9288,
62,
24,
33411,
22189,
295,
62,
69,
7861,
62,
891,
18189,
1160,
5357,
22189,
295,
62,
69,
7861,
62,
891,
19841,
4153
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
68,
29192,
13390,
25,
1160,
4808,
4153,
4064,
46506,
1635,
16034,
3084,
62,
9288,
62,
24,
33411,
22189,
295,
62,
69,
7861,
62,
891,
18189,
1160,
5357,
22189,
295,
62,
69,
7861,
62,
891,
19841,
4153
] |
body mass index < 42 kg / sq m | SELECT * FROM table_train_211 WHERE body_mass_index_bmi < 42 | [
2618,
2347,
6376,
1279,
5433,
14211,
1220,
19862,
285,
46506,
1635,
16034,
3084,
62,
27432,
62,
21895,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1279,
5433
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2618,
2347,
6376,
1279,
5433,
14211,
1220,
19862,
285,
46506,
1635,
16034,
3084,
62,
27432,
62,
21895,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1279,
5433
] |
What is the fewest number of bronze medals won among the nations ranked 12 that won no gold medals and 1 medal overall? | SELECT MIN(bronze) FROM table_name_51 WHERE total = 1 AND rank = "12" AND gold < 1 | [
2061,
318,
262,
1178,
395,
1271,
286,
22101,
28057,
1839,
1871,
262,
7027,
10307,
1105,
326,
1839,
645,
3869,
28057,
290,
352,
18279,
4045,
30,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
2472,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
1271,
286,
22101,
28057,
1839,
1871,
262,
7027,
10307,
1105,
326,
1839,
645,
3869,
28057,
290,
352,
18279,
4045,
30,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
2472,
796,
352... |
What is the average amount of points when the time (s) is 81.78? | SELECT AVG(points) FROM table_name_93 WHERE time___s__ = "81.78" | [
2061,
318,
262,
2811,
2033,
286,
2173,
618,
262,
640,
357,
82,
8,
318,
9773,
13,
3695,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
640,
17569,
82,
834,
796,
366,
6659,
13,
3695,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
2173,
618,
262,
640,
357,
82,
8,
318,
9773,
13,
3695,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
640,
17569,
82,
834,
796,
366,
6659,
13,
3695,
1
] |
When there was a tie of 16 what was the attendance? | SELECT "Attendance" FROM table_40373 WHERE "Tie no" = '16' | [
2215,
612,
373,
257,
9839,
286,
1467,
644,
373,
262,
14858,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
1821,
34770,
33411,
366,
51,
494,
645,
1,
796,
705,
1433,
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
] | [
2215,
612,
373,
257,
9839,
286,
1467,
644,
373,
262,
14858,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
1821,
34770,
33411,
366,
51,
494,
645,
1,
796,
705,
1433,
6
] |
what is the number of patients who have had a 1:1 ns repletion. intake since 1 year ago? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT icustays.hadm_id FROM icustays WHERE icustays.icustay_id IN (SELECT inputevents_cv.icustay_id FROM inputevents_cv WHERE inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = '1:1 ns repletion.' ... | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
550,
257,
352,
25,
16,
36545,
1128,
1616,
295,
13,
10337,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
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,
318,
262,
1271,
286,
3871,
508,
423,
550,
257,
352,
25,
16,
36545,
1128,
1616,
295,
13,
10337,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13... |
calculate the three year survival probability among the patients who were prescribed famotidine after they were diagnosed with alcohol cirrhosis liver. | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 3 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd... | [
9948,
3129,
378,
262,
1115,
614,
9441,
12867,
1871,
262,
3871,
508,
547,
14798,
1145,
313,
39422,
706,
484,
547,
14641,
351,
5548,
10774,
17179,
5958,
14383,
13,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1115,
614,
9441,
12867,
1871,
262,
3871,
508,
547,
14798,
1145,
313,
39422,
706,
484,
547,
14641,
351,
5548,
10774,
17179,
5958,
14383,
13,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
... |
What television network, founded in 2002, has a community type of network? | SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002" | [
2061,
5581,
3127,
11,
9393,
287,
6244,
11,
468,
257,
2055,
2099,
286,
3127,
30,
46506,
5581,
62,
27349,
16034,
3084,
62,
3672,
62,
3134,
33411,
2099,
62,
1659,
62,
27349,
796,
366,
28158,
1,
5357,
9393,
796,
366,
16942,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5581,
3127,
11,
9393,
287,
6244,
11,
468,
257,
2055,
2099,
286,
3127,
30,
46506,
5581,
62,
27349,
16034,
3084,
62,
3672,
62,
3134,
33411,
2099,
62,
1659,
62,
27349,
796,
366,
28158,
1,
5357,
9393,
796,
366,
16942,
1
] |
What are the different cities where students live? | SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id | [
2061,
389,
262,
1180,
4736,
810,
2444,
2107,
30,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
19205,
16034,
9405,
7054,
309,
16,
32357,
1268,
661,
62,
2860,
16746,
7054,
309,
17,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
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... | [
2061,
389,
262,
1180,
4736,
810,
2444,
2107,
30,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
19205,
16034,
9405,
7054,
309,
16,
32357,
1268,
661,
62,
2860,
16746,
7054,
309,
17,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
17,
13,
... |
What is the average final with an all around larger than 19.4 and total more than 39.9? | SELECT AVG("Final") FROM table_59702 WHERE "All Around" > '19.4' AND "Total" > '39.9' | [
2061,
318,
262,
2811,
2457,
351,
281,
477,
1088,
4025,
621,
678,
13,
19,
290,
2472,
517,
621,
5014,
13,
24,
30,
46506,
35224,
7203,
19006,
4943,
16034,
3084,
62,
3270,
36680,
33411,
366,
3237,
16824,
1,
1875,
705,
1129,
13,
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,
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,
2457,
351,
281,
477,
1088,
4025,
621,
678,
13,
19,
290,
2472,
517,
621,
5014,
13,
24,
30,
46506,
35224,
7203,
19006,
4943,
16034,
3084,
62,
3270,
36680,
33411,
366,
3237,
16824,
1,
1875,
705,
1129,
13,
19,
6,
... |
provide the number of patients whose procedure long title is hemodialysis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Hemodialysis" | [
15234,
485,
262,
1271,
286,
3871,
3025,
8771,
890,
3670,
318,
339,
4666,
498,
3097,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
8771,
890,
3670,
318,
339,
4666,
498,
3097,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76... |
What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? | SELECT "Picture Coding Types" FROM table_34256 WHERE "Chroma Format" = '4:2:2 or 4:2:0' AND "Name" = '4:2:2 profile' | [
2061,
17741,
327,
7656,
24897,
423,
18255,
64,
18980,
286,
604,
25,
17,
25,
17,
393,
604,
25,
17,
25,
15,
290,
262,
6530,
286,
604,
25,
17,
25,
17,
7034,
30,
46506,
366,
28070,
327,
7656,
24897,
1,
16034,
3084,
62,
2682,
11645,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17741,
327,
7656,
24897,
423,
18255,
64,
18980,
286,
604,
25,
17,
25,
17,
393,
604,
25,
17,
25,
15,
290,
262,
6530,
286,
604,
25,
17,
25,
17,
7034,
30,
46506,
366,
28070,
327,
7656,
24897,
1,
16034,
3084,
62,
2682,
11645,
... |
find the number of patients aged less than 56 years who have prescription for benztropine mesylate drug. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "56" AND prescriptions.drug = "Benztropine Mesylate" | [
19796,
262,
1271,
286,
3871,
9722,
1342,
621,
7265,
812,
508,
423,
15077,
329,
39601,
48385,
500,
18842,
2645,
378,
2563,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
9722,
1342,
621,
7265,
812,
508,
423,
15077,
329,
39601,
48385,
500,
18842,
2645,
378,
2563,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
What percentage did Walker win in Calumet county? | SELECT "Walker %" FROM table_24086 WHERE "County" = 'Calumet' | [
2061,
5873,
750,
10120,
1592,
287,
2199,
388,
316,
7968,
30,
46506,
366,
39950,
4064,
1,
16034,
3084,
62,
1731,
2919,
21,
33411,
366,
12332,
88,
1,
796,
705,
9771,
388,
316,
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,
5873,
750,
10120,
1592,
287,
2199,
388,
316,
7968,
30,
46506,
366,
39950,
4064,
1,
16034,
3084,
62,
1731,
2919,
21,
33411,
366,
12332,
88,
1,
796,
705,
9771,
388,
316,
6
] |
count the number of times that patient 027-85328 has received since 12/2105 a lab test for prealbumin. | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-85328')) AND lab.labname = 'prealbumin' AND STRFTIME('%y-%m', lab.labresulttime) >= '210... | [
9127,
262,
1271,
286,
1661,
326,
5827,
657,
1983,
12,
23,
4310,
2078,
468,
2722,
1201,
1105,
14,
17,
13348,
257,
2248,
1332,
329,
662,
40916,
259,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
1661,
326,
5827,
657,
1983,
12,
23,
4310,
2078,
468,
2722,
1201,
1105,
14,
17,
13348,
257,
2248,
1332,
329,
662,
40916,
259,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312... |
how much does the weight of patient 12410 vary last measured on the first hospital visit compared to the first value measured on the first hospital visit? | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12410 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartev... | [
4919,
881,
857,
262,
3463,
286,
5827,
19755,
940,
7565,
938,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
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... | [
4919,
881,
857,
262,
3463,
286,
5827,
19755,
940,
7565,
938,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
334... |
In which year did John Force win Funny Car and Mike Dunn win in Top Fuel? | SELECT year FROM table_name_65 WHERE funny_car = "john force" AND top_fuel = "mike dunn" | [
818,
543,
614,
750,
1757,
5221,
1592,
40473,
1879,
290,
4995,
30833,
1592,
287,
5849,
25483,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2996,
33411,
8258,
62,
7718,
796,
366,
30686,
2700,
1,
5357,
1353,
62,
25802,
796,
366,
76,
522,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
614,
750,
1757,
5221,
1592,
40473,
1879,
290,
4995,
30833,
1592,
287,
5849,
25483,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2996,
33411,
8258,
62,
7718,
796,
366,
30686,
2700,
1,
5357,
1353,
62,
25802,
796,
366,
76,
522,
... |
count the number of patients whose religion is jewish and procedure short title is closed liver biopsy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.religion = "JEWISH" AND procedures.short_title = "Closed liver biopsy" | [
9127,
262,
1271,
286,
3871,
3025,
5737,
318,
12711,
680,
290,
8771,
1790,
3670,
318,
4838,
14383,
3182,
44522,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5737,
318,
12711,
680,
290,
8771,
1790,
3670,
318,
4838,
14383,
3182,
44522,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
... |
Which County has an IHSAA Class of aaa, and an Enrollment smaller than 799? | SELECT county FROM table_name_68 WHERE ihsaa_class = "aaa" AND enrollment < 799 | [
13828,
3418,
468,
281,
314,
7998,
3838,
5016,
286,
257,
7252,
11,
290,
281,
2039,
48108,
4833,
621,
767,
2079,
30,
46506,
7968,
16034,
3084,
62,
3672,
62,
3104,
33411,
1312,
11994,
7252,
62,
4871,
796,
366,
46071,
1,
5357,
20753,
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
] | [
13828,
3418,
468,
281,
314,
7998,
3838,
5016,
286,
257,
7252,
11,
290,
281,
2039,
48108,
4833,
621,
767,
2079,
30,
46506,
7968,
16034,
3084,
62,
3672,
62,
3104,
33411,
1312,
11994,
7252,
62,
4871,
796,
366,
46071,
1,
5357,
20753,
1279... |
count the number of times that bupropion hcl has been prescribed during the previous year. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'bupropion hcl' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
9127,
262,
1271,
286,
1661,
326,
809,
22930,
295,
289,
565,
468,
587,
14798,
1141,
262,
2180,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
65,
929,
1773,
295,
289,
565,
6,
5357,
360,
1404,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
326,
809,
22930,
295,
289,
565,
468,
587,
14798,
1141,
262,
2180,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
65,
929,
1773,
295,
289,
565,
6,
5357,
360,
1404,
2... |
What Venue has Basketball as a Sport? | SELECT venue FROM table_name_92 WHERE sport = "basketball" | [
2061,
9932,
518,
468,
25911,
355,
257,
12771,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5892,
33411,
6332,
796,
366,
21265,
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,
9932,
518,
468,
25911,
355,
257,
12771,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5892,
33411,
6332,
796,
366,
21265,
1
] |
What king has an S. number over 1 and a number of villages of 600? | SELECT name_of_king FROM table_name_54 WHERE sno > 1 AND no_of_villages = 600 | [
2061,
5822,
468,
281,
311,
13,
1271,
625,
352,
290,
257,
1271,
286,
15425,
286,
10053,
30,
46506,
1438,
62,
1659,
62,
3364,
16034,
3084,
62,
3672,
62,
4051,
33411,
3013,
78,
1875,
352,
5357,
645,
62,
1659,
62,
41082,
1095,
796,
1005... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5822,
468,
281,
311,
13,
1271,
625,
352,
290,
257,
1271,
286,
15425,
286,
10053,
30,
46506,
1438,
62,
1659,
62,
3364,
16034,
3084,
62,
3672,
62,
4051,
33411,
3013,
78,
1875,
352,
5357,
645,
62,
1659,
62,
41082,
1095,
796,
1005... |
How many releases did the DVD River Cottage forever have? | SELECT COUNT("Released") FROM table_17193 WHERE "DVD Name" = 'River Cottage Forever' | [
2437,
867,
10050,
750,
262,
12490,
5866,
327,
29480,
8097,
423,
30,
46506,
327,
28270,
7203,
45037,
4943,
16034,
3084,
62,
1558,
24943,
33411,
366,
39218,
6530,
1,
796,
705,
42204,
327,
29480,
28285,
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,
10050,
750,
262,
12490,
5866,
327,
29480,
8097,
423,
30,
46506,
327,
28270,
7203,
45037,
4943,
16034,
3084,
62,
1558,
24943,
33411,
366,
39218,
6530,
1,
796,
705,
42204,
327,
29480,
28285,
6
] |
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis? | SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r" | [
2437,
867,
812,
468,
281,
3113,
286,
40504,
513,
13,
21,
75,
29292,
410,
23,
290,
352,
301,
355,
262,
4279,
351,
281,
40504,
374,
23,
81,
355,
262,
24587,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
940,
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... | [
2437,
867,
812,
468,
281,
3113,
286,
40504,
513,
13,
21,
75,
29292,
410,
23,
290,
352,
301,
355,
262,
4279,
351,
281,
40504,
374,
23,
81,
355,
262,
24587,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
... |
What is the Week of the game with a Result of w 48 20? | SELECT "Week" FROM table_60375 WHERE "Result" = 'w 48–20' | [
2061,
318,
262,
6119,
286,
262,
983,
351,
257,
25414,
286,
266,
4764,
1160,
30,
46506,
366,
20916,
1,
16034,
3084,
62,
1899,
22318,
33411,
366,
23004,
1,
796,
705,
86,
4764,
1906,
1238,
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
] | [
2061,
318,
262,
6119,
286,
262,
983,
351,
257,
25414,
286,
266,
4764,
1160,
30,
46506,
366,
20916,
1,
16034,
3084,
62,
1899,
22318,
33411,
366,
23004,
1,
796,
705,
86,
4764,
1906,
1238,
6
] |
How many silver have 4 as the total with a bronze less than 2? | SELECT COUNT(silver) FROM table_name_42 WHERE total = 4 AND bronze < 2 | [
2437,
867,
8465,
423,
604,
355,
262,
2472,
351,
257,
22101,
1342,
621,
362,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
2472,
796,
604,
5357,
22101,
1279,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8465,
423,
604,
355,
262,
2472,
351,
257,
22101,
1342,
621,
362,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
2472,
796,
604,
5357,
22101,
1279,
362
] |
Which date has a Result of 5 0, and an Opponent of tooting & mitcham? | SELECT "Date" FROM table_15760 WHERE "Result" = '5–0' AND "Opponent" = 'tooting & mitcham' | [
13828,
3128,
468,
257,
25414,
286,
642,
657,
11,
290,
281,
9385,
3471,
286,
284,
10720,
1222,
285,
2007,
321,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
18458,
1899,
33411,
366,
23004,
1,
796,
705,
20,
1906,
15,
6,
5357,
366,
27524,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
468,
257,
25414,
286,
642,
657,
11,
290,
281,
9385,
3471,
286,
284,
10720,
1222,
285,
2007,
321,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
18458,
1899,
33411,
366,
23004,
1,
796,
705,
20,
1906,
15,
6,
5357,
366,
27524,... |
When was there an attendance of 51,342? | SELECT "Date" FROM table_31567 WHERE "Attendance" = '51,342' | [
2215,
373,
612,
281,
14858,
286,
6885,
11,
31575,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
27936,
3134,
33411,
366,
8086,
437,
590,
1,
796,
705,
4349,
11,
31575,
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
] | [
2215,
373,
612,
281,
14858,
286,
6885,
11,
31575,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
27936,
3134,
33411,
366,
8086,
437,
590,
1,
796,
705,
4349,
11,
31575,
6
] |
What is the label for the catalog of none, and is in the United Kingdom? | SELECT label FROM table_name_12 WHERE catalog = "none" AND region = "united kingdom" | [
2061,
318,
262,
6167,
329,
262,
18388,
286,
4844,
11,
290,
318,
287,
262,
1578,
7526,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
1065,
33411,
18388,
796,
366,
23108,
1,
5357,
3814,
796,
366,
41187,
13239,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6167,
329,
262,
18388,
286,
4844,
11,
290,
318,
287,
262,
1578,
7526,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
1065,
33411,
18388,
796,
366,
23108,
1,
5357,
3814,
796,
366,
41187,
13239,
1
] |
What is the population of northfield parish that has an area less than 342.4? | SELECT SUM("Population") FROM table_61533 WHERE "Area km 2" < '342.4' AND "Official Name" = 'northfield' | [
2061,
318,
262,
3265,
286,
5093,
3245,
28830,
326,
468,
281,
1989,
1342,
621,
44341,
13,
19,
30,
46506,
35683,
7203,
45251,
4943,
16034,
3084,
62,
47007,
2091,
33411,
366,
30547,
10571,
362,
1,
1279,
705,
31575,
13,
19,
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,
1,
1
] | [
2061,
318,
262,
3265,
286,
5093,
3245,
28830,
326,
468,
281,
1989,
1342,
621,
44341,
13,
19,
30,
46506,
35683,
7203,
45251,
4943,
16034,
3084,
62,
47007,
2091,
33411,
366,
30547,
10571,
362,
1,
1279,
705,
31575,
13,
19,
6,
5357,
366,
... |
Give me the best restaurant in san francisco for french food ? | SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'san francisco' AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id AND restaurant.rating = (SELECT MAX(RESTAURANTalias1.rating) FROM location AS LOCATIONalias1, restaurant AS RESTAURANTalias1 W... | [
23318,
502,
262,
1266,
7072,
287,
5336,
46754,
4861,
329,
48718,
2057,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
4067,
13,
19205,
62,
3672,
796,
705,
12807,
46754,
4861,
6,
5357,
7072,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1266,
7072,
287,
5336,
46754,
4861,
329,
48718,
2057,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
4067,
13,
19205,
62,
3672,
796,
705,
12807,
46754,
4861,
6,
5357,
7072,
1... |
Which Round has a Ranking of 2008 wta tour? | SELECT round FROM table_name_31 WHERE ranking = "2008 wta tour" | [
13828,
10485,
468,
257,
45407,
286,
3648,
266,
8326,
4205,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3132,
33411,
12759,
796,
366,
11528,
266,
8326,
4205,
1
] | [
1,
1,
1,
1,
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,
10485,
468,
257,
45407,
286,
3648,
266,
8326,
4205,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3132,
33411,
12759,
796,
366,
11528,
266,
8326,
4205,
1
] |
what were the three most frequently prescribed drugs to the male patients aged 50s within 2 months, after they had been diagnosed with crnry athrscl natve vssl since 2103? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
547,
262,
1115,
749,
6777,
14798,
5010,
284,
262,
4257,
3871,
9722,
2026,
82,
1626,
362,
1933,
11,
706,
484,
550,
587,
14641,
351,
1067,
77,
563,
5782,
3808,
565,
34664,
303,
410,
45163,
1201,
362,
15197,
30,
46506,
256,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6777,
14798,
5010,
284,
262,
4257,
3871,
9722,
2026,
82,
1626,
362,
1933,
11,
706,
484,
550,
587,
14641,
351,
1067,
77,
563,
5782,
3808,
565,
34664,
303,
410,
45163,
1201,
362,
15197,
30,
46506,
256,
18,
... |
what is the weight of a shot that is xx-inch? | SELECT "Weight of Shot" FROM table_6585 WHERE "Designation (bore)" = 'xx-inch' | [
10919,
318,
262,
3463,
286,
257,
2823,
326,
318,
31383,
12,
8589,
30,
46506,
366,
25844,
286,
13590,
1,
16034,
3084,
62,
2996,
5332,
33411,
366,
23067,
341,
357,
65,
382,
16725,
796,
705,
5324,
12,
8589,
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
] | [
10919,
318,
262,
3463,
286,
257,
2823,
326,
318,
31383,
12,
8589,
30,
46506,
366,
25844,
286,
13590,
1,
16034,
3084,
62,
2996,
5332,
33411,
366,
23067,
341,
357,
65,
382,
16725,
796,
705,
5324,
12,
8589,
6
] |
What was the record when Minnesota was the home team? | SELECT record FROM table_name_64 WHERE home = "minnesota" | [
2061,
373,
262,
1700,
618,
8919,
373,
262,
1363,
1074,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2414,
33411,
1363,
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,
1
] | [
2061,
373,
262,
1700,
618,
8919,
373,
262,
1363,
1074,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2414,
33411,
1363,
796,
366,
1084,
8360,
1
] |
What country was the player from with a score of 70-79-74-68=291? | SELECT "Country" FROM table_70518 WHERE "Score" = '70-79-74-68=291' | [
2061,
1499,
373,
262,
2137,
422,
351,
257,
4776,
286,
4317,
12,
3720,
12,
4524,
12,
3104,
28,
33551,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
34801,
1507,
33411,
366,
26595,
1,
796,
705,
2154,
12,
3720,
12,
4524,
12,
3104,
28,
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
] | [
2061,
1499,
373,
262,
2137,
422,
351,
257,
4776,
286,
4317,
12,
3720,
12,
4524,
12,
3104,
28,
33551,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
34801,
1507,
33411,
366,
26595,
1,
796,
705,
2154,
12,
3720,
12,
4524,
12,
3104,
28,
3... |
Who was the democratic candidate when the republican was frank wolf? | SELECT democratic FROM table_17503169_1 WHERE republican = "Frank Wolf" | [
8241,
373,
262,
10518,
4540,
618,
262,
41477,
373,
14346,
17481,
30,
46506,
10518,
16034,
3084,
62,
1558,
31938,
22172,
62,
16,
33411,
41477,
796,
366,
17439,
8662,
1
] | [
1,
1,
1,
1,
1,
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,
10518,
4540,
618,
262,
41477,
373,
14346,
17481,
30,
46506,
10518,
16034,
3084,
62,
1558,
31938,
22172,
62,
16,
33411,
41477,
796,
366,
17439,
8662,
1
] |
Which classes gives me the easiest path to cover the ULCS requirement ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co... | [
13828,
6097,
3607,
502,
262,
16638,
3108,
284,
3002,
262,
471,
29814,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3607,
502,
262,
16638,
3108,
284,
3002,
262,
471,
29814,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
... |
What is the date that has yani tseng as the runner (s)-up? | SELECT "Date" FROM table_41545 WHERE "Runner(s)-up" = 'yani tseng' | [
2061,
318,
262,
3128,
326,
468,
331,
3216,
40379,
1516,
355,
262,
17490,
357,
82,
13219,
929,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
35038,
2231,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
88,
3216,
40379,
1516,
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
] | [
2061,
318,
262,
3128,
326,
468,
331,
3216,
40379,
1516,
355,
262,
17490,
357,
82,
13219,
929,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
35038,
2231,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
88,
3216,
40379,
1516,
6
] |
What is the date of death of the Countess of Flanders who was born in 1309? | SELECT death FROM table_name_75 WHERE birth = "1309" | [
2061,
318,
262,
3128,
286,
1918,
286,
262,
2764,
408,
286,
376,
32358,
508,
373,
4642,
287,
11323,
24,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
2425,
33411,
4082,
796,
366,
12952,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
1918,
286,
262,
2764,
408,
286,
376,
32358,
508,
373,
4642,
287,
11323,
24,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
2425,
33411,
4082,
796,
366,
12952,
24,
1
] |
Which Record has a Home of edmonton oilers, and a Score of 3 6? | SELECT record FROM table_name_49 WHERE home = "edmonton oilers" AND score = "3–6" | [
13828,
13266,
468,
257,
5995,
286,
1225,
19729,
3056,
364,
11,
290,
257,
15178,
286,
513,
718,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2920,
33411,
1363,
796,
366,
276,
19729,
3056,
364,
1,
5357,
4776,
796,
366,
18,
1906,
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,
1,
1,
1,
1,
1,
1
] | [
13828,
13266,
468,
257,
5995,
286,
1225,
19729,
3056,
364,
11,
290,
257,
15178,
286,
513,
718,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2920,
33411,
1363,
796,
366,
276,
19729,
3056,
364,
1,
5357,
4776,
796,
366,
18,
1906,
21,
1
... |
how many patients were prescribed lipitor in the same hospital visit after they had undergone a analgesics - narcotic analgesic, until 2102? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'analgesics - narcotic analgesic' AND STRFTIME('%y', treatment.treatmentti... | [
4919,
867,
3871,
547,
14798,
10645,
2072,
287,
262,
976,
4436,
3187,
706,
484,
550,
29900,
257,
48895,
873,
532,
16946,
6210,
48895,
291,
11,
1566,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
14798,
10645,
2072,
287,
262,
976,
4436,
3187,
706,
484,
550,
29900,
257,
48895,
873,
532,
16946,
6210,
48895,
291,
11,
1566,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
... |
What is the lowest points of British Racing after 1963? | SELECT MIN("Points") FROM table_15097 WHERE "Year" > '1963' | [
2061,
318,
262,
9016,
2173,
286,
3517,
14954,
706,
19342,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
8628,
5607,
33411,
366,
17688,
1,
1875,
705,
45192,
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,
9016,
2173,
286,
3517,
14954,
706,
19342,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
8628,
5607,
33411,
366,
17688,
1,
1875,
705,
45192,
6
] |
Courses in Continental Rationalism that satisfy the MDE requirement ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Continental Rationalism%' OR course.description LIKE '%Continental Rationalism%' OR course.name ... | [
34,
39975,
287,
30462,
46863,
1042,
326,
15959,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
17319... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
34,
39975,
287,
30462,
46863,
1042,
326,
15959,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
17319... |
What team drafted a player from Sweden? | SELECT nhl_team FROM table_2897457_1 WHERE nationality = "Sweden" | [
2061,
1074,
15937,
257,
2137,
422,
10710,
30,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
2078,
5607,
33032,
62,
16,
33411,
29835,
796,
366,
10462,
31829,
1
] | [
1,
1,
1,
1,
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,
1074,
15937,
257,
2137,
422,
10710,
30,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
2078,
5607,
33032,
62,
16,
33411,
29835,
796,
366,
10462,
31829,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.