instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Number of question and answers in SO. | SELECT p.PostTypeId, p.Body FROM Posts AS p WHERE p.PostTypeId IN (1, 2) | [
15057,
286,
1808,
290,
7429,
287,
12809,
13,
46506,
279,
13,
6307,
6030,
7390,
11,
279,
13,
25842,
16034,
12043,
7054,
279,
33411,
279,
13,
6307,
6030,
7390,
3268,
357,
16,
11,
362,
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
] | [
15057,
286,
1808,
290,
7429,
287,
12809,
13,
46506,
279,
13,
6307,
6030,
7390,
11,
279,
13,
25842,
16034,
12043,
7054,
279,
33411,
279,
13,
6307,
6030,
7390,
3268,
357,
16,
11,
362,
8
] |
what percent of slovenes did the village called ahor e in slovenian have in 1991? | SELECT "Percent of Slovenes 1991" FROM table_16309 WHERE "Village (Slovenian)" = 'Čahorče' | [
10919,
1411,
286,
1017,
16206,
274,
750,
262,
7404,
1444,
257,
17899,
304,
287,
1017,
16206,
666,
423,
287,
10249,
30,
46506,
366,
31905,
286,
30694,
274,
10249,
1,
16034,
3084,
62,
1433,
26895,
33411,
366,
42074,
496,
357,
50,
5439,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1411,
286,
1017,
16206,
274,
750,
262,
7404,
1444,
257,
17899,
304,
287,
1017,
16206,
666,
423,
287,
10249,
30,
46506,
366,
31905,
286,
30694,
274,
10249,
1,
16034,
3084,
62,
1433,
26895,
33411,
366,
42074,
496,
357,
50,
5439,
... |
What is the location when the high rebounds was from A. Horford (13)? | SELECT location_attendance FROM table_11961582_10 WHERE high_rebounds = "A. Horford (13)" | [
2061,
318,
262,
4067,
618,
262,
1029,
18841,
373,
422,
317,
13,
6075,
3841,
357,
1485,
19427,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
16315,
47007,
6469,
62,
940,
33411,
1029,
62,
34806,
3733,
796,
366,
32,
13,
6075,
3841,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
618,
262,
1029,
18841,
373,
422,
317,
13,
6075,
3841,
357,
1485,
19427,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
16315,
47007,
6469,
62,
940,
33411,
1029,
62,
34806,
3733,
796,
366,
32,
13,
6075,
3841,
... |
please list all flights on NW and UA that go to DENVER | SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE ((flight.airline_code = 'NW') OR (flight.airline_code = 'UA')) AND city.city_code = airport_service.city_code AND city.city_name = 'DENVER' AND flight.to_airport = airport_service.airport_code | [
29688,
1351,
477,
13956,
319,
21966,
290,
46164,
326,
467,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
14808,
22560,
13,
958,
1370,
62,
8189,
796,
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... | [
29688,
1351,
477,
13956,
319,
21966,
290,
46164,
326,
467,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
14808,
22560,
13,
958,
1370,
62,
8189,
796,
7... |
was normal the heart rate of patient 31482 since 09/08/2104? | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31482)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d... | [
9776,
3487,
262,
2612,
2494,
286,
5827,
34085,
6469,
1201,
7769,
14,
2919,
14,
17,
13464,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9776,
3487,
262,
2612,
2494,
286,
5827,
34085,
6469,
1201,
7769,
14,
2919,
14,
17,
13464,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
59... |
List the number of games for each away team and group by home team in a stacked bar chart. The x-axis is away team. | SELECT Away_team, COUNT(Away_team) FROM game GROUP BY Home_team, Away_team | [
8053,
262,
1271,
286,
1830,
329,
1123,
1497,
1074,
290,
1448,
416,
1363,
1074,
287,
257,
24167,
2318,
8262,
13,
383,
2124,
12,
22704,
318,
1497,
1074,
13,
46506,
21986,
62,
15097,
11,
327,
28270,
7,
32,
1014,
62,
15097,
8,
16034,
98... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
329,
1123,
1497,
1074,
290,
1448,
416,
1363,
1074,
287,
257,
24167,
2318,
8262,
13,
383,
2124,
12,
22704,
318,
1497,
1074,
13,
46506,
21986,
62,
15097,
11,
327,
28270,
7,
32,
1014,
62,
15097,
8,
16034,
98... |
What was the highest attendance on November 12, 1989? | SELECT MAX(attendance) FROM table_name_80 WHERE date = "november 12, 1989" | [
2061,
373,
262,
4511,
14858,
319,
3389,
1105,
11,
11104,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
3128,
796,
366,
77,
3239,
1105,
11,
11104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
319,
3389,
1105,
11,
11104,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
3128,
796,
366,
77,
3239,
1105,
11,
11104,
1
] |
what was Casey Martin's minimum yearly earnings? | SELECT MIN(earnings___) AS $__ FROM table_1697190_2 | [
10919,
373,
21097,
5780,
338,
5288,
24169,
12042,
30,
46506,
20625,
7,
451,
23400,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
1433,
5607,
19782,
62,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
21097,
5780,
338,
5288,
24169,
12042,
30,
46506,
20625,
7,
451,
23400,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
1433,
5607,
19782,
62,
17
] |
what is admission type and lab test name of subject id 2560? | SELECT demographic.admission_type, lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
13938,
2099,
290,
2248,
1332,
1438,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
2248,
13,
18242,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
290,
2248,
1332,
1438,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
2248,
13,
18242,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
... |
Does PHARMACY 694 have classes in the morning ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'PHARMACY' AND course.number = 694 AND semester.semester = 'WN' AND semester.semester_id = course... | [
13921,
9370,
33456,
43300,
718,
5824,
423,
6097,
287,
262,
3329,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1279,
705,
1065,
25,
405... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13921,
9370,
33456,
43300,
718,
5824,
423,
6097,
287,
262,
3329,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1279,
705,
1065,
25,
405... |
For all storms with at least 1 death, compare the number of deaths by name with a bar graph, and could you display from high to low by the Number_Deaths? | SELECT Name, Number_Deaths FROM storm WHERE Number_Deaths >= 1 ORDER BY Number_Deaths DESC | [
1890,
477,
20228,
351,
379,
1551,
352,
1918,
11,
8996,
262,
1271,
286,
7040,
416,
1438,
351,
257,
2318,
4823,
11,
290,
714,
345,
3359,
422,
1029,
284,
1877,
416,
262,
7913,
62,
20148,
82,
30,
46506,
6530,
11,
7913,
62,
20148,
82,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
20228,
351,
379,
1551,
352,
1918,
11,
8996,
262,
1271,
286,
7040,
416,
1438,
351,
257,
2318,
4823,
11,
290,
714,
345,
3359,
422,
1029,
284,
1877,
416,
262,
7913,
62,
20148,
82,
30,
46506,
6530,
11,
7913,
62,
20148,
82,
... |
What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? | SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5 | [
2061,
318,
262,
4279,
286,
257,
1499,
351,
517,
621,
362,
3869,
11,
1342,
621,
642,
8465,
11,
290,
1342,
621,
3261,
2472,
28057,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
3869,
1875,
362,
5357,
2472,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1499,
351,
517,
621,
362,
3869,
11,
1342,
621,
642,
8465,
11,
290,
1342,
621,
3261,
2472,
28057,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
3869,
1875,
362,
5357,
2472,
127... |
what are the top five most common procedures in 2102? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE STRFTIME('%y', procedures_icd.charttime) = '2102' GROUP BY procedures_icd.icd9_code) AS t1 ... | [
10919,
389,
262,
1353,
1936,
749,
2219,
9021,
287,
362,
15377,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
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... | [
10919,
389,
262,
1353,
1936,
749,
2219,
9021,
287,
362,
15377,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
2... |
tell me the writer of production code ad1d09. | SELECT "Written by" FROM table_51868 WHERE "Production code" = 'ad1d09' | [
33331,
502,
262,
6260,
286,
3227,
2438,
512,
16,
67,
2931,
13,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
44085,
3104,
33411,
366,
35027,
2438,
1,
796,
705,
324,
16,
67,
2931,
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
] | [
33331,
502,
262,
6260,
286,
3227,
2438,
512,
16,
67,
2931,
13,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
44085,
3104,
33411,
366,
35027,
2438,
1,
796,
705,
324,
16,
67,
2931,
6
] |
what was the first time patient 027-73025 during their last hospital encounter received a lab test? | 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 = '027-73025' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitala... | [
10919,
373,
262,
717,
640,
5827,
657,
1983,
12,
43916,
1495,
1141,
511,
938,
4436,
8791,
2722,
257,
2248,
1332,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
717,
640,
5827,
657,
1983,
12,
43916,
1495,
1141,
511,
938,
4436,
8791,
2722,
257,
2248,
1332,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,... |
Name the least decile for state authority and area of eketahuna with roll more than 44 | SELECT MIN("Decile") FROM table_66981 WHERE "Authority" = 'state' AND "Area" = 'eketahuna' AND "Roll" > '44' | [
5376,
262,
1551,
875,
576,
329,
1181,
4934,
290,
1989,
286,
304,
7126,
993,
9613,
351,
4836,
517,
621,
5846,
46506,
20625,
7203,
10707,
576,
4943,
16034,
3084,
62,
2791,
4089,
16,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1551,
875,
576,
329,
1181,
4934,
290,
1989,
286,
304,
7126,
993,
9613,
351,
4836,
517,
621,
5846,
46506,
20625,
7203,
10707,
576,
4943,
16034,
3084,
62,
2791,
4089,
16,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
... |
What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation? | SELECT "Rank" FROM table_63029 WHERE "Gold" > '0' AND "Bronze" = '0' AND "Nation" = 'germany (ger)' | [
2061,
4279,
468,
257,
3869,
3744,
621,
657,
11,
657,
355,
262,
22101,
11,
351,
308,
2224,
88,
357,
1362,
8,
355,
262,
3277,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
30005,
1959,
33411,
366,
13306,
1,
1875,
705,
15,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4279,
468,
257,
3869,
3744,
621,
657,
11,
657,
355,
262,
22101,
11,
351,
308,
2224,
88,
357,
1362,
8,
355,
262,
3277,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
30005,
1959,
33411,
366,
13306,
1,
1875,
705,
15,
6,
5357,
366,... |
Find meter_200 and the average of ID , and group by attribute meter_200, and visualize them by a bar chart, display from low to high by the X-axis. | SELECT meter_200, AVG(ID) FROM swimmer GROUP BY meter_200 ORDER BY meter_200 | [
16742,
16430,
62,
2167,
290,
262,
2811,
286,
4522,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
422,
1877,
284,
1029,
416,
262,
1395,
12,
22704,
13,
46506,
16430,
62,
2167,
11,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
16430,
62,
2167,
290,
262,
2811,
286,
4522,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
422,
1877,
284,
1029,
416,
262,
1395,
12,
22704,
13,
46506,
16430,
62,
2167,
11,
35... |
Create a bar chart showing maximal revenue across name | SELECT Name, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter | [
16447,
257,
2318,
8262,
4478,
40708,
6426,
1973,
1438,
46506,
6530,
11,
25882,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
7123,
24385
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
40708,
6426,
1973,
1438,
46506,
6530,
11,
25882,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
7123,
24385
] |
Give me the comparison about the sum of meter_100 over the meter_200 , and group by attribute meter_200 by a bar chart, list x-axis in descending order. | SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200 ORDER BY meter_200 DESC | [
23318,
502,
262,
7208,
546,
262,
2160,
286,
16430,
62,
3064,
625,
262,
16430,
62,
2167,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
416,
257,
2318,
8262,
11,
1351,
2124,
12,
22704,
287,
31491,
1502,
13,
46506,
16430,
62,
2167,
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
] | [
23318,
502,
262,
7208,
546,
262,
2160,
286,
16430,
62,
3064,
625,
262,
16430,
62,
2167,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
416,
257,
2318,
8262,
11,
1351,
2124,
12,
22704,
287,
31491,
1502,
13,
46506,
16430,
62,
2167,
11,
... |
what is age and death status of subject name estrella carroll? | SELECT demographic.age, demographic.expire_flag FROM demographic WHERE demographic.name = "Estrella Carroll" | [
10919,
318,
2479,
290,
1918,
3722,
286,
2426,
1438,
1556,
20481,
1097,
2487,
30,
46506,
16728,
13,
496,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
22362,
20481,
21298,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
290,
1918,
3722,
286,
2426,
1438,
1556,
20481,
1097,
2487,
30,
46506,
16728,
13,
496,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
22362,
20481,
21298,
1
] |
What race is on aug 4 with ron fellows? | SELECT "Race Title" FROM table_53968 WHERE "Drivers" = 'ron fellows' AND "Date" = 'aug 4' | [
2061,
3234,
318,
319,
16339,
604,
351,
374,
261,
36627,
30,
46506,
366,
35157,
11851,
1,
16034,
3084,
62,
20,
2670,
3104,
33411,
366,
20564,
690,
1,
796,
705,
1313,
36627,
6,
5357,
366,
10430,
1,
796,
705,
7493,
604,
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,
3234,
318,
319,
16339,
604,
351,
374,
261,
36627,
30,
46506,
366,
35157,
11851,
1,
16034,
3084,
62,
20,
2670,
3104,
33411,
366,
20564,
690,
1,
796,
705,
1313,
36627,
6,
5357,
366,
10430,
1,
796,
705,
7493,
604,
6
] |
how many patients whose marital status is divorced 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.marital_status = "DIVORCED" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
3025,
29555,
3722,
318,
25107,
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,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
29555,
3722,
318,
25107,
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,
18108,
... |
descibe the diagnoses of subject id 3343. | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "3343" | [
20147,
32438,
262,
40567,
286,
2426,
4686,
513,
32118,
13,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20147,
32438,
262,
40567,
286,
2426,
4686,
513,
32118,
13,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] |
how many patients whose death status is 1 and age is less than 43? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.age < "43" | [
4919,
867,
3871,
3025,
1918,
3722,
318,
352,
290,
2479,
318,
1342,
621,
5946,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
16,
1,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
1918,
3722,
318,
352,
290,
2479,
318,
1342,
621,
5946,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
16,
1,
5357... |
count the number of times patient 4288 had been prescribed azathioprine sodium since 1 year ago? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4288) AND prescriptions.drug = 'azathioprine sodium' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-1 year') | [
9127,
262,
1271,
286,
1661,
5827,
604,
25270,
550,
587,
14798,
35560,
776,
14922,
7640,
21072,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
1661,
5827,
604,
25270,
550,
587,
14798,
35560,
776,
14922,
7640,
21072,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108... |
What year was the League of malaysian super league, and the Position was 10/14? | SELECT "Year" FROM table_68261 WHERE "League" = 'malaysian super league' AND "Position" = '10/14' | [
2061,
614,
373,
262,
4041,
286,
6428,
592,
666,
2208,
4652,
11,
290,
262,
23158,
373,
838,
14,
1415,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3104,
30057,
33411,
366,
24623,
1,
796,
705,
7617,
592,
666,
2208,
4652,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
4041,
286,
6428,
592,
666,
2208,
4652,
11,
290,
262,
23158,
373,
838,
14,
1415,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3104,
30057,
33411,
366,
24623,
1,
796,
705,
7617,
592,
666,
2208,
4652,
6,
5357,
366,
... |
What is the least amount of points? | SELECT MIN("Points") FROM table_74134 | [
2061,
318,
262,
1551,
2033,
286,
2173,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
4524,
19880
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1551,
2033,
286,
2173,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
4524,
19880
] |
What is the highest Jews and others 1? | SELECT MAX("Jews and others 1") FROM table_28191 | [
2061,
318,
262,
4511,
6771,
290,
1854,
352,
30,
46506,
25882,
7203,
47415,
290,
1854,
352,
4943,
16034,
3084,
62,
2078,
26492
] | [
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,
6771,
290,
1854,
352,
30,
46506,
25882,
7203,
47415,
290,
1854,
352,
4943,
16034,
3084,
62,
2078,
26492
] |
Name the number of high rebounds for april 21 | SELECT COUNT("High rebounds") FROM table_1729 WHERE "Date" = 'April 21' | [
5376,
262,
1271,
286,
1029,
18841,
329,
46593,
346,
2310,
46506,
327,
28270,
7203,
11922,
18841,
4943,
16034,
3084,
62,
1558,
1959,
33411,
366,
10430,
1,
796,
705,
16784,
2310,
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
] | [
5376,
262,
1271,
286,
1029,
18841,
329,
46593,
346,
2310,
46506,
327,
28270,
7203,
11922,
18841,
4943,
16034,
3084,
62,
1558,
1959,
33411,
366,
10430,
1,
796,
705,
16784,
2310,
6
] |
What is the Date of the game when the Record is 32 31 6? | SELECT "Date" FROM table_61635 WHERE "Record" = '32–31–6' | [
2061,
318,
262,
7536,
286,
262,
983,
618,
262,
13266,
318,
3933,
3261,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
44214,
2327,
33411,
366,
23739,
1,
796,
705,
2624,
1906,
3132,
1906,
21,
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
] | [
2061,
318,
262,
7536,
286,
262,
983,
618,
262,
13266,
318,
3933,
3261,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
44214,
2327,
33411,
366,
23739,
1,
796,
705,
2624,
1906,
3132,
1906,
21,
6
] |
Which team had the attendance of 16,468 and lost? | SELECT loss FROM table_name_61 WHERE attendance = "16,468" | [
13828,
1074,
550,
262,
14858,
286,
1467,
11,
38472,
290,
2626,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
5333,
33411,
14858,
796,
366,
1433,
11,
38472,
1
] | [
1,
1,
1,
1,
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,
550,
262,
14858,
286,
1467,
11,
38472,
290,
2626,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
5333,
33411,
14858,
796,
366,
1433,
11,
38472,
1
] |
How many dates did David Savage get man of the match? | SELECT COUNT("Date") FROM table_21355 WHERE "Man of the Match" = 'David Savage' | [
2437,
867,
9667,
750,
3271,
22287,
651,
582,
286,
262,
2872,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
26427,
2816,
33411,
366,
5124,
286,
262,
13225,
1,
796,
705,
11006,
22287,
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
] | [
2437,
867,
9667,
750,
3271,
22287,
651,
582,
286,
262,
2872,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
26427,
2816,
33411,
366,
5124,
286,
262,
13225,
1,
796,
705,
11006,
22287,
6
] |
in a year before, what were the four most frequent drugs that were prescribed to patients during the same month after being diagnosed with meth sus pneum d/t staph? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
259,
257,
614,
878,
11,
644,
547,
262,
1440,
749,
10792,
5010,
326,
547,
14798,
284,
3871,
1141,
262,
976,
1227,
706,
852,
14641,
351,
11248,
2341,
29631,
288,
14,
83,
336,
6570,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
614,
878,
11,
644,
547,
262,
1440,
749,
10792,
5010,
326,
547,
14798,
284,
3871,
1141,
262,
976,
1227,
706,
852,
14641,
351,
11248,
2341,
29631,
288,
14,
83,
336,
6570,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256... |
What is the largest crowd when the away team is Hawthorn? | SELECT MAX(crowd) FROM table_name_49 WHERE away_team = "hawthorn" | [
2061,
318,
262,
4387,
4315,
618,
262,
1497,
1074,
318,
41457,
1211,
30,
46506,
25882,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
1497,
62,
15097,
796,
366,
26615,
400,
1211,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4315,
618,
262,
1497,
1074,
318,
41457,
1211,
30,
46506,
25882,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
1497,
62,
15097,
796,
366,
26615,
400,
1211,
1
] |
Who was the Coat of Cash Wearing Celebrity in Episode 6? | SELECT coat_of_cash_wearing_celebrity FROM table_name_81 WHERE episode_number = 6 | [
8241,
373,
262,
39326,
286,
16210,
370,
6648,
46289,
287,
7922,
718,
30,
46506,
13209,
62,
1659,
62,
30350,
62,
86,
6648,
62,
49840,
1671,
414,
16034,
3084,
62,
3672,
62,
6659,
33411,
4471,
62,
17618,
796,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
39326,
286,
16210,
370,
6648,
46289,
287,
7922,
718,
30,
46506,
13209,
62,
1659,
62,
30350,
62,
86,
6648,
62,
49840,
1671,
414,
16034,
3084,
62,
3672,
62,
6659,
33411,
4471,
62,
17618,
796,
718
] |
Name the realization for phoneme of /i/ and example of /id a/ | SELECT realization FROM table_name_5 WHERE phoneme = "/i/" AND example = "/idːa/" | [
5376,
262,
23258,
329,
32896,
34755,
286,
1220,
72,
14,
290,
1672,
286,
1220,
312,
257,
14,
46506,
23258,
16034,
3084,
62,
3672,
62,
20,
33411,
32896,
34755,
796,
12813,
72,
30487,
5357,
1672,
796,
12813,
312,
135,
238,
64,
30487
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23258,
329,
32896,
34755,
286,
1220,
72,
14,
290,
1672,
286,
1220,
312,
257,
14,
46506,
23258,
16034,
3084,
62,
3672,
62,
20,
33411,
32896,
34755,
796,
12813,
72,
30487,
5357,
1672,
796,
12813,
312,
135,
238,
64,
30487
] |
What is the total number of the crowd at Glenferrie Oval? | SELECT COUNT("Crowd") FROM table_33559 WHERE "Venue" = 'glenferrie oval' | [
2061,
318,
262,
2472,
1271,
286,
262,
4315,
379,
20716,
2232,
5034,
25165,
30,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
2091,
38605,
33411,
366,
37522,
518,
1,
796,
705,
4743,
268,
2232,
5034,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
262,
4315,
379,
20716,
2232,
5034,
25165,
30,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
2091,
38605,
33411,
366,
37522,
518,
1,
796,
705,
4743,
268,
2232,
5034,
41186,
6
] |
What college did delray brooks go to? | SELECT college FROM table_name_23 WHERE player = "delray brooks" | [
2061,
4152,
750,
1619,
2433,
1379,
28194,
467,
284,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1954,
33411,
2137,
796,
366,
12381,
2433,
1379,
28194,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4152,
750,
1619,
2433,
1379,
28194,
467,
284,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1954,
33411,
2137,
796,
366,
12381,
2433,
1379,
28194,
1
] |
What is the Country, when Place is T6, and when Player is 'Raymond Floyd'? | SELECT country FROM table_name_3 WHERE place = "t6" AND player = "raymond floyd" | [
2061,
318,
262,
12946,
11,
618,
8474,
318,
309,
21,
11,
290,
618,
7853,
318,
705,
19591,
6327,
21150,
30960,
46506,
1499,
16034,
3084,
62,
3672,
62,
18,
33411,
1295,
796,
366,
83,
21,
1,
5357,
2137,
796,
366,
2433,
6327,
781,
12192,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12946,
11,
618,
8474,
318,
309,
21,
11,
290,
618,
7853,
318,
705,
19591,
6327,
21150,
30960,
46506,
1499,
16034,
3084,
62,
3672,
62,
18,
33411,
1295,
796,
366,
83,
21,
1,
5357,
2137,
796,
366,
2433,
6327,
781,
12192,... |
What is the record of game 42, which had a clemmensen decision? | SELECT "Record" FROM table_44824 WHERE "Decision" = 'clemmensen' AND "Game" = '42' | [
2061,
318,
262,
1700,
286,
983,
5433,
11,
543,
550,
257,
1190,
3020,
18756,
2551,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
31115,
1731,
33411,
366,
10707,
1166,
1,
796,
705,
2375,
3020,
18756,
6,
5357,
366,
8777,
1,
796,
705,
3682... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
286,
983,
5433,
11,
543,
550,
257,
1190,
3020,
18756,
2551,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
31115,
1731,
33411,
366,
10707,
1166,
1,
796,
705,
2375,
3020,
18756,
6,
5357,
366,
8777,
1,
796,
705,
3682... |
tell me the number of female patients who had other persistent mental disorders due to conditions classified elsewhere diagnoses. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Mental disor NEC oth dis" | [
33331,
502,
262,
1271,
286,
4048,
3871,
508,
550,
584,
16218,
5110,
11916,
2233,
284,
3403,
10090,
8057,
40567,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4048,
3871,
508,
550,
584,
16218,
5110,
11916,
2233,
284,
3403,
10090,
8057,
40567,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,... |
Which is the opponent when the record was 43-56? | SELECT opponent FROM table_name_12 WHERE record = "43-56" | [
13828,
318,
262,
6125,
618,
262,
1700,
373,
5946,
12,
3980,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1065,
33411,
1700,
796,
366,
3559,
12,
3980,
1
] | [
1,
1,
1,
1,
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,
318,
262,
6125,
618,
262,
1700,
373,
5946,
12,
3980,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1065,
33411,
1700,
796,
366,
3559,
12,
3980,
1
] |
Name the high points for l 110 112 (ot) | SELECT high_points FROM table_27733258_6 WHERE score = "L 110–112 (OT)" | [
5376,
262,
1029,
2173,
329,
300,
9796,
13539,
357,
313,
8,
46506,
1029,
62,
13033,
16034,
3084,
62,
27019,
2091,
25600,
62,
21,
33411,
4776,
796,
366,
43,
9796,
1906,
14686,
357,
2394,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1029,
2173,
329,
300,
9796,
13539,
357,
313,
8,
46506,
1029,
62,
13033,
16034,
3084,
62,
27019,
2091,
25600,
62,
21,
33411,
4776,
796,
366,
43,
9796,
1906,
14686,
357,
2394,
16725
] |
What was the nationality of the ship named Toward? | SELECT "Nationality" FROM table_13733 WHERE "Ship" = 'toward' | [
2061,
373,
262,
29835,
286,
262,
4074,
3706,
24324,
446,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
19708,
2091,
33411,
366,
25586,
1,
796,
705,
83,
46138,
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,
373,
262,
29835,
286,
262,
4074,
3706,
24324,
446,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
19708,
2091,
33411,
366,
25586,
1,
796,
705,
83,
46138,
6
] |
On what surface was the opponent Michael Berrer? | SELECT surface FROM table_name_15 WHERE opponent = "michael berrer" | [
2202,
644,
4417,
373,
262,
6125,
3899,
4312,
11751,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
76,
40302,
18157,
11751,
1
] | [
1,
1,
1,
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,
644,
4417,
373,
262,
6125,
3899,
4312,
11751,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
76,
40302,
18157,
11751,
1
] |
What is the 0-100km/h (62mph) of the supercharged 5.4l v8 engine? | SELECT 0 AS _100km_h__62mph_ FROM table_name_20 WHERE engine = "supercharged 5.4l v8" | [
2061,
318,
262,
657,
12,
3064,
13276,
14,
71,
357,
5237,
23335,
8,
286,
262,
2208,
17200,
642,
13,
19,
75,
410,
23,
3113,
30,
46506,
657,
7054,
4808,
3064,
13276,
62,
71,
834,
5237,
23335,
62,
16034,
3084,
62,
3672,
62,
1238,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
657,
12,
3064,
13276,
14,
71,
357,
5237,
23335,
8,
286,
262,
2208,
17200,
642,
13,
19,
75,
410,
23,
3113,
30,
46506,
657,
7054,
4808,
3064,
13276,
62,
71,
834,
5237,
23335,
62,
16034,
3084,
62,
3672,
62,
1238,
3341... |
Who was the colour commentator when the play-by-play announcer was Bob Cole? | SELECT colour_commentator_s_ FROM table_name_58 WHERE play_by_play = "bob cole" | [
8241,
373,
262,
9568,
28823,
618,
262,
711,
12,
1525,
12,
1759,
49032,
373,
5811,
11768,
30,
46506,
9568,
62,
23893,
1352,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3365,
33411,
711,
62,
1525,
62,
1759,
796,
366,
65,
672,
763,
293,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9568,
28823,
618,
262,
711,
12,
1525,
12,
1759,
49032,
373,
5811,
11768,
30,
46506,
9568,
62,
23893,
1352,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3365,
33411,
711,
62,
1525,
62,
1759,
796,
366,
65,
672,
763,
293,
1... |
For Spring 2000 , will GEOSCI 321 be available ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'GEOSCI' AND course.number = 321 AND semester.semester = 'Spring' AND semester.semester_id = course_offering.semester AND semester.year = 2000 | [
1890,
8225,
4751,
837,
481,
22319,
2640,
25690,
39595,
307,
1695,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
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... | [
1890,
8225,
4751,
837,
481,
22319,
2640,
25690,
39595,
307,
1695,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
6... |
Show the number of card types. | SELECT COUNT(DISTINCT card_type_code) FROM Customers_Cards | [
15307,
262,
1271,
286,
2657,
3858,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2657,
62,
4906,
62,
8189,
8,
16034,
36707,
62,
34,
1371
] | [
1,
1,
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,
2657,
3858,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2657,
62,
4906,
62,
8189,
8,
16034,
36707,
62,
34,
1371
] |
Downvotes on posts containing 'aple' for a user. | SELECT COUNT(*) AS NumPosts FROM Posts WHERE Posts.PostTypeId = 2 AND Posts.OwnerUserId = @UserId AND Posts.Body LIKE '%aple%' | [
8048,
29307,
319,
6851,
7268,
705,
24052,
6,
329,
257,
2836,
13,
46506,
327,
28270,
7,
28104,
7054,
31835,
21496,
16034,
12043,
33411,
12043,
13,
6307,
6030,
7390,
796,
362,
5357,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8048,
29307,
319,
6851,
7268,
705,
24052,
6,
329,
257,
2836,
13,
46506,
327,
28270,
7,
28104,
7054,
31835,
21496,
16034,
12043,
33411,
12043,
13,
6307,
6030,
7390,
796,
362,
5357,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390,
5... |
Which model number has socket pga2 bga2 mmc-2? | SELECT model_number FROM table_name_46 WHERE socket = "μpga2 bga2 mmc-2" | [
13828,
2746,
1271,
468,
17802,
279,
4908,
17,
275,
4908,
17,
8085,
66,
12,
17,
30,
46506,
2746,
62,
17618,
16034,
3084,
62,
3672,
62,
3510,
33411,
17802,
796,
366,
34703,
79,
4908,
17,
275,
4908,
17,
8085,
66,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2746,
1271,
468,
17802,
279,
4908,
17,
275,
4908,
17,
8085,
66,
12,
17,
30,
46506,
2746,
62,
17618,
16034,
3084,
62,
3672,
62,
3510,
33411,
17802,
796,
366,
34703,
79,
4908,
17,
275,
4908,
17,
8085,
66,
12,
17,
1
] |
provide the number of patients whose days of hospital stay is greater than 29 and drug name is lorazepam? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "29" AND prescriptions.drug = "Lorazepam" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2808,
290,
2563,
1438,
318,
300,
273,
1031,
538,
321,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2808,
290,
2563,
1438,
318,
300,
273,
1031,
538,
321,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, list in descending by the Y-axis. | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY COUNT(JOB_ID) DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
1351,
287... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
1351,
287... |
how many patients are diagnosed with primary disease chest pain and stayed in hospital for more than 1 day? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CHEST PAIN" AND demographic.days_stay > "1" | [
4919,
867,
3871,
389,
14641,
351,
4165,
4369,
7721,
2356,
290,
9658,
287,
4436,
329,
517,
621,
352,
1110,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
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
] | [
4919,
867,
3871,
389,
14641,
351,
4165,
4369,
7721,
2356,
290,
9658,
287,
4436,
329,
517,
621,
352,
1110,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
... |
What grid has an average time of +22.505 and laps larger than 23? | SELECT AVG("Grid") FROM table_5279 WHERE "Time" = '+22.505' AND "Laps" > '23' | [
2061,
10706,
468,
281,
2811,
640,
286,
1343,
1828,
13,
31654,
290,
24590,
4025,
621,
2242,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
20,
26050,
33411,
366,
7575,
1,
796,
705,
10,
1828,
13,
31654,
6,
5357,
366,
43,
1686,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10706,
468,
281,
2811,
640,
286,
1343,
1828,
13,
31654,
290,
24590,
4025,
621,
2242,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
20,
26050,
33411,
366,
7575,
1,
796,
705,
10,
1828,
13,
31654,
6,
5357,
366,
43,
1686,
... |
provide the number of patients whose ethnicity is white - russian and year of birth is less than 2101? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.dob_year < "2101" | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
614,
286,
4082,
318,
1342,
621,
2310,
486,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
614,
286,
4082,
318,
1342,
621,
2310,
486,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
... |
Name the partner for mark woodforde martina navratilova | SELECT "Partner" FROM table_20110 WHERE "Opponents" = 'Mark Woodforde Martina Navratilova' | [
5376,
262,
5212,
329,
1317,
4898,
3841,
68,
11277,
1437,
6812,
10366,
346,
10071,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
1264,
940,
33411,
366,
27524,
3906,
1,
796,
705,
9704,
5326,
3841,
68,
3981,
1437,
13244,
10366,
346,
10071,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5212,
329,
1317,
4898,
3841,
68,
11277,
1437,
6812,
10366,
346,
10071,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
1264,
940,
33411,
366,
27524,
3906,
1,
796,
705,
9704,
5326,
3841,
68,
3981,
1437,
13244,
10366,
346,
10071,
... |
Show the number of accounts opened in each day Bin the account open day by weekday in a bar chart, and could you display Y-axis in descending order? | SELECT date_account_opened, COUNT(date_account_opened) FROM Accounts ORDER BY COUNT(date_account_opened) DESC | [
15307,
262,
1271,
286,
5504,
4721,
287,
1123,
1110,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
11,
290,
714,
345,
3359,
575,
12,
22704,
287,
31491,
1502,
30,
46506,
3128,
62,
23317,
62,
26350,
11,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
5504,
4721,
287,
1123,
1110,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
11,
290,
714,
345,
3359,
575,
12,
22704,
287,
31491,
1502,
30,
46506,
3128,
62,
23317,
62,
26350,
11,
327,
28270,
7,
... |
how many emergency hospital admission patients were injected or infused platelet inhibitors? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Injection or infusion of platelet inhibitor" | [
4919,
867,
6334,
4436,
13938,
3871,
547,
25077,
393,
37681,
7480,
1616,
40272,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6334,
4436,
13938,
3871,
547,
25077,
393,
37681,
7480,
1616,
40272,
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,
... |
What is the name of the episode written by Ross Brown? | SELECT "Title" FROM table_3107 WHERE "Written by" = 'Ross Brown' | [
2061,
318,
262,
1438,
286,
262,
4471,
3194,
416,
9847,
4373,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
18,
15982,
33411,
366,
25354,
416,
1,
796,
705,
38328,
4373,
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,
1438,
286,
262,
4471,
3194,
416,
9847,
4373,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
18,
15982,
33411,
366,
25354,
416,
1,
796,
705,
38328,
4373,
6
] |
What is the Height of the Canterbury House with 12 Floors and a Rank of 75=? | SELECT AVG("Height (ft)") FROM table_45394 WHERE "Floors" = '12' AND "Rank" = '75=' AND "Name" = 'canterbury house' | [
2061,
318,
262,
27280,
286,
262,
43581,
2097,
351,
1105,
29075,
669,
290,
257,
10916,
286,
5441,
28,
30,
46506,
35224,
7203,
23106,
357,
701,
8,
4943,
16034,
3084,
62,
2231,
34626,
33411,
366,
33574,
669,
1,
796,
705,
1065,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
27280,
286,
262,
43581,
2097,
351,
1105,
29075,
669,
290,
257,
10916,
286,
5441,
28,
30,
46506,
35224,
7203,
23106,
357,
701,
8,
4943,
16034,
3084,
62,
2231,
34626,
33411,
366,
33574,
669,
1,
796,
705,
1065,
6,
5357,
... |
How many total losses have teams that played more than 30 games? | SELECT COUNT(lost) FROM table_name_34 WHERE played > 30 | [
2437,
867,
2472,
9089,
423,
3466,
326,
2826,
517,
621,
1542,
1830,
30,
46506,
327,
28270,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
2826,
1875,
1542
] | [
1,
1,
1,
1,
1,
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,
2472,
9089,
423,
3466,
326,
2826,
517,
621,
1542,
1830,
30,
46506,
327,
28270,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
2826,
1875,
1542
] |
What is the location of the match with the record 10-8-1? | SELECT "Location" FROM table_15512 WHERE "Record" = '10-8-1' | [
2061,
318,
262,
4067,
286,
262,
2872,
351,
262,
1700,
838,
12,
23,
12,
16,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
18742,
1065,
33411,
366,
23739,
1,
796,
705,
940,
12,
23,
12,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4067,
286,
262,
2872,
351,
262,
1700,
838,
12,
23,
12,
16,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
18742,
1065,
33411,
366,
23739,
1,
796,
705,
940,
12,
23,
12,
16,
6
] |
What Date has a Name of thuin circuit? | SELECT date FROM table_name_26 WHERE name = "thuin circuit" | [
2061,
7536,
468,
257,
6530,
286,
294,
48441,
10349,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2075,
33411,
1438,
796,
366,
400,
48441,
10349,
1
] | [
1,
1,
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,
7536,
468,
257,
6530,
286,
294,
48441,
10349,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2075,
33411,
1438,
796,
366,
400,
48441,
10349,
1
] |
What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio in Velabro? | SELECT "Place of birth" FROM table_62718 WHERE "Elevator" = 'lucius iii' AND "Cardinalatial title" = 'deacon of s. giorgio in velabro' | [
2061,
318,
262,
4082,
1295,
329,
2130,
15321,
416,
42477,
6711,
11,
290,
468,
262,
25564,
34961,
3670,
286,
1024,
7807,
286,
311,
13,
402,
1504,
27769,
287,
17378,
397,
305,
30,
46506,
366,
27271,
286,
4082,
1,
16034,
3084,
62,
49856,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4082,
1295,
329,
2130,
15321,
416,
42477,
6711,
11,
290,
468,
262,
25564,
34961,
3670,
286,
1024,
7807,
286,
311,
13,
402,
1504,
27769,
287,
17378,
397,
305,
30,
46506,
366,
27271,
286,
4082,
1,
16034,
3084,
62,
49856,... |
What is the name of the away team for Tie #19? | SELECT "Away team" FROM table_79189 WHERE "Tie no" = '19' | [
2061,
318,
262,
1438,
286,
262,
1497,
1074,
329,
36286,
1303,
1129,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
3720,
23362,
33411,
366,
51,
494,
645,
1,
796,
705,
1129,
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,
1438,
286,
262,
1497,
1074,
329,
36286,
1303,
1129,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
3720,
23362,
33411,
366,
51,
494,
645,
1,
796,
705,
1129,
6
] |
Which Goals have a Club of hallelujah fc, and a Rank of 7? | SELECT SUM(goals) FROM table_name_78 WHERE club = "hallelujah fc" AND rank = "7" | [
13828,
28510,
423,
257,
6289,
286,
289,
6765,
2290,
31558,
277,
66,
11,
290,
257,
10916,
286,
767,
30,
46506,
35683,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
3430,
796,
366,
71,
6765,
2290,
31558,
277,
66,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
28510,
423,
257,
6289,
286,
289,
6765,
2290,
31558,
277,
66,
11,
290,
257,
10916,
286,
767,
30,
46506,
35683,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
3430,
796,
366,
71,
6765,
2290,
31558,
277,
66,
1,
5357,
... |
What was the score in the game where the record was 10-9-7? | SELECT "Score" FROM table_36638 WHERE "Record" = '10-9-7' | [
2061,
373,
262,
4776,
287,
262,
983,
810,
262,
1700,
373,
838,
12,
24,
12,
22,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
32459,
2548,
33411,
366,
23739,
1,
796,
705,
940,
12,
24,
12,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
287,
262,
983,
810,
262,
1700,
373,
838,
12,
24,
12,
22,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
32459,
2548,
33411,
366,
23739,
1,
796,
705,
940,
12,
24,
12,
22,
6
] |
What was the score of the game that led to a 7-5 record? | SELECT score FROM table_name_91 WHERE record = "7-5" | [
2061,
373,
262,
4776,
286,
262,
983,
326,
2957,
284,
257,
767,
12,
20,
1700,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
1700,
796,
366,
22,
12,
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,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
326,
2957,
284,
257,
767,
12,
20,
1700,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
1700,
796,
366,
22,
12,
20,
1
] |
Name the founded for florida state university | SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University" | [
5376,
262,
9393,
329,
781,
273,
3755,
1181,
6403,
46506,
9393,
16034,
3084,
62,
2078,
1495,
2548,
2154,
62,
16,
33411,
9901,
796,
366,
31135,
1812,
2059,
1
] | [
1,
1,
1,
1,
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,
9393,
329,
781,
273,
3755,
1181,
6403,
46506,
9393,
16034,
3084,
62,
2078,
1495,
2548,
2154,
62,
16,
33411,
9901,
796,
366,
31135,
1812,
2059,
1
] |
ENVIRON 426 , is it hard ? | SELECT COUNT(*) > 0, program_course.workload FROM course, program_course WHERE course.department = 'ENVIRON' AND course.number = 426 AND program_course.course_id = course.course_id AND program_course.workload > 3 | [
1677,
53,
4663,
1340,
48065,
837,
318,
340,
1327,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
1677,
53,
4663,
1340,
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... | [
1677,
53,
4663,
1340,
48065,
837,
318,
340,
1327,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
1677,
53,
4663,
1340,
6,
... |
How many english titles were directed by carlos moreno? | SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno" | [
2437,
867,
46932,
8714,
547,
7924,
416,
1097,
33280,
517,
3919,
30,
46506,
327,
28270,
7,
39126,
62,
7839,
8,
16034,
3084,
62,
1828,
40403,
2624,
62,
16,
33411,
3437,
796,
366,
26886,
418,
43269,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
46932,
8714,
547,
7924,
416,
1097,
33280,
517,
3919,
30,
46506,
327,
28270,
7,
39126,
62,
7839,
8,
16034,
3084,
62,
1828,
40403,
2624,
62,
16,
33411,
3437,
796,
366,
26886,
418,
43269,
1
] |
What county is Fountain City? | SELECT "# / County" FROM table_64106 WHERE "Location" = 'fountain city' | [
2061,
7968,
318,
40913,
2254,
30,
46506,
25113,
1220,
3418,
1,
16034,
3084,
62,
2414,
15801,
33411,
366,
14749,
1,
796,
705,
69,
18635,
1748,
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,
7968,
318,
40913,
2254,
30,
46506,
25113,
1220,
3418,
1,
16034,
3084,
62,
2414,
15801,
33411,
366,
14749,
1,
796,
705,
69,
18635,
1748,
6
] |
Which city of license/market plays 3 (26)? | SELECT "City of License /Market" FROM table_20132 WHERE "Channel TV ( DT )" = '3 (26)' | [
13828,
1748,
286,
5964,
14,
10728,
5341,
513,
357,
2075,
19427,
46506,
366,
14941,
286,
13789,
1220,
27470,
1,
16034,
3084,
62,
1264,
2624,
33411,
366,
29239,
3195,
357,
24311,
1267,
1,
796,
705,
18,
357,
2075,
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
] | [
13828,
1748,
286,
5964,
14,
10728,
5341,
513,
357,
2075,
19427,
46506,
366,
14941,
286,
13789,
1220,
27470,
1,
16034,
3084,
62,
1264,
2624,
33411,
366,
29239,
3195,
357,
24311,
1267,
1,
796,
705,
18,
357,
2075,
33047
] |
What is the local name given to the capital of Anguilla? | SELECT "Capital ( endonym )" FROM table_72083 WHERE "Country ( endonym )" = 'Anguilla' | [
2061,
318,
262,
1957,
1438,
1813,
284,
262,
3139,
286,
2895,
84,
5049,
30,
46506,
366,
39315,
357,
886,
5177,
1267,
1,
16034,
3084,
62,
23906,
5999,
33411,
366,
33921,
357,
886,
5177,
1267,
1,
796,
705,
13450,
84,
5049,
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,
1957,
1438,
1813,
284,
262,
3139,
286,
2895,
84,
5049,
30,
46506,
366,
39315,
357,
886,
5177,
1267,
1,
16034,
3084,
62,
23906,
5999,
33411,
366,
33921,
357,
886,
5177,
1267,
1,
796,
705,
13450,
84,
5049,
6
] |
Find the total revenue for each manufacturer Plot them as bar chart, I want to list from low to high by the Y-axis. | SELECT Name, SUM(Revenue) FROM Manufacturers GROUP BY Name ORDER BY SUM(Revenue) | [
16742,
262,
2472,
6426,
329,
1123,
11554,
28114,
606,
355,
2318,
8262,
11,
314,
765,
284,
1351,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
46506,
6530,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
6530,
386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2472,
6426,
329,
1123,
11554,
28114,
606,
355,
2318,
8262,
11,
314,
765,
284,
1351,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
46506,
6530,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
6530,
386... |
Give me the comparison about ACC_Percent over the Team_Name , and I want to list in ascending by the x-axis. | SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY Team_Name | [
23318,
502,
262,
7208,
546,
15859,
62,
31905,
625,
262,
4816,
62,
5376,
837,
290,
314,
765,
284,
1351,
287,
41988,
416,
262,
2124,
12,
22704,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
4816,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
15859,
62,
31905,
625,
262,
4816,
62,
5376,
837,
290,
314,
765,
284,
1351,
287,
41988,
416,
262,
2124,
12,
22704,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
4816,... |
What was the amount of 000s when Germany had 16.6? | SELECT "Total (000s)" FROM table_70343 WHERE "Germany" = '16.6' | [
2061,
373,
262,
2033,
286,
12877,
82,
618,
4486,
550,
1467,
13,
21,
30,
46506,
366,
14957,
357,
830,
82,
16725,
16034,
3084,
62,
2154,
32118,
33411,
366,
27079,
1,
796,
705,
1433,
13,
21,
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
] | [
2061,
373,
262,
2033,
286,
12877,
82,
618,
4486,
550,
1467,
13,
21,
30,
46506,
366,
14957,
357,
830,
82,
16725,
16034,
3084,
62,
2154,
32118,
33411,
366,
27079,
1,
796,
705,
1433,
13,
21,
6
] |
Find the total credits of all classes offered by each department Visualize by bar chart, and I want to display in ascending by the names. | SELECT DEPT_CODE, SUM(T1.CRS_CREDIT) FROM COURSE AS T1 JOIN CLASS AS T2 ON T1.CRS_CODE = T2.CRS_CODE GROUP BY T1.DEPT_CODE ORDER BY DEPT_CODE | [
16742,
262,
2472,
10824,
286,
477,
6097,
4438,
416,
1123,
5011,
15612,
1096,
416,
2318,
8262,
11,
290,
314,
765,
284,
3359,
287,
41988,
416,
262,
3891,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
51,
16,
13,
34,
6998,
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... | [
16742,
262,
2472,
10824,
286,
477,
6097,
4438,
416,
1123,
5011,
15612,
1096,
416,
2318,
8262,
11,
290,
314,
765,
284,
3359,
287,
41988,
416,
262,
3891,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
51,
16,
13,
34,
6998,
62,
... |
how many patients admitted before the year 2178 were given the drugs through both the eyes? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2178" AND prescriptions.route = "BOTH EYES" | [
4919,
867,
3871,
6848,
878,
262,
614,
362,
23188,
547,
1813,
262,
5010,
832,
1111,
262,
2951,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6848,
878,
262,
614,
362,
23188,
547,
1813,
262,
5010,
832,
1111,
262,
2951,
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... |
List the number of the first name of all employees with job code PROF ordered by their date of birth. | SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM EMPLOYEE WHERE EMP_JOBCODE = 'PROF' GROUP BY EMP_FNAME ORDER BY EMP_DOB | [
8053,
262,
1271,
286,
262,
717,
1438,
286,
477,
4409,
351,
1693,
2438,
4810,
19238,
6149,
416,
511,
3128,
286,
4082,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
8,
16034,
17228,
6489,
21414,
6500,
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... | [
8053,
262,
1271,
286,
262,
717,
1438,
286,
477,
4409,
351,
1693,
2438,
4810,
19238,
6149,
416,
511,
3128,
286,
4082,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
8,
16034,
17228,
6489,
21414,
6500,
33411,
... |
What is every entry for against with opponent Andreas Vinciguerra? | SELECT "Against" FROM table_26536 WHERE "Opponent" = 'Andreas Vinciguerra' | [
2061,
318,
790,
5726,
329,
1028,
351,
6125,
33728,
569,
1939,
328,
15573,
430,
30,
46506,
366,
39276,
1,
16034,
3084,
62,
22980,
2623,
33411,
366,
27524,
3471,
1,
796,
705,
31258,
292,
569,
1939,
328,
15573,
430,
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
] | [
2061,
318,
790,
5726,
329,
1028,
351,
6125,
33728,
569,
1939,
328,
15573,
430,
30,
46506,
366,
39276,
1,
16034,
3084,
62,
22980,
2623,
33411,
366,
27524,
3471,
1,
796,
705,
31258,
292,
569,
1939,
328,
15573,
430,
6
] |
What is the Score of the Pingguo Tournament? | SELECT "Score" FROM table_13957 WHERE "Tournament" = 'pingguo' | [
2061,
318,
262,
15178,
286,
262,
34263,
5162,
78,
9595,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
20219,
3553,
33411,
366,
51,
5138,
1,
796,
705,
13886,
5162,
78,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
15178,
286,
262,
34263,
5162,
78,
9595,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
20219,
3553,
33411,
366,
51,
5138,
1,
796,
705,
13886,
5162,
78,
6
] |
What are the downloaded numbers of 2000s and before 2000? | SELECT SUM(totalsnatched) FROM torrents WHERE groupyear BETWEEN 2000 AND 2010 UNION SELECT SUM(totalsnatched) FROM torrents WHERE groupyear < 2000 | [
2061,
389,
262,
15680,
3146,
286,
4751,
82,
290,
878,
4751,
30,
46506,
35683,
7,
83,
313,
874,
77,
14265,
8,
16034,
24458,
82,
33411,
1448,
1941,
38651,
8845,
1677,
4751,
5357,
3050,
4725,
2849,
33493,
35683,
7,
83,
313,
874,
77,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
15680,
3146,
286,
4751,
82,
290,
878,
4751,
30,
46506,
35683,
7,
83,
313,
874,
77,
14265,
8,
16034,
24458,
82,
33411,
1448,
1941,
38651,
8845,
1677,
4751,
5357,
3050,
4725,
2849,
33493,
35683,
7,
83,
313,
874,
77,
14... |
how many countries have at least one gold medal ? | SELECT COUNT("nation") FROM table_203_608 WHERE "gold" >= 1 | [
4919,
867,
2678,
423,
379,
1551,
530,
3869,
18279,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
28688,
33411,
366,
24267,
1,
18189,
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
] | [
4919,
867,
2678,
423,
379,
1551,
530,
3869,
18279,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
28688,
33411,
366,
24267,
1,
18189,
352
] |
Which Rim diameter has a Neck diameter of 11.84 (.466)? | SELECT rim_diameter FROM table_name_27 WHERE neck_diameter = "11.84 (.466)" | [
13828,
29542,
14753,
468,
257,
34726,
14753,
286,
1367,
13,
5705,
20262,
42199,
19427,
46506,
20254,
62,
67,
13173,
16034,
3084,
62,
3672,
62,
1983,
33411,
7393,
62,
67,
13173,
796,
366,
1157,
13,
5705,
20262,
42199,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29542,
14753,
468,
257,
34726,
14753,
286,
1367,
13,
5705,
20262,
42199,
19427,
46506,
20254,
62,
67,
13173,
16034,
3084,
62,
3672,
62,
1983,
33411,
7393,
62,
67,
13173,
796,
366,
1157,
13,
5705,
20262,
42199,
16725
] |
What season number in the season has production code 210? | SELECT MIN(no_in_season) FROM table_26448179_3 WHERE production_code = "210" | [
2061,
1622,
1271,
287,
262,
1622,
468,
3227,
2438,
20064,
30,
46506,
20625,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
2075,
31115,
21738,
62,
18,
33411,
3227,
62,
8189,
796,
366,
21536,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
1271,
287,
262,
1622,
468,
3227,
2438,
20064,
30,
46506,
20625,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
2075,
31115,
21738,
62,
18,
33411,
3227,
62,
8189,
796,
366,
21536,
1
] |
Who did the argonauts play against during the game that had 19,423 fans in attendance? | SELECT "Opponent" FROM table_45346 WHERE "Attendance" = '19,423' | [
8241,
750,
262,
1822,
261,
17712,
711,
1028,
1141,
262,
983,
326,
550,
678,
11,
43356,
3296,
287,
14858,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2231,
30557,
33411,
366,
8086,
437,
590,
1,
796,
705,
1129,
11,
43356,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
750,
262,
1822,
261,
17712,
711,
1028,
1141,
262,
983,
326,
550,
678,
11,
43356,
3296,
287,
14858,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2231,
30557,
33411,
366,
8086,
437,
590,
1,
796,
705,
1129,
11,
43356,
6
] |
compared to last measured on the last hospital visit is ionized calcium of patient 012-35670 less than second to last measured on the last hospital visit? | SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-35670' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi... | [
5589,
1144,
284,
938,
8630,
319,
262,
938,
4436,
3187,
318,
22088,
1143,
19700,
286,
5827,
5534,
17,
12,
32066,
2154,
1342,
621,
1218,
284,
938,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
13,
23912,
20274,
16034,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5589,
1144,
284,
938,
8630,
319,
262,
938,
4436,
3187,
318,
22088,
1143,
19700,
286,
5827,
5534,
17,
12,
32066,
2154,
1342,
621,
1218,
284,
938,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
13,
23912,
20274,
16034,
22... |
In which location was the method decision (split)? | SELECT location FROM table_name_26 WHERE method = "decision (split)" | [
818,
543,
4067,
373,
262,
2446,
2551,
357,
35312,
19427,
46506,
4067,
16034,
3084,
62,
3672,
62,
2075,
33411,
2446,
796,
366,
12501,
1166,
357,
35312,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
543,
4067,
373,
262,
2446,
2551,
357,
35312,
19427,
46506,
4067,
16034,
3084,
62,
3672,
62,
2075,
33411,
2446,
796,
366,
12501,
1166,
357,
35312,
16725
] |
AA flights to HOUSTON from CINCINNATI | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'HOUSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CINCI... | [
3838,
13956,
284,
29068,
41924,
422,
327,
30158,
1268,
34259,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3838,
13956,
284,
29068,
41924,
422,
327,
30158,
1268,
34259,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
... |
What was the score when the Vikings won the championship at Namyangju Stadium? | SELECT score FROM table_name_86 WHERE champion = "vikings" AND stadium = "namyangju stadium" | [
2061,
373,
262,
4776,
618,
262,
16420,
1839,
262,
12184,
379,
399,
14814,
648,
14396,
10499,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4521,
33411,
8783,
796,
366,
28930,
654,
1,
5357,
10308,
796,
366,
7402,
17859,
14396,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
16420,
1839,
262,
12184,
379,
399,
14814,
648,
14396,
10499,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4521,
33411,
8783,
796,
366,
28930,
654,
1,
5357,
10308,
796,
366,
7402,
17859,
14396,
10308,
1
] |
Which Date has a Margin of victory of 5 strokes, and a Winning score of 13 (67-73-64-63=267)? | SELECT "Date" FROM table_75767 WHERE "Margin of victory" = '5 strokes' AND "Winning score" = '−13 (67-73-64-63=267)' | [
13828,
7536,
468,
257,
11899,
259,
286,
5373,
286,
642,
29483,
11,
290,
257,
40983,
4776,
286,
1511,
357,
3134,
12,
4790,
12,
2414,
12,
5066,
28,
25674,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
32059,
33411,
366,
24428,
259... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
7536,
468,
257,
11899,
259,
286,
5373,
286,
642,
29483,
11,
290,
257,
40983,
4776,
286,
1511,
357,
3134,
12,
4790,
12,
2414,
12,
5066,
28,
25674,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
32059,
33411,
366,
24428,
259... |
What is TV Time, when Opponent is At Cincinnati Bengals? | SELECT tv_time FROM table_name_89 WHERE opponent = "at cincinnati bengals" | [
2061,
318,
3195,
3862,
11,
618,
9385,
3471,
318,
1629,
16137,
24037,
30,
46506,
31557,
62,
2435,
16034,
3084,
62,
3672,
62,
4531,
33411,
6125,
796,
366,
265,
269,
15130,
275,
1516,
874,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3195,
3862,
11,
618,
9385,
3471,
318,
1629,
16137,
24037,
30,
46506,
31557,
62,
2435,
16034,
3084,
62,
3672,
62,
4531,
33411,
6125,
796,
366,
265,
269,
15130,
275,
1516,
874,
1
] |
What is the mascot with a #/County of 34 Howard? | SELECT "Mascot" FROM table_37266 WHERE "# / County" = '34 howard' | [
2061,
318,
262,
37358,
351,
257,
1303,
14,
12332,
88,
286,
4974,
8442,
30,
46506,
366,
44,
3372,
313,
1,
16034,
3084,
62,
2718,
25540,
33411,
25113,
1220,
3418,
1,
796,
705,
2682,
703,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
37358,
351,
257,
1303,
14,
12332,
88,
286,
4974,
8442,
30,
46506,
366,
44,
3372,
313,
1,
16034,
3084,
62,
2718,
25540,
33411,
25113,
1220,
3418,
1,
796,
705,
2682,
703,
446,
6
] |
What are the names and location of the shops in ascending alphabetical order of name. | SELECT shop_name, location FROM shop ORDER BY shop_name | [
2061,
389,
262,
3891,
290,
4067,
286,
262,
12437,
287,
41988,
24830,
605,
1502,
286,
1438,
13,
46506,
6128,
62,
3672,
11,
4067,
16034,
6128,
38678,
11050,
6128,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
290,
4067,
286,
262,
12437,
287,
41988,
24830,
605,
1502,
286,
1438,
13,
46506,
6128,
62,
3672,
11,
4067,
16034,
6128,
38678,
11050,
6128,
62,
3672
] |
Who directed the movie when John Wayne played the role of John Travers? | SELECT "Director" FROM table_67269 WHERE "Role" = 'john travers' | [
8241,
7924,
262,
3807,
618,
1757,
13329,
2826,
262,
2597,
286,
1757,
4759,
690,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
3134,
26276,
33411,
366,
47445,
1,
796,
705,
30686,
33038,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7924,
262,
3807,
618,
1757,
13329,
2826,
262,
2597,
286,
1757,
4759,
690,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
3134,
26276,
33411,
366,
47445,
1,
796,
705,
30686,
33038,
6
] |
does flight DL 1083 from PHILADELPHIA to DENVER fly on SATURDAY | 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, days, flight WHERE (((days.day_name = 'SATURDAY' AND flight.flight_days = days.days_code AND flight.flight_number = 1083) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code A... | [
22437,
5474,
23641,
838,
5999,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
37692,
5959,
6129,
319,
29020,
4261,
26442,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
5474,
23641,
838,
5999,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
37692,
5959,
6129,
319,
29020,
4261,
26442,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389... |
Tell me the director nominated for best actor in a leading role | SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role" | [
24446,
502,
262,
3437,
19332,
329,
1266,
8674,
287,
257,
3756,
2597,
46506,
3437,
16034,
3084,
62,
3672,
62,
4790,
33411,
11872,
796,
366,
13466,
8674,
287,
257,
3756,
2597,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3437,
19332,
329,
1266,
8674,
287,
257,
3756,
2597,
46506,
3437,
16034,
3084,
62,
3672,
62,
4790,
33411,
11872,
796,
366,
13466,
8674,
287,
257,
3756,
2597,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.