instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
List the names of countries whose language is not 'German'. | SELECT name FROM country WHERE languages <> "German" | [
8053,
262,
3891,
286,
2678,
3025,
3303,
318,
407,
705,
16010,
4458,
46506,
1438,
16034,
1499,
33411,
8950,
1279,
29,
366,
16010,
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,
3891,
286,
2678,
3025,
3303,
318,
407,
705,
16010,
4458,
46506,
1438,
16034,
1499,
33411,
8950,
1279,
29,
366,
16010,
1
] |
Show me a bar chart for what is the total credit does each department offer?, rank from low to high by the bars. | SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY DEPT_CODE | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
2472,
3884,
857,
1123,
5011,
2897,
21747,
4279,
422,
1877,
284,
1029,
416,
262,
9210,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
34,
6998,
62,
9419,
24706,
8,
16034,
37384,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
2472,
3884,
857,
1123,
5011,
2897,
21747,
4279,
422,
1877,
284,
1029,
416,
262,
9210,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
34,
6998,
62,
9419,
24706,
8,
16034,
37384,
... |
Show names of climbers and the names of mountains they climb. | SELECT T1.Name, T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | [
15307,
3891,
286,
39311,
290,
262,
3891,
286,
12269,
484,
12080,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
5376,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
44,
18635,
62,
2389,
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
] | [
15307,
3891,
286,
39311,
290,
262,
3891,
286,
12269,
484,
12080,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
5376,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
44,
18635,
62,
2389,
796,
... |
What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone? | SELECT COUNT("# of Prefectural votes") FROM table_48591 WHERE "# of seats won" > '69' AND "Leader" = 'yasuhiro nakasone' | [
2061,
318,
262,
2472,
1271,
286,
1303,
3226,
3771,
2309,
1523,
39584,
11,
618,
1303,
3226,
1001,
1381,
23306,
318,
3744,
621,
8644,
11,
290,
618,
10540,
318,
25957,
84,
49907,
22255,
292,
505,
30,
46506,
327,
28270,
7203,
2,
286,
3771... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1303,
3226,
3771,
2309,
1523,
39584,
11,
618,
1303,
3226,
1001,
1381,
23306,
318,
3744,
621,
8644,
11,
290,
618,
10540,
318,
25957,
84,
49907,
22255,
292,
505,
30,
46506,
327,
28270,
7203,
2,
286,
3771... |
Name the most popular release on houston. | SELECT T2.groupname FROM torrents AS T2 JOIN tags AS T1 ON T1.id = T2.id WHERE T1.tag = "houston" ORDER BY totalsnatched DESC LIMIT 1 | [
5376,
262,
749,
2968,
2650,
319,
289,
6526,
13,
46506,
309,
17,
13,
8094,
3672,
16034,
24458,
82,
7054,
309,
17,
32357,
1268,
15940,
7054,
309,
16,
6177,
309,
16,
13,
312,
796,
309,
17,
13,
312,
33411,
309,
16,
13,
12985,
796,
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
] | [
5376,
262,
749,
2968,
2650,
319,
289,
6526,
13,
46506,
309,
17,
13,
8094,
3672,
16034,
24458,
82,
7054,
309,
17,
32357,
1268,
15940,
7054,
309,
16,
6177,
309,
16,
13,
312,
796,
309,
17,
13,
312,
33411,
309,
16,
13,
12985,
796,
366... |
what song on prophets vs. profits has no producer ? | SELECT "title" FROM table_203_37 WHERE "producer(s)" IS NULL | [
10919,
3496,
319,
30687,
3691,
13,
10177,
468,
645,
9920,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
2718,
33411,
366,
18230,
2189,
7,
82,
16725,
3180,
15697
] | [
1,
1,
1,
1,
1,
1,
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,
3496,
319,
30687,
3691,
13,
10177,
468,
645,
9920,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
2718,
33411,
366,
18230,
2189,
7,
82,
16725,
3180,
15697
] |
Find the number of booking start date for the apartments that have more than two bedrooms for each weekday with a bar chart, and order total number in asc order. | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2 ORDER BY COUNT(booking_start_date) | [
16742,
262,
1271,
286,
25452,
923,
3128,
329,
262,
19592,
326,
423,
517,
621,
734,
38529,
329,
1123,
28269,
351,
257,
2318,
8262,
11,
290,
1502,
2472,
1271,
287,
10570,
1502,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
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... | [
16742,
262,
1271,
286,
25452,
923,
3128,
329,
262,
19592,
326,
423,
517,
621,
734,
38529,
329,
1123,
28269,
351,
257,
2318,
8262,
11,
290,
1502,
2472,
1271,
287,
10570,
1502,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
... |
count the number of patients admitted before the year 2164 whose lab test name is lactate. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2164" AND lab.label = "Lactate" | [
9127,
262,
1271,
286,
3871,
6848,
878,
262,
614,
362,
23237,
3025,
2248,
1332,
1438,
318,
26222,
378,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
6848,
878,
262,
614,
362,
23237,
3025,
2248,
1332,
1438,
318,
26222,
378,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16... |
define airline UA | SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'UA' | [
13086,
18091,
471,
11159,
16779,
360,
8808,
1268,
4177,
18091,
62,
8189,
16034,
18091,
33411,
18091,
62,
8189,
796,
705,
34970,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13086,
18091,
471,
11159,
16779,
360,
8808,
1268,
4177,
18091,
62,
8189,
16034,
18091,
33411,
18091,
62,
8189,
796,
705,
34970,
6
] |
What is the area of the coed school with a state authority and a roll number of 122? | SELECT "Area" FROM table_69300 WHERE "Authority" = 'state' AND "Gender" = 'coed' AND "Roll" = '122' | [
2061,
318,
262,
1989,
286,
262,
763,
276,
1524,
351,
257,
1181,
4934,
290,
257,
4836,
1271,
286,
19409,
30,
46506,
366,
30547,
1,
16034,
3084,
62,
3388,
6200,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
366,
41394,
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
] | [
2061,
318,
262,
1989,
286,
262,
763,
276,
1524,
351,
257,
1181,
4934,
290,
257,
4836,
1271,
286,
19409,
30,
46506,
366,
30547,
1,
16034,
3084,
62,
3388,
6200,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
366,
41394,
1,
796,
... |
What is the latest year that data is available for? | SELECT MAX(year) FROM table_22834834_12 | [
2061,
318,
262,
3452,
614,
326,
1366,
318,
1695,
329,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
23815,
28978,
2682,
62,
1065
] | [
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,
3452,
614,
326,
1366,
318,
1695,
329,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
23815,
28978,
2682,
62,
1065
] |
how many days did it elapse since patient 52898 was first diagnosed with cardiac dysrhythmias nec in their current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cardiac dysrhythmias nec') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM adm... | [
4919,
867,
1528,
750,
340,
1288,
7512,
1201,
5827,
642,
2078,
4089,
373,
717,
14641,
351,
26077,
13147,
17179,
34853,
4448,
27576,
287,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
750,
340,
1288,
7512,
1201,
5827,
642,
2078,
4089,
373,
717,
14641,
351,
26077,
13147,
17179,
34853,
4448,
27576,
287,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237... |
Which Attendance has an Opponent of crawley town? | SELECT "Attendance" FROM table_39193 WHERE "Opponent" = 'crawley town' | [
13828,
46502,
590,
468,
281,
9385,
3471,
286,
27784,
1636,
3240,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2670,
24943,
33411,
366,
27524,
3471,
1,
796,
705,
66,
1831,
1636,
3240,
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
] | [
13828,
46502,
590,
468,
281,
9385,
3471,
286,
27784,
1636,
3240,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2670,
24943,
33411,
366,
27524,
3471,
1,
796,
705,
66,
1831,
1636,
3240,
6
] |
How many battles resulted in Battle of the Yellow Sea? | SELECT COUNT(result) FROM table_26977890_1 WHERE battles = "Battle of the Yellow Sea" | [
2437,
867,
10181,
8724,
287,
5838,
286,
262,
12550,
6896,
30,
46506,
327,
28270,
7,
20274,
8,
16034,
3084,
62,
26276,
39761,
3829,
62,
16,
33411,
10181,
796,
366,
24064,
286,
262,
12550,
6896,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10181,
8724,
287,
5838,
286,
262,
12550,
6896,
30,
46506,
327,
28270,
7,
20274,
8,
16034,
3084,
62,
26276,
39761,
3829,
62,
16,
33411,
10181,
796,
366,
24064,
286,
262,
12550,
6896,
1
] |
Who has less than 5 rank and notes of fb? | SELECT "Athlete" FROM table_14068 WHERE "Notes" = 'fb' AND "Rank" < '5' | [
8241,
468,
1342,
621,
642,
4279,
290,
4710,
286,
277,
65,
30,
46506,
366,
32,
400,
5807,
1,
16034,
3084,
62,
15187,
3104,
33411,
366,
16130,
1,
796,
705,
21855,
6,
5357,
366,
27520,
1,
1279,
705,
20,
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,
468,
1342,
621,
642,
4279,
290,
4710,
286,
277,
65,
30,
46506,
366,
32,
400,
5807,
1,
16034,
3084,
62,
15187,
3104,
33411,
366,
16130,
1,
796,
705,
21855,
6,
5357,
366,
27520,
1,
1279,
705,
20,
6
] |
count the number of patients whose ethnicity is american indian/alaska native and diagnoses long title is hypertensive chronic kidney disease, unspecified, with chronic kidney disease stage i through stage iv, or unspecified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND diagnoses.long_title = "Hypertensive chronic kidney disease, unspecified, with chronic kidney disease stage I through stage IV,... | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
40567,
890,
3670,
318,
32608,
2021,
10726,
21919,
4369,
11,
29547,
11,
351,
10726,
21919,
4369,
3800,
1312,
832,
3800,
21628,
11,
393,
29547,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
40567,
890,
3670,
318,
32608,
2021,
10726,
21919,
4369,
11,
29547,
11,
351,
10726,
21919,
4369,
3800,
1312,
832,
3800,
21628,
11,
393,
29547,
... |
Region of eastern england has what investment income? | SELECT investment_income FROM table_name_30 WHERE region = "eastern england" | [
47371,
286,
10183,
1786,
1044,
468,
644,
4896,
3739,
30,
46506,
4896,
62,
12519,
16034,
3084,
62,
3672,
62,
1270,
33411,
3814,
796,
366,
68,
6470,
1786,
1044,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
47371,
286,
10183,
1786,
1044,
468,
644,
4896,
3739,
30,
46506,
4896,
62,
12519,
16034,
3084,
62,
3672,
62,
1270,
33411,
3814,
796,
366,
68,
6470,
1786,
1044,
1
] |
count the number of patients whose year of death is less than or equal to 2111 and lab test fluid is other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2111.0" AND lab.fluid = "Other Body Fluid" | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
16243,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
16243,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What is the largest lost stat when the difference is - 19? | SELECT MAX(lost) FROM table_name_36 WHERE difference = "- 19" | [
2061,
318,
262,
4387,
2626,
1185,
618,
262,
3580,
318,
532,
678,
30,
46506,
25882,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
3580,
796,
27444,
678,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4387,
2626,
1185,
618,
262,
3580,
318,
532,
678,
30,
46506,
25882,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
3580,
796,
27444,
678,
1
] |
What's the place of 1989 with a comp of ECH? | SELECT "Place" FROM table_66304 WHERE "Comp" = 'ech' AND "Date" = '1989' | [
2061,
338,
262,
1295,
286,
11104,
351,
257,
552,
286,
412,
3398,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
2791,
21288,
33411,
366,
7293,
1,
796,
705,
3055,
6,
5357,
366,
10430,
1,
796,
705,
25475,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1295,
286,
11104,
351,
257,
552,
286,
412,
3398,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
2791,
21288,
33411,
366,
7293,
1,
796,
705,
3055,
6,
5357,
366,
10430,
1,
796,
705,
25475,
6
] |
What is the latest season number for a show with a production code of 816? | SELECT MAX("No. in season") FROM table_73102 WHERE "Production code" = '816' | [
2061,
318,
262,
3452,
1622,
1271,
329,
257,
905,
351,
257,
3227,
2438,
286,
807,
1433,
30,
46506,
25882,
7203,
2949,
13,
287,
1622,
4943,
16034,
3084,
62,
4790,
15377,
33411,
366,
35027,
2438,
1,
796,
705,
23,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3452,
1622,
1271,
329,
257,
905,
351,
257,
3227,
2438,
286,
807,
1433,
30,
46506,
25882,
7203,
2949,
13,
287,
1622,
4943,
16034,
3084,
62,
4790,
15377,
33411,
366,
35027,
2438,
1,
796,
705,
23,
1433,
6
] |
Which Date has an Attendance of 57,013? | SELECT date FROM table_name_36 WHERE attendance = "57,013" | [
13828,
7536,
468,
281,
46502,
590,
286,
7632,
11,
30273,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2623,
33411,
14858,
796,
366,
3553,
11,
30273,
1
] | [
1,
1,
1,
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,
281,
46502,
590,
286,
7632,
11,
30273,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2623,
33411,
14858,
796,
366,
3553,
11,
30273,
1
] |
What's the series number of the episode seen by 17.04 million people in the US? | SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04" | [
2061,
338,
262,
2168,
1271,
286,
262,
4471,
1775,
416,
1596,
13,
3023,
1510,
661,
287,
262,
1294,
30,
46506,
25882,
7,
3919,
62,
259,
62,
25076,
8,
16034,
3084,
62,
17572,
40401,
4761,
62,
17,
33411,
514,
62,
1177,
364,
834,
17805,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2168,
1271,
286,
262,
4471,
1775,
416,
1596,
13,
3023,
1510,
661,
287,
262,
1294,
30,
46506,
25882,
7,
3919,
62,
259,
62,
25076,
8,
16034,
3084,
62,
17572,
40401,
4761,
62,
17,
33411,
514,
62,
1177,
364,
834,
17805,
... |
How many million viewers watched the episode that aired on March 28, 2010? | SELECT "Viewers (millions)" FROM table_26028 WHERE "Airdate" = 'March 28, 2010' | [
2437,
867,
1510,
10209,
7342,
262,
4471,
326,
18530,
319,
2805,
2579,
11,
3050,
30,
46506,
366,
7680,
364,
357,
17805,
507,
16725,
16034,
3084,
62,
21719,
2078,
33411,
366,
32,
1447,
378,
1,
796,
705,
16192,
2579,
11,
3050,
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
] | [
2437,
867,
1510,
10209,
7342,
262,
4471,
326,
18530,
319,
2805,
2579,
11,
3050,
30,
46506,
366,
7680,
364,
357,
17805,
507,
16725,
16034,
3084,
62,
21719,
2078,
33411,
366,
32,
1447,
378,
1,
796,
705,
16192,
2579,
11,
3050,
6
] |
how many patients whose year of birth is less than 2087 and lab test fluid is joint fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2087" AND lab.fluid = "Joint Fluid" | [
4919,
867,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
5774,
290,
2248,
1332,
11711,
318,
6466,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
5774,
290,
2248,
1332,
11711,
318,
6466,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... |
what are the morning flights from BOSTON to PHILADELPHIA | 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, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILAD... | [
10919,
389,
262,
3329,
13956,
422,
347,
10892,
1340,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
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,
389,
262,
3329,
13956,
422,
347,
10892,
1340,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... |
What is the League a for 1908 1928? | SELECT "League a" FROM table_7344 WHERE "Years" = '1908–1928' | [
2061,
318,
262,
4041,
257,
329,
40417,
35768,
30,
46506,
366,
24623,
257,
1,
16034,
3084,
62,
4790,
2598,
33411,
366,
40630,
1,
796,
705,
1129,
2919,
1906,
1129,
2078,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4041,
257,
329,
40417,
35768,
30,
46506,
366,
24623,
257,
1,
16034,
3084,
62,
4790,
2598,
33411,
366,
40630,
1,
796,
705,
1129,
2919,
1906,
1129,
2078,
6
] |
Post Basics, Filtered More (Tutorial). | SELECT Title, Id, Score, ViewCount, CreationDate, PostTypeId FROM Posts WHERE CreationDate >= '2015-07-27 00:00:00.000' AND PostTypeId = 0 OR Score >= 25 | [
6307,
45884,
11,
7066,
4400,
3125,
357,
51,
44917,
737,
46506,
11851,
11,
5121,
11,
15178,
11,
3582,
12332,
11,
21582,
10430,
11,
2947,
6030,
7390,
16034,
12043,
33411,
21582,
10430,
18189,
705,
4626,
12,
2998,
12,
1983,
3571,
25,
405,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6307,
45884,
11,
7066,
4400,
3125,
357,
51,
44917,
737,
46506,
11851,
11,
5121,
11,
15178,
11,
3582,
12332,
11,
21582,
10430,
11,
2947,
6030,
7390,
16034,
12043,
33411,
21582,
10430,
18189,
705,
4626,
12,
2998,
12,
1983,
3571,
25,
405,
... |
Who were the high point scorers in game 7? | SELECT high_points FROM table_13464416_4 WHERE game = 7 | [
8241,
547,
262,
1029,
966,
4776,
3808,
287,
983,
767,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
19880,
29173,
1433,
62,
19,
33411,
983,
796,
767
] | [
1,
1,
1,
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,
547,
262,
1029,
966,
4776,
3808,
287,
983,
767,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
19880,
29173,
1433,
62,
19,
33411,
983,
796,
767
] |
which model had the most production during the years of manufacture ? | SELECT "model" FROM table_203_253 ORDER BY "production" DESC LIMIT 1 | [
4758,
2746,
550,
262,
749,
3227,
1141,
262,
812,
286,
6161,
5633,
46506,
366,
19849,
1,
16034,
3084,
62,
22416,
62,
28592,
38678,
11050,
366,
25493,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2746,
550,
262,
749,
3227,
1141,
262,
812,
286,
6161,
5633,
46506,
366,
19849,
1,
16034,
3084,
62,
22416,
62,
28592,
38678,
11050,
366,
25493,
1,
22196,
34,
27564,
2043,
352
] |
Which venue's home team is geelong? | SELECT "Venue" FROM table_74603 WHERE "Home team" = 'geelong' | [
13828,
14359,
338,
1363,
1074,
318,
4903,
21537,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4524,
35642,
33411,
366,
16060,
1074,
1,
796,
705,
469,
21537,
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,
14359,
338,
1363,
1074,
318,
4903,
21537,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4524,
35642,
33411,
366,
16060,
1074,
1,
796,
705,
469,
21537,
6
] |
What was the date of the game when the record was 53 104? | SELECT date FROM table_name_89 WHERE record = "53–104" | [
2061,
373,
262,
3128,
286,
262,
983,
618,
262,
1700,
373,
7192,
14436,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4531,
33411,
1700,
796,
366,
4310,
1906,
13464,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3128,
286,
262,
983,
618,
262,
1700,
373,
7192,
14436,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4531,
33411,
1700,
796,
366,
4310,
1906,
13464,
1
] |
Name the broadcast date for 6.0 viewers | SELECT "Broadcast date" FROM table_24057 WHERE "Viewers (in millions)" = '6.0' | [
5376,
262,
7025,
3128,
329,
718,
13,
15,
10209,
46506,
366,
30507,
2701,
3128,
1,
16034,
3084,
62,
1731,
43526,
33411,
366,
7680,
364,
357,
259,
5242,
16725,
796,
705,
21,
13,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
7025,
3128,
329,
718,
13,
15,
10209,
46506,
366,
30507,
2701,
3128,
1,
16034,
3084,
62,
1731,
43526,
33411,
366,
7680,
364,
357,
259,
5242,
16725,
796,
705,
21,
13,
15,
6
] |
how many episodes were directed by perry lang | SELECT COUNT("title") FROM table_203_306 WHERE "directed by" = 'perry lang' | [
4919,
867,
8640,
547,
7924,
416,
583,
563,
42392,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
20548,
33411,
366,
34762,
416,
1,
796,
705,
525,
563,
42392,
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
] | [
4919,
867,
8640,
547,
7924,
416,
583,
563,
42392,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
20548,
33411,
366,
34762,
416,
1,
796,
705,
525,
563,
42392,
6
] |
Name the country for airline of gol | SELECT country FROM table_name_33 WHERE airline = "gol" | [
5376,
262,
1499,
329,
18091,
286,
43791,
46506,
1499,
16034,
3084,
62,
3672,
62,
2091,
33411,
18091,
796,
366,
70,
349,
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,
1499,
329,
18091,
286,
43791,
46506,
1499,
16034,
3084,
62,
3672,
62,
2091,
33411,
18091,
796,
366,
70,
349,
1
] |
What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998? | SELECT MIN("Enrollment") FROM table_50469 WHERE "Founded" = '1992' AND "Joined Conference" < '1998' | [
2061,
318,
262,
9016,
18724,
1524,
326,
373,
9393,
287,
9768,
290,
5399,
257,
4495,
878,
7795,
30,
46506,
20625,
7203,
4834,
48108,
4943,
16034,
3084,
62,
33580,
3388,
33411,
366,
37,
6302,
1,
796,
705,
23847,
6,
5357,
366,
24363,
878... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18724,
1524,
326,
373,
9393,
287,
9768,
290,
5399,
257,
4495,
878,
7795,
30,
46506,
20625,
7203,
4834,
48108,
4943,
16034,
3084,
62,
33580,
3388,
33411,
366,
37,
6302,
1,
796,
705,
23847,
6,
5357,
366,
24363,
878... |
what is the highest top-5 when wins is more than 1? | SELECT MAX("Top-5") FROM table_63962 WHERE "Wins" > '1' | [
10919,
318,
262,
4511,
1353,
12,
20,
618,
7864,
318,
517,
621,
352,
30,
46506,
25882,
7203,
9126,
12,
20,
4943,
16034,
3084,
62,
21,
2670,
5237,
33411,
366,
54,
1040,
1,
1875,
705,
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
] | [
10919,
318,
262,
4511,
1353,
12,
20,
618,
7864,
318,
517,
621,
352,
30,
46506,
25882,
7203,
9126,
12,
20,
4943,
16034,
3084,
62,
21,
2670,
5237,
33411,
366,
54,
1040,
1,
1875,
705,
16,
6
] |
What was the essendon score when they were at home? | SELECT home_team AS score FROM table_name_25 WHERE home_team = "essendon" | [
2061,
373,
262,
3209,
43153,
4776,
618,
484,
547,
379,
1363,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1495,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3209,
43153,
4776,
618,
484,
547,
379,
1363,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1495,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] |
What is the Road Team of Game 3? | SELECT "Road Team" FROM table_46899 WHERE "Game" = 'game 3' | [
2061,
318,
262,
5567,
4816,
286,
3776,
513,
30,
46506,
366,
29197,
4816,
1,
16034,
3084,
62,
38472,
2079,
33411,
366,
8777,
1,
796,
705,
6057,
513,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5567,
4816,
286,
3776,
513,
30,
46506,
366,
29197,
4816,
1,
16034,
3084,
62,
38472,
2079,
33411,
366,
8777,
1,
796,
705,
6057,
513,
6
] |
Which Year has a Producer of viva films, and a Title of magkapatid? | SELECT year FROM table_name_41 WHERE producer = "viva films" AND title = "magkapatid" | [
13828,
6280,
468,
257,
30436,
286,
410,
12151,
7328,
11,
290,
257,
11851,
286,
2153,
74,
499,
265,
312,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
3901,
33411,
9920,
796,
366,
85,
12151,
7328,
1,
5357,
3670,
796,
366,
19726,
74,
499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6280,
468,
257,
30436,
286,
410,
12151,
7328,
11,
290,
257,
11851,
286,
2153,
74,
499,
265,
312,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
3901,
33411,
9920,
796,
366,
85,
12151,
7328,
1,
5357,
3670,
796,
366,
19726,
74,
499... |
What is the Venue, when the Winner is iain pyman? | SELECT venue FROM table_name_19 WHERE winner = "iain pyman" | [
2061,
318,
262,
9932,
518,
11,
618,
262,
25358,
318,
1312,
391,
12972,
805,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1129,
33411,
8464,
796,
366,
72,
391,
12972,
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
] | [
2061,
318,
262,
9932,
518,
11,
618,
262,
25358,
318,
1312,
391,
12972,
805,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1129,
33411,
8464,
796,
366,
72,
391,
12972,
805,
1
] |
Who's the Socialist ticket with a Law Preservation ticket of (none), and a Socialist Labor ticket of belle j. rosen? | SELECT "Socialist ticket" FROM table_39759 WHERE "Law Preservation ticket" = '(none)' AND "Socialist Labor ticket" = 'belle j. rosen' | [
8241,
338,
262,
21773,
7846,
351,
257,
3854,
47805,
7846,
286,
357,
23108,
828,
290,
257,
21773,
7882,
7846,
286,
894,
293,
474,
13,
686,
6248,
30,
46506,
366,
20636,
396,
7846,
1,
16034,
3084,
62,
2670,
38314,
33411,
366,
16966,
4780... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
21773,
7846,
351,
257,
3854,
47805,
7846,
286,
357,
23108,
828,
290,
257,
21773,
7882,
7846,
286,
894,
293,
474,
13,
686,
6248,
30,
46506,
366,
20636,
396,
7846,
1,
16034,
3084,
62,
2670,
38314,
33411,
366,
16966,
4780... |
Which Opponent is on september 9, 2004? | SELECT "Opponent" FROM table_13874 WHERE "Date" = 'september 9, 2004' | [
13828,
9385,
3471,
318,
319,
384,
457,
1491,
860,
11,
5472,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
20107,
4524,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
860,
11,
5472,
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
] | [
13828,
9385,
3471,
318,
319,
384,
457,
1491,
860,
11,
5472,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
20107,
4524,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
860,
11,
5472,
6
] |
What is the document type name and the document type description and creation date for all the documents? | SELECT T1.document_type_name, T1.document_type_description, T2.document_date FROM ref_document_types AS T1 JOIN documents AS T2 ON T1.document_type_code = T2.document_type_code | [
2061,
318,
262,
3188,
2099,
1438,
290,
262,
3188,
2099,
6764,
290,
6282,
3128,
329,
477,
262,
4963,
30,
46506,
309,
16,
13,
22897,
62,
4906,
62,
3672,
11,
309,
16,
13,
22897,
62,
4906,
62,
11213,
11,
309,
17,
13,
22897,
62,
4475,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
3188,
2099,
1438,
290,
262,
3188,
2099,
6764,
290,
6282,
3128,
329,
477,
262,
4963,
30,
46506,
309,
16,
13,
22897,
62,
4906,
62,
3672,
11,
309,
16,
13,
22897,
62,
4906,
62,
11213,
11,
309,
17,
13,
22897,
62,
4475,
... |
Draw a bar chart about the distribution of All_Road and School_ID , order by the Y-axis from low to high please. | SELECT All_Road, School_ID FROM basketball_match ORDER BY School_ID | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
29197,
290,
3961,
62,
2389,
837,
1502,
416,
262,
575,
12,
22704,
422,
1877,
284,
1029,
3387,
13,
46506,
1439,
62,
29197,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
29197,
290,
3961,
62,
2389,
837,
1502,
416,
262,
575,
12,
22704,
422,
1877,
284,
1029,
3387,
13,
46506,
1439,
62,
29197,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
... |
what is the daily minimum output (ml)-chest tube #1 pleural right anterior;lower output that patient 006-167444 has had until 6 months ago? | SELECT MIN(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 = '006-167444')) AND intakeoutput.celllabel = 'outp... | [
10919,
318,
262,
4445,
5288,
5072,
357,
4029,
13219,
46713,
12403,
1303,
16,
3339,
1523,
826,
32700,
26,
21037,
5072,
326,
5827,
3571,
21,
12,
21940,
30272,
468,
550,
1566,
718,
1933,
2084,
30,
46506,
20625,
7,
600,
539,
22915,
13,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4445,
5288,
5072,
357,
4029,
13219,
46713,
12403,
1303,
16,
3339,
1523,
826,
32700,
26,
21037,
5072,
326,
5827,
3571,
21,
12,
21940,
30272,
468,
550,
1566,
718,
1933,
2084,
30,
46506,
20625,
7,
600,
539,
22915,
13,
38... |
Which award was won by Gloria Stuart after 1984? | SELECT "Superlative" FROM table_52798 WHERE "Year" > '1984' AND "Actress" = 'gloria stuart' | [
13828,
5764,
373,
1839,
416,
38109,
22559,
706,
12844,
30,
46506,
366,
12442,
75,
876,
1,
16034,
3084,
62,
20,
1983,
4089,
33411,
366,
17688,
1,
1875,
705,
28296,
6,
5357,
366,
6398,
601,
1,
796,
705,
70,
4685,
544,
336,
19986,
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
] | [
13828,
5764,
373,
1839,
416,
38109,
22559,
706,
12844,
30,
46506,
366,
12442,
75,
876,
1,
16034,
3084,
62,
20,
1983,
4089,
33411,
366,
17688,
1,
1875,
705,
28296,
6,
5357,
366,
6398,
601,
1,
796,
705,
70,
4685,
544,
336,
19986,
6
] |
Who was the opponent on week 5? | SELECT opponent FROM table_name_4 WHERE week = "5" | [
8241,
373,
262,
6125,
319,
1285,
642,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
19,
33411,
1285,
796,
366,
20,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
319,
1285,
642,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
19,
33411,
1285,
796,
366,
20,
1
] |
Which chassis manufacturer is for fleet numbers range 2530-2558 | SELECT "Chassis Manufacturer" FROM table_19198 WHERE "Fleet Numbers" = '2530-2558' | [
13828,
24587,
11554,
318,
329,
11026,
3146,
2837,
1679,
1270,
12,
1495,
3365,
46506,
366,
1925,
20297,
40218,
1,
16034,
3084,
62,
1129,
22337,
33411,
366,
47669,
316,
27797,
1,
796,
705,
1495,
1270,
12,
1495,
3365,
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
] | [
13828,
24587,
11554,
318,
329,
11026,
3146,
2837,
1679,
1270,
12,
1495,
3365,
46506,
366,
1925,
20297,
40218,
1,
16034,
3084,
62,
1129,
22337,
33411,
366,
47669,
316,
27797,
1,
796,
705,
1495,
1270,
12,
1495,
3365,
6
] |
Show different occupations along with the number of players in each occupation Show bar chart, show in ascending by the bar. | SELECT Occupation, COUNT(*) FROM player GROUP BY Occupation ORDER BY Occupation | [
15307,
1180,
23308,
1863,
351,
262,
1271,
286,
1938,
287,
1123,
13755,
5438,
2318,
8262,
11,
905,
287,
41988,
416,
262,
2318,
13,
46506,
15227,
341,
11,
327,
28270,
7,
28104,
16034,
2137,
44441,
11050,
15227,
341,
38678,
11050,
15227,
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
] | [
15307,
1180,
23308,
1863,
351,
262,
1271,
286,
1938,
287,
1123,
13755,
5438,
2318,
8262,
11,
905,
287,
41988,
416,
262,
2318,
13,
46506,
15227,
341,
11,
327,
28270,
7,
28104,
16034,
2137,
44441,
11050,
15227,
341,
38678,
11050,
15227,
3... |
Who was the away team at Junction Oval? | SELECT "Away team" FROM table_55839 WHERE "Venue" = 'junction oval' | [
8241,
373,
262,
1497,
1074,
379,
44410,
25165,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
40486,
2670,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1497,
1074,
379,
44410,
25165,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
40486,
2670,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] |
Which golfer had a score of 69-71=140? | SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140 | [
13828,
43791,
2232,
550,
257,
4776,
286,
8644,
12,
4869,
28,
15187,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5066,
33411,
4776,
796,
8644,
532,
9166,
796,
12713
] | [
1,
1,
1,
1,
1,
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,
43791,
2232,
550,
257,
4776,
286,
8644,
12,
4869,
28,
15187,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5066,
33411,
4776,
796,
8644,
532,
9166,
796,
12713
] |
Who is the owner of CKLF-FM? | SELECT "Owner" FROM table_66600 WHERE "Call sign" = 'cklf-fm' | [
8241,
318,
262,
4870,
286,
45233,
43,
37,
12,
23264,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
2791,
8054,
33411,
366,
14134,
1051,
1,
796,
705,
694,
1652,
12,
38353,
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
] | [
8241,
318,
262,
4870,
286,
45233,
43,
37,
12,
23264,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
2791,
8054,
33411,
366,
14134,
1051,
1,
796,
705,
694,
1652,
12,
38353,
6
] |
Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96? | SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96" | [
13828,
15869,
468,
257,
10467,
286,
698,
17108,
33367,
726,
44655,
11,
290,
257,
7369,
286,
8735,
12,
4846,
30,
46506,
8783,
16034,
3084,
62,
3672,
62,
2414,
33411,
2368,
796,
366,
2436,
17108,
33367,
726,
44655,
1,
5357,
1622,
796,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15869,
468,
257,
10467,
286,
698,
17108,
33367,
726,
44655,
11,
290,
257,
7369,
286,
8735,
12,
4846,
30,
46506,
8783,
16034,
3084,
62,
3672,
62,
2414,
33411,
2368,
796,
366,
2436,
17108,
33367,
726,
44655,
1,
5357,
1622,
796,
3... |
count the number of patients whose marital status is married and item id is 50883? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.itemid = "50883" | [
9127,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
2378,
4686,
318,
2026,
49287,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
318,
6405,
290,
2378,
4686,
318,
2026,
49287,
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,
... |
return me the number of papers published in the VLDB conference in each year . | SELECT COUNT(DISTINCT (publication.title)), publication.year FROM conference, publication WHERE conference.name = 'VLDB' AND publication.cid = conference.cid GROUP BY publication.year | [
7783,
502,
262,
1271,
286,
9473,
3199,
287,
262,
569,
43,
11012,
4495,
287,
1123,
614,
764,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
11377,
341,
13,
7839,
36911,
9207,
13,
1941,
16034,
4495,
11,
9207,
33411,
4495,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7783,
502,
262,
1271,
286,
9473,
3199,
287,
262,
569,
43,
11012,
4495,
287,
1123,
614,
764,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
11377,
341,
13,
7839,
36911,
9207,
13,
1941,
16034,
4495,
11,
9207,
33411,
4495,
13,
3672,
... |
For those employees who was hired before 2002-06-21, show me about the distribution of job_id and the sum of employee_id , and group by attribute job_id in a bar chart, and I want to order JOB_ID in asc order. | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
290,
314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
290,
314,
... |
how many luxembourg cities had a date of law of feb 24 , 1843 ? | SELECT COUNT(*) FROM table_201_43 WHERE "date of law" = '24 february 1843' | [
4919,
867,
10632,
368,
24256,
4736,
550,
257,
3128,
286,
1099,
286,
730,
65,
1987,
837,
1248,
3559,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
1264,
62,
3559,
33411,
366,
4475,
286,
1099,
1,
796,
705,
1731,
730,
65,
3728,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10632,
368,
24256,
4736,
550,
257,
3128,
286,
1099,
286,
730,
65,
1987,
837,
1248,
3559,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
1264,
62,
3559,
33411,
366,
4475,
286,
1099,
1,
796,
705,
1731,
730,
65,
3728,
1... |
Show all main industry and total market value in each industry. | SELECT main_industry, SUM(market_value) FROM company GROUP BY main_industry | [
15307,
477,
1388,
2831,
290,
2472,
1910,
1988,
287,
1123,
2831,
13,
46506,
1388,
62,
23213,
563,
11,
35683,
7,
10728,
62,
8367,
8,
16034,
1664,
44441,
11050,
1388,
62,
23213,
563
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
1388,
2831,
290,
2472,
1910,
1988,
287,
1123,
2831,
13,
46506,
1388,
62,
23213,
563,
11,
35683,
7,
10728,
62,
8367,
8,
16034,
1664,
44441,
11050,
1388,
62,
23213,
563
] |
show me FIRST class flights from PITTSBURGH to SAN FRANCISCO on friday | 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 AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE ((DATE... | [
12860,
502,
31328,
1398,
13956,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
319,
1216,
2567,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
12860,
502,
31328,
1398,
13956,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
319,
1216,
2567,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62... |
how many patients whose marital status is married and item id is 51093? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.itemid = "51093" | [
4919,
867,
3871,
3025,
29555,
3722,
318,
6405,
290,
2378,
4686,
318,
35148,
6052,
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,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
29555,
3722,
318,
6405,
290,
2378,
4686,
318,
35148,
6052,
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,
76,
... |
list all flights from BOSTON to SAN FRANCISCO with at least 3 stops | 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, flight, flight_stop WHERE ((flight.flight_id = flight_stop.flight_id AND flight.stops >= 3) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA... | [
4868,
477,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
379,
1551,
513,
9911,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
477,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
379,
1551,
513,
9911,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... |
How many figures are given for Walker's percentage in Kenosha county? | SELECT COUNT("Walker %") FROM table_24085 WHERE "County" = 'Kenosha' | [
2437,
867,
5538,
389,
1813,
329,
10120,
338,
5873,
287,
7148,
418,
3099,
7968,
30,
46506,
327,
28270,
7203,
39950,
4064,
4943,
16034,
3084,
62,
1731,
2919,
20,
33411,
366,
12332,
88,
1,
796,
705,
27827,
418,
3099,
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
] | [
2437,
867,
5538,
389,
1813,
329,
10120,
338,
5873,
287,
7148,
418,
3099,
7968,
30,
46506,
327,
28270,
7203,
39950,
4064,
4943,
16034,
3084,
62,
1731,
2919,
20,
33411,
366,
12332,
88,
1,
796,
705,
27827,
418,
3099,
6
] |
When did the season finale ranked at 73 first air? | SELECT "Season finale" FROM table_24610 WHERE "Ranking" = '73' | [
2215,
750,
262,
1622,
19523,
10307,
379,
8854,
717,
1633,
30,
46506,
366,
18960,
19523,
1,
16034,
3084,
62,
26912,
940,
33411,
366,
49,
15230,
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,
1,
1,
1,
1
] | [
2215,
750,
262,
1622,
19523,
10307,
379,
8854,
717,
1633,
30,
46506,
366,
18960,
19523,
1,
16034,
3084,
62,
26912,
940,
33411,
366,
49,
15230,
1,
796,
705,
4790,
6
] |
What is the 20-year peak with emanuel lasker, 2816 as the 15-year peak? | SELECT "20-year peak" FROM table_49638 WHERE "15-year peak" = 'emanuel lasker, 2816' | [
2061,
318,
262,
1160,
12,
1941,
9103,
351,
31184,
2731,
300,
2093,
263,
11,
2579,
1433,
355,
262,
1315,
12,
1941,
9103,
30,
46506,
366,
1238,
12,
1941,
9103,
1,
16034,
3084,
62,
37747,
2548,
33411,
366,
1314,
12,
1941,
9103,
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,
318,
262,
1160,
12,
1941,
9103,
351,
31184,
2731,
300,
2093,
263,
11,
2579,
1433,
355,
262,
1315,
12,
1941,
9103,
30,
46506,
366,
1238,
12,
1941,
9103,
1,
16034,
3084,
62,
37747,
2548,
33411,
366,
1314,
12,
1941,
9103,
1,
796,... |
What is every entry for passed when NO votes is 312187? | SELECT passed FROM table_256286_43 WHERE no_votes = 312187 | [
2061,
318,
790,
5726,
329,
3804,
618,
8005,
5690,
318,
34465,
23451,
30,
46506,
3804,
16034,
3084,
62,
11645,
27033,
62,
3559,
33411,
645,
62,
29307,
796,
34465,
23451
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
5726,
329,
3804,
618,
8005,
5690,
318,
34465,
23451,
30,
46506,
3804,
16034,
3084,
62,
11645,
27033,
62,
3559,
33411,
645,
62,
29307,
796,
34465,
23451
] |
how many points did the first place finisher receive ? | SELECT "points" FROM table_203_244 WHERE "pos" = 1 | [
4919,
867,
2173,
750,
262,
717,
1295,
957,
4828,
3328,
5633,
46506,
366,
13033,
1,
16034,
3084,
62,
22416,
62,
25707,
33411,
366,
1930,
1,
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
] | [
4919,
867,
2173,
750,
262,
717,
1295,
957,
4828,
3328,
5633,
46506,
366,
13033,
1,
16034,
3084,
62,
22416,
62,
25707,
33411,
366,
1930,
1,
796,
352
] |
how many patients born before the year 2170 suffered from left internal jugular vein thrombosis;left arm edema? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA" AND demographic.dob_year < "2170" | [
4919,
867,
3871,
4642,
878,
262,
614,
362,
17279,
6989,
422,
1364,
5387,
45808,
934,
27208,
294,
398,
65,
5958,
26,
9464,
3211,
1225,
19687,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
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... | [
4919,
867,
3871,
4642,
878,
262,
614,
362,
17279,
6989,
422,
1364,
5387,
45808,
934,
27208,
294,
398,
65,
5958,
26,
9464,
3211,
1225,
19687,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What is Played, when Goal Difference is '+51'? | SELECT "Played" FROM table_58665 WHERE "Goal Difference" = '+51' | [
2061,
318,
33101,
11,
618,
25376,
43795,
318,
705,
10,
4349,
30960,
46506,
366,
11002,
276,
1,
16034,
3084,
62,
3365,
36879,
33411,
366,
49045,
43795,
1,
796,
705,
10,
4349,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
33101,
11,
618,
25376,
43795,
318,
705,
10,
4349,
30960,
46506,
366,
11002,
276,
1,
16034,
3084,
62,
3365,
36879,
33411,
366,
49045,
43795,
1,
796,
705,
10,
4349,
6
] |
is there ground transportation available at the PHOENIX airport | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'PHOENIX' AND ground_service.city_code = city.city_code | [
271,
612,
2323,
9358,
1695,
379,
262,
9370,
46,
1677,
10426,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
11909,
46,
1677,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
2323,
9358,
1695,
379,
262,
9370,
46,
1677,
10426,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
11909,
46,
1677,
... |
What was the GP-GS for the 2009 season? | SELECT gp_gs FROM table_name_52 WHERE season = "2009" | [
2061,
373,
262,
14714,
12,
14313,
329,
262,
3717,
1622,
30,
46506,
27809,
62,
14542,
16034,
3084,
62,
3672,
62,
4309,
33411,
1622,
796,
366,
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
] | [
2061,
373,
262,
14714,
12,
14313,
329,
262,
3717,
1622,
30,
46506,
27809,
62,
14542,
16034,
3084,
62,
3672,
62,
4309,
33411,
1622,
796,
366,
10531,
1
] |
Which courses should I take before I take AOSS 495 ? | SELECT DISTINCT advisory_requirement FROM course WHERE department = 'AOSS' AND number = 495 | [
13828,
10902,
815,
314,
1011,
878,
314,
1011,
317,
18420,
604,
3865,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
32,
18420,
6,
5357,
1271,
796,
604,
3865
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
815,
314,
1011,
878,
314,
1011,
317,
18420,
604,
3865,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
32,
18420,
6,
5357,
1271,
796,
604,
3865
] |
How many polls taken on different dates show an undecided percentage of 25%? | SELECT COUNT("Date of opinion poll") FROM table_23810 WHERE "Undecided" = '25%' | [
2437,
867,
9231,
2077,
319,
1180,
9667,
905,
281,
39511,
5873,
286,
1679,
4,
30,
46506,
327,
28270,
7203,
10430,
286,
4459,
3278,
4943,
16034,
3084,
62,
23721,
940,
33411,
366,
31319,
35503,
1,
796,
705,
1495,
4,
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
] | [
2437,
867,
9231,
2077,
319,
1180,
9667,
905,
281,
39511,
5873,
286,
1679,
4,
30,
46506,
327,
28270,
7203,
10430,
286,
4459,
3278,
4943,
16034,
3084,
62,
23721,
940,
33411,
366,
31319,
35503,
1,
796,
705,
1495,
4,
6
] |
What racing club team made supercopa 1996? | SELECT "Supercopa 1996" FROM table_35546 WHERE "Team" = 'racing club' | [
2061,
11717,
3430,
1074,
925,
2208,
22163,
64,
8235,
30,
46506,
366,
12442,
22163,
64,
8235,
1,
16034,
3084,
62,
28567,
3510,
33411,
366,
15592,
1,
796,
705,
81,
4092,
3430,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
11717,
3430,
1074,
925,
2208,
22163,
64,
8235,
30,
46506,
366,
12442,
22163,
64,
8235,
1,
16034,
3084,
62,
28567,
3510,
33411,
366,
15592,
1,
796,
705,
81,
4092,
3430,
6
] |
who directed the episode entitled 'home is where the hospital is'? | SELECT "Directed by" FROM table_74229 WHERE "Title" = 'Home Is Where the Hospital Is' | [
8727,
7924,
262,
4471,
9080,
705,
11195,
318,
810,
262,
4436,
318,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
4524,
23539,
33411,
366,
19160,
1,
796,
705,
16060,
1148,
6350,
262,
9256,
1148,
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
] | [
8727,
7924,
262,
4471,
9080,
705,
11195,
318,
810,
262,
4436,
318,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
4524,
23539,
33411,
366,
19160,
1,
796,
705,
16060,
1148,
6350,
262,
9256,
1148,
6
] |
How many male patients are with lab test name protein? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "M" AND lab.label = "Protein" | [
2437,
867,
4257,
3871,
389,
351,
2248,
1332,
1438,
7532,
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,
76,
62,
312,
796,
2248,
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
] | [
2437,
867,
4257,
3871,
389,
351,
2248,
1332,
1438,
7532,
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,
76,
62,
312,
796,
2248,
13,
... |
Which zone has max capacity of 23 in a group under 2 at Robbers Roost? | SELECT zone FROM table_name_80 WHERE max_people > 23 AND group_s_ < 2 AND name = "robbers roost" | [
13828,
6516,
468,
3509,
5339,
286,
2242,
287,
257,
1448,
739,
362,
379,
3851,
1213,
5564,
455,
30,
46506,
6516,
16034,
3084,
62,
3672,
62,
1795,
33411,
3509,
62,
15332,
1875,
2242,
5357,
1448,
62,
82,
62,
1279,
362,
5357,
1438,
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
] | [
13828,
6516,
468,
3509,
5339,
286,
2242,
287,
257,
1448,
739,
362,
379,
3851,
1213,
5564,
455,
30,
46506,
6516,
16034,
3084,
62,
3672,
62,
1795,
33411,
3509,
62,
15332,
1875,
2242,
5357,
1448,
62,
82,
62,
1279,
362,
5357,
1438,
796,
... |
In what year did the winner of the FIS championship in 1982 win the Winter Olympics? | SELECT "Winter Olympics" FROM table_21692 WHERE "FIS Nordic World Ski Championships" = '1982' | [
818,
644,
614,
750,
262,
8464,
286,
262,
376,
1797,
12184,
287,
14489,
1592,
262,
10633,
14935,
30,
46506,
366,
35376,
14935,
1,
16034,
3084,
62,
20666,
5892,
33411,
366,
37,
1797,
35834,
2159,
38809,
24782,
1,
796,
705,
30763,
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
] | [
818,
644,
614,
750,
262,
8464,
286,
262,
376,
1797,
12184,
287,
14489,
1592,
262,
10633,
14935,
30,
46506,
366,
35376,
14935,
1,
16034,
3084,
62,
20666,
5892,
33411,
366,
37,
1797,
35834,
2159,
38809,
24782,
1,
796,
705,
30763,
6
] |
i want to travel from PHILADELPHIA to SAN FRANCISCO with a stopover in DALLAS | 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, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CIT... | [
72,
765,
284,
3067,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
37376,
8782,
20940,
1797,
8220,
351,
257,
2245,
2502,
287,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
765,
284,
3067,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
37376,
8782,
20940,
1797,
8220,
351,
257,
2245,
2502,
287,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
... |
All answers posted, from largest to smallest. | SELECT Id AS "post_link", ViewCount, CreationDate, Score FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##userid##' ORDER BY ViewCount DESC | [
3237,
7429,
4481,
11,
422,
4387,
284,
18197,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
3582,
12332,
11,
21582,
10430,
11,
15178,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
7390,
796,
705,
2235,
7220,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3237,
7429,
4481,
11,
422,
4387,
284,
18197,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
3582,
12332,
11,
21582,
10430,
11,
15178,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
7390,
796,
705,
2235,
7220,
31... |
Name the average ends for weston | SELECT AVG(ends) FROM table_name_28 WHERE name = "weston" | [
5376,
262,
2811,
5645,
329,
7421,
261,
46506,
35224,
7,
2412,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
1438,
796,
366,
7038,
261,
1
] | [
1,
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,
2811,
5645,
329,
7421,
261,
46506,
35224,
7,
2412,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
1438,
796,
366,
7038,
261,
1
] |
what is the minimum number is lariciresinol where matairesinol number is 440? | SELECT MIN("Lariciresinol") FROM table_22265 WHERE "Matairesinol" = '440' | [
10919,
318,
262,
5288,
1271,
318,
26371,
291,
2387,
259,
349,
810,
285,
1045,
2387,
259,
349,
1271,
318,
33879,
30,
46506,
20625,
7203,
43,
283,
291,
2387,
259,
349,
4943,
16034,
3084,
62,
1828,
22980,
33411,
366,
44,
1045,
2387,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
5288,
1271,
318,
26371,
291,
2387,
259,
349,
810,
285,
1045,
2387,
259,
349,
1271,
318,
33879,
30,
46506,
20625,
7203,
43,
283,
291,
2387,
259,
349,
4943,
16034,
3084,
62,
1828,
22980,
33411,
366,
44,
1045,
2387,
259,... |
Who is 1.92 m tall and a current club member of Montepaschi Siena | SELECT "Player" FROM table_68757 WHERE "Height" = '1.92' AND "Current Club" = 'montepaschi siena' | [
8241,
318,
352,
13,
5892,
285,
7331,
290,
257,
1459,
3430,
2888,
286,
5575,
538,
292,
11072,
311,
2013,
64,
46506,
366,
14140,
1,
16034,
3084,
62,
3104,
39251,
33411,
366,
23106,
1,
796,
705,
16,
13,
5892,
6,
5357,
366,
11297,
6289,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
13,
5892,
285,
7331,
290,
257,
1459,
3430,
2888,
286,
5575,
538,
292,
11072,
311,
2013,
64,
46506,
366,
14140,
1,
16034,
3084,
62,
3104,
39251,
33411,
366,
23106,
1,
796,
705,
16,
13,
5892,
6,
5357,
366,
11297,
6289,... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and manufacturer , and group by attribute founder. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18... |
Questions I have answered where asker has not accepted an answer. Lists all questions I have proposed an answer to, but the original question asker hasn't accepted an answer | SELECT p.Id AS "post_link", p.AnswerCount FROM Posts AS a, Posts AS p WHERE a.OwnerUserId = '##UserId##' AND a.PostTypeId = 2 AND NOT p.AcceptedAnswerId IS NULL AND p.Id = a.ParentId ORDER BY p.AnswerCount DESC | [
35741,
314,
423,
9373,
810,
1265,
263,
468,
407,
6292,
281,
3280,
13,
44968,
477,
2683,
314,
423,
5150,
281,
3280,
284,
11,
475,
262,
2656,
1808,
1265,
263,
5818,
470,
6292,
281,
3280,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
314,
423,
9373,
810,
1265,
263,
468,
407,
6292,
281,
3280,
13,
44968,
477,
2683,
314,
423,
5150,
281,
3280,
284,
11,
475,
262,
2656,
1808,
1265,
263,
5818,
470,
6292,
281,
3280,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726... |
How many documents are created in each day? Bin the document date by year interval and group by document type description with a group line chart, and show in asc by the X. | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY Document_Date | [
2437,
867,
4963,
389,
2727,
287,
1123,
1110,
30,
20828,
262,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
1448,
1627,
8262,
11,
290,
905,
287,
10570,
416,
262,
1395,
13,
46506,
16854,
62,
10430,
11,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4963,
389,
2727,
287,
1123,
1110,
30,
20828,
262,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
1448,
1627,
8262,
11,
290,
905,
287,
10570,
416,
262,
1395,
13,
46506,
16854,
62,
10430,
11,
327,
... |
how many patients whose primary disease is pneumonia;human immunodefiency virus;rule out tuberculosis and age is less than 62? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PNEUMONIA;HUMAN IMMUNODEFIENCY VIRUS;RULE OUT TUBERCULOSIS" AND demographic.age < "62" | [
4919,
867,
3871,
3025,
4165,
4369,
318,
35647,
26,
10734,
16217,
375,
891,
6160,
9471,
26,
25135,
503,
44222,
290,
2479,
318,
1342,
621,
8190,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
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... | [
4919,
867,
3871,
3025,
4165,
4369,
318,
35647,
26,
10734,
16217,
375,
891,
6160,
9471,
26,
25135,
503,
44222,
290,
2479,
318,
1342,
621,
8190,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,... |
What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)? | SELECT "Tonnage" FROM table_13829 WHERE "U-boats destroyed (KuK)" = '2' AND "Ships sunk (Pola)" = '(not recorded)' | [
2061,
318,
262,
5610,
16859,
77,
496,
326,
468,
471,
12,
46058,
6572,
357,
41733,
42,
8,
286,
362,
290,
34844,
24790,
357,
47,
5708,
8,
286,
357,
1662,
6264,
19427,
46506,
366,
35416,
77,
496,
1,
16034,
3084,
62,
20107,
1959,
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... | [
2061,
318,
262,
5610,
16859,
77,
496,
326,
468,
471,
12,
46058,
6572,
357,
41733,
42,
8,
286,
362,
290,
34844,
24790,
357,
47,
5708,
8,
286,
357,
1662,
6264,
19427,
46506,
366,
35416,
77,
496,
1,
16034,
3084,
62,
20107,
1959,
33411,... |
Rate of Questions with Accepted Answers. | SELECT COUNT(*) AS "total_questions", SUM(CASE WHEN q.AcceptedAnswerId != '' THEN 1 ELSE 0 END) AS "questions_with_accepted_answers", SUM(CASE WHEN q.AcceptedAnswerId != '' THEN 1 ELSE 0 END) * 100.0 / COUNT(*) AS "percentage_accepted" FROM Posts AS q WHERE q.PostTypeId = 1 | [
32184,
286,
20396,
351,
21699,
276,
42612,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
23350,
62,
6138,
507,
1600,
35683,
7,
34,
11159,
42099,
10662,
13,
38855,
276,
33706,
7390,
14512,
10148,
42243,
352,
17852,
5188,
657,
23578,
8,
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... | [
32184,
286,
20396,
351,
21699,
276,
42612,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
23350,
62,
6138,
507,
1600,
35683,
7,
34,
11159,
42099,
10662,
13,
38855,
276,
33706,
7390,
14512,
10148,
42243,
352,
17852,
5188,
657,
23578,
8,
705... |
How many times is the shot volume (cm3) less than 172.76? | SELECT COUNT("shot diameter (cm)") FROM table_47436 WHERE "shot volume (cm 3 )" < '172.76' | [
2437,
867,
1661,
318,
262,
2823,
6115,
357,
11215,
18,
8,
1342,
621,
23120,
13,
4304,
30,
46506,
327,
28270,
7203,
9442,
14753,
357,
11215,
8,
4943,
16034,
3084,
62,
38652,
2623,
33411,
366,
9442,
6115,
357,
11215,
513,
1267,
1,
1279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
318,
262,
2823,
6115,
357,
11215,
18,
8,
1342,
621,
23120,
13,
4304,
30,
46506,
327,
28270,
7203,
9442,
14753,
357,
11215,
8,
4943,
16034,
3084,
62,
38652,
2623,
33411,
366,
9442,
6115,
357,
11215,
513,
1267,
1,
1279,... |
who was the opponent after hawthorn ? | SELECT "opponent" FROM table_204_881 WHERE id = (SELECT id FROM table_204_881 WHERE "opponent" = 'hawthorn') + 1 | [
8727,
373,
262,
6125,
706,
23185,
400,
1211,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
3459,
16,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
3459,
16,
33411,
366,
10365,
3471,
1,
796,
705,
26615... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
6125,
706,
23185,
400,
1211,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
3459,
16,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
3459,
16,
33411,
366,
10365,
3471,
1,
796,
705,
26615... |
desideria ampon won the bronze medal the same year as who else ? | SELECT "bronze" FROM table_204_765 WHERE "bronze" <> 'desideria ampon' AND "year" = (SELECT "year" FROM table_204_765 WHERE "bronze" = 'desideria ampon') | [
8906,
1304,
544,
20766,
261,
1839,
262,
22101,
18279,
262,
976,
614,
355,
508,
2073,
5633,
46506,
366,
65,
1313,
2736,
1,
16034,
3084,
62,
18638,
62,
29143,
33411,
366,
65,
1313,
2736,
1,
1279,
29,
705,
8906,
1304,
544,
20766,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8906,
1304,
544,
20766,
261,
1839,
262,
22101,
18279,
262,
976,
614,
355,
508,
2073,
5633,
46506,
366,
65,
1313,
2736,
1,
16034,
3084,
62,
18638,
62,
29143,
33411,
366,
65,
1313,
2736,
1,
1279,
29,
705,
8906,
1304,
544,
20766,
261,
... |
what is minimum age of patients whose marital status is widowed and insurance is medicaid? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.insurance = "Medicaid" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
5096,
318,
6924,
1698,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2479,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
5096,
318,
6924,
1698,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
... |
What is the number of professors teaching RACKHAM 571 in Winter 2020 ? | SELECT COUNT(DISTINCT instructor.instructor_id) FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'RACKHAM' AND course.number = 571 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.of... | [
2061,
318,
262,
1271,
286,
20339,
7743,
371,
8120,
33363,
642,
4869,
287,
10633,
12131,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
21187,
13,
259,
7249,
273,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
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,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
20339,
7743,
371,
8120,
33363,
642,
4869,
287,
10633,
12131,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
21187,
13,
259,
7249,
273,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6... |
display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a T . | SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%') | [
13812,
262,
6538,
1271,
290,
1438,
7,
717,
1438,
290,
938,
1438,
1267,
329,
477,
4409,
508,
670,
287,
257,
5011,
351,
597,
6538,
3025,
1438,
4909,
257,
309,
764,
46506,
6538,
62,
312,
11,
717,
62,
3672,
11,
938,
62,
3672,
16034,
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,
1,
1,
1,
1... | [
13812,
262,
6538,
1271,
290,
1438,
7,
717,
1438,
290,
938,
1438,
1267,
329,
477,
4409,
508,
670,
287,
257,
5011,
351,
597,
6538,
3025,
1438,
4909,
257,
309,
764,
46506,
6538,
62,
312,
11,
717,
62,
3672,
11,
938,
62,
3672,
16034,
4... |
Which player did the green bay packers pick? | SELECT player FROM table_2508633_5 WHERE nfl_team = "Green Bay Packers" | [
13828,
2137,
750,
262,
4077,
15489,
2353,
364,
2298,
30,
46506,
2137,
16034,
3084,
62,
9031,
4521,
2091,
62,
20,
33411,
299,
2704,
62,
15097,
796,
366,
13719,
4696,
17832,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2137,
750,
262,
4077,
15489,
2353,
364,
2298,
30,
46506,
2137,
16034,
3084,
62,
9031,
4521,
2091,
62,
20,
33411,
299,
2704,
62,
15097,
796,
366,
13719,
4696,
17832,
1
] |
What is the listed Location with a # found of 4? | SELECT location FROM table_name_47 WHERE _number_found = "4" | [
2061,
318,
262,
5610,
13397,
351,
257,
1303,
1043,
286,
604,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2857,
33411,
4808,
17618,
62,
9275,
796,
366,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5610,
13397,
351,
257,
1303,
1043,
286,
604,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2857,
33411,
4808,
17618,
62,
9275,
796,
366,
19,
1
] |
size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? | SELECT MAX(size__cents_) FROM table_name_26 WHERE size__steps_ = 15 AND just__cents_ > 435.08 | [
7857,
357,
20214,
8,
286,
1315,
11,
290,
257,
655,
357,
66,
658,
8,
4025,
621,
42671,
13,
2919,
318,
644,
4511,
2546,
357,
66,
658,
19427,
46506,
25882,
7,
7857,
834,
66,
658,
62,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
2546,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7857,
357,
20214,
8,
286,
1315,
11,
290,
257,
655,
357,
66,
658,
8,
4025,
621,
42671,
13,
2919,
318,
644,
4511,
2546,
357,
66,
658,
19427,
46506,
25882,
7,
7857,
834,
66,
658,
62,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
2546,
... |
What was the original air date of 'kiss the girls and make them die'? | SELECT "Original air date" FROM table_28366 WHERE "Title" = 'Kiss the Girls and Make Them Die' | [
2061,
373,
262,
2656,
1633,
3128,
286,
705,
41304,
262,
4813,
290,
787,
606,
4656,
30960,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
2078,
32459,
33411,
366,
19160,
1,
796,
705,
42,
747,
262,
12002,
290,
6889,
26460,
6733,
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,
373,
262,
2656,
1633,
3128,
286,
705,
41304,
262,
4813,
290,
787,
606,
4656,
30960,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
2078,
32459,
33411,
366,
19160,
1,
796,
705,
42,
747,
262,
12002,
290,
6889,
26460,
6733,
6
] |
how many patients had the lab test chart time 2146-10-21 12:00:00? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2146-10-21 12:00:00" | [
4919,
867,
3871,
550,
262,
2248,
1332,
8262,
640,
362,
20964,
12,
940,
12,
2481,
1105,
25,
405,
25,
405,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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,
550,
262,
2248,
1332,
8262,
640,
362,
20964,
12,
940,
12,
2481,
1105,
25,
405,
25,
405,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
617... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.