instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the grid sum with more than 50 laps? | SELECT SUM("Grid") FROM table_7792 WHERE "Laps" > '50' | [
2061,
318,
262,
10706,
2160,
351,
517,
621,
2026,
24590,
30,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
3324,
5892,
33411,
366,
43,
1686,
1,
1875,
705,
1120,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
10706,
2160,
351,
517,
621,
2026,
24590,
30,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
3324,
5892,
33411,
366,
43,
1686,
1,
1875,
705,
1120,
6
] |
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points? | SELECT SUM("Year") FROM table_71617 WHERE "Chassis" = 'kurtis kraft 500a' AND "Points" < '1.5' | [
2061,
318,
262,
614,
351,
257,
20642,
271,
41828,
5323,
64,
24587,
11,
290,
1342,
621,
352,
13,
20,
2173,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
22,
1433,
1558,
33411,
366,
1925,
20297,
1,
796,
705,
74,
3325,
271,
479... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
351,
257,
20642,
271,
41828,
5323,
64,
24587,
11,
290,
1342,
621,
352,
13,
20,
2173,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
22,
1433,
1558,
33411,
366,
1925,
20297,
1,
796,
705,
74,
3325,
271,
479... |
Which Cup Apps (sub) had 2 goals? | SELECT "Cup Apps (sub)" FROM table_40821 WHERE "Cup Goals" = '2' | [
13828,
5454,
27710,
357,
7266,
8,
550,
362,
4661,
30,
46506,
366,
34,
929,
27710,
357,
7266,
16725,
16034,
3084,
62,
26200,
2481,
33411,
366,
34,
929,
28510,
1,
796,
705,
17,
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
] | [
13828,
5454,
27710,
357,
7266,
8,
550,
362,
4661,
30,
46506,
366,
34,
929,
27710,
357,
7266,
16725,
16034,
3084,
62,
26200,
2481,
33411,
366,
34,
929,
28510,
1,
796,
705,
17,
6
] |
who had high points on december 3 | SELECT high_points FROM table_13762472_4 WHERE date = "December 3" | [
8727,
550,
1029,
2173,
319,
390,
3273,
513,
46506,
1029,
62,
13033,
16034,
3084,
62,
1485,
4304,
1731,
4761,
62,
19,
33411,
3128,
796,
366,
20588,
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
] | [
8727,
550,
1029,
2173,
319,
390,
3273,
513,
46506,
1029,
62,
13033,
16034,
3084,
62,
1485,
4304,
1731,
4761,
62,
19,
33411,
3128,
796,
366,
20588,
513,
1
] |
What school did Conor Jackson attend? | SELECT "School" FROM table_15058 WHERE "Player" = 'conor jackson' | [
2061,
1524,
750,
41708,
6612,
5262,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
8628,
3365,
33411,
366,
14140,
1,
796,
705,
1102,
273,
14509,
1559,
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,
1524,
750,
41708,
6612,
5262,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
8628,
3365,
33411,
366,
14140,
1,
796,
705,
1102,
273,
14509,
1559,
6
] |
what is the total amount of gammagard s/d that patient 32606 has been prescribed during their first hospital visit? | SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 32606 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND prescriptions.drug = 'gammagard s/d' | [
10919,
318,
262,
2472,
2033,
286,
308,
6475,
363,
446,
264,
14,
67,
326,
5827,
3933,
33206,
468,
587,
14798,
1141,
511,
717,
4436,
3187,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
308,
6475,
363,
446,
264,
14,
67,
326,
5827,
3933,
33206,
468,
587,
14798,
1141,
511,
717,
4436,
3187,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092,... |
What is the date with the catalogue number ptcd-1015-6? | SELECT "Date" FROM table_39023 WHERE "Catalogue #" = 'ptcd-1015-6' | [
2061,
318,
262,
3128,
351,
262,
34614,
1271,
42975,
10210,
12,
8784,
20,
12,
21,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
25964,
1954,
33411,
366,
39075,
5119,
1303,
1,
796,
705,
457,
10210,
12,
8784,
20,
12,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
351,
262,
34614,
1271,
42975,
10210,
12,
8784,
20,
12,
21,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
25964,
1954,
33411,
366,
39075,
5119,
1303,
1,
796,
705,
457,
10210,
12,
8784,
20,
12,
21,
6
] |
How many points is there when the lost is 6 and the try bonus is 9? | SELECT points_for FROM table_name_24 WHERE lost = "6" AND try_bonus = "9" | [
2437,
867,
2173,
318,
612,
618,
262,
2626,
318,
718,
290,
262,
1949,
7202,
318,
860,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
1731,
33411,
2626,
796,
366,
21,
1,
5357,
1949,
62,
4189,
385,
796,
366,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2173,
318,
612,
618,
262,
2626,
318,
718,
290,
262,
1949,
7202,
318,
860,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
1731,
33411,
2626,
796,
366,
21,
1,
5357,
1949,
62,
4189,
385,
796,
366,
24,
1
] |
tell me the total amount of patient 017-20711's inputs on last month/06? | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-20711')) AND intakeoutput.cellpath LIKE '%in... | [
33331,
502,
262,
2472,
2033,
286,
5827,
5534,
22,
12,
22745,
1157,
338,
17311,
319,
938,
1227,
14,
3312,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
208... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
2472,
2033,
286,
5827,
5534,
22,
12,
22745,
1157,
338,
17311,
319,
938,
1227,
14,
3312,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
208... |
How many aircrafts do we have? | SELECT COUNT(*) FROM Aircraft | [
2437,
867,
6215,
82,
466,
356,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
30767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
6215,
82,
466,
356,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
30767
] |
how many assists did tarpley participate in ? | SELECT COUNT("assist/pass") FROM table_204_920 WHERE "assist/pass" = 'tarpley' | [
4919,
867,
13648,
750,
13422,
1154,
88,
8277,
287,
5633,
46506,
327,
28270,
7203,
562,
396,
14,
6603,
4943,
16034,
3084,
62,
18638,
62,
37128,
33411,
366,
562,
396,
14,
6603,
1,
796,
705,
18870,
1154,
88,
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
] | [
4919,
867,
13648,
750,
13422,
1154,
88,
8277,
287,
5633,
46506,
327,
28270,
7203,
562,
396,
14,
6603,
4943,
16034,
3084,
62,
18638,
62,
37128,
33411,
366,
562,
396,
14,
6603,
1,
796,
705,
18870,
1154,
88,
6
] |
What is the most recent year shown for Betty Stove? | SELECT MAX("Year") FROM table_30387 | [
2061,
318,
262,
749,
2274,
614,
3402,
329,
29504,
520,
659,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
1270,
32220
] | [
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,
749,
2274,
614,
3402,
329,
29504,
520,
659,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
1270,
32220
] |
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 bar chart shows the distribution of job_id and the sum of salary , and group by attribute job_id, and show X-axis in desc order. | SELECT JOB_ID, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID 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,
2318,
8262,
2523,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
9588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
2523,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
9588... |
What was reserved in the district that has 169 constituents? | SELECT "Reserved for ( SC / ST /None)" FROM table_62769 WHERE "Constituency number" = '169' | [
2061,
373,
10395,
287,
262,
4783,
326,
468,
27191,
22573,
30,
46506,
366,
4965,
8520,
329,
357,
6374,
1220,
3563,
1220,
14202,
16725,
16034,
3084,
62,
49856,
3388,
33411,
366,
34184,
34272,
1387,
1271,
1,
796,
705,
22172,
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,
373,
10395,
287,
262,
4783,
326,
468,
27191,
22573,
30,
46506,
366,
4965,
8520,
329,
357,
6374,
1220,
3563,
1220,
14202,
16725,
16034,
3084,
62,
49856,
3388,
33411,
366,
34184,
34272,
1387,
1271,
1,
796,
705,
22172,
6
] |
Has NRE 336 ever taken place over the Summer time ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'NRE' AND course.number = 336 AND semester.semester = 'Summer' AND semester.semester_id = course_offering.semester | [
19242,
399,
2200,
38867,
1683,
2077,
1295,
625,
262,
10216,
640,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
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... | [
19242,
399,
2200,
38867,
1683,
2077,
1295,
625,
262,
10216,
640,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62... |
What is the highest number of successful launches associated with over 1 launch and under 0 fails? | SELECT MAX(successes) FROM table_name_36 WHERE launches > 1 AND failures < 0 | [
2061,
318,
262,
4511,
1271,
286,
4388,
18617,
3917,
351,
625,
352,
4219,
290,
739,
657,
10143,
30,
46506,
25882,
7,
13138,
274,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
18617,
1875,
352,
5357,
15536,
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
] | [
2061,
318,
262,
4511,
1271,
286,
4388,
18617,
3917,
351,
625,
352,
4219,
290,
739,
657,
10143,
30,
46506,
25882,
7,
13138,
274,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
18617,
1875,
352,
5357,
15536,
1279,
657
] |
Name the type for mcminnville | SELECT type FROM table_2076533_1 WHERE main_location = "McMinnville" | [
5376,
262,
2099,
329,
36650,
1084,
77,
4244,
46506,
2099,
16034,
3084,
62,
22745,
2996,
2091,
62,
16,
33411,
1388,
62,
24886,
796,
366,
9742,
44,
3732,
4244,
1
] | [
1,
1,
1,
1,
1,
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,
2099,
329,
36650,
1084,
77,
4244,
46506,
2099,
16034,
3084,
62,
22745,
2996,
2091,
62,
16,
33411,
1388,
62,
24886,
796,
366,
9742,
44,
3732,
4244,
1
] |
What was the broadcast date of the episode that visited South Africa? | SELECT "UK Broadcast Date" FROM table_5299 WHERE "Countries Visited" = 'south africa' | [
2061,
373,
262,
7025,
3128,
286,
262,
4471,
326,
8672,
2520,
5478,
30,
46506,
366,
15039,
44244,
7536,
1,
16034,
3084,
62,
20,
22579,
33411,
366,
12332,
1678,
6911,
863,
1,
796,
705,
35782,
6580,
30997,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
7025,
3128,
286,
262,
4471,
326,
8672,
2520,
5478,
30,
46506,
366,
15039,
44244,
7536,
1,
16034,
3084,
62,
20,
22579,
33411,
366,
12332,
1678,
6911,
863,
1,
796,
705,
35782,
6580,
30997,
6
] |
yes or no for the adelaide with no for auckland, yes for melbourne, yes for the gold coast? | SELECT adelaide FROM table_name_97 WHERE auckland = "no" AND melbourne = "yes" AND gold_coast = "yes" | [
8505,
393,
645,
329,
262,
512,
25078,
351,
645,
329,
257,
28789,
11,
3763,
329,
7758,
12544,
11,
3763,
329,
262,
3869,
7051,
30,
46506,
512,
25078,
16034,
3084,
62,
3672,
62,
5607,
33411,
257,
28789,
796,
366,
3919,
1,
5357,
7758,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8505,
393,
645,
329,
262,
512,
25078,
351,
645,
329,
257,
28789,
11,
3763,
329,
7758,
12544,
11,
3763,
329,
262,
3869,
7051,
30,
46506,
512,
25078,
16034,
3084,
62,
3672,
62,
5607,
33411,
257,
28789,
796,
366,
3919,
1,
5357,
7758,
1... |
what number of patients have been diagnosed with seizures - from ischemia/infarction during the same hospital visit after having received a anticonvulsant - valproate procedure the last year? | 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 = 'anticonvulsant - valproate' AND DATETIME(treatment.treatmenttime, 'start ... | [
10919,
1271,
286,
3871,
423,
587,
14641,
351,
24715,
532,
422,
318,
15245,
544,
14,
10745,
283,
596,
1141,
262,
976,
4436,
3187,
706,
1719,
2722,
257,
1885,
4749,
85,
5753,
415,
532,
1188,
1676,
378,
8771,
262,
938,
614,
30,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
423,
587,
14641,
351,
24715,
532,
422,
318,
15245,
544,
14,
10745,
283,
596,
1141,
262,
976,
4436,
3187,
706,
1719,
2722,
257,
1885,
4749,
85,
5753,
415,
532,
1188,
1676,
378,
8771,
262,
938,
614,
30,
46506,
... |
what's the evening gown where preliminaries is 8.977 | SELECT "Evening Gown" FROM table_72265 WHERE "Preliminaries" = '8.977' | [
10919,
338,
262,
6180,
33323,
810,
14541,
259,
3166,
318,
807,
13,
24,
3324,
46506,
366,
6104,
278,
402,
593,
1,
16034,
3084,
62,
22,
1828,
2996,
33411,
366,
47,
2411,
320,
259,
3166,
1,
796,
705,
23,
13,
24,
3324,
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
] | [
10919,
338,
262,
6180,
33323,
810,
14541,
259,
3166,
318,
807,
13,
24,
3324,
46506,
366,
6104,
278,
402,
593,
1,
16034,
3084,
62,
22,
1828,
2996,
33411,
366,
47,
2411,
320,
259,
3166,
1,
796,
705,
23,
13,
24,
3324,
6
] |
Show me about the distribution of All_Road and All_Games_Percent in a bar chart, and I want to show by the names in desc please. | SELECT All_Road, All_Games_Percent FROM basketball_match ORDER BY All_Road DESC | [
15307,
502,
546,
262,
6082,
286,
1439,
62,
29197,
290,
1439,
62,
24474,
62,
31905,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
416,
262,
3891,
287,
1715,
3387,
13,
46506,
1439,
62,
29197,
11,
1439,
62,
24474,
62,
31905,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
6082,
286,
1439,
62,
29197,
290,
1439,
62,
24474,
62,
31905,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
416,
262,
3891,
287,
1715,
3387,
13,
46506,
1439,
62,
29197,
11,
1439,
62,
24474,
62,
31905,
16034... |
Which athlete represented the country of egypt? | SELECT "Athlete" FROM table_13785 WHERE "Country" = 'egypt' | [
13828,
16076,
7997,
262,
1499,
286,
304,
6022,
30,
46506,
366,
32,
400,
5807,
1,
16034,
3084,
62,
1485,
41172,
33411,
366,
33921,
1,
796,
705,
68,
6022,
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,
16076,
7997,
262,
1499,
286,
304,
6022,
30,
46506,
366,
32,
400,
5807,
1,
16034,
3084,
62,
1485,
41172,
33411,
366,
33921,
1,
796,
705,
68,
6022,
6
] |
how much change in chloride has patient 027-122814 experienced measured at 2103-01-19 12:45:58 compared to the value measured at 2103-01-17 12:15:58? | 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 = '027-122814')) AND lab.labname = 'chloride' AND lab.labresulttime = '2103-01-19 ... | [
4919,
881,
1487,
287,
44921,
468,
5827,
657,
1983,
12,
1065,
2078,
1415,
5924,
8630,
379,
362,
15197,
12,
486,
12,
1129,
1105,
25,
2231,
25,
3365,
3688,
284,
262,
1988,
8630,
379,
362,
15197,
12,
486,
12,
1558,
1105,
25,
1314,
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... | [
4919,
881,
1487,
287,
44921,
468,
5827,
657,
1983,
12,
1065,
2078,
1415,
5924,
8630,
379,
362,
15197,
12,
486,
12,
1129,
1105,
25,
2231,
25,
3365,
3688,
284,
262,
1988,
8630,
379,
362,
15197,
12,
486,
12,
1558,
1105,
25,
1314,
25,
... |
Which Class is Peak Sail when it has a Prom larger than 30? | SELECT class FROM table_name_34 WHERE prom__m_ > 30 AND peak = "sail" | [
13828,
5016,
318,
23974,
27783,
618,
340,
468,
257,
10335,
4025,
621,
1542,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2682,
33411,
1552,
834,
76,
62,
1875,
1542,
5357,
9103,
796,
366,
82,
603,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5016,
318,
23974,
27783,
618,
340,
468,
257,
10335,
4025,
621,
1542,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2682,
33411,
1552,
834,
76,
62,
1875,
1542,
5357,
9103,
796,
366,
82,
603,
1
] |
What is the average number of FA cups Steve Whitworth, who has less than 400 total, has? | SELECT AVG(fa_cup) FROM table_name_79 WHERE name = "steve whitworth" AND total < 400 | [
2061,
318,
262,
2811,
1271,
286,
9677,
14180,
6542,
13183,
9268,
11,
508,
468,
1342,
621,
7337,
2472,
11,
468,
30,
46506,
35224,
7,
13331,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
1438,
796,
366,
4169,
303,
20542,
9268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
9677,
14180,
6542,
13183,
9268,
11,
508,
468,
1342,
621,
7337,
2472,
11,
468,
30,
46506,
35224,
7,
13331,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
1438,
796,
366,
4169,
303,
20542,
9268,
... |
List the number of the names of products that are not in any event, and rank x axis from high to low order please. | SELECT Product_Name, COUNT(Product_Name) FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events) GROUP BY Product_Name ORDER BY Product_Name DESC | [
8053,
262,
1271,
286,
262,
3891,
286,
3186,
326,
389,
407,
287,
597,
1785,
11,
290,
4279,
2124,
16488,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
8721,
62,
5376,
11,
327,
28270,
7,
15667,
62,
5376,
8,
16034,
18675,
33411,
5626,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
1271,
286,
262,
3891,
286,
3186,
326,
389,
407,
287,
597,
1785,
11,
290,
4279,
2124,
16488,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
8721,
62,
5376,
11,
327,
28270,
7,
15667,
62,
5376,
8,
16034,
18675,
33411,
5626,
87... |
how much are patient 016-5834's weight changes second measured on the first hospital visit compared to the first value measured on the first hospital visit? | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-5834' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL ORD... | [
4919,
881,
389,
5827,
5534,
21,
12,
3365,
2682,
338,
3463,
2458,
1218,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
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... | [
4919,
881,
389,
5827,
5534,
21,
12,
3365,
2682,
338,
3463,
2458,
1218,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
... |
What shows for 1988 when 1994 shows 10 6? | SELECT 1988 FROM table_name_32 WHERE 1994 = "10–6" | [
2061,
2523,
329,
12122,
618,
9162,
2523,
838,
718,
30,
46506,
12122,
16034,
3084,
62,
3672,
62,
2624,
33411,
9162,
796,
366,
940,
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
] | [
2061,
2523,
329,
12122,
618,
9162,
2523,
838,
718,
30,
46506,
12122,
16034,
3084,
62,
3672,
62,
2624,
33411,
9162,
796,
366,
940,
1906,
21,
1
] |
What is the maximum fastest lap speed in the Monaco Grand Prix in 2008? | SELECT MAX(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = "Monaco Grand Prix" | [
2061,
318,
262,
5415,
14162,
14779,
2866,
287,
262,
31630,
5675,
23832,
287,
3648,
30,
46506,
25882,
7,
51,
17,
13,
7217,
395,
75,
1686,
39492,
8,
16034,
9558,
7054,
309,
16,
32357,
1268,
2482,
7054,
309,
17,
6177,
309,
16,
13,
1674... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
14162,
14779,
2866,
287,
262,
31630,
5675,
23832,
287,
3648,
30,
46506,
25882,
7,
51,
17,
13,
7217,
395,
75,
1686,
39492,
8,
16034,
9558,
7054,
309,
16,
32357,
1268,
2482,
7054,
309,
17,
6177,
309,
16,
13,
1674... |
What is the goals for Round 15? | SELECT "Goals" FROM table_6804 WHERE "Round" = 'round 15' | [
2061,
318,
262,
4661,
329,
10485,
1315,
30,
46506,
366,
5247,
874,
1,
16034,
3084,
62,
21,
36088,
33411,
366,
22685,
1,
796,
705,
744,
1315,
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,
318,
262,
4661,
329,
10485,
1315,
30,
46506,
366,
5247,
874,
1,
16034,
3084,
62,
21,
36088,
33411,
366,
22685,
1,
796,
705,
744,
1315,
6
] |
Which class has a year prior to 2011 and audi r15 tdi as the chassis? | SELECT class FROM table_name_72 WHERE year < 2011 AND chassis = "audi r15 tdi" | [
13828,
1398,
468,
257,
614,
3161,
284,
2813,
290,
40504,
374,
1314,
256,
10989,
355,
262,
24587,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
4761,
33411,
614,
1279,
2813,
5357,
24587,
796,
366,
31330,
374,
1314,
256,
10989,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1398,
468,
257,
614,
3161,
284,
2813,
290,
40504,
374,
1314,
256,
10989,
355,
262,
24587,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
4761,
33411,
614,
1279,
2813,
5357,
24587,
796,
366,
31330,
374,
1314,
256,
10989,
1
] |
Display a bar chart for what are the hometowns of gymnasts and the corresponding number of gymnasts?, display in descending by the Y-axis. | SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
20994,
82,
286,
38581,
5773,
290,
262,
11188,
1271,
286,
38581,
5773,
21747,
3359,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
20994,
82,
286,
38581,
5773,
290,
262,
11188,
1271,
286,
38581,
5773,
21747,
3359,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
7... |
how many patients whose days of hospital stay is greater than 27 and drug code is quet200? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "27" AND prescriptions.formulary_drug_cd = "QUET200" | [
4919,
867,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2681,
290,
2563,
2438,
318,
627,
316,
2167,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2681,
290,
2563,
2438,
318,
627,
316,
2167,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
617... |
what is the tournament when the winning score is 2 and 1? | SELECT tournament FROM table_name_29 WHERE winning_score = "2 and 1" | [
10919,
318,
262,
7756,
618,
262,
5442,
4776,
318,
362,
290,
352,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1959,
33411,
5442,
62,
26675,
796,
366,
17,
290,
352,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
7756,
618,
262,
5442,
4776,
318,
362,
290,
352,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1959,
33411,
5442,
62,
26675,
796,
366,
17,
290,
352,
1
] |
What nationality has 2 as the rank? | SELECT "Nationality" FROM table_63791 WHERE "Rank" = '2' | [
2061,
29835,
468,
362,
355,
262,
4279,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
21,
2718,
6420,
33411,
366,
27520,
1,
796,
705,
17,
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,
29835,
468,
362,
355,
262,
4279,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
21,
2718,
6420,
33411,
366,
27520,
1,
796,
705,
17,
6
] |
Olga Blahotov was the opponent in the final at what tournament? | SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová" | [
30098,
4908,
1086,
993,
313,
709,
373,
262,
6125,
287,
262,
2457,
379,
644,
7756,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3682,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
349,
4908,
33367,
313,
709,
6557,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
30098,
4908,
1086,
993,
313,
709,
373,
262,
6125,
287,
262,
2457,
379,
644,
7756,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3682,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
349,
4908,
33367,
313,
709,
6557,
1
] |
What is the id and trade name of the medicines can interact with at least 3 enzymes. | SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id | [
2061,
318,
262,
4686,
290,
3292,
1438,
286,
262,
23533,
460,
9427,
351,
379,
1551,
513,
29120,
13,
46506,
9601,
62,
5376,
11,
4686,
16034,
9007,
7054,
309,
16,
32357,
1268,
9007,
62,
268,
24266,
62,
3849,
2673,
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,
4686,
290,
3292,
1438,
286,
262,
23533,
460,
9427,
351,
379,
1551,
513,
29120,
13,
46506,
9601,
62,
5376,
11,
4686,
16034,
9007,
7054,
309,
16,
32357,
1268,
9007,
62,
268,
24266,
62,
3849,
2673,
7054,
309,
17,
6177,
... |
Tell me the actor's name for escho raz o voyne | SELECT "Actor's Name" FROM table_31813 WHERE "Film Name" = 'escho raz o voyne' | [
24446,
502,
262,
8674,
338,
1438,
329,
1658,
6679,
374,
1031,
267,
23291,
710,
46506,
366,
40277,
338,
6530,
1,
16034,
3084,
62,
36042,
1485,
33411,
366,
39750,
6530,
1,
796,
705,
274,
6679,
374,
1031,
267,
23291,
710,
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
] | [
24446,
502,
262,
8674,
338,
1438,
329,
1658,
6679,
374,
1031,
267,
23291,
710,
46506,
366,
40277,
338,
6530,
1,
16034,
3084,
62,
36042,
1485,
33411,
366,
39750,
6530,
1,
796,
705,
274,
6679,
374,
1031,
267,
23291,
710,
6
] |
Are there any courses that 'll be beneficial in taking before taking GTBOOKS 993 ? | SELECT DISTINCT advisory_requirement FROM course WHERE department = 'GTBOOKS' AND number = 993 | [
8491,
612,
597,
10902,
326,
705,
297,
307,
13205,
287,
2263,
878,
2263,
7963,
39453,
50,
860,
6052,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
19555,
39453,
50,
6,
5357,
1271,
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
] | [
8491,
612,
597,
10902,
326,
705,
297,
307,
13205,
287,
2263,
878,
2263,
7963,
39453,
50,
860,
6052,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
19555,
39453,
50,
6,
5357,
1271,
796,
... |
Who was the opponent when the attendance was 87,453? | SELECT opponent_number FROM table_name_28 WHERE attendance = "87,453" | [
8241,
373,
262,
6125,
618,
262,
14858,
373,
10083,
11,
36625,
30,
46506,
6125,
62,
17618,
16034,
3084,
62,
3672,
62,
2078,
33411,
14858,
796,
366,
5774,
11,
36625,
1
] | [
1,
1,
1,
1,
1,
1,
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,
618,
262,
14858,
373,
10083,
11,
36625,
30,
46506,
6125,
62,
17618,
16034,
3084,
62,
3672,
62,
2078,
33411,
14858,
796,
366,
5774,
11,
36625,
1
] |
What are the fewest losses for a player lower than 3, with wins fewer than 75%, 0 draws and 56 points? | SELECT MIN("Lost") FROM table_4691 WHERE "Played" > '3' AND "% Won" < '75' AND "Drawn" = '0' AND "Points" = '56' | [
2061,
389,
262,
1178,
395,
9089,
329,
257,
2137,
2793,
621,
513,
11,
351,
7864,
7380,
621,
5441,
7441,
657,
14293,
290,
7265,
2173,
30,
46506,
20625,
7203,
31042,
4943,
16034,
3084,
62,
42947,
16,
33411,
366,
11002,
276,
1,
1875,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
1178,
395,
9089,
329,
257,
2137,
2793,
621,
513,
11,
351,
7864,
7380,
621,
5441,
7441,
657,
14293,
290,
7265,
2173,
30,
46506,
20625,
7203,
31042,
4943,
16034,
3084,
62,
42947,
16,
33411,
366,
11002,
276,
1,
1875,
705,... |
What is the total number of rushing yards associated with averages over 8.4 and fewer than 54 carries? | SELECT COUNT("Rushing Yards") FROM table_80421 WHERE "Average" > '8.4' AND "Carries" < '54' | [
2061,
318,
262,
2472,
1271,
286,
15795,
5695,
3917,
351,
25694,
625,
807,
13,
19,
290,
7380,
621,
7175,
10732,
30,
46506,
327,
28270,
7203,
49,
8023,
42673,
4943,
16034,
3084,
62,
36088,
2481,
33411,
366,
26287,
1,
1875,
705,
23,
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
] | [
2061,
318,
262,
2472,
1271,
286,
15795,
5695,
3917,
351,
25694,
625,
807,
13,
19,
290,
7380,
621,
7175,
10732,
30,
46506,
327,
28270,
7203,
49,
8023,
42673,
4943,
16034,
3084,
62,
36088,
2481,
33411,
366,
26287,
1,
1875,
705,
23,
13,
... |
What positions correspond to the name Thierry Morin? | SELECT position FROM table_24565004_14 WHERE name = "Thierry Morin" | [
2061,
6116,
6053,
284,
262,
1438,
536,
959,
563,
3461,
259,
30,
46506,
2292,
16034,
3084,
62,
22995,
2996,
22914,
62,
1415,
33411,
1438,
796,
366,
817,
959,
563,
3461,
259,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
6116,
6053,
284,
262,
1438,
536,
959,
563,
3461,
259,
30,
46506,
2292,
16034,
3084,
62,
22995,
2996,
22914,
62,
1415,
33411,
1438,
796,
366,
817,
959,
563,
3461,
259,
1
] |
What is the name of the team when the stadium is listed as Edward Jones Dome? | SELECT team FROM table_28884858_1 WHERE stadium = "Edward Jones Dome" | [
2061,
318,
262,
1438,
286,
262,
1074,
618,
262,
10308,
318,
5610,
355,
10443,
5437,
31390,
30,
46506,
1074,
16034,
3084,
62,
2078,
3459,
2780,
3365,
62,
16,
33411,
10308,
796,
366,
43982,
5437,
31390,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
1074,
618,
262,
10308,
318,
5610,
355,
10443,
5437,
31390,
30,
46506,
1074,
16034,
3084,
62,
2078,
3459,
2780,
3365,
62,
16,
33411,
10308,
796,
366,
43982,
5437,
31390,
1
] |
What is my average post length?. | SELECT AVG(LENGTH(Body)) AS Length FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##UserId##' | [
2061,
318,
616,
2811,
1281,
4129,
30,
13,
46506,
35224,
7,
43,
49494,
7,
25842,
4008,
7054,
22313,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
2235,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
616,
2811,
1281,
4129,
30,
13,
46506,
35224,
7,
43,
49494,
7,
25842,
4008,
7054,
22313,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
2235,
6
] |
Give me a bar chart for sum weight of each sex, and rank total number of weight in desc order. | SELECT Sex, SUM(Weight) FROM people GROUP BY Sex ORDER BY SUM(Weight) DESC | [
23318,
502,
257,
2318,
8262,
329,
2160,
3463,
286,
1123,
1714,
11,
290,
4279,
2472,
1271,
286,
3463,
287,
1715,
1502,
13,
46506,
14419,
11,
35683,
7,
25844,
8,
16034,
661,
44441,
11050,
14419,
38678,
11050,
35683,
7,
25844,
8,
22196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
329,
2160,
3463,
286,
1123,
1714,
11,
290,
4279,
2472,
1271,
286,
3463,
287,
1715,
1502,
13,
46506,
14419,
11,
35683,
7,
25844,
8,
16034,
661,
44441,
11050,
14419,
38678,
11050,
35683,
7,
25844,
8,
22196,
... |
what is the cheapest one way fare from BOSTON to BALTIMORE | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare 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_... | [
10919,
318,
262,
28918,
530,
835,
14505,
422,
347,
10892,
1340,
284,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28918,
530,
835,
14505,
422,
347,
10892,
1340,
284,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... |
3 credits are given by which upper-level classes ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 3 AND program_course.category LIKE 'ULCS' | [
18,
10824,
389,
1813,
416,
543,
6727,
12,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
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,
1... | [
18,
10824,
389,
1813,
416,
543,
6727,
12,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
1... |
How many laps did ant nio pizzonia do? | SELECT COUNT("Laps") FROM table_56069 WHERE "Driver" = 'antônio pizzonia' | [
2437,
867,
24590,
750,
1885,
299,
952,
38748,
11339,
466,
30,
46506,
327,
28270,
7203,
43,
1686,
4943,
16034,
3084,
62,
34135,
3388,
33411,
366,
32103,
1,
796,
705,
415,
27083,
77,
952,
38748,
11339,
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,
24590,
750,
1885,
299,
952,
38748,
11339,
466,
30,
46506,
327,
28270,
7203,
43,
1686,
4943,
16034,
3084,
62,
34135,
3388,
33411,
366,
32103,
1,
796,
705,
415,
27083,
77,
952,
38748,
11339,
6
] |
Whom is the away team when the home team score is 11.12 (78)? | SELECT "Away team" FROM table_33704 WHERE "Home team score" = '11.12 (78)' | [
1199,
296,
318,
262,
1497,
1074,
618,
262,
1363,
1074,
4776,
318,
1367,
13,
1065,
357,
3695,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
32869,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1157,
13,
1065,
357,
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,
1,
1
] | [
1199,
296,
318,
262,
1497,
1074,
618,
262,
1363,
1074,
4776,
318,
1367,
13,
1065,
357,
3695,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
32869,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1157,
13,
1065,
357,
3695,
... |
how many parks are name beltzville state park? | SELECT COUNT(date_founded) FROM table_name_77 WHERE park_name = "beltzville state park" | [
4919,
867,
14860,
389,
1438,
10999,
89,
4244,
1181,
3952,
30,
46506,
327,
28270,
7,
4475,
62,
27060,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
3952,
62,
3672,
796,
366,
37976,
89,
4244,
1181,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14860,
389,
1438,
10999,
89,
4244,
1181,
3952,
30,
46506,
327,
28270,
7,
4475,
62,
27060,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
3952,
62,
3672,
796,
366,
37976,
89,
4244,
1181,
3952,
1
] |
What was the result of the match on grass in 1955? | SELECT outcome FROM table_2139023_2 WHERE surface = "Grass" AND year = 1955 | [
2061,
373,
262,
1255,
286,
262,
2872,
319,
8701,
287,
25325,
30,
46506,
8055,
16034,
3084,
62,
26427,
3829,
1954,
62,
17,
33411,
4417,
796,
366,
8642,
562,
1,
5357,
614,
796,
25325
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1255,
286,
262,
2872,
319,
8701,
287,
25325,
30,
46506,
8055,
16034,
3084,
62,
26427,
3829,
1954,
62,
17,
33411,
4417,
796,
366,
8642,
562,
1,
5357,
614,
796,
25325
] |
Who was the opponent for game 73? | SELECT "Opponent" FROM table_64559 WHERE "Game" = '73' | [
8241,
373,
262,
6125,
329,
983,
8854,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
49259,
3270,
33411,
366,
8777,
1,
796,
705,
4790,
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
] | [
8241,
373,
262,
6125,
329,
983,
8854,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
49259,
3270,
33411,
366,
8777,
1,
796,
705,
4790,
6
] |
when did patient 8016 had a mch test the first time during a month before? | SELECT labevents.charttime FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mch') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8016) AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURRENT_TIM... | [
12518,
750,
5827,
807,
27037,
550,
257,
285,
354,
1332,
262,
717,
640,
1141,
257,
1227,
878,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
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... | [
12518,
750,
5827,
807,
27037,
550,
257,
285,
354,
1332,
262,
717,
640,
1141,
257,
1227,
878,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
... |
Which catalog had a date year of 1984? | SELECT catalog FROM table_name_66 WHERE date = "1984" | [
13828,
18388,
550,
257,
3128,
614,
286,
12844,
30,
46506,
18388,
16034,
3084,
62,
3672,
62,
2791,
33411,
3128,
796,
366,
28296,
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,
18388,
550,
257,
3128,
614,
286,
12844,
30,
46506,
18388,
16034,
3084,
62,
3672,
62,
2791,
33411,
3128,
796,
366,
28296,
1
] |
What is Call Sign, when City of License is Brownfield, Texas? | SELECT call_sign FROM table_name_51 WHERE city_of_license = "brownfield, texas" | [
2061,
318,
4889,
5865,
11,
618,
2254,
286,
13789,
318,
4373,
3245,
11,
3936,
30,
46506,
869,
62,
12683,
16034,
3084,
62,
3672,
62,
4349,
33411,
1748,
62,
1659,
62,
43085,
796,
366,
33282,
3245,
11,
48659,
292,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4889,
5865,
11,
618,
2254,
286,
13789,
318,
4373,
3245,
11,
3936,
30,
46506,
869,
62,
12683,
16034,
3084,
62,
3672,
62,
4349,
33411,
1748,
62,
1659,
62,
43085,
796,
366,
33282,
3245,
11,
48659,
292,
1
] |
what was patient 009-12221's sao2 for the first time since 05/23/2101? | 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 = '009-12221')) AND NOT vitalperiodic.sao2 IS NULL AND STRFTIME('... | [
10919,
373,
5827,
3571,
24,
12,
1065,
26115,
338,
473,
78,
17,
329,
262,
717,
640,
1201,
8870,
14,
1954,
14,
2481,
486,
30,
46506,
9204,
41007,
291,
13,
82,
5488,
17,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
2085... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
3571,
24,
12,
1065,
26115,
338,
473,
78,
17,
329,
262,
717,
640,
1201,
8870,
14,
1954,
14,
2481,
486,
30,
46506,
9204,
41007,
291,
13,
82,
5488,
17,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
2085... |
What was the result for the best musical revival category? | SELECT result FROM table_name_98 WHERE category = "best musical revival" | [
2061,
373,
262,
1255,
329,
262,
1266,
10530,
26624,
6536,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4089,
33411,
6536,
796,
366,
13466,
10530,
26624,
1
] | [
1,
1,
1,
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,
1255,
329,
262,
1266,
10530,
26624,
6536,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4089,
33411,
6536,
796,
366,
13466,
10530,
26624,
1
] |
Name the total number of televote points for cry on my shoulders | SELECT COUNT(televote_points) FROM table_21378339_5 WHERE song = "Cry on my shoulders" | [
5376,
262,
2472,
1271,
286,
22884,
1258,
2173,
329,
3960,
319,
616,
12450,
46506,
327,
28270,
7,
660,
2768,
1258,
62,
13033,
8,
16034,
3084,
62,
26427,
3695,
29626,
62,
20,
33411,
3496,
796,
366,
26677,
319,
616,
12450,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22884,
1258,
2173,
329,
3960,
319,
616,
12450,
46506,
327,
28270,
7,
660,
2768,
1258,
62,
13033,
8,
16034,
3084,
62,
26427,
3695,
29626,
62,
20,
33411,
3496,
796,
366,
26677,
319,
616,
12450,
1
] |
Tell me the venue for score of 82-0 | SELECT venue FROM table_name_58 WHERE score = "82-0" | [
24446,
502,
262,
14359,
329,
4776,
286,
9415,
12,
15,
46506,
14359,
16034,
3084,
62,
3672,
62,
3365,
33411,
4776,
796,
366,
6469,
12,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
14359,
329,
4776,
286,
9415,
12,
15,
46506,
14359,
16034,
3084,
62,
3672,
62,
3365,
33411,
4776,
796,
366,
6469,
12,
15,
1
] |
What are some useful courses to take before taking CAAS 348 ? | SELECT DISTINCT advisory_requirement FROM course WHERE department = 'CAAS' AND number = 348 | [
2061,
389,
617,
4465,
10902,
284,
1011,
878,
2263,
7257,
1921,
44084,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
8141,
1921,
6,
5357,
1271,
796,
44084
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
617,
4465,
10902,
284,
1011,
878,
2263,
7257,
1921,
44084,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
8141,
1921,
6,
5357,
1271,
796,
44084
] |
What was the average points for someone who has played more than 10? | SELECT AVG("Points") FROM table_49710 WHERE "Played" > '10' | [
2061,
373,
262,
2811,
2173,
329,
2130,
508,
468,
2826,
517,
621,
838,
30,
46506,
35224,
7203,
40710,
4943,
16034,
3084,
62,
38073,
940,
33411,
366,
11002,
276,
1,
1875,
705,
940,
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,
373,
262,
2811,
2173,
329,
2130,
508,
468,
2826,
517,
621,
838,
30,
46506,
35224,
7203,
40710,
4943,
16034,
3084,
62,
38073,
940,
33411,
366,
11002,
276,
1,
1875,
705,
940,
6
] |
what is the rank when the bronze is less than 0? | SELECT COUNT(rank) FROM table_name_63 WHERE bronze < 0 | [
10919,
318,
262,
4279,
618,
262,
22101,
318,
1342,
621,
657,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
22101,
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
] | [
10919,
318,
262,
4279,
618,
262,
22101,
318,
1342,
621,
657,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
22101,
1279,
657
] |
What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006? | SELECT "% of all immigrants 2007" FROM table_26205 WHERE "% of all immigrants 2006" = '14.1%' | [
2061,
338,
262,
5873,
286,
262,
7971,
287,
4343,
287,
262,
1499,
351,
1478,
13,
16,
4,
286,
262,
7971,
287,
4793,
30,
46506,
36521,
286,
477,
7971,
4343,
1,
16034,
3084,
62,
2075,
21261,
33411,
36521,
286,
477,
7971,
4793,
1,
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
] | [
2061,
338,
262,
5873,
286,
262,
7971,
287,
4343,
287,
262,
1499,
351,
1478,
13,
16,
4,
286,
262,
7971,
287,
4793,
30,
46506,
36521,
286,
477,
7971,
4343,
1,
16034,
3084,
62,
2075,
21261,
33411,
36521,
286,
477,
7971,
4793,
1,
796,
... |
What is Score, when Date is '2000-05-23'? | SELECT score FROM table_name_93 WHERE date = "2000-05-23" | [
2061,
318,
15178,
11,
618,
7536,
318,
705,
11024,
12,
2713,
12,
1954,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
6052,
33411,
3128,
796,
366,
11024,
12,
2713,
12,
1954,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
15178,
11,
618,
7536,
318,
705,
11024,
12,
2713,
12,
1954,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
6052,
33411,
3128,
796,
366,
11024,
12,
2713,
12,
1954,
1
] |
What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4? | SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = "poland" AND rank > 4 | [
2061,
318,
262,
2472,
286,
19461,
351,
257,
2472,
4833,
621,
513,
11,
290,
257,
3277,
286,
12873,
11,
290,
257,
4279,
4025,
621,
604,
30,
46506,
327,
28270,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
2472,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
286,
19461,
351,
257,
2472,
4833,
621,
513,
11,
290,
257,
3277,
286,
12873,
11,
290,
257,
4279,
4025,
621,
604,
30,
46506,
327,
28270,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
2472,
1279,
... |
Which podiums have a final placing of 10th? | SELECT "Podiums" FROM table_1349 WHERE "Final Placing" = '10th' | [
13828,
27941,
82,
423,
257,
2457,
12560,
286,
838,
400,
30,
46506,
366,
47,
12664,
82,
1,
16034,
3084,
62,
1485,
2920,
33411,
366,
19006,
1345,
4092,
1,
796,
705,
940,
400,
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
] | [
13828,
27941,
82,
423,
257,
2457,
12560,
286,
838,
400,
30,
46506,
366,
47,
12664,
82,
1,
16034,
3084,
62,
1485,
2920,
33411,
366,
19006,
1345,
4092,
1,
796,
705,
940,
400,
6
] |
Peterson Gym is in what city? | SELECT "City" FROM table_40694 WHERE "Venue" = 'peterson gym' | [
25803,
882,
31187,
318,
287,
644,
1748,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
1821,
45214,
33411,
366,
37522,
518,
1,
796,
705,
6449,
882,
11550,
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
] | [
25803,
882,
31187,
318,
287,
644,
1748,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
1821,
45214,
33411,
366,
37522,
518,
1,
796,
705,
6449,
882,
11550,
6
] |
What's the total of 1988-89 that has a 1986-87 of 38, and Points that's smaller than 109? | SELECT SUM("1988-89") FROM table_34034 WHERE "1986-87" = '38' AND "Points" < '109' | [
2061,
338,
262,
2472,
286,
12122,
12,
4531,
326,
468,
257,
12113,
12,
5774,
286,
4353,
11,
290,
11045,
326,
338,
4833,
621,
16003,
30,
46506,
35683,
7203,
26709,
12,
4531,
4943,
16034,
3084,
62,
23601,
2682,
33411,
366,
28054,
12,
577... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
286,
12122,
12,
4531,
326,
468,
257,
12113,
12,
5774,
286,
4353,
11,
290,
11045,
326,
338,
4833,
621,
16003,
30,
46506,
35683,
7203,
26709,
12,
4531,
4943,
16034,
3084,
62,
23601,
2682,
33411,
366,
28054,
12,
577... |
What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009? | SELECT "Date of vacancy" FROM table_47922 WHERE "Team" = 'fc bayern munich' AND "Date of appointment" = '27 april 2009' | [
2061,
318,
262,
3128,
286,
39836,
286,
1074,
277,
66,
15489,
1142,
29856,
488,
11,
543,
550,
257,
3128,
286,
12557,
319,
2681,
3035,
3717,
30,
46506,
366,
10430,
286,
39836,
1,
16034,
3084,
62,
31714,
1828,
33411,
366,
15592,
1,
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,
1,
1
] | [
2061,
318,
262,
3128,
286,
39836,
286,
1074,
277,
66,
15489,
1142,
29856,
488,
11,
543,
550,
257,
3128,
286,
12557,
319,
2681,
3035,
3717,
30,
46506,
366,
10430,
286,
39836,
1,
16034,
3084,
62,
31714,
1828,
33411,
366,
15592,
1,
796,
... |
What is the Quarterback rating of the player who got a comp percentage of 62.0? | SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0" | [
2061,
318,
262,
17264,
1891,
7955,
286,
262,
2137,
508,
1392,
257,
552,
5873,
286,
8190,
13,
15,
30,
46506,
10662,
65,
62,
8821,
16034,
3084,
62,
1507,
3104,
5066,
1558,
62,
16,
33411,
552,
834,
25067,
496,
796,
366,
5237,
13,
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
] | [
2061,
318,
262,
17264,
1891,
7955,
286,
262,
2137,
508,
1392,
257,
552,
5873,
286,
8190,
13,
15,
30,
46506,
10662,
65,
62,
8821,
16034,
3084,
62,
1507,
3104,
5066,
1558,
62,
16,
33411,
552,
834,
25067,
496,
796,
366,
5237,
13,
15,
... |
When did the first staff for the projects started working? | SELECT date_from FROM Project_Staff ORDER BY date_from LIMIT 1 | [
2215,
750,
262,
717,
3085,
329,
262,
4493,
2067,
1762,
30,
46506,
3128,
62,
6738,
16034,
4935,
62,
31449,
38678,
11050,
3128,
62,
6738,
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
] | [
2215,
750,
262,
717,
3085,
329,
262,
4493,
2067,
1762,
30,
46506,
3128,
62,
6738,
16034,
4935,
62,
31449,
38678,
11050,
3128,
62,
6738,
27564,
2043,
352
] |
What is Party, when Results is 'Re-Elected', and when District is 'Louisiana 5'? | SELECT "Party" FROM table_62029 WHERE "Results" = 're-elected' AND "District" = 'louisiana 5' | [
2061,
318,
3615,
11,
618,
15691,
318,
705,
3041,
12,
36,
12609,
3256,
290,
618,
5665,
318,
705,
32117,
7484,
642,
30960,
46506,
366,
33553,
1,
16034,
3084,
62,
38850,
1959,
33411,
366,
25468,
1,
796,
705,
260,
12,
28604,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3615,
11,
618,
15691,
318,
705,
3041,
12,
36,
12609,
3256,
290,
618,
5665,
318,
705,
32117,
7484,
642,
30960,
46506,
366,
33553,
1,
16034,
3084,
62,
38850,
1959,
33411,
366,
25468,
1,
796,
705,
260,
12,
28604,
6,
5357,
36... |
What is the average rank for Denmark? | SELECT AVG("Rank") FROM table_64185 WHERE "Country" = 'denmark' | [
2061,
318,
262,
2811,
4279,
329,
16490,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
2414,
21652,
33411,
366,
33921,
1,
796,
705,
6559,
4102,
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,
318,
262,
2811,
4279,
329,
16490,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
2414,
21652,
33411,
366,
33921,
1,
796,
705,
6559,
4102,
6
] |
When 2005 is the year played what is the lowest year drafted? | SELECT MIN(year_drafted) FROM table_18373863_2 WHERE years_played = "2005" | [
2215,
5075,
318,
262,
614,
2826,
644,
318,
262,
9016,
614,
15937,
30,
46506,
20625,
7,
1941,
62,
67,
30235,
8,
16034,
3084,
62,
1507,
2718,
2548,
5066,
62,
17,
33411,
812,
62,
21542,
796,
366,
14315,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5075,
318,
262,
614,
2826,
644,
318,
262,
9016,
614,
15937,
30,
46506,
20625,
7,
1941,
62,
67,
30235,
8,
16034,
3084,
62,
1507,
2718,
2548,
5066,
62,
17,
33411,
812,
62,
21542,
796,
366,
14315,
1
] |
Which season has the Renova Club? | SELECT season FROM table_name_43 WHERE club = "renova" | [
13828,
1622,
468,
262,
7152,
10071,
6289,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
3559,
33411,
3430,
796,
366,
918,
10071,
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,
1622,
468,
262,
7152,
10071,
6289,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
3559,
33411,
3430,
796,
366,
918,
10071,
1
] |
What are the notes with a less than 3 rank at Yuvileiny Stadium (sumy)? | SELECT "Notes" FROM table_9388 WHERE "Rank" < '3' AND "Stadium" = 'yuvileiny stadium (sumy)' | [
2061,
389,
262,
4710,
351,
257,
1342,
621,
513,
4279,
379,
10605,
85,
576,
3541,
10499,
357,
16345,
88,
19427,
46506,
366,
16130,
1,
16034,
3084,
62,
24,
30460,
33411,
366,
27520,
1,
1279,
705,
18,
6,
5357,
366,
1273,
6271,
1,
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
] | [
2061,
389,
262,
4710,
351,
257,
1342,
621,
513,
4279,
379,
10605,
85,
576,
3541,
10499,
357,
16345,
88,
19427,
46506,
366,
16130,
1,
16034,
3084,
62,
24,
30460,
33411,
366,
27520,
1,
1279,
705,
18,
6,
5357,
366,
1273,
6271,
1,
796,
... |
In what year was Montenegro the host country? | SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro" | [
818,
644,
614,
373,
50008,
305,
262,
2583,
1499,
30,
46506,
614,
16034,
3084,
62,
2075,
2791,
2079,
2670,
62,
16,
33411,
2583,
62,
19315,
796,
366,
26031,
46495,
305,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
50008,
305,
262,
2583,
1499,
30,
46506,
614,
16034,
3084,
62,
2075,
2791,
2079,
2670,
62,
16,
33411,
2583,
62,
19315,
796,
366,
26031,
46495,
305,
1
] |
On which datebis arco arena 17361 the location attendance? | SELECT "Date" FROM table_2847 WHERE "Location Attendance" = 'Arco Arena 17361' | [
2202,
543,
3128,
41907,
610,
1073,
13478,
1596,
35195,
262,
4067,
14858,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2078,
2857,
33411,
366,
14749,
46502,
590,
1,
796,
705,
3163,
1073,
10937,
1596,
35195,
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
] | [
2202,
543,
3128,
41907,
610,
1073,
13478,
1596,
35195,
262,
4067,
14858,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2078,
2857,
33411,
366,
14749,
46502,
590,
1,
796,
705,
3163,
1073,
10937,
1596,
35195,
6
] |
what was the maximum yearly number of patients who were admitted for syst/diast hrt fail nos until 1 year ago? | SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'syst/diast hrt fail nos') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-1 year')... | [
10919,
373,
262,
5415,
24169,
1271,
286,
3871,
508,
547,
6848,
329,
827,
301,
14,
10989,
459,
289,
17034,
2038,
43630,
1566,
352,
614,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
24169,
1271,
286,
3871,
508,
547,
6848,
329,
827,
301,
14,
10989,
459,
289,
17034,
2038,
43630,
1566,
352,
614,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1... |
count the number of patients who have government insurance and their diagnosis icd9 code is 99702. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Government" AND diagnoses.icd9_code = "99702" | [
9127,
262,
1271,
286,
3871,
508,
423,
1230,
5096,
290,
511,
13669,
14158,
67,
24,
2438,
318,
7388,
36680,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1230,
5096,
290,
511,
13669,
14158,
67,
24,
2438,
318,
7388,
36680,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
617... |
Who was the driver that had all rounds and a f399 chassis? | SELECT driver FROM table_name_53 WHERE rounds = "all" AND chassis = "f399" | [
8241,
373,
262,
4639,
326,
550,
477,
9196,
290,
257,
277,
28771,
24587,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
4310,
33411,
9196,
796,
366,
439,
1,
5357,
24587,
796,
366,
69,
28771,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4639,
326,
550,
477,
9196,
290,
257,
277,
28771,
24587,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
4310,
33411,
9196,
796,
366,
439,
1,
5357,
24587,
796,
366,
69,
28771,
1
] |
What is the average of number_of_platforms for each location? Show the comparison with a bar chart, and sort from high to low by the total number. | SELECT Location, AVG(Number_of_Platforms) FROM station GROUP BY Location ORDER BY AVG(Number_of_Platforms) DESC | [
2061,
318,
262,
2811,
286,
1271,
62,
1659,
62,
24254,
82,
329,
1123,
4067,
30,
5438,
262,
7208,
351,
257,
2318,
8262,
11,
290,
3297,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
13,
46506,
13397,
11,
35224,
7,
15057,
62,
1659,
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... | [
2061,
318,
262,
2811,
286,
1271,
62,
1659,
62,
24254,
82,
329,
1123,
4067,
30,
5438,
262,
7208,
351,
257,
2318,
8262,
11,
290,
3297,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
13,
46506,
13397,
11,
35224,
7,
15057,
62,
1659,
62,
... |
What day did the record reach 15-4? | SELECT "Date" FROM table_69464 WHERE "Record" = '15-4' | [
2061,
1110,
750,
262,
1700,
3151,
1315,
12,
19,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3388,
44578,
33411,
366,
23739,
1,
796,
705,
1314,
12,
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,
1110,
750,
262,
1700,
3151,
1315,
12,
19,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3388,
44578,
33411,
366,
23739,
1,
796,
705,
1314,
12,
19,
6
] |
What is Team 2 if the 1st Leg is 3-1 and the 2nd Leg is 4-1? | SELECT "Team 2" FROM table_59765 WHERE "1st leg" = '3-1' AND "2nd leg" = '4-1' | [
2061,
318,
4816,
362,
611,
262,
352,
301,
3564,
318,
513,
12,
16,
290,
262,
362,
358,
3564,
318,
604,
12,
16,
30,
46506,
366,
15592,
362,
1,
16034,
3084,
62,
3270,
29143,
33411,
366,
16,
301,
1232,
1,
796,
705,
18,
12,
16,
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,
1,
1,
1,
1
] | [
2061,
318,
4816,
362,
611,
262,
352,
301,
3564,
318,
513,
12,
16,
290,
262,
362,
358,
3564,
318,
604,
12,
16,
30,
46506,
366,
15592,
362,
1,
16034,
3084,
62,
3270,
29143,
33411,
366,
16,
301,
1232,
1,
796,
705,
18,
12,
16,
6,
... |
What is the highest number a guard from brophy college prep wore? | SELECT MAX(_number) FROM table_29050051_3 WHERE position = "Guard" AND previous_school = "Brophy College Prep" | [
2061,
318,
262,
4511,
1271,
257,
4860,
422,
1379,
6883,
4152,
3143,
12408,
30,
46506,
25882,
28264,
17618,
8,
16034,
3084,
62,
1959,
2713,
405,
4349,
62,
18,
33411,
2292,
796,
366,
24502,
1,
5357,
2180,
62,
14347,
796,
366,
15783,
688... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
257,
4860,
422,
1379,
6883,
4152,
3143,
12408,
30,
46506,
25882,
28264,
17618,
8,
16034,
3084,
62,
1959,
2713,
405,
4349,
62,
18,
33411,
2292,
796,
366,
24502,
1,
5357,
2180,
62,
14347,
796,
366,
15783,
688... |
Give me the comparison about author_tutor_ATB over the password . | SELECT password, author_tutor_ATB FROM Course_Authors_and_Tutors ORDER BY personal_name | [
23318,
502,
262,
7208,
546,
1772,
62,
83,
38409,
62,
1404,
33,
625,
262,
9206,
764,
46506,
9206,
11,
1772,
62,
83,
38409,
62,
1404,
33,
16034,
20537,
62,
30515,
669,
62,
392,
62,
51,
315,
669,
38678,
11050,
2614,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7208,
546,
1772,
62,
83,
38409,
62,
1404,
33,
625,
262,
9206,
764,
46506,
9206,
11,
1772,
62,
83,
38409,
62,
1404,
33,
16034,
20537,
62,
30515,
669,
62,
392,
62,
51,
315,
669,
38678,
11050,
2614,
62,
3672
] |
What is City, when ASTC Member is No, when State is California, and when AAM Member is Yes? | SELECT city FROM table_name_62 WHERE astc_member = "no" AND state = "california" AND aam_member = "yes" | [
2061,
318,
2254,
11,
618,
29273,
34,
10239,
318,
1400,
11,
618,
1812,
318,
3442,
11,
290,
618,
317,
2390,
10239,
318,
3363,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
5237,
33411,
6468,
66,
62,
19522,
796,
366,
3919,
1,
5357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
2254,
11,
618,
29273,
34,
10239,
318,
1400,
11,
618,
1812,
318,
3442,
11,
290,
618,
317,
2390,
10239,
318,
3363,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
5237,
33411,
6468,
66,
62,
19522,
796,
366,
3919,
1,
5357,
1181,... |
what was the average age of the first three on the list ? | SELECT AVG("age") FROM table_204_145 WHERE id <= 3 | [
10919,
373,
262,
2811,
2479,
286,
262,
717,
1115,
319,
262,
1351,
5633,
46506,
35224,
7203,
496,
4943,
16034,
3084,
62,
18638,
62,
18781,
33411,
4686,
19841,
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
] | [
10919,
373,
262,
2811,
2479,
286,
262,
717,
1115,
319,
262,
1351,
5633,
46506,
35224,
7203,
496,
4943,
16034,
3084,
62,
18638,
62,
18781,
33411,
4686,
19841,
513
] |
i'd like a flight from INDIANAPOLIS to TORONTO leaving thursday morning nonstop | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TORONTO' AND date_day.day_number = 24 AND date_day.month_number = 5 AND... | [
72,
1549,
588,
257,
5474,
422,
24413,
16868,
2969,
3535,
1797,
284,
40691,
1340,
10468,
4305,
294,
3479,
3329,
1729,
11338,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
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... | [
72,
1549,
588,
257,
5474,
422,
24413,
16868,
2969,
3535,
1797,
284,
40691,
1340,
10468,
4305,
294,
3479,
3329,
1729,
11338,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
2... |
what is the gender and admission time of patient id 2560? | SELECT demographic.gender, demographic.admittime FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
262,
5279,
290,
13938,
640,
286,
5827,
4686,
1679,
1899,
30,
46506,
16728,
13,
8388,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5279,
290,
13938,
640,
286,
5827,
4686,
1679,
1899,
30,
46506,
16728,
13,
8388,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
when was the last time patient 23237 was prescribed drugs via ih? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23237) AND prescriptions.route = 'ih' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
373,
262,
938,
640,
5827,
2242,
24693,
373,
14798,
5010,
2884,
1312,
71,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
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... | [
12518,
373,
262,
938,
640,
5827,
2242,
24693,
373,
14798,
5010,
2884,
1312,
71,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
... |
how much do beta blocker - metoprolol costs? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'beta blocker - metoprolol') | [
4919,
881,
466,
12159,
38731,
532,
1138,
404,
3225,
349,
3484,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
3513,
13,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
12159,
38731,
532,
1138,
404,
3225,
349,
3484,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
3513,
13,
4... |
None of the rounds has Roger Williamson as a driver. | SELECT "Rounds" FROM table_58307 WHERE "Driver" = 'roger williamson' | [
14202,
286,
262,
9196,
468,
13637,
34974,
355,
257,
4639,
13,
46506,
366,
49,
3733,
1,
16034,
3084,
62,
3365,
22996,
33411,
366,
32103,
1,
796,
705,
305,
1362,
481,
1789,
1559,
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
] | [
14202,
286,
262,
9196,
468,
13637,
34974,
355,
257,
4639,
13,
46506,
366,
49,
3733,
1,
16034,
3084,
62,
3365,
22996,
33411,
366,
32103,
1,
796,
705,
305,
1362,
481,
1789,
1559,
6
] |
Find the full name of the customer with the email 'luisg@embraer.com.br'. | SELECT firstname, lastname FROM customer WHERE email = "luisg@embraer.com.br" | [
16742,
262,
1336,
1438,
286,
262,
6491,
351,
262,
3053,
705,
2290,
271,
70,
31,
368,
16057,
263,
13,
785,
13,
1671,
4458,
46506,
717,
3672,
11,
938,
3672,
16034,
6491,
33411,
3053,
796,
366,
2290,
271,
70,
31,
368,
16057,
263,
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
] | [
16742,
262,
1336,
1438,
286,
262,
6491,
351,
262,
3053,
705,
2290,
271,
70,
31,
368,
16057,
263,
13,
785,
13,
1671,
4458,
46506,
717,
3672,
11,
938,
3672,
16034,
6491,
33411,
3053,
796,
366,
2290,
271,
70,
31,
368,
16057,
263,
13,
... |
how many patients received antihyperlipidemic agent - hmg-coa reductase inhibitor within 2 months after having received cpap/peep therapy - 5-10 cm h2o? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cpap/peep therapy - 5-10 cm h2o') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime FROM treatme... | [
4919,
867,
3871,
2722,
3098,
49229,
40712,
312,
5314,
5797,
532,
289,
11296,
12,
1073,
64,
2027,
310,
589,
41704,
1626,
362,
1933,
706,
1719,
2722,
31396,
499,
14,
431,
538,
9102,
532,
642,
12,
940,
12067,
289,
17,
78,
30,
46506,
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... | [
4919,
867,
3871,
2722,
3098,
49229,
40712,
312,
5314,
5797,
532,
289,
11296,
12,
1073,
64,
2027,
310,
589,
41704,
1626,
362,
1933,
706,
1719,
2722,
31396,
499,
14,
431,
538,
9102,
532,
642,
12,
940,
12067,
289,
17,
78,
30,
46506,
32... |
How many productions are shown for rd 2? | SELECT COUNT(production) FROM table_26686908_2 WHERE rd = "Rd 2" | [
2437,
867,
32260,
389,
3402,
329,
374,
67,
362,
30,
46506,
327,
28270,
7,
25493,
8,
16034,
3084,
62,
2075,
3104,
3388,
2919,
62,
17,
33411,
374,
67,
796,
366,
49,
67,
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,
32260,
389,
3402,
329,
374,
67,
362,
30,
46506,
327,
28270,
7,
25493,
8,
16034,
3084,
62,
2075,
3104,
3388,
2919,
62,
17,
33411,
374,
67,
796,
366,
49,
67,
362,
1
] |
how many total films has she starred in ? | SELECT COUNT("film") FROM table_203_157 | [
4919,
867,
2472,
7328,
468,
673,
31636,
287,
5633,
46506,
327,
28270,
7203,
26240,
4943,
16034,
3084,
62,
22416,
62,
18458
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2472,
7328,
468,
673,
31636,
287,
5633,
46506,
327,
28270,
7203,
26240,
4943,
16034,
3084,
62,
22416,
62,
18458
] |
What was the result for 10/04/1947? | SELECT "Result" FROM table_48491 WHERE "Date" = '10/04/1947' | [
2061,
373,
262,
1255,
329,
838,
14,
3023,
14,
1129,
2857,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2780,
41289,
33411,
366,
10430,
1,
796,
705,
940,
14,
3023,
14,
1129,
2857,
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,
373,
262,
1255,
329,
838,
14,
3023,
14,
1129,
2857,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2780,
41289,
33411,
366,
10430,
1,
796,
705,
940,
14,
3023,
14,
1129,
2857,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.