instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
did robert petty serve before josiah reeve ? | SELECT (SELECT "start of term" FROM table_203_321 WHERE "sheriff" = 'robert petty') < (SELECT "start of term" FROM table_203_321 WHERE "sheriff" = 'josiah reeve') | [
20839,
686,
4835,
25229,
4691,
878,
474,
418,
9520,
302,
44655,
5633,
46506,
357,
46506,
366,
9688,
286,
3381,
1,
16034,
3084,
62,
22416,
62,
36453,
33411,
366,
82,
372,
733,
1,
796,
705,
305,
4835,
25229,
11537,
1279,
357,
46506,
366,
9688,
286,
3381,
1,
16034,
3084,
62,
22416,
62,
36453,
33411,
366,
82,
372,
733,
1,
796,
705,
73,
418,
9520,
302,
44655,
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
] | [
20839,
686,
4835,
25229,
4691,
878,
474,
418,
9520,
302,
44655,
5633,
46506,
357,
46506,
366,
9688,
286,
3381,
1,
16034,
3084,
62,
22416,
62,
36453,
33411,
366,
82,
372,
733,
1,
796,
705,
305,
4835,
25229,
11537,
1279,
357,
46506,
366,
9688,
286,
3381,
1,
16034,
3084,
62,
22416,
62,
36453,
33411,
366,
82,
372,
733,
1,
796,
705,
73,
418,
9520,
302,
44655,
11537
] |
Give me the comparison about ID over the meter_700 by a bar chart, and could you display x axis from high to low order? | SELECT meter_700, ID FROM swimmer ORDER BY meter_700 DESC | [
23318,
502,
262,
7208,
546,
4522,
625,
262,
16430,
62,
9879,
416,
257,
2318,
8262,
11,
290,
714,
345,
3359,
2124,
16488,
422,
1029,
284,
1877,
1502,
30,
46506,
16430,
62,
9879,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
9879,
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
] | [
23318,
502,
262,
7208,
546,
4522,
625,
262,
16430,
62,
9879,
416,
257,
2318,
8262,
11,
290,
714,
345,
3359,
2124,
16488,
422,
1029,
284,
1877,
1502,
30,
46506,
16430,
62,
9879,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
9879,
22196,
34
] |
How many people hosted the show in the year when Chenoa ended up in fourth place? | SELECT COUNT(host) FROM table_1149495_1 WHERE fourth_place = "Chenoa" | [
2437,
867,
661,
12007,
262,
905,
287,
262,
614,
618,
12555,
12162,
4444,
510,
287,
5544,
1295,
30,
46506,
327,
28270,
7,
4774,
8,
16034,
3084,
62,
1157,
2920,
33781,
62,
16,
33411,
5544,
62,
5372,
796,
366,
34,
831,
12162,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12007,
262,
905,
287,
262,
614,
618,
12555,
12162,
4444,
510,
287,
5544,
1295,
30,
46506,
327,
28270,
7,
4774,
8,
16034,
3084,
62,
1157,
2920,
33781,
62,
16,
33411,
5544,
62,
5372,
796,
366,
34,
831,
12162,
1
] |
What duration is listed for Christian de la Fuente? | SELECT duration FROM table_11210576_3 WHERE actor = "Christian de la Fuente" | [
2061,
9478,
318,
5610,
329,
4302,
390,
8591,
13333,
21872,
30,
46506,
9478,
16034,
3084,
62,
14686,
940,
37452,
62,
18,
33411,
8674,
796,
366,
20298,
390,
8591,
13333,
21872,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
9478,
318,
5610,
329,
4302,
390,
8591,
13333,
21872,
30,
46506,
9478,
16034,
3084,
62,
14686,
940,
37452,
62,
18,
33411,
8674,
796,
366,
20298,
390,
8591,
13333,
21872,
1
] |
how many patients are aged below 86 with ventricular tachycardia as the primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "VENTRICULAR TACHYCARDIA" AND demographic.age < "86" | [
4919,
867,
3871,
389,
9722,
2174,
9849,
351,
7435,
41001,
256,
35586,
9517,
544,
355,
262,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
53,
3525,
41132,
37232,
309,
16219,
44816,
9795,
3539,
1,
5357,
16728,
13,
496,
1279,
366,
4521,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
389,
9722,
2174,
9849,
351,
7435,
41001,
256,
35586,
9517,
544,
355,
262,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
53,
3525,
41132,
37232,
309,
16219,
44816,
9795,
3539,
1,
5357,
16728,
13,
496,
1279,
366,
4521,
1
] |
A bar chart shows the distribution of meter_700 and meter_100 , list from low to high by the x-axis. | SELECT meter_700, meter_100 FROM swimmer ORDER BY meter_700 | [
32,
2318,
8262,
2523,
262,
6082,
286,
16430,
62,
9879,
290,
16430,
62,
3064,
837,
1351,
422,
1877,
284,
1029,
416,
262,
2124,
12,
22704,
13,
46506,
16430,
62,
9879,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
9879
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
16430,
62,
9879,
290,
16430,
62,
3064,
837,
1351,
422,
1877,
284,
1029,
416,
262,
2124,
12,
22704,
13,
46506,
16430,
62,
9879,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
9879
] |
Show all distinct lot details. | SELECT DISTINCT lot_details FROM LOTS | [
15307,
477,
7310,
1256,
3307,
13,
46506,
360,
8808,
1268,
4177,
1256,
62,
36604,
16034,
30314,
50
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
7310,
1256,
3307,
13,
46506,
360,
8808,
1268,
4177,
1256,
62,
36604,
16034,
30314,
50
] |
what is the score in the philadelphia team | SELECT COUNT("Score") FROM table_31451 WHERE "Team" = 'Philadelphia' | [
10919,
318,
262,
4776,
287,
262,
5206,
8273,
1074,
46506,
327,
28270,
7203,
26595,
4943,
16034,
3084,
62,
33638,
4349,
33411,
366,
15592,
1,
796,
705,
42349,
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
] | [
10919,
318,
262,
4776,
287,
262,
5206,
8273,
1074,
46506,
327,
28270,
7203,
26595,
4943,
16034,
3084,
62,
33638,
4349,
33411,
366,
15592,
1,
796,
705,
42349,
6
] |
What player is a kicker? | SELECT player FROM table_name_33 WHERE position = "kicker" | [
2061,
2137,
318,
257,
38297,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
2292,
796,
366,
74,
15799,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
318,
257,
38297,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
2292,
796,
366,
74,
15799,
1
] |
Which Venue that has an Attendance larger than 1,000, and a Result of scotland 12-20 samoa? | SELECT "Venue" FROM table_60020 WHERE "Attendance" > '1,000' AND "Result" = 'scotland 12-20 samoa' | [
13828,
9932,
518,
326,
468,
281,
46502,
590,
4025,
621,
352,
11,
830,
11,
290,
257,
25414,
286,
629,
313,
1044,
1105,
12,
1238,
6072,
12162,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
8054,
1238,
33411,
366,
8086,
437,
590,
1,
1875,
705,
16,
11,
830,
6,
5357,
366,
23004,
1,
796,
705,
1416,
313,
1044,
1105,
12,
1238,
6072,
12162,
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
] | [
13828,
9932,
518,
326,
468,
281,
46502,
590,
4025,
621,
352,
11,
830,
11,
290,
257,
25414,
286,
629,
313,
1044,
1105,
12,
1238,
6072,
12162,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
8054,
1238,
33411,
366,
8086,
437,
590,
1,
1875,
705,
16,
11,
830,
6,
5357,
366,
23004,
1,
796,
705,
1416,
313,
1044,
1105,
12,
1238,
6072,
12162,
6
] |
what is admission type and death status of subject name james sloan? | SELECT demographic.admission_type, demographic.expire_flag FROM demographic WHERE demographic.name = "James Sloan" | [
10919,
318,
13938,
2099,
290,
1918,
3722,
286,
2426,
1438,
474,
1047,
1017,
24611,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
14731,
43066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
2099,
290,
1918,
3722,
286,
2426,
1438,
474,
1047,
1017,
24611,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
14731,
43066,
1
] |
Find ACC_Road and the average of School_ID , and group by attribute ACC_Road, and visualize them by a bar chart. | SELECT ACC_Road, AVG(School_ID) FROM basketball_match GROUP BY ACC_Road | [
16742,
15859,
62,
29197,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
15859,
62,
29197,
11,
35224,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
29197
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
15859,
62,
29197,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
15859,
62,
29197,
11,
35224,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
29197
] |
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? | SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11" | [
2061,
1664,
86,
355,
262,
23772,
618,
262,
3862,
14,
9781,
1202,
373,
17661,
11,
290,
257,
24846,
286,
1367,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2598,
33411,
640,
62,
1186,
1202,
796,
366,
26000,
1166,
1,
5357,
10706,
796,
366,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1664,
86,
355,
262,
23772,
618,
262,
3862,
14,
9781,
1202,
373,
17661,
11,
290,
257,
24846,
286,
1367,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2598,
33411,
640,
62,
1186,
1202,
796,
366,
26000,
1166,
1,
5357,
10706,
796,
366,
1157,
1
] |
beauty and the beast won at least how many awards | SELECT COUNT(DISTINCT "academy award") FROM table_203_17 WHERE "film" = 'beauty and the beast' | [
40544,
88,
290,
262,
13824,
1839,
379,
1551,
703,
867,
13304,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
330,
324,
3065,
5764,
4943,
16034,
3084,
62,
22416,
62,
1558,
33411,
366,
26240,
1,
796,
705,
40544,
88,
290,
262,
13824,
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
] | [
40544,
88,
290,
262,
13824,
1839,
379,
1551,
703,
867,
13304,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
330,
324,
3065,
5764,
4943,
16034,
3084,
62,
22416,
62,
1558,
33411,
366,
26240,
1,
796,
705,
40544,
88,
290,
262,
13824,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a bar chart about the distribution of hire_date and the amount of hire_date bin hire_date by time. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
327,
28270,
7,
25374,
2200,
62,
35,
6158,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423,
1,
6375,
5550,
30709,
10979,
62,
2389,
1279,
29
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
327,
28270,
7,
25374,
2200,
62,
35,
6158,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423,
1,
6375,
5550,
30709,
10979,
62,
2389,
1279,
29
] |
What number with the opponent Fokker D.vii have with a time of 1655? | SELECT SUM("Number") FROM table_61369 WHERE "Opponent" = 'fokker d.vii' AND "Time" = '1655' | [
2061,
1271,
351,
262,
6125,
376,
482,
6122,
360,
13,
85,
4178,
423,
351,
257,
640,
286,
1467,
2816,
30,
46506,
35683,
7203,
15057,
4943,
16034,
3084,
62,
47512,
3388,
33411,
366,
27524,
3471,
1,
796,
705,
69,
482,
6122,
288,
13,
85,
4178,
6,
5357,
366,
7575,
1,
796,
705,
1433,
2816,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1271,
351,
262,
6125,
376,
482,
6122,
360,
13,
85,
4178,
423,
351,
257,
640,
286,
1467,
2816,
30,
46506,
35683,
7203,
15057,
4943,
16034,
3084,
62,
47512,
3388,
33411,
366,
27524,
3471,
1,
796,
705,
69,
482,
6122,
288,
13,
85,
4178,
6,
5357,
366,
7575,
1,
796,
705,
1433,
2816,
6
] |
The record of 7-3 had the largest attendance of what? | SELECT MAX("Attendance") FROM table_16064 WHERE "Record" = '7-3' | [
464,
1700,
286,
767,
12,
18,
550,
262,
4387,
14858,
286,
644,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
14198,
2414,
33411,
366,
23739,
1,
796,
705,
22,
12,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
1700,
286,
767,
12,
18,
550,
262,
4387,
14858,
286,
644,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
14198,
2414,
33411,
366,
23739,
1,
796,
705,
22,
12,
18,
6
] |
What is Date, when Set 1 is '20:22'? | SELECT "Date" FROM table_61475 WHERE "Set 1" = '20:22' | [
2061,
318,
7536,
11,
618,
5345,
352,
318,
705,
1238,
25,
1828,
30960,
46506,
366,
10430,
1,
16034,
3084,
62,
46841,
2425,
33411,
366,
7248,
352,
1,
796,
705,
1238,
25,
1828,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
7536,
11,
618,
5345,
352,
318,
705,
1238,
25,
1828,
30960,
46506,
366,
10430,
1,
16034,
3084,
62,
46841,
2425,
33411,
366,
7248,
352,
1,
796,
705,
1238,
25,
1828,
6
] |
Find the number of students living in each city with a bar chart, and display in ascending by the Y. | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*) | [
16742,
262,
1271,
286,
2444,
2877,
287,
1123,
1748,
351,
257,
2318,
8262,
11,
290,
3359,
287,
41988,
416,
262,
575,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
327,
28270,
7,
28104
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
2444,
2877,
287,
1123,
1748,
351,
257,
2318,
8262,
11,
290,
3359,
287,
41988,
416,
262,
575,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
327,
28270,
7,
28104
] |
What edition of congress for member-elect richard p. giles? | SELECT "Congress" FROM table_19164 WHERE "Member-elect" = 'Richard P. Giles' | [
2061,
8313,
286,
8681,
329,
2888,
12,
9509,
5527,
446,
279,
13,
308,
2915,
30,
46506,
366,
25916,
1,
16034,
3084,
62,
1129,
23237,
33411,
366,
27608,
12,
9509,
1,
796,
705,
22245,
350,
13,
37538,
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,
8313,
286,
8681,
329,
2888,
12,
9509,
5527,
446,
279,
13,
308,
2915,
30,
46506,
366,
25916,
1,
16034,
3084,
62,
1129,
23237,
33411,
366,
27608,
12,
9509,
1,
796,
705,
22245,
350,
13,
37538,
6
] |
What Points have a Song of 'this time' and a Draw smaller than 5? | SELECT COUNT("Points") FROM table_41322 WHERE "Song" = 'this time' AND "Draw" < '5' | [
2061,
11045,
423,
257,
10940,
286,
705,
5661,
640,
6,
290,
257,
15315,
4833,
621,
642,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
44103,
1828,
33411,
366,
44241,
1,
796,
705,
5661,
640,
6,
5357,
366,
25302,
1,
1279,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
11045,
423,
257,
10940,
286,
705,
5661,
640,
6,
290,
257,
15315,
4833,
621,
642,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
44103,
1828,
33411,
366,
44241,
1,
796,
705,
5661,
640,
6,
5357,
366,
25302,
1,
1279,
705,
20,
6
] |
What was the result of the game on January 5, 1926? | SELECT "Result" FROM table_43392 WHERE "Date" = 'january 5, 1926' | [
2061,
373,
262,
1255,
286,
262,
983,
319,
3269,
642,
11,
38525,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
42117,
5892,
33411,
366,
10430,
1,
796,
705,
13881,
2838,
642,
11,
38525,
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,
373,
262,
1255,
286,
262,
983,
319,
3269,
642,
11,
38525,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
42117,
5892,
33411,
366,
10430,
1,
796,
705,
13881,
2838,
642,
11,
38525,
6
] |
What Date has a Circuit of cremona? | SELECT "Date" FROM table_60591 WHERE "Circuit" = 'cremona' | [
2061,
7536,
468,
257,
13588,
286,
1126,
2144,
64,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1899,
48952,
33411,
366,
31560,
5013,
1,
796,
705,
7513,
2144,
64,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7536,
468,
257,
13588,
286,
1126,
2144,
64,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1899,
48952,
33411,
366,
31560,
5013,
1,
796,
705,
7513,
2144,
64,
6
] |
When dxcc-tv is the call sign how many station types are there? | SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DXCC-TV" | [
2215,
44332,
535,
12,
14981,
318,
262,
869,
1051,
703,
867,
4429,
3858,
389,
612,
30,
46506,
327,
28270,
7,
17529,
62,
4906,
8,
16034,
3084,
62,
1954,
2670,
2920,
1238,
62,
16,
33411,
3848,
570,
796,
366,
36227,
4093,
12,
6849,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
44332,
535,
12,
14981,
318,
262,
869,
1051,
703,
867,
4429,
3858,
389,
612,
30,
46506,
327,
28270,
7,
17529,
62,
4906,
8,
16034,
3084,
62,
1954,
2670,
2920,
1238,
62,
16,
33411,
3848,
570,
796,
366,
36227,
4093,
12,
6849,
1
] |
Who is the second performer in episode 5? | SELECT "Performer 2" FROM table_19691 WHERE "Episode" = '5' | [
8241,
318,
262,
1218,
26960,
287,
4471,
642,
30,
46506,
366,
5990,
16354,
362,
1,
16034,
3084,
62,
38391,
16,
33411,
366,
23758,
1,
796,
705,
20,
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
] | [
8241,
318,
262,
1218,
26960,
287,
4471,
642,
30,
46506,
366,
5990,
16354,
362,
1,
16034,
3084,
62,
38391,
16,
33411,
366,
23758,
1,
796,
705,
20,
6
] |
What was the TO par for the player who scored 68-71=139? | SELECT "To par" FROM table_78698 WHERE "Score" = '68-71=139' | [
2061,
373,
262,
5390,
1582,
329,
262,
2137,
508,
7781,
8257,
12,
4869,
28,
20219,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
3695,
39357,
33411,
366,
26595,
1,
796,
705,
3104,
12,
4869,
28,
20219,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5390,
1582,
329,
262,
2137,
508,
7781,
8257,
12,
4869,
28,
20219,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
3695,
39357,
33411,
366,
26595,
1,
796,
705,
3104,
12,
4869,
28,
20219,
6
] |
Name the race caller for jim mckay and howard cosell | SELECT race_caller FROM table_22514845_5 WHERE s_host = "Jim McKay" AND reporters = "Howard Cosell" | [
5376,
262,
3234,
24955,
329,
474,
320,
285,
694,
323,
290,
703,
446,
269,
577,
297,
46506,
3234,
62,
13345,
263,
16034,
3084,
62,
18182,
18294,
2231,
62,
20,
33411,
264,
62,
4774,
796,
366,
18050,
37946,
1,
5357,
7638,
796,
366,
32434,
327,
577,
297,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
24955,
329,
474,
320,
285,
694,
323,
290,
703,
446,
269,
577,
297,
46506,
3234,
62,
13345,
263,
16034,
3084,
62,
18182,
18294,
2231,
62,
20,
33411,
264,
62,
4774,
796,
366,
18050,
37946,
1,
5357,
7638,
796,
366,
32434,
327,
577,
297,
1
] |
cheapest one way fare from INDIANAPOLIS to ORLANDO on 12 27 | SELECT DISTINCT fare_id FROM fare WHERE ((fare_basis_code IN (SELECT FARE_BASISalias1.fare_basis_code FROM fare_basis AS FARE_BASISalias1 WHERE FARE_BASISalias1.basis_days IN (SELECT DAYSalias2.days_code FROM days AS DAYSalias2 WHERE DAYSalias2.day_name IN (SELECT DATE_DAYalias2.day_name FROM date_day AS DATE_DAYalias2 WHERE DATE_DAYalias2.day_number = 27 AND DATE_DAYalias2.month_number = 12 AND DATE_DAYalias2.year = 1991))) AND fare_id IN (SELECT FLIGHT_FAREalias1.fare_id FROM flight_fare AS FLIGHT_FAREalias1 WHERE FLIGHT_FAREalias1.flight_id IN (SELECT FLIGHTalias1.flight_id FROM flight AS FLIGHTalias1 WHERE ((FLIGHTalias1.flight_days IN (SELECT DAYSalias3.days_code FROM days AS DAYSalias3 WHERE DAYSalias3.day_name IN (SELECT DATE_DAYalias3.day_name FROM date_day AS DATE_DAYalias3 WHERE DATE_DAYalias3.day_number = 27 AND DATE_DAYalias3.month_number = 12 AND DATE_DAYalias3.year = 1991)) AND FLIGHTalias1.to_airport IN (SELECT AIRPORT_SERVICEalias3.airport_code FROM airport_service AS AIRPORT_SERVICEalias3 WHERE AIRPORT_SERVICEalias3.city_code IN (SELECT CITYalias3.city_code FROM city AS CITYalias3 WHERE CITYalias3.city_name = 'ORLANDO'))) AND FLIGHTalias1.from_airport IN (SELECT AIRPORT_SERVICEalias2.airport_code FROM airport_service AS AIRPORT_SERVICEalias2 WHERE AIRPORT_SERVICEalias2.city_code IN (SELECT CITYalias2.city_code FROM city AS CITYalias2 WHERE CITYalias2.city_name = 'INDIANAPOLIS')))))) AND one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM fare AS FAREalias1 WHERE (FAREalias1.fare_basis_code IN (SELECT FARE_BASISalias0.fare_basis_code FROM fare_basis AS FARE_BASISalias0 WHERE FARE_BASISalias0.basis_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 27 AND DATE_DAYalias0.month_number = 12 AND DATE_DAYalias0.year = 1991))) AND FAREalias1.fare_id IN (SELECT FLIGHT_FARE_ID FROM flight_fare AS FLIGHT_FARE WHERE FLIGHT_FLIGHT_ID IN (SELECT FLIGHTalias0.flight_id FROM flight AS FLIGHTalias0 WHERE ((FLIGHTalias0.flight_days IN (SELECT DAYSalias1.days_code FROM days AS DAYSalias1 WHERE DAYSalias1.day_name IN (SELECT DATE_DAYalias1.day_name FROM date_day AS DATE_DAYalias1 WHERE DATE_DAYalias1.day_number = 27 AND DATE_DAYalias1.month_number = 12 AND DATE_DAYalias1.year = 1991)) AND FLIGHTalias0.to_airport IN (SELECT AIRPORT_SERVICEalias1.airport_code FROM airport_service AS AIRPORT_SERVICEalias1 WHERE AIRPORT_SERVICEalias1.city_code IN (SELECT CITYalias1.city_code FROM city AS CITYalias1 WHERE CITYalias1.city_name = 'ORLANDO'))) AND FLIGHTalias0.from_airport IN (SELECT AIRPORT_SERVICEalias0.airport_code FROM airport_service AS AIRPORT_SERVICEalias0 WHERE AIRPORT_SERVICEalias0.city_code IN (SELECT CITYalias0.city_code FROM city AS CITYalias0 WHERE CITYalias0.city_name = 'INDIANAPOLIS')))))) AND FAREalias1.round_trip_required = 'NO') AND round_trip_required = 'NO') | [
2395,
35746,
530,
835,
14505,
422,
24413,
16868,
2969,
3535,
1797,
284,
6375,
28182,
46,
319,
1105,
2681,
46506,
360,
8808,
1268,
4177,
14505,
62,
312,
16034,
14505,
33411,
14808,
9496,
62,
12093,
271,
62,
8189,
3268,
357,
46506,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
9496,
62,
12093,
271,
62,
8189,
16034,
14505,
62,
12093,
271,
7054,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
33411,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
12093,
271,
62,
12545,
3268,
357,
46506,
24644,
19221,
4448,
17,
13,
12545,
62,
8189,
16034,
1528,
7054,
24644,
19221,
4448,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2395,
35746,
530,
835,
14505,
422,
24413,
16868,
2969,
3535,
1797,
284,
6375,
28182,
46,
319,
1105,
2681,
46506,
360,
8808,
1268,
4177,
14505,
62,
312,
16034,
14505,
33411,
14808,
9496,
62,
12093,
271,
62,
8189,
3268,
357,
46506,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
9496,
62,
12093,
271,
62,
8189,
16034,
14505,
62,
12093,
271,
7054,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
33411,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
12093,
271,
62,
12545,
3268,
357,
46506,
24644,
19221,
4448,
17,
13,
12545,
62,
8189,
16034,
1528,
7054,
24644,
19221,
4448,
17
] |
What area did Julius Boros play at? | SELECT place FROM table_name_92 WHERE player = "julius boros" | [
2061,
1989,
750,
32834,
12182,
418,
711,
379,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
5892,
33411,
2137,
796,
366,
73,
377,
3754,
275,
40877,
1
] | [
1,
1,
1,
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,
1989,
750,
32834,
12182,
418,
711,
379,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
5892,
33411,
2137,
796,
366,
73,
377,
3754,
275,
40877,
1
] |
what is drug route and drug dose of drug name miconazole 2% cream? | SELECT prescriptions.route, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Miconazole 2% Cream" | [
10919,
318,
2563,
6339,
290,
2563,
10742,
286,
2563,
1438,
285,
4749,
1031,
2305,
362,
4,
8566,
30,
46506,
34092,
13,
38629,
11,
34092,
13,
30349,
62,
34436,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
44,
4749,
1031,
2305,
362,
4,
19979,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2563,
6339,
290,
2563,
10742,
286,
2563,
1438,
285,
4749,
1031,
2305,
362,
4,
8566,
30,
46506,
34092,
13,
38629,
11,
34092,
13,
30349,
62,
34436,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
44,
4749,
1031,
2305,
362,
4,
19979,
1
] |
what is the number of draws when there are 4 losses and 28.6% efficiency? | SELECT COUNT("Draws") FROM table_71002 WHERE "Losses" = '4' AND "Efficiency %" = '28.6%' | [
10919,
318,
262,
1271,
286,
14293,
618,
612,
389,
604,
9089,
290,
2579,
13,
21,
4,
9332,
30,
46506,
327,
28270,
7203,
25302,
82,
4943,
16034,
3084,
62,
22,
3064,
17,
33411,
366,
43,
793,
274,
1,
796,
705,
19,
6,
5357,
366,
36,
35590,
4064,
1,
796,
705,
2078,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
14293,
618,
612,
389,
604,
9089,
290,
2579,
13,
21,
4,
9332,
30,
46506,
327,
28270,
7203,
25302,
82,
4943,
16034,
3084,
62,
22,
3064,
17,
33411,
366,
43,
793,
274,
1,
796,
705,
19,
6,
5357,
366,
36,
35590,
4064,
1,
796,
705,
2078,
13,
21,
4,
6
] |
Time to first answer (by specific user). | SELECT CAST((JULIANDAY(CreationDate) - JULIANDAY(q.CreationDate)) * 1440.0 AS INT), COUNT(*) AS "Number of questions answered within x minutes" FROM Posts AS q JOIN LATERAL (SELECT MIN(CreationDate) AS CreationDate FROM Posts WHERE ParentId = q.Id AND OwnerUserId = '##UserId:int##' AND CreationDate >= q.CreationDate) AS a WHERE CAST((JULIANDAY(CreationDate) - JULIANDAY(q.CreationDate)) * 1440.0 AS INT) < 7200 GROUP BY CAST((JULIANDAY(CreationDate) - JULIANDAY(q.CreationDate)) * 1440.0 AS INT) ORDER BY CAST((JULIANDAY(CreationDate) - JULIANDAY(q.CreationDate)) * 1440.0 AS INT) | [
7575,
284,
717,
3280,
357,
1525,
2176,
2836,
737,
46506,
327,
11262,
19510,
41,
6239,
40,
6981,
4792,
7,
12443,
341,
10430,
8,
532,
49349,
40,
6981,
4792,
7,
80,
13,
12443,
341,
10430,
4008,
1635,
49557,
13,
15,
7054,
17828,
828,
327,
28270,
7,
28104,
7054,
366,
15057,
286,
2683,
9373,
1626,
2124,
2431,
1,
16034,
12043,
7054,
10662,
32357,
1268,
406,
23261,
1847,
357,
46506,
20625,
7,
12443,
341,
10430,
8,
7054,
21582,
10430,
16034,
12043,
33411,
16774,
7390,
796,
10662,
13,
7390,
5357,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
25,
600,
2235,
6,
5357,
21582
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7575,
284,
717,
3280,
357,
1525,
2176,
2836,
737,
46506,
327,
11262,
19510,
41,
6239,
40,
6981,
4792,
7,
12443,
341,
10430,
8,
532,
49349,
40,
6981,
4792,
7,
80,
13,
12443,
341,
10430,
4008,
1635,
49557,
13,
15,
7054,
17828,
828,
327,
28270,
7,
28104,
7054,
366,
15057,
286,
2683,
9373,
1626,
2124,
2431,
1,
16034,
12043,
7054,
10662,
32357,
1268,
406,
23261,
1847,
357,
46506,
20625,
7,
12443,
341,
10430,
8,
7054,
21582,
10430,
16034,
12043,
33411,
16774,
7390,
796,
10662,
13,
7390,
5357,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
25,
600,
2235,
6,
5357,
21582
] |
What is the Original artist when the week number is top 9? | SELECT "Original artist" FROM table_7249 WHERE "Week #" = 'top 9' | [
2061,
318,
262,
13745,
6802,
618,
262,
1285,
1271,
318,
1353,
860,
30,
46506,
366,
20556,
6802,
1,
16034,
3084,
62,
22,
21626,
33411,
366,
20916,
1303,
1,
796,
705,
4852,
860,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13745,
6802,
618,
262,
1285,
1271,
318,
1353,
860,
30,
46506,
366,
20556,
6802,
1,
16034,
3084,
62,
22,
21626,
33411,
366,
20916,
1303,
1,
796,
705,
4852,
860,
6
] |
What are the prerequisites to EARTH 142 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT_RECORDalias0.student_id = 1) AND COURSE_1.course_id = course_prerequisite.course_id AND COURSE_1.department = 'EARTH' AND COURSE_1.number = 142 | [
2061,
389,
262,
662,
34075,
284,
31834,
4221,
25181,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
3866,
27614,
33411,
37384,
5188,
62,
15,
13,
17319,
62,
312,
796,
1781,
62,
3866,
27614,
13,
3866,
62,
17319,
62,
312,
5357,
5626,
37384,
5188,
62,
15,
13,
17319,
62,
312,
3268,
357,
46506,
49348,
3525,
62,
38827,
12532,
26011,
15,
13,
17319,
62,
312,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
662,
34075,
284,
31834,
4221,
25181,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
3866,
27614,
33411,
37384,
5188,
62,
15,
13,
17319,
62,
312,
796,
1781,
62,
3866,
27614,
13,
3866,
62,
17319,
62,
312,
5357,
5626,
37384,
5188,
62,
15,
13,
17319,
62,
312,
3268,
357,
46506,
49348,
3525,
62,
38827,
12532,
26011,
15,
13,
17319,
62,
312,
16034
] |
who placed in first according to medals ? | SELECT "nation" FROM table_203_70 ORDER BY "total" DESC LIMIT 1 | [
8727,
4624,
287,
717,
1864,
284,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
2154,
38678,
11050,
366,
23350,
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
] | [
8727,
4624,
287,
717,
1864,
284,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
2154,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] |
provide the number of patients whose death status is 1 and primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
26,
616,
462,
310,
9145,
14,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
16,
1,
5357,
16728,
13,
47356,
5958,
796,
366,
44879,
1340,
13153,
5923,
5781,
56,
13954,
36,
11159,
59,
44879,
1340,
13153,
5923,
5781,
56,
11050,
47924,
402,
44700,
26,
17615,
2662,
9782,
2662,
56,
14,
50,
5631,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
26,
616,
462,
310,
9145,
14,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
16,
1,
5357,
16728,
13,
47356,
5958,
796,
366,
44879,
1340,
13153,
5923,
5781,
56,
13954,
36,
11159,
59,
44879,
1340,
13153,
5923,
5781,
56,
11050,
47924,
402,
44700,
26,
17615,
2662,
9782,
2662,
56,
14,
50,
5631,
1
] |
what were the five most frequently ordered microbiology tests for patients who had previously received cardiology consultation within the same month until 2104? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cardiology consultation' AND STRFTIME('%y', treatment.treatmenttime) <= '2104') AS t1 JOIN (SELECT patient.uniquepid, microlab.culturesite, microlab.culturetakentime FROM microlab JOIN patient ON microlab.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', microlab.culturetakentime) <= '2104') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.culturetakentime AND DATETIME(t1.treatmenttime, 'start of month') = DATETIME(t2.culturetakentime, 'start of month') GROUP BY t2.culturesite) AS t3 WHERE t3.c1 <= 5 | [
10919,
547,
262,
1936,
749,
6777,
6149,
24559,
1435,
5254,
329,
3871,
508,
550,
4271,
2722,
2657,
12371,
18103,
1626,
262,
976,
1227,
1566,
362,
13464,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
578,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
1936,
749,
6777,
6149,
24559,
1435,
5254,
329,
3871,
508,
550,
4271,
2722,
2657,
12371,
18103,
1626,
262,
976,
1227,
1566,
362,
13464,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
578,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513
] |
what ground transportation is there 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 | [
10919,
2323,
9358,
318,
612,
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,
1
] | [
10919,
2323,
9358,
318,
612,
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
] |
Select Top 10000 TagName From Tags Order By Count Desc. | SELECT TagName FROM Tags ORDER BY Count DESC LIMIT 10000 | [
17563,
5849,
33028,
17467,
5376,
3574,
44789,
8284,
2750,
2764,
39373,
13,
46506,
17467,
5376,
16034,
44789,
38678,
11050,
2764,
22196,
34,
27564,
2043,
33028
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17563,
5849,
33028,
17467,
5376,
3574,
44789,
8284,
2750,
2764,
39373,
13,
46506,
17467,
5376,
16034,
44789,
38678,
11050,
2764,
22196,
34,
27564,
2043,
33028
] |
How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America? | SELECT SUM("Countries sampled") FROM table_65342 WHERE "Year of publication" = '2010' AND "World Ranking (1)" = '33' AND "Ranking in Latin America (2)" < '3' | [
2437,
867,
2678,
35846,
468,
257,
995,
12759,
286,
4747,
287,
3050,
290,
1342,
621,
513,
12759,
287,
9133,
2253,
30,
46506,
35683,
7203,
12332,
1678,
35846,
4943,
16034,
3084,
62,
2996,
31575,
33411,
366,
17688,
286,
9207,
1,
796,
705,
10333,
6,
5357,
366,
10603,
45407,
357,
16,
16725,
796,
705,
2091,
6,
5357,
366,
49,
15230,
287,
9133,
2253,
357,
17,
16725,
1279,
705,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2678,
35846,
468,
257,
995,
12759,
286,
4747,
287,
3050,
290,
1342,
621,
513,
12759,
287,
9133,
2253,
30,
46506,
35683,
7203,
12332,
1678,
35846,
4943,
16034,
3084,
62,
2996,
31575,
33411,
366,
17688,
286,
9207,
1,
796,
705,
10333,
6,
5357,
366,
10603,
45407,
357,
16,
16725,
796,
705,
2091,
6,
5357,
366,
49,
15230,
287,
9133,
2253,
357,
17,
16725,
1279,
705,
18,
6
] |
Which royal house is in the state of chu? | SELECT "Royal house" FROM table_7198 WHERE "State" = 'chu' | [
13828,
15100,
2156,
318,
287,
262,
1181,
286,
442,
84,
30,
46506,
366,
41861,
2156,
1,
16034,
3084,
62,
22,
22337,
33411,
366,
9012,
1,
796,
705,
46417,
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,
15100,
2156,
318,
287,
262,
1181,
286,
442,
84,
30,
46506,
366,
41861,
2156,
1,
16034,
3084,
62,
22,
22337,
33411,
366,
9012,
1,
796,
705,
46417,
6
] |
What's the British pronunciation when the American and Australian is i? | SELECT british FROM table_name_44 WHERE american = "i" AND australian = "i" | [
2061,
338,
262,
3517,
41694,
618,
262,
1605,
290,
6638,
318,
1312,
30,
46506,
275,
799,
680,
16034,
3084,
62,
3672,
62,
2598,
33411,
45630,
272,
796,
366,
72,
1,
5357,
38132,
1373,
666,
796,
366,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
3517,
41694,
618,
262,
1605,
290,
6638,
318,
1312,
30,
46506,
275,
799,
680,
16034,
3084,
62,
3672,
62,
2598,
33411,
45630,
272,
796,
366,
72,
1,
5357,
38132,
1373,
666,
796,
366,
72,
1
] |
Post by a User > Containing a string. | SELECT Score, Id AS "post_link", CreationDate FROM Posts WHERE Posts.OwnerUserId = '##UserID:string##' AND Body LIKE '%' + '##Contains:string##' + '%' ORDER BY CreationDate DESC | [
6307,
416,
257,
11787,
1875,
2345,
1397,
257,
4731,
13,
46506,
15178,
11,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
705,
2235,
12982,
2389,
25,
8841,
2235,
6,
5357,
12290,
34178,
705,
4,
6,
1343,
705,
2235,
4264,
1299,
25,
8841,
2235,
6,
1343,
705,
4,
6,
38678,
11050,
21582,
10430,
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
] | [
6307,
416,
257,
11787,
1875,
2345,
1397,
257,
4731,
13,
46506,
15178,
11,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
705,
2235,
12982,
2389,
25,
8841,
2235,
6,
5357,
12290,
34178,
705,
4,
6,
1343,
705,
2235,
4264,
1299,
25,
8841,
2235,
6,
1343,
705,
4,
6,
38678,
11050,
21582,
10430,
22196,
34
] |
how many days have it been since the time patient 015-59552 was admitted to hospital? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '015-59552' AND patient.hospitaldischargetime IS NULL | [
4919,
867,
1528,
423,
340,
587,
1201,
262,
640,
5827,
5534,
20,
12,
3270,
40427,
373,
6848,
284,
4436,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
324,
20124,
524,
4008,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
25150,
12,
3270,
40427,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
423,
340,
587,
1201,
262,
640,
5827,
5534,
20,
12,
3270,
40427,
373,
6848,
284,
4436,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
324,
20124,
524,
4008,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
25150,
12,
3270,
40427,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697
] |
Name the most age | SELECT MAX("Age") FROM table_73933 | [
5376,
262,
749,
2479,
46506,
25882,
7203,
23396,
4943,
16034,
3084,
62,
22,
2670,
2091
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
2479,
46506,
25882,
7203,
23396,
4943,
16034,
3084,
62,
22,
2670,
2091
] |
What was the result when the partner was magdalena maleeva? | SELECT "Result" FROM table_59074 WHERE "Partner" = 'magdalena maleeva' | [
2061,
373,
262,
1255,
618,
262,
5212,
373,
2153,
31748,
8107,
4257,
48855,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3270,
2998,
19,
33411,
366,
7841,
1008,
1,
796,
705,
19726,
31748,
8107,
4257,
48855,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
618,
262,
5212,
373,
2153,
31748,
8107,
4257,
48855,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3270,
2998,
19,
33411,
366,
7841,
1008,
1,
796,
705,
19726,
31748,
8107,
4257,
48855,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id, I want to display in desc by the sum department id. | SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
314,
765,
284,
3359,
287,
1715,
416,
262,
2160,
5011,
4686,
13,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
314,
765,
284,
3359,
287,
1715,
416,
262,
2160,
5011,
4686,
13,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366
] |
How many CSU campuses are there? | SELECT COUNT(*) FROM campuses | [
2437,
867,
9429,
52,
23003,
389,
612,
30,
46506,
327,
28270,
7,
28104,
16034,
23003
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
9429,
52,
23003,
389,
612,
30,
46506,
327,
28270,
7,
28104,
16034,
23003
] |
Let me know on which date the patient Brian Taylor died. | SELECT demographic.dod FROM demographic WHERE demographic.name = "Brian Taylor" | [
5756,
502,
760,
319,
543,
3128,
262,
5827,
8403,
8121,
3724,
13,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
8121,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5756,
502,
760,
319,
543,
3128,
262,
5827,
8403,
8121,
3724,
13,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
8121,
1
] |
what are the top four most common diagnosis since 2102? | SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE STRFTIME('%y', diagnosis.diagnosistime) >= '2102' GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 4 | [
10919,
389,
262,
1353,
1440,
749,
2219,
13669,
1201,
362,
15377,
30,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
13669,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
15377,
6,
44441,
11050,
13669,
13,
47356,
5958,
3672,
8,
7054,
256,
16,
33411,
256,
16,
13,
66,
16,
19841,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1353,
1440,
749,
2219,
13669,
1201,
362,
15377,
30,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
13669,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
15377,
6,
44441,
11050,
13669,
13,
47356,
5958,
3672,
8,
7054,
256,
16,
33411,
256,
16,
13,
66,
16,
19841,
604
] |
Which Date has an Opposing Pitcher of jack morris, and an Inning of 4th? | SELECT "Date" FROM table_70071 WHERE "Opposing Pitcher" = 'jack morris' AND "Inning" = '4th' | [
13828,
7536,
468,
281,
9385,
2752,
16889,
2044,
286,
14509,
2146,
2442,
11,
290,
281,
554,
768,
286,
604,
400,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
9879,
4869,
33411,
366,
27524,
2752,
16889,
2044,
1,
796,
705,
19650,
2146,
2442,
6,
5357,
366,
818,
768,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
281,
9385,
2752,
16889,
2044,
286,
14509,
2146,
2442,
11,
290,
281,
554,
768,
286,
604,
400,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
9879,
4869,
33411,
366,
27524,
2752,
16889,
2044,
1,
796,
705,
19650,
2146,
2442,
6,
5357,
366,
818,
768,
1,
796,
705,
19,
400,
6
] |
Which audition city held callbacks at Amelia Island Plantation? | SELECT "Audition City" FROM table_11081 WHERE "Callback Venue" = 'amelia island plantation' | [
13828,
31678,
1748,
2714,
869,
10146,
379,
49769,
5451,
16561,
341,
30,
46506,
366,
16353,
653,
2254,
1,
16034,
3084,
62,
11442,
6659,
33411,
366,
47258,
9932,
518,
1,
796,
705,
17983,
544,
7022,
43206,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
31678,
1748,
2714,
869,
10146,
379,
49769,
5451,
16561,
341,
30,
46506,
366,
16353,
653,
2254,
1,
16034,
3084,
62,
11442,
6659,
33411,
366,
47258,
9932,
518,
1,
796,
705,
17983,
544,
7022,
43206,
6
] |
What is the Series of the Filmography with a Production Number of M-4-15? | SELECT series FROM table_name_37 WHERE production_number = "m-4-15" | [
2061,
318,
262,
7171,
286,
262,
13741,
4867,
351,
257,
19174,
7913,
286,
337,
12,
19,
12,
1314,
30,
46506,
2168,
16034,
3084,
62,
3672,
62,
2718,
33411,
3227,
62,
17618,
796,
366,
76,
12,
19,
12,
1314,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7171,
286,
262,
13741,
4867,
351,
257,
19174,
7913,
286,
337,
12,
19,
12,
1314,
30,
46506,
2168,
16034,
3084,
62,
3672,
62,
2718,
33411,
3227,
62,
17618,
796,
366,
76,
12,
19,
12,
1314,
1
] |
During what years was lvaro p rez the number 2 ranked player? | SELECT "Year(s)" FROM table_15565 WHERE "Rank" = '2' AND "Player" = 'álvaro pérez' | [
7191,
644,
812,
373,
300,
7785,
78,
279,
302,
89,
262,
1271,
362,
10307,
2137,
30,
46506,
366,
17688,
7,
82,
16725,
16034,
3084,
62,
18742,
2996,
33411,
366,
27520,
1,
796,
705,
17,
6,
5357,
366,
14140,
1,
796,
705,
6557,
6780,
12022,
279,
2634,
21107,
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
] | [
7191,
644,
812,
373,
300,
7785,
78,
279,
302,
89,
262,
1271,
362,
10307,
2137,
30,
46506,
366,
17688,
7,
82,
16725,
16034,
3084,
62,
18742,
2996,
33411,
366,
27520,
1,
796,
705,
17,
6,
5357,
366,
14140,
1,
796,
705,
6557,
6780,
12022,
279,
2634,
21107,
6
] |
Who was the network who had Ken Squier as a host and 13.9 million viewers? | SELECT network FROM table_name_74 WHERE host = "ken squier" AND viewers = "13.9 million" | [
8241,
373,
262,
3127,
508,
550,
7148,
5056,
959,
355,
257,
2583,
290,
1511,
13,
24,
1510,
10209,
30,
46506,
3127,
16034,
3084,
62,
3672,
62,
4524,
33411,
2583,
796,
366,
3464,
2809,
959,
1,
5357,
10209,
796,
366,
1485,
13,
24,
1510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3127,
508,
550,
7148,
5056,
959,
355,
257,
2583,
290,
1511,
13,
24,
1510,
10209,
30,
46506,
3127,
16034,
3084,
62,
3672,
62,
4524,
33411,
2583,
796,
366,
3464,
2809,
959,
1,
5357,
10209,
796,
366,
1485,
13,
24,
1510,
1
] |
When was sniffles and the bookworm released? | SELECT release_date FROM table_name_81 WHERE title = "sniffles and the bookworm" | [
2215,
373,
26300,
829,
290,
262,
1492,
25323,
2716,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
6659,
33411,
3670,
796,
366,
16184,
733,
829,
290,
262,
1492,
25323,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
26300,
829,
290,
262,
1492,
25323,
2716,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
6659,
33411,
3670,
796,
366,
16184,
733,
829,
290,
262,
1492,
25323,
1
] |
give me the number of patients whose gender is f and procedure short title is parent infus nutrit sub? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.short_title = "Parent infus nutrit sub" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
8771,
1790,
3670,
318,
2560,
1167,
385,
44867,
850,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
24546,
1167,
385,
44867,
850,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
8771,
1790,
3670,
318,
2560,
1167,
385,
44867,
850,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
24546,
1167,
385,
44867,
850,
1
] |
what is the method for round 1 and the opponent is bobby mcmaster? | SELECT method FROM table_name_97 WHERE round = 1 AND opponent = "bobby mcmaster" | [
10919,
318,
262,
2446,
329,
2835,
352,
290,
262,
6125,
318,
275,
11369,
36650,
9866,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
5607,
33411,
2835,
796,
352,
5357,
6125,
796,
366,
65,
11369,
36650,
9866,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2446,
329,
2835,
352,
290,
262,
6125,
318,
275,
11369,
36650,
9866,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
5607,
33411,
2835,
796,
352,
5357,
6125,
796,
366,
65,
11369,
36650,
9866,
1
] |
List the positions of players whose average number of points scored by that position is larger than 20, give me a bar chart showing the number of different positions. | SELECT Position, COUNT(Position) FROM player GROUP BY Position HAVING AVG(Points) >= 20 | [
8053,
262,
6116,
286,
1938,
3025,
2811,
1271,
286,
2173,
7781,
416,
326,
2292,
318,
4025,
621,
1160,
11,
1577,
502,
257,
2318,
8262,
4478,
262,
1271,
286,
1180,
6116,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
2137,
44441,
11050,
23158,
367,
10116,
2751,
35224,
7,
40710,
8,
18189,
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
] | [
8053,
262,
6116,
286,
1938,
3025,
2811,
1271,
286,
2173,
7781,
416,
326,
2292,
318,
4025,
621,
1160,
11,
1577,
502,
257,
2318,
8262,
4478,
262,
1271,
286,
1180,
6116,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
2137,
44441,
11050,
23158,
367,
10116,
2751,
35224,
7,
40710,
8,
18189,
1160
] |
How many bookings does each booking status have? List the booking status code and the number of corresponding bookings in a pie chart. | SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code | [
2437,
867,
1492,
654,
857,
1123,
25452,
3722,
423,
30,
7343,
262,
25452,
3722,
2438,
290,
262,
1271,
286,
11188,
1492,
654,
287,
257,
2508,
8262,
13,
46506,
25452,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
5949,
1823,
62,
10482,
654,
44441,
11050,
25452,
62,
13376,
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
] | [
2437,
867,
1492,
654,
857,
1123,
25452,
3722,
423,
30,
7343,
262,
25452,
3722,
2438,
290,
262,
1271,
286,
11188,
1492,
654,
287,
257,
2508,
8262,
13,
46506,
25452,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
5949,
1823,
62,
10482,
654,
44441,
11050,
25452,
62,
13376,
62,
8189
] |
What is the kind of Democratic ticket has a Office of comptroller? | SELECT "Democratic ticket" FROM table_40137 WHERE "Office" = 'comptroller' | [
2061,
318,
262,
1611,
286,
4390,
7846,
468,
257,
4452,
286,
401,
44913,
30,
46506,
366,
33939,
7846,
1,
16034,
3084,
62,
21844,
2718,
33411,
366,
27743,
1,
796,
705,
785,
44913,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1611,
286,
4390,
7846,
468,
257,
4452,
286,
401,
44913,
30,
46506,
366,
33939,
7846,
1,
16034,
3084,
62,
21844,
2718,
33411,
366,
27743,
1,
796,
705,
785,
44913,
6
] |
On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? | SELECT "Opinion Research Centre (OPC)" FROM table_20444 WHERE "National Opinion Polls (NOP)" = '1.3%' | [
2202,
477,
584,
4671,
262,
2351,
3038,
9231,
389,
379,
352,
13,
18,
4,
810,
355,
262,
4459,
2267,
16825,
318,
379,
644,
5873,
30,
46506,
366,
46,
11635,
295,
4992,
9072,
357,
3185,
34,
16725,
16034,
3084,
62,
1238,
30272,
33411,
366,
16186,
29525,
12868,
82,
357,
45,
3185,
16725,
796,
705,
16,
13,
18,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
477,
584,
4671,
262,
2351,
3038,
9231,
389,
379,
352,
13,
18,
4,
810,
355,
262,
4459,
2267,
16825,
318,
379,
644,
5873,
30,
46506,
366,
46,
11635,
295,
4992,
9072,
357,
3185,
34,
16725,
16034,
3084,
62,
1238,
30272,
33411,
366,
16186,
29525,
12868,
82,
357,
45,
3185,
16725,
796,
705,
16,
13,
18,
4,
6
] |
For each bed type, find the average room price. Show the proportion. | SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType | [
1890,
1123,
3996,
2099,
11,
1064,
262,
2811,
2119,
2756,
13,
5438,
262,
9823,
13,
46506,
3996,
6030,
11,
35224,
7,
8692,
18124,
8,
16034,
42043,
44441,
11050,
3996,
6030
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
1123,
3996,
2099,
11,
1064,
262,
2811,
2119,
2756,
13,
5438,
262,
9823,
13,
46506,
3996,
6030,
11,
35224,
7,
8692,
18124,
8,
16034,
42043,
44441,
11050,
3996,
6030
] |
How many cuts did Gary Clark make? | SELECT "Cuts made" FROM table_74293 WHERE "Player" = 'Gary Clark' | [
2437,
867,
6630,
750,
10936,
11264,
787,
30,
46506,
366,
34,
5500,
925,
1,
16034,
3084,
62,
4524,
31675,
33411,
366,
14140,
1,
796,
705,
33820,
11264,
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
] | [
2437,
867,
6630,
750,
10936,
11264,
787,
30,
46506,
366,
34,
5500,
925,
1,
16034,
3084,
62,
4524,
31675,
33411,
366,
14140,
1,
796,
705,
33820,
11264,
6
] |
What tournament has petra mandula patricia wartusch as the opponent in the final? | SELECT "Tournament" FROM table_65898 WHERE "Opponent in the final" = 'petra mandula patricia wartusch' | [
2061,
7756,
468,
4273,
430,
6855,
4712,
1458,
26654,
32943,
385,
354,
355,
262,
6125,
287,
262,
2457,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
38431,
4089,
33411,
366,
27524,
3471,
287,
262,
2457,
1,
796,
705,
6449,
430,
6855,
4712,
1458,
26654,
32943,
385,
354,
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
] | [
2061,
7756,
468,
4273,
430,
6855,
4712,
1458,
26654,
32943,
385,
354,
355,
262,
6125,
287,
262,
2457,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
38431,
4089,
33411,
366,
27524,
3471,
287,
262,
2457,
1,
796,
705,
6449,
430,
6855,
4712,
1458,
26654,
32943,
385,
354,
6
] |
Name the R 52 which has a D 44 of d 44 | SELECT "R 52" FROM table_51878 WHERE "D 44" = 'd 44' | [
5376,
262,
371,
6740,
543,
468,
257,
360,
5846,
286,
288,
5846,
46506,
366,
49,
6740,
1,
16034,
3084,
62,
44085,
3695,
33411,
366,
35,
5846,
1,
796,
705,
67,
5846,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
371,
6740,
543,
468,
257,
360,
5846,
286,
288,
5846,
46506,
366,
49,
6740,
1,
16034,
3084,
62,
44085,
3695,
33411,
366,
35,
5846,
1,
796,
705,
67,
5846,
6
] |
What is the Position for the European U23 Championships? | SELECT "Position" FROM table_77434 WHERE "Competition" = 'european u23 championships' | [
2061,
318,
262,
23158,
329,
262,
3427,
471,
1954,
24782,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3324,
47101,
33411,
366,
7293,
15620,
1,
796,
705,
44252,
431,
272,
334,
1954,
27459,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
23158,
329,
262,
3427,
471,
1954,
24782,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3324,
47101,
33411,
366,
7293,
15620,
1,
796,
705,
44252,
431,
272,
334,
1954,
27459,
6
] |
Who is the artist where the vocal percussionist is Benjamin Holder? | SELECT "Original Artist" FROM table_74313 WHERE "Vocal Percussionist" = 'Benjamin Holder' | [
8241,
318,
262,
6802,
810,
262,
12435,
48388,
396,
318,
14533,
24210,
30,
46506,
366,
20556,
18902,
1,
16034,
3084,
62,
22,
3559,
1485,
33411,
366,
53,
4374,
2448,
36262,
396,
1,
796,
705,
11696,
13337,
24210,
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
] | [
8241,
318,
262,
6802,
810,
262,
12435,
48388,
396,
318,
14533,
24210,
30,
46506,
366,
20556,
18902,
1,
16034,
3084,
62,
22,
3559,
1485,
33411,
366,
53,
4374,
2448,
36262,
396,
1,
796,
705,
11696,
13337,
24210,
6
] |
What is the affiliation of Davenport University? | SELECT "Affiliation" FROM table_4008 WHERE "Institution" = 'Davenport University' | [
2061,
318,
262,
26218,
286,
360,
4005,
634,
2059,
30,
46506,
366,
35191,
15547,
1,
16034,
3084,
62,
7029,
23,
33411,
366,
6310,
2738,
1,
796,
705,
35,
4005,
634,
2059,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
26218,
286,
360,
4005,
634,
2059,
30,
46506,
366,
35191,
15547,
1,
16034,
3084,
62,
7029,
23,
33411,
366,
6310,
2738,
1,
796,
705,
35,
4005,
634,
2059,
6
] |
How many directors directed the episode titled 'Incoming'? | SELECT COUNT("Directed by") FROM table_27345 WHERE "Title" = 'Incoming' | [
2437,
867,
13445,
7924,
262,
4471,
11946,
705,
818,
4976,
30960,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
27367,
2231,
33411,
366,
19160,
1,
796,
705,
818,
4976,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
13445,
7924,
262,
4471,
11946,
705,
818,
4976,
30960,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
27367,
2231,
33411,
366,
19160,
1,
796,
705,
818,
4976,
6
] |
calculate the minimum days for which patients aged 20 years or older were hospitalized. | SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.age >= "20" | [
9948,
3129,
378,
262,
5288,
1528,
329,
543,
3871,
9722,
1160,
812,
393,
4697,
547,
31736,
13,
46506,
20625,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
496,
18189,
366,
1238,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9948,
3129,
378,
262,
5288,
1528,
329,
543,
3871,
9722,
1160,
812,
393,
4697,
547,
31736,
13,
46506,
20625,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
496,
18189,
366,
1238,
1
] |
For those products with a price between 60 and 120, return a bar chart about the distribution of name and manufacturer , and sort in desc by the y-axis. | SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Manufacturer DESC | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
3297,
287,
1715,
416,
262,
331,
12,
22704,
13,
46506,
6530,
11,
40218,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
3126,
5357,
7982,
38678,
11050,
40218,
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
] | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
3297,
287,
1715,
416,
262,
331,
12,
22704,
13,
46506,
6530,
11,
40218,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
3126,
5357,
7982,
38678,
11050,
40218,
22196,
34
] |
What band is the highest and has a System of gsm-450? | SELECT MAX("Band") FROM table_77868 WHERE "System" = 'gsm-450' | [
2061,
4097,
318,
262,
4511,
290,
468,
257,
4482,
286,
308,
5796,
12,
17885,
30,
46506,
25882,
7203,
31407,
4943,
16034,
3084,
62,
39761,
3104,
33411,
366,
11964,
1,
796,
705,
70,
5796,
12,
17885,
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,
4097,
318,
262,
4511,
290,
468,
257,
4482,
286,
308,
5796,
12,
17885,
30,
46506,
25882,
7203,
31407,
4943,
16034,
3084,
62,
39761,
3104,
33411,
366,
11964,
1,
796,
705,
70,
5796,
12,
17885,
6
] |
What is the silver for Germany and less than 2? | SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 2 | [
2061,
318,
262,
8465,
329,
4486,
290,
1342,
621,
362,
30,
46506,
35224,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3277,
796,
366,
1362,
21834,
1,
5357,
4279,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
8465,
329,
4486,
290,
1342,
621,
362,
30,
46506,
35224,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3277,
796,
366,
1362,
21834,
1,
5357,
4279,
1279,
362
] |
What is the result of the game on week 11? | SELECT "Result" FROM table_39510 WHERE "Week" = '11' | [
2061,
318,
262,
1255,
286,
262,
983,
319,
1285,
1367,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
31010,
940,
33411,
366,
20916,
1,
796,
705,
1157,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
983,
319,
1285,
1367,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
31010,
940,
33411,
366,
20916,
1,
796,
705,
1157,
6
] |
Name the high assists for score being l 98 118 (ot) | SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)" | [
5376,
262,
1029,
13648,
329,
4776,
852,
300,
9661,
19035,
357,
313,
8,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1558,
940,
1238,
4304,
62,
940,
33411,
4776,
796,
366,
43,
9661,
1906,
16817,
357,
2394,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1029,
13648,
329,
4776,
852,
300,
9661,
19035,
357,
313,
8,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1558,
940,
1238,
4304,
62,
940,
33411,
4776,
796,
366,
43,
9661,
1906,
16817,
357,
2394,
16725
] |
Which score has a Record of 48-55? | SELECT "Score" FROM table_72046 WHERE "Record" = '48-55' | [
13828,
4776,
468,
257,
13266,
286,
4764,
12,
2816,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
23906,
3510,
33411,
366,
23739,
1,
796,
705,
2780,
12,
2816,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4776,
468,
257,
13266,
286,
4764,
12,
2816,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
23906,
3510,
33411,
366,
23739,
1,
796,
705,
2780,
12,
2816,
6
] |
What is the Surface of the court in the match with a Score of 4 6, 6 4, 3 6? | SELECT surface FROM table_name_16 WHERE score = "4–6, 6–4, 3–6" | [
2061,
318,
262,
20321,
286,
262,
2184,
287,
262,
2872,
351,
257,
15178,
286,
604,
718,
11,
718,
604,
11,
513,
718,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1433,
33411,
4776,
796,
366,
19,
1906,
21,
11,
718,
1906,
19,
11,
513,
1906,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
20321,
286,
262,
2184,
287,
262,
2872,
351,
257,
15178,
286,
604,
718,
11,
718,
604,
11,
513,
718,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1433,
33411,
4776,
796,
366,
19,
1906,
21,
11,
718,
1906,
19,
11,
513,
1906,
21,
1
] |
What are the department names and how many employees work in each of them Visualize by bar chart, rank y axis from high to low order please. | SELECT DEPARTMENT_NAME, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID GROUP BY DEPARTMENT_NAME ORDER BY COUNT(*) DESC | [
2061,
389,
262,
5011,
3891,
290,
703,
867,
4409,
670,
287,
1123,
286,
606,
15612,
1096,
416,
2318,
8262,
11,
4279,
331,
16488,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
5550,
30709,
10979,
62,
20608,
11,
327,
28270,
7,
28104,
16034,
4409,
7054,
309,
16,
32357,
1268,
13346,
7054,
309,
17,
6177,
309,
16,
13,
7206,
30709,
10979,
62,
2389,
796,
309,
17,
13,
7206,
30709,
10979,
62,
2389,
44441,
11050,
5550,
30709,
10979,
62,
20608,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
5011,
3891,
290,
703,
867,
4409,
670,
287,
1123,
286,
606,
15612,
1096,
416,
2318,
8262,
11,
4279,
331,
16488,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
5550,
30709,
10979,
62,
20608,
11,
327,
28270,
7,
28104,
16034,
4409,
7054,
309,
16,
32357,
1268,
13346,
7054,
309,
17,
6177,
309,
16,
13,
7206,
30709,
10979,
62,
2389,
796,
309,
17,
13,
7206,
30709,
10979,
62,
2389,
44441,
11050,
5550,
30709,
10979,
62,
20608,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
What is the total revenue of companies started by founder Plot them as bar chart, order by the X-axis in desc. | SELECT Founder, SUM(Revenue) FROM Manufacturers GROUP BY Founder ORDER BY Founder DESC | [
2061,
318,
262,
2472,
6426,
286,
2706,
2067,
416,
9119,
28114,
606,
355,
2318,
8262,
11,
1502,
416,
262,
1395,
12,
22704,
287,
1715,
13,
46506,
30153,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
30153,
38678,
11050,
30153,
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
] | [
2061,
318,
262,
2472,
6426,
286,
2706,
2067,
416,
9119,
28114,
606,
355,
2318,
8262,
11,
1502,
416,
262,
1395,
12,
22704,
287,
1715,
13,
46506,
30153,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
30153,
38678,
11050,
30153,
22196,
34
] |
provide the number of patients whose gender is m and procedure short title is sm-to-sm bowel anastom? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.short_title = "Sm-to-sm bowel anastom" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
8771,
1790,
3670,
318,
895,
12,
1462,
12,
5796,
35711,
281,
459,
296,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
7556,
12,
1462,
12,
5796,
35711,
281,
459,
296,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
8771,
1790,
3670,
318,
895,
12,
1462,
12,
5796,
35711,
281,
459,
296,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
7556,
12,
1462,
12,
5796,
35711,
281,
459,
296,
1
] |
Is meta? - check for [status-completed]. | SELECT @is_meta_site | [
3792,
13634,
30,
532,
2198,
329,
685,
13376,
12,
785,
16838,
4083,
46506,
2488,
271,
62,
28961,
62,
15654
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3792,
13634,
30,
532,
2198,
329,
685,
13376,
12,
785,
16838,
4083,
46506,
2488,
271,
62,
28961,
62,
15654
] |
Which role had a closing broadway cast of Adam Grupper? | SELECT "Role" FROM table_61054 WHERE "Closing Broadway cast" = 'adam grupper' | [
13828,
2597,
550,
257,
9605,
3154,
1014,
3350,
286,
7244,
25665,
2848,
30,
46506,
366,
47445,
1,
16034,
3084,
62,
39132,
4051,
33411,
366,
2601,
2752,
20617,
3350,
1,
796,
705,
324,
321,
22848,
2848,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2597,
550,
257,
9605,
3154,
1014,
3350,
286,
7244,
25665,
2848,
30,
46506,
366,
47445,
1,
16034,
3084,
62,
39132,
4051,
33411,
366,
2601,
2752,
20617,
3350,
1,
796,
705,
324,
321,
22848,
2848,
6
] |
How many introductory phrases were there on David Finkel's guest episode? | SELECT COUNT("Introductory phrase") FROM table_28008 WHERE "Guest" = 'David Finkel' | [
2437,
867,
33982,
20144,
547,
612,
319,
3271,
4463,
7750,
338,
8319,
4471,
30,
46506,
327,
28270,
7203,
15005,
25977,
9546,
4943,
16034,
3084,
62,
2078,
25257,
33411,
366,
42481,
1,
796,
705,
11006,
4463,
7750,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
33982,
20144,
547,
612,
319,
3271,
4463,
7750,
338,
8319,
4471,
30,
46506,
327,
28270,
7203,
15005,
25977,
9546,
4943,
16034,
3084,
62,
2078,
25257,
33411,
366,
42481,
1,
796,
705,
11006,
4463,
7750,
6
] |
What was the score that thomas levet got when he placed t10? | SELECT "Score" FROM table_43178 WHERE "Place" = 't10' AND "Player" = 'thomas levet' | [
2061,
373,
262,
4776,
326,
294,
16911,
443,
16809,
1392,
618,
339,
4624,
256,
940,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3559,
23188,
33411,
366,
27271,
1,
796,
705,
83,
940,
6,
5357,
366,
14140,
1,
796,
705,
400,
16911,
443,
16809,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
326,
294,
16911,
443,
16809,
1392,
618,
339,
4624,
256,
940,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3559,
23188,
33411,
366,
27271,
1,
796,
705,
83,
940,
6,
5357,
366,
14140,
1,
796,
705,
400,
16911,
443,
16809,
6
] |
What are the Notes of the Athletes from Germany? | SELECT notes FROM table_name_41 WHERE country = "germany" | [
2061,
389,
262,
11822,
286,
262,
18093,
274,
422,
4486,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
3901,
33411,
1499,
796,
366,
1362,
21834,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
11822,
286,
262,
18093,
274,
422,
4486,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
3901,
33411,
1499,
796,
366,
1362,
21834,
1
] |
What is the total number of silver medals of the team ranked 7 with more than 1 total medal? | SELECT COUNT(silver) FROM table_name_59 WHERE rank = "7" AND total > 1 | [
2061,
318,
262,
2472,
1271,
286,
8465,
28057,
286,
262,
1074,
10307,
767,
351,
517,
621,
352,
2472,
18279,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
4279,
796,
366,
22,
1,
5357,
2472,
1875,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
8465,
28057,
286,
262,
1074,
10307,
767,
351,
517,
621,
352,
2472,
18279,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
4279,
796,
366,
22,
1,
5357,
2472,
1875,
352
] |
give me the number of patients whose discharge location is home and primary disease is mesenteric ischemia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.diagnosis = "MESENTERIC ISCHEMIA" | [
26535,
502,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
4165,
4369,
318,
18842,
9255,
291,
318,
15245,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
39069,
1,
5357,
16728,
13,
47356,
5958,
796,
366,
44,
1546,
3525,
1137,
2149,
3180,
3398,
3620,
3539,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
4165,
4369,
318,
18842,
9255,
291,
318,
15245,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
39069,
1,
5357,
16728,
13,
47356,
5958,
796,
366,
44,
1546,
3525,
1137,
2149,
3180,
3398,
3620,
3539,
1
] |
tell me the total number of endo rem bronch devc/sub procedures ordered since 3 years ago? | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'endo rem bronch devc/sub') AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-3 year') | [
33331,
502,
262,
2472,
1271,
286,
886,
78,
816,
18443,
354,
1614,
66,
14,
7266,
9021,
6149,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
31110,
816,
18443,
354,
1614,
66,
14,
7266,
11537,
5357,
360,
1404,
2767,
12789,
7,
1676
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
886,
78,
816,
18443,
354,
1614,
66,
14,
7266,
9021,
6149,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
31110,
816,
18443,
354,
1614,
66,
14,
7266,
11537,
5357,
360,
1404,
2767,
12789,
7,
1676
] |
What is the Elimination move listed against Regal? | SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal" | [
2061,
318,
262,
27405,
1883,
1445,
5610,
1028,
3310,
282,
30,
46506,
21472,
7054,
10028,
16034,
3084,
62,
3672,
62,
2078,
33411,
34845,
796,
366,
2301,
282,
1
] | [
1,
1,
1,
1,
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,
27405,
1883,
1445,
5610,
1028,
3310,
282,
30,
46506,
21472,
7054,
10028,
16034,
3084,
62,
3672,
62,
2078,
33411,
34845,
796,
366,
2301,
282,
1
] |
What are the number of storms where fog is lower than 74, and sunshine is 2 668? | SELECT COUNT(storms__days_year_) FROM table_name_74 WHERE fog__days_year_ < 74 AND sunshine__hrs_year_ = "2 668" | [
2061,
389,
262,
1271,
286,
20228,
810,
19558,
318,
2793,
621,
8915,
11,
290,
34488,
318,
362,
718,
3104,
30,
46506,
327,
28270,
7,
38563,
834,
12545,
62,
1941,
62,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
19558,
834,
12545,
62,
1941,
62,
1279,
8915,
5357,
34488,
834,
71,
3808,
62,
1941,
62,
796,
366,
17,
718,
3104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1271,
286,
20228,
810,
19558,
318,
2793,
621,
8915,
11,
290,
34488,
318,
362,
718,
3104,
30,
46506,
327,
28270,
7,
38563,
834,
12545,
62,
1941,
62,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
19558,
834,
12545,
62,
1941,
62,
1279,
8915,
5357,
34488,
834,
71,
3808,
62,
1941,
62,
796,
366,
17,
718,
3104,
1
] |
Who vacated his post when his successor was formally installed on May 11, 1966? | SELECT vacator FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | [
8241,
46346,
465,
1281,
618,
465,
17270,
373,
15832,
6589,
319,
1737,
1367,
11,
19322,
30,
46506,
6658,
1352,
16034,
3084,
62,
1507,
2857,
15259,
62,
18,
33411,
3128,
62,
1659,
62,
13138,
669,
62,
687,
282,
62,
17350,
341,
796,
366,
6747,
1367,
11,
19322,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
46346,
465,
1281,
618,
465,
17270,
373,
15832,
6589,
319,
1737,
1367,
11,
19322,
30,
46506,
6658,
1352,
16034,
3084,
62,
1507,
2857,
15259,
62,
18,
33411,
3128,
62,
1659,
62,
13138,
669,
62,
687,
282,
62,
17350,
341,
796,
366,
6747,
1367,
11,
19322,
1
] |
calculate the maximum days for which patients born after 2049 were admitted in hospital. | SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.dob_year > "2049" | [
9948,
3129,
378,
262,
5415,
1528,
329,
543,
3871,
4642,
706,
1160,
2920,
547,
6848,
287,
4436,
13,
46506,
25882,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
67,
672,
62,
1941,
1875,
366,
1238,
2920,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9948,
3129,
378,
262,
5415,
1528,
329,
543,
3871,
4642,
706,
1160,
2920,
547,
6848,
287,
4436,
13,
46506,
25882,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
67,
672,
62,
1941,
1875,
366,
1238,
2920,
1
] |
What was the method used when the opponent was Tyson Griffin? | SELECT method FROM table_name_75 WHERE opponent = "tyson griffin" | [
2061,
373,
262,
2446,
973,
618,
262,
6125,
373,
27320,
16525,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
796,
366,
774,
1559,
1036,
42022,
1
] | [
1,
1,
1,
1,
1,
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,
2446,
973,
618,
262,
6125,
373,
27320,
16525,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
796,
366,
774,
1559,
1036,
42022,
1
] |
How many of the patients with an unspecified death status were born before the year 2121? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.dob_year < "2121" | [
2437,
867,
286,
262,
3871,
351,
281,
29547,
1918,
3722,
547,
4642,
878,
262,
614,
362,
19244,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
17,
19244,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
3871,
351,
281,
29547,
1918,
3722,
547,
4642,
878,
262,
614,
362,
19244,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
17,
19244,
1
] |
what was first procedure time of patient 013-11660 during this hospital encounter? | SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-11660' AND patient.hospitaldischargetime IS NULL)) ORDER BY treatment.treatmenttime LIMIT 1 | [
10919,
373,
717,
8771,
640,
286,
5827,
5534,
18,
12,
18298,
1899,
1141,
428,
4436,
8791,
30,
46506,
3513,
13,
42487,
2435,
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,
30273,
12,
18298,
1899,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
4008,
38678,
11050,
3513,
13,
42487,
2435,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
8771,
640,
286,
5827,
5534,
18,
12,
18298,
1899,
1141,
428,
4436,
8791,
30,
46506,
3513,
13,
42487,
2435,
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,
30273,
12,
18298,
1899,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
4008,
38678,
11050,
3513,
13,
42487,
2435,
27564,
2043,
352
] |
What is the date of the locomotive with a Waterford class? | SELECT date_made FROM table_name_50 WHERE class = "waterford" | [
2061,
318,
262,
3128,
286,
262,
33334,
19138,
351,
257,
5638,
3841,
1398,
30,
46506,
3128,
62,
9727,
16034,
3084,
62,
3672,
62,
1120,
33411,
1398,
796,
366,
7050,
3841,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
33334,
19138,
351,
257,
5638,
3841,
1398,
30,
46506,
3128,
62,
9727,
16034,
3084,
62,
3672,
62,
1120,
33411,
1398,
796,
366,
7050,
3841,
1
] |
All Java (with or without other tags) tagged questions for a week in January 2018. | SELECT Q.Id, Q.CreationDate, Q.Title AS "Question Title", Q.Body AS "Question Body", A.Body AS "Answer Body" FROM Posts AS Q INNER JOIN Posts AS A ON Q.AcceptedAnswerId = A.Id INNER JOIN PostTags AS PT ON PT.PostId = Q.Id WHERE PT.TagId = 17 AND Q.CreationDate BETWEEN '2018-01-01' AND '2018-01-03' AND Q.Score >= 0 ORDER BY Q.Id | [
3237,
7349,
357,
4480,
393,
1231,
584,
15940,
8,
30509,
2683,
329,
257,
1285,
287,
3269,
2864,
13,
46506,
1195,
13,
7390,
11,
1195,
13,
12443,
341,
10430,
11,
1195,
13,
19160,
7054,
366,
24361,
11851,
1600,
1195,
13,
25842,
7054,
366,
24361,
12290,
1600,
317,
13,
25842,
7054,
366,
33706,
12290,
1,
16034,
12043,
7054,
1195,
3268,
21479,
32357,
1268,
12043,
7054,
317,
6177,
1195,
13,
38855,
276,
33706,
7390,
796,
317,
13,
7390,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
19310,
6177,
19310,
13,
6307,
7390,
796,
1195,
13,
7390,
33411,
19310,
13,
24835,
7390,
796,
1596,
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
] | [
3237,
7349,
357,
4480,
393,
1231,
584,
15940,
8,
30509,
2683,
329,
257,
1285,
287,
3269,
2864,
13,
46506,
1195,
13,
7390,
11,
1195,
13,
12443,
341,
10430,
11,
1195,
13,
19160,
7054,
366,
24361,
11851,
1600,
1195,
13,
25842,
7054,
366,
24361,
12290,
1600,
317,
13,
25842,
7054,
366,
33706,
12290,
1,
16034,
12043,
7054,
1195,
3268,
21479,
32357,
1268,
12043,
7054,
317,
6177,
1195,
13,
38855,
276,
33706,
7390,
796,
317,
13,
7390,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
19310,
6177,
19310,
13,
6307,
7390,
796,
1195,
13,
7390,
33411,
19310,
13,
24835,
7390,
796,
1596,
5357
] |
Use a bar chart to show the number of start dates of all the apartment bookings made by guests with gender code 'Female' for each weekday, display Y from low to high order. | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" ORDER BY COUNT(booking_start_date) | [
11041,
257,
2318,
8262,
284,
905,
262,
1271,
286,
923,
9667,
286,
477,
262,
7962,
1492,
654,
925,
416,
10650,
351,
5279,
2438,
705,
27273,
6,
329,
1123,
28269,
11,
3359,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
2070,
278,
62,
9688,
62,
4475,
8,
16034,
5949,
1823,
62,
10482,
654,
7054,
309,
16,
32357,
1268,
46936,
7054,
309,
17,
6177,
309,
16,
13,
5162,
395,
62,
312,
796,
309,
17,
13,
5162,
395,
62,
312,
33411,
309,
17,
13,
8388,
62,
8189,
796,
366,
27273,
1,
38678,
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
] | [
11041,
257,
2318,
8262,
284,
905,
262,
1271,
286,
923,
9667,
286,
477,
262,
7962,
1492,
654,
925,
416,
10650,
351,
5279,
2438,
705,
27273,
6,
329,
1123,
28269,
11,
3359,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
2070,
278,
62,
9688,
62,
4475,
8,
16034,
5949,
1823,
62,
10482,
654,
7054,
309,
16,
32357,
1268,
46936,
7054,
309,
17,
6177,
309,
16,
13,
5162,
395,
62,
312,
796,
309,
17,
13,
5162,
395,
62,
312,
33411,
309,
17,
13,
8388,
62,
8189,
796,
366,
27273,
1,
38678,
11050,
327
] |
What is the total number of ranks that had vestron as the studio? | SELECT COUNT(rank) FROM table_name_48 WHERE studio = "vestron" | [
2061,
318,
262,
2472,
1271,
286,
9803,
326,
550,
19750,
1313,
355,
262,
8034,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
8034,
796,
366,
4223,
1313,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
9803,
326,
550,
19750,
1313,
355,
262,
8034,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
8034,
796,
366,
4223,
1313,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.