instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9? | SELECT MIN("Goals For") FROM table_46702 WHERE "Team" = 'goole town' AND "Position" < '9' | [
54,
6877,
373,
262,
9016,
28510,
1114,
618,
484,
2826,
4816,
1514,
2305,
8329,
290,
550,
257,
2292,
2793,
621,
860,
30,
46506,
20625,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
3510,
36680,
33411,
366,
15592,
1,
796,
705,
2188,
230... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
54,
6877,
373,
262,
9016,
28510,
1114,
618,
484,
2826,
4816,
1514,
2305,
8329,
290,
550,
257,
2292,
2793,
621,
860,
30,
46506,
20625,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
3510,
36680,
33411,
366,
15592,
1,
796,
705,
2188,
230... |
How many people live in the district who's capital is h ngf ng xi n? | SELECT "Population" FROM table_616 WHERE "Pinyin" = 'Héngfēng Xiàn' | [
2437,
867,
661,
2107,
287,
262,
4783,
508,
338,
3139,
318,
289,
23370,
69,
23370,
2124,
72,
299,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
44214,
33411,
366,
47,
3541,
259,
1,
796,
705,
39,
2634,
782,
69,
27092,
782,
21313,
24247,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
2107,
287,
262,
4783,
508,
338,
3139,
318,
289,
23370,
69,
23370,
2124,
72,
299,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
44214,
33411,
366,
47,
3541,
259,
1,
796,
705,
39,
2634,
782,
69,
27092,
782,
21313,
24247,
... |
What is the average number of points scored by Joe Vagana when making fewer than 2 tries? | SELECT AVG(points) FROM table_name_46 WHERE player = "joe vagana" AND tries < 2 | [
2061,
318,
262,
2811,
1271,
286,
2173,
7781,
416,
5689,
37203,
2271,
618,
1642,
7380,
621,
362,
8404,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
2137,
796,
366,
73,
2577,
14334,
2271,
1,
5357,
8404,
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
] | [
2061,
318,
262,
2811,
1271,
286,
2173,
7781,
416,
5689,
37203,
2271,
618,
1642,
7380,
621,
362,
8404,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
2137,
796,
366,
73,
2577,
14334,
2271,
1,
5357,
8404,
1279,
... |
What was the name of the song in Amma Cheppindi? | SELECT "Song Title" FROM table_56056 WHERE "Movie" = 'amma cheppindi' | [
2061,
373,
262,
1438,
286,
262,
3496,
287,
1703,
2611,
2580,
381,
521,
72,
30,
46506,
366,
44241,
11851,
1,
16034,
3084,
62,
34135,
3980,
33411,
366,
25097,
1,
796,
705,
321,
2611,
1125,
381,
521,
72,
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,
373,
262,
1438,
286,
262,
3496,
287,
1703,
2611,
2580,
381,
521,
72,
30,
46506,
366,
44241,
11851,
1,
16034,
3084,
62,
34135,
3980,
33411,
366,
25097,
1,
796,
705,
321,
2611,
1125,
381,
521,
72,
6
] |
give me the number of patients whose ethnicity is black/african american and year of birth is less than 2071? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.dob_year < "2071" | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4869,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4869,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... |
how many patients whose religion is protestant quaker and procedure short title is cont inv mec ven 96+ hrs? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.religion = "PROTESTANT QUAKER" AND procedures.short_title = "Cont inv mec ven 96+ hrs" | [
4919,
867,
3871,
3025,
5737,
318,
5402,
415,
627,
3110,
290,
8771,
1790,
3670,
318,
542,
800,
502,
66,
8710,
9907,
10,
36201,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
5737,
318,
5402,
415,
627,
3110,
290,
8771,
1790,
3670,
318,
542,
800,
502,
66,
8710,
9907,
10,
36201,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
what was the last intake of patient 010-1155 for the patient during the previous day? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-1155')) AND intakeoutput.cellpath LIKE '%intake%' AND DA... | [
10919,
373,
262,
938,
10337,
286,
5827,
5534,
15,
12,
1157,
2816,
329,
262,
5827,
1141,
262,
2180,
1110,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
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,
373,
262,
938,
10337,
286,
5827,
5534,
15,
12,
1157,
2816,
329,
262,
5827,
1141,
262,
2180,
1110,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... |
What is the Date of the Ameritech Senior Open? | SELECT "Date" FROM table_66188 WHERE "Tournament" = 'ameritech senior open' | [
2061,
318,
262,
7536,
286,
262,
33391,
45396,
14017,
4946,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2791,
20356,
33411,
366,
51,
5138,
1,
796,
705,
2382,
45396,
4664,
1280,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7536,
286,
262,
33391,
45396,
14017,
4946,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2791,
20356,
33411,
366,
51,
5138,
1,
796,
705,
2382,
45396,
4664,
1280,
6
] |
how many times have the endosc remove bile stone procedure been performed since 3 years ago? | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'endosc remove bile stone') AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-3 year') | [
4919,
867,
1661,
423,
262,
886,
17500,
4781,
275,
576,
7815,
8771,
587,
6157,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
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... | [
4919,
867,
1661,
423,
262,
886,
17500,
4781,
275,
576,
7815,
8771,
587,
6157,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
2... |
Where was the game played when the opponent was Oklahoma City, and what was the attendance? | SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city" | [
8496,
373,
262,
983,
2826,
618,
262,
6125,
373,
10433,
2254,
11,
290,
644,
373,
262,
14858,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
24,
33411,
1074,
796,
366,
482,
9802,
1748,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
983,
2826,
618,
262,
6125,
373,
10433,
2254,
11,
290,
644,
373,
262,
14858,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
24,
33411,
1074,
796,
366,
482,
9802,
1748,
1
] |
what night flight do you have from SAN FRANCISCO to DENVER on UA on the evening of 8 27 | 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 = 'DENVER' AND date_day.day_number = 27 AND date_day.month_number = 8 AND... | [
10919,
1755,
5474,
466,
345,
423,
422,
37376,
8782,
20940,
1797,
8220,
284,
37692,
5959,
319,
46164,
319,
262,
6180,
286,
807,
2681,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
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... | [
10919,
1755,
5474,
466,
345,
423,
422,
37376,
8782,
20940,
1797,
8220,
284,
37692,
5959,
319,
46164,
319,
262,
6180,
286,
807,
2681,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,... |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about commission_pct over the job_id , and order in ascending by the total number. | SELECT JOB_ID, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COMMISSION_PCT | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
5810,
62,
79,
310,
625,
262,
1693,
62,
312,
837,
290,
1502,
287,
41988,
416,
262,
2472,
1271,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
5810,
62,
79,
310,
625,
262,
1693,
62,
312,
837,
290,
1502,
287,
41988,
416,
262,
2472,
1271,
1... |
What was the location and it's attendance when the Bobcats played against Washington? | SELECT "Location Attendance" FROM table_25808 WHERE "Team" = 'Washington' | [
2061,
373,
262,
4067,
290,
340,
338,
14858,
618,
262,
5811,
24619,
2826,
1028,
2669,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
1495,
28362,
33411,
366,
15592,
1,
796,
705,
17402,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4067,
290,
340,
338,
14858,
618,
262,
5811,
24619,
2826,
1028,
2669,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
1495,
28362,
33411,
366,
15592,
1,
796,
705,
17402,
6
] |
Probability of a closed question to get reopened. NowClosed: the questions closed now. ClosedOnce: questions closed at least once. This query does not see the now deleted questions. | SELECT COUNT(ClosedDate) AS NowClosed, COUNT(*) AS ClosedOnce FROM Posts WHERE Id IN (SELECT DISTINCT PostId FROM PostHistory WHERE PostHistoryTypeId = 10) | [
2964,
65,
1799,
286,
257,
4838,
1808,
284,
651,
37415,
13,
2735,
2601,
1335,
25,
262,
2683,
4838,
783,
13,
30550,
7454,
25,
2683,
4838,
379,
1551,
1752,
13,
770,
12405,
857,
407,
766,
262,
783,
13140,
2683,
13,
46506,
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... | [
2964,
65,
1799,
286,
257,
4838,
1808,
284,
651,
37415,
13,
2735,
2601,
1335,
25,
262,
2683,
4838,
783,
13,
30550,
7454,
25,
2683,
4838,
379,
1551,
1752,
13,
770,
12405,
857,
407,
766,
262,
783,
13140,
2683,
13,
46506,
327,
28270,
7,... |
what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers? | SELECT MIN("No. in series") FROM table_73259 WHERE "Written by" = 'Rob Wright & Debra J. Fisher & Erica Messer' | [
10919,
318,
262,
1400,
287,
2168,
618,
3851,
1319,
432,
1222,
8965,
430,
474,
13,
14388,
1222,
45187,
10626,
263,
547,
262,
8786,
30,
46506,
20625,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
4790,
25191,
33411,
366,
25354,
416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1400,
287,
2168,
618,
3851,
1319,
432,
1222,
8965,
430,
474,
13,
14388,
1222,
45187,
10626,
263,
547,
262,
8786,
30,
46506,
20625,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
4790,
25191,
33411,
366,
25354,
416,
... |
what is the number of patients whose insurance is self pay and days of hospital stay is greater than 30? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Self Pay" AND demographic.days_stay > "30" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
2116,
1414,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1542,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
2116,
1414,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1542,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,... |
Count the number of users that are logged in. | SELECT COUNT(*) FROM users WHERE user_login = 1 | [
12332,
262,
1271,
286,
2985,
326,
389,
18832,
287,
13,
46506,
327,
28270,
7,
28104,
16034,
2985,
33411,
2836,
62,
38235,
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
] | [
12332,
262,
1271,
286,
2985,
326,
389,
18832,
287,
13,
46506,
327,
28270,
7,
28104,
16034,
2985,
33411,
2836,
62,
38235,
796,
352
] |
When madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament? | SELECT "Conference Tournament" FROM table_3003 WHERE "Tournament Venue (City)" = 'Madison Square Garden ( New York City, New York )' | [
2215,
8805,
1653,
6616,
11376,
357,
649,
331,
967,
1748,
11,
649,
331,
967,
1267,
318,
262,
7756,
14359,
357,
19205,
8,
644,
318,
262,
4495,
7756,
30,
46506,
366,
3103,
4288,
9595,
1,
16034,
3084,
62,
6200,
18,
33411,
366,
51,
5138,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8805,
1653,
6616,
11376,
357,
649,
331,
967,
1748,
11,
649,
331,
967,
1267,
318,
262,
7756,
14359,
357,
19205,
8,
644,
318,
262,
4495,
7756,
30,
46506,
366,
3103,
4288,
9595,
1,
16034,
3084,
62,
6200,
18,
33411,
366,
51,
5138,... |
give me the number of patients whose diagnoses short title is chr syst/diastl hrt fail and lab test category is hematology? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Chr syst/diastl hrt fail" AND lab."CATEGORY" = "Hematology" | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
442,
81,
827,
301,
14,
10989,
459,
75,
289,
17034,
2038,
290,
2248,
1332,
6536,
318,
339,
6759,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
442,
81,
827,
301,
14,
10989,
459,
75,
289,
17034,
2038,
290,
2248,
1332,
6536,
318,
339,
6759,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... |
Name the number of women's doubles for 1986 | SELECT COUNT("Womens doubles") FROM table_893 WHERE "Year" = '1986' | [
5376,
262,
1271,
286,
1466,
338,
21938,
329,
12113,
46506,
327,
28270,
7203,
54,
296,
641,
21938,
4943,
16034,
3084,
62,
49682,
33411,
366,
17688,
1,
796,
705,
28054,
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
] | [
5376,
262,
1271,
286,
1466,
338,
21938,
329,
12113,
46506,
327,
28270,
7203,
54,
296,
641,
21938,
4943,
16034,
3084,
62,
49682,
33411,
366,
17688,
1,
796,
705,
28054,
6
] |
What is the yam amount when the Cassava amount is 0.11? | SELECT "Yam [Y ]" FROM table_4509 WHERE "Cassava [E ]" = '0.11' | [
2061,
318,
262,
331,
321,
2033,
618,
262,
14154,
4170,
2033,
318,
657,
13,
1157,
30,
46506,
366,
56,
321,
685,
56,
2361,
1,
16034,
3084,
62,
17885,
24,
33411,
366,
43529,
4170,
685,
36,
2361,
1,
796,
705,
15,
13,
1157,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
331,
321,
2033,
618,
262,
14154,
4170,
2033,
318,
657,
13,
1157,
30,
46506,
366,
56,
321,
685,
56,
2361,
1,
16034,
3084,
62,
17885,
24,
33411,
366,
43529,
4170,
685,
36,
2361,
1,
796,
705,
15,
13,
1157,
6
] |
What's the title of the episode with production code 10018? | SELECT "Title" FROM table_22973 WHERE "Production code" = '10018' | [
2061,
338,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
1802,
1507,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
23539,
4790,
33411,
366,
35027,
2438,
1,
796,
705,
3064,
1507,
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,
338,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
1802,
1507,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
23539,
4790,
33411,
366,
35027,
2438,
1,
796,
705,
3064,
1507,
6
] |
Who was the Semi-Finalist #2 in 2001? | SELECT semi_finalist__number2 FROM table_name_26 WHERE year = "2001" | [
8241,
373,
262,
35525,
12,
19006,
396,
1303,
17,
287,
5878,
30,
46506,
10663,
62,
20311,
396,
834,
17618,
17,
16034,
3084,
62,
3672,
62,
2075,
33411,
614,
796,
366,
14585,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
35525,
12,
19006,
396,
1303,
17,
287,
5878,
30,
46506,
10663,
62,
20311,
396,
834,
17618,
17,
16034,
3084,
62,
3672,
62,
2075,
33411,
614,
796,
366,
14585,
1
] |
What is the maximum enrollment across all schools? | SELECT MAX(Enrollment) FROM university | [
2061,
318,
262,
5415,
20753,
1973,
477,
4266,
30,
46506,
25882,
7,
4834,
48108,
8,
16034,
6403
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5415,
20753,
1973,
477,
4266,
30,
46506,
25882,
7,
4834,
48108,
8,
16034,
6403
] |
What are the student scores on the NAEP math exam for 8th graders in North Carolina and South Carolina? | SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "North Carolina" UNION SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "South Carolina" | [
2061,
389,
262,
3710,
8198,
319,
262,
11746,
8905,
10688,
2814,
329,
807,
400,
3915,
364,
287,
2258,
5913,
290,
2520,
5913,
30,
46506,
2811,
62,
9888,
62,
26675,
16034,
299,
12501,
382,
1069,
5276,
62,
11018,
62,
9526,
23,
33411,
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,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3710,
8198,
319,
262,
11746,
8905,
10688,
2814,
329,
807,
400,
3915,
364,
287,
2258,
5913,
290,
2520,
5913,
30,
46506,
2811,
62,
9888,
62,
26675,
16034,
299,
12501,
382,
1069,
5276,
62,
11018,
62,
9526,
23,
33411,
1181... |
What L2 cache had a release date of august 26, 2007? | SELECT l2_cache FROM table_name_71 WHERE release_date = "august 26, 2007" | [
2061,
406,
17,
12940,
550,
257,
2650,
3128,
286,
16339,
436,
2608,
11,
4343,
30,
46506,
300,
17,
62,
23870,
16034,
3084,
62,
3672,
62,
4869,
33411,
2650,
62,
4475,
796,
366,
7493,
436,
2608,
11,
4343,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
406,
17,
12940,
550,
257,
2650,
3128,
286,
16339,
436,
2608,
11,
4343,
30,
46506,
300,
17,
62,
23870,
16034,
3084,
62,
3672,
62,
4869,
33411,
2650,
62,
4475,
796,
366,
7493,
436,
2608,
11,
4343,
1
] |
What is the highest Week when the opponent was kansas city chiefs, with more than 26,469 in attendance? | SELECT MAX(week) FROM table_name_54 WHERE opponent = "kansas city chiefs" AND attendance > 26 OFFSET 469 | [
2061,
318,
262,
4511,
6119,
618,
262,
6125,
373,
479,
6618,
1748,
30217,
11,
351,
517,
621,
2608,
11,
42947,
287,
14858,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
6125,
796,
366,
74,
6618,
1748,
30217,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
618,
262,
6125,
373,
479,
6618,
1748,
30217,
11,
351,
517,
621,
2608,
11,
42947,
287,
14858,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
6125,
796,
366,
74,
6618,
1748,
30217,
1... |
Who is the courtside reporter for the year 2009-10? | SELECT "Courtside reporter" FROM table_72590 WHERE "Year" = '2009-10' | [
8241,
318,
262,
8028,
485,
9095,
329,
262,
614,
3717,
12,
940,
30,
46506,
366,
25877,
912,
485,
9095,
1,
16034,
3084,
62,
45151,
3829,
33411,
366,
17688,
1,
796,
705,
10531,
12,
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,
1,
1
] | [
8241,
318,
262,
8028,
485,
9095,
329,
262,
614,
3717,
12,
940,
30,
46506,
366,
25877,
912,
485,
9095,
1,
16034,
3084,
62,
45151,
3829,
33411,
366,
17688,
1,
796,
705,
10531,
12,
940,
6
] |
when has patient 013-12480 had his or her first splinting - stabilizing appliance? | SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-12480')) AND treatment.treatmentname = 'splinting - stabilizi... | [
12518,
468,
5827,
5534,
18,
12,
17464,
1795,
550,
465,
393,
607,
717,
4328,
600,
278,
532,
14349,
2890,
45248,
30,
46506,
3513,
13,
42487,
2435,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
5827,
5534,
18,
12,
17464,
1795,
550,
465,
393,
607,
717,
4328,
600,
278,
532,
14349,
2890,
45248,
30,
46506,
3513,
13,
42487,
2435,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... |
Where did li dong publish in 2016 ? | SELECT DISTINCT paper.venueid FROM author, paper, writes WHERE author.authorname = 'li dong' AND paper.year = 2016 AND writes.authorid = author.authorid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
8496,
750,
7649,
288,
506,
7715,
287,
1584,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
4080,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
4528,
288,
506,
6,
5357,
3348,
13,
1941,
796,
1584,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8496,
750,
7649,
288,
506,
7715,
287,
1584,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
4080,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
4528,
288,
506,
6,
5357,
3348,
13,
1941,
796,
1584,
5... |
Name the most wins | SELECT MIN(wins) FROM table_15327489_1 | [
5376,
262,
749,
7864,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
21395,
1983,
35890,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
7864,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
21395,
1983,
35890,
62,
16
] |
Can you tell me the 2009 that has the 2011 of A? | SELECT 2009 FROM table_name_50 WHERE 2011 = "a" | [
6090,
345,
1560,
502,
262,
3717,
326,
468,
262,
2813,
286,
317,
30,
46506,
3717,
16034,
3084,
62,
3672,
62,
1120,
33411,
2813,
796,
366,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
3717,
326,
468,
262,
2813,
286,
317,
30,
46506,
3717,
16034,
3084,
62,
3672,
62,
1120,
33411,
2813,
796,
366,
64,
1
] |
placement of an intra _ aortic balloon pump ( iabp ) | SELECT * FROM table_dev_58 WHERE intra_aortic_balloon_pump_iabp = 1 | [
489,
5592,
286,
281,
23422,
4808,
257,
419,
291,
21190,
8901,
357,
1312,
397,
79,
1267,
46506,
1635,
16034,
3084,
62,
7959,
62,
3365,
33411,
23422,
62,
64,
419,
291,
62,
1894,
2049,
62,
79,
931,
62,
72,
397,
79,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
489,
5592,
286,
281,
23422,
4808,
257,
419,
291,
21190,
8901,
357,
1312,
397,
79,
1267,
46506,
1635,
16034,
3084,
62,
7959,
62,
3365,
33411,
23422,
62,
64,
419,
291,
62,
1894,
2049,
62,
79,
931,
62,
72,
397,
79,
796,
352
] |
Name the score on august 21, 2007 | SELECT "Score" FROM table_15489 WHERE "Date" = 'august 21, 2007' | [
5376,
262,
4776,
319,
16339,
436,
2310,
11,
4343,
46506,
366,
26595,
1,
16034,
3084,
62,
1314,
35890,
33411,
366,
10430,
1,
796,
705,
7493,
436,
2310,
11,
4343,
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
] | [
5376,
262,
4776,
319,
16339,
436,
2310,
11,
4343,
46506,
366,
26595,
1,
16034,
3084,
62,
1314,
35890,
33411,
366,
10430,
1,
796,
705,
7493,
436,
2310,
11,
4343,
6
] |
List the order dates of all the bookings, and count them by a line chart | SELECT Order_Date, COUNT(Order_Date) FROM Bookings | [
8053,
262,
1502,
9667,
286,
477,
262,
1492,
654,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
8284,
62,
10430,
11,
327,
28270,
7,
18743,
62,
10430,
8,
16034,
4897,
654
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1502,
9667,
286,
477,
262,
1492,
654,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
8284,
62,
10430,
11,
327,
28270,
7,
18743,
62,
10430,
8,
16034,
4897,
654
] |
what is the type when the year(s) is 1982? | SELECT "Type" FROM table_10836 WHERE "Year(s)" = '1982' | [
10919,
318,
262,
2099,
618,
262,
614,
7,
82,
8,
318,
14489,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
15711,
2623,
33411,
366,
17688,
7,
82,
16725,
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
] | [
10919,
318,
262,
2099,
618,
262,
614,
7,
82,
8,
318,
14489,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
15711,
2623,
33411,
366,
17688,
7,
82,
16725,
796,
705,
30763,
6
] |
Who was the away team at the game at Kardinia Park? | SELECT away_team FROM table_name_99 WHERE venue = "kardinia park" | [
8241,
373,
262,
1497,
1074,
379,
262,
983,
379,
37875,
43168,
3250,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2079,
33411,
14359,
796,
366,
74,
446,
43168,
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
] | [
8241,
373,
262,
1497,
1074,
379,
262,
983,
379,
37875,
43168,
3250,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2079,
33411,
14359,
796,
366,
74,
446,
43168,
3952,
1
] |
Give me the comparison about Weight over the Date_of_Birth , order in descending by the y-axis. | SELECT Date_of_Birth, Weight FROM people ORDER BY Weight DESC | [
23318,
502,
262,
7208,
546,
14331,
625,
262,
7536,
62,
1659,
62,
38480,
837,
1502,
287,
31491,
416,
262,
331,
12,
22704,
13,
46506,
7536,
62,
1659,
62,
38480,
11,
14331,
16034,
661,
38678,
11050,
14331,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
14331,
625,
262,
7536,
62,
1659,
62,
38480,
837,
1502,
287,
31491,
416,
262,
331,
12,
22704,
13,
46506,
7536,
62,
1659,
62,
38480,
11,
14331,
16034,
661,
38678,
11050,
14331,
22196,
34
] |
Which marketing region has the most drama workshop groups? Give me the region code. | SELECT marketing_region_code FROM drama_workshop_groups GROUP BY marketing_region_code ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
7124,
3814,
468,
262,
749,
10512,
20243,
2628,
30,
13786,
502,
262,
3814,
2438,
13,
46506,
7124,
62,
36996,
62,
8189,
16034,
10512,
62,
38067,
62,
24432,
44441,
11050,
7124,
62,
36996,
62,
8189,
38678,
11050,
327,
28270,
7,
28104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7124,
3814,
468,
262,
749,
10512,
20243,
2628,
30,
13786,
502,
262,
3814,
2438,
13,
46506,
7124,
62,
36996,
62,
8189,
16034,
10512,
62,
38067,
62,
24432,
44441,
11050,
7124,
62,
36996,
62,
8189,
38678,
11050,
327,
28270,
7,
28104... |
i need a flight from SALT LAKE CITY to PHOENIX departing wednesday after 1700 | SELECT DISTINCT flight_id FROM flight WHERE (((departure_time > 1700 AND flight_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 23 AND DATE_DAYalias0.month_number = 4 AND DATE_DAYa... | [
72,
761,
257,
5474,
422,
311,
31429,
9131,
7336,
27993,
284,
9370,
46,
1677,
10426,
37717,
29445,
3462,
706,
35665,
46506,
360,
8808,
1268,
4177,
5474,
62,
312,
16034,
5474,
33411,
14808,
7,
10378,
433,
495,
62,
2435,
1875,
35665,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
761,
257,
5474,
422,
311,
31429,
9131,
7336,
27993,
284,
9370,
46,
1677,
10426,
37717,
29445,
3462,
706,
35665,
46506,
360,
8808,
1268,
4177,
5474,
62,
312,
16034,
5474,
33411,
14808,
7,
10378,
433,
495,
62,
2435,
1875,
35665,
5357,... |
What home team had an attendance record of 16,971? | SELECT home_team FROM table_name_68 WHERE attendance = "16,971" | [
2061,
1363,
1074,
550,
281,
14858,
1700,
286,
1467,
11,
24,
4869,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3104,
33411,
14858,
796,
366,
1433,
11,
24,
4869,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
550,
281,
14858,
1700,
286,
1467,
11,
24,
4869,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3104,
33411,
14858,
796,
366,
1433,
11,
24,
4869,
1
] |
On the date of 30/01/1991, when the away team was Liverpool, what was the score? | SELECT "Score" FROM table_59469 WHERE "Date" = '30/01/1991' AND "Away team" = 'liverpool' | [
2202,
262,
3128,
286,
1542,
14,
486,
14,
24529,
11,
618,
262,
1497,
1074,
373,
11761,
11,
644,
373,
262,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3270,
42947,
33411,
366,
10430,
1,
796,
705,
1270,
14,
486,
14,
24529,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
3128,
286,
1542,
14,
486,
14,
24529,
11,
618,
262,
1497,
1074,
373,
11761,
11,
644,
373,
262,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3270,
42947,
33411,
366,
10430,
1,
796,
705,
1270,
14,
486,
14,
24529,
6,
53... |
What was the score when Edmonton was the home team? | SELECT score FROM table_name_10 WHERE home = "edmonton" | [
2061,
373,
262,
4776,
618,
21165,
373,
262,
1363,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
1363,
796,
366,
276,
19729,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
21165,
373,
262,
1363,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
1363,
796,
366,
276,
19729,
1
] |
What was the result of the game at Cleveland Browns Stadium with an attendance of 65,995? | SELECT "Result" FROM table_48414 WHERE "Attendance" > '65,995' AND "Stadium" = 'cleveland browns stadium' | [
2061,
373,
262,
1255,
286,
262,
983,
379,
10306,
17671,
10499,
351,
281,
14858,
286,
6135,
11,
33438,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
34137,
1415,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2996,
11,
33438,
6,
5357,
366,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
983,
379,
10306,
17671,
10499,
351,
281,
14858,
286,
6135,
11,
33438,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
34137,
1415,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2996,
11,
33438,
6,
5357,
366,
1... |
What are the names of companies that do not make DVD drives? | SELECT name FROM manufacturers EXCEPT SELECT T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.manufacturer = T2.code WHERE T1.name = 'DVD drive' | [
2061,
389,
262,
3891,
286,
2706,
326,
466,
407,
787,
12490,
10182,
30,
46506,
1438,
16034,
11372,
7788,
42006,
33493,
309,
17,
13,
3672,
16034,
3186,
7054,
309,
16,
32357,
1268,
11372,
7054,
309,
17,
6177,
309,
16,
13,
48119,
15051,
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
] | [
2061,
389,
262,
3891,
286,
2706,
326,
466,
407,
787,
12490,
10182,
30,
46506,
1438,
16034,
11372,
7788,
42006,
33493,
309,
17,
13,
3672,
16034,
3186,
7054,
309,
16,
32357,
1268,
11372,
7054,
309,
17,
6177,
309,
16,
13,
48119,
15051,
7... |
Which Nationality has a Former Team of denver nuggets? | SELECT "Nationality" FROM table_8855 WHERE "Former Team" = 'denver nuggets' | [
13828,
2351,
414,
468,
257,
14466,
4816,
286,
2853,
332,
299,
26550,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3459,
2816,
33411,
366,
14282,
4816,
1,
796,
705,
6559,
332,
299,
26550,
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,
2351,
414,
468,
257,
14466,
4816,
286,
2853,
332,
299,
26550,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3459,
2816,
33411,
366,
14282,
4816,
1,
796,
705,
6559,
332,
299,
26550,
6
] |
How many accounts for different statement details? Draw a bar chart. | SELECT Statement_Details, COUNT(Statement_Details) FROM Accounts AS T1 JOIN Statements AS T2 ON T1.Statement_ID = T2.Statement_ID GROUP BY Statement_Details | [
2437,
867,
5504,
329,
1180,
2643,
3307,
30,
15315,
257,
2318,
8262,
13,
46506,
21983,
62,
24259,
11,
327,
28270,
7,
48682,
62,
24259,
8,
16034,
35584,
7054,
309,
16,
32357,
1268,
44936,
7054,
309,
17,
6177,
309,
16,
13,
48682,
62,
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
] | [
2437,
867,
5504,
329,
1180,
2643,
3307,
30,
15315,
257,
2318,
8262,
13,
46506,
21983,
62,
24259,
11,
327,
28270,
7,
48682,
62,
24259,
8,
16034,
35584,
7054,
309,
16,
32357,
1268,
44936,
7054,
309,
17,
6177,
309,
16,
13,
48682,
62,
2... |
Which episode had Lavern Baker? | SELECT episode FROM table_26250151_1 WHERE original_recording_artist = "LaVern Baker" | [
13828,
4471,
550,
4689,
933,
14372,
30,
46506,
4471,
16034,
3084,
62,
2075,
1495,
486,
4349,
62,
16,
33411,
2656,
62,
8344,
1284,
62,
49016,
796,
366,
14772,
53,
1142,
14372,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
550,
4689,
933,
14372,
30,
46506,
4471,
16034,
3084,
62,
2075,
1495,
486,
4349,
62,
16,
33411,
2656,
62,
8344,
1284,
62,
49016,
796,
366,
14772,
53,
1142,
14372,
1
] |
what is the highest % hydropower when % coal is 4.9 and % nuclear power is more than 0? | SELECT MAX(_percentage_hydropower) FROM table_name_59 WHERE _percentage_coal = 4.9 AND _percentage_nuclear_power > 0 | [
10919,
318,
262,
4511,
4064,
7409,
1773,
789,
618,
4064,
5655,
318,
604,
13,
24,
290,
4064,
4523,
1176,
318,
517,
621,
657,
30,
46506,
25882,
28264,
25067,
496,
62,
15511,
1773,
789,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
4808,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4064,
7409,
1773,
789,
618,
4064,
5655,
318,
604,
13,
24,
290,
4064,
4523,
1176,
318,
517,
621,
657,
30,
46506,
25882,
28264,
25067,
496,
62,
15511,
1773,
789,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
4808,
... |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and code , and group by attribute founder, and display in desc by the X-axis. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
9119,
11,
290,
3359,
287,
1715,
416,
262,
1395,
12,
22704,
13,
46506,
309,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
9119,
11,
290,
3359,
287,
1715,
416,
262,
1395,
12,
22704,
13,
46506,
309,
16... |
Who was the runner up at the Volvo Masters Andalucia? | SELECT "Runner(s)-up" FROM table_20584 WHERE "Tournament" = 'Volvo Masters Andalucia' | [
8241,
373,
262,
17490,
510,
379,
262,
46950,
15812,
843,
282,
1229,
544,
30,
46506,
366,
49493,
7,
82,
13219,
929,
1,
16034,
3084,
62,
1238,
46352,
33411,
366,
51,
5138,
1,
796,
705,
16598,
13038,
15812,
843,
282,
1229,
544,
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
] | [
8241,
373,
262,
17490,
510,
379,
262,
46950,
15812,
843,
282,
1229,
544,
30,
46506,
366,
49493,
7,
82,
13219,
929,
1,
16034,
3084,
62,
1238,
46352,
33411,
366,
51,
5138,
1,
796,
705,
16598,
13038,
15812,
843,
282,
1229,
544,
6
] |
Who directs before 1948 with linda darnell, titled blood and sand? | SELECT director FROM table_name_55 WHERE year < 1948 AND leading_lady = "linda darnell" AND title = "blood and sand" | [
8241,
32254,
878,
21794,
351,
300,
22261,
39189,
695,
11,
11946,
2910,
290,
6450,
30,
46506,
3437,
16034,
3084,
62,
3672,
62,
2816,
33411,
614,
1279,
21794,
5357,
3756,
62,
75,
4597,
796,
366,
75,
22261,
39189,
695,
1,
5357,
3670,
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
] | [
8241,
32254,
878,
21794,
351,
300,
22261,
39189,
695,
11,
11946,
2910,
290,
6450,
30,
46506,
3437,
16034,
3084,
62,
3672,
62,
2816,
33411,
614,
1279,
21794,
5357,
3756,
62,
75,
4597,
796,
366,
75,
22261,
39189,
695,
1,
5357,
3670,
796... |
What is the Score when the record was 9-3-0? | SELECT score FROM table_name_76 WHERE record = "9-3-0" | [
2061,
318,
262,
15178,
618,
262,
1700,
373,
860,
12,
18,
12,
15,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4304,
33411,
1700,
796,
366,
24,
12,
18,
12,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
15178,
618,
262,
1700,
373,
860,
12,
18,
12,
15,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4304,
33411,
1700,
796,
366,
24,
12,
18,
12,
15,
1
] |
What is the American sound that has a 17th century equivalent of ? | SELECT "American" FROM table_60996 WHERE "17th c." = 'ɔ' | [
2061,
318,
262,
1605,
2128,
326,
468,
257,
1596,
400,
4289,
7548,
286,
5633,
46506,
366,
7437,
1,
16034,
3084,
62,
1899,
38565,
33411,
366,
1558,
400,
269,
526,
796,
705,
133,
242,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1605,
2128,
326,
468,
257,
1596,
400,
4289,
7548,
286,
5633,
46506,
366,
7437,
1,
16034,
3084,
62,
1899,
38565,
33411,
366,
1558,
400,
269,
526,
796,
705,
133,
242,
6
] |
What parish did McCain have 45.37% of the votes? | SELECT "Parish" FROM table_23849 WHERE "McCain%" = '45.37%' | [
2061,
28830,
750,
14264,
423,
4153,
13,
2718,
4,
286,
262,
5690,
30,
46506,
366,
10044,
680,
1,
16034,
3084,
62,
23721,
2920,
33411,
366,
30464,
391,
39658,
796,
705,
2231,
13,
2718,
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
] | [
2061,
28830,
750,
14264,
423,
4153,
13,
2718,
4,
286,
262,
5690,
30,
46506,
366,
10044,
680,
1,
16034,
3084,
62,
23721,
2920,
33411,
366,
30464,
391,
39658,
796,
705,
2231,
13,
2718,
4,
6
] |
Who was the visiting team when the score was 1 3? | SELECT "Visitor" FROM table_67693 WHERE "Score" = '1–3' | [
8241,
373,
262,
10013,
1074,
618,
262,
4776,
373,
352,
513,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
3134,
48528,
33411,
366,
26595,
1,
796,
705,
16,
1906,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
10013,
1074,
618,
262,
4776,
373,
352,
513,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
3134,
48528,
33411,
366,
26595,
1,
796,
705,
16,
1906,
18,
6
] |
What is the kickoff time for the Hubert H. Humphrey Metrodome? | SELECT "Kickoff [a ]" FROM table_55183 WHERE "Game site" = 'hubert h. humphrey metrodome' | [
2061,
318,
262,
40532,
640,
329,
262,
11256,
4835,
367,
13,
32787,
4364,
12477,
67,
462,
30,
46506,
366,
45390,
2364,
685,
64,
2361,
1,
16034,
3084,
62,
2816,
24839,
33411,
366,
8777,
2524,
1,
796,
705,
13415,
4835,
289,
13,
1311,
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
] | [
2061,
318,
262,
40532,
640,
329,
262,
11256,
4835,
367,
13,
32787,
4364,
12477,
67,
462,
30,
46506,
366,
45390,
2364,
685,
64,
2361,
1,
16034,
3084,
62,
2816,
24839,
33411,
366,
8777,
2524,
1,
796,
705,
13415,
4835,
289,
13,
1311,
7... |
How many tournaments were at sime darby lpga malaysia? | SELECT COUNT(no) FROM table_21649285_2 WHERE tournament = "Sime Darby LPGA Malaysia" | [
2437,
867,
18130,
547,
379,
264,
524,
288,
283,
1525,
300,
79,
4908,
6428,
592,
544,
30,
46506,
327,
28270,
7,
3919,
8,
16034,
3084,
62,
20666,
2920,
26279,
62,
17,
33411,
7756,
796,
366,
50,
524,
7491,
1525,
406,
6968,
32,
15336,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18130,
547,
379,
264,
524,
288,
283,
1525,
300,
79,
4908,
6428,
592,
544,
30,
46506,
327,
28270,
7,
3919,
8,
16034,
3084,
62,
20666,
2920,
26279,
62,
17,
33411,
7756,
796,
366,
50,
524,
7491,
1525,
406,
6968,
32,
15336,
... |
Total number of questions answered by people in your city. | WITH test1 AS (SELECT DISTINCT u.Id, DisplayName, Reputation, Location, COUNT(p.Id) OVER (PARTITION BY u.Id) AS "questions_answered" FROM Users AS u LEFT JOIN Posts AS p ON u.Id = p.OwnerUserId WHERE LOWER(Location) LIKE '%visakha%') SELECT ROW_NUMBER() OVER (ORDER BY 'questions_answered' DESC), *, SUM(Reputation) OVER... | [
14957,
1271,
286,
2683,
9373,
416,
661,
287,
534,
1748,
13,
54,
10554,
1332,
16,
7054,
357,
46506,
360,
8808,
1268,
4177,
334,
13,
7390,
11,
16531,
5376,
11,
1432,
7094,
11,
13397,
11,
327,
28270,
7,
79,
13,
7390,
8,
28729,
357,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14957,
1271,
286,
2683,
9373,
416,
661,
287,
534,
1748,
13,
54,
10554,
1332,
16,
7054,
357,
46506,
360,
8808,
1268,
4177,
334,
13,
7390,
11,
16531,
5376,
11,
1432,
7094,
11,
13397,
11,
327,
28270,
7,
79,
13,
7390,
8,
28729,
357,
3... |
What kind of Average has a S.R. of 70.43 and Runs Scored smaller than 293? | SELECT MIN("Average") FROM table_42793 WHERE "S.R." = '70.43' AND "Runs Scored" < '293' | [
2061,
1611,
286,
13475,
468,
257,
311,
13,
49,
13,
286,
4317,
13,
3559,
290,
44743,
1446,
1850,
4833,
621,
37224,
30,
46506,
20625,
7203,
26287,
4943,
16034,
3084,
62,
42363,
6052,
33411,
366,
50,
13,
49,
526,
796,
705,
2154,
13,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1611,
286,
13475,
468,
257,
311,
13,
49,
13,
286,
4317,
13,
3559,
290,
44743,
1446,
1850,
4833,
621,
37224,
30,
46506,
20625,
7203,
26287,
4943,
16034,
3084,
62,
42363,
6052,
33411,
366,
50,
13,
49,
526,
796,
705,
2154,
13,
35... |
what are the five most frequently given tests for patients who were previously diagnosed with irritable bowel syndrome in the same hospital encounter? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id W... | [
10919,
389,
262,
1936,
749,
6777,
1813,
5254,
329,
3871,
508,
547,
4271,
14641,
351,
14709,
540,
35711,
14027,
287,
262,
976,
4436,
8791,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1936,
749,
6777,
1813,
5254,
329,
3871,
508,
547,
4271,
14641,
351,
14709,
540,
35711,
14027,
287,
262,
976,
4436,
8791,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
... |
Which Country has a To par of e? | SELECT "Country" FROM table_9785 WHERE "To par" = 'e' | [
13828,
12946,
468,
257,
1675,
1582,
286,
304,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
32196,
20,
33411,
366,
2514,
1582,
1,
796,
705,
68,
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
] | [
13828,
12946,
468,
257,
1675,
1582,
286,
304,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
32196,
20,
33411,
366,
2514,
1582,
1,
796,
705,
68,
6
] |
MSE rate of posting (checks and dates). | SELECT p.Id AS "post_link", p.OwnerUserId AS "user_link", p.CreationDate FROM Posts AS p WHERE p.PostTypeId = 1 AND p.OwnerUserId IN (141525, 146126, 811, 50049, 1438, 164200, 115866, 155160, 98786, 209637, 147336, 131182, 135201, 23354, 51, 6212, 146719, 166017, 4, 2, 130213, 159928, 13, 176330, 208518, 142481, 229741... | [
44,
5188,
2494,
286,
10754,
357,
42116,
290,
9667,
737,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
279,
13,
12443,
341,
10430,
16034,
12043,
7054,
279,
33411,
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... | [
44,
5188,
2494,
286,
10754,
357,
42116,
290,
9667,
737,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
279,
13,
12443,
341,
10430,
16034,
12043,
7054,
279,
33411,
2... |
What is the highest Losses, when Wins is greater than 1, and when Last Appearance is 2003? | SELECT MAX(losses) FROM table_name_88 WHERE wins > 1 AND last_appearance = "2003" | [
2061,
318,
262,
4511,
22014,
274,
11,
618,
24423,
318,
3744,
621,
352,
11,
290,
618,
4586,
43436,
318,
5816,
30,
46506,
25882,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
7864,
1875,
352,
5357,
938,
62,
1324,
23435,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22014,
274,
11,
618,
24423,
318,
3744,
621,
352,
11,
290,
618,
4586,
43436,
318,
5816,
30,
46506,
25882,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
7864,
1875,
352,
5357,
938,
62,
1324,
23435,
79... |
Which Top-10 has a Cuts made larger than 42? | SELECT MIN(top_10) FROM table_name_57 WHERE cuts_made > 42 | [
13828,
5849,
12,
940,
468,
257,
327,
5500,
925,
4025,
621,
5433,
30,
46506,
20625,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
6630,
62,
9727,
1875,
5433
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5849,
12,
940,
468,
257,
327,
5500,
925,
4025,
621,
5433,
30,
46506,
20625,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
6630,
62,
9727,
1875,
5433
] |
Show the names of journalists from 'England' or 'Wales'. | SELECT Name FROM journalist WHERE Nationality = "England" OR Nationality = "Wales" | [
15307,
262,
3891,
286,
9046,
422,
705,
39163,
6,
393,
705,
54,
2040,
4458,
46506,
6530,
16034,
10099,
33411,
2351,
414,
796,
366,
39163,
1,
6375,
2351,
414,
796,
366,
54,
2040,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
3891,
286,
9046,
422,
705,
39163,
6,
393,
705,
54,
2040,
4458,
46506,
6530,
16034,
10099,
33411,
2351,
414,
796,
366,
39163,
1,
6375,
2351,
414,
796,
366,
54,
2040,
1
] |
what kind of ground transportation is there in DALLAS | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DALLAS' AND ground_service.city_code = city.city_code | [
10919,
1611,
286,
2323,
9358,
318,
612,
287,
360,
7036,
1921,
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,
35,
7036,
1921,
6,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1611,
286,
2323,
9358,
318,
612,
287,
360,
7036,
1921,
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,
35,
7036,
1921,
6,
5... |
What are the number of the enrollment dates of all the tests that have result 'Pass'?, and sort in descending by the y-axis. | SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass" ORDER BY COUNT(date_of_enrolment) DESC | [
2061,
389,
262,
1271,
286,
262,
20753,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
14478,
6,
21747,
290,
3297,
287,
31491,
416,
262,
331,
12,
22704,
13,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
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,
1... | [
2061,
389,
262,
1271,
286,
262,
20753,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
14478,
6,
21747,
290,
3297,
287,
31491,
416,
262,
331,
12,
22704,
13,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1... |
Name the cfl team for patrice denis | SELECT cfl_team FROM table_28059992_2 WHERE player = "Patrice Denis" | [
5376,
262,
269,
2704,
1074,
329,
1458,
20970,
2853,
271,
46506,
269,
2704,
62,
15097,
16034,
3084,
62,
21033,
43452,
5892,
62,
17,
33411,
2137,
796,
366,
12130,
20970,
33089,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
269,
2704,
1074,
329,
1458,
20970,
2853,
271,
46506,
269,
2704,
62,
15097,
16034,
3084,
62,
21033,
43452,
5892,
62,
17,
33411,
2137,
796,
366,
12130,
20970,
33089,
1
] |
Which shield winner has the mls cup runner up and the season is 2000? | SELECT mls_cup_runner_up FROM table_11148572_1 WHERE season = 2000 | [
13828,
7614,
8464,
468,
262,
285,
7278,
6508,
17490,
510,
290,
262,
1622,
318,
4751,
30,
46506,
285,
7278,
62,
25244,
62,
16737,
62,
929,
16034,
3084,
62,
1157,
18294,
48724,
62,
16,
33411,
1622,
796,
4751
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7614,
8464,
468,
262,
285,
7278,
6508,
17490,
510,
290,
262,
1622,
318,
4751,
30,
46506,
285,
7278,
62,
25244,
62,
16737,
62,
929,
16034,
3084,
62,
1157,
18294,
48724,
62,
16,
33411,
1622,
796,
4751
] |
A stacked bar chart showing the number of faults for different fault short name and skills required to fix them The x-axis is falut short name and group by skill description, and I want to show from low to high by the y axis please. | SELECT fault_short_name, COUNT(fault_short_name) FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description, fault_short_name ORDER BY COUNT(fault_short_name) | [
32,
24167,
2318,
8262,
4478,
262,
1271,
286,
31025,
329,
1180,
8046,
1790,
1438,
290,
4678,
2672,
284,
4259,
606,
383,
2124,
12,
22704,
318,
24215,
315,
1790,
1438,
290,
1448,
416,
5032,
6764,
11,
290,
314,
765,
284,
905,
422,
1877,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
24167,
2318,
8262,
4478,
262,
1271,
286,
31025,
329,
1180,
8046,
1790,
1438,
290,
4678,
2672,
284,
4259,
606,
383,
2124,
12,
22704,
318,
24215,
315,
1790,
1438,
290,
1448,
416,
5032,
6764,
11,
290,
314,
765,
284,
905,
422,
1877,
... |
What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? | SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12 | [
2061,
318,
262,
4511,
41190,
13516,
34474,
1271,
618,
2409,
808,
5451,
4505,
318,
4833,
621,
1105,
30,
46506,
25882,
7,
13155,
66,
62,
2436,
437,
62,
74,
1031,
11322,
14192,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
2318,
808,
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
] | [
2061,
318,
262,
4511,
41190,
13516,
34474,
1271,
618,
2409,
808,
5451,
4505,
318,
4833,
621,
1105,
30,
46506,
25882,
7,
13155,
66,
62,
2436,
437,
62,
74,
1031,
11322,
14192,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
2318,
808,
62,
... |
what were the top five most common diagnoses that patients were diagnosed during the same month after receiving intraaortic balloon pump removal until 2104? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'intraaortic balloon pump removal' AND ST... | [
10919,
547,
262,
1353,
1936,
749,
2219,
40567,
326,
3871,
547,
14641,
1141,
262,
976,
1227,
706,
6464,
23422,
64,
419,
291,
21190,
8901,
9934,
1566,
362,
13464,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1353,
1936,
749,
2219,
40567,
326,
3871,
547,
14641,
1141,
262,
976,
1227,
706,
6464,
23422,
64,
419,
291,
21190,
8901,
9934,
1566,
362,
13464,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13... |
Users accusing other users of plagiarism (double-sigh). | SELECT c.PostId AS "post_link", c.Text FROM Comments AS c WHERE c.Text LIKE '%http%plagiari%e%http%' OR c.Text LIKE '%http%cop%http%' OR c.Text LIKE '%http%stole%http%' | [
14490,
19786,
584,
2985,
286,
42054,
1042,
357,
23352,
12,
82,
394,
737,
46506,
269,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
269,
13,
8206,
16034,
19502,
7054,
269,
33411,
269,
13,
8206,
34178,
705,
4,
4023,
4,
489,
18013,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
19786,
584,
2985,
286,
42054,
1042,
357,
23352,
12,
82,
394,
737,
46506,
269,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
269,
13,
8206,
16034,
19502,
7054,
269,
33411,
269,
13,
8206,
34178,
705,
4,
4023,
4,
489,
18013,
... |
What years for the rockets did the player ford, phil phil ford play? | SELECT years_for_rockets FROM table_11734041_6 WHERE player = "Ford, Phil Phil Ford" | [
2061,
812,
329,
262,
20293,
750,
262,
2137,
329,
67,
11,
5206,
5206,
329,
67,
711,
30,
46506,
812,
62,
1640,
62,
10823,
1039,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
21,
33411,
2137,
796,
366,
37308,
11,
4543,
4543,
8092,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
329,
262,
20293,
750,
262,
2137,
329,
67,
11,
5206,
5206,
329,
67,
711,
30,
46506,
812,
62,
1640,
62,
10823,
1039,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
21,
33411,
2137,
796,
366,
37308,
11,
4543,
4543,
8092,
1
] |
when did patient 13528 receive his or her prescription for the last time since 12/2104? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13528) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2104-12' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
750,
5827,
17501,
2078,
3328,
465,
393,
607,
15077,
329,
262,
938,
640,
1201,
1105,
14,
17,
13464,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
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... | [
12518,
750,
5827,
17501,
2078,
3328,
465,
393,
607,
15077,
329,
262,
938,
640,
1201,
1105,
14,
17,
13464,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62... |
Who directed the film titled 'Steam of Life'? | SELECT "Director" FROM table_24720 WHERE "Film title used in nomination" = 'Steam of Life' | [
8241,
7924,
262,
2646,
11946,
705,
19109,
286,
5155,
30960,
46506,
366,
28702,
1,
16034,
3084,
62,
23753,
1238,
33411,
366,
39750,
3670,
973,
287,
11872,
1,
796,
705,
19109,
286,
5155,
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
] | [
8241,
7924,
262,
2646,
11946,
705,
19109,
286,
5155,
30960,
46506,
366,
28702,
1,
16034,
3084,
62,
23753,
1238,
33411,
366,
39750,
3670,
973,
287,
11872,
1,
796,
705,
19109,
286,
5155,
6
] |
what are the five most commonly ordered tests in 2101 for patients aged 30s? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 30 AND 39) AND STRFTIME('%y', labevents.c... | [
10919,
389,
262,
1936,
749,
8811,
6149,
5254,
287,
2310,
486,
329,
3871,
9722,
1542,
82,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
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... | [
10919,
389,
262,
1936,
749,
8811,
6149,
5254,
287,
2310,
486,
329,
3871,
9722,
1542,
82,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of price , and group by attribute name, and order y axis in descending order. | SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Price DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
1438,
11,
290,
1502,
331,
16488,
287,
31491,
1502,
13,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
1438,
11,
290,
1502,
331,
16488,
287,
31491,
1502,
13,
46506,
... |
how many days has passed since the last time patient 032-9230 got a procedure on this hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-9230' ... | [
4919,
867,
1528,
468,
3804,
1201,
262,
938,
640,
5827,
657,
2624,
12,
5892,
1270,
1392,
257,
8771,
319,
428,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
3804,
1201,
262,
938,
640,
5827,
657,
2624,
12,
5892,
1270,
1392,
257,
8771,
319,
428,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792... |
how many patients whose death status is 0 and lab test name is alkaline phosphatase? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "0" AND lab.label = "Alkaline Phosphatase" | [
4919,
867,
3871,
3025,
1918,
3722,
318,
657,
290,
2248,
1332,
1438,
318,
32915,
20663,
18431,
265,
589,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
1918,
3722,
318,
657,
290,
2248,
1332,
1438,
318,
32915,
20663,
18431,
265,
589,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
Give me a bar chart, that group by location and count them, list Y in descending order. | SELECT Location, COUNT(Location) FROM party GROUP BY Location ORDER BY COUNT(Location) DESC | [
23318,
502,
257,
2318,
8262,
11,
326,
1448,
416,
4067,
290,
954,
606,
11,
1351,
575,
287,
31491,
1502,
13,
46506,
13397,
11,
327,
28270,
7,
14749,
8,
16034,
2151,
44441,
11050,
13397,
38678,
11050,
327,
28270,
7,
14749,
8,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
11,
326,
1448,
416,
4067,
290,
954,
606,
11,
1351,
575,
287,
31491,
1502,
13,
46506,
13397,
11,
327,
28270,
7,
14749,
8,
16034,
2151,
44441,
11050,
13397,
38678,
11050,
327,
28270,
7,
14749,
8,
22196,
34
] |
What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12? | SELECT MAX(points) FROM table_name_66 WHERE lost > 5 AND difference = "- 10" AND played > 12 | [
2061,
318,
262,
6000,
1271,
286,
2173,
326,
468,
257,
2626,
5749,
621,
642,
11,
257,
3580,
286,
532,
838,
290,
257,
2826,
5749,
621,
1105,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2626,
1875,
642,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6000,
1271,
286,
2173,
326,
468,
257,
2626,
5749,
621,
642,
11,
257,
3580,
286,
532,
838,
290,
257,
2826,
5749,
621,
1105,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2626,
1875,
642,
5357,... |
What is the Transfer window, when the Transfer fee is 'free', and when the item 'Moving to' is Norwich City? | SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" | [
2061,
318,
262,
20558,
4324,
11,
618,
262,
20558,
6838,
318,
705,
5787,
3256,
290,
618,
262,
2378,
705,
33622,
284,
6,
318,
43586,
2254,
30,
46506,
4351,
62,
17497,
16034,
3084,
62,
3672,
62,
1270,
33411,
4351,
62,
39071,
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
] | [
2061,
318,
262,
20558,
4324,
11,
618,
262,
20558,
6838,
318,
705,
5787,
3256,
290,
618,
262,
2378,
705,
33622,
284,
6,
318,
43586,
2254,
30,
46506,
4351,
62,
17497,
16034,
3084,
62,
3672,
62,
1270,
33411,
4351,
62,
39071,
796,
366,
... |
Show me about the distribution of name and meter_100 in a bar chart. | SELECT name, meter_100 FROM swimmer | [
15307,
502,
546,
262,
6082,
286,
1438,
290,
16430,
62,
3064,
287,
257,
2318,
8262,
13,
46506,
1438,
11,
16430,
62,
3064,
16034,
9422,
647
] | [
1,
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,
1438,
290,
16430,
62,
3064,
287,
257,
2318,
8262,
13,
46506,
1438,
11,
16430,
62,
3064,
16034,
9422,
647
] |
tell me the name of the specimen test that patient 15794 had last received in this month? | SELECT microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15794) AND DATETIME(microbiologyevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY microbiology... | [
33331,
502,
262,
1438,
286,
262,
31674,
1332,
326,
5827,
1315,
50242,
550,
938,
2722,
287,
428,
1227,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
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... | [
33331,
502,
262,
1438,
286,
262,
31674,
1332,
326,
5827,
1315,
50242,
550,
938,
2722,
287,
428,
1227,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62... |
what is maximum age of patients whose primary disease is hyperglycemia and days of hospital stay is 3? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.diagnosis = "HYPERGLYCEMIA" AND demographic.days_stay = "3" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
4165,
4369,
318,
8718,
10853,
344,
20730,
290,
1528,
286,
4436,
2652,
318,
513,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
18973,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2479,
286,
3871,
3025,
4165,
4369,
318,
8718,
10853,
344,
20730,
290,
1528,
286,
4436,
2652,
318,
513,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
18973,
... |
how many patients whose diagnoses short title is pseudomonas infect nos and drug type is main? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Pseudomonas infect NOS" AND prescriptions.drug_type = "MAIN" | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
25038,
16698,
292,
7580,
43630,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
25038,
16698,
292,
7580,
43630,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177... |
Which courses in Beginning Drawing complete the MDE requirement ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Beginning Drawing%' OR course.description LIKE '%Beginning Drawing%' OR course.name LIKE '%Begin... | [
13828,
10902,
287,
25976,
40027,
1844,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
17319,
62,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
10902,
287,
25976,
40027,
1844,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
17319,
62,
312... |
What is the result/score for the match report recap on week 14? | SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14 | [
2061,
318,
262,
1255,
14,
26675,
329,
262,
2872,
989,
26871,
319,
1285,
1478,
30,
46506,
1255,
62,
26675,
16034,
3084,
62,
3672,
62,
1495,
33411,
2872,
62,
13116,
796,
366,
8344,
499,
1,
5357,
1285,
796,
1478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
14,
26675,
329,
262,
2872,
989,
26871,
319,
1285,
1478,
30,
46506,
1255,
62,
26675,
16034,
3084,
62,
3672,
62,
1495,
33411,
2872,
62,
13116,
796,
366,
8344,
499,
1,
5357,
1285,
796,
1478
] |
Is 418 having 2 or 3 lectures a week ? | SELECT DISTINCT course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday, semester.semester, semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND c... | [
3792,
45959,
1719,
362,
393,
513,
25917,
257,
1285,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
2364,
1586,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
45959,
1719,
362,
393,
513,
25917,
257,
1285,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
2364,
1586,
... |
count the number of patients who underwent vte prophylaxis - compression stockings two times during this year. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'vte prophylaxis - compression stockings' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME... | [
9127,
262,
1271,
286,
3871,
508,
25289,
410,
660,
386,
746,
2645,
22704,
532,
19794,
4283,
654,
734,
1661,
1141,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25289,
410,
660,
386,
746,
2645,
22704,
532,
19794,
4283,
654,
734,
1661,
1141,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,... |
Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votes | SELECT MIN("Mir-Hossein Mousavi") FROM table_25997 WHERE "Mohsen Rezaee" = '44809' | [
23114,
262,
9016,
4776,
329,
4540,
7381,
12,
39,
418,
20719,
42436,
15820,
618,
4540,
9719,
6248,
797,
4496,
1453,
7781,
5846,
34583,
5690,
46506,
20625,
7203,
27453,
12,
39,
418,
20719,
42436,
15820,
4943,
16034,
3084,
62,
1495,
39647,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
9016,
4776,
329,
4540,
7381,
12,
39,
418,
20719,
42436,
15820,
618,
4540,
9719,
6248,
797,
4496,
1453,
7781,
5846,
34583,
5690,
46506,
20625,
7203,
27453,
12,
39,
418,
20719,
42436,
15820,
4943,
16034,
3084,
62,
1495,
39647,
... |
Wjat score is greater than 22 with this song: - ? | SELECT "Name" FROM table_68912 WHERE "Score" > '22' AND "Song" = '林俊杰 - 木乃伊' | [
54,
73,
265,
4776,
318,
3744,
621,
2534,
351,
428,
3496,
25,
532,
5633,
46506,
366,
5376,
1,
16034,
3084,
62,
40523,
1065,
33411,
366,
26595,
1,
1875,
705,
1828,
6,
5357,
366,
44241,
1,
796,
705,
162,
252,
245,
46479,
232,
30266,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
54,
73,
265,
4776,
318,
3744,
621,
2534,
351,
428,
3496,
25,
532,
5633,
46506,
366,
5376,
1,
16034,
3084,
62,
40523,
1065,
33411,
366,
26595,
1,
1875,
705,
1828,
6,
5357,
366,
44241,
1,
796,
705,
162,
252,
245,
46479,
232,
30266,
... |
When the Venue is mcg what is the Home team? | SELECT "Home team" FROM table_56014 WHERE "Venue" = 'mcg' | [
2215,
262,
9932,
518,
318,
36650,
70,
644,
318,
262,
5995,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3980,
28645,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
9932,
518,
318,
36650,
70,
644,
318,
262,
5995,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3980,
28645,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
6
] |
what was the organism name found in this hospital encounter in patient 031-3355's last other microbiology test? | SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.cultur... | [
10919,
373,
262,
26433,
1438,
1043,
287,
428,
4436,
8791,
287,
5827,
657,
3132,
12,
2091,
2816,
338,
938,
584,
24559,
1435,
1332,
30,
46506,
4580,
23912,
13,
9971,
1042,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
26433,
1438,
1043,
287,
428,
4436,
8791,
287,
5827,
657,
3132,
12,
2091,
2816,
338,
938,
584,
24559,
1435,
1332,
30,
46506,
4580,
23912,
13,
9971,
1042,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
3... |
What are all values for U.S. viewers(millions) with Kevin Curran as a writer? | SELECT "U.S. viewers (millions)" FROM table_2385 WHERE "Written by" = 'Kevin Curran' | [
2061,
389,
477,
3815,
329,
471,
13,
50,
13,
10209,
7,
17805,
507,
8,
351,
7939,
4424,
2596,
355,
257,
6260,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1954,
5332,
33411,
366,
25354,
416,
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,
389,
477,
3815,
329,
471,
13,
50,
13,
10209,
7,
17805,
507,
8,
351,
7939,
4424,
2596,
355,
257,
6260,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1954,
5332,
33411,
366,
25354,
416,
1,
796... |
tell me the top three most common diagnoses in patients in the age of 50s until 3 years ago? | SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 50 AND 59) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-3 yea... | [
33331,
502,
262,
1353,
1115,
749,
2219,
40567,
287,
3871,
287,
262,
2479,
286,
2026,
82,
1566,
513,
812,
2084,
30,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1115,
749,
2219,
40567,
287,
3871,
287,
262,
2479,
286,
2026,
82,
1566,
513,
812,
2084,
30,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
... |
What team played between the years of 2008-2010? | SELECT "Team" FROM table_49905 WHERE "Played" = '2008-2010' | [
2061,
1074,
2826,
1022,
262,
812,
286,
3648,
12,
10333,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
28324,
2713,
33411,
366,
11002,
276,
1,
796,
705,
11528,
12,
10333,
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,
1074,
2826,
1022,
262,
812,
286,
3648,
12,
10333,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
28324,
2713,
33411,
366,
11002,
276,
1,
796,
705,
11528,
12,
10333,
6
] |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of headquarter and the sum of revenue , and group by attribute headquarter, and I want to list in descending by the y axis. | SELECT Headquarter, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Revenue) DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
314,
765,
284,
1351,
287,
31491,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
314,
765,
284,
1351,
287,
31491,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.