instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
Are there any Adv Hlth Assess courses of 18 credits ? | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Adv Hlth Assess%' OR name LIKE '%Adv Hlth Assess%') AND credits = 18 | [
8491,
612,
597,
8007,
367,
75,
400,
2195,
408,
10902,
286,
1248,
10824,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
22856,
367,
75,
400,
2195,
408,
4,
6,
6375,
1438,
34178,
705,
4,
22856,
367,
75,
400,
2195,
408,
4,
11537,
5357,
10824,
796,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
597,
8007,
367,
75,
400,
2195,
408,
10902,
286,
1248,
10824,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
22856,
367,
75,
400,
2195,
408,
4,
6,
6375,
1438,
34178,
705,
4,
22856,
367,
75,
400,
2195,
408,
4,
11537,
5357,
10824,
796,
1248
] |
What team has a home city of Koprivnica? | SELECT team FROM table_name_77 WHERE home_city = "koprivnica" | [
2061,
1074,
468,
257,
1363,
1748,
286,
40500,
15104,
77,
3970,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3324,
33411,
1363,
62,
19205,
796,
366,
74,
404,
15104,
77,
3970,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
1363,
1748,
286,
40500,
15104,
77,
3970,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3324,
33411,
1363,
62,
19205,
796,
366,
74,
404,
15104,
77,
3970,
1
] |
Which common has an area (km2) of 103.02? | SELECT "Common" FROM table_72558 WHERE "Area (km 2 )" = '103.02' | [
13828,
2219,
468,
281,
1989,
357,
13276,
17,
8,
286,
15349,
13,
2999,
30,
46506,
366,
17227,
1,
16034,
3084,
62,
45151,
3365,
33411,
366,
30547,
357,
13276,
362,
1267,
1,
796,
705,
15197,
13,
2999,
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
] | [
13828,
2219,
468,
281,
1989,
357,
13276,
17,
8,
286,
15349,
13,
2999,
30,
46506,
366,
17227,
1,
16034,
3084,
62,
45151,
3365,
33411,
366,
30547,
357,
13276,
362,
1267,
1,
796,
705,
15197,
13,
2999,
6
] |
When grand prix de sar la princesse lalla meryem is the tournament what is the town? | SELECT "Town" FROM table_30239 WHERE "Tournament" = 'Grand Prix De SAR La Princesse Lalla Meryem' | [
2215,
4490,
1293,
87,
390,
29008,
8591,
42676,
325,
300,
30315,
285,
1924,
368,
318,
262,
7756,
644,
318,
262,
3240,
30,
46506,
366,
38097,
1,
16034,
3084,
62,
1270,
23516,
33411,
366,
51,
5138,
1,
796,
705,
23581,
23832,
1024,
47341,
4689,
7489,
728,
325,
406,
30315,
337,
1924,
368,
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
] | [
2215,
4490,
1293,
87,
390,
29008,
8591,
42676,
325,
300,
30315,
285,
1924,
368,
318,
262,
7756,
644,
318,
262,
3240,
30,
46506,
366,
38097,
1,
16034,
3084,
62,
1270,
23516,
33411,
366,
51,
5138,
1,
796,
705,
23581,
23832,
1024,
47341,
4689,
7489,
728,
325,
406,
30315,
337,
1924,
368,
6
] |
i'd need information please on a flight from WASHINGTON SAN FRANCISCO california | 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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
72,
1549,
761,
1321,
3387,
319,
257,
5474,
422,
370,
19436,
37376,
8782,
20940,
1797,
8220,
2386,
361,
3317,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
21793,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
1549,
761,
1321,
3387,
319,
257,
5474,
422,
370,
19436,
37376,
8782,
20940,
1797,
8220,
2386,
361,
3317,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
21793,
6,
5357
] |
i need flight information on saturday for a flight from PHILADELPHIA to DALLAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND date_day.day_number = 26 AND date_day.month_number = 7 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHILADELPHIA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
761,
5474,
1321,
319,
264,
3658,
329,
257,
5474,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
761,
5474,
1321,
319,
264,
3658,
329,
257,
5474,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62
] |
How many number Builts had unit numbers of 375301-310? | SELECT SUM(no_built) FROM table_name_19 WHERE unit_nos = "375301-310" | [
2437,
867,
1271,
9842,
50076,
550,
4326,
3146,
286,
29414,
18938,
12,
26717,
30,
46506,
35683,
7,
3919,
62,
18780,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
4326,
62,
39369,
796,
366,
22318,
18938,
12,
26717,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
9842,
50076,
550,
4326,
3146,
286,
29414,
18938,
12,
26717,
30,
46506,
35683,
7,
3919,
62,
18780,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
4326,
62,
39369,
796,
366,
22318,
18938,
12,
26717,
1
] |
how many times was the political rights listed as seven ? | SELECT COUNT(*) FROM table_203_528 WHERE "political rights" = 7 | [
4919,
867,
1661,
373,
262,
1964,
2489,
5610,
355,
3598,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
49351,
33411,
366,
23149,
2489,
1,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1661,
373,
262,
1964,
2489,
5610,
355,
3598,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
49351,
33411,
366,
23149,
2489,
1,
796,
767
] |
what opponent has the record of 78-63? | SELECT opponent FROM table_name_25 WHERE record = "78-63" | [
10919,
6125,
468,
262,
1700,
286,
8699,
12,
5066,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
1700,
796,
366,
3695,
12,
5066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
6125,
468,
262,
1700,
286,
8699,
12,
5066,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
1700,
796,
366,
3695,
12,
5066,
1
] |
What is the number of losses for the team with a points difference of -25? | SELECT "Lost" FROM table_8495 WHERE "Points difference" = '-25' | [
2061,
318,
262,
1271,
286,
9089,
329,
262,
1074,
351,
257,
2173,
3580,
286,
532,
1495,
30,
46506,
366,
31042,
1,
16034,
3084,
62,
23,
33781,
33411,
366,
40710,
3580,
1,
796,
705,
12,
1495,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
9089,
329,
262,
1074,
351,
257,
2173,
3580,
286,
532,
1495,
30,
46506,
366,
31042,
1,
16034,
3084,
62,
23,
33781,
33411,
366,
40710,
3580,
1,
796,
705,
12,
1495,
6
] |
What is the an-stem for the word which has an -stems of siangar and an u-stem ending of syni? | SELECT masculine_an_stems FROM table_name_18 WHERE feminine_ō_stems = "siangar" AND masculine_u_stems = "syni" | [
2061,
318,
262,
281,
12,
927,
329,
262,
1573,
543,
468,
281,
532,
927,
82,
286,
264,
15483,
283,
290,
281,
334,
12,
927,
7464,
286,
6171,
72,
30,
46506,
27543,
62,
272,
62,
927,
82,
16034,
3084,
62,
3672,
62,
1507,
33411,
23564,
62,
13090,
62,
927,
82,
796,
366,
13396,
648,
283,
1,
5357,
27543,
62,
84,
62,
927,
82,
796,
366,
1837,
8461,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
281,
12,
927,
329,
262,
1573,
543,
468,
281,
532,
927,
82,
286,
264,
15483,
283,
290,
281,
334,
12,
927,
7464,
286,
6171,
72,
30,
46506,
27543,
62,
272,
62,
927,
82,
16034,
3084,
62,
3672,
62,
1507,
33411,
23564,
62,
13090,
62,
927,
82,
796,
366,
13396,
648,
283,
1,
5357,
27543,
62,
84,
62,
927,
82,
796,
366,
1837,
8461,
1
] |
indicate the yearly average volume of output (ml)-urethral catheter straight-tip 14 fr. that patient 033-32465 has had until 09/2104. | SELECT AVG(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-32465')) AND intakeoutput.celllabel = 'output (ml)-urethral catheter straight-tip 14 fr.' AND intakeoutput.cellpath LIKE '%output%' AND STRFTIME('%y-%m', intakeoutput.intakeoutputtime) <= '2104-09' GROUP BY STRFTIME('%y', intakeoutput.intakeoutputtime) | [
521,
5344,
262,
24169,
2811,
6115,
286,
5072,
357,
4029,
13219,
495,
400,
1373,
3797,
43332,
3892,
12,
22504,
1478,
1216,
13,
326,
5827,
657,
2091,
12,
33916,
2996,
468,
550,
1566,
7769,
14,
17,
13464,
13,
46506,
35224,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
521,
5344,
262,
24169,
2811,
6115,
286,
5072,
357,
4029,
13219,
495,
400,
1373,
3797,
43332,
3892,
12,
22504,
1478,
1216,
13,
326,
5827,
657,
2091,
12,
33916,
2996,
468,
550,
1566,
7769,
14,
17,
13464,
13,
46506,
35224,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796
] |
provide the number of female patients who had allogeneic hematopoietic stem cell transplant without purging. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.long_title = "Allogeneic hematopoietic stem cell transpant without purging" | [
15234,
485,
262,
1271,
286,
4048,
3871,
508,
550,
477,
20878,
291,
339,
6759,
404,
78,
1155,
291,
10717,
2685,
23319,
1231,
1308,
2667,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
3237,
20878,
291,
339,
6759,
404,
78,
1155,
291,
10717,
2685,
1007,
79,
415,
1231,
1308,
2667,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4048,
3871,
508,
550,
477,
20878,
291,
339,
6759,
404,
78,
1155,
291,
10717,
2685,
23319,
1231,
1308,
2667,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
3237,
20878,
291,
339,
6759,
404,
78,
1155,
291,
10717,
2685,
1007,
79,
415,
1231,
1308,
2667,
1
] |
How many television station listing have a radio station as lao national radio? | SELECT COUNT("Television Station") FROM table_30745 WHERE "Radio Station" = 'Lao National Radio' | [
2437,
867,
5581,
4429,
13487,
423,
257,
5243,
4429,
355,
300,
5488,
2260,
5243,
30,
46506,
327,
28270,
7203,
6767,
5024,
9327,
4943,
16034,
3084,
62,
22996,
2231,
33411,
366,
26093,
9327,
1,
796,
705,
43,
5488,
2351,
8829,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5581,
4429,
13487,
423,
257,
5243,
4429,
355,
300,
5488,
2260,
5243,
30,
46506,
327,
28270,
7203,
6767,
5024,
9327,
4943,
16034,
3084,
62,
22996,
2231,
33411,
366,
26093,
9327,
1,
796,
705,
43,
5488,
2351,
8829,
6
] |
What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets? | SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets" | [
2061,
373,
262,
285,
641,
4153,
618,
285,
641,
2319,
373,
3825,
7038,
36065,
10146,
825,
11852,
26053,
30,
46506,
285,
641,
62,
2231,
16034,
3084,
62,
21940,
23045,
2598,
62,
16,
33411,
285,
641,
62,
1821,
796,
366,
16012,
15045,
36065,
10146,
825,
11852,
26053,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
285,
641,
4153,
618,
285,
641,
2319,
373,
3825,
7038,
36065,
10146,
825,
11852,
26053,
30,
46506,
285,
641,
62,
2231,
16034,
3084,
62,
21940,
23045,
2598,
62,
16,
33411,
285,
641,
62,
1821,
796,
366,
16012,
15045,
36065,
10146,
825,
11852,
26053,
1
] |
Which Drawn has a Lost of 19? | SELECT "Drawn" FROM table_36972 WHERE "Lost" = '19' | [
13828,
50061,
468,
257,
9164,
286,
678,
30,
46506,
366,
35,
5791,
1,
16034,
3084,
62,
30803,
4761,
33411,
366,
31042,
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
] | [
13828,
50061,
468,
257,
9164,
286,
678,
30,
46506,
366,
35,
5791,
1,
16034,
3084,
62,
30803,
4761,
33411,
366,
31042,
1,
796,
705,
1129,
6
] |
For those records from the products and each product's manufacturer, show me about the distribution of headquarter and the sum of revenue , and group by attribute headquarter in a bar chart, could you rank by the X-axis in ascending? | SELECT Headquarter, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
714,
345,
4279,
416,
262,
1395,
12,
22704,
287,
41988,
30,
46506,
7123,
24385,
11,
35683,
7,
3041,
4080,
8,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
38678,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
714,
345,
4279,
416,
262,
1395,
12,
22704,
287,
41988,
30,
46506,
7123,
24385,
11,
35683,
7,
3041,
4080,
8,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
38678,
11050,
7123,
24385
] |
How many entrepreneurs correspond to each investor, I want to order in descending by the Y-axis. | SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC | [
2437,
867,
17038,
6053,
284,
1123,
15811,
11,
314,
765,
284,
1502,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
16034,
19500,
44441,
11050,
47979,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
17038,
6053,
284,
1123,
15811,
11,
314,
765,
284,
1502,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
16034,
19500,
44441,
11050,
47979,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
count the number of patients who have received a pulmonary/ccm consultation procedure in the same month after they had been diagnosed with diabetes mellitus - type ii. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'diabetes mellitus - type ii') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'pulmonary/ccm consultation') AS t2 WHERE t1.diagnosistime < t2.treatmenttime AND DATETIME(t1.diagnosistime, 'start of month') = DATETIME(t2.treatmenttime, 'start of month') | [
9127,
262,
1271,
286,
3871,
508,
423,
2722,
257,
45105,
14,
535,
76,
18103,
8771,
287,
262,
976,
1227,
706,
484,
550,
587,
14641,
351,
12593,
33748,
17506,
532,
2099,
21065,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
10989,
11064,
33748,
17506,
532,
2099,
21065,
11537,
7054
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
508,
423,
2722,
257,
45105,
14,
535,
76,
18103,
8771,
287,
262,
976,
1227,
706,
484,
550,
587,
14641,
351,
12593,
33748,
17506,
532,
2099,
21065,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
10989,
11064,
33748,
17506,
532,
2099,
21065,
11537,
7054
] |
besides bhumibol adulyadej , which other people were born in december ? | SELECT "name" FROM table_203_298 WHERE "name" <> 'bhumibol adulyadej' AND "born" = 12 | [
65,
11788,
275,
17047,
571,
349,
512,
2062,
671,
73,
837,
543,
584,
661,
547,
4642,
287,
390,
3273,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
27728,
33411,
366,
3672,
1,
1279,
29,
705,
65,
17047,
571,
349,
512,
2062,
671,
73,
6,
5357,
366,
6286,
1,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
65,
11788,
275,
17047,
571,
349,
512,
2062,
671,
73,
837,
543,
584,
661,
547,
4642,
287,
390,
3273,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
27728,
33411,
366,
3672,
1,
1279,
29,
705,
65,
17047,
571,
349,
512,
2062,
671,
73,
6,
5357,
366,
6286,
1,
796,
1105
] |
since 3 years ago what are the top three most frequent diagnoses given to patients during the same month after the diagnosis of elderly multigravida-del? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, 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 d_icd_diagnoses.short_title = 'elderly multigravida-del') AND DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-3 year')) AS t1 JOIN (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-3 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 3) | [
20777,
513,
812,
2084,
644,
389,
262,
1353,
1115,
749,
10792,
40567,
1813,
284,
3871,
1141,
262,
976,
1227,
706,
262,
13669,
286,
13830,
1963,
328,
4108,
3755,
12,
12381,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
18,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
256,
17,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20777,
513,
812,
2084,
644,
389,
262,
1353,
1115,
749,
10792,
40567,
1813,
284,
3871,
1141,
262,
976,
1227,
706,
262,
13669,
286,
13830,
1963,
328,
4108,
3755,
12,
12381,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
18,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
256,
17,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327
] |
Who wrote episode number 18? | SELECT written_by FROM table_28196105_1 WHERE _number = 18 | [
8241,
2630,
4471,
1271,
1248,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
2078,
25272,
13348,
62,
16,
33411,
4808,
17618,
796,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
2630,
4471,
1271,
1248,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
2078,
25272,
13348,
62,
16,
33411,
4808,
17618,
796,
1248
] |
what is the geo id when the land (sqmi) is less than 36.112, the latitude is more than 47.536618, the township is west bay and water (sqmi) is more than 0.209? | SELECT SUM(geo_id) FROM table_name_21 WHERE land___sqmi__ < 36.112 AND latitude > 47.536618 AND township = "west bay" AND water__sqmi_ > 0.209 | [
10919,
318,
262,
40087,
4686,
618,
262,
1956,
357,
31166,
11632,
8,
318,
1342,
621,
4570,
13,
14686,
11,
262,
32477,
318,
517,
621,
6298,
13,
20,
32459,
1507,
11,
262,
42823,
318,
7421,
15489,
290,
1660,
357,
31166,
11632,
8,
318,
517,
621,
657,
13,
22567,
30,
46506,
35683,
7,
469,
78,
62,
312,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
1956,
17569,
31166,
11632,
834,
1279,
4570,
13,
14686,
5357,
32477,
1875,
6298,
13,
20,
32459,
1507,
5357,
42823,
796,
366,
7038,
15489,
1,
5357,
1660,
834,
31166,
11632,
62,
1875,
657,
13,
22567
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40087,
4686,
618,
262,
1956,
357,
31166,
11632,
8,
318,
1342,
621,
4570,
13,
14686,
11,
262,
32477,
318,
517,
621,
6298,
13,
20,
32459,
1507,
11,
262,
42823,
318,
7421,
15489,
290,
1660,
357,
31166,
11632,
8,
318,
517,
621,
657,
13,
22567,
30,
46506,
35683,
7,
469,
78,
62,
312,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
1956,
17569,
31166,
11632,
834,
1279,
4570,
13,
14686,
5357,
32477,
1875,
6298,
13,
20,
32459,
1507,
5357,
42823,
796,
366,
7038,
15489,
1,
5357,
1660,
834,
31166,
11632,
62,
1875,
657,
13,
22567
] |
What is the Round with a Prize of money that is 120,000? | SELECT round FROM table_name_59 WHERE prize_money = "£120,000" | [
2061,
318,
262,
10485,
351,
257,
15895,
286,
1637,
326,
318,
7982,
11,
830,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3270,
33411,
11596,
62,
26316,
796,
366,
14988,
10232,
11,
830,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10485,
351,
257,
15895,
286,
1637,
326,
318,
7982,
11,
830,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3270,
33411,
11596,
62,
26316,
796,
366,
14988,
10232,
11,
830,
1
] |
What is the urban population for the city of Fuzhou? | SELECT AVG(urban_population__2010_) FROM table_name_7 WHERE city = "fuzhou" | [
2061,
318,
262,
7876,
3265,
329,
262,
1748,
286,
376,
10277,
15710,
30,
46506,
35224,
7,
32679,
62,
39748,
834,
10333,
62,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
1748,
796,
366,
69,
10277,
15710,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7876,
3265,
329,
262,
1748,
286,
376,
10277,
15710,
30,
46506,
35224,
7,
32679,
62,
39748,
834,
10333,
62,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
1748,
796,
366,
69,
10277,
15710,
1
] |
who was the tallest delegate for miss dominican republic in 2002 ? | SELECT "contestant" FROM table_203_791 ORDER BY "height" DESC LIMIT 1 | [
8727,
373,
262,
38760,
23191,
329,
2051,
7462,
7490,
17146,
287,
6244,
5633,
46506,
366,
3642,
395,
415,
1,
16034,
3084,
62,
22416,
62,
3720,
16,
38678,
11050,
366,
17015,
1,
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
] | [
8727,
373,
262,
38760,
23191,
329,
2051,
7462,
7490,
17146,
287,
6244,
5633,
46506,
366,
3642,
395,
415,
1,
16034,
3084,
62,
22416,
62,
3720,
16,
38678,
11050,
366,
17015,
1,
22196,
34,
27564,
2043,
352
] |
which city has the same number of barangays as teresa ? | SELECT "city/municipality" FROM table_204_987 WHERE "city/municipality" <> 'teresa' AND "no. of\nbarangays" = (SELECT "no. of\nbarangays" FROM table_204_987 WHERE "city/municipality" = 'teresa') | [
4758,
1748,
468,
262,
976,
1271,
286,
2318,
648,
592,
355,
573,
14625,
5633,
46506,
366,
19205,
14,
6199,
4311,
1483,
1,
16034,
3084,
62,
18638,
62,
44183,
33411,
366,
19205,
14,
6199,
4311,
1483,
1,
1279,
29,
705,
660,
14625,
6,
5357,
366,
3919,
13,
286,
59,
77,
5657,
648,
592,
1,
796,
357,
46506,
366,
3919,
13,
286,
59,
77,
5657,
648,
592,
1,
16034,
3084,
62,
18638,
62,
44183,
33411,
366,
19205,
14,
6199,
4311,
1483,
1,
796,
705,
660,
14625,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
468,
262,
976,
1271,
286,
2318,
648,
592,
355,
573,
14625,
5633,
46506,
366,
19205,
14,
6199,
4311,
1483,
1,
16034,
3084,
62,
18638,
62,
44183,
33411,
366,
19205,
14,
6199,
4311,
1483,
1,
1279,
29,
705,
660,
14625,
6,
5357,
366,
3919,
13,
286,
59,
77,
5657,
648,
592,
1,
796,
357,
46506,
366,
3919,
13,
286,
59,
77,
5657,
648,
592,
1,
16034,
3084,
62,
18638,
62,
44183,
33411,
366,
19205,
14,
6199,
4311,
1483,
1,
796,
705,
660,
14625,
11537
] |
Name the land where geo id is 3807717980 | SELECT "Land ( sqmi )" FROM table_1918 WHERE "GEO ID" = '3807717980' | [
5376,
262,
1956,
810,
40087,
4686,
318,
29101,
3324,
21738,
1795,
46506,
366,
22342,
357,
19862,
11632,
1267,
1,
16034,
3084,
62,
1129,
1507,
33411,
366,
38,
4720,
4522,
1,
796,
705,
23734,
3324,
21738,
1795,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1956,
810,
40087,
4686,
318,
29101,
3324,
21738,
1795,
46506,
366,
22342,
357,
19862,
11632,
1267,
1,
16034,
3084,
62,
1129,
1507,
33411,
366,
38,
4720,
4522,
1,
796,
705,
23734,
3324,
21738,
1795,
6
] |
what is the mountain peak when the location is 53.1370 n 119.2667 w? | SELECT "Mountain Peak" FROM table_47377 WHERE "Location" = '53.1370°n 119.2667°w' | [
10919,
318,
262,
8598,
9103,
618,
262,
4067,
318,
7192,
13,
1485,
2154,
299,
15136,
13,
2075,
3134,
266,
30,
46506,
366,
44,
18635,
23974,
1,
16034,
3084,
62,
2857,
26514,
33411,
366,
14749,
1,
796,
705,
4310,
13,
1485,
2154,
7200,
77,
15136,
13,
2075,
3134,
7200,
86,
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
] | [
10919,
318,
262,
8598,
9103,
618,
262,
4067,
318,
7192,
13,
1485,
2154,
299,
15136,
13,
2075,
3134,
266,
30,
46506,
366,
44,
18635,
23974,
1,
16034,
3084,
62,
2857,
26514,
33411,
366,
14749,
1,
796,
705,
4310,
13,
1485,
2154,
7200,
77,
15136,
13,
2075,
3134,
7200,
86,
6
] |
until 3 years ago, had patient 029-16737 had a surgery consultation? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-16737')) AND treatment.treatmentname = 'surgery consultation' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year') | [
28446,
513,
812,
2084,
11,
550,
5827,
657,
1959,
12,
21940,
2718,
550,
257,
8185,
18103,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
48891,
12,
21940,
2718,
6,
4008,
5357,
3513,
13,
42487,
3672,
796,
705,
11793,
7076,
18103,
6,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
28446,
513,
812,
2084,
11,
550,
5827,
657,
1959,
12,
21940,
2718,
550,
257,
8185,
18103,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
48891,
12,
21940,
2718,
6,
4008,
5357,
3513,
13,
42487,
3672,
796,
705,
11793,
7076,
18103,
6,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435
] |
Please give me a bar chart that bins the installation date of stations into Year interval as the X-axis, and count for showing how many stations are installed each year. | SELECT installation_date, COUNT(installation_date) FROM station | [
5492,
1577,
502,
257,
2318,
8262,
326,
41701,
262,
9988,
3128,
286,
8985,
656,
6280,
16654,
355,
262,
1395,
12,
22704,
11,
290,
954,
329,
4478,
703,
867,
8985,
389,
6589,
1123,
614,
13,
46506,
9988,
62,
4475,
11,
327,
28270,
7,
17350,
341,
62,
4475,
8,
16034,
4429
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
1577,
502,
257,
2318,
8262,
326,
41701,
262,
9988,
3128,
286,
8985,
656,
6280,
16654,
355,
262,
1395,
12,
22704,
11,
290,
954,
329,
4478,
703,
867,
8985,
389,
6589,
1123,
614,
13,
46506,
9988,
62,
4475,
11,
327,
28270,
7,
17350,
341,
62,
4475,
8,
16034,
4429
] |
How many time is the theme rotary international : 100 years in canada? | SELECT COUNT(printing_process) FROM table_25468520_1 WHERE theme = "Rotary International : 100 Years in Canada" | [
2437,
867,
640,
318,
262,
7505,
5724,
560,
3230,
1058,
1802,
812,
287,
460,
4763,
30,
46506,
327,
28270,
7,
4798,
278,
62,
14681,
8,
16034,
3084,
62,
24970,
3104,
31211,
62,
16,
33411,
7505,
796,
366,
24864,
560,
4037,
1058,
1802,
13212,
287,
3340,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
318,
262,
7505,
5724,
560,
3230,
1058,
1802,
812,
287,
460,
4763,
30,
46506,
327,
28270,
7,
4798,
278,
62,
14681,
8,
16034,
3084,
62,
24970,
3104,
31211,
62,
16,
33411,
7505,
796,
366,
24864,
560,
4037,
1058,
1802,
13212,
287,
3340,
1
] |
Name the week number for the beatles | SELECT "Week #" FROM table_23044 WHERE "Theme" = 'The Beatles' | [
5376,
262,
1285,
1271,
329,
262,
4405,
829,
46506,
366,
20916,
1303,
1,
16034,
3084,
62,
19214,
2598,
33411,
366,
47863,
1,
796,
705,
464,
27330,
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
] | [
5376,
262,
1285,
1271,
329,
262,
4405,
829,
46506,
366,
20916,
1303,
1,
16034,
3084,
62,
19214,
2598,
33411,
366,
47863,
1,
796,
705,
464,
27330,
6
] |
What was the English title fo the film that was a nominee? | SELECT english_title FROM table_27423508_1 WHERE result = "Nominee" | [
2061,
373,
262,
3594,
3670,
11511,
262,
2646,
326,
373,
257,
10429,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
28857,
1954,
33042,
62,
16,
33411,
1255,
796,
366,
45,
296,
500,
68,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3594,
3670,
11511,
262,
2646,
326,
373,
257,
10429,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
28857,
1954,
33042,
62,
16,
33411,
1255,
796,
366,
45,
296,
500,
68,
1
] |
Most recent 100 HNQ (Hot Network Questions). | SELECT PostId AS "post_link", CreationDate AS "entering_the_list_on" FROM PostHistory WHERE PostHistoryTypeId = 52 ORDER BY CreationDate DESC LIMIT 100 | [
6943,
2274,
1802,
367,
45,
48,
357,
21352,
7311,
20396,
737,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
7054,
366,
298,
1586,
62,
1169,
62,
4868,
62,
261,
1,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
6740,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6943,
2274,
1802,
367,
45,
48,
357,
21352,
7311,
20396,
737,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
7054,
366,
298,
1586,
62,
1169,
62,
4868,
62,
261,
1,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
6740,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
1802
] |
list of patient ids of patients who were diagnosed with pancytopenia until 2104. | SELECT patient.uniquepid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'pancytopenia' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104') | [
4868,
286,
5827,
220,
2340,
286,
3871,
508,
547,
14641,
351,
3425,
948,
4852,
268,
544,
1566,
362,
13464,
13,
46506,
5827,
13,
403,
1557,
538,
312,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
13669,
13,
26029,
20850,
31712,
312,
16034,
13669,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
79,
3883,
4852,
268,
544,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
19841,
705,
17,
13464,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
286,
5827,
220,
2340,
286,
3871,
508,
547,
14641,
351,
3425,
948,
4852,
268,
544,
1566,
362,
13464,
13,
46506,
5827,
13,
403,
1557,
538,
312,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
13669,
13,
26029,
20850,
31712,
312,
16034,
13669,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
79,
3883,
4852,
268,
544,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
19841,
705,
17,
13464,
11537
] |
What date were there more than 19,600 people in attendance? | SELECT "Date" FROM table_78480 WHERE "Attendance" > '19,600' | [
2061,
3128,
547,
612,
517,
621,
678,
11,
8054,
661,
287,
14858,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3695,
22148,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1129,
11,
8054,
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,
3128,
547,
612,
517,
621,
678,
11,
8054,
661,
287,
14858,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3695,
22148,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1129,
11,
8054,
6
] |
Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4? | SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-4" | [
8241,
373,
262,
6125,
287,
1830,
625,
7618,
11,
706,
3158,
1467,
11,
290,
1719,
257,
1700,
286,
2319,
12,
1238,
12,
19,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2857,
33411,
983,
1875,
7618,
5357,
730,
65,
3728,
1875,
1467,
5357,
1700,
796,
366,
1821,
12,
1238,
12,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
287,
1830,
625,
7618,
11,
706,
3158,
1467,
11,
290,
1719,
257,
1700,
286,
2319,
12,
1238,
12,
19,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2857,
33411,
983,
1875,
7618,
5357,
730,
65,
3728,
1875,
1467,
5357,
1700,
796,
366,
1821,
12,
1238,
12,
19,
1
] |
What years won when the To par is more than 13? | SELECT "Year(s) won" FROM table_14480 WHERE "To par" > '13' | [
2061,
812,
1839,
618,
262,
1675,
1582,
318,
517,
621,
1511,
30,
46506,
366,
17688,
7,
82,
8,
1839,
1,
16034,
3084,
62,
18444,
1795,
33411,
366,
2514,
1582,
1,
1875,
705,
1485,
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,
812,
1839,
618,
262,
1675,
1582,
318,
517,
621,
1511,
30,
46506,
366,
17688,
7,
82,
8,
1839,
1,
16034,
3084,
62,
18444,
1795,
33411,
366,
2514,
1582,
1,
1875,
705,
1485,
6
] |
Which part fault requires the most number of skills to fix? List part id and name. | SELECT T1.part_id, T1.part_name FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id JOIN Skills_Required_To_Fix AS T3 ON T2.part_fault_id = T3.part_fault_id GROUP BY T1.part_id ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
636,
8046,
4433,
262,
749,
1271,
286,
4678,
284,
4259,
30,
7343,
636,
4686,
290,
1438,
13,
46506,
309,
16,
13,
3911,
62,
312,
11,
309,
16,
13,
3911,
62,
3672,
16034,
22349,
7054,
309,
16,
32357,
1268,
2142,
62,
37,
13185,
7054,
309,
17,
6177,
309,
16,
13,
3911,
62,
312,
796,
309,
17,
13,
3911,
62,
312,
32357,
1268,
20389,
62,
37374,
62,
2514,
62,
22743,
7054,
309,
18,
6177,
309,
17,
13,
3911,
62,
69,
1721,
62,
312,
796,
309,
18,
13,
3911,
62,
69,
1721,
62,
312,
44441,
11050,
309,
16,
13,
3911,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
636,
8046,
4433,
262,
749,
1271,
286,
4678,
284,
4259,
30,
7343,
636,
4686,
290,
1438,
13,
46506,
309,
16,
13,
3911,
62,
312,
11,
309,
16,
13,
3911,
62,
3672,
16034,
22349,
7054,
309,
16,
32357,
1268,
2142,
62,
37,
13185,
7054,
309,
17,
6177,
309,
16,
13,
3911,
62,
312,
796,
309,
17,
13,
3911,
62,
312,
32357,
1268,
20389,
62,
37374,
62,
2514,
62,
22743,
7054,
309,
18,
6177,
309,
17,
13,
3911,
62,
69,
1721,
62,
312,
796,
309,
18,
13,
3911,
62,
69,
1721,
62,
312,
44441,
11050,
309,
16,
13,
3911,
62,
312
] |
What machine did susan jenness trophy earn the trophy? | SELECT "Machine" FROM table_6458 WHERE "Trophy" = 'susan jenness trophy' | [
2061,
4572,
750,
2341,
272,
474,
268,
1108,
16383,
5160,
262,
16383,
30,
46506,
366,
37573,
1,
16034,
3084,
62,
21,
29334,
33411,
366,
44095,
6883,
1,
796,
705,
82,
385,
272,
474,
268,
1108,
16383,
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,
4572,
750,
2341,
272,
474,
268,
1108,
16383,
5160,
262,
16383,
30,
46506,
366,
37573,
1,
16034,
3084,
62,
21,
29334,
33411,
366,
44095,
6883,
1,
796,
705,
82,
385,
272,
474,
268,
1108,
16383,
6
] |
What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585? | SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = "china" AND main_span_feet = "2,585" | [
2061,
318,
262,
8774,
11506,
286,
262,
7696,
422,
2807,
351,
257,
6280,
284,
1280,
286,
2211,
290,
8774,
11506,
3625,
286,
362,
11,
38905,
30,
46506,
1388,
62,
12626,
62,
4164,
411,
16034,
3084,
62,
3672,
62,
1954,
33411,
614,
62,
1462,
62,
9654,
796,
2211,
5357,
1499,
796,
366,
354,
1437,
1,
5357,
1388,
62,
12626,
62,
39690,
796,
366,
17,
11,
38905,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8774,
11506,
286,
262,
7696,
422,
2807,
351,
257,
6280,
284,
1280,
286,
2211,
290,
8774,
11506,
3625,
286,
362,
11,
38905,
30,
46506,
1388,
62,
12626,
62,
4164,
411,
16034,
3084,
62,
3672,
62,
1954,
33411,
614,
62,
1462,
62,
9654,
796,
2211,
5357,
1499,
796,
366,
354,
1437,
1,
5357,
1388,
62,
12626,
62,
39690,
796,
366,
17,
11,
38905,
1
] |
What is the Home Ground with the Location n/a for the Club kcdrsc? | SELECT home_ground FROM table_name_39 WHERE location = "n/a" AND club = "kcdrsc" | [
2061,
318,
262,
5995,
13706,
351,
262,
13397,
299,
14,
64,
329,
262,
6289,
479,
66,
7109,
1416,
30,
46506,
1363,
62,
2833,
16034,
3084,
62,
3672,
62,
2670,
33411,
4067,
796,
366,
77,
14,
64,
1,
5357,
3430,
796,
366,
74,
66,
7109,
1416,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5995,
13706,
351,
262,
13397,
299,
14,
64,
329,
262,
6289,
479,
66,
7109,
1416,
30,
46506,
1363,
62,
2833,
16034,
3084,
62,
3672,
62,
2670,
33411,
4067,
796,
366,
77,
14,
64,
1,
5357,
3430,
796,
366,
74,
66,
7109,
1416,
1
] |
when did patient 005-19985 get admitted to the hospital via the emergency department in this year for the last time? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '005-19985' AND patient.hospitaladmitsource = 'emergency department' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1 | [
12518,
750,
5827,
3571,
20,
12,
21113,
20,
651,
6848,
284,
262,
4436,
2884,
262,
6334,
5011,
287,
428,
614,
329,
262,
938,
640,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
22544,
12,
21113,
20,
6,
5357,
5827,
13,
49257,
324,
24883,
1668,
796,
705,
24677,
4949,
5011,
6,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
49257,
324,
20124,
524,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
15,
614,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
750,
5827,
3571,
20,
12,
21113,
20,
651,
6848,
284,
262,
4436,
2884,
262,
6334,
5011,
287,
428,
614,
329,
262,
938,
640,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
22544,
12,
21113,
20,
6,
5357,
5827,
13,
49257,
324,
24883,
1668,
796,
705,
24677,
4949,
5011,
6,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
49257,
324,
20124,
524,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
15,
614,
11537
] |
What is the Party of District of Illinois 19 with an Incumbent First elected in 1996? | SELECT "Party" FROM table_78702 WHERE "First elected" = '1996' AND "District" = 'illinois 19' | [
2061,
318,
262,
3615,
286,
5665,
286,
9486,
678,
351,
281,
3457,
2178,
298,
3274,
7018,
287,
8235,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
3695,
36680,
33411,
366,
5962,
7018,
1,
796,
705,
22288,
6,
5357,
366,
44857,
1,
796,
705,
359,
8981,
678,
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
] | [
2061,
318,
262,
3615,
286,
5665,
286,
9486,
678,
351,
281,
3457,
2178,
298,
3274,
7018,
287,
8235,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
3695,
36680,
33411,
366,
5962,
7018,
1,
796,
705,
22288,
6,
5357,
366,
44857,
1,
796,
705,
359,
8981,
678,
6
] |
Return a bar chart about the distribution of Date_of_Birth and Height , and could you list by the Height in asc? | SELECT Date_of_Birth, Height FROM people ORDER BY Height | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
7536,
62,
1659,
62,
38480,
290,
27280,
837,
290,
714,
345,
1351,
416,
262,
27280,
287,
10570,
30,
46506,
7536,
62,
1659,
62,
38480,
11,
27280,
16034,
661,
38678,
11050,
27280
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
7536,
62,
1659,
62,
38480,
290,
27280,
837,
290,
714,
345,
1351,
416,
262,
27280,
287,
10570,
30,
46506,
7536,
62,
1659,
62,
38480,
11,
27280,
16034,
661,
38678,
11050,
27280
] |
Which bike had fewer than 23 laps and a grid number of 4? | SELECT "Bike" FROM table_41336 WHERE "Laps" < '23' AND "Grid" = '4' | [
13828,
7161,
550,
7380,
621,
2242,
24590,
290,
257,
10706,
1271,
286,
604,
30,
46506,
366,
33,
522,
1,
16034,
3084,
62,
44103,
2623,
33411,
366,
43,
1686,
1,
1279,
705,
1954,
6,
5357,
366,
41339,
1,
796,
705,
19,
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
] | [
13828,
7161,
550,
7380,
621,
2242,
24590,
290,
257,
10706,
1271,
286,
604,
30,
46506,
366,
33,
522,
1,
16034,
3084,
62,
44103,
2623,
33411,
366,
43,
1686,
1,
1279,
705,
1954,
6,
5357,
366,
41339,
1,
796,
705,
19,
6
] |
what is the number of registered female voters where the percentage is 108.6% | SELECT "Enrolled women" FROM table_27318 WHERE "E/VAP ratio Women" = '108.6%' | [
10919,
318,
262,
1271,
286,
6823,
4048,
4446,
810,
262,
5873,
318,
15495,
13,
21,
4,
46506,
366,
4834,
8375,
1466,
1,
16034,
3084,
62,
27367,
1507,
33411,
366,
36,
14,
53,
2969,
8064,
6926,
1,
796,
705,
15711,
13,
21,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
6823,
4048,
4446,
810,
262,
5873,
318,
15495,
13,
21,
4,
46506,
366,
4834,
8375,
1466,
1,
16034,
3084,
62,
27367,
1507,
33411,
366,
36,
14,
53,
2969,
8064,
6926,
1,
796,
705,
15711,
13,
21,
4,
6
] |
had ever been the heartrate of patient 016-6009 been ever less than 94.0 in 11/this year? | SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-6009')) AND vitalperiodic.heartrate < 94.0 AND NOT vitalperiodic.heartrate IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', vitalperiodic.observationtime) = '11' | [
18108,
1683,
587,
262,
2612,
4873,
286,
5827,
5534,
21,
12,
8054,
24,
587,
1683,
1342,
621,
10048,
13,
15,
287,
1367,
14,
5661,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
8054,
24,
6,
4008,
5357,
9204,
41007,
291,
13,
11499,
4873,
1279
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1683,
587,
262,
2612,
4873,
286,
5827,
5534,
21,
12,
8054,
24,
587,
1683,
1342,
621,
10048,
13,
15,
287,
1367,
14,
5661,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
8054,
24,
6,
4008,
5357,
9204,
41007,
291,
13,
11499,
4873,
1279
] |
What date were the high rebounds Evans (14)? | SELECT date FROM table_name_74 WHERE high_rebounds = "evans (14)" | [
2061,
3128,
547,
262,
1029,
18841,
13922,
357,
1415,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
4524,
33411,
1029,
62,
34806,
3733,
796,
366,
1990,
504,
357,
1415,
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
] | [
2061,
3128,
547,
262,
1029,
18841,
13922,
357,
1415,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
4524,
33411,
1029,
62,
34806,
3733,
796,
366,
1990,
504,
357,
1415,
16725
] |
How many teams scored exactly 38 points | SELECT COUNT("Team") FROM table_19215 WHERE "Points For" = '38' | [
2437,
867,
3466,
7781,
3446,
4353,
2173,
46506,
327,
28270,
7203,
15592,
4943,
16034,
3084,
62,
17477,
1314,
33411,
366,
40710,
1114,
1,
796,
705,
2548,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3466,
7781,
3446,
4353,
2173,
46506,
327,
28270,
7203,
15592,
4943,
16034,
3084,
62,
17477,
1314,
33411,
366,
40710,
1114,
1,
796,
705,
2548,
6
] |
Which team had a 2008-3 2008 draft? | SELECT "School/Club Team" FROM table_53486 WHERE "Draft" = '2008-3 2008' | [
13828,
1074,
550,
257,
3648,
12,
18,
3648,
4538,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
20,
2682,
4521,
33411,
366,
37741,
1,
796,
705,
11528,
12,
18,
3648,
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
] | [
13828,
1074,
550,
257,
3648,
12,
18,
3648,
4538,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
20,
2682,
4521,
33411,
366,
37741,
1,
796,
705,
11528,
12,
18,
3648,
6
] |
Please show the employee last names that serves no more than 20 customers. | SELECT T1.lastname FROM customer AS T1 JOIN employee AS T2 ON T1.supportrepid = T2.employeeid GROUP BY T1.supportrepid HAVING COUNT(*) <= 20 | [
5492,
905,
262,
6538,
938,
3891,
326,
9179,
645,
517,
621,
1160,
4297,
13,
46506,
309,
16,
13,
12957,
3672,
16034,
6491,
7054,
309,
16,
32357,
1268,
6538,
7054,
309,
17,
6177,
309,
16,
13,
11284,
7856,
312,
796,
309,
17,
13,
7033,
1453,
312,
44441,
11050,
309,
16,
13,
11284,
7856,
312,
367,
10116,
2751,
327,
28270,
7,
28104,
19841,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
905,
262,
6538,
938,
3891,
326,
9179,
645,
517,
621,
1160,
4297,
13,
46506,
309,
16,
13,
12957,
3672,
16034,
6491,
7054,
309,
16,
32357,
1268,
6538,
7054,
309,
17,
6177,
309,
16,
13,
11284,
7856,
312,
796,
309,
17,
13,
7033,
1453,
312,
44441,
11050,
309,
16,
13,
11284,
7856,
312,
367,
10116,
2751,
327,
28270,
7,
28104,
19841,
1160
] |
In which round was Jerry Butler chosen? | SELECT round FROM table_name_58 WHERE player = "jerry butler" | [
818,
543,
2835,
373,
13075,
17389,
7147,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3365,
33411,
2137,
796,
366,
73,
6996,
475,
1754,
1
] | [
1,
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,
2835,
373,
13075,
17389,
7147,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3365,
33411,
2137,
796,
366,
73,
6996,
475,
1754,
1
] |
Which award was nominated for in 2000? | SELECT award FROM table_name_37 WHERE year = 2000 AND result = "nominated" | [
13828,
5764,
373,
19332,
329,
287,
4751,
30,
46506,
5764,
16034,
3084,
62,
3672,
62,
2718,
33411,
614,
796,
4751,
5357,
1255,
796,
366,
26601,
3898,
1
] | [
1,
1,
1,
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,
5764,
373,
19332,
329,
287,
4751,
30,
46506,
5764,
16034,
3084,
62,
3672,
62,
2718,
33411,
614,
796,
4751,
5357,
1255,
796,
366,
26601,
3898,
1
] |
Who came in 3rd when Nicolai Klindt won? | SELECT 3 AS rd_place FROM table_name_2 WHERE winners = "nicolai klindt" | [
8241,
1625,
287,
513,
4372,
618,
40513,
1872,
14770,
521,
83,
1839,
30,
46506,
513,
7054,
374,
67,
62,
5372,
16034,
3084,
62,
3672,
62,
17,
33411,
14591,
796,
366,
6988,
349,
1872,
479,
75,
521,
83,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1625,
287,
513,
4372,
618,
40513,
1872,
14770,
521,
83,
1839,
30,
46506,
513,
7054,
374,
67,
62,
5372,
16034,
3084,
62,
3672,
62,
17,
33411,
14591,
796,
366,
6988,
349,
1872,
479,
75,
521,
83,
1
] |
Which entrant before 1965 scored more than 0 point with the lotus 25 chassis? | SELECT entrant FROM table_name_23 WHERE year < 1965 AND points > 0 AND chassis = "lotus 25" | [
13828,
920,
5250,
878,
17672,
7781,
517,
621,
657,
966,
351,
262,
1256,
385,
1679,
24587,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
1954,
33411,
614,
1279,
17672,
5357,
2173,
1875,
657,
5357,
24587,
796,
366,
26487,
385,
1679,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
920,
5250,
878,
17672,
7781,
517,
621,
657,
966,
351,
262,
1256,
385,
1679,
24587,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
1954,
33411,
614,
1279,
17672,
5357,
2173,
1875,
657,
5357,
24587,
796,
366,
26487,
385,
1679,
1
] |
Among all the claims, which claims have a claimed amount larger than the average? Please Bin date the claim was made into week day interval and count them to show a bar chart, and could you list in asc by the total number? | SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims) ORDER BY COUNT(Date_Claim_Made) | [
14311,
477,
262,
3667,
11,
543,
3667,
423,
257,
4752,
2033,
4025,
621,
262,
2811,
30,
4222,
20828,
3128,
262,
1624,
373,
925,
656,
1285,
1110,
16654,
290,
954,
606,
284,
905,
257,
2318,
8262,
11,
290,
714,
345,
1351,
287,
10570,
416,
262,
2472,
1271,
30,
46506,
7536,
62,
44819,
62,
24616,
11,
327,
28270,
7,
10430,
62,
44819,
62,
24616,
8,
16034,
36880,
33411,
26308,
62,
44819,
276,
1875,
357,
46506,
35224,
7,
31264,
62,
44819,
276,
8,
16034,
36880,
8,
38678,
11050,
327,
28270,
7,
10430,
62,
44819,
62,
24616,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14311,
477,
262,
3667,
11,
543,
3667,
423,
257,
4752,
2033,
4025,
621,
262,
2811,
30,
4222,
20828,
3128,
262,
1624,
373,
925,
656,
1285,
1110,
16654,
290,
954,
606,
284,
905,
257,
2318,
8262,
11,
290,
714,
345,
1351,
287,
10570,
416,
262,
2472,
1271,
30,
46506,
7536,
62,
44819,
62,
24616,
11,
327,
28270,
7,
10430,
62,
44819,
62,
24616,
8,
16034,
36880,
33411,
26308,
62,
44819,
276,
1875,
357,
46506,
35224,
7,
31264,
62,
44819,
276,
8,
16034,
36880,
8,
38678,
11050,
327,
28270,
7,
10430,
62,
44819,
62,
24616,
8
] |
How many of my answers were accepted on different days. | SELECT Votes.CreationDate, COUNT(*) AS Num FROM Posts INNER JOIN Votes ON Votes.PostId = Posts.Id WHERE Posts.OwnerUserId = @UserId AND Votes.VoteTypeId = 1 GROUP BY Votes.CreationDate ORDER BY Votes.CreationDate | [
2437,
867,
286,
616,
7429,
547,
6292,
319,
1180,
1528,
13,
46506,
39584,
13,
12443,
341,
10430,
11,
327,
28270,
7,
28104,
7054,
31835,
16034,
12043,
3268,
21479,
32357,
1268,
39584,
6177,
39584,
13,
6307,
7390,
796,
12043,
13,
7390,
33411,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390,
5357,
39584,
13,
37394,
6030,
7390,
796,
352,
44441,
11050,
39584,
13,
12443,
341,
10430,
38678,
11050,
39584,
13,
12443,
341,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
286,
616,
7429,
547,
6292,
319,
1180,
1528,
13,
46506,
39584,
13,
12443,
341,
10430,
11,
327,
28270,
7,
28104,
7054,
31835,
16034,
12043,
3268,
21479,
32357,
1268,
39584,
6177,
39584,
13,
6307,
7390,
796,
12043,
13,
7390,
33411,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390,
5357,
39584,
13,
37394,
6030,
7390,
796,
352,
44441,
11050,
39584,
13,
12443,
341,
10430,
38678,
11050,
39584,
13,
12443,
341,
10430
] |
Date of 8 july 1994 involves which performer 1? | SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994" | [
10430,
286,
807,
474,
2062,
9162,
9018,
543,
26960,
352,
30,
46506,
26960,
62,
16,
16034,
3084,
62,
3672,
62,
3132,
33411,
3128,
796,
366,
23,
474,
2062,
9162,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10430,
286,
807,
474,
2062,
9162,
9018,
543,
26960,
352,
30,
46506,
26960,
62,
16,
16034,
3084,
62,
3672,
62,
3132,
33411,
3128,
796,
366,
23,
474,
2062,
9162,
1
] |
Show the residences that have both a player of gender 'M' and a player of gender 'F'. | SELECT residence FROM player WHERE gender = "M" INTERSECT SELECT residence FROM player WHERE gender = "F" | [
15307,
262,
45402,
326,
423,
1111,
257,
2137,
286,
5279,
705,
44,
6,
290,
257,
2137,
286,
5279,
705,
37,
4458,
46506,
11566,
16034,
2137,
33411,
5279,
796,
366,
44,
1,
17828,
4877,
9782,
33493,
11566,
16034,
2137,
33411,
5279,
796,
366,
37,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
45402,
326,
423,
1111,
257,
2137,
286,
5279,
705,
44,
6,
290,
257,
2137,
286,
5279,
705,
37,
4458,
46506,
11566,
16034,
2137,
33411,
5279,
796,
366,
44,
1,
17828,
4877,
9782,
33493,
11566,
16034,
2137,
33411,
5279,
796,
366,
37,
1
] |
tell me the daily maximum amount of esmolol in patient 016-3041's body in 03/last year? | SELECT MAX(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-3041')) AND intakeoutput.celllabel = 'esmolol' AND intakeoutput.cellpath LIKE '%intake%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', intakeoutput.intakeoutputtime) = '03' GROUP BY STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime) | [
33331,
502,
262,
4445,
5415,
2033,
286,
1658,
43132,
349,
287,
5827,
5534,
21,
12,
1270,
3901,
338,
1767,
287,
7643,
14,
12957,
614,
30,
46506,
25882,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
1270,
3901,
6,
4008,
5357,
10337,
22915,
13,
3846
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4445,
5415,
2033,
286,
1658,
43132,
349,
287,
5827,
5534,
21,
12,
1270,
3901,
338,
1767,
287,
7643,
14,
12957,
614,
30,
46506,
25882,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
1270,
3901,
6,
4008,
5357,
10337,
22915,
13,
3846
] |
i'd like a flight from BALTIMORE to BOSTON as early in the morning as i can | 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 = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.departure_time BETWEEN 0 AND 1200) AND flight.departure_time = (SELECT MIN(FLIGHTalias1.departure_time) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, flight AS FLIGHTalias1 WHERE (CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'BALTIMORE' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BOSTON' AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND FLIGHTalias1.departure_time BETWEEN 0 AND 1200) | [
72,
1549,
588,
257,
5474,
422,
347,
31429,
3955,
6965,
284,
347,
10892,
1340,
355,
1903,
287,
262,
3329,
355,
1312,
460,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
14808,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
1549,
588,
257,
5474,
422,
347,
31429,
3955,
6965,
284,
347,
10892,
1340,
355,
1903,
287,
262,
3329,
355,
1312,
460,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
14808,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672
] |
In what game did the New York Rangers play against the Chicago Black Hawks? | SELECT game FROM table_name_5 WHERE opponent = "chicago black hawks" | [
818,
644,
983,
750,
262,
968,
1971,
13804,
711,
1028,
262,
4842,
2619,
23445,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
20,
33411,
6125,
796,
366,
354,
4549,
2042,
23185,
591,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
983,
750,
262,
968,
1971,
13804,
711,
1028,
262,
4842,
2619,
23445,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
20,
33411,
6125,
796,
366,
354,
4549,
2042,
23185,
591,
1
] |
Which class Pos has a Team of jml team panoz? | SELECT "Class Pos." FROM table_67498 WHERE "Team" = 'jml team panoz' | [
13828,
1398,
18574,
468,
257,
4816,
286,
474,
4029,
1074,
3425,
8590,
30,
46506,
366,
9487,
18574,
526,
16034,
3084,
62,
3134,
36260,
33411,
366,
15592,
1,
796,
705,
73,
4029,
1074,
3425,
8590,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1398,
18574,
468,
257,
4816,
286,
474,
4029,
1074,
3425,
8590,
30,
46506,
366,
9487,
18574,
526,
16034,
3084,
62,
3134,
36260,
33411,
366,
15592,
1,
796,
705,
73,
4029,
1074,
3425,
8590,
6
] |
insulin requirement > 0.7 iu / kg / day or hba1c > 15 % | SELECT * FROM table_train_273 WHERE insulin_requirement > 0.7 OR hemoglobin_a1c_hba1c > 15 | [
1040,
11599,
9079,
1875,
657,
13,
22,
1312,
84,
1220,
14211,
1220,
1110,
393,
289,
7012,
16,
66,
1875,
1315,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
27367,
33411,
14588,
62,
8897,
24615,
1875,
657,
13,
22,
6375,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
1315
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1040,
11599,
9079,
1875,
657,
13,
22,
1312,
84,
1220,
14211,
1220,
1110,
393,
289,
7012,
16,
66,
1875,
1315,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
27367,
33411,
14588,
62,
8897,
24615,
1875,
657,
13,
22,
6375,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
1315
] |
Which organization has a Finish of 4th? | SELECT "Organization" FROM table_11373 WHERE "Finish" = '4th' | [
13828,
4009,
468,
257,
32585,
286,
604,
400,
30,
46506,
366,
26121,
1634,
1,
16034,
3084,
62,
1157,
34770,
33411,
366,
48658,
1,
796,
705,
19,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4009,
468,
257,
32585,
286,
604,
400,
30,
46506,
366,
26121,
1634,
1,
16034,
3084,
62,
1157,
34770,
33411,
366,
48658,
1,
796,
705,
19,
400,
6
] |
Who was the home team at the game with a decision of Mason and a visiting team of Dallas? | SELECT home FROM table_name_96 WHERE decision = "mason" AND visitor = "dallas" | [
8241,
373,
262,
1363,
1074,
379,
262,
983,
351,
257,
2551,
286,
14737,
290,
257,
10013,
1074,
286,
8533,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
4846,
33411,
2551,
796,
366,
76,
888,
1,
5357,
21493,
796,
366,
67,
7826,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
379,
262,
983,
351,
257,
2551,
286,
14737,
290,
257,
10013,
1074,
286,
8533,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
4846,
33411,
2551,
796,
366,
76,
888,
1,
5357,
21493,
796,
366,
67,
7826,
1
] |
What is the original of the ipa ( rio de janeiro )translation ki mo t a w n t t i t n ? | SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = "ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə" | [
2061,
318,
262,
2656,
286,
262,
20966,
64,
357,
374,
952,
390,
474,
1531,
7058,
1267,
41519,
47748,
6941,
256,
257,
266,
299,
256,
256,
1312,
256,
299,
5633,
46506,
11059,
16034,
3084,
62,
23516,
1314,
62,
19,
33411,
20966,
64,
17569,
27250,
62,
2934,
62,
73,
1531,
7058,
834,
796,
366,
4106,
136,
98,
6941,
136,
252,
133,
243,
45990,
83,
133,
122,
64,
133,
122,
133,
250,
136,
225,
86,
136,
225,
299,
133,
238,
220,
45990,
83,
133,
249,
134,
223,
133,
247,
256,
133,
243,
128,
102,
134,
239,
72,
45990,
83,
133,
250,
136,
225
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
286,
262,
20966,
64,
357,
374,
952,
390,
474,
1531,
7058,
1267,
41519,
47748,
6941,
256,
257,
266,
299,
256,
256,
1312,
256,
299,
5633,
46506,
11059,
16034,
3084,
62,
23516,
1314,
62,
19,
33411,
20966,
64,
17569,
27250,
62,
2934,
62,
73,
1531,
7058,
834,
796,
366,
4106,
136,
98,
6941,
136,
252,
133,
243,
45990,
83,
133,
122,
64,
133,
122,
133,
250,
136,
225,
86,
136,
225,
299,
133,
238,
220,
45990,
83,
133,
249,
134,
223,
133,
247,
256,
133,
243,
128,
102,
134,
239,
72,
45990,
83,
133,
250,
136,
225
] |
how many of tigerair 's destination cities are in china ? | SELECT COUNT("city") FROM table_204_49 WHERE "country" = 'china' | [
4919,
867,
286,
26241,
958,
705,
82,
10965,
4736,
389,
287,
442,
1437,
5633,
46506,
327,
28270,
7203,
19205,
4943,
16034,
3084,
62,
18638,
62,
2920,
33411,
366,
19315,
1,
796,
705,
354,
1437,
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
] | [
4919,
867,
286,
26241,
958,
705,
82,
10965,
4736,
389,
287,
442,
1437,
5633,
46506,
327,
28270,
7203,
19205,
4943,
16034,
3084,
62,
18638,
62,
2920,
33411,
366,
19315,
1,
796,
705,
354,
1437,
6
] |
What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium? | SELECT "Kickoff" FROM table_33108 WHERE "NFL.com Recap" = 'recap' AND "Week" < '17' AND "Game Site" = 'arrowhead stadium' | [
2061,
318,
262,
40532,
326,
468,
257,
5134,
13,
785,
26871,
11,
318,
2826,
878,
1285,
1596,
11,
290,
318,
2826,
379,
15452,
2256,
10308,
30,
46506,
366,
45390,
2364,
1,
16034,
3084,
62,
2091,
15711,
33411,
366,
32078,
13,
785,
46585,
1,
796,
705,
8344,
499,
6,
5357,
366,
20916,
1,
1279,
705,
1558,
6,
5357,
366,
8777,
14413,
1,
796,
705,
6018,
2256,
10308,
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,
1,
1,
1
] | [
2061,
318,
262,
40532,
326,
468,
257,
5134,
13,
785,
26871,
11,
318,
2826,
878,
1285,
1596,
11,
290,
318,
2826,
379,
15452,
2256,
10308,
30,
46506,
366,
45390,
2364,
1,
16034,
3084,
62,
2091,
15711,
33411,
366,
32078,
13,
785,
46585,
1,
796,
705,
8344,
499,
6,
5357,
366,
20916,
1,
1279,
705,
1558,
6,
5357,
366,
8777,
14413,
1,
796,
705,
6018,
2256,
10308,
6
] |
How many people in total have attended games at Kardinia Park? | SELECT SUM(crowd) FROM table_name_93 WHERE venue = "kardinia park" | [
2437,
867,
661,
287,
2472,
423,
9141,
1830,
379,
37875,
43168,
3250,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
14359,
796,
366,
74,
446,
43168,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
287,
2472,
423,
9141,
1830,
379,
37875,
43168,
3250,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
14359,
796,
366,
74,
446,
43168,
3952,
1
] |
count the number of patients whose ethnicity is black/cape verdean and year of birth is less than 1821? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.dob_year < "1821" | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
36435,
3326,
2934,
272,
290,
614,
286,
4082,
318,
1342,
621,
1248,
2481,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
9148,
8120,
14,
33177,
36,
33310,
7206,
1565,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1507,
2481,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
36435,
3326,
2934,
272,
290,
614,
286,
4082,
318,
1342,
621,
1248,
2481,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
9148,
8120,
14,
33177,
36,
33310,
7206,
1565,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1507,
2481,
1
] |
Does the sounddock series I v2 have dual voltage? | SELECT "Dual Voltage" FROM table_26797 WHERE "Version" = 'SoundDock series I v2' | [
13921,
262,
2128,
67,
735,
2168,
314,
410,
17,
423,
10668,
15004,
30,
46506,
366,
36248,
45444,
1,
16034,
3084,
62,
2075,
44673,
33411,
366,
14815,
1,
796,
705,
21369,
35,
735,
2168,
314,
410,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13921,
262,
2128,
67,
735,
2168,
314,
410,
17,
423,
10668,
15004,
30,
46506,
366,
36248,
45444,
1,
16034,
3084,
62,
2075,
44673,
33411,
366,
14815,
1,
796,
705,
21369,
35,
735,
2168,
314,
410,
17,
6
] |
Name the rank for 14.80 viewers | SELECT "Rank" FROM table_24191 WHERE "Viewers (in millions)" = '14.80' | [
5376,
262,
4279,
329,
1478,
13,
1795,
10209,
46506,
366,
27520,
1,
16034,
3084,
62,
1731,
26492,
33411,
366,
7680,
364,
357,
259,
5242,
16725,
796,
705,
1415,
13,
1795,
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,
4279,
329,
1478,
13,
1795,
10209,
46506,
366,
27520,
1,
16034,
3084,
62,
1731,
26492,
33411,
366,
7680,
364,
357,
259,
5242,
16725,
796,
705,
1415,
13,
1795,
6
] |
how many times is there more than 0 draws and more than 0 losses? | SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0 | [
4919,
867,
1661,
318,
612,
517,
621,
657,
14293,
290,
517,
621,
657,
9089,
30,
46506,
327,
28270,
7,
21542,
8,
16034,
3084,
62,
3672,
62,
20,
33411,
7428,
1875,
657,
5357,
2626,
1875,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1661,
318,
612,
517,
621,
657,
14293,
290,
517,
621,
657,
9089,
30,
46506,
327,
28270,
7,
21542,
8,
16034,
3084,
62,
3672,
62,
20,
33411,
7428,
1875,
657,
5357,
2626,
1875,
657
] |
What is the Halil Mutlu when the world record is olympic record and the 138kg is 167kg? | SELECT "Halil Mutlu ( TUR )" FROM table_14269 WHERE "World record" = 'olympic record' AND "138kg" = '167kg' | [
2061,
318,
262,
11023,
346,
13859,
2290,
618,
262,
995,
1700,
318,
267,
6760,
291,
1700,
290,
262,
21503,
10025,
318,
26118,
10025,
30,
46506,
366,
40202,
346,
13859,
2290,
357,
309,
4261,
1267,
1,
16034,
3084,
62,
1415,
26276,
33411,
366,
10603,
1700,
1,
796,
705,
3366,
3149,
291,
1700,
6,
5357,
366,
20107,
10025,
1,
796,
705,
21940,
10025,
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
] | [
2061,
318,
262,
11023,
346,
13859,
2290,
618,
262,
995,
1700,
318,
267,
6760,
291,
1700,
290,
262,
21503,
10025,
318,
26118,
10025,
30,
46506,
366,
40202,
346,
13859,
2290,
357,
309,
4261,
1267,
1,
16034,
3084,
62,
1415,
26276,
33411,
366,
10603,
1700,
1,
796,
705,
3366,
3149,
291,
1700,
6,
5357,
366,
20107,
10025,
1,
796,
705,
21940,
10025,
6
] |
Bar chart x axis type y axis the total number, and show X-axis in asc order. | SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY Type | [
10374,
8262,
2124,
16488,
2099,
331,
16488,
262,
2472,
1271,
11,
290,
905,
1395,
12,
22704,
287,
10570,
1502,
13,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
4074,
44441,
11050,
5994,
38678,
11050,
5994
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
2099,
331,
16488,
262,
2472,
1271,
11,
290,
905,
1395,
12,
22704,
287,
10570,
1502,
13,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
4074,
44441,
11050,
5994,
38678,
11050,
5994
] |
Check for profanity in usernames. | SELECT Id AS "user_link", DisplayName FROM Users WHERE LOWER(DisplayName) LIKE '%##Keyword##%' | [
9787,
329,
1534,
19689,
287,
514,
1142,
1047,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
16531,
5376,
16034,
18987,
33411,
406,
36048,
7,
23114,
5376,
8,
34178,
705,
4,
2235,
9218,
4775,
2235,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9787,
329,
1534,
19689,
287,
514,
1142,
1047,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
16531,
5376,
16034,
18987,
33411,
406,
36048,
7,
23114,
5376,
8,
34178,
705,
4,
2235,
9218,
4775,
2235,
4,
6
] |
i was wondering what patient 15754's average value of temperature c (calc) on 09/05/2104 was? | SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15754)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'temperature c (calc)' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) = '2104-09-05' | [
72,
373,
11263,
644,
5827,
1315,
41874,
338,
2811,
1988,
286,
5951,
269,
357,
9948,
66,
8,
319,
7769,
14,
2713,
14,
17,
13464,
373,
30,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1315,
41874,
4008,
5357,
8262,
31534,
13,
9186,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
373,
11263,
644,
5827,
1315,
41874,
338,
2811,
1988,
286,
5951,
269,
357,
9948,
66,
8,
319,
7769,
14,
2713,
14,
17,
13464,
373,
30,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1315,
41874,
4008,
5357,
8262,
31534,
13,
9186,
312
] |
what are the ways to consume sterile water? | SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'sterile water' | [
10919,
389,
262,
2842,
284,
15000,
38697,
1660,
30,
46506,
360,
8808,
1268,
4177,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
1706,
576,
1660,
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
] | [
10919,
389,
262,
2842,
284,
15000,
38697,
1660,
30,
46506,
360,
8808,
1268,
4177,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
1706,
576,
1660,
6
] |
how many black/cape verdean patients are on main drug type prescription? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND prescriptions.drug_type = "MAIN" | [
4919,
867,
2042,
14,
36435,
3326,
2934,
272,
3871,
389,
319,
1388,
2563,
2099,
15077,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
38546,
414,
796,
366,
9148,
8120,
14,
33177,
36,
33310,
7206,
1565,
1,
5357,
34092,
13,
30349,
62,
4906,
796,
366,
5673,
1268,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2042,
14,
36435,
3326,
2934,
272,
3871,
389,
319,
1388,
2563,
2099,
15077,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
38546,
414,
796,
366,
9148,
8120,
14,
33177,
36,
33310,
7206,
1565,
1,
5357,
34092,
13,
30349,
62,
4906,
796,
366,
5673,
1268,
1
] |
What CONCACAF Champions League has 57 (27) as the league? | SELECT "CONCACAF Champions League" FROM table_42020 WHERE "League" = '57 (27)' | [
2061,
39962,
2246,
8579,
6662,
4041,
468,
7632,
357,
1983,
8,
355,
262,
4652,
30,
46506,
366,
10943,
34,
2246,
8579,
6662,
4041,
1,
16034,
3084,
62,
27211,
1238,
33411,
366,
24623,
1,
796,
705,
3553,
357,
1983,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
39962,
2246,
8579,
6662,
4041,
468,
7632,
357,
1983,
8,
355,
262,
4652,
30,
46506,
366,
10943,
34,
2246,
8579,
6662,
4041,
1,
16034,
3084,
62,
27211,
1238,
33411,
366,
24623,
1,
796,
705,
3553,
357,
1983,
33047
] |
how many times is the building type residential and the locale yashodham? | SELECT COUNT("Sr No") FROM table_13716 WHERE "Building Type" = 'residential' AND "Locale" = 'yashodham' | [
4919,
867,
1661,
318,
262,
2615,
2099,
12420,
290,
262,
36693,
331,
1077,
375,
2763,
30,
46506,
327,
28270,
7203,
50,
81,
1400,
4943,
16034,
3084,
62,
19708,
1433,
33411,
366,
25954,
5994,
1,
796,
705,
8154,
498,
6,
5357,
366,
33711,
1000,
1,
796,
705,
88,
1077,
375,
2763,
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
] | [
4919,
867,
1661,
318,
262,
2615,
2099,
12420,
290,
262,
36693,
331,
1077,
375,
2763,
30,
46506,
327,
28270,
7203,
50,
81,
1400,
4943,
16034,
3084,
62,
19708,
1433,
33411,
366,
25954,
5994,
1,
796,
705,
8154,
498,
6,
5357,
366,
33711,
1000,
1,
796,
705,
88,
1077,
375,
2763,
6
] |
show me ground transportation in DENVER | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DENVER' AND ground_service.city_code = city.city_code | [
12860,
502,
2323,
9358,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
2323,
62,
15271,
13,
19205,
62,
8189,
796,
1748,
13,
19205,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12860,
502,
2323,
9358,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
2323,
62,
15271,
13,
19205,
62,
8189,
796,
1748,
13,
19205,
62,
8189
] |
What is the earliest year that the building in sonnemannstra e/r ckertstra e, ostend was built with a height larger than 185 meters? | SELECT MIN(year_built) FROM table_name_26 WHERE location = "sonnemannstraße/rückertstraße, ostend" AND height__m_ > 185 | [
2061,
318,
262,
14555,
614,
326,
262,
2615,
287,
3367,
77,
368,
1236,
12044,
304,
14,
81,
269,
74,
861,
12044,
304,
11,
23619,
437,
373,
3170,
351,
257,
6001,
4025,
621,
22855,
10700,
30,
46506,
20625,
7,
1941,
62,
18780,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
4067,
796,
366,
1559,
77,
368,
1236,
12044,
39683,
68,
14,
81,
9116,
694,
861,
12044,
39683,
68,
11,
23619,
437,
1,
5357,
6001,
834,
76,
62,
1875,
22855
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
614,
326,
262,
2615,
287,
3367,
77,
368,
1236,
12044,
304,
14,
81,
269,
74,
861,
12044,
304,
11,
23619,
437,
373,
3170,
351,
257,
6001,
4025,
621,
22855,
10700,
30,
46506,
20625,
7,
1941,
62,
18780,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
4067,
796,
366,
1559,
77,
368,
1236,
12044,
39683,
68,
14,
81,
9116,
694,
861,
12044,
39683,
68,
11,
23619,
437,
1,
5357,
6001,
834,
76,
62,
1875,
22855
] |
Tell me the Australia march 17, 2005 | SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005" | [
24446,
502,
262,
4505,
9960,
1596,
11,
5075,
46506,
38132,
1373,
544,
16034,
3084,
62,
3672,
62,
5705,
33411,
474,
2674,
796,
366,
76,
998,
1596,
11,
5075,
1
] | [
1,
1,
1,
1,
1,
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,
4505,
9960,
1596,
11,
5075,
46506,
38132,
1373,
544,
16034,
3084,
62,
3672,
62,
5705,
33411,
474,
2674,
796,
366,
76,
998,
1596,
11,
5075,
1
] |
Show me a bar chart for what are the different budget type codes, and how many documents are there for each?, display by the x axis in ascending. | SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code ORDER BY Budget_Type_Code | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
1180,
4466,
2099,
12416,
11,
290,
703,
867,
4963,
389,
612,
329,
1123,
21747,
3359,
416,
262,
2124,
16488,
287,
41988,
13,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
4480,
62,
16870,
4541,
44441,
11050,
15401,
62,
6030,
62,
10669,
38678,
11050,
15401,
62,
6030,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
1180,
4466,
2099,
12416,
11,
290,
703,
867,
4963,
389,
612,
329,
1123,
21747,
3359,
416,
262,
2124,
16488,
287,
41988,
13,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
4480,
62,
16870,
4541,
44441,
11050,
15401,
62,
6030,
62,
10669,
38678,
11050,
15401,
62,
6030,
62,
10669
] |
What is Eric Johnson at in the poll where Karen Handel is at 12%? | SELECT eric_johnson FROM table_name_38 WHERE karen_handel = "12%" | [
2061,
318,
7651,
5030,
379,
287,
262,
3278,
810,
18678,
7157,
417,
318,
379,
1105,
4,
30,
46506,
1931,
291,
62,
30686,
1559,
16034,
3084,
62,
3672,
62,
2548,
33411,
479,
5757,
62,
4993,
417,
796,
366,
1065,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7651,
5030,
379,
287,
262,
3278,
810,
18678,
7157,
417,
318,
379,
1105,
4,
30,
46506,
1931,
291,
62,
30686,
1559,
16034,
3084,
62,
3672,
62,
2548,
33411,
479,
5757,
62,
4993,
417,
796,
366,
1065,
39658
] |
What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39? | SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39" | [
2061,
373,
262,
11849,
14505,
329,
49860,
11,
618,
262,
11849,
14505,
329,
12612,
45983,
2238,
373,
720,
43452,
13,
2670,
30,
46506,
300,
504,
278,
834,
9620,
62,
16034,
3084,
62,
3672,
62,
1899,
33411,
479,
44949,
1031,
2238,
834,
44299,
62,
796,
17971,
43452,
13,
2670,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11849,
14505,
329,
49860,
11,
618,
262,
11849,
14505,
329,
12612,
45983,
2238,
373,
720,
43452,
13,
2670,
30,
46506,
300,
504,
278,
834,
9620,
62,
16034,
3084,
62,
3672,
62,
1899,
33411,
479,
44949,
1031,
2238,
834,
44299,
62,
796,
17971,
43452,
13,
2670,
1
] |
Can you tell me the average Conference Finals that has Finals smaller than 5? | SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 5 | [
6090,
345,
1560,
502,
262,
2811,
8785,
19705,
326,
468,
19705,
4833,
621,
642,
30,
46506,
35224,
7,
41124,
62,
32089,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
18576,
1279,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
8785,
19705,
326,
468,
19705,
4833,
621,
642,
30,
46506,
35224,
7,
41124,
62,
32089,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
18576,
1279,
642
] |
Which record has 2:57 as the time? | SELECT "Record" FROM table_69885 WHERE "Time" = '2:57' | [
13828,
1700,
468,
362,
25,
3553,
355,
262,
640,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3388,
44230,
33411,
366,
7575,
1,
796,
705,
17,
25,
3553,
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,
1700,
468,
362,
25,
3553,
355,
262,
640,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3388,
44230,
33411,
366,
7575,
1,
796,
705,
17,
25,
3553,
6
] |
For those records from the products and each product's manufacturer, show me about the distribution of name and manufacturer , and group by attribute headquarter in a bar chart, I want to order by the X in desc. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
314,
765,
284,
1502,
416,
262,
1395,
287,
1715,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
314,
765,
284,
1502,
416,
262,
1395,
287,
1715,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376,
22196,
34
] |
Name the average ERP W and call sign of w237br | SELECT AVG("ERP W") FROM table_75360 WHERE "Call sign" = 'w237br' | [
5376,
262,
2811,
13793,
47,
370,
290,
869,
1051,
286,
266,
24693,
1671,
46506,
35224,
7203,
1137,
47,
370,
4943,
16034,
3084,
62,
2425,
15277,
33411,
366,
14134,
1051,
1,
796,
705,
86,
24693,
1671,
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,
2811,
13793,
47,
370,
290,
869,
1051,
286,
266,
24693,
1671,
46506,
35224,
7203,
1137,
47,
370,
4943,
16034,
3084,
62,
2425,
15277,
33411,
366,
14134,
1051,
1,
796,
705,
86,
24693,
1671,
6
] |
What competition has June 19, 2004 as the date? | SELECT "Competition" FROM table_75844 WHERE "Date" = 'june 19, 2004' | [
2061,
5449,
468,
2795,
678,
11,
5472,
355,
262,
3128,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
38569,
2598,
33411,
366,
10430,
1,
796,
705,
73,
1726,
678,
11,
5472,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5449,
468,
2795,
678,
11,
5472,
355,
262,
3128,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
38569,
2598,
33411,
366,
10430,
1,
796,
705,
73,
1726,
678,
11,
5472,
6
] |
How many players weight 95? | SELECT COUNT("Player") FROM table_18046 WHERE "Weight" = '95' | [
2437,
867,
1938,
3463,
6957,
30,
46506,
327,
28270,
7203,
14140,
4943,
16034,
3084,
62,
1507,
45438,
33411,
366,
25844,
1,
796,
705,
3865,
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
] | [
2437,
867,
1938,
3463,
6957,
30,
46506,
327,
28270,
7203,
14140,
4943,
16034,
3084,
62,
1507,
45438,
33411,
366,
25844,
1,
796,
705,
3865,
6
] |
Which participants won the silver medal for the Men's Doubles? | SELECT name FROM table_name_57 WHERE medal = "silver" AND event = "men's doubles" | [
13828,
6809,
1839,
262,
8465,
18279,
329,
262,
6065,
338,
5728,
7689,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3553,
33411,
18279,
796,
366,
40503,
1,
5357,
1785,
796,
366,
3653,
338,
21938,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6809,
1839,
262,
8465,
18279,
329,
262,
6065,
338,
5728,
7689,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3553,
33411,
18279,
796,
366,
40503,
1,
5357,
1785,
796,
366,
3653,
338,
21938,
1
] |
What is No. 10, when No. 1 is Noah, and when No. 9 is Carter? | SELECT "No. 10" FROM table_49610 WHERE "No. 1" = 'noah' AND "No. 9" = 'carter' | [
2061,
318,
1400,
13,
838,
11,
618,
1400,
13,
352,
318,
18394,
11,
290,
618,
1400,
13,
860,
318,
10831,
30,
46506,
366,
2949,
13,
838,
1,
16034,
3084,
62,
37747,
940,
33411,
366,
2949,
13,
352,
1,
796,
705,
3919,
993,
6,
5357,
366,
2949,
13,
860,
1,
796,
705,
66,
2571,
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
] | [
2061,
318,
1400,
13,
838,
11,
618,
1400,
13,
352,
318,
18394,
11,
290,
618,
1400,
13,
860,
318,
10831,
30,
46506,
366,
2949,
13,
838,
1,
16034,
3084,
62,
37747,
940,
33411,
366,
2949,
13,
352,
1,
796,
705,
3919,
993,
6,
5357,
366,
2949,
13,
860,
1,
796,
705,
66,
2571,
6
] |
How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4 | SELECT COUNT("Week") FROM table_36949 WHERE "Date" = 'september 8, 1980' AND "Attendance" > '55,045' | [
2437,
867,
33259,
389,
319,
384,
457,
1491,
807,
11,
7169,
290,
46502,
1817,
4025,
621,
5996,
11,
40350,
30,
18233,
604,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
30803,
2920,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
807,
11,
7169,
6,
5357,
366,
8086,
437,
590,
1,
1875,
705,
2816,
11,
40350,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33259,
389,
319,
384,
457,
1491,
807,
11,
7169,
290,
46502,
1817,
4025,
621,
5996,
11,
40350,
30,
18233,
604,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
30803,
2920,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
807,
11,
7169,
6,
5357,
366,
8086,
437,
590,
1,
1875,
705,
2816,
11,
40350,
6
] |
what was the number of patients who had been prescribed potassium chl 40 meq / 1000 ml d5w in 2103? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'potassium chl 40 meq / 1000 ml d5w' AND STRFTIME('%y', prescriptions.startdate) = '2103') | [
10919,
373,
262,
1271,
286,
3871,
508,
550,
587,
14798,
33156,
442,
75,
2319,
502,
80,
1220,
8576,
25962,
288,
20,
86,
287,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
34092,
13,
18108,
76,
62,
312,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
13059,
26663,
442,
75,
2319,
502,
80,
1220,
8576,
25962,
288,
20,
86,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
34092,
13,
9688,
4475,
8,
796,
705,
17,
15197,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
508,
550,
587,
14798,
33156,
442,
75,
2319,
502,
80,
1220,
8576,
25962,
288,
20,
86,
287,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
34092,
13,
18108,
76,
62,
312,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
13059,
26663,
442,
75,
2319,
502,
80,
1220,
8576,
25962,
288,
20,
86,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
34092,
13,
9688,
4475,
8,
796,
705,
17,
15197,
11537
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.