instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the position of a player from a round less than 4 and an overall of 17? | SELECT position FROM table_name_81 WHERE round < 4 AND overall = "17" | [
2061,
318,
262,
2292,
286,
257,
2137,
422,
257,
2835,
1342,
621,
604,
290,
281,
4045,
286,
1596,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
6659,
33411,
2835,
1279,
604,
5357,
4045,
796,
366,
1558,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
286,
257,
2137,
422,
257,
2835,
1342,
621,
604,
290,
281,
4045,
286,
1596,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
6659,
33411,
2835,
1279,
604,
5357,
4045,
796,
366,
1558,
1
] |
Return the flag that is most common among all ships. | SELECT flag FROM ship GROUP BY flag ORDER BY COUNT(*) DESC LIMIT 1 | [
13615,
262,
6056,
326,
318,
749,
2219,
1871,
477,
7937,
13,
46506,
6056,
16034,
4074,
44441,
11050,
6056,
38678,
11050,
327,
28270,
7,
28104,
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
] | [
13615,
262,
6056,
326,
318,
749,
2219,
1871,
477,
7937,
13,
46506,
6056,
16034,
4074,
44441,
11050,
6056,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What is the zip code that has the lowest average mean sea level pressure? | SELECT zip_code FROM weather GROUP BY zip_code ORDER BY AVG(mean_sea_level_pressure_inches) LIMIT 1 | [
2061,
318,
262,
19974,
2438,
326,
468,
262,
9016,
2811,
1612,
5417,
1241,
3833,
30,
46506,
19974,
62,
8189,
16034,
6193,
44441,
11050,
19974,
62,
8189,
38678,
11050,
35224,
7,
32604,
62,
8583,
62,
5715,
62,
36151,
62,
45457,
8,
27564,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19974,
2438,
326,
468,
262,
9016,
2811,
1612,
5417,
1241,
3833,
30,
46506,
19974,
62,
8189,
16034,
6193,
44441,
11050,
19974,
62,
8189,
38678,
11050,
35224,
7,
32604,
62,
8583,
62,
5715,
62,
36151,
62,
45457,
8,
27564,
... |
How much is the total value of kau s b UNGEGN ? | SELECT SUM("Value") FROM table_69764 WHERE "UNGEGN" = 'kau sĕb' | [
2437,
881,
318,
262,
2472,
1988,
286,
479,
559,
264,
275,
4725,
38,
7156,
45,
5633,
46506,
35683,
7203,
11395,
4943,
16034,
3084,
62,
40035,
2414,
33411,
366,
4944,
38,
7156,
45,
1,
796,
705,
74,
559,
264,
128,
243,
65,
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
] | [
2437,
881,
318,
262,
2472,
1988,
286,
479,
559,
264,
275,
4725,
38,
7156,
45,
5633,
46506,
35683,
7203,
11395,
4943,
16034,
3084,
62,
40035,
2414,
33411,
366,
4944,
38,
7156,
45,
1,
796,
705,
74,
559,
264,
128,
243,
65,
6
] |
How many series are there total? | SELECT MAX("No. in series") FROM table_2183 | [
2437,
867,
2168,
389,
612,
2472,
30,
46506,
25882,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
17,
24839
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2168,
389,
612,
2472,
30,
46506,
25882,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
17,
24839
] |
What was the status of tropartic? | SELECT status FROM table_12001616_4 WHERE car_name = "TropArtic" | [
2061,
373,
262,
3722,
286,
14673,
433,
291,
30,
46506,
3722,
16034,
3084,
62,
27550,
1433,
1433,
62,
19,
33411,
1097,
62,
3672,
796,
366,
51,
1773,
8001,
291,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3722,
286,
14673,
433,
291,
30,
46506,
3722,
16034,
3084,
62,
27550,
1433,
1433,
62,
19,
33411,
1097,
62,
3672,
796,
366,
51,
1773,
8001,
291,
1
] |
Which competition did T rlea come in 4th place, in 2003 at Budapest, Hungary? | SELECT competition FROM table_name_55 WHERE position = "4th" AND year > 2003 AND venue = "budapest, hungary" | [
13828,
5449,
750,
309,
374,
293,
64,
1282,
287,
604,
400,
1295,
11,
287,
5816,
379,
40959,
11,
19562,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
2816,
33411,
2292,
796,
366,
19,
400,
1,
5357,
614,
1875,
5816,
5357,
14359,
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
] | [
13828,
5449,
750,
309,
374,
293,
64,
1282,
287,
604,
400,
1295,
11,
287,
5816,
379,
40959,
11,
19562,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
2816,
33411,
2292,
796,
366,
19,
400,
1,
5357,
614,
1875,
5816,
5357,
14359,
796,
366,... |
Name the number of cfl teams for jeff traversy | SELECT COUNT("CFL Team") FROM table_3979 WHERE "Player" = 'Jeff Traversy' | [
5376,
262,
1271,
286,
269,
2704,
3466,
329,
11223,
487,
33038,
88,
46506,
327,
28270,
7203,
34,
3697,
4816,
4943,
16034,
3084,
62,
2670,
3720,
33411,
366,
14140,
1,
796,
705,
19139,
4759,
690,
88,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
269,
2704,
3466,
329,
11223,
487,
33038,
88,
46506,
327,
28270,
7203,
34,
3697,
4816,
4943,
16034,
3084,
62,
2670,
3720,
33411,
366,
14140,
1,
796,
705,
19139,
4759,
690,
88,
6
] |
How many documents are created in each day? Bin the document date by year interval and group by document type description with a group line chart, and I want to show in ascending by the X-axis. | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY Document_Date | [
2437,
867,
4963,
389,
2727,
287,
1123,
1110,
30,
20828,
262,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
1448,
1627,
8262,
11,
290,
314,
765,
284,
905,
287,
41988,
416,
262,
1395,
12,
22704,
13,
46506,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
4963,
389,
2727,
287,
1123,
1110,
30,
20828,
262,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
1448,
1627,
8262,
11,
290,
314,
765,
284,
905,
287,
41988,
416,
262,
1395,
12,
22704,
13,
46506,
1... |
Name the coach for emily is made into a more outgoing person. | SELECT "Coach" FROM table_73277 WHERE "Episode Summary" = 'Emily is made into a more outgoing person.' | [
5376,
262,
3985,
329,
795,
813,
318,
925,
656,
257,
517,
28181,
1048,
13,
46506,
366,
40677,
1,
16034,
3084,
62,
4790,
27019,
33411,
366,
23758,
21293,
1,
796,
705,
48640,
318,
925,
656,
257,
517,
28181,
1048,
2637
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3985,
329,
795,
813,
318,
925,
656,
257,
517,
28181,
1048,
13,
46506,
366,
40677,
1,
16034,
3084,
62,
4790,
27019,
33411,
366,
23758,
21293,
1,
796,
705,
48640,
318,
925,
656,
257,
517,
28181,
1048,
2637
] |
Which Town has a Structural type of guyed mast and a Country of belgium? | SELECT "Town" FROM table_6445 WHERE "Structural type" = 'guyed mast' AND "Country" = 'belgium' | [
13828,
8329,
468,
257,
32112,
1523,
2099,
286,
3516,
276,
17288,
290,
257,
12946,
286,
894,
70,
1505,
30,
46506,
366,
38097,
1,
16034,
3084,
62,
2414,
2231,
33411,
366,
44909,
1523,
2099,
1,
796,
705,
22932,
276,
17288,
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
] | [
13828,
8329,
468,
257,
32112,
1523,
2099,
286,
3516,
276,
17288,
290,
257,
12946,
286,
894,
70,
1505,
30,
46506,
366,
38097,
1,
16034,
3084,
62,
2414,
2231,
33411,
366,
44909,
1523,
2099,
1,
796,
705,
22932,
276,
17288,
6,
5357,
366,
... |
What Per capita income has a Median family income of $50,755? | SELECT per_capita_income FROM table_name_38 WHERE median_family_income = "$50,755" | [
2061,
2448,
21344,
3739,
468,
257,
26178,
1641,
3739,
286,
720,
1120,
11,
38172,
30,
46506,
583,
62,
11128,
5350,
62,
12519,
16034,
3084,
62,
3672,
62,
2548,
33411,
14288,
62,
17989,
62,
12519,
796,
17971,
1120,
11,
38172,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2448,
21344,
3739,
468,
257,
26178,
1641,
3739,
286,
720,
1120,
11,
38172,
30,
46506,
583,
62,
11128,
5350,
62,
12519,
16034,
3084,
62,
3672,
62,
2548,
33411,
14288,
62,
17989,
62,
12519,
796,
17971,
1120,
11,
38172,
1
] |
What is the PCT when the total number of games is less than 944? | SELECT "Pct." FROM table_10466 WHERE "Total Games" < '944' | [
2061,
318,
262,
350,
4177,
618,
262,
2472,
1271,
286,
1830,
318,
1342,
621,
860,
2598,
30,
46506,
366,
47,
310,
526,
16034,
3084,
62,
13464,
2791,
33411,
366,
14957,
5776,
1,
1279,
705,
24,
2598,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
350,
4177,
618,
262,
2472,
1271,
286,
1830,
318,
1342,
621,
860,
2598,
30,
46506,
366,
47,
310,
526,
16034,
3084,
62,
13464,
2791,
33411,
366,
14957,
5776,
1,
1279,
705,
24,
2598,
6
] |
when has patient 002-20631 first had the mch minimum value the last month? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-20631')) AND lab.labname = 'mch' AND DATETIME(lab.labresulttime, 'start of mont... | [
12518,
468,
5827,
3571,
17,
12,
22136,
3132,
717,
550,
262,
285,
354,
5288,
1988,
262,
938,
1227,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
468,
5827,
3571,
17,
12,
22136,
3132,
717,
550,
262,
285,
354,
5288,
1988,
262,
938,
1227,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,... |
How many figures are named for security forces in 1998? | SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998 | [
2437,
867,
5538,
389,
3706,
329,
2324,
3386,
287,
7795,
30,
46506,
327,
28270,
7,
12961,
62,
27087,
8,
16034,
3084,
62,
20666,
24760,
2079,
62,
17,
33411,
2278,
796,
7795
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5538,
389,
3706,
329,
2324,
3386,
287,
7795,
30,
46506,
327,
28270,
7,
12961,
62,
27087,
8,
16034,
3084,
62,
20666,
24760,
2079,
62,
17,
33411,
2278,
796,
7795
] |
what was patient 29540's intake for the last time on the first icu visit? | 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 = 29540) AND NOT icustays.outtime IS N... | [
10919,
373,
5827,
34772,
1821,
338,
10337,
329,
262,
938,
640,
319,
262,
717,
14158,
84,
3187,
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,
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... | [
10919,
373,
5827,
34772,
1821,
338,
10337,
329,
262,
938,
640,
319,
262,
717,
14158,
84,
3187,
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,
6... |
what is maximum age of patients whose admission location is trsf within this facility and primary disease is left colon cancer? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.diagnosis = "LEFT COLON CANCER" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
4165,
4369,
318,
1364,
7633,
4890,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
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,
1,
1... | [
10919,
318,
5415,
2479,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
4165,
4369,
318,
1364,
7633,
4890,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
36... |
When was Stellbrookmoor established? | SELECT date_established FROM table_26013618_1 WHERE name_of_the_nature_reserve = "Stellbrookmoor" | [
2215,
373,
520,
695,
19094,
76,
2675,
4920,
30,
46506,
3128,
62,
27718,
16034,
3084,
62,
2075,
486,
2623,
1507,
62,
16,
33411,
1438,
62,
1659,
62,
1169,
62,
21353,
62,
411,
3760,
796,
366,
7447,
297,
19094,
76,
2675,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
520,
695,
19094,
76,
2675,
4920,
30,
46506,
3128,
62,
27718,
16034,
3084,
62,
2075,
486,
2623,
1507,
62,
16,
33411,
1438,
62,
1659,
62,
1169,
62,
21353,
62,
411,
3760,
796,
366,
7447,
297,
19094,
76,
2675,
1
] |
What is the Format(s) of the release on September 23, 2008? | SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 2008" | [
2061,
318,
262,
18980,
7,
82,
8,
286,
262,
2650,
319,
2693,
2242,
11,
3648,
30,
46506,
5794,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
325,
457,
1491,
2242,
11,
3648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18980,
7,
82,
8,
286,
262,
2650,
319,
2693,
2242,
11,
3648,
30,
46506,
5794,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
325,
457,
1491,
2242,
11,
3648,
1
] |
How many cards in different card type code? Plot a bar chart, and rank how many card type code in descending order. | SELECT card_type_code, COUNT(card_type_code) FROM Customers_Cards GROUP BY card_type_code ORDER BY COUNT(card_type_code) DESC | [
2437,
867,
4116,
287,
1180,
2657,
2099,
2438,
30,
28114,
257,
2318,
8262,
11,
290,
4279,
703,
867,
2657,
2099,
2438,
287,
31491,
1502,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
9517,
62,
4906,
62,
8189,
8,
16034,
36707... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4116,
287,
1180,
2657,
2099,
2438,
30,
28114,
257,
2318,
8262,
11,
290,
4279,
703,
867,
2657,
2099,
2438,
287,
31491,
1502,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
9517,
62,
4906,
62,
8189,
8,
16034,
36707... |
Show the number of documents in each day for all documents on project with details 'Graph Database project' and bin document date by weekday with a bar chart. | SELECT Document_Date, COUNT(Document_Date) FROM Documents AS T1 JOIN Projects AS T2 ON T1.Project_ID = T2.Project_ID WHERE T2.Project_Details = 'Graph Database project' | [
15307,
262,
1271,
286,
4963,
287,
1123,
1110,
329,
477,
4963,
319,
1628,
351,
3307,
705,
37065,
24047,
1628,
6,
290,
9874,
3188,
3128,
416,
28269,
351,
257,
2318,
8262,
13,
46506,
16854,
62,
10430,
11,
327,
28270,
7,
24941,
62,
10430,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4963,
287,
1123,
1110,
329,
477,
4963,
319,
1628,
351,
3307,
705,
37065,
24047,
1628,
6,
290,
9874,
3188,
3128,
416,
28269,
351,
257,
2318,
8262,
13,
46506,
16854,
62,
10430,
11,
327,
28270,
7,
24941,
62,
10430,... |
had there been any organism detected in the last blood, venipuncture microbiology test of patient 031-23724 since 2 years ago? | SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23724')) AND microlab.culturesite = 'blood, venipuncture' AND DATETIME(mic... | [
18108,
612,
587,
597,
26433,
12326,
287,
262,
938,
2910,
11,
8710,
541,
39187,
24559,
1435,
1332,
286,
5827,
657,
3132,
12,
24693,
1731,
1201,
362,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
612,
587,
597,
26433,
12326,
287,
262,
938,
2910,
11,
8710,
541,
39187,
24559,
1435,
1332,
286,
5827,
657,
3132,
12,
24693,
1731,
1201,
362,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
... |
What is the type of institution in Kent State University? | SELECT type FROM table_261946_3 WHERE location__all_in_ohio_ = "Kent" | [
2061,
318,
262,
2099,
286,
9901,
287,
8758,
1812,
2059,
30,
46506,
2099,
16034,
3084,
62,
2075,
1129,
3510,
62,
18,
33411,
4067,
834,
439,
62,
259,
62,
1219,
952,
62,
796,
366,
42265,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
286,
9901,
287,
8758,
1812,
2059,
30,
46506,
2099,
16034,
3084,
62,
2075,
1129,
3510,
62,
18,
33411,
4067,
834,
439,
62,
259,
62,
1219,
952,
62,
796,
366,
42265,
1
] |
Who is the second member that was elected in 1555? | SELECT "2nd member" FROM table_60046 WHERE "Elected" = '1555' | [
8241,
318,
262,
1218,
2888,
326,
373,
7018,
287,
1315,
2816,
30,
46506,
366,
17,
358,
2888,
1,
16034,
3084,
62,
8054,
3510,
33411,
366,
36,
12609,
1,
796,
705,
1314,
2816,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
1218,
2888,
326,
373,
7018,
287,
1315,
2816,
30,
46506,
366,
17,
358,
2888,
1,
16034,
3084,
62,
8054,
3510,
33411,
366,
36,
12609,
1,
796,
705,
1314,
2816,
6
] |
For those employees who was hired before 2002-06-21, show me about the distribution of job_id and the average of manager_id , and group by attribute job_id in a bar chart, and could you rank by the JOB_ID in ascending please? | SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
290,
714,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
290,
714,
... |
What is the lap total for george eaton, with a grid under 17 retiring due to gearbox? | SELECT SUM(laps) FROM table_name_72 WHERE time_retired = "gearbox" AND driver = "george eaton" AND grid < 17 | [
2061,
318,
262,
14779,
2472,
329,
4903,
3643,
4483,
261,
11,
351,
257,
10706,
739,
1596,
29040,
2233,
284,
7733,
3524,
30,
46506,
35683,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
4761,
33411,
640,
62,
1186,
1202,
796,
366,
31763,
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
] | [
2061,
318,
262,
14779,
2472,
329,
4903,
3643,
4483,
261,
11,
351,
257,
10706,
739,
1596,
29040,
2233,
284,
7733,
3524,
30,
46506,
35683,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
4761,
33411,
640,
62,
1186,
1202,
796,
366,
31763,
3... |
In what year was the last last title received, by any of the countries? | SELECT MAX("Last title") FROM table_87 | [
818,
644,
614,
373,
262,
938,
938,
3670,
2722,
11,
416,
597,
286,
262,
2678,
30,
46506,
25882,
7203,
5956,
3670,
4943,
16034,
3084,
62,
5774
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
614,
373,
262,
938,
938,
3670,
2722,
11,
416,
597,
286,
262,
2678,
30,
46506,
25882,
7203,
5956,
3670,
4943,
16034,
3084,
62,
5774
] |
What is the Name of the Player with a Height of m (ft 1in)? | SELECT "Name" FROM table_61422 WHERE "Height" = 'm (ft 1in)' | [
2061,
318,
262,
6530,
286,
262,
7853,
351,
257,
27280,
286,
285,
357,
701,
352,
259,
19427,
46506,
366,
5376,
1,
16034,
3084,
62,
46841,
1828,
33411,
366,
23106,
1,
796,
705,
76,
357,
701,
352,
259,
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
] | [
2061,
318,
262,
6530,
286,
262,
7853,
351,
257,
27280,
286,
285,
357,
701,
352,
259,
19427,
46506,
366,
5376,
1,
16034,
3084,
62,
46841,
1828,
33411,
366,
23106,
1,
796,
705,
76,
357,
701,
352,
259,
33047
] |
What is Appearances, when Postion [F ] is 'Defender', and when Date to [H ] is '1938'? | SELECT "Appearances" FROM table_9522 WHERE "Position [F ]" = 'defender' AND "Date to [H ]" = '1938' | [
2061,
318,
2034,
35630,
11,
618,
2947,
295,
685,
37,
2361,
318,
705,
7469,
2194,
3256,
290,
618,
7536,
284,
685,
39,
2361,
318,
705,
1129,
2548,
30960,
46506,
366,
47569,
1,
16034,
3084,
62,
3865,
1828,
33411,
366,
26545,
685,
37,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
2034,
35630,
11,
618,
2947,
295,
685,
37,
2361,
318,
705,
7469,
2194,
3256,
290,
618,
7536,
284,
685,
39,
2361,
318,
705,
1129,
2548,
30960,
46506,
366,
47569,
1,
16034,
3084,
62,
3865,
1828,
33411,
366,
26545,
685,
37,
2... |
Give me the comparison about Weight over the Date_of_Birth . | SELECT Date_of_Birth, Weight FROM people | [
23318,
502,
262,
7208,
546,
14331,
625,
262,
7536,
62,
1659,
62,
38480,
764,
46506,
7536,
62,
1659,
62,
38480,
11,
14331,
16034,
661
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
14331,
625,
262,
7536,
62,
1659,
62,
38480,
764,
46506,
7536,
62,
1659,
62,
38480,
11,
14331,
16034,
661
] |
Can you tell me the Overall Record that has the Away Team of miami? | SELECT "Overall Record" FROM table_42185 WHERE "Away Team" = 'miami' | [
6090,
345,
1560,
502,
262,
14674,
13266,
326,
468,
262,
21986,
4816,
286,
285,
7871,
30,
46506,
366,
16350,
13266,
1,
16034,
3084,
62,
3682,
21652,
33411,
366,
32,
1014,
4816,
1,
796,
705,
76,
7871,
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
] | [
6090,
345,
1560,
502,
262,
14674,
13266,
326,
468,
262,
21986,
4816,
286,
285,
7871,
30,
46506,
366,
16350,
13266,
1,
16034,
3084,
62,
3682,
21652,
33411,
366,
32,
1014,
4816,
1,
796,
705,
76,
7871,
6
] |
What were the results of the event where $817,781 was awarded to less than 1,236 entrants? | SELECT "Results" FROM table_38766 WHERE "Entrants" < '1,236' AND "Prize" = '$817,781' | [
2061,
547,
262,
2482,
286,
262,
1785,
810,
720,
23,
1558,
11,
49703,
373,
11343,
284,
1342,
621,
352,
11,
24940,
49117,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
32220,
2791,
33411,
366,
14539,
15087,
1,
1279,
705,
16,
11,
24940,
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
] | [
2061,
547,
262,
2482,
286,
262,
1785,
810,
720,
23,
1558,
11,
49703,
373,
11343,
284,
1342,
621,
352,
11,
24940,
49117,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
32220,
2791,
33411,
366,
14539,
15087,
1,
1279,
705,
16,
11,
24940,
6... |
give me the number of patients whose death status is 1 and procedure short title is aortocor bypas-3 cor art? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "1" AND procedures.short_title = "Aortocor bypas-3 cor art" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
8771,
1790,
3670,
318,
257,
419,
420,
273,
416,
44429,
12,
18,
1162,
1242,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
8771,
1790,
3670,
318,
257,
419,
420,
273,
416,
44429,
12,
18,
1162,
1242,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728... |
What beer has a record of 4.08? | SELECT beer FROM table_name_67 WHERE recorded = 4.08 | [
2061,
6099,
468,
257,
1700,
286,
604,
13,
2919,
30,
46506,
6099,
16034,
3084,
62,
3672,
62,
3134,
33411,
6264,
796,
604,
13,
2919
] | [
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,
6099,
468,
257,
1700,
286,
604,
13,
2919,
30,
46506,
6099,
16034,
3084,
62,
3672,
62,
3134,
33411,
6264,
796,
604,
13,
2919
] |
Information Extraction publications | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Information Extraction' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | [
21918,
5683,
7861,
16125,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
21918,
5683,
7861,
6,
5357,
3348,
2539,
34675,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21918,
5683,
7861,
16125,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
21918,
5683,
7861,
6,
5357,
3348,
2539,
34675,
... |
What are the send dates for all documents that have a grant amount of more than 5000 and are involved in research? | SELECT T1.sent_date FROM documents AS T1 JOIN grants AS T2 ON T1.grant_id = T2.grant_id JOIN organisations AS T3 ON T2.organisation_id = T3.organisation_id JOIN organisation_types AS T4 ON T3.organisation_type = T4.organisation_type WHERE T2.grant_amount > 5000 AND T4.organisation_type_description = 'Research' | [
2061,
389,
262,
3758,
9667,
329,
477,
4963,
326,
423,
257,
7264,
2033,
286,
517,
621,
23336,
290,
389,
2950,
287,
2267,
30,
46506,
309,
16,
13,
34086,
62,
4475,
16034,
4963,
7054,
309,
16,
32357,
1268,
11455,
7054,
309,
17,
6177,
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... | [
2061,
389,
262,
3758,
9667,
329,
477,
4963,
326,
423,
257,
7264,
2033,
286,
517,
621,
23336,
290,
389,
2950,
287,
2267,
30,
46506,
309,
16,
13,
34086,
62,
4475,
16034,
4963,
7054,
309,
16,
32357,
1268,
11455,
7054,
309,
17,
6177,
30... |
What is Tournament, when Date is '9 August 1993'? | SELECT tournament FROM table_name_38 WHERE date = "9 august 1993" | [
2061,
318,
9595,
11,
618,
7536,
318,
705,
24,
2932,
9656,
30960,
46506,
7756,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
24,
16339,
436,
9656,
1
] | [
1,
1,
1,
1,
1,
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,
9595,
11,
618,
7536,
318,
705,
24,
2932,
9656,
30960,
46506,
7756,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
24,
16339,
436,
9656,
1
] |
flights from OAK to SFO | SELECT DISTINCT flight.flight_id FROM airport AS AIRPORT_0, airport AS AIRPORT_1, flight WHERE AIRPORT_0.airport_code = 'SFO' AND AIRPORT_1.airport_code = 'OAK' AND flight.from_airport = AIRPORT_0.airport_code AND flight.to_airport = AIRPORT_1.airport_code | [
2704,
2337,
422,
440,
10206,
284,
14362,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
7054,
31600,
15490,
62,
15,
11,
9003,
7054,
31600,
15490,
62,
16,
11,
5474,
33411,
31600,
15490,
62,
15,
13,
958,
634... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2704,
2337,
422,
440,
10206,
284,
14362,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
7054,
31600,
15490,
62,
15,
11,
9003,
7054,
31600,
15490,
62,
16,
11,
5474,
33411,
31600,
15490,
62,
15,
13,
958,
634... |
List the year in which there are more than one festivals. | SELECT YEAR FROM festival_detail GROUP BY YEAR HAVING COUNT(*) > 1 | [
8053,
262,
614,
287,
543,
612,
389,
517,
621,
530,
25575,
13,
46506,
32914,
16034,
10876,
62,
49170,
44441,
11050,
32914,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
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
] | [
8053,
262,
614,
287,
543,
612,
389,
517,
621,
530,
25575,
13,
46506,
32914,
16034,
10876,
62,
49170,
44441,
11050,
32914,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
select all users from Sri Lanaka order by reputation. | SELECT * FROM Users ORDER BY Reputation DESC | [
19738,
477,
2985,
422,
20872,
14730,
8130,
1502,
416,
8507,
13,
46506,
1635,
16034,
18987,
38678,
11050,
1432,
7094,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19738,
477,
2985,
422,
20872,
14730,
8130,
1502,
416,
8507,
13,
46506,
1635,
16034,
18987,
38678,
11050,
1432,
7094,
22196,
34
] |
keyphrases used by yejin choi | SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'yejin choi' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
2539,
746,
81,
1386,
973,
416,
9838,
18594,
1727,
72,
46506,
360,
8808,
1268,
4177,
1994,
34675,
13,
2539,
34675,
312,
16034,
1772,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2539,
746,
81,
1386,
973,
416,
9838,
18594,
1727,
72,
46506,
360,
8808,
1268,
4177,
1994,
34675,
13,
2539,
34675,
312,
16034,
1772,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
70... |
What is the sum of points values that are associated with 0 losses and more than 8 games? | SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8 | [
2061,
318,
262,
2160,
286,
2173,
3815,
326,
389,
3917,
351,
657,
9089,
290,
517,
621,
807,
1830,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
2626,
796,
657,
5357,
1830,
1875,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
3815,
326,
389,
3917,
351,
657,
9089,
290,
517,
621,
807,
1830,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
2626,
796,
657,
5357,
1830,
1875,
807
] |
Show each state and the number of addresses in each state. | SELECT state_province_county, COUNT(*) FROM addresses GROUP BY state_province_county | [
15307,
1123,
1181,
290,
262,
1271,
286,
9405,
287,
1123,
1181,
13,
46506,
1181,
62,
15234,
924,
62,
9127,
88,
11,
327,
28270,
7,
28104,
16034,
9405,
44441,
11050,
1181,
62,
15234,
924,
62,
9127,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
1123,
1181,
290,
262,
1271,
286,
9405,
287,
1123,
1181,
13,
46506,
1181,
62,
15234,
924,
62,
9127,
88,
11,
327,
28270,
7,
28104,
16034,
9405,
44441,
11050,
1181,
62,
15234,
924,
62,
9127,
88
] |
Who has the highest assists in game 72? | SELECT high_assists FROM table_name_53 WHERE game = 72 | [
8241,
468,
262,
4511,
13648,
287,
983,
7724,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
4310,
33411,
983,
796,
7724
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
468,
262,
4511,
13648,
287,
983,
7724,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
4310,
33411,
983,
796,
7724
] |
Name the number of record for hp pavilion - 17,562 | SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562" | [
5376,
262,
1271,
286,
1700,
329,
27673,
45549,
29935,
532,
1596,
11,
43918,
46506,
327,
28270,
7,
22105,
8,
16034,
3084,
62,
23195,
2670,
29807,
62,
19,
33411,
4067,
62,
1078,
437,
590,
796,
366,
14082,
42094,
532,
1596,
11,
43918,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
1700,
329,
27673,
45549,
29935,
532,
1596,
11,
43918,
46506,
327,
28270,
7,
22105,
8,
16034,
3084,
62,
23195,
2670,
29807,
62,
19,
33411,
4067,
62,
1078,
437,
590,
796,
366,
14082,
42094,
532,
1596,
11,
43918,
1
... |
What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'? | SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range' | [
2061,
389,
262,
1438,
11,
6001,
290,
31198,
286,
12269,
543,
466,
407,
5594,
284,
262,
2837,
705,
32,
527,
67,
533,
13667,
30960,
46506,
1438,
11,
6001,
11,
31198,
16034,
8598,
33411,
2837,
1279,
29,
705,
32,
527,
67,
533,
13667,
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,
389,
262,
1438,
11,
6001,
290,
31198,
286,
12269,
543,
466,
407,
5594,
284,
262,
2837,
705,
32,
527,
67,
533,
13667,
30960,
46506,
1438,
11,
6001,
11,
31198,
16034,
8598,
33411,
2837,
1279,
29,
705,
32,
527,
67,
533,
13667,
6
... |
Are Fridays when Prof. Raluca Ilie 's classes always meet ? | SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE course_offering.friday = ... | [
8491,
45011,
618,
4415,
13,
371,
282,
43120,
13778,
494,
705,
82,
6097,
1464,
1826,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
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... | [
8491,
45011,
618,
4415,
13,
371,
282,
43120,
13778,
494,
705,
82,
6097,
1464,
1826,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
6... |
What is the maximum total amount paid by a customer? List the customer id and amount. | SELECT customer_id, SUM(amount_paid) FROM Payments GROUP BY customer_id ORDER BY SUM(amount_paid) DESC LIMIT 1 | [
2061,
318,
262,
5415,
2472,
2033,
3432,
416,
257,
6491,
30,
7343,
262,
6491,
4686,
290,
2033,
13,
46506,
6491,
62,
312,
11,
35683,
7,
17287,
62,
20333,
8,
16034,
41318,
44441,
11050,
6491,
62,
312,
38678,
11050,
35683,
7,
17287,
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
] | [
2061,
318,
262,
5415,
2472,
2033,
3432,
416,
257,
6491,
30,
7343,
262,
6491,
4686,
290,
2033,
13,
46506,
6491,
62,
312,
11,
35683,
7,
17287,
62,
20333,
8,
16034,
41318,
44441,
11050,
6491,
62,
312,
38678,
11050,
35683,
7,
17287,
62,
... |
what flights from ST. PAUL to KANSAS CITY on friday with supper served | 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, food_service WHERE ((date_day.day_number = 25 AND date_day.month_number = 6 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.... | [
10919,
13956,
422,
3563,
13,
8147,
6239,
284,
509,
15037,
1921,
27993,
319,
1216,
2567,
351,
43743,
4983,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
422,
3563,
13,
8147,
6239,
284,
509,
15037,
1921,
27993,
319,
1216,
2567,
351,
43743,
4983,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... |
What day was the winning score 16 (67-70-69-66=272)? | SELECT date FROM table_name_16 WHERE winning_score = –16(67 - 70 - 69 - 66 = 272) | [
2061,
1110,
373,
262,
5442,
4776,
1467,
357,
3134,
12,
2154,
12,
3388,
12,
2791,
28,
29807,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
1433,
33411,
5442,
62,
26675,
796,
784,
1433,
7,
3134,
532,
4317,
532,
8644,
532,
7930,
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
] | [
2061,
1110,
373,
262,
5442,
4776,
1467,
357,
3134,
12,
2154,
12,
3388,
12,
2791,
28,
29807,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
1433,
33411,
5442,
62,
26675,
796,
784,
1433,
7,
3134,
532,
4317,
532,
8644,
532,
7930,
796,
... |
In what district was incumbent first elected in 1938? | SELECT district FROM table_1342013_42 WHERE first_elected = 1938 | [
818,
644,
4783,
373,
23526,
717,
7018,
287,
28017,
30,
46506,
4783,
16034,
3084,
62,
19880,
6390,
62,
3682,
33411,
717,
62,
28604,
796,
28017
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
4783,
373,
23526,
717,
7018,
287,
28017,
30,
46506,
4783,
16034,
3084,
62,
19880,
6390,
62,
3682,
33411,
717,
62,
28604,
796,
28017
] |
What Dave Douglas' Place? | SELECT "Place" FROM table_68300 WHERE "Player" = 'dave douglas' | [
2061,
9935,
15796,
6,
8474,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3104,
6200,
33411,
366,
14140,
1,
796,
705,
67,
1015,
2255,
14391,
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,
9935,
15796,
6,
8474,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3104,
6200,
33411,
366,
14140,
1,
796,
705,
67,
1015,
2255,
14391,
6
] |
give me the number of patients whose admission type is emergency and lab test fluid is cerebrospinal fluid (csf)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What is the highest number of losses with 23 points and 22 plays? | SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22 | [
2061,
318,
262,
4511,
1271,
286,
9089,
351,
2242,
2173,
290,
2534,
5341,
30,
46506,
25882,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
2173,
796,
2242,
5357,
2826,
1875,
2534
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
286,
9089,
351,
2242,
2173,
290,
2534,
5341,
30,
46506,
25882,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
2173,
796,
2242,
5357,
2826,
1875,
2534
] |
The match against Mark Hunt had what result? | SELECT res FROM table_name_86 WHERE opponent = "mark hunt" | [
464,
2872,
1028,
2940,
12937,
550,
644,
1255,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
4521,
33411,
6125,
796,
366,
4102,
12601,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
2872,
1028,
2940,
12937,
550,
644,
1255,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
4521,
33411,
6125,
796,
366,
4102,
12601,
1
] |
What is Justin Leonard's To par? | SELECT "To par" FROM table_62530 WHERE "Player" = 'justin leonard' | [
2061,
318,
10799,
20131,
338,
1675,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
26704,
1270,
33411,
366,
14140,
1,
796,
705,
3137,
259,
443,
261,
446,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
10799,
20131,
338,
1675,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
26704,
1270,
33411,
366,
14140,
1,
796,
705,
3137,
259,
443,
261,
446,
6
] |
What was Footscray's score when it played as the home team? | SELECT "Home team score" FROM table_32966 WHERE "Home team" = 'footscray' | [
2061,
373,
7870,
1416,
2433,
338,
4776,
618,
340,
2826,
355,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
37967,
2791,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
7870,
1416,
2433,
338,
4776,
618,
340,
2826,
355,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
37967,
2791,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
] |
What is the largest start for a player with 14 conv, 10 tries and more than 22 pens? | SELECT MAX("Start") FROM table_10150 WHERE "Conv" = '14' AND "Tries" = '10' AND "Pens" > '22' | [
2061,
318,
262,
4387,
923,
329,
257,
2137,
351,
1478,
3063,
11,
838,
8404,
290,
517,
621,
2534,
29707,
30,
46506,
25882,
7203,
10434,
4943,
16034,
3084,
62,
8784,
1120,
33411,
366,
3103,
85,
1,
796,
705,
1415,
6,
5357,
366,
51,
1678... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
923,
329,
257,
2137,
351,
1478,
3063,
11,
838,
8404,
290,
517,
621,
2534,
29707,
30,
46506,
25882,
7203,
10434,
4943,
16034,
3084,
62,
8784,
1120,
33411,
366,
3103,
85,
1,
796,
705,
1415,
6,
5357,
366,
51,
1678... |
calculate the average days of hospital stay of patients who are 49 years old or older than that. | SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.age >= "49" | [
9948,
3129,
378,
262,
2811,
1528,
286,
4436,
2652,
286,
3871,
508,
389,
5125,
812,
1468,
393,
4697,
621,
326,
13,
46506,
35224,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
496,
18189,
366,
2920,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9948,
3129,
378,
262,
2811,
1528,
286,
4436,
2652,
286,
3871,
508,
389,
5125,
812,
1468,
393,
4697,
621,
326,
13,
46506,
35224,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
496,
18189,
366,
2920,
1
] |
Name the average for rank of 3 | SELECT "Average" FROM table_29558 WHERE "Rank by average" = '3' | [
5376,
262,
2811,
329,
4279,
286,
513,
46506,
366,
26287,
1,
16034,
3084,
62,
1959,
40486,
33411,
366,
27520,
416,
2811,
1,
796,
705,
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
] | [
5376,
262,
2811,
329,
4279,
286,
513,
46506,
366,
26287,
1,
16034,
3084,
62,
1959,
40486,
33411,
366,
27520,
416,
2811,
1,
796,
705,
18,
6
] |
What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet? | SELECT MAX("River Mile") FROM table_63447 WHERE "Pool Length (miles)" = '42.2' AND "Lock Lift/Drop (in feet)" = '21' | [
2061,
318,
262,
4511,
5866,
26004,
326,
468,
257,
5933,
4129,
286,
5433,
13,
17,
4608,
393,
257,
5793,
14,
26282,
4268,
286,
2310,
3625,
30,
46506,
25882,
7203,
42204,
26004,
4943,
16034,
3084,
62,
5066,
34825,
33411,
366,
27201,
22313,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5866,
26004,
326,
468,
257,
5933,
4129,
286,
5433,
13,
17,
4608,
393,
257,
5793,
14,
26282,
4268,
286,
2310,
3625,
30,
46506,
25882,
7203,
42204,
26004,
4943,
16034,
3084,
62,
5066,
34825,
33411,
366,
27201,
22313,... |
Who had a score of 70-69-70=209? | SELECT player FROM table_name_50 WHERE score = 70 - 69 - 70 = 209 | [
8241,
550,
257,
4776,
286,
4317,
12,
3388,
12,
2154,
28,
22567,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1120,
33411,
4776,
796,
4317,
532,
8644,
532,
4317,
796,
28815
] | [
1,
1,
1,
1,
1,
1,
1,
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,
550,
257,
4776,
286,
4317,
12,
3388,
12,
2154,
28,
22567,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1120,
33411,
4776,
796,
4317,
532,
8644,
532,
4317,
796,
28815
] |
What is the name, type, and flag of the ship that was built in the most recent year? | SELECT name, type, flag FROM ship ORDER BY built_year DESC LIMIT 1 | [
2061,
318,
262,
1438,
11,
2099,
11,
290,
6056,
286,
262,
4074,
326,
373,
3170,
287,
262,
749,
2274,
614,
30,
46506,
1438,
11,
2099,
11,
6056,
16034,
4074,
38678,
11050,
3170,
62,
1941,
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,
1,
1
] | [
2061,
318,
262,
1438,
11,
2099,
11,
290,
6056,
286,
262,
4074,
326,
373,
3170,
287,
262,
749,
2274,
614,
30,
46506,
1438,
11,
2099,
11,
6056,
16034,
4074,
38678,
11050,
3170,
62,
1941,
22196,
34,
27564,
2043,
352
] |
What method was used in the Pride 17 event? | SELECT method FROM table_name_78 WHERE event = "pride 17" | [
2061,
2446,
373,
973,
287,
262,
21735,
1596,
1785,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
3695,
33411,
1785,
796,
366,
1050,
485,
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
] | [
2061,
2446,
373,
973,
287,
262,
21735,
1596,
1785,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
3695,
33411,
1785,
796,
366,
1050,
485,
1596,
1
] |
Which Crowd has a Home team of richmond? | SELECT SUM("Crowd") FROM table_77835 WHERE "Home team" = 'richmond' | [
13828,
29452,
468,
257,
5995,
1074,
286,
5527,
6327,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
39761,
2327,
33411,
366,
16060,
1074,
1,
796,
705,
7527,
6327,
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
] | [
13828,
29452,
468,
257,
5995,
1074,
286,
5527,
6327,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
39761,
2327,
33411,
366,
16060,
1074,
1,
796,
705,
7527,
6327,
6
] |
How many teams were listed as runner up in 2005 and there the first semi finalist was Western Carolina? | SELECT COUNT(runner_up) FROM table_11214772_2 WHERE semi_finalist__number1 = "Western Carolina" AND year = 2005 | [
2437,
867,
3466,
547,
5610,
355,
17490,
510,
287,
5075,
290,
612,
262,
717,
10663,
2457,
396,
373,
4885,
5913,
30,
46506,
327,
28270,
7,
16737,
62,
929,
8,
16034,
3084,
62,
14686,
1415,
43571,
62,
17,
33411,
10663,
62,
20311,
396,
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,
1
] | [
2437,
867,
3466,
547,
5610,
355,
17490,
510,
287,
5075,
290,
612,
262,
717,
10663,
2457,
396,
373,
4885,
5913,
30,
46506,
327,
28270,
7,
16737,
62,
929,
8,
16034,
3084,
62,
14686,
1415,
43571,
62,
17,
33411,
10663,
62,
20311,
396,
8... |
Get me the number of patients born before 2180 who had a phosphate urine lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2180" AND lab.label = "Phosphate, Urine" | [
3855,
502,
262,
1271,
286,
3871,
4642,
878,
362,
15259,
508,
550,
257,
46926,
18922,
2248,
1332,
13,
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... | [
3855,
502,
262,
1271,
286,
3871,
4642,
878,
362,
15259,
508,
550,
257,
46926,
18922,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
... |
What team was home, when the record was 24 16 6? | SELECT home FROM table_name_77 WHERE record = "24–16–6" | [
2061,
1074,
373,
1363,
11,
618,
262,
1700,
373,
1987,
1467,
718,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3324,
33411,
1700,
796,
366,
1731,
1906,
1433,
1906,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
373,
1363,
11,
618,
262,
1700,
373,
1987,
1467,
718,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3324,
33411,
1700,
796,
366,
1731,
1906,
1433,
1906,
21,
1
] |
Name the chapter with chinese of | SELECT chapter FROM table_name_28 WHERE chinese = "釋水" | [
5376,
262,
6843,
351,
442,
3762,
286,
46506,
6843,
16034,
3084,
62,
3672,
62,
2078,
33411,
442,
3762,
796,
366,
34932,
233,
36365,
112,
1
] | [
1,
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,
6843,
351,
442,
3762,
286,
46506,
6843,
16034,
3084,
62,
3672,
62,
2078,
33411,
442,
3762,
796,
366,
34932,
233,
36365,
112,
1
] |
How many households have yadkin as the county? | SELECT "Number of households" FROM table_60526 WHERE "County" = 'yadkin' | [
2437,
867,
12503,
423,
331,
324,
5116,
355,
262,
7968,
30,
46506,
366,
15057,
286,
12503,
1,
16034,
3084,
62,
32417,
2075,
33411,
366,
12332,
88,
1,
796,
705,
88,
324,
5116,
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
] | [
2437,
867,
12503,
423,
331,
324,
5116,
355,
262,
7968,
30,
46506,
366,
15057,
286,
12503,
1,
16034,
3084,
62,
32417,
2075,
33411,
366,
12332,
88,
1,
796,
705,
88,
324,
5116,
6
] |
which player played on Team Hamilton? | SELECT player FROM table_name_33 WHERE cfl_team = "hamilton" | [
4758,
2137,
2826,
319,
4816,
11582,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
269,
2704,
62,
15097,
796,
366,
2763,
9044,
1
] | [
1,
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,
2826,
319,
4816,
11582,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
269,
2704,
62,
15097,
796,
366,
2763,
9044,
1
] |
Who is the 92.5 with the press 282.5? | SELECT 925 FROM table_name_44 WHERE press = "282.5" | [
8241,
318,
262,
10190,
13,
20,
351,
262,
1803,
41810,
13,
20,
30,
46506,
860,
1495,
16034,
3084,
62,
3672,
62,
2598,
33411,
1803,
796,
366,
32568,
13,
20,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
10190,
13,
20,
351,
262,
1803,
41810,
13,
20,
30,
46506,
860,
1495,
16034,
3084,
62,
3672,
62,
2598,
33411,
1803,
796,
366,
32568,
13,
20,
1
] |
What was the lowest heat for Germany with a rank smaller than 9 for Mike Fenner and a time smaller than 13.52? | SELECT MIN(heat) FROM table_name_51 WHERE nationality = "germany" AND rank < 9 AND name = "mike fenner" AND time < 13.52 | [
2061,
373,
262,
9016,
4894,
329,
4486,
351,
257,
4279,
4833,
621,
860,
329,
4995,
19426,
1008,
290,
257,
640,
4833,
621,
1511,
13,
4309,
30,
46506,
20625,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
29835,
796,
366,
1362,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
9016,
4894,
329,
4486,
351,
257,
4279,
4833,
621,
860,
329,
4995,
19426,
1008,
290,
257,
640,
4833,
621,
1511,
13,
4309,
30,
46506,
20625,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
29835,
796,
366,
1362,
2... |
Where was mlb draft for the player who's school was Carl Albert High School? | SELECT "MLB Draft" FROM table_17055 WHERE "School" = 'Carl Albert High School' | [
8496,
373,
285,
23160,
4538,
329,
262,
2137,
508,
338,
1524,
373,
8124,
9966,
3334,
3961,
30,
46506,
366,
5805,
33,
13650,
1,
16034,
3084,
62,
1558,
47838,
33411,
366,
26130,
1,
796,
705,
26886,
9966,
3334,
3961,
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
] | [
8496,
373,
285,
23160,
4538,
329,
262,
2137,
508,
338,
1524,
373,
8124,
9966,
3334,
3961,
30,
46506,
366,
5805,
33,
13650,
1,
16034,
3084,
62,
1558,
47838,
33411,
366,
26130,
1,
796,
705,
26886,
9966,
3334,
3961,
6
] |
What is Ips-provectus transmittance/contrast ratio? | SELECT transmittance__contrast_ratio FROM table_name_16 WHERE name = "ips-provectus" | [
2061,
318,
47177,
12,
1676,
303,
310,
385,
1007,
20124,
590,
14,
3642,
5685,
8064,
30,
46506,
1007,
20124,
590,
834,
3642,
5685,
62,
10366,
952,
16034,
3084,
62,
3672,
62,
1433,
33411,
1438,
796,
366,
2419,
12,
1676,
303,
310,
385,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
47177,
12,
1676,
303,
310,
385,
1007,
20124,
590,
14,
3642,
5685,
8064,
30,
46506,
1007,
20124,
590,
834,
3642,
5685,
62,
10366,
952,
16034,
3084,
62,
3672,
62,
1433,
33411,
1438,
796,
366,
2419,
12,
1676,
303,
310,
385,
... |
tell me the four most common output events in 2104? | SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%output%' AND STRFTIME('%y', intakeoutput.intakeoutputtime) = '2104' GROUP BY intakeoutput.celllabel) AS t1 WHERE t1.c1 <= 4 | [
33331,
502,
262,
1440,
749,
2219,
5072,
2995,
287,
362,
13464,
30,
46506,
256,
16,
13,
3846,
18242,
16034,
357,
46506,
10337,
22915,
13,
3846,
18242,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
1440,
749,
2219,
5072,
2995,
287,
362,
13464,
30,
46506,
256,
16,
13,
3846,
18242,
16034,
357,
46506,
10337,
22915,
13,
3846,
18242,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... |
On November 2 what was the record of the team? | SELECT "Record" FROM table_47007 WHERE "Date" = 'november 2' | [
2202,
3389,
362,
644,
373,
262,
1700,
286,
262,
1074,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2857,
25816,
33411,
366,
10430,
1,
796,
705,
77,
3239,
362,
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
] | [
2202,
3389,
362,
644,
373,
262,
1700,
286,
262,
1074,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2857,
25816,
33411,
366,
10430,
1,
796,
705,
77,
3239,
362,
6
] |
Tell me the least time for apostolos tsagkarakis for lane less than 6 | SELECT MIN(time) FROM table_name_63 WHERE swimmer = "apostolos tsagkarakis" AND lane < 6 | [
24446,
502,
262,
1551,
640,
329,
18584,
349,
418,
40379,
363,
21070,
27321,
329,
11193,
1342,
621,
718,
46506,
20625,
7,
2435,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
9422,
647,
796,
366,
499,
455,
349,
418,
40379,
363,
21070,
2732... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
640,
329,
18584,
349,
418,
40379,
363,
21070,
27321,
329,
11193,
1342,
621,
718,
46506,
20625,
7,
2435,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
9422,
647,
796,
366,
499,
455,
349,
418,
40379,
363,
21070,
2732... |
How many attended the game with north melbourne as the away side? | SELECT COUNT("Crowd") FROM table_4600 WHERE "Away team" = 'north melbourne' | [
2437,
867,
9141,
262,
983,
351,
5093,
7758,
12544,
355,
262,
1497,
1735,
30,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
3510,
405,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
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
] | [
2437,
867,
9141,
262,
983,
351,
5093,
7758,
12544,
355,
262,
1497,
1735,
30,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
3510,
405,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
What was the championship before 2012 that had Stephane Houdet Michael Jeremiasz as opponents? | SELECT championship FROM table_name_23 WHERE year < 2012 AND opponents_in_final = "stephane houdet michael jeremiasz" | [
2061,
373,
262,
12184,
878,
2321,
326,
550,
39644,
1531,
367,
2778,
316,
3899,
10272,
76,
4448,
89,
355,
7691,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
1954,
33411,
614,
1279,
2321,
5357,
7691,
62,
259,
62,
20311,
796,
366,
9662,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12184,
878,
2321,
326,
550,
39644,
1531,
367,
2778,
316,
3899,
10272,
76,
4448,
89,
355,
7691,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
1954,
33411,
614,
1279,
2321,
5357,
7691,
62,
259,
62,
20311,
796,
366,
9662,
... |
What is round 1's position? | SELECT position FROM table_name_13 WHERE round = 1 | [
2061,
318,
2835,
352,
338,
2292,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1485,
33411,
2835,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
2835,
352,
338,
2292,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1485,
33411,
2835,
796,
352
] |
Which writer had a producer DKA, JL, AS? | SELECT "Writer" FROM table_55279 WHERE "Producer/Executive Producer" = 'dka, jl, as' | [
13828,
6260,
550,
257,
9920,
360,
25123,
11,
449,
43,
11,
7054,
30,
46506,
366,
34379,
1,
16034,
3084,
62,
2816,
26050,
33411,
366,
11547,
2189,
14,
43885,
30436,
1,
796,
705,
67,
4914,
11,
474,
75,
11,
355,
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,
6260,
550,
257,
9920,
360,
25123,
11,
449,
43,
11,
7054,
30,
46506,
366,
34379,
1,
16034,
3084,
62,
2816,
26050,
33411,
366,
11547,
2189,
14,
43885,
30436,
1,
796,
705,
67,
4914,
11,
474,
75,
11,
355,
6
] |
Users with the most Community Wiki Answers. | SELECT U.Id AS "user_link", COUNT(Ph.PostHistoryTypeId) AS "total" FROM Posts AS P, Users AS U, PostTypes AS Pt, PostHistory AS Ph WHERE U.Id = P.OwnerUserId AND Pt.Id = P.PostTypeId AND Pt.Id = 2 AND P.Id = Ph.PostId AND Ph.PostHistoryTypeId = 16 GROUP BY U.Id HAVING COUNT(Ph.PostHistoryTypeId) > 100 | [
14490,
351,
262,
749,
8108,
13078,
42612,
13,
46506,
471,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
2725,
13,
6307,
18122,
6030,
7390,
8,
7054,
366,
23350,
1,
16034,
12043,
7054,
350,
11,
18987,
7054,
471,
11,
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... | [
14490,
351,
262,
749,
8108,
13078,
42612,
13,
46506,
471,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
2725,
13,
6307,
18122,
6030,
7390,
8,
7054,
366,
23350,
1,
16034,
12043,
7054,
350,
11,
18987,
7054,
471,
11,
2947,
... |
What were the results for incumbent Jim McCrery? | SELECT "Results" FROM table_72360 WHERE "Incumbent" = 'Jim McCrery' | [
2061,
547,
262,
2482,
329,
23526,
5395,
5108,
260,
563,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
22,
1954,
1899,
33411,
366,
25517,
2178,
298,
1,
796,
705,
18050,
5108,
260,
563,
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,
547,
262,
2482,
329,
23526,
5395,
5108,
260,
563,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
22,
1954,
1899,
33411,
366,
25517,
2178,
298,
1,
796,
705,
18050,
5108,
260,
563,
6
] |
Are PHARMSCI 565 and PHARMSCI 519 able to be taken in the same semester ? | SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, course_offering AS COURSE_OFFERING_0, course_offering AS COURSE_OFFERING_1, course_prerequisite WHERE COURSE_OFFERING_1.semester = COURSE_OFFERING_0.semester AND COURSE_0.course_id = COURSE_OFFERING_0.course_id AND COURSE_0.department = 'PHARMSCI' AND COU... | [
8491,
9370,
1503,
5653,
25690,
642,
2996,
290,
9370,
1503,
5653,
25690,
642,
1129,
1498,
284,
307,
2077,
287,
262,
976,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8491,
9370,
1503,
5653,
25690,
642,
2996,
290,
9370,
1503,
5653,
25690,
642,
1129,
1498,
284,
307,
2077,
287,
262,
976,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
... |
what is the ranking for 2010 production of 2,903,000? | SELECT "Rank" FROM table_67331 WHERE "2010" = '2,903,000' | [
10919,
318,
262,
12759,
329,
3050,
3227,
286,
362,
11,
24,
3070,
11,
830,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
3134,
31697,
33411,
366,
10333,
1,
796,
705,
17,
11,
24,
3070,
11,
830,
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
] | [
10919,
318,
262,
12759,
329,
3050,
3227,
286,
362,
11,
24,
3070,
11,
830,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
3134,
31697,
33411,
366,
10333,
1,
796,
705,
17,
11,
24,
3070,
11,
830,
6
] |
When was the game played against Norway with a result of 1:0? | SELECT date FROM table_name_7 WHERE opponent = "norway" AND results¹ = "1:0" | [
2215,
373,
262,
983,
2826,
1028,
15238,
351,
257,
1255,
286,
352,
25,
15,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
22,
33411,
6125,
796,
366,
13099,
1014,
1,
5357,
2482,
126,
117,
796,
366,
16,
25,
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
] | [
2215,
373,
262,
983,
2826,
1028,
15238,
351,
257,
1255,
286,
352,
25,
15,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
22,
33411,
6125,
796,
366,
13099,
1014,
1,
5357,
2482,
126,
117,
796,
366,
16,
25,
15,
1
] |
give me the number of patients whose ethnicity is black/african american and year of birth is less than 2074? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.dob_year < "2074" | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4524,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4524,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... |
During what period did Dell Curry play for Toronto? | SELECT years_in_toronto FROM table_10015132_3 WHERE player = "Dell Curry" | [
7191,
644,
2278,
750,
23617,
20920,
711,
329,
6586,
30,
46506,
812,
62,
259,
62,
13165,
5957,
16034,
3084,
62,
3064,
1314,
19924,
62,
18,
33411,
2137,
796,
366,
35,
695,
20920,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
2278,
750,
23617,
20920,
711,
329,
6586,
30,
46506,
812,
62,
259,
62,
13165,
5957,
16034,
3084,
62,
3064,
1314,
19924,
62,
18,
33411,
2137,
796,
366,
35,
695,
20920,
1
] |
Which city is in Cantabria? | SELECT "City" FROM table_62162 WHERE "Province" = 'cantabria' | [
13828,
1748,
318,
287,
16821,
397,
7496,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
5237,
25061,
33411,
366,
15946,
924,
1,
796,
705,
66,
415,
397,
7496,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1748,
318,
287,
16821,
397,
7496,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
5237,
25061,
33411,
366,
15946,
924,
1,
796,
705,
66,
415,
397,
7496,
6
] |
what's the losing bonus with played being 22 and tries against being 38 | SELECT "Losing bonus" FROM table_19037 WHERE "Played" = '22' AND "Tries against" = '38' | [
10919,
338,
262,
6078,
7202,
351,
2826,
852,
2534,
290,
8404,
1028,
852,
4353,
46506,
366,
43,
2752,
7202,
1,
16034,
3084,
62,
19782,
2718,
33411,
366,
11002,
276,
1,
796,
705,
1828,
6,
5357,
366,
51,
1678,
1028,
1,
796,
705,
2548,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
6078,
7202,
351,
2826,
852,
2534,
290,
8404,
1028,
852,
4353,
46506,
366,
43,
2752,
7202,
1,
16034,
3084,
62,
19782,
2718,
33411,
366,
11002,
276,
1,
796,
705,
1828,
6,
5357,
366,
51,
1678,
1028,
1,
796,
705,
2548,
... |
What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue? | SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu" | [
2061,
3128,
468,
257,
5449,
286,
2321,
6580,
66,
4427,
6508,
11,
290,
288,
42391,
776,
28077,
292,
6081,
10308,
11,
479,
776,
22249,
84,
355,
262,
14359,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3980,
33411,
5449,
796,
366,
6999,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
468,
257,
5449,
286,
2321,
6580,
66,
4427,
6508,
11,
290,
288,
42391,
776,
28077,
292,
6081,
10308,
11,
479,
776,
22249,
84,
355,
262,
14359,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3980,
33411,
5449,
796,
366,
6999,
... |
What are the number of runners up for Royal School Dungannon? | SELECT "Runners-Up" FROM table_4088 WHERE "School" = 'Royal School Dungannon' | [
2061,
389,
262,
1271,
286,
19323,
510,
329,
8111,
3961,
5648,
1030,
13159,
30,
46506,
366,
10987,
2741,
12,
4933,
1,
16034,
3084,
62,
1821,
3459,
33411,
366,
26130,
1,
796,
705,
41861,
3961,
5648,
1030,
13159,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1271,
286,
19323,
510,
329,
8111,
3961,
5648,
1030,
13159,
30,
46506,
366,
10987,
2741,
12,
4933,
1,
16034,
3084,
62,
1821,
3459,
33411,
366,
26130,
1,
796,
705,
41861,
3961,
5648,
1030,
13159,
6
] |
What are the number of the completion dates of all the tests that have result 'Fail'?, rank by the bar in asc. | SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" GROUP BY date_of_completion ORDER BY date_of_completion | [
2061,
389,
262,
1271,
286,
262,
11939,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
39044,
6,
21747,
4279,
416,
262,
2318,
287,
10570,
13,
46506,
3128,
62,
1659,
62,
785,
24547,
11,
327,
28270,
7,
4475,
62,
1659,
62,
785,
24547,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
1271,
286,
262,
11939,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
39044,
6,
21747,
4279,
416,
262,
2318,
287,
10570,
13,
46506,
3128,
62,
1659,
62,
785,
24547,
11,
327,
28270,
7,
4475,
62,
1659,
62,
785,
24547,
... |
how much is the cheapest flight from DENVER to PITTSBURGH with a stop in ATLANTA | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, fare, flight, flight_fare, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU... | [
4919,
881,
318,
262,
28918,
5474,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
351,
257,
2245,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
28918,
5474,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
351,
257,
2245,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... |
In 1981 which team picked overall 148? | SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148" | [
818,
14745,
543,
1074,
6497,
4045,
22613,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
23,
33411,
614,
796,
14745,
5357,
4045,
62,
27729,
796,
366,
18294,
1
] | [
1,
1,
1,
1,
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,
14745,
543,
1074,
6497,
4045,
22613,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
23,
33411,
614,
796,
14745,
5357,
4045,
62,
27729,
796,
366,
18294,
1
] |
Tell me the sum of cap/hor for double chair and vertical less than 479 | SELECT SUM(cap_hour) FROM table_name_8 WHERE type = "double chair" AND vertical < 479 | [
24446,
502,
262,
2160,
286,
1451,
14,
17899,
329,
4274,
5118,
290,
11723,
1342,
621,
604,
3720,
46506,
35683,
7,
11128,
62,
9769,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
2099,
796,
366,
23352,
5118,
1,
5357,
11723,
1279,
604,
3720
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
1451,
14,
17899,
329,
4274,
5118,
290,
11723,
1342,
621,
604,
3720,
46506,
35683,
7,
11128,
62,
9769,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
2099,
796,
366,
23352,
5118,
1,
5357,
11723,
1279,
604,
3720
] |
Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue number(s) of eredv711? | SELECT label FROM table_name_61 WHERE country = "united kingdom" AND date = "22 september 2008" AND catalogue_number_s_ = "eredv711" | [
13828,
36052,
468,
257,
12946,
286,
16503,
13239,
11,
257,
7536,
286,
2534,
384,
457,
1491,
3648,
11,
290,
257,
16758,
5119,
1271,
7,
82,
8,
286,
304,
445,
85,
22,
1157,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
5333,
33411,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
36052,
468,
257,
12946,
286,
16503,
13239,
11,
257,
7536,
286,
2534,
384,
457,
1491,
3648,
11,
290,
257,
16758,
5119,
1271,
7,
82,
8,
286,
304,
445,
85,
22,
1157,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
5333,
33411,
1499,... |
What's the number of users in the Nisibon-Yuma within the Del Este district? | SELECT "Users (#)" FROM table_2212 WHERE "Irrigation District" = 'Del Este' AND "Juntas de Regantes (WUB)" = 'Nisibon-Yuma' | [
2061,
338,
262,
1271,
286,
2985,
287,
262,
399,
271,
571,
261,
12,
56,
7487,
1626,
262,
4216,
412,
4169,
4783,
30,
46506,
366,
14490,
17426,
16725,
16034,
3084,
62,
1828,
1065,
33411,
366,
23820,
4359,
341,
5665,
1,
796,
705,
13856,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
2985,
287,
262,
399,
271,
571,
261,
12,
56,
7487,
1626,
262,
4216,
412,
4169,
4783,
30,
46506,
366,
14490,
17426,
16725,
16034,
3084,
62,
1828,
1065,
33411,
366,
23820,
4359,
341,
5665,
1,
796,
705,
13856,
... |
Which position is the highest to have less than 54 goals, a loss of 7 and a goal difference higher than 23? | SELECT MAX(position) FROM table_name_9 WHERE goals_against < 54 AND losses = 7 AND goal_difference > 23 | [
13828,
2292,
318,
262,
4511,
284,
423,
1342,
621,
7175,
4661,
11,
257,
2994,
286,
767,
290,
257,
3061,
3580,
2440,
621,
2242,
30,
46506,
25882,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
4661,
62,
32826,
1279,
7175,
5357,
908... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
318,
262,
4511,
284,
423,
1342,
621,
7175,
4661,
11,
257,
2994,
286,
767,
290,
257,
3061,
3580,
2440,
621,
2242,
30,
46506,
25882,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
4661,
62,
32826,
1279,
7175,
5357,
908... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.