instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What week did Cleveland Browns played? | SELECT AVG(week) FROM table_name_31 WHERE opponent = "cleveland browns" | [
2061,
1285,
750,
10306,
17671,
2826,
30,
46506,
35224,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
6125,
796,
366,
2375,
9731,
7586,
82,
1
] | [
1,
1,
1,
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,
1285,
750,
10306,
17671,
2826,
30,
46506,
35224,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
6125,
796,
366,
2375,
9731,
7586,
82,
1
] |
How many users exist for each Age between 20 and 30?. | SELECT Age, COUNT(Id) AS count_per_age FROM Users WHERE Age BETWEEN 20 AND 30 GROUP BY Age | [
2437,
867,
2985,
2152,
329,
1123,
7129,
1022,
1160,
290,
1542,
30,
13,
46506,
7129,
11,
327,
28270,
7,
7390,
8,
7054,
954,
62,
525,
62,
496,
16034,
18987,
33411,
7129,
38651,
8845,
1677,
1160,
5357,
1542,
44441,
11050,
7129
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2985,
2152,
329,
1123,
7129,
1022,
1160,
290,
1542,
30,
13,
46506,
7129,
11,
327,
28270,
7,
7390,
8,
7054,
954,
62,
525,
62,
496,
16034,
18987,
33411,
7129,
38651,
8845,
1677,
1160,
5357,
1542,
44441,
11050,
7129
] |
how many patients marital status is single and are procedured with transplant cadaver donor? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.short_title = "Transplant cadaver donor" | [
4919,
867,
3871,
29555,
3722,
318,
2060,
290,
389,
5131,
1522,
351,
23319,
269,
4763,
332,
17052,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
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,
29555,
3722,
318,
2060,
290,
389,
5131,
1522,
351,
23319,
269,
4763,
332,
17052,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
... |
Find the names of schools that have more than one donator with donation amount above 8.5. | SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.amount > 8.5 GROUP BY T1.school_id HAVING COUNT(*) > 1 | [
16742,
262,
3891,
286,
4266,
326,
423,
517,
621,
530,
836,
1352,
351,
13784,
2033,
2029,
807,
13,
20,
13,
46506,
309,
17,
13,
14347,
62,
3672,
16034,
886,
36569,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
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... | [
16742,
262,
3891,
286,
4266,
326,
423,
517,
621,
530,
836,
1352,
351,
13784,
2033,
2029,
807,
13,
20,
13,
46506,
309,
17,
13,
14347,
62,
3672,
16034,
886,
36569,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
... |
What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals? | SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6 | [
2061,
318,
262,
2160,
286,
262,
3869,
28057,
286,
262,
3277,
351,
604,
3313,
690,
290,
517,
621,
718,
2472,
28057,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
8465,
796,
604,
5357,
2472,
1875,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
262,
3869,
28057,
286,
262,
3277,
351,
604,
3313,
690,
290,
517,
621,
718,
2472,
28057,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
8465,
796,
604,
5357,
2472,
1875,
718
] |
How did the manager replaced by Wolfgang Frank depart? | SELECT manner_of_departure FROM table_name_93 WHERE replaced_by = "wolfgang frank" | [
2437,
750,
262,
4706,
6928,
416,
48566,
5278,
6313,
30,
46506,
5642,
62,
1659,
62,
10378,
433,
495,
16034,
3084,
62,
3672,
62,
6052,
33411,
6928,
62,
1525,
796,
366,
18829,
28284,
14346,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
262,
4706,
6928,
416,
48566,
5278,
6313,
30,
46506,
5642,
62,
1659,
62,
10378,
433,
495,
16034,
3084,
62,
3672,
62,
6052,
33411,
6928,
62,
1525,
796,
366,
18829,
28284,
14346,
1
] |
Which positions had players from Laval college | SELECT position FROM table_16441561_5 WHERE college = "Laval" | [
13828,
6116,
550,
1938,
422,
406,
9226,
4152,
46506,
2292,
16034,
3084,
62,
1433,
2598,
1314,
5333,
62,
20,
33411,
4152,
796,
366,
43,
9226,
1
] | [
1,
1,
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,
6116,
550,
1938,
422,
406,
9226,
4152,
46506,
2292,
16034,
3084,
62,
1433,
2598,
1314,
5333,
62,
20,
33411,
4152,
796,
366,
43,
9226,
1
] |
How many p.ret are there when kr avg is 11.3 ? | SELECT COUNT("P. Ret.") FROM table_21155 WHERE "KR Avg." = '11.3' | [
2437,
867,
279,
13,
1186,
389,
612,
618,
479,
81,
42781,
318,
1367,
13,
18,
5633,
46506,
327,
28270,
7203,
47,
13,
4990,
19570,
16034,
3084,
62,
21895,
2816,
33411,
366,
30758,
33455,
526,
796,
705,
1157,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
279,
13,
1186,
389,
612,
618,
479,
81,
42781,
318,
1367,
13,
18,
5633,
46506,
327,
28270,
7203,
47,
13,
4990,
19570,
16034,
3084,
62,
21895,
2816,
33411,
366,
30758,
33455,
526,
796,
705,
1157,
13,
18,
6
] |
What's the Japanese Title when the Romaji title was Ry sei No Kizuna? | SELECT "Japanese Title" FROM table_14093 WHERE "Romaji Title" = 'ryūsei no kizuna' | [
2061,
338,
262,
4960,
11851,
618,
262,
3570,
26436,
3670,
373,
11089,
384,
72,
1400,
509,
528,
9613,
30,
46506,
366,
25324,
11851,
1,
16034,
3084,
62,
1415,
2931,
18,
33411,
366,
22834,
26436,
11851,
1,
796,
705,
563,
20317,
36455,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
4960,
11851,
618,
262,
3570,
26436,
3670,
373,
11089,
384,
72,
1400,
509,
528,
9613,
30,
46506,
366,
25324,
11851,
1,
16034,
3084,
62,
1415,
2931,
18,
33411,
366,
22834,
26436,
11851,
1,
796,
705,
563,
20317,
36455,
64... |
has patient 59049 received a glucose test since 01/2105? | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'glucose') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 59049) AND STRFTIME('%y-%m', labevents.charttime) >= '2105-01' | [
10134,
5827,
642,
3829,
2920,
2722,
257,
15701,
1332,
1201,
5534,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
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... | [
10134,
5827,
642,
3829,
2920,
2722,
257,
15701,
1332,
1201,
5534,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
... |
What is the network brand name of the company vodafone group in Germany? | SELECT network_brand_name FROM table_name_45 WHERE company_name = "vodafone group" AND country = "germany" | [
2061,
318,
262,
3127,
4508,
1438,
286,
262,
1664,
410,
375,
1878,
505,
1448,
287,
4486,
30,
46506,
3127,
62,
17938,
62,
3672,
16034,
3084,
62,
3672,
62,
2231,
33411,
1664,
62,
3672,
796,
366,
85,
375,
1878,
505,
1448,
1,
5357,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3127,
4508,
1438,
286,
262,
1664,
410,
375,
1878,
505,
1448,
287,
4486,
30,
46506,
3127,
62,
17938,
62,
3672,
16034,
3084,
62,
3672,
62,
2231,
33411,
1664,
62,
3672,
796,
366,
85,
375,
1878,
505,
1448,
1,
5357,
1499,... |
What is the total number of weeks with a game at the Milwaukee County Stadium attended by 47,897? | SELECT COUNT(week) FROM table_name_79 WHERE venue = "milwaukee county stadium" AND attendance = 47 OFFSET 897 | [
2061,
318,
262,
2472,
1271,
286,
2745,
351,
257,
983,
379,
262,
16629,
3418,
10499,
9141,
416,
6298,
11,
4531,
22,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
14359,
796,
366,
25433,
15428,
7968,
10308,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2745,
351,
257,
983,
379,
262,
16629,
3418,
10499,
9141,
416,
6298,
11,
4531,
22,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
14359,
796,
366,
25433,
15428,
7968,
10308,... |
patient 029-22492 had been prescribed morphine, ondansetron or vancomycin consult to pharmacy until 02/2105? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-22492')) AND medication.drugname IN ('morphine', 'ondansetron', 'vanco... | [
26029,
657,
1959,
12,
24137,
5892,
550,
587,
14798,
43948,
11,
319,
67,
504,
316,
1313,
393,
5719,
785,
88,
17879,
5725,
284,
32763,
1566,
7816,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
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... | [
26029,
657,
1959,
12,
24137,
5892,
550,
587,
14798,
43948,
11,
319,
67,
504,
316,
1313,
393,
5719,
785,
88,
17879,
5725,
284,
32763,
1566,
7816,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13... |
What pick was Dominic Uy? | SELECT AVG(pick) FROM table_name_48 WHERE player = "dominic uy" | [
2061,
2298,
373,
36401,
471,
88,
30,
46506,
35224,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
2137,
796,
366,
3438,
47277,
334,
88,
1
] | [
1,
1,
1,
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,
2298,
373,
36401,
471,
88,
30,
46506,
35224,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
2137,
796,
366,
3438,
47277,
334,
88,
1
] |
What is the Date of the Sutton United Home game? | SELECT "Date" FROM table_12725 WHERE "Home team" = 'sutton united' | [
2061,
318,
262,
7536,
286,
262,
39964,
1578,
5995,
983,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
16799,
1495,
33411,
366,
16060,
1074,
1,
796,
705,
82,
21115,
16503,
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,
7536,
286,
262,
39964,
1578,
5995,
983,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
16799,
1495,
33411,
366,
16060,
1074,
1,
796,
705,
82,
21115,
16503,
6
] |
What is the end of the term for Kadima that started on 18 January 2006? | SELECT "Term end" FROM table_64186 WHERE "Party" = 'kadima' AND "Term start" = '18 january 2006' | [
2061,
318,
262,
886,
286,
262,
3381,
329,
31996,
8083,
326,
2067,
319,
1248,
3269,
4793,
30,
46506,
366,
40596,
886,
1,
16034,
3084,
62,
2414,
25096,
33411,
366,
33553,
1,
796,
705,
74,
324,
8083,
6,
5357,
366,
40596,
923,
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,
318,
262,
886,
286,
262,
3381,
329,
31996,
8083,
326,
2067,
319,
1248,
3269,
4793,
30,
46506,
366,
40596,
886,
1,
16034,
3084,
62,
2414,
25096,
33411,
366,
33553,
1,
796,
705,
74,
324,
8083,
6,
5357,
366,
40596,
923,
1,
796,
... |
What are all the the participant ids, type code and details? | SELECT participant_id, participant_type_code, participant_details FROM participants | [
2061,
389,
477,
262,
262,
18399,
220,
2340,
11,
2099,
2438,
290,
3307,
30,
46506,
18399,
62,
312,
11,
18399,
62,
4906,
62,
8189,
11,
18399,
62,
36604,
16034,
6809
] | [
1,
1,
1,
1,
1,
1,
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,
262,
262,
18399,
220,
2340,
11,
2099,
2438,
290,
3307,
30,
46506,
18399,
62,
312,
11,
18399,
62,
4906,
62,
8189,
11,
18399,
62,
36604,
16034,
6809
] |
Show different teams in eliminations and the number of eliminations from each team by a bar chart, list x-axis in ascending order. | SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY Team | [
15307,
1180,
3466,
287,
5687,
7352,
290,
262,
1271,
286,
5687,
7352,
422,
1123,
1074,
416,
257,
2318,
8262,
11,
1351,
2124,
12,
22704,
287,
41988,
1502,
13,
46506,
4816,
11,
327,
28270,
7,
28104,
16034,
27405,
1883,
44441,
11050,
4816,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3466,
287,
5687,
7352,
290,
262,
1271,
286,
5687,
7352,
422,
1123,
1074,
416,
257,
2318,
8262,
11,
1351,
2124,
12,
22704,
287,
41988,
1502,
13,
46506,
4816,
11,
327,
28270,
7,
28104,
16034,
27405,
1883,
44441,
11050,
4816,
... |
What is the sum of Seasons, when the Team is Penske Racing, and when the Date is October 3? | SELECT SUM("Season") FROM table_42133 WHERE "Team" = 'penske racing' AND "Date" = 'october 3' | [
2061,
318,
262,
2160,
286,
33159,
11,
618,
262,
4816,
318,
38740,
365,
14954,
11,
290,
618,
262,
7536,
318,
3267,
513,
30,
46506,
35683,
7203,
18960,
4943,
16034,
3084,
62,
3682,
16945,
33411,
366,
15592,
1,
796,
705,
79,
641,
365,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
33159,
11,
618,
262,
4816,
318,
38740,
365,
14954,
11,
290,
618,
262,
7536,
318,
3267,
513,
30,
46506,
35683,
7203,
18960,
4943,
16034,
3084,
62,
3682,
16945,
33411,
366,
15592,
1,
796,
705,
79,
641,
365,
... |
What current club has a Height of 1.96? | SELECT current_club FROM table_name_50 WHERE height = 1.96 | [
2061,
1459,
3430,
468,
257,
27280,
286,
352,
13,
4846,
30,
46506,
1459,
62,
18664,
16034,
3084,
62,
3672,
62,
1120,
33411,
6001,
796,
352,
13,
4846
] | [
1,
1,
1,
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,
1459,
3430,
468,
257,
27280,
286,
352,
13,
4846,
30,
46506,
1459,
62,
18664,
16034,
3084,
62,
3672,
62,
1120,
33411,
6001,
796,
352,
13,
4846
] |
what was the last height of patient 8562 in a month before. | SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8562)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht' ... | [
10919,
373,
262,
938,
6001,
286,
5827,
807,
43918,
287,
257,
1227,
878,
13,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6001,
286,
5827,
807,
43918,
287,
257,
1227,
878,
13,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
... |
Which City has a Country of spain, and a Stadium of palacio de deportes de santander? | SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander" | [
13828,
2254,
468,
257,
12946,
286,
599,
391,
11,
290,
257,
10499,
286,
6340,
48711,
390,
29489,
274,
390,
264,
415,
4066,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
3553,
33411,
1499,
796,
366,
2777,
391,
1,
5357,
10308,
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
] | [
13828,
2254,
468,
257,
12946,
286,
599,
391,
11,
290,
257,
10499,
286,
6340,
48711,
390,
29489,
274,
390,
264,
415,
4066,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
3553,
33411,
1499,
796,
366,
2777,
391,
1,
5357,
10308,
796,
366,
... |
Which driver has a # smaller than 40, less than 151 points, and Winnings of $84,400? | SELECT "Make" FROM table_12045 WHERE "Car #" < '40' AND "Points" < '151' AND "Winnings" = '$84,400' | [
13828,
4639,
468,
257,
1303,
4833,
621,
2319,
11,
1342,
621,
25326,
2173,
11,
290,
19454,
654,
286,
720,
5705,
11,
7029,
30,
46506,
366,
12050,
1,
16034,
3084,
62,
10232,
2231,
33411,
366,
9914,
1303,
1,
1279,
705,
1821,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4639,
468,
257,
1303,
4833,
621,
2319,
11,
1342,
621,
25326,
2173,
11,
290,
19454,
654,
286,
720,
5705,
11,
7029,
30,
46506,
366,
12050,
1,
16034,
3084,
62,
10232,
2231,
33411,
366,
9914,
1303,
1,
1279,
705,
1821,
6,
5357,
36... |
What college did Richard Ticzon attend? | SELECT "College" FROM table_14290 WHERE "Player" = 'richard ticzon' | [
2061,
4152,
750,
6219,
309,
291,
26361,
5262,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
1415,
24369,
33411,
366,
14140,
1,
796,
705,
7527,
446,
256,
291,
26361,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4152,
750,
6219,
309,
291,
26361,
5262,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
1415,
24369,
33411,
366,
14140,
1,
796,
705,
7527,
446,
256,
291,
26361,
6
] |
Name the D 49 for when D 46 of i 1 @ | SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @" | [
5376,
262,
360,
5125,
329,
618,
360,
6337,
286,
1312,
352,
2488,
46506,
288,
62,
2920,
62,
24861,
248,
16034,
3084,
62,
3672,
62,
1731,
33411,
288,
62,
3510,
62,
24861,
248,
796,
366,
72,
352,
2488,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
360,
5125,
329,
618,
360,
6337,
286,
1312,
352,
2488,
46506,
288,
62,
2920,
62,
24861,
248,
16034,
3084,
62,
3672,
62,
1731,
33411,
288,
62,
3510,
62,
24861,
248,
796,
366,
72,
352,
2488,
1
] |
Questions by summed rep of the answerers. | SELECT QuestionId AS "post_link", QuestionId, COUNT(*) AS AnswererNo, SUM(CAST(AnswererRep AS INT)) AS SumAnswererRep FROM (SELECT DISTINCT Q.Id AS QuestionId, Users.Id AS AnswererId, Users.Reputation AS AnswererRep FROM Posts AS Q, Posts AS A, Users WHERE A.ParentId = Q.Id AND Users.Id = A.OwnerUserId AND Q.ClosedDate... | [
35741,
416,
32794,
1128,
286,
262,
2590,
19288,
13,
46506,
18233,
7390,
7054,
366,
7353,
62,
8726,
1600,
18233,
7390,
11,
327,
28270,
7,
28104,
7054,
1052,
2032,
11882,
2949,
11,
35683,
7,
44647,
7,
2025,
2032,
11882,
6207,
7054,
17828,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
416,
32794,
1128,
286,
262,
2590,
19288,
13,
46506,
18233,
7390,
7054,
366,
7353,
62,
8726,
1600,
18233,
7390,
11,
327,
28270,
7,
28104,
7054,
1052,
2032,
11882,
2949,
11,
35683,
7,
44647,
7,
2025,
2032,
11882,
6207,
7054,
17828,... |
How many different items appear in the high points column when the location attendance was US Airways Center 18,422? | SELECT COUNT("High points") FROM table_21452 WHERE "Location Attendance" = 'US Airways Center 18,422' | [
2437,
867,
1180,
3709,
1656,
287,
262,
1029,
2173,
5721,
618,
262,
4067,
14858,
373,
1294,
40020,
3337,
1248,
11,
44361,
30,
46506,
327,
28270,
7203,
11922,
2173,
4943,
16034,
3084,
62,
22291,
4309,
33411,
366,
14749,
46502,
590,
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
] | [
2437,
867,
1180,
3709,
1656,
287,
262,
1029,
2173,
5721,
618,
262,
4067,
14858,
373,
1294,
40020,
3337,
1248,
11,
44361,
30,
46506,
327,
28270,
7203,
11922,
2173,
4943,
16034,
3084,
62,
22291,
4309,
33411,
366,
14749,
46502,
590,
1,
796... |
What is the parameter when the best fit (WMAP only) is .9 .1, and symbol is a? | SELECT parameter FROM table_name_94 WHERE best_fit__wmap_only_ = ".9 ± .1" AND symbol = "a" | [
2061,
318,
262,
11507,
618,
262,
1266,
4197,
357,
22117,
2969,
691,
8,
318,
764,
24,
764,
16,
11,
290,
6194,
318,
257,
30,
46506,
11507,
16034,
3084,
62,
3672,
62,
5824,
33411,
1266,
62,
11147,
834,
86,
8899,
62,
8807,
62,
796,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11507,
618,
262,
1266,
4197,
357,
22117,
2969,
691,
8,
318,
764,
24,
764,
16,
11,
290,
6194,
318,
257,
30,
46506,
11507,
16034,
3084,
62,
3672,
62,
5824,
33411,
1266,
62,
11147,
834,
86,
8899,
62,
8807,
62,
796,
27... |
What Title has a Role of Mylene? | SELECT "Title" FROM table_5048 WHERE "Role" = 'mylene' | [
2061,
11851,
468,
257,
20934,
286,
2011,
29466,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1120,
2780,
33411,
366,
47445,
1,
796,
705,
1820,
29466,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
11851,
468,
257,
20934,
286,
2011,
29466,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1120,
2780,
33411,
366,
47445,
1,
796,
705,
1820,
29466,
6
] |
What are the public schools with a master's university? | SELECT "Location(s)" FROM table_23889 WHERE "Control" = 'Public' AND "Type" = 'Master''s university' | [
2061,
389,
262,
1171,
4266,
351,
257,
4958,
338,
6403,
30,
46506,
366,
14749,
7,
82,
16725,
16034,
3084,
62,
1954,
39121,
33411,
366,
15988,
1,
796,
705,
15202,
6,
5357,
366,
6030,
1,
796,
705,
18254,
7061,
82,
6403,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1171,
4266,
351,
257,
4958,
338,
6403,
30,
46506,
366,
14749,
7,
82,
16725,
16034,
3084,
62,
1954,
39121,
33411,
366,
15988,
1,
796,
705,
15202,
6,
5357,
366,
6030,
1,
796,
705,
18254,
7061,
82,
6403,
6
] |
give me the cheapest flight from DALLAS to BALTIMORE on saturday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, da... | [
26535,
502,
262,
28918,
5474,
422,
360,
7036,
1921,
284,
347,
31429,
3955,
6965,
319,
264,
3658,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
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... | [
26535,
502,
262,
28918,
5474,
422,
360,
7036,
1921,
284,
347,
31429,
3955,
6965,
319,
264,
3658,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
6... |
In which location did the Meca World Vale Tudo 6 event happen? | SELECT location FROM table_name_84 WHERE event = "meca world vale tudo 6" | [
818,
543,
4067,
750,
262,
337,
31047,
2159,
31832,
309,
12003,
718,
1785,
1645,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
5705,
33411,
1785,
796,
366,
76,
31047,
995,
410,
1000,
256,
12003,
718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
543,
4067,
750,
262,
337,
31047,
2159,
31832,
309,
12003,
718,
1785,
1645,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
5705,
33411,
1785,
796,
366,
76,
31047,
995,
410,
1000,
256,
12003,
718,
1
] |
How many elapsed times were posted for the yacht with 27.38 LOA meters? | SELECT COUNT("Elapsed time d:hh:mm:ss") FROM table_27786 WHERE "LOA (Metres)" = '27.38' | [
2437,
867,
42118,
1661,
547,
4481,
329,
262,
43207,
351,
2681,
13,
2548,
17579,
32,
10700,
30,
46506,
327,
28270,
7203,
9527,
28361,
640,
288,
25,
12337,
25,
3020,
25,
824,
4943,
16034,
3084,
62,
1983,
46302,
33411,
366,
21982,
32,
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
] | [
2437,
867,
42118,
1661,
547,
4481,
329,
262,
43207,
351,
2681,
13,
2548,
17579,
32,
10700,
30,
46506,
327,
28270,
7203,
9527,
28361,
640,
288,
25,
12337,
25,
3020,
25,
824,
4943,
16034,
3084,
62,
1983,
46302,
33411,
366,
21982,
32,
35... |
how much weight was patient 013-29301's last weight on their first hospital visit? | SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-29301' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL ORDER BY p... | [
4919,
881,
3463,
373,
5827,
5534,
18,
12,
1959,
18938,
338,
938,
3463,
319,
511,
717,
4436,
3187,
30,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
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... | [
4919,
881,
3463,
373,
5827,
5534,
18,
12,
1959,
18938,
338,
938,
3463,
319,
511,
717,
4436,
3187,
30,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... |
In which women's doubles did Wang Junjie play men's singles? | SELECT "Women's doubles" FROM table_79916 WHERE "Men's singles" = 'wang junjie' | [
818,
543,
1466,
338,
21938,
750,
15233,
7653,
73,
494,
711,
1450,
338,
25287,
30,
46506,
366,
18495,
338,
21938,
1,
16034,
3084,
62,
45455,
1433,
33411,
366,
10418,
338,
25287,
1,
796,
705,
47562,
10891,
73,
494,
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
] | [
818,
543,
1466,
338,
21938,
750,
15233,
7653,
73,
494,
711,
1450,
338,
25287,
30,
46506,
366,
18495,
338,
21938,
1,
16034,
3084,
62,
45455,
1433,
33411,
366,
10418,
338,
25287,
1,
796,
705,
47562,
10891,
73,
494,
6
] |
What is the english title that has finale as 33 and peak as 42? | SELECT "English title" FROM table_16487 WHERE "Finale" = '33' AND "Peak" = '42' | [
2061,
318,
262,
46932,
3670,
326,
468,
19523,
355,
4747,
290,
9103,
355,
5433,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
1433,
35133,
33411,
366,
18467,
1000,
1,
796,
705,
2091,
6,
5357,
366,
6435,
461,
1,
796,
705,
3682,
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,
46932,
3670,
326,
468,
19523,
355,
4747,
290,
9103,
355,
5433,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
1433,
35133,
33411,
366,
18467,
1000,
1,
796,
705,
2091,
6,
5357,
366,
6435,
461,
1,
796,
705,
3682,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, a bar chart shows the distribution of hire_date and the average of department_id bin hire_date by time. | SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
50... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
50... |
What is the Label of Catalogue # HVNLP26CD from United Kingdom? | SELECT label FROM table_name_14 WHERE country = "united kingdom" AND catalogue__number = "hvnlp26cd" | [
2061,
318,
262,
36052,
286,
16758,
5119,
1303,
367,
53,
45,
19930,
2075,
8610,
422,
1578,
7526,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
1415,
33411,
1499,
796,
366,
41187,
13239,
1,
5357,
34614,
834,
17618,
796,
366,
71,
85,
21283... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36052,
286,
16758,
5119,
1303,
367,
53,
45,
19930,
2075,
8610,
422,
1578,
7526,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
1415,
33411,
1499,
796,
366,
41187,
13239,
1,
5357,
34614,
834,
17618,
796,
366,
71,
85,
21283... |
How many weeks was K.Maro at #1? | SELECT MAX("Weeks at #1") FROM table_3760 WHERE "Artist" = 'K.Maro' | [
2437,
867,
2745,
373,
509,
13,
7676,
78,
379,
1303,
16,
30,
46506,
25882,
7203,
1135,
2573,
379,
1303,
16,
4943,
16034,
3084,
62,
2718,
1899,
33411,
366,
43020,
1,
796,
705,
42,
13,
7676,
78,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2745,
373,
509,
13,
7676,
78,
379,
1303,
16,
30,
46506,
25882,
7203,
1135,
2573,
379,
1303,
16,
4943,
16034,
3084,
62,
2718,
1899,
33411,
366,
43020,
1,
796,
705,
42,
13,
7676,
78,
6
] |
What is the total amount of points that Christy has in the years before 1954? | SELECT SUM("Points") FROM table_70839 WHERE "Entrant" = 'christy' AND "Year" < '1954' | [
2061,
318,
262,
2472,
2033,
286,
2173,
326,
50058,
468,
287,
262,
812,
878,
24718,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
32583,
2670,
33411,
366,
14539,
5250,
1,
796,
705,
43533,
88,
6,
5357,
366,
17688,
1,
1279,
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
] | [
2061,
318,
262,
2472,
2033,
286,
2173,
326,
50058,
468,
287,
262,
812,
878,
24718,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
32583,
2670,
33411,
366,
14539,
5250,
1,
796,
705,
43533,
88,
6,
5357,
366,
17688,
1,
1279,
705,
... |
how many patients whose age is less than 54 and drug name is succinylcholine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "54" AND prescriptions.drug = "Succinylcholine" | [
4919,
867,
3871,
3025,
2479,
318,
1342,
621,
7175,
290,
2563,
1438,
318,
17458,
19754,
354,
14453,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
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,
2479,
318,
1342,
621,
7175,
290,
2563,
1438,
318,
17458,
19754,
354,
14453,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,... |
Who was the opponent at memorial stadium? | SELECT opponent FROM table_name_25 WHERE venue = "memorial stadium" | [
8241,
373,
262,
6125,
379,
17357,
10308,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
14359,
796,
366,
11883,
5132,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
379,
17357,
10308,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
14359,
796,
366,
11883,
5132,
10308,
1
] |
What was the record of the team with head coach Steve Spurrier? | SELECT record FROM table_name_8 WHERE head_coach = "steve spurrier" | [
2061,
373,
262,
1700,
286,
262,
1074,
351,
1182,
3985,
6542,
47788,
5277,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
23,
33411,
1182,
62,
1073,
620,
796,
366,
4169,
303,
26724,
5277,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
286,
262,
1074,
351,
1182,
3985,
6542,
47788,
5277,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
23,
33411,
1182,
62,
1073,
620,
796,
366,
4169,
303,
26724,
5277,
1
] |
What was the score when Calgary was visiting team and Niittymaki had the decision? | SELECT score FROM table_name_78 WHERE decision = "niittymaki" AND visitor = "calgary" | [
2061,
373,
262,
4776,
618,
17842,
373,
10013,
1074,
290,
11556,
715,
4948,
8182,
550,
262,
2551,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3695,
33411,
2551,
796,
366,
8461,
715,
4948,
8182,
1,
5357,
21493,
796,
366,
9948,
14849,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17842,
373,
10013,
1074,
290,
11556,
715,
4948,
8182,
550,
262,
2551,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3695,
33411,
2551,
796,
366,
8461,
715,
4948,
8182,
1,
5357,
21493,
796,
366,
9948,
14849,
1
... |
When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors? | SELECT "Minor sponsors" FROM table_1949 WHERE "Kit manufacturer" = 'Olympikus' AND "Main sponsor" = 'Batavo' | [
2215,
7365,
615,
78,
318,
262,
1388,
17487,
290,
267,
6760,
1134,
385,
318,
262,
6220,
11554,
508,
389,
262,
4159,
18073,
30,
46506,
366,
39825,
18073,
1,
16034,
3084,
62,
1129,
2920,
33411,
366,
20827,
11554,
1,
796,
705,
46,
6760,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7365,
615,
78,
318,
262,
1388,
17487,
290,
267,
6760,
1134,
385,
318,
262,
6220,
11554,
508,
389,
262,
4159,
18073,
30,
46506,
366,
39825,
18073,
1,
16034,
3084,
62,
1129,
2920,
33411,
366,
20827,
11554,
1,
796,
705,
46,
6760,
... |
What was the attendance when South Melbourne played as the home team? | SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne" | [
2061,
373,
262,
14858,
618,
2520,
14819,
2826,
355,
262,
1363,
1074,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
1363,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
618,
2520,
14819,
2826,
355,
262,
1363,
1074,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
1363,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] |
Which team has 16 points and ranks 14th? | SELECT "Team" FROM table_39278 WHERE "Points" = '16' AND "Rank" = '14th' | [
13828,
1074,
468,
1467,
2173,
290,
9803,
1478,
400,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2670,
25870,
33411,
366,
40710,
1,
796,
705,
1433,
6,
5357,
366,
27520,
1,
796,
705,
1415,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
1467,
2173,
290,
9803,
1478,
400,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2670,
25870,
33411,
366,
40710,
1,
796,
705,
1433,
6,
5357,
366,
27520,
1,
796,
705,
1415,
400,
6
] |
What are the names of perpetrators? | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID | [
2061,
389,
262,
3891,
286,
25185,
30,
46506,
309,
16,
13,
5376,
16034,
661,
7054,
309,
16,
32357,
1268,
33599,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25185,
30,
46506,
309,
16,
13,
5376,
16034,
661,
7054,
309,
16,
32357,
1268,
33599,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389
] |
What district is bill thomas from? | SELECT district FROM table_1341453_7 WHERE incumbent = "Bill Thomas" | [
2061,
4783,
318,
2855,
294,
16911,
422,
30,
46506,
4783,
16034,
3084,
62,
19880,
1415,
4310,
62,
22,
33411,
23526,
796,
366,
17798,
5658,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4783,
318,
2855,
294,
16911,
422,
30,
46506,
4783,
16034,
3084,
62,
19880,
1415,
4310,
62,
22,
33411,
23526,
796,
366,
17798,
5658,
1
] |
what is the prochlorperazine maleate 10 mg po tabs price? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'prochlorperazine maleate 10 mg po tabs') | [
10919,
318,
262,
386,
36813,
525,
4994,
4257,
378,
838,
10527,
745,
22524,
2756,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
1150,
3299,
6,
5357,
1575,
13,
15596,
312,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
386,
36813,
525,
4994,
4257,
378,
838,
10527,
745,
22524,
2756,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
1150,
3299,
6,
5357,
1575,
13,
15596,
312,
3268,
... |
Comments From One User To Another. | SELECT c.CreationDate AS "comment_date", p.Id AS "post_link", c.Score, c.Text AS Comment FROM Posts AS p INNER JOIN Comments AS c ON c.PostId = p.Id WHERE p.OwnerUserId = '##UserId##' AND c.UserId = '##CommenterId:int##' ORDER BY c.Score DESC | [
23903,
3574,
1881,
11787,
1675,
6023,
13,
46506,
269,
13,
12443,
341,
10430,
7054,
366,
23893,
62,
4475,
1600,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
269,
13,
26595,
11,
269,
13,
8206,
7054,
18957,
16034,
12043,
7054,
279,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23903,
3574,
1881,
11787,
1675,
6023,
13,
46506,
269,
13,
12443,
341,
10430,
7054,
366,
23893,
62,
4475,
1600,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
269,
13,
26595,
11,
269,
13,
8206,
7054,
18957,
16034,
12043,
7054,
279,
32... |
Show the facility codes of apartments with more than 4 bedrooms. | SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 | [
15307,
262,
6841,
12416,
286,
19592,
351,
517,
621,
604,
38529,
13,
46506,
309,
16,
13,
38942,
879,
62,
8189,
16034,
5949,
1823,
62,
47522,
2410,
7054,
309,
16,
32357,
1268,
22596,
902,
7054,
309,
17,
6177,
309,
16,
13,
2373,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
6841,
12416,
286,
19592,
351,
517,
621,
604,
38529,
13,
46506,
309,
16,
13,
38942,
879,
62,
8189,
16034,
5949,
1823,
62,
47522,
2410,
7054,
309,
16,
32357,
1268,
22596,
902,
7054,
309,
17,
6177,
309,
16,
13,
2373,
62,
31... |
What draft pick number attended syracuse and was drafted by the Carolina panthers? | SELECT SUM("Pick #") FROM table_44400 WHERE "NFL team" = 'carolina panthers' AND "College" = 'syracuse' | [
2061,
4538,
2298,
1271,
9141,
827,
28268,
290,
373,
15937,
416,
262,
5913,
15857,
7084,
30,
46506,
35683,
7203,
31686,
1303,
4943,
16034,
3084,
62,
2598,
7029,
33411,
366,
32078,
1074,
1,
796,
705,
7718,
47196,
15857,
7084,
6,
5357,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4538,
2298,
1271,
9141,
827,
28268,
290,
373,
15937,
416,
262,
5913,
15857,
7084,
30,
46506,
35683,
7203,
31686,
1303,
4943,
16034,
3084,
62,
2598,
7029,
33411,
366,
32078,
1074,
1,
796,
705,
7718,
47196,
15857,
7084,
6,
5357,
366... |
what is the difference in the number of combined days between kevin steen and davey richards ? | SELECT ABS((SELECT "combined\ndays" FROM table_204_721 WHERE "wrestler" = 'kevin steen') - (SELECT "combined\ndays" FROM table_204_721 WHERE "wrestler" = 'davey richards')) | [
10919,
318,
262,
3580,
287,
262,
1271,
286,
5929,
1528,
1022,
885,
7114,
2876,
268,
290,
288,
1015,
88,
5527,
1371,
5633,
46506,
29950,
19510,
46506,
366,
24011,
1389,
59,
358,
592,
1,
16034,
3084,
62,
18638,
62,
22,
2481,
33411,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
3580,
287,
262,
1271,
286,
5929,
1528,
1022,
885,
7114,
2876,
268,
290,
288,
1015,
88,
5527,
1371,
5633,
46506,
29950,
19510,
46506,
366,
24011,
1389,
59,
358,
592,
1,
16034,
3084,
62,
18638,
62,
22,
2481,
33411,
366,... |
What is Time, when Round is '3', when Method is 'Decision (unanimous)', and when Record is '7-3'? | SELECT time FROM table_name_45 WHERE round = 3 AND method = "decision (unanimous)" AND record = "7-3" | [
2061,
318,
3862,
11,
618,
10485,
318,
705,
18,
3256,
618,
11789,
318,
705,
10707,
1166,
357,
403,
45873,
8,
3256,
290,
618,
13266,
318,
705,
22,
12,
18,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
2231,
33411,
2835,
796,
513,
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
] | [
2061,
318,
3862,
11,
618,
10485,
318,
705,
18,
3256,
618,
11789,
318,
705,
10707,
1166,
357,
403,
45873,
8,
3256,
290,
618,
13266,
318,
705,
22,
12,
18,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
2231,
33411,
2835,
796,
513,
5357... |
which player had the most receptions but no touchdowns ? | SELECT "player" FROM table_203_8 WHERE "td's" = 0 ORDER BY "rec." DESC LIMIT 1 | [
4758,
2137,
550,
262,
749,
35401,
475,
645,
17692,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
23,
33411,
366,
8671,
338,
1,
796,
657,
38678,
11050,
366,
8344,
526,
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,
1,
1,
1,
1,
1
] | [
4758,
2137,
550,
262,
749,
35401,
475,
645,
17692,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
23,
33411,
366,
8671,
338,
1,
796,
657,
38678,
11050,
366,
8344,
526,
22196,
34,
27564,
2043,
352
] |
What is the church name located in H yanger? | SELECT "Church Name" FROM table_1774 WHERE "Location of the Church" = 'Høyanger' | [
2061,
318,
262,
4928,
1438,
5140,
287,
367,
331,
2564,
30,
46506,
366,
46686,
6530,
1,
16034,
3084,
62,
1558,
4524,
33411,
366,
14749,
286,
262,
4564,
1,
796,
705,
39,
24172,
88,
2564,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4928,
1438,
5140,
287,
367,
331,
2564,
30,
46506,
366,
46686,
6530,
1,
16034,
3084,
62,
1558,
4524,
33411,
366,
14749,
286,
262,
4564,
1,
796,
705,
39,
24172,
88,
2564,
6
] |
What is the court rank of the person with a courtesy title of nagato-no-kami? | SELECT "Court Rank" FROM table_5651 WHERE "Courtesy title" = 'nagato-no-kami' | [
2061,
318,
262,
2184,
4279,
286,
262,
1048,
351,
257,
12537,
3670,
286,
299,
363,
5549,
12,
3919,
12,
74,
6277,
30,
46506,
366,
36699,
10916,
1,
16034,
3084,
62,
20,
40639,
33411,
366,
31825,
3670,
1,
796,
705,
77,
363,
5549,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2184,
4279,
286,
262,
1048,
351,
257,
12537,
3670,
286,
299,
363,
5549,
12,
3919,
12,
74,
6277,
30,
46506,
366,
36699,
10916,
1,
16034,
3084,
62,
20,
40639,
33411,
366,
31825,
3670,
1,
796,
705,
77,
363,
5549,
12,
... |
Name the most finish for 2006 | SELECT MAX(finish) FROM table_name_9 WHERE year = 2006 | [
5376,
262,
749,
5461,
329,
4793,
46506,
25882,
7,
15643,
680,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
614,
796,
4793
] | [
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,
5461,
329,
4793,
46506,
25882,
7,
15643,
680,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
614,
796,
4793
] |
Which Venue has Attendances of 11,045? | SELECT "Venue" FROM table_6191 WHERE "Attendance" = '11,045' | [
13828,
9932,
518,
468,
46502,
1817,
286,
1367,
11,
40350,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
21,
26492,
33411,
366,
8086,
437,
590,
1,
796,
705,
1157,
11,
40350,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9932,
518,
468,
46502,
1817,
286,
1367,
11,
40350,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
21,
26492,
33411,
366,
8086,
437,
590,
1,
796,
705,
1157,
11,
40350,
6
] |
count the number of times patient 012-85821's total co2 test has been taken until 04/2102. | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-85821')) AND lab.labname = 'total co2' AND STRFTIME('%y-%m', lab.labresulttime) <= '2102... | [
9127,
262,
1271,
286,
1661,
5827,
5534,
17,
12,
23,
3365,
2481,
338,
2472,
763,
17,
1332,
468,
587,
2077,
1566,
8702,
14,
17,
15377,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
1661,
5827,
5534,
17,
12,
23,
3365,
2481,
338,
2472,
763,
17,
1332,
468,
587,
2077,
1566,
8702,
14,
17,
15377,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
... |
what procedure did patient 64873 undergo for the first time since 3 years ago? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64873) AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TI... | [
10919,
8771,
750,
5827,
718,
2780,
4790,
17777,
329,
262,
717,
640,
1201,
513,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
750,
5827,
718,
2780,
4790,
17777,
329,
262,
717,
640,
1201,
513,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
... |
find the gender of subject id 6983. | SELECT demographic.gender FROM demographic WHERE demographic.subject_id = "6983" | [
19796,
262,
5279,
286,
2426,
4686,
39861,
18,
13,
46506,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
5279,
286,
2426,
4686,
39861,
18,
13,
46506,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] |
What result has texas longhorns as the opponent? | SELECT result FROM table_name_47 WHERE opponent = "texas longhorns" | [
2061,
1255,
468,
48659,
292,
300,
19757,
19942,
355,
262,
6125,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2857,
33411,
6125,
796,
366,
16886,
292,
300,
19757,
19942,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1255,
468,
48659,
292,
300,
19757,
19942,
355,
262,
6125,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2857,
33411,
6125,
796,
366,
16886,
292,
300,
19757,
19942,
1
] |
when was last time patient 12775 was measured with a less respiratory rate than 19.0 today? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12775)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'respirat... | [
12518,
373,
938,
640,
5827,
18112,
2425,
373,
8630,
351,
257,
1342,
22949,
2494,
621,
678,
13,
15,
1909,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
938,
640,
5827,
18112,
2425,
373,
8630,
351,
257,
1342,
22949,
2494,
621,
678,
13,
15,
1909,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14... |
what is drug code and drug dose of drug name lidocaine viscous 2%? | SELECT prescriptions.formulary_drug_cd, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Lidocaine Viscous 2%" | [
10919,
318,
2563,
2438,
290,
2563,
10742,
286,
2563,
1438,
19789,
420,
5718,
31116,
516,
362,
4,
30,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
30349,
62,
34436,
16034,
34092,
33411,
34092,
13,
30349,
796,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2563,
2438,
290,
2563,
10742,
286,
2563,
1438,
19789,
420,
5718,
31116,
516,
362,
4,
30,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
30349,
62,
34436,
16034,
34092,
33411,
34092,
13,
30349,
796,
3... |
What is the S sk n village with a Malax village me ba ? | SELECT "S\u00fcsk\u0259n" FROM table_75411 WHERE "Malax" = 'meşəbaş' | [
2061,
318,
262,
311,
1341,
299,
7404,
351,
257,
4434,
897,
7404,
502,
26605,
5633,
46506,
366,
50,
59,
84,
405,
69,
6359,
74,
59,
84,
15,
25191,
77,
1,
16034,
3084,
62,
41874,
1157,
33411,
366,
15029,
897,
1,
796,
705,
1326,
46481... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
311,
1341,
299,
7404,
351,
257,
4434,
897,
7404,
502,
26605,
5633,
46506,
366,
50,
59,
84,
405,
69,
6359,
74,
59,
84,
15,
25191,
77,
1,
16034,
3084,
62,
41874,
1157,
33411,
366,
15029,
897,
1,
796,
705,
1326,
46481... |
What are the names of wines that are more expensive then all wines made in the year 2006? | SELECT Name FROM WINE WHERE Price > (SELECT MAX(Price) FROM WINE WHERE YEAR = 2006) | [
2061,
389,
262,
3891,
286,
30680,
326,
389,
517,
5789,
788,
477,
30680,
925,
287,
262,
614,
4793,
30,
46506,
6530,
16034,
370,
8881,
33411,
7886,
1875,
357,
46506,
25882,
7,
18124,
8,
16034,
370,
8881,
33411,
32914,
796,
4793,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
286,
30680,
326,
389,
517,
5789,
788,
477,
30680,
925,
287,
262,
614,
4793,
30,
46506,
6530,
16034,
370,
8881,
33411,
7886,
1875,
357,
46506,
25882,
7,
18124,
8,
16034,
370,
8881,
33411,
32914,
796,
4793,
8
] |
What is the total number of yr plyf with a G plyf less than 0? | SELECT COUNT(yr_plyf) FROM table_name_56 WHERE g_plyf < 0 | [
2061,
318,
262,
2472,
1271,
286,
42635,
35960,
69,
351,
257,
402,
35960,
69,
1342,
621,
657,
30,
46506,
327,
28270,
7,
2417,
62,
2145,
69,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
308,
62,
2145,
69,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
42635,
35960,
69,
351,
257,
402,
35960,
69,
1342,
621,
657,
30,
46506,
327,
28270,
7,
2417,
62,
2145,
69,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
308,
62,
2145,
69,
1279,
657
] |
Who was the player with a bowling best of 2/43? | SELECT player FROM table_15893020_2 WHERE best_bowling = "2/43" | [
8241,
373,
262,
2137,
351,
257,
33564,
1266,
286,
362,
14,
3559,
30,
46506,
2137,
16034,
3084,
62,
1314,
4531,
1270,
1238,
62,
17,
33411,
1266,
62,
8176,
1359,
796,
366,
17,
14,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
2137,
351,
257,
33564,
1266,
286,
362,
14,
3559,
30,
46506,
2137,
16034,
3084,
62,
1314,
4531,
1270,
1238,
62,
17,
33411,
1266,
62,
8176,
1359,
796,
366,
17,
14,
3559,
1
] |
How much did the federal government spend in No Child Left Behind funding in 2017? | SELECT SUM(c14) FROM finrev_fed_17 WHERE yr_data = 17 | [
2437,
881,
750,
262,
2717,
1230,
4341,
287,
1400,
5932,
9578,
20787,
4918,
287,
2177,
30,
46506,
35683,
7,
66,
1415,
8,
16034,
957,
18218,
62,
19082,
62,
1558,
33411,
42635,
62,
7890,
796,
1596
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
750,
262,
2717,
1230,
4341,
287,
1400,
5932,
9578,
20787,
4918,
287,
2177,
30,
46506,
35683,
7,
66,
1415,
8,
16034,
957,
18218,
62,
19082,
62,
1558,
33411,
42635,
62,
7890,
796,
1596
] |
I need to fulfill the MDE requirement , which is the easiest class to do that ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou... | [
40,
761,
284,
14658,
262,
337,
7206,
9079,
837,
543,
318,
262,
16638,
1398,
284,
466,
326,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
40,
761,
284,
14658,
262,
337,
7206,
9079,
837,
543,
318,
262,
16638,
1398,
284,
466,
326,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
... |
How long is the orbital period for the planet that has a semimajor axis of 5.20 au? | SELECT "Orbital Period" FROM table_16376 WHERE "Semimajor Axis ( AU )" = '5.20' | [
2437,
890,
318,
262,
32362,
2278,
329,
262,
5440,
326,
468,
257,
5026,
320,
1518,
16488,
286,
642,
13,
1238,
35851,
30,
46506,
366,
5574,
65,
1287,
18581,
1,
16034,
3084,
62,
1433,
32128,
33411,
366,
13900,
320,
1518,
38349,
357,
2754... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
318,
262,
32362,
2278,
329,
262,
5440,
326,
468,
257,
5026,
320,
1518,
16488,
286,
642,
13,
1238,
35851,
30,
46506,
366,
5574,
65,
1287,
18581,
1,
16034,
3084,
62,
1433,
32128,
33411,
366,
13900,
320,
1518,
38349,
357,
2754... |
What is the total number of field goals a player had when there were more than 0 extra points and there were 5 touchdowns? | SELECT COUNT(field_goals) FROM table_name_6 WHERE extra_points > 0 AND touchdowns = 5 | [
2061,
318,
262,
2472,
1271,
286,
2214,
4661,
257,
2137,
550,
618,
612,
547,
517,
621,
657,
3131,
2173,
290,
612,
547,
642,
17692,
30,
46506,
327,
28270,
7,
3245,
62,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3131,
62,
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
] | [
2061,
318,
262,
2472,
1271,
286,
2214,
4661,
257,
2137,
550,
618,
612,
547,
517,
621,
657,
3131,
2173,
290,
612,
547,
642,
17692,
30,
46506,
327,
28270,
7,
3245,
62,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3131,
62,
13... |
What's the latest keynote version of version 2.3 of numbers with pages greater than 4.3? | SELECT MAX(keynote_version) FROM table_name_18 WHERE numbers_version = "2.3" AND pages_version > 4.3 | [
2061,
338,
262,
3452,
37332,
2196,
286,
2196,
362,
13,
18,
286,
3146,
351,
5468,
3744,
621,
604,
13,
18,
30,
46506,
25882,
7,
365,
2047,
1258,
62,
9641,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
3146,
62,
9641,
796,
366,
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
] | [
2061,
338,
262,
3452,
37332,
2196,
286,
2196,
362,
13,
18,
286,
3146,
351,
5468,
3744,
621,
604,
13,
18,
30,
46506,
25882,
7,
365,
2047,
1258,
62,
9641,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
3146,
62,
9641,
796,
366,
17,
13,
... |
How many different results came out of the round in which #98 All American Racers became the GTU winning team? | SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = "#98 All American Racers" | [
2437,
867,
1180,
2482,
1625,
503,
286,
262,
2835,
287,
543,
1303,
4089,
1439,
1605,
24746,
364,
2627,
262,
7963,
52,
5442,
1074,
30,
46506,
327,
28270,
7,
43420,
8,
16034,
3084,
62,
1485,
2414,
2091,
1238,
62,
17,
33411,
308,
28047,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
2482,
1625,
503,
286,
262,
2835,
287,
543,
1303,
4089,
1439,
1605,
24746,
364,
2627,
262,
7963,
52,
5442,
1074,
30,
46506,
327,
28270,
7,
43420,
8,
16034,
3084,
62,
1485,
2414,
2091,
1238,
62,
17,
33411,
308,
28047,
... |
What is the most elevated Position that has a Points of 257, and a Bike No littler than 19? | SELECT MAX("Position") FROM table_77317 WHERE "Points" = '257' AND "Bike No" < '19' | [
2061,
318,
262,
749,
15321,
23158,
326,
468,
257,
11045,
286,
36100,
11,
290,
257,
26397,
1400,
300,
715,
1754,
621,
678,
30,
46506,
25882,
7203,
26545,
4943,
16034,
3084,
62,
3324,
34125,
33411,
366,
40710,
1,
796,
705,
28676,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
15321,
23158,
326,
468,
257,
11045,
286,
36100,
11,
290,
257,
26397,
1400,
300,
715,
1754,
621,
678,
30,
46506,
25882,
7203,
26545,
4943,
16034,
3084,
62,
3324,
34125,
33411,
366,
40710,
1,
796,
705,
28676,
6,
535... |
Sort the information about course authors and tutors in alphabetical order of the personal name. | SELECT * FROM course_authors_and_tutors ORDER BY personal_name | [
42758,
262,
1321,
546,
1781,
7035,
290,
9732,
669,
287,
24830,
605,
1502,
286,
262,
2614,
1438,
13,
46506,
1635,
16034,
1781,
62,
41617,
62,
392,
62,
83,
315,
669,
38678,
11050,
2614,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
42758,
262,
1321,
546,
1781,
7035,
290,
9732,
669,
287,
24830,
605,
1502,
286,
262,
2614,
1438,
13,
46506,
1635,
16034,
1781,
62,
41617,
62,
392,
62,
83,
315,
669,
38678,
11050,
2614,
62,
3672
] |
What was the 2nd leg score having an aggregate score of 4-2? | SELECT 2 AS nd_leg FROM table_name_88 WHERE aggregate = "4-2" | [
2061,
373,
262,
362,
358,
1232,
4776,
1719,
281,
19406,
4776,
286,
604,
12,
17,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
3459,
33411,
19406,
796,
366,
19,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1232,
4776,
1719,
281,
19406,
4776,
286,
604,
12,
17,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
3459,
33411,
19406,
796,
366,
19,
12,
17,
1
] |
flight numbers from MINNEAPOLIS to LONG BEACH on 6 26 | 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 = 'LONG BEACH' AND date_day.day_number = 26 AND date_day.month_number = 6 AN... | [
22560,
3146,
422,
20625,
12161,
2969,
3535,
1797,
284,
44533,
9348,
16219,
319,
718,
2608,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22560,
3146,
422,
20625,
12161,
2969,
3535,
1797,
284,
44533,
9348,
16219,
319,
718,
2608,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271... |
how many patients whose primary disease is syncope;telemetry and admission year is less than 2137? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SYNCOPE;TELEMETRY" AND demographic.admityear < "2137" | [
4919,
867,
3871,
3025,
4165,
4369,
318,
17510,
3008,
26,
46813,
41935,
290,
13938,
614,
318,
1342,
621,
362,
19708,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
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... | [
4919,
867,
3871,
3025,
4165,
4369,
318,
17510,
3008,
26,
46813,
41935,
290,
13938,
614,
318,
1342,
621,
362,
19708,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5... |
what ae all of the brazil 100% where the age group is 15-17? | SELECT brazil_100_percentage__percent_of_the_population_ FROM table_18950570_4 WHERE age_group = "15-17" | [
10919,
257,
68,
477,
286,
262,
275,
7098,
1802,
4,
810,
262,
2479,
1448,
318,
1315,
12,
1558,
30,
46506,
275,
7098,
62,
3064,
62,
25067,
496,
834,
25067,
62,
1659,
62,
1169,
62,
39748,
62,
16034,
3084,
62,
23362,
31654,
2154,
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
] | [
10919,
257,
68,
477,
286,
262,
275,
7098,
1802,
4,
810,
262,
2479,
1448,
318,
1315,
12,
1558,
30,
46506,
275,
7098,
62,
3064,
62,
25067,
496,
834,
25067,
62,
1659,
62,
1169,
62,
39748,
62,
16034,
3084,
62,
23362,
31654,
2154,
62,
... |
who were the color commentators for play by play in 1968 ? | SELECT "color commentator(s)" FROM table_203_773 WHERE "season" = 1968 | [
8727,
547,
262,
3124,
25699,
329,
711,
416,
711,
287,
15963,
5633,
46506,
366,
8043,
28823,
7,
82,
16725,
16034,
3084,
62,
22416,
62,
46871,
33411,
366,
6230,
1,
796,
15963
] | [
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
3124,
25699,
329,
711,
416,
711,
287,
15963,
5633,
46506,
366,
8043,
28823,
7,
82,
16725,
16034,
3084,
62,
22416,
62,
46871,
33411,
366,
6230,
1,
796,
15963
] |
Next semester , will there be an ORALBIOL 995 section not on Monday ? | SELECT DISTINCT course_offering.section_number FROM course, course_offering, semester WHERE course_offering.monday = 'N' AND course.course_id = course_offering.course_id AND course.department = 'ORALBIOL' AND course.number = 995 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semest... | [
10019,
24878,
837,
481,
612,
307,
281,
6375,
1847,
3483,
3535,
860,
3865,
2665,
407,
319,
3321,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10019,
24878,
837,
481,
612,
307,
281,
6375,
1847,
3483,
3535,
860,
3865,
2665,
407,
319,
3321,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
17... |
I want the NHL team for wade belak | SELECT nhl_team FROM table_name_87 WHERE player = "wade belak" | [
40,
765,
262,
9481,
1074,
329,
266,
671,
894,
461,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
3672,
62,
5774,
33411,
2137,
796,
366,
86,
671,
894,
461,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
262,
9481,
1074,
329,
266,
671,
894,
461,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
3672,
62,
5774,
33411,
2137,
796,
366,
86,
671,
894,
461,
1
] |
Return a pie chart on how old is the average person for each job? | SELECT job, AVG(age) FROM Person GROUP BY job | [
13615,
257,
2508,
8262,
319,
703,
1468,
318,
262,
2811,
1048,
329,
1123,
1693,
30,
46506,
1693,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
1693
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2508,
8262,
319,
703,
1468,
318,
262,
2811,
1048,
329,
1123,
1693,
30,
46506,
1693,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
1693
] |
What is the to par of the player from England with a t1 place? | SELECT to_par FROM table_name_93 WHERE country = "england" AND place = "t1" | [
2061,
318,
262,
284,
1582,
286,
262,
2137,
422,
4492,
351,
257,
256,
16,
1295,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
6052,
33411,
1499,
796,
366,
1516,
1044,
1,
5357,
1295,
796,
366,
83,
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
] | [
2061,
318,
262,
284,
1582,
286,
262,
2137,
422,
4492,
351,
257,
256,
16,
1295,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
6052,
33411,
1499,
796,
366,
1516,
1044,
1,
5357,
1295,
796,
366,
83,
16,
1
] |
What the date of the game of the team that plays in princes park? | SELECT date FROM table_name_25 WHERE venue = "princes park" | [
2061,
262,
3128,
286,
262,
983,
286,
262,
1074,
326,
5341,
287,
42676,
3952,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1495,
33411,
14359,
796,
366,
1050,
17386,
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
] | [
2061,
262,
3128,
286,
262,
983,
286,
262,
1074,
326,
5341,
287,
42676,
3952,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1495,
33411,
14359,
796,
366,
1050,
17386,
3952,
1
] |
What type has song as the name? | SELECT "Type" FROM table_6630 WHERE "Name" = 'song' | [
2061,
2099,
468,
3496,
355,
262,
1438,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
2791,
1270,
33411,
366,
5376,
1,
796,
705,
34050,
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
] | [
2061,
2099,
468,
3496,
355,
262,
1438,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
2791,
1270,
33411,
366,
5376,
1,
796,
705,
34050,
6
] |
What were the average laps on a grid of 11? | SELECT AVG(laps) FROM table_name_37 WHERE grid = 11 | [
2061,
547,
262,
2811,
24590,
319,
257,
10706,
286,
1367,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
10706,
796,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
2811,
24590,
319,
257,
10706,
286,
1367,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
10706,
796,
1367
] |
What is the highest Super G, when Season is later than 1996? | SELECT MAX(super_g) FROM table_name_46 WHERE season > 1996 | [
2061,
318,
262,
4511,
3115,
402,
11,
618,
7369,
318,
1568,
621,
8235,
30,
46506,
25882,
7,
16668,
62,
70,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
1622,
1875,
8235
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3115,
402,
11,
618,
7369,
318,
1568,
621,
8235,
30,
46506,
25882,
7,
16668,
62,
70,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
1622,
1875,
8235
] |
What was the name of the episode directed by Jessica Yu? | SELECT "Title" FROM table_26110 WHERE "Directed by" = 'Jessica Yu' | [
2061,
373,
262,
1438,
286,
262,
4471,
7924,
416,
17352,
10605,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
2075,
11442,
33411,
366,
13470,
276,
416,
1,
796,
705,
45572,
10605,
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,
373,
262,
1438,
286,
262,
4471,
7924,
416,
17352,
10605,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
2075,
11442,
33411,
366,
13470,
276,
416,
1,
796,
705,
45572,
10605,
6
] |
the number of patients who have been treated with drsl/drslumb fus ant/ant since 4 years ago. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'drsl/drslumb fus ant/ant') AND DATETIME(procedures_i... | [
1169,
1271,
286,
3871,
508,
423,
587,
5716,
351,
1553,
6649,
14,
67,
3808,
75,
2178,
277,
385,
1885,
14,
415,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1169,
1271,
286,
3871,
508,
423,
587,
5716,
351,
1553,
6649,
14,
67,
3808,
75,
2178,
277,
385,
1885,
14,
415,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
... |
What is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008? | SELECT "Record" FROM table_57895 WHERE "Leading scorer" = 'maurice williams (25)' AND "Date" = '27 january 2008' | [
2061,
318,
262,
13266,
351,
257,
43225,
30664,
351,
285,
2899,
501,
481,
1789,
82,
357,
1495,
828,
290,
257,
7536,
351,
2681,
42897,
2838,
3648,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
38907,
3865,
33411,
366,
20451,
278,
30664,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13266,
351,
257,
43225,
30664,
351,
285,
2899,
501,
481,
1789,
82,
357,
1495,
828,
290,
257,
7536,
351,
2681,
42897,
2838,
3648,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
38907,
3865,
33411,
366,
20451,
278,
30664,
1,... |
Name th margin of victory when date is 10 jul 2011 | SELECT "Margin of victory" FROM table_20412 WHERE "Date" = '10 Jul 2011' | [
5376,
294,
10330,
286,
5373,
618,
3128,
318,
838,
474,
377,
2813,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
18638,
1065,
33411,
366,
10430,
1,
796,
705,
940,
5979,
2813,
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,
294,
10330,
286,
5373,
618,
3128,
318,
838,
474,
377,
2813,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
18638,
1065,
33411,
366,
10430,
1,
796,
705,
940,
5979,
2813,
6
] |
Name the agg for team 2 of asl sport guyanais. | SELECT "Agg." FROM table_68494 WHERE "Team 2" = 'asl sport guyanais' | [
5376,
262,
4194,
329,
1074,
362,
286,
355,
75,
6332,
3516,
2271,
271,
13,
46506,
366,
46384,
526,
16034,
3084,
62,
3104,
39449,
33411,
366,
15592,
362,
1,
796,
705,
292,
75,
6332,
3516,
2271,
271,
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
] | [
5376,
262,
4194,
329,
1074,
362,
286,
355,
75,
6332,
3516,
2271,
271,
13,
46506,
366,
46384,
526,
16034,
3084,
62,
3104,
39449,
33411,
366,
15592,
362,
1,
796,
705,
292,
75,
6332,
3516,
2271,
271,
6
] |
Show the total number from each flag, display the total number in desc order. | SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY COUNT(*) DESC | [
15307,
262,
2472,
1271,
422,
1123,
6056,
11,
3359,
262,
2472,
1271,
287,
1715,
1502,
13,
46506,
19762,
11,
327,
28270,
7,
28104,
16034,
16656,
44441,
11050,
19762,
38678,
11050,
327,
28270,
7,
28104,
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
] | [
15307,
262,
2472,
1271,
422,
1123,
6056,
11,
3359,
262,
2472,
1271,
287,
1715,
1502,
13,
46506,
19762,
11,
327,
28270,
7,
28104,
16034,
16656,
44441,
11050,
19762,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
how many patients who were admitted before the year 2150 had an iv bolus as the drug route? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2150" AND prescriptions.route = "IV BOLUS" | [
4919,
867,
3871,
508,
547,
6848,
878,
262,
614,
2310,
1120,
550,
281,
21628,
11572,
385,
355,
262,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
508,
547,
6848,
878,
262,
614,
2310,
1120,
550,
281,
21628,
11572,
385,
355,
262,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092... |
when was the last urine, catheter specimen microbial test done in patient 031-23605 since 08/2104? | SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605')) AND microlab.culturesite = 'urine, catheter specimen... | [
12518,
373,
262,
938,
18922,
11,
3797,
43332,
31674,
36603,
1332,
1760,
287,
5827,
657,
3132,
12,
1954,
32417,
1201,
8487,
14,
17,
13464,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
18922,
11,
3797,
43332,
31674,
36603,
1332,
1760,
287,
5827,
657,
3132,
12,
1954,
32417,
1201,
8487,
14,
17,
13464,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
... |
Name the total number for score l 110-112 | SELECT COUNT("#") FROM table_25460 WHERE "Score" = 'L 110-112' | [
5376,
262,
2472,
1271,
329,
4776,
300,
9796,
12,
14686,
46506,
327,
28270,
7203,
2,
4943,
16034,
3084,
62,
24970,
1899,
33411,
366,
26595,
1,
796,
705,
43,
9796,
12,
14686,
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
] | [
5376,
262,
2472,
1271,
329,
4776,
300,
9796,
12,
14686,
46506,
327,
28270,
7203,
2,
4943,
16034,
3084,
62,
24970,
1899,
33411,
366,
26595,
1,
796,
705,
43,
9796,
12,
14686,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.