instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the name of the school that has the smallest enrollment in each state?, and show from high to low by the X-axis. | SELECT cName, MIN(enr) FROM College GROUP BY state ORDER BY cName DESC | [
2061,
318,
262,
1438,
286,
262,
1524,
326,
468,
262,
18197,
20753,
287,
1123,
1181,
21747,
290,
905,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
13,
46506,
269,
5376,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181,
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
] | [
2061,
318,
262,
1438,
286,
262,
1524,
326,
468,
262,
18197,
20753,
287,
1123,
1181,
21747,
290,
905,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
13,
46506,
269,
5376,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181,
3... |
What is the result for the best new musical nominee? | SELECT "Result" FROM table_54247 WHERE "Nominee" = 'best new musical' | [
2061,
318,
262,
1255,
329,
262,
1266,
649,
10530,
10429,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
4051,
23753,
33411,
366,
45,
296,
500,
68,
1,
796,
705,
13466,
649,
10530,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
329,
262,
1266,
649,
10530,
10429,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
4051,
23753,
33411,
366,
45,
296,
500,
68,
1,
796,
705,
13466,
649,
10530,
6
] |
Which team was in a game with a record of 15-63? | SELECT team FROM table_13619053_9 WHERE record = "15-63" | [
13828,
1074,
373,
287,
257,
983,
351,
257,
1700,
286,
1315,
12,
5066,
30,
46506,
1074,
16034,
3084,
62,
20809,
1129,
2713,
18,
62,
24,
33411,
1700,
796,
366,
1314,
12,
5066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
287,
257,
983,
351,
257,
1700,
286,
1315,
12,
5066,
30,
46506,
1074,
16034,
3084,
62,
20809,
1129,
2713,
18,
62,
24,
33411,
1700,
796,
366,
1314,
12,
5066,
1
] |
Which patients have hispanic or latino-puerto rican ethnic background? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" | [
13828,
3871,
423,
465,
35843,
393,
3042,
2879,
12,
19944,
13806,
374,
7490,
9450,
4469,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
39,
1797,
47,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
423,
465,
35843,
393,
3042,
2879,
12,
19944,
13806,
374,
7490,
9450,
4469,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
39,
1797,
47,
... |
what is the number of times patient 022-142620 has been prescribed albuterol inhale in 09/last year. | SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-142620')) AND medication.drugname = 'albuterol inhale' AND DATETIME(medica... | [
10919,
318,
262,
1271,
286,
1661,
5827,
657,
1828,
12,
1415,
2075,
1238,
468,
587,
14798,
435,
4360,
263,
349,
25783,
1000,
287,
7769,
14,
12957,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
5827,
657,
1828,
12,
1415,
2075,
1238,
468,
587,
14798,
435,
4360,
263,
349,
25783,
1000,
287,
7769,
14,
12957,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,... |
how many patients admission location is trsf within this facility and item id is 50801? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.itemid = "50801" | [
4919,
867,
3871,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
2378,
4686,
318,
2026,
41531,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
2378,
4686,
318,
2026,
41531,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
... |
how many parks were established after the year 2000 ? | SELECT COUNT("national park") FROM table_204_143 WHERE "established" > 2000 | [
4919,
867,
14860,
547,
4920,
706,
262,
614,
4751,
5633,
46506,
327,
28270,
7203,
14648,
3952,
4943,
16034,
3084,
62,
18638,
62,
21139,
33411,
366,
27718,
1,
1875,
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
] | [
4919,
867,
14860,
547,
4920,
706,
262,
614,
4751,
5633,
46506,
327,
28270,
7203,
14648,
3952,
4943,
16034,
3084,
62,
18638,
62,
21139,
33411,
366,
27718,
1,
1875,
4751
] |
When melbourne played as the home team, who did they play? | SELECT away_team FROM table_name_41 WHERE home_team = "melbourne" | [
2215,
7758,
12544,
2826,
355,
262,
1363,
1074,
11,
508,
750,
484,
711,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
3901,
33411,
1363,
62,
15097,
796,
366,
17694,
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
] | [
2215,
7758,
12544,
2826,
355,
262,
1363,
1074,
11,
508,
750,
484,
711,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
3901,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1
] |
What is the highest goal for a GEO nat., that ended after 2010? | SELECT MAX("Goals") FROM table_65768 WHERE "Nat." = 'geo' AND "Ends" > '2010' | [
2061,
318,
262,
4511,
3061,
329,
257,
402,
4720,
34664,
1539,
326,
4444,
706,
3050,
30,
46506,
25882,
7203,
5247,
874,
4943,
16034,
3084,
62,
2996,
30610,
33411,
366,
47849,
526,
796,
705,
469,
78,
6,
5357,
366,
12915,
82,
1,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3061,
329,
257,
402,
4720,
34664,
1539,
326,
4444,
706,
3050,
30,
46506,
25882,
7203,
5247,
874,
4943,
16034,
3084,
62,
2996,
30610,
33411,
366,
47849,
526,
796,
705,
469,
78,
6,
5357,
366,
12915,
82,
1,
1875,
... |
What is the meaning of a gentle personality? | SELECT "\u610f\u7fa9 Meaning" FROM table_22833 WHERE "\u6027\u60c5 Personality" = 'Gentle' | [
2061,
318,
262,
3616,
286,
257,
10296,
8806,
30,
46506,
37082,
84,
39132,
69,
59,
84,
22,
13331,
24,
30563,
1,
16034,
3084,
62,
23815,
2091,
33411,
37082,
84,
1899,
1983,
59,
84,
1899,
66,
20,
30472,
1,
796,
705,
38,
8651,
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,
3616,
286,
257,
10296,
8806,
30,
46506,
37082,
84,
39132,
69,
59,
84,
22,
13331,
24,
30563,
1,
16034,
3084,
62,
23815,
2091,
33411,
37082,
84,
1899,
1983,
59,
84,
1899,
66,
20,
30472,
1,
796,
705,
38,
8651,
6
] |
How many tries were there for club cwmtwrch rfc? | SELECT "Tries against" FROM table_61674 WHERE "Club" = 'cwmtwrch rfc' | [
2437,
867,
8404,
547,
612,
329,
3430,
269,
26377,
4246,
81,
354,
374,
16072,
30,
46506,
366,
51,
1678,
1028,
1,
16034,
3084,
62,
44214,
4524,
33411,
366,
42350,
1,
796,
705,
66,
26377,
4246,
81,
354,
374,
16072,
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,
8404,
547,
612,
329,
3430,
269,
26377,
4246,
81,
354,
374,
16072,
30,
46506,
366,
51,
1678,
1028,
1,
16034,
3084,
62,
44214,
4524,
33411,
366,
42350,
1,
796,
705,
66,
26377,
4246,
81,
354,
374,
16072,
6
] |
What song has the band tour vnue of 6. tool (usa) encore? | SELECT song FROM table_name_66 WHERE band_tour_venue = "6. tool (usa) encore" | [
2061,
3496,
468,
262,
4097,
4205,
410,
77,
518,
286,
718,
13,
2891,
357,
22064,
8,
2207,
382,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
2791,
33411,
4097,
62,
83,
454,
62,
4080,
796,
366,
21,
13,
2891,
357,
22064,
8,
2207,
382,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3496,
468,
262,
4097,
4205,
410,
77,
518,
286,
718,
13,
2891,
357,
22064,
8,
2207,
382,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
2791,
33411,
4097,
62,
83,
454,
62,
4080,
796,
366,
21,
13,
2891,
357,
22064,
8,
2207,
382,
... |
what was patient 4269's intake for the first time until 32 days ago? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT inputevents_cv.itemid FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4269)) AND DATETIME(inputevents_cv.c... | [
10919,
373,
5827,
604,
26276,
338,
10337,
329,
262,
717,
640,
1566,
3933,
1528,
2084,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
287,
79,
1133,
85,
658,
62,
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,
5827,
604,
26276,
338,
10337,
329,
262,
717,
640,
1566,
3933,
1528,
2084,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
287,
79,
1133,
85,
658,
62,
3... |
Was the round where they were in 6th at home or away? | SELECT "Home/Away" FROM table_30912 WHERE "Position on Ladder" = '6th' | [
16973,
262,
2835,
810,
484,
547,
287,
718,
400,
379,
1363,
393,
1497,
30,
46506,
366,
16060,
14,
32,
1014,
1,
16034,
3084,
62,
26895,
1065,
33411,
366,
26545,
319,
12862,
1082,
1,
796,
705,
21,
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,
1,
1
] | [
16973,
262,
2835,
810,
484,
547,
287,
718,
400,
379,
1363,
393,
1497,
30,
46506,
366,
16060,
14,
32,
1014,
1,
16034,
3084,
62,
26895,
1065,
33411,
366,
26545,
319,
12862,
1082,
1,
796,
705,
21,
400,
6
] |
with delivery date of 2001 2001 what is gross tonnage? | SELECT AVG("Gross Tonnage") FROM table_37624 WHERE "Delivery Date" = '2001 2001' | [
4480,
7585,
3128,
286,
5878,
5878,
644,
318,
10319,
5680,
77,
496,
30,
46506,
35224,
7203,
38,
1214,
16859,
77,
496,
4943,
16034,
3084,
62,
32128,
1731,
33411,
366,
33129,
7536,
1,
796,
705,
14585,
5878,
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
] | [
4480,
7585,
3128,
286,
5878,
5878,
644,
318,
10319,
5680,
77,
496,
30,
46506,
35224,
7203,
38,
1214,
16859,
77,
496,
4943,
16034,
3084,
62,
32128,
1731,
33411,
366,
33129,
7536,
1,
796,
705,
14585,
5878,
6
] |
Tell me the game site for week of 1 | SELECT game_site FROM table_name_98 WHERE week = "1" | [
24446,
502,
262,
983,
2524,
329,
1285,
286,
352,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
4089,
33411,
1285,
796,
366,
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
] | [
24446,
502,
262,
983,
2524,
329,
1285,
286,
352,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
4089,
33411,
1285,
796,
366,
16,
1
] |
what is the total number of patients who had arthrocentesis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Arthrocentesis" | [
10919,
318,
262,
2472,
1271,
286,
3871,
508,
550,
610,
26110,
1087,
9339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
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
] | [
10919,
318,
262,
2472,
1271,
286,
3871,
508,
550,
610,
26110,
1087,
9339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,... |
During race 14, what's the podiums? | SELECT MAX(podiums) FROM table_name_78 WHERE race = 14 | [
7191,
3234,
1478,
11,
644,
338,
262,
27941,
82,
30,
46506,
25882,
7,
79,
12664,
82,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
3234,
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
] | [
7191,
3234,
1478,
11,
644,
338,
262,
27941,
82,
30,
46506,
25882,
7,
79,
12664,
82,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
3234,
796,
1478
] |
how much does the maximum hospital cost including a procedure called antibacterials - monobactam in 2103? | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'antibacterials - monobactam')) AND STRFTIME(... | [
4919,
881,
857,
262,
5415,
4436,
1575,
1390,
257,
8771,
1444,
11310,
7321,
8231,
532,
937,
672,
529,
321,
287,
362,
15197,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
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... | [
4919,
881,
857,
262,
5415,
4436,
1575,
1390,
257,
8771,
1444,
11310,
7321,
8231,
532,
937,
672,
529,
321,
287,
362,
15197,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16... |
count the number of patients who are jewish with a total protein urine test done. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "JEWISH" AND lab.label = "Total Protein, Urine" | [
9127,
262,
1271,
286,
3871,
508,
389,
12711,
680,
351,
257,
2472,
7532,
18922,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
389,
12711,
680,
351,
257,
2472,
7532,
18922,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18... |
Which Round has an Opponent of aleksandr pitchkounov? | SELECT MIN("Round") FROM table_64307 WHERE "Opponent" = 'aleksandr pitchkounov' | [
13828,
10485,
468,
281,
9385,
3471,
286,
31341,
591,
46273,
7078,
74,
977,
709,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2414,
22996,
33411,
366,
27524,
3471,
1,
796,
705,
1000,
591,
46273,
7078,
74,
977,
709,
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
] | [
13828,
10485,
468,
281,
9385,
3471,
286,
31341,
591,
46273,
7078,
74,
977,
709,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2414,
22996,
33411,
366,
27524,
3471,
1,
796,
705,
1000,
591,
46273,
7078,
74,
977,
709,
6
] |
what is the name moving to atl tico minero? | SELECT "Name" FROM table_59442 WHERE "Moving to" = 'atlético minero' | [
10919,
318,
262,
1438,
3867,
284,
379,
75,
256,
3713,
949,
3529,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3270,
39506,
33411,
366,
33622,
284,
1,
796,
705,
25864,
25125,
3713,
949,
3529,
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
] | [
10919,
318,
262,
1438,
3867,
284,
379,
75,
256,
3713,
949,
3529,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3270,
39506,
33411,
366,
33622,
284,
1,
796,
705,
25864,
25125,
3713,
949,
3529,
6
] |
List the number of customers that did not have any payment history. | SELECT COUNT(*) FROM Customers WHERE NOT customer_id IN (SELECT customer_id FROM Customer_Payments) | [
8053,
262,
1271,
286,
4297,
326,
750,
407,
423,
597,
6074,
2106,
13,
46506,
327,
28270,
7,
28104,
16034,
36707,
33411,
5626,
6491,
62,
312,
3268,
357,
46506,
6491,
62,
312,
16034,
22092,
62,
19197,
902,
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
] | [
8053,
262,
1271,
286,
4297,
326,
750,
407,
423,
597,
6074,
2106,
13,
46506,
327,
28270,
7,
28104,
16034,
36707,
33411,
5626,
6491,
62,
312,
3268,
357,
46506,
6491,
62,
312,
16034,
22092,
62,
19197,
902,
8
] |
What are the distinct grant amount for the grants where the documents were sent before '1986-08-26 20:49:27' and grant were ended after '1989-03-16 18:27:16'? | SELECT T1.grant_amount FROM grants AS T1 JOIN Documents AS T2 ON T1.grant_id = T2.grant_id WHERE T2.sent_date < '1986-08-26 20:49:27' INTERSECT SELECT grant_amount FROM grants WHERE grant_end_date > '1989-03-16 18:27:16' | [
2061,
389,
262,
7310,
7264,
2033,
329,
262,
11455,
810,
262,
4963,
547,
1908,
878,
705,
28054,
12,
2919,
12,
2075,
1160,
25,
2920,
25,
1983,
6,
290,
7264,
547,
4444,
706,
705,
25475,
12,
3070,
12,
1433,
1248,
25,
1983,
25,
1433,
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... | [
2061,
389,
262,
7310,
7264,
2033,
329,
262,
11455,
810,
262,
4963,
547,
1908,
878,
705,
28054,
12,
2919,
12,
2075,
1160,
25,
2920,
25,
1983,
6,
290,
7264,
547,
4444,
706,
705,
25475,
12,
3070,
12,
1433,
1248,
25,
1983,
25,
1433,
3... |
how many outgoing managers were appointed in november 2007 ? | SELECT COUNT("outgoing manager") FROM table_203_450 WHERE "date of appointment" = 11 AND "date of appointment" = 2007 | [
4919,
867,
28181,
11663,
547,
9899,
287,
645,
303,
1916,
4343,
5633,
46506,
327,
28270,
7203,
448,
5146,
4706,
4943,
16034,
3084,
62,
22416,
62,
17885,
33411,
366,
4475,
286,
12557,
1,
796,
1367,
5357,
366,
4475,
286,
12557,
1,
796,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
28181,
11663,
547,
9899,
287,
645,
303,
1916,
4343,
5633,
46506,
327,
28270,
7203,
448,
5146,
4706,
4943,
16034,
3084,
62,
22416,
62,
17885,
33411,
366,
4475,
286,
12557,
1,
796,
1367,
5357,
366,
4475,
286,
12557,
1,
796,
4... |
Show the average salary by each hire date of employees, and please bin the hire date into the day of week interval for showing a bar chart, could you display Y from low to high order please? | SELECT HIRE_DATE, AVG(SALARY) FROM employees ORDER BY AVG(SALARY) | [
15307,
262,
2811,
9588,
416,
1123,
11078,
3128,
286,
4409,
11,
290,
3387,
9874,
262,
11078,
3128,
656,
262,
1110,
286,
1285,
16654,
329,
4478,
257,
2318,
8262,
11,
714,
345,
3359,
575,
422,
1877,
284,
1029,
1502,
3387,
30,
46506,
3621... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
9588,
416,
1123,
11078,
3128,
286,
4409,
11,
290,
3387,
9874,
262,
11078,
3128,
656,
262,
1110,
286,
1285,
16654,
329,
4478,
257,
2318,
8262,
11,
714,
345,
3359,
575,
422,
1877,
284,
1029,
1502,
3387,
30,
46506,
3621... |
What were the years of the Tottenham Hotspur career for the player with 10 goals, from England, played the df position, and had 118 club apps? | SELECT tottenham_hotspur_career FROM table_name_26 WHERE goals = "10" AND nationality = "england" AND position = "df" AND club_apps = "118" | [
2061,
547,
262,
812,
286,
262,
24272,
41239,
14225,
3451,
329,
262,
2137,
351,
838,
4661,
11,
422,
4492,
11,
2826,
262,
47764,
2292,
11,
290,
550,
19035,
3430,
6725,
30,
46506,
284,
32407,
2763,
62,
17398,
14225,
62,
6651,
263,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
547,
262,
812,
286,
262,
24272,
41239,
14225,
3451,
329,
262,
2137,
351,
838,
4661,
11,
422,
4492,
11,
2826,
262,
47764,
2292,
11,
290,
550,
19035,
3430,
6725,
30,
46506,
284,
32407,
2763,
62,
17398,
14225,
62,
6651,
263,
16034,... |
tell me patient 016-18150's maximum temperature on last month/03? | SELECT MAX(vitalperiodic.temperature) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18150')) AND NOT vitalperiodic.temperature IS ... | [
33331,
502,
5827,
5534,
21,
12,
1507,
8628,
338,
5415,
5951,
319,
938,
1227,
14,
3070,
30,
46506,
25882,
7,
85,
1287,
41007,
291,
13,
11498,
21069,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
5534,
21,
12,
1507,
8628,
338,
5415,
5951,
319,
938,
1227,
14,
3070,
30,
46506,
25882,
7,
85,
1287,
41007,
291,
13,
11498,
21069,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
326... |
Which Studio has the Year of 2012 listed and the Movie, Dabangg? | SELECT studio_s_ FROM table_name_22 WHERE year = 2012 AND movie = "dabangg" | [
13828,
11733,
468,
262,
6280,
286,
2321,
5610,
290,
262,
15875,
11,
360,
397,
648,
70,
30,
46506,
8034,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1828,
33411,
614,
796,
2321,
5357,
3807,
796,
366,
67,
397,
648,
70,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
11733,
468,
262,
6280,
286,
2321,
5610,
290,
262,
15875,
11,
360,
397,
648,
70,
30,
46506,
8034,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1828,
33411,
614,
796,
2321,
5357,
3807,
796,
366,
67,
397,
648,
70,
1
] |
What team was the home team at the venue junction oval? | SELECT home_team FROM table_name_74 WHERE venue = "junction oval" | [
2061,
1074,
373,
262,
1363,
1074,
379,
262,
14359,
35037,
41186,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4524,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
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,
373,
262,
1363,
1074,
379,
262,
14359,
35037,
41186,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4524,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS? | SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006 | [
818,
262,
17652,
82,
3675,
4793,
644,
373,
262,
6280,
807,
352,
301,
2264,
5643,
326,
7160,
287,
262,
976,
5752,
326,
550,
262,
614,
860,
362,
358,
2264,
5643,
286,
347,
11190,
50,
30,
46506,
614,
62,
23,
62,
16,
301,
62,
47003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
17652,
82,
3675,
4793,
644,
373,
262,
6280,
807,
352,
301,
2264,
5643,
326,
7160,
287,
262,
976,
5752,
326,
550,
262,
614,
860,
362,
358,
2264,
5643,
286,
347,
11190,
50,
30,
46506,
614,
62,
23,
62,
16,
301,
62,
47003,
... |
What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5? | SELECT AVG("Rank in SP") FROM table_51815 WHERE "Rank in FS" > '2' AND "Final Rank" > '5' | [
2061,
318,
262,
2811,
6226,
4279,
329,
1341,
8605,
351,
257,
10916,
287,
23324,
4025,
621,
362,
11,
290,
257,
8125,
10916,
4025,
621,
642,
30,
46506,
35224,
7203,
27520,
287,
6226,
4943,
16034,
3084,
62,
44085,
1314,
33411,
366,
27520,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6226,
4279,
329,
1341,
8605,
351,
257,
10916,
287,
23324,
4025,
621,
362,
11,
290,
257,
8125,
10916,
4025,
621,
642,
30,
46506,
35224,
7203,
27520,
287,
6226,
4943,
16034,
3084,
62,
44085,
1314,
33411,
366,
27520,
... |
Show me about the distribution of Team_Name and School_ID in a bar chart, display bars in ascending order. | SELECT Team_Name, School_ID FROM basketball_match ORDER BY Team_Name | [
15307,
502,
546,
262,
6082,
286,
4816,
62,
5376,
290,
3961,
62,
2389,
287,
257,
2318,
8262,
11,
3359,
9210,
287,
41988,
1502,
13,
46506,
4816,
62,
5376,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
5376
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4816,
62,
5376,
290,
3961,
62,
2389,
287,
257,
2318,
8262,
11,
3359,
9210,
287,
41988,
1502,
13,
46506,
4816,
62,
5376,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
5376
] |
What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? | SELECT SUM("Total") FROM table_33939 WHERE "Gold" = '0' AND "Silver" < '2' AND "Rank" = '6' | [
2061,
318,
262,
2160,
286,
7472,
329,
657,
3869,
290,
1342,
621,
362,
11,
8465,
351,
257,
4279,
286,
718,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
29626,
2670,
33411,
366,
13306,
1,
796,
705,
15,
6,
5357,
366,
26766,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7472,
329,
657,
3869,
290,
1342,
621,
362,
11,
8465,
351,
257,
4279,
286,
718,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
29626,
2670,
33411,
366,
13306,
1,
796,
705,
15,
6,
5357,
366,
26766,
1,... |
What is the title of Episode #2 | SELECT title FROM table_165732_2 WHERE episode__number = 2 | [
2061,
318,
262,
3670,
286,
7922,
1303,
17,
46506,
3670,
16034,
3084,
62,
1433,
3553,
2624,
62,
17,
33411,
4471,
834,
17618,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
7922,
1303,
17,
46506,
3670,
16034,
3084,
62,
1433,
3553,
2624,
62,
17,
33411,
4471,
834,
17618,
796,
362
] |
Number of questions asked on a Monday. | SELECT * FROM PostHistory AS p WHERE p.PostHistoryTypeId = 35 AND p.CreationDate BETWEEN '2016-10-18 00:00:00' AND '2018-10-18 23:59:59' | [
15057,
286,
2683,
1965,
319,
257,
3321,
13,
46506,
1635,
16034,
2947,
18122,
7054,
279,
33411,
279,
13,
6307,
18122,
6030,
7390,
796,
3439,
5357,
279,
13,
12443,
341,
10430,
38651,
8845,
1677,
705,
5304,
12,
940,
12,
1507,
3571,
25,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
2683,
1965,
319,
257,
3321,
13,
46506,
1635,
16034,
2947,
18122,
7054,
279,
33411,
279,
13,
6307,
18122,
6030,
7390,
796,
3439,
5357,
279,
13,
12443,
341,
10430,
38651,
8845,
1677,
705,
5304,
12,
940,
12,
1507,
3571,
25,
4... |
What was the score on November 25? | SELECT score FROM table_13762472_3 WHERE date = "November 25" | [
2061,
373,
262,
4776,
319,
3389,
1679,
30,
46506,
4776,
16034,
3084,
62,
1485,
4304,
1731,
4761,
62,
18,
33411,
3128,
796,
366,
21159,
1679,
1
] | [
1,
1,
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,
319,
3389,
1679,
30,
46506,
4776,
16034,
3084,
62,
1485,
4304,
1731,
4761,
62,
18,
33411,
3128,
796,
366,
21159,
1679,
1
] |
What is the page count and word count greater than 5 with Bits of 18 22? | SELECT page__number FROM table_name_79 WHERE word__number > 5 AND bits = "18–22" | [
2061,
318,
262,
2443,
954,
290,
1573,
954,
3744,
621,
642,
351,
44733,
286,
1248,
2534,
30,
46506,
2443,
834,
17618,
16034,
3084,
62,
3672,
62,
3720,
33411,
1573,
834,
17618,
1875,
642,
5357,
10340,
796,
366,
1507,
1906,
1828,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2443,
954,
290,
1573,
954,
3744,
621,
642,
351,
44733,
286,
1248,
2534,
30,
46506,
2443,
834,
17618,
16034,
3084,
62,
3672,
62,
3720,
33411,
1573,
834,
17618,
1875,
642,
5357,
10340,
796,
366,
1507,
1906,
1828,
1
] |
What was the Score on March 1? | SELECT score FROM table_name_18 WHERE date = "march 1" | [
2061,
373,
262,
15178,
319,
2805,
352,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
76,
998,
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
] | [
2061,
373,
262,
15178,
319,
2805,
352,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
76,
998,
352,
1
] |
What are the required completed courses in order to take GREEKMOD 503 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
2061,
389,
262,
2672,
5668,
10902,
287,
1502,
284,
1011,
402,
11587,
42,
33365,
44541,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2672,
5668,
10902,
287,
1502,
284,
1011,
402,
11587,
42,
33365,
44541,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
... |
What are the names, address roads, and cities of the branches ordered by opening year? | SELECT name, address_road, city FROM branch ORDER BY open_year | [
2061,
389,
262,
3891,
11,
2209,
9725,
11,
290,
4736,
286,
262,
13737,
6149,
416,
4756,
614,
30,
46506,
1438,
11,
2209,
62,
6344,
11,
1748,
16034,
8478,
38678,
11050,
1280,
62,
1941
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11,
2209,
9725,
11,
290,
4736,
286,
262,
13737,
6149,
416,
4756,
614,
30,
46506,
1438,
11,
2209,
62,
6344,
11,
1748,
16034,
8478,
38678,
11050,
1280,
62,
1941
] |
What is the average rating for tv asahi? | SELECT "Average Ratings" FROM table_73028 WHERE "TV Station" = 'TV Asahi' | [
2061,
318,
262,
2811,
7955,
329,
31557,
355,
32810,
30,
46506,
366,
26287,
36826,
1,
16034,
3084,
62,
43916,
2078,
33411,
366,
6849,
9327,
1,
796,
705,
6849,
1081,
32810,
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,
2811,
7955,
329,
31557,
355,
32810,
30,
46506,
366,
26287,
36826,
1,
16034,
3084,
62,
43916,
2078,
33411,
366,
6849,
9327,
1,
796,
705,
6849,
1081,
32810,
6
] |
What are the first and last name of the president of the club 'Bootup Baltimore'? | SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President" | [
2061,
389,
262,
717,
290,
938,
1438,
286,
262,
1893,
286,
262,
3430,
705,
36476,
929,
10346,
30960,
46506,
256,
18,
13,
69,
3672,
11,
256,
18,
13,
75,
3672,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
290,
938,
1438,
286,
262,
1893,
286,
262,
3430,
705,
36476,
929,
10346,
30960,
46506,
256,
18,
13,
69,
3672,
11,
256,
18,
13,
75,
3672,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
... |
What is the rank of Tim Paine? | SELECT "Rank" FROM table_24142 WHERE "Player" = 'Tim Paine' | [
2061,
318,
262,
4279,
286,
5045,
350,
5718,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
1731,
23726,
33411,
366,
14140,
1,
796,
705,
14967,
350,
5718,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
286,
5045,
350,
5718,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
1731,
23726,
33411,
366,
14140,
1,
796,
705,
14967,
350,
5718,
6
] |
How many byes were then when there were less than 737 against? | SELECT SUM(byes) FROM table_name_13 WHERE against < 737 | [
2437,
867,
416,
274,
547,
788,
618,
612,
547,
1342,
621,
37517,
1028,
30,
46506,
35683,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
1028,
1279,
37517
] | [
1,
1,
1,
1,
1,
1,
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,
416,
274,
547,
788,
618,
612,
547,
1342,
621,
37517,
1028,
30,
46506,
35683,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
1028,
1279,
37517
] |
What is the phone number and postal code of the address 1031 Daugavpils Parkway? | SELECT phone, postal_code FROM address WHERE address = '1031 Daugavpils Parkway' | [
2061,
318,
262,
3072,
1271,
290,
30793,
2438,
286,
262,
2209,
838,
3132,
360,
7493,
615,
79,
4487,
38613,
30,
46506,
3072,
11,
30793,
62,
8189,
16034,
2209,
33411,
2209,
796,
705,
940,
3132,
360,
7493,
615,
79,
4487,
38613,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3072,
1271,
290,
30793,
2438,
286,
262,
2209,
838,
3132,
360,
7493,
615,
79,
4487,
38613,
30,
46506,
3072,
11,
30793,
62,
8189,
16034,
2209,
33411,
2209,
796,
705,
940,
3132,
360,
7493,
615,
79,
4487,
38613,
6
] |
what are the methods of consumption of ascorbic acid 500 mg tab? | SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'ascorbic acid 500 mg tab' | [
10919,
389,
262,
5050,
286,
7327,
286,
355,
10215,
65,
291,
7408,
5323,
10527,
7400,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
3372,
27688,
291,
7408,
5323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5050,
286,
7327,
286,
355,
10215,
65,
291,
7408,
5323,
10527,
7400,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
3372,
27688,
291,
7408,
5323,
... |
Show first name and id for all customers with at least 2 accounts in a bar chart, and could you order x axis from high to low order? | SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id ORDER BY T2.customer_first_name DESC | [
15307,
717,
1438,
290,
4686,
329,
477,
4297,
351,
379,
1551,
362,
5504,
287,
257,
2318,
8262,
11,
290,
714,
345,
1502,
2124,
16488,
422,
1029,
284,
1877,
1502,
30,
46506,
309,
17,
13,
23144,
263,
62,
11085,
62,
3672,
11,
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... | [
15307,
717,
1438,
290,
4686,
329,
477,
4297,
351,
379,
1551,
362,
5504,
287,
257,
2318,
8262,
11,
290,
714,
345,
1502,
2124,
16488,
422,
1029,
284,
1877,
1502,
30,
46506,
309,
17,
13,
23144,
263,
62,
11085,
62,
3672,
11,
309,
16,
... |
What is the Time with a Ground that is humber college north? | SELECT "Time" FROM table_75860 WHERE "Ground" = 'humber college north' | [
2061,
318,
262,
3862,
351,
257,
13706,
326,
318,
1311,
527,
4152,
5093,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
38569,
1899,
33411,
366,
35539,
1,
796,
705,
71,
4494,
4152,
5093,
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,
3862,
351,
257,
13706,
326,
318,
1311,
527,
4152,
5093,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
38569,
1899,
33411,
366,
35539,
1,
796,
705,
71,
4494,
4152,
5093,
6
] |
hypotension attributed to alternative cause | SELECT * FROM table_train_9 WHERE hypotension = 1 | [
36362,
313,
3004,
14183,
284,
5559,
2728,
46506,
1635,
16034,
3084,
62,
27432,
62,
24,
33411,
8813,
3004,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36362,
313,
3004,
14183,
284,
5559,
2728,
46506,
1635,
16034,
3084,
62,
27432,
62,
24,
33411,
8813,
3004,
796,
352
] |
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 | SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0 | [
5376,
262,
749,
6426,
329,
5361,
3739,
517,
621,
2681,
329,
41478,
3686,
290,
5057,
355,
4064,
286,
1988,
1342,
621,
657,
46506,
25882,
7,
260,
4080,
834,
8,
7054,
720,
76,
62,
16034,
3084,
62,
3672,
62,
5892,
33411,
5361,
62,
12519... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5376,
262,
749,
6426,
329,
5361,
3739,
517,
621,
2681,
329,
41478,
3686,
290,
5057,
355,
4064,
286,
1988,
1342,
621,
657,
46506,
25882,
7,
260,
4080,
834,
8,
7054,
720,
76,
62,
16034,
3084,
62,
3672,
62,
5892,
33411,
5361,
62,
12519... |
How many season numbers are there for the episode seen by 13.54 million people in the US? | SELECT COUNT(no_in_season) FROM table_23528223_2 WHERE us_viewers__millions_ = "13.54" | [
2437,
867,
1622,
3146,
389,
612,
329,
262,
4471,
1775,
416,
1511,
13,
4051,
1510,
661,
287,
262,
1294,
30,
46506,
327,
28270,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
22370,
2078,
22047,
62,
17,
33411,
514,
62,
1177,
364,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1622,
3146,
389,
612,
329,
262,
4471,
1775,
416,
1511,
13,
4051,
1510,
661,
287,
262,
1294,
30,
46506,
327,
28270,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
22370,
2078,
22047,
62,
17,
33411,
514,
62,
1177,
364,
8... |
What is Time, when Ground is Waverley Park, and when Away Team is Footscray? | SELECT time FROM table_name_69 WHERE ground = "waverley park" AND away_team = "footscray" | [
2061,
318,
3862,
11,
618,
13706,
318,
370,
8770,
1636,
3250,
11,
290,
618,
21986,
4816,
318,
7870,
1416,
2433,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3388,
33411,
2323,
796,
366,
86,
8770,
1636,
3952,
1,
5357,
1497,
62,
15097,
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,
3862,
11,
618,
13706,
318,
370,
8770,
1636,
3250,
11,
290,
618,
21986,
4816,
318,
7870,
1416,
2433,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3388,
33411,
2323,
796,
366,
86,
8770,
1636,
3952,
1,
5357,
1497,
62,
15097,
7... |
What is the IATA that has new south wales as the state/territory beginning on july 2009? | SELECT iata FROM table_name_1 WHERE state_territory = "new south wales" AND begin = "july 2009" | [
2061,
318,
262,
314,
13563,
326,
468,
649,
5366,
266,
2040,
355,
262,
1181,
14,
353,
799,
652,
3726,
319,
474,
2062,
3717,
30,
46506,
1312,
1045,
16034,
3084,
62,
3672,
62,
16,
33411,
1181,
62,
353,
799,
652,
796,
366,
3605,
5366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
314,
13563,
326,
468,
649,
5366,
266,
2040,
355,
262,
1181,
14,
353,
799,
652,
3726,
319,
474,
2062,
3717,
30,
46506,
1312,
1045,
16034,
3084,
62,
3672,
62,
16,
33411,
1181,
62,
353,
799,
652,
796,
366,
3605,
5366,
... |
What is Player, when Place is 2? | SELECT "Player" FROM table_44538 WHERE "Place" = '2' | [
2061,
318,
7853,
11,
618,
8474,
318,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
43489,
2548,
33411,
366,
27271,
1,
796,
705,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
7853,
11,
618,
8474,
318,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
43489,
2548,
33411,
366,
27271,
1,
796,
705,
17,
6
] |
Which Played has a Scored larger than 25 and a Position of 1, and Draws smaller than 5? | SELECT MAX("Played") FROM table_38411 WHERE "Scored" > '25' AND "Position" = '1' AND "Draws" < '5' | [
13828,
33101,
468,
257,
1446,
1850,
4025,
621,
1679,
290,
257,
23158,
286,
352,
11,
290,
15315,
82,
4833,
621,
642,
30,
46506,
25882,
7203,
11002,
276,
4943,
16034,
3084,
62,
22842,
1157,
33411,
366,
3351,
1850,
1,
1875,
705,
1495,
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
] | [
13828,
33101,
468,
257,
1446,
1850,
4025,
621,
1679,
290,
257,
23158,
286,
352,
11,
290,
15315,
82,
4833,
621,
642,
30,
46506,
25882,
7203,
11002,
276,
4943,
16034,
3084,
62,
22842,
1157,
33411,
366,
3351,
1850,
1,
1875,
705,
1495,
6,... |
What is Winning Score, when Date is Jul 27, 1997? | SELECT winning_score FROM table_name_53 WHERE date = "jul 27, 1997" | [
2061,
318,
40983,
15178,
11,
618,
7536,
318,
5979,
2681,
11,
8309,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
4310,
33411,
3128,
796,
366,
73,
377,
2681,
11,
8309,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40983,
15178,
11,
618,
7536,
318,
5979,
2681,
11,
8309,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
4310,
33411,
3128,
796,
366,
73,
377,
2681,
11,
8309,
1
] |
For each id of a driver who participated in at most 30 races, how many races did they participate in. Plot them as scatter chart. | SELECT T1.driverId, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverId = T2.driverId JOIN races AS T3 ON T2.raceId = T3.raceId GROUP BY T1.driverId | [
1890,
1123,
4686,
286,
257,
4639,
508,
14888,
287,
379,
749,
1542,
9558,
11,
703,
867,
9558,
750,
484,
8277,
287,
13,
28114,
606,
355,
41058,
8262,
13,
46506,
309,
16,
13,
26230,
7390,
11,
327,
28270,
7,
28104,
16034,
6643,
7054,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
4686,
286,
257,
4639,
508,
14888,
287,
379,
749,
1542,
9558,
11,
703,
867,
9558,
750,
484,
8277,
287,
13,
28114,
606,
355,
41058,
8262,
13,
46506,
309,
16,
13,
26230,
7390,
11,
327,
28270,
7,
28104,
16034,
6643,
7054,
30... |
Who are the incumbents elected in 1974? | SELECT "Incumbent" FROM table_18227 WHERE "Elected" = '1974' | [
8241,
389,
262,
19742,
658,
7018,
287,
16489,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
1507,
24403,
33411,
366,
36,
12609,
1,
796,
705,
40828,
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
] | [
8241,
389,
262,
19742,
658,
7018,
287,
16489,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
1507,
24403,
33411,
366,
36,
12609,
1,
796,
705,
40828,
6
] |
What is the name of the circuit when Jack Brabham is in the pole position and Graham Hill has the fastest lap? | SELECT "Circuit" FROM table_54767 WHERE "Pole position" = 'jack brabham' AND "Fastest lap" = 'graham hill' | [
2061,
318,
262,
1438,
286,
262,
10349,
618,
3619,
1709,
397,
2763,
318,
287,
262,
16825,
2292,
290,
11520,
3327,
468,
262,
14162,
14779,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
20,
2857,
3134,
33411,
366,
47,
2305,
2292,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
10349,
618,
3619,
1709,
397,
2763,
318,
287,
262,
16825,
2292,
290,
11520,
3327,
468,
262,
14162,
14779,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
20,
2857,
3134,
33411,
366,
47,
2305,
2292,
1,
... |
other than the s3300 , name one that has a 2.7 inch screen . | SELECT "model" FROM table_204_878 WHERE "model" <> 's3300' AND "screen\nsize, pixels" = 2.7 | [
847,
621,
262,
264,
2091,
405,
837,
1438,
530,
326,
468,
257,
362,
13,
22,
11111,
3159,
764,
46506,
366,
19849,
1,
16034,
3084,
62,
18638,
62,
23,
3695,
33411,
366,
19849,
1,
1279,
29,
705,
82,
2091,
405,
6,
5357,
366,
9612,
59,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
847,
621,
262,
264,
2091,
405,
837,
1438,
530,
326,
468,
257,
362,
13,
22,
11111,
3159,
764,
46506,
366,
19849,
1,
16034,
3084,
62,
18638,
62,
23,
3695,
33411,
366,
19849,
1,
1279,
29,
705,
82,
2091,
405,
6,
5357,
366,
9612,
59,
... |
Who was the away team when the home team scored 12.13 (85)? | SELECT "Away team" FROM table_52553 WHERE "Home team score" = '12.13 (85)' | [
8241,
373,
262,
1497,
1074,
618,
262,
1363,
1074,
7781,
1105,
13,
1485,
357,
5332,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
39088,
4310,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1065,
13,
1485,
357,
5332,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
618,
262,
1363,
1074,
7781,
1105,
13,
1485,
357,
5332,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
39088,
4310,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1065,
13,
1485,
357,
5332,
33047
] |
Could you tell me if there are any 500 -level courses for this Fall or Winter term ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017)) AND course.course_id = course_offering.course_id AND course.department = 'department0... | [
23722,
345,
1560,
502,
611,
612,
389,
597,
5323,
532,
5715,
10902,
329,
428,
7218,
393,
10633,
3381,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23722,
345,
1560,
502,
611,
612,
389,
597,
5323,
532,
5715,
10902,
329,
428,
7218,
393,
10633,
3381,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
... |
What actor was nominted for an award in the film Anastasiya Slutskaya? | SELECT "Actors Name" FROM table_15999 WHERE "Film Name" = 'Anastasiya Slutskaya' | [
2061,
8674,
373,
4515,
600,
276,
329,
281,
5764,
287,
262,
2646,
1052,
459,
17053,
3972,
3454,
5500,
35372,
30,
46506,
366,
32,
5217,
6530,
1,
16034,
3084,
62,
1314,
17032,
33411,
366,
39750,
6530,
1,
796,
705,
2025,
459,
17053,
3972,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8674,
373,
4515,
600,
276,
329,
281,
5764,
287,
262,
2646,
1052,
459,
17053,
3972,
3454,
5500,
35372,
30,
46506,
366,
32,
5217,
6530,
1,
16034,
3084,
62,
1314,
17032,
33411,
366,
39750,
6530,
1,
796,
705,
2025,
459,
17053,
3972,... |
provide the number of patients whose insurance is private and procedure long title is intravenous infusion of clofarabine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Intravenous infusion of clofarabine" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
8771,
890,
3670,
318,
45840,
516,
35547,
286,
537,
1659,
283,
397,
500,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
8771,
890,
3670,
318,
45840,
516,
35547,
286,
537,
1659,
283,
397,
500,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
List all the services in the alphabetical order. | SELECT service_name FROM services ORDER BY service_name | [
8053,
477,
262,
2594,
287,
262,
24830,
605,
1502,
13,
46506,
2139,
62,
3672,
16034,
2594,
38678,
11050,
2139,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
262,
2594,
287,
262,
24830,
605,
1502,
13,
46506,
2139,
62,
3672,
16034,
2594,
38678,
11050,
2139,
62,
3672
] |
What is the title of the episode directed by Romeo Tirone? | SELECT title FROM table_26961951_6 WHERE directed_by = "Romeo Tirone" | [
2061,
318,
262,
3670,
286,
262,
4471,
7924,
416,
43989,
39847,
505,
30,
46506,
3670,
16034,
3084,
62,
2075,
4846,
1129,
4349,
62,
21,
33411,
7924,
62,
1525,
796,
366,
49,
462,
78,
39847,
505,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
262,
4471,
7924,
416,
43989,
39847,
505,
30,
46506,
3670,
16034,
3084,
62,
2075,
4846,
1129,
4349,
62,
21,
33411,
7924,
62,
1525,
796,
366,
49,
462,
78,
39847,
505,
1
] |
in what year was the last design of passenger baseplates for vehicle registration issued in vermont ? | SELECT MAX("first issued") FROM table_203_498 | [
259,
644,
614,
373,
262,
938,
1486,
286,
11849,
2779,
17041,
329,
4038,
9352,
4884,
287,
3326,
8691,
5633,
46506,
25882,
7203,
11085,
4884,
4943,
16034,
3084,
62,
22416,
62,
36260
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
644,
614,
373,
262,
938,
1486,
286,
11849,
2779,
17041,
329,
4038,
9352,
4884,
287,
3326,
8691,
5633,
46506,
25882,
7203,
11085,
4884,
4943,
16034,
3084,
62,
22416,
62,
36260
] |
What is the result when team 1 is ICL Pakistan? | SELECT result FROM table_17103566_1 WHERE team_1 = "ICL Pakistan" | [
2061,
318,
262,
1255,
618,
1074,
352,
318,
314,
5097,
7648,
30,
46506,
1255,
16034,
3084,
62,
1558,
940,
2327,
2791,
62,
16,
33411,
1074,
62,
16,
796,
366,
2149,
43,
7648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
618,
1074,
352,
318,
314,
5097,
7648,
30,
46506,
1255,
16034,
3084,
62,
1558,
940,
2327,
2791,
62,
16,
33411,
1074,
62,
16,
796,
366,
2149,
43,
7648,
1
] |
For each film, return the number of cinemas showing that fim in a bar chart, and display by the X-axis in descending. | SELECT Title, COUNT(Title) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Title ORDER BY Title DESC | [
1890,
1123,
2646,
11,
1441,
262,
1271,
286,
13483,
292,
4478,
326,
277,
320,
287,
257,
2318,
8262,
11,
290,
3359,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
11851,
11,
327,
28270,
7,
19160,
8,
16034,
7269,
7054,
309,
16,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
2646,
11,
1441,
262,
1271,
286,
13483,
292,
4478,
326,
277,
320,
287,
257,
2318,
8262,
11,
290,
3359,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
11851,
11,
327,
28270,
7,
19160,
8,
16034,
7269,
7054,
309,
16,
3235... |
Tell me the bullet tip color of headstamp id of h1z | SELECT "Bullet Tip Color" FROM table_31617 WHERE "Headstamp ID" = 'h1z' | [
24446,
502,
262,
10492,
8171,
3124,
286,
1182,
301,
696,
4686,
286,
289,
16,
89,
46506,
366,
33481,
1616,
23095,
5315,
1,
16034,
3084,
62,
33400,
1558,
33411,
366,
13847,
301,
696,
4522,
1,
796,
705,
71,
16,
89,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
10492,
8171,
3124,
286,
1182,
301,
696,
4686,
286,
289,
16,
89,
46506,
366,
33481,
1616,
23095,
5315,
1,
16034,
3084,
62,
33400,
1558,
33411,
366,
13847,
301,
696,
4522,
1,
796,
705,
71,
16,
89,
6
] |
How much Col (m) has a Prominence (m) larger than 1,897, and a Rank smaller than 6? | SELECT COUNT("Col (m)") FROM table_63032 WHERE "Prominence (m)" > '1,897' AND "Rank" < '6' | [
2437,
881,
1623,
357,
76,
8,
468,
257,
10335,
18386,
357,
76,
8,
4025,
621,
352,
11,
4531,
22,
11,
290,
257,
10916,
4833,
621,
718,
30,
46506,
327,
28270,
7203,
5216,
357,
76,
8,
4943,
16034,
3084,
62,
30005,
2624,
33411,
366,
241... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1623,
357,
76,
8,
468,
257,
10335,
18386,
357,
76,
8,
4025,
621,
352,
11,
4531,
22,
11,
290,
257,
10916,
4833,
621,
718,
30,
46506,
327,
28270,
7203,
5216,
357,
76,
8,
4943,
16034,
3084,
62,
30005,
2624,
33411,
366,
241... |
What was the highest week with a result of l 16 12? | SELECT MAX(week) FROM table_name_53 WHERE result = "l 16–12" | [
2061,
373,
262,
4511,
1285,
351,
257,
1255,
286,
300,
1467,
1105,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
1255,
796,
366,
75,
1467,
1906,
1065,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
1285,
351,
257,
1255,
286,
300,
1467,
1105,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
1255,
796,
366,
75,
1467,
1906,
1065,
1
] |
Which season did the Minnesota Kicks lose 13 games and scored 156 points? | SELECT COUNT(season) FROM table_name_34 WHERE lost = 13 AND points = 156 | [
13828,
1622,
750,
262,
8919,
509,
3378,
4425,
1511,
1830,
290,
7781,
23871,
2173,
30,
46506,
327,
28270,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
2626,
796,
1511,
5357,
2173,
796,
23871
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1622,
750,
262,
8919,
509,
3378,
4425,
1511,
1830,
290,
7781,
23871,
2173,
30,
46506,
327,
28270,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
2626,
796,
1511,
5357,
2173,
796,
23871
] |
In 2011 with a less than 13.333 wind power what is the mean hydroelectricity? | SELECT AVG(hydroelectricity) FROM table_name_73 WHERE year > 2011 AND wind_power < 13.333 | [
818,
2813,
351,
257,
1342,
621,
1511,
13,
20370,
2344,
1176,
644,
318,
262,
1612,
17173,
31067,
414,
30,
46506,
35224,
7,
15511,
305,
31067,
414,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
614,
1875,
2813,
5357,
2344,
62,
6477,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
2813,
351,
257,
1342,
621,
1511,
13,
20370,
2344,
1176,
644,
318,
262,
1612,
17173,
31067,
414,
30,
46506,
35224,
7,
15511,
305,
31067,
414,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
614,
1875,
2813,
5357,
2344,
62,
6477,
1279,
... |
What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? | SELECT "Record" FROM table_14138 WHERE "Arena" = 'arrowhead pond of anaheim' AND "Opponent" = 'sharks' | [
2061,
373,
262,
1700,
706,
262,
983,
1028,
262,
31547,
379,
19408,
2256,
41598,
286,
31100,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1415,
20107,
33411,
366,
43199,
64,
1,
796,
705,
6018,
2256,
16723,
286,
44763,
9096,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
706,
262,
983,
1028,
262,
31547,
379,
19408,
2256,
41598,
286,
31100,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1415,
20107,
33411,
366,
43199,
64,
1,
796,
705,
6018,
2256,
16723,
286,
44763,
9096,
6,
5357,
366,... |
What are the lowest wins for Australia? | SELECT MIN(wins) FROM table_name_45 WHERE country = "australia" | [
2061,
389,
262,
9016,
7864,
329,
4505,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1499,
796,
366,
64,
436,
1373,
544,
1
] | [
1,
1,
1,
1,
1,
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,
9016,
7864,
329,
4505,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1499,
796,
366,
64,
436,
1373,
544,
1
] |
How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events? | SELECT COUNT(wins) FROM table_name_97 WHERE top_25 = 1 AND cuts_made < 2 AND events < 5 | [
2437,
867,
7864,
423,
257,
5849,
12,
1495,
286,
352,
11,
12892,
621,
362,
6630,
11,
290,
7380,
621,
642,
2995,
30,
46506,
327,
28270,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
1353,
62,
1495,
796,
352,
5357,
6630,
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
] | [
2437,
867,
7864,
423,
257,
5849,
12,
1495,
286,
352,
11,
12892,
621,
362,
6630,
11,
290,
7380,
621,
642,
2995,
30,
46506,
327,
28270,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
1353,
62,
1495,
796,
352,
5357,
6630,
62... |
A bar chart for what are the number of the first names of all students in Smith Hall?, could you list in ascending by the total number please? | SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' GROUP BY Fname ORDER BY COUNT(Fname) | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
717,
3891,
286,
477,
2444,
287,
4176,
4789,
21747,
714,
345,
1351,
287,
41988,
416,
262,
2472,
1271,
3387,
30,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
13613,
7054,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
717,
3891,
286,
477,
2444,
287,
4176,
4789,
21747,
714,
345,
1351,
287,
41988,
416,
262,
2472,
1271,
3387,
30,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
13613,
7054,... |
Plot acc_percent by grouped by team name as a bar graph, and I want to order in desc by the y-axis. | SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC | [
43328,
697,
62,
25067,
416,
32824,
416,
1074,
1438,
355,
257,
2318,
4823,
11,
290,
314,
765,
284,
1502,
287,
1715,
416,
262,
331,
12,
22704,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
15859,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
697,
62,
25067,
416,
32824,
416,
1074,
1438,
355,
257,
2318,
4823,
11,
290,
314,
765,
284,
1502,
287,
1715,
416,
262,
331,
12,
22704,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
15859,... |
what is the minimum monthly number of people diagnosed with benign neoplasm lg bowel during a year before? | SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'benign neoplasm lg bowel') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_T... | [
10919,
318,
262,
5288,
9651,
1271,
286,
661,
14641,
351,
32293,
497,
20106,
8597,
300,
70,
35711,
1141,
257,
614,
878,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
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,
318,
262,
5288,
9651,
1271,
286,
661,
14641,
351,
32293,
497,
20106,
8597,
300,
70,
35711,
1141,
257,
614,
878,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
... |
how many times were the 110 m hurdles recorded in the notes ? | SELECT COUNT(*) FROM table_203_192 WHERE "notes" = '110 m hurdles' | [
4919,
867,
1661,
547,
262,
9796,
285,
34283,
6264,
287,
262,
4710,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
17477,
33411,
366,
17815,
1,
796,
705,
11442,
285,
34283,
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
] | [
4919,
867,
1661,
547,
262,
9796,
285,
34283,
6264,
287,
262,
4710,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
17477,
33411,
366,
17815,
1,
796,
705,
11442,
285,
34283,
6
] |
how many patients whose primary disease is acidosis and lab test category is blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "ACIDOSIS" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
3025,
4165,
4369,
318,
7408,
5958,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
4165,
4369,
318,
7408,
5958,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
1... |
List UI5 related questions for a user. | SELECT Title, Posts.CreationDate, AcceptedAnswerId, Tags, Posts.Id AS "post_link" FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId INNER JOIN Users ON Users.Id = Posts.OwnerUserId WHERE PostTypeId = 1 AND DisplayName = '##Username:string##' AND TagName = '##Tagnam... | [
8053,
12454,
20,
3519,
2683,
329,
257,
2836,
13,
46506,
11851,
11,
12043,
13,
12443,
341,
10430,
11,
21699,
276,
33706,
7390,
11,
44789,
11,
12043,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
3268,
21479,
32357,
1268,
2947,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12454,
20,
3519,
2683,
329,
257,
2836,
13,
46506,
11851,
11,
12043,
13,
12443,
341,
10430,
11,
21699,
276,
33706,
7390,
11,
44789,
11,
12043,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
3268,
21479,
32357,
1268,
2947,
... |
What are the names and opening hours of the tourist attractions that can be accessed by bus or walk? | SELECT Name, Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" OR How_to_Get_There = "walk" | [
2061,
389,
262,
3891,
290,
4756,
2250,
286,
262,
18473,
29156,
326,
460,
307,
17535,
416,
1323,
393,
2513,
30,
46506,
6530,
11,
25522,
62,
39792,
16034,
49698,
8808,
62,
1404,
5446,
10659,
11053,
33411,
1374,
62,
1462,
62,
3855,
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
] | [
2061,
389,
262,
3891,
290,
4756,
2250,
286,
262,
18473,
29156,
326,
460,
307,
17535,
416,
1323,
393,
2513,
30,
46506,
6530,
11,
25522,
62,
39792,
16034,
49698,
8808,
62,
1404,
5446,
10659,
11053,
33411,
1374,
62,
1462,
62,
3855,
62,
1... |
Who was the outgoing manager of Charleroi? | SELECT "Outgoing manager" FROM table_29468 WHERE "Team" = 'Charleroi' | [
8241,
373,
262,
28181,
4706,
286,
3178,
1754,
23013,
30,
46506,
366,
7975,
5146,
4706,
1,
16034,
3084,
62,
27696,
3104,
33411,
366,
15592,
1,
796,
705,
12441,
1754,
23013,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
28181,
4706,
286,
3178,
1754,
23013,
30,
46506,
366,
7975,
5146,
4706,
1,
16034,
3084,
62,
27696,
3104,
33411,
366,
15592,
1,
796,
705,
12441,
1754,
23013,
6
] |
What is the greatest lane that David Payne was in when he ran longer than 13.17? | SELECT MAX("Lane") FROM table_13876 WHERE "Athlete" = 'david payne' AND "Time" > '13.17' | [
2061,
318,
262,
6000,
11193,
326,
3271,
32788,
373,
287,
618,
339,
4966,
2392,
621,
1511,
13,
1558,
30,
46506,
25882,
7203,
43,
1531,
4943,
16034,
3084,
62,
20107,
4304,
33411,
366,
32,
400,
5807,
1,
796,
705,
67,
8490,
1414,
710,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6000,
11193,
326,
3271,
32788,
373,
287,
618,
339,
4966,
2392,
621,
1511,
13,
1558,
30,
46506,
25882,
7203,
43,
1531,
4943,
16034,
3084,
62,
20107,
4304,
33411,
366,
32,
400,
5807,
1,
796,
705,
67,
8490,
1414,
710,
6... |
Name the year for t-10th | SELECT year FROM table_20774360_2 WHERE standing = "T-10th" | [
5376,
262,
614,
329,
256,
12,
940,
400,
46506,
614,
16034,
3084,
62,
1238,
3324,
3559,
1899,
62,
17,
33411,
5055,
796,
366,
51,
12,
940,
400,
1
] | [
1,
1,
1,
1,
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,
614,
329,
256,
12,
940,
400,
46506,
614,
16034,
3084,
62,
1238,
3324,
3559,
1899,
62,
17,
33411,
5055,
796,
366,
51,
12,
940,
400,
1
] |
What was the 2nd leg result in the match that scored a 2-0 in the 1st leg? | SELECT "2nd leg" FROM table_80412 WHERE "1st leg" = '2-0' | [
2061,
373,
262,
362,
358,
1232,
1255,
287,
262,
2872,
326,
7781,
257,
362,
12,
15,
287,
262,
352,
301,
1232,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
36088,
1065,
33411,
366,
16,
301,
1232,
1,
796,
705,
17,
12,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
362,
358,
1232,
1255,
287,
262,
2872,
326,
7781,
257,
362,
12,
15,
287,
262,
352,
301,
1232,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
36088,
1065,
33411,
366,
16,
301,
1232,
1,
796,
705,
17,
12,
15,
6
] |
How many poles had 78 points? | SELECT COUNT("Poles") FROM table_2248 WHERE "Points" = '78' | [
2437,
867,
24971,
550,
8699,
2173,
30,
46506,
327,
28270,
7203,
47,
4316,
4943,
16034,
3084,
62,
17,
23045,
33411,
366,
40710,
1,
796,
705,
3695,
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
] | [
2437,
867,
24971,
550,
8699,
2173,
30,
46506,
327,
28270,
7203,
47,
4316,
4943,
16034,
3084,
62,
17,
23045,
33411,
366,
40710,
1,
796,
705,
3695,
6
] |
how many patients during a year before were diagnosed with peripheral vascular ischemia - atherosclerotic thrombo-occlusion in the same hospital visit after antibacterials - third generation cephalosporin procedures? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'antibacterials - third generation cephalosporin' AND DATETIME(treatment.t... | [
4919,
867,
3871,
1141,
257,
614,
878,
547,
14641,
351,
25514,
39495,
318,
15245,
544,
532,
13366,
4951,
22902,
6210,
294,
398,
2127,
12,
420,
4717,
287,
262,
976,
4436,
3187,
706,
11310,
7321,
8231,
532,
2368,
5270,
269,
538,
14201,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
1141,
257,
614,
878,
547,
14641,
351,
25514,
39495,
318,
15245,
544,
532,
13366,
4951,
22902,
6210,
294,
398,
2127,
12,
420,
4717,
287,
262,
976,
4436,
3187,
706,
11310,
7321,
8231,
532,
2368,
5270,
269,
538,
14201,
4... |
how many patients have been prescribed the drug code lora1? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LORA1" | [
4919,
867,
3871,
423,
587,
14798,
262,
2563,
2438,
300,
5799,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
423,
587,
14798,
262,
2563,
2438,
300,
5799,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
What was the result of Samuel Smith's race? | SELECT "Result" FROM table_28891 WHERE "Incumbent" = 'Samuel Smith' | [
2061,
373,
262,
1255,
286,
17100,
4176,
338,
3234,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2078,
4531,
16,
33411,
366,
25517,
2178,
298,
1,
796,
705,
16305,
2731,
4176,
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,
1255,
286,
17100,
4176,
338,
3234,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2078,
4531,
16,
33411,
366,
25517,
2178,
298,
1,
796,
705,
16305,
2731,
4176,
6
] |
what is the sum of wins for the ottawa hockey club when the games played is less than 10? | SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10 | [
10919,
318,
262,
2160,
286,
7864,
329,
262,
267,
926,
6909,
12217,
3430,
618,
262,
1830,
2826,
318,
1342,
621,
838,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
1074,
796,
366,
1252,
6909,
12217,
3430,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
7864,
329,
262,
267,
926,
6909,
12217,
3430,
618,
262,
1830,
2826,
318,
1342,
621,
838,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
1074,
796,
366,
1252,
6909,
12217,
3430,
1... |
How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere? | SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premiere = "January 27, 2007" | [
2437,
867,
3146,
423,
7516,
43956,
355,
262,
9920,
290,
3269,
2681,
11,
4343,
373,
262,
5581,
19245,
30,
46506,
20625,
28264,
17618,
8,
16034,
3084,
62,
21113,
2075,
2079,
62,
16,
33411,
9920,
796,
366,
28711,
43956,
1,
5357,
5581,
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
] | [
2437,
867,
3146,
423,
7516,
43956,
355,
262,
9920,
290,
3269,
2681,
11,
4343,
373,
262,
5581,
19245,
30,
46506,
20625,
28264,
17618,
8,
16034,
3084,
62,
21113,
2075,
2079,
62,
16,
33411,
9920,
796,
366,
28711,
43956,
1,
5357,
5581,
62... |
WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424? | SELECT "Death" FROM table_49974 WHERE "Birth" = '2 august 1424' | [
32971,
3180,
3336,
5550,
12599,
42099,
347,
4663,
4221,
360,
6158,
3180,
362,
317,
7340,
7759,
1478,
1731,
30,
46506,
366,
20148,
1,
16034,
3084,
62,
28324,
4524,
33411,
366,
38480,
1,
796,
705,
17,
16339,
436,
1478,
1731,
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
] | [
32971,
3180,
3336,
5550,
12599,
42099,
347,
4663,
4221,
360,
6158,
3180,
362,
317,
7340,
7759,
1478,
1731,
30,
46506,
366,
20148,
1,
16034,
3084,
62,
28324,
4524,
33411,
366,
38480,
1,
796,
705,
17,
16339,
436,
1478,
1731,
6
] |
show me the FIRST class and COACH flights from JFK to MIAMI | SELECT DISTINCT flight_id FROM flight WHERE ((flight_id IN (SELECT FLIGHT_FAREalias0.flight_id FROM flight_fare AS FLIGHT_FAREalias0 WHERE FLIGHT_FAREalias0.fare_id IN (SELECT FAREalias0.fare_id FROM fare AS FAREalias0 WHERE ((FAREalias0.fare_basis_code IN (SELECT FARE_BASISalias0.fare_basis_code FROM fare_basis AS FAR... | [
12860,
502,
262,
31328,
1398,
290,
7375,
16219,
13956,
422,
35216,
284,
15789,
2390,
24352,
16779,
360,
8808,
1268,
4177,
5474,
62,
312,
16034,
5474,
33411,
14808,
22560,
62,
312,
3268,
357,
46506,
9977,
9947,
62,
37,
12203,
26011,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
31328,
1398,
290,
7375,
16219,
13956,
422,
35216,
284,
15789,
2390,
24352,
16779,
360,
8808,
1268,
4177,
5474,
62,
312,
16034,
5474,
33411,
14808,
22560,
62,
312,
3268,
357,
46506,
9977,
9947,
62,
37,
12203,
26011,
15,
... |
what is minimum age of patients whose language is span and primary disease is left femur fracture? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.language = "SPAN" AND demographic.diagnosis = "LEFT FEMUR FRACTURE" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
3303,
318,
11506,
290,
4165,
4369,
318,
1364,
2796,
333,
31846,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
4303,
1565,
1,
5357,
16728,
13,
473... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
5288,
2479,
286,
3871,
3025,
3303,
318,
11506,
290,
4165,
4369,
318,
1364,
2796,
333,
31846,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
4303,
1565,
1,
5357,
16728,
13,
473... |
What is the height of Patrick Femerling, of the Alba Berlin club? | SELECT COUNT(height) FROM table_name_36 WHERE current_club = "alba berlin" AND player = "patrick femerling" | [
2061,
318,
262,
6001,
286,
9925,
376,
24677,
1359,
11,
286,
262,
978,
7012,
11307,
3430,
30,
46506,
327,
28270,
7,
17015,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
1459,
62,
18664,
796,
366,
282,
7012,
18157,
2815,
1,
5357,
2137,
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
] | [
2061,
318,
262,
6001,
286,
9925,
376,
24677,
1359,
11,
286,
262,
978,
7012,
11307,
3430,
30,
46506,
327,
28270,
7,
17015,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
1459,
62,
18664,
796,
366,
282,
7012,
18157,
2815,
1,
5357,
2137,
7... |
Name the average total for years won of 1975 | SELECT AVG(total) FROM table_name_47 WHERE year_s__won = "1975" | [
5376,
262,
2811,
2472,
329,
812,
1839,
286,
15231,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
614,
62,
82,
834,
26502,
796,
366,
38449,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2811,
2472,
329,
812,
1839,
286,
15231,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
614,
62,
82,
834,
26502,
796,
366,
38449,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.