instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
list | attention_mask
list | labels
list |
---|---|---|---|---|
What generation is the member born on 1992.12.23 in? | SELECT generation FROM table_name_4 WHERE birthday = "1992.12.23" | [
2061,
5270,
318,
262,
2888,
4642,
319,
9768,
13,
1065,
13,
1954,
287,
30,
46506,
5270,
16034,
3084,
62,
3672,
62,
19,
33411,
10955,
796,
366,
23847,
13,
1065,
13,
1954,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
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,
5270,
318,
262,
2888,
4642,
319,
9768,
13,
1065,
13,
1954,
287,
30,
46506,
5270,
16034,
3084,
62,
3672,
62,
19,
33411,
10955,
796,
366,
23847,
13,
1065,
13,
1954,
1
]
|
Name the average year for brookvale oval and margin more than 46 | SELECT AVG("Year") FROM table_68118 WHERE "Venue" = 'brookvale oval' AND "Margin" > '46' | [
5376,
262,
2811,
614,
329,
1379,
482,
41161,
41186,
290,
10330,
517,
621,
6337,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
3104,
16817,
33411,
366,
37522,
518,
1,
796,
705,
19094,
41161,
41186,
6,
5357,
366,
24428,
259,
1,
1875,
705,
3510,
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
]
| [
5376,
262,
2811,
614,
329,
1379,
482,
41161,
41186,
290,
10330,
517,
621,
6337,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
3104,
16817,
33411,
366,
37522,
518,
1,
796,
705,
19094,
41161,
41186,
6,
5357,
366,
24428,
259,
1,
1875,
705,
3510,
6
]
|
Bar graph to show the average of high temperature from different day of week, I want to rank by the bars from low to high. | SELECT day_of_week, AVG(high_temperature) FROM weekly_weather GROUP BY day_of_week ORDER BY day_of_week | [
10374,
4823,
284,
905,
262,
2811,
286,
1029,
5951,
422,
1180,
1110,
286,
1285,
11,
314,
765,
284,
4279,
416,
262,
9210,
422,
1877,
284,
1029,
13,
46506,
1110,
62,
1659,
62,
10464,
11,
35224,
7,
8929,
62,
11498,
21069,
8,
16034,
10273,
62,
23563,
44441,
11050,
1110,
62,
1659,
62,
10464,
38678,
11050,
1110,
62,
1659,
62,
10464
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4823,
284,
905,
262,
2811,
286,
1029,
5951,
422,
1180,
1110,
286,
1285,
11,
314,
765,
284,
4279,
416,
262,
9210,
422,
1877,
284,
1029,
13,
46506,
1110,
62,
1659,
62,
10464,
11,
35224,
7,
8929,
62,
11498,
21069,
8,
16034,
10273,
62,
23563,
44441,
11050,
1110,
62,
1659,
62,
10464,
38678,
11050,
1110,
62,
1659,
62,
10464
]
|
For those employees who was hired before 2002-06-21, a bar chart shows the distribution of hire_date and the average of manager_id bin hire_date by time, and sort by the total number in desc please. | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(MANAGER_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
3297,
416,
262,
2472,
1271,
287,
1715,
3387,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
38678,
11050,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
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
]
| [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
3297,
416,
262,
2472,
1271,
287,
1715,
3387,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
38678,
11050,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
22196,
34
]
|
List the record from the game where Wildcats had 48 points. | SELECT record FROM table_24561550_1 WHERE wildcats_points = 48 | [
8053,
262,
1700,
422,
262,
983,
810,
46011,
550,
4764,
2173,
13,
46506,
1700,
16034,
3084,
62,
1731,
3980,
1314,
1120,
62,
16,
33411,
4295,
24619,
62,
13033,
796,
4764
]
| [
1,
1,
1,
1,
1,
1,
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,
1700,
422,
262,
983,
810,
46011,
550,
4764,
2173,
13,
46506,
1700,
16034,
3084,
62,
1731,
3980,
1314,
1120,
62,
16,
33411,
4295,
24619,
62,
13033,
796,
4764
]
|
Which Game has a Team of at phoenix, and a Score of 107-119? | SELECT COUNT("Game") FROM table_43009 WHERE "Team" = 'at phoenix' AND "Score" = '107-119' | [
13828,
3776,
468,
257,
4816,
286,
379,
872,
8538,
11,
290,
257,
15178,
286,
16226,
12,
16315,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
3559,
28694,
33411,
366,
15592,
1,
796,
705,
265,
872,
8538,
6,
5357,
366,
26595,
1,
796,
705,
15982,
12,
16315,
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
]
| [
13828,
3776,
468,
257,
4816,
286,
379,
872,
8538,
11,
290,
257,
15178,
286,
16226,
12,
16315,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
3559,
28694,
33411,
366,
15592,
1,
796,
705,
265,
872,
8538,
6,
5357,
366,
26595,
1,
796,
705,
15982,
12,
16315,
6
]
|
Which week had the song choice ' empire state of mind (part ii) broken down '? | SELECT "Week #" FROM table_74420 WHERE "Song choice" = ' Empire State of Mind (Part II) Broken Down ' | [
13828,
1285,
550,
262,
3496,
3572,
705,
13735,
1181,
286,
2000,
357,
3911,
21065,
8,
5445,
866,
705,
30,
46506,
366,
20916,
1303,
1,
16034,
3084,
62,
22,
2598,
1238,
33411,
366,
44241,
3572,
1,
796,
705,
8065,
1812,
286,
10175,
357,
7841,
2873,
8,
22607,
5588,
705
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
550,
262,
3496,
3572,
705,
13735,
1181,
286,
2000,
357,
3911,
21065,
8,
5445,
866,
705,
30,
46506,
366,
20916,
1303,
1,
16034,
3084,
62,
22,
2598,
1238,
33411,
366,
44241,
3572,
1,
796,
705,
8065,
1812,
286,
10175,
357,
7841,
2873,
8,
22607,
5588,
705
]
|
which episode had at least 1.0 viewers ? | SELECT "title" FROM table_204_449 WHERE "viewers" >= 1.0 | [
4758,
4471,
550,
379,
1551,
352,
13,
15,
10209,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
31911,
33411,
366,
1177,
364,
1,
18189,
352,
13,
15
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4758,
4471,
550,
379,
1551,
352,
13,
15,
10209,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
31911,
33411,
366,
1177,
364,
1,
18189,
352,
13,
15
]
|
i want information on flights from ATLANTA to WASHINGTON i want to leave after 1600 on wednesday or before 900 on thursday | 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 ((date_day.day_number = 24 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time < 1600 AND flight.flight_days = days.days_code) OR (date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time > 900 AND flight.flight_days = days.days_code)) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
72,
765,
1321,
319,
13956,
422,
5161,
25697,
5603,
284,
370,
19436,
1312,
765,
284,
2666,
706,
26143,
319,
29445,
3462,
393,
878,
15897,
319,
294,
3479,
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,
14808,
4475,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
765,
1321,
319,
13956,
422,
5161,
25697,
5603,
284,
370,
19436,
1312,
765,
284,
2666,
706,
26143,
319,
29445,
3462,
393,
878,
15897,
319,
294,
3479,
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,
14808,
4475,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618
]
|
how many patients whose admission year is less than 2137 and lab test name is fibrinogen, functional? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2137" AND lab.label = "Fibrinogen, Functional" | [
4919,
867,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
19708,
290,
2248,
1332,
1438,
318,
277,
2889,
259,
6644,
11,
10345,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
76,
414,
451,
1279,
366,
17,
19708,
1,
5357,
2248,
13,
18242,
796,
366,
37,
2889,
259,
6644,
11,
44224,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
867,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
19708,
290,
2248,
1332,
1438,
318,
277,
2889,
259,
6644,
11,
10345,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
76,
414,
451,
1279,
366,
17,
19708,
1,
5357,
2248,
13,
18242,
796,
366,
37,
2889,
259,
6644,
11,
44224,
1
]
|
Which year al geiberger is in? | SELECT "Year(s) won" FROM table_13144 WHERE "Player" = 'al geiberger' | [
13828,
614,
435,
4903,
1856,
1362,
318,
287,
30,
46506,
366,
17688,
7,
82,
8,
1839,
1,
16034,
3084,
62,
1485,
18444,
33411,
366,
14140,
1,
796,
705,
282,
4903,
1856,
1362,
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
]
| [
13828,
614,
435,
4903,
1856,
1362,
318,
287,
30,
46506,
366,
17688,
7,
82,
8,
1839,
1,
16034,
3084,
62,
1485,
18444,
33411,
366,
14140,
1,
796,
705,
282,
4903,
1856,
1362,
6
]
|
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about commission_pct over the last_name . | SELECT LAST_NAME, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
5810,
62,
79,
310,
625,
262,
938,
62,
3672,
764,
46506,
41894,
62,
20608,
11,
22240,
40373,
62,
47,
4177,
16034,
4409,
33411,
5626,
5550,
30709,
10979,
62,
2389,
3268,
357,
46506,
5550,
30709,
10979,
62,
2389,
16034,
13346,
33411,
17254,
4760,
1137,
62,
2389,
38651,
8845,
1677,
1802,
5357,
939,
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
]
| [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
5810,
62,
79,
310,
625,
262,
938,
62,
3672,
764,
46506,
41894,
62,
20608,
11,
22240,
40373,
62,
47,
4177,
16034,
4409,
33411,
5626,
5550,
30709,
10979,
62,
2389,
3268,
357,
46506,
5550,
30709,
10979,
62,
2389,
16034,
13346,
33411,
17254,
4760,
1137,
62,
2389,
38651,
8845,
1677,
1802,
5357,
939,
8
]
|
When a variant without niqqud is as middle letter: with a phonemic value of /v/, what is the variant with niqqud? | SELECT "Variant (with Niqqud )" FROM table_56980 WHERE "Phonemic Value" = '/v/' AND "without Niqqud" = 'as middle letter: וו' | [
2215,
257,
15304,
1231,
299,
25011,
421,
67,
318,
355,
3504,
3850,
25,
351,
257,
32896,
5314,
1988,
286,
1220,
85,
47454,
644,
318,
262,
15304,
351,
299,
25011,
421,
67,
30,
46506,
366,
23907,
415,
357,
4480,
11556,
80,
421,
67,
1267,
1,
16034,
3084,
62,
20,
3388,
1795,
33411,
366,
2725,
261,
5314,
11052,
1,
796,
31051,
85,
14,
6,
5357,
366,
19419,
11556,
80,
421,
67,
1,
796,
705,
292,
3504,
3850,
25,
14360,
243,
27072,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2215,
257,
15304,
1231,
299,
25011,
421,
67,
318,
355,
3504,
3850,
25,
351,
257,
32896,
5314,
1988,
286,
1220,
85,
47454,
644,
318,
262,
15304,
351,
299,
25011,
421,
67,
30,
46506,
366,
23907,
415,
357,
4480,
11556,
80,
421,
67,
1267,
1,
16034,
3084,
62,
20,
3388,
1795,
33411,
366,
2725,
261,
5314,
11052,
1,
796,
31051,
85,
14,
6,
5357,
366,
19419,
11556,
80,
421,
67,
1,
796,
705,
292,
3504,
3850,
25,
14360,
243,
27072,
6
]
|
When was there a game at Arden Street Oval? | SELECT date FROM table_name_21 WHERE venue = "arden street oval" | [
2215,
373,
612,
257,
983,
379,
943,
6559,
3530,
25165,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2481,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2215,
373,
612,
257,
983,
379,
943,
6559,
3530,
25165,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2481,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
]
|
when did patient 008-24610 last have the maximum amount of platelets x 1000 in 05/this year? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '008-24610')) AND lab.labname = 'platelets x 1000' AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', lab.labresulttime) = '05' ORDER BY lab.labresult DESC, lab.labresulttime DESC LIMIT 1 | [
12518,
750,
5827,
3571,
23,
12,
26912,
940,
938,
423,
262,
5415,
2033,
286,
7480,
5289,
2124,
8576,
287,
8870,
14,
5661,
614,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
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,
25257,
12,
26912,
940,
6,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
6816,
5289,
2124,
8576,
6,
5357,
360,
1404
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23,
12,
26912,
940,
938,
423,
262,
5415,
2033,
286,
7480,
5289,
2124,
8576,
287,
8870,
14,
5661,
614,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
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,
25257,
12,
26912,
940,
6,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
6816,
5289,
2124,
8576,
6,
5357,
360,
1404
]
|
what is the sum of the losses when the goals against is less than 34 and the games played is less than 8? | SELECT SUM("Losses") FROM table_77521 WHERE "Goals Against" < '34' AND "Games Played" < '8' | [
10919,
318,
262,
2160,
286,
262,
9089,
618,
262,
4661,
1028,
318,
1342,
621,
4974,
290,
262,
1830,
2826,
318,
1342,
621,
807,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
34483,
2481,
33411,
366,
5247,
874,
12914,
1,
1279,
705,
2682,
6,
5357,
366,
24474,
33101,
1,
1279,
705,
23,
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
]
| [
10919,
318,
262,
2160,
286,
262,
9089,
618,
262,
4661,
1028,
318,
1342,
621,
4974,
290,
262,
1830,
2826,
318,
1342,
621,
807,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
34483,
2481,
33411,
366,
5247,
874,
12914,
1,
1279,
705,
2682,
6,
5357,
366,
24474,
33101,
1,
1279,
705,
23,
6
]
|
tags of questions new users ask. | SELECT t.Id, t.TagName, COUNT(*) AS "Number questions" FROM (SELECT DISTINCT pq.Id, pt.TagId FROM Users AS u JOIN Posts AS p ON p.OwnerUserId = u.Id JOIN Posts AS pq ON pq.Id = p.ParentId JOIN PostTags AS pt ON pt.PostId = pq.Id WHERE pq.ViewCount > 0 AND (pq.CreationDate BETWEEN '2012-01-01' AND '2012-10-01') AND u.CreationDate BETWEEN '2011-09-01' AND '2012-10-01') AS ut JOIN Tags AS t ON t.Id = ut.TagId GROUP BY t.Id, t.TagName HAVING COUNT(*) > 100 ORDER BY 3 DESC | [
31499,
286,
2683,
649,
2985,
1265,
13,
46506,
256,
13,
7390,
11,
256,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
366,
15057,
2683,
1,
16034,
357,
46506,
360,
8808,
1268,
4177,
279,
80,
13,
7390,
11,
42975,
13,
24835,
7390,
16034,
18987,
7054,
334,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
13,
7390,
32357,
1268,
12043,
7054,
279,
80,
6177,
279,
80,
13,
7390,
796,
279,
13,
24546,
7390,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
6307,
7390,
796,
279,
80,
13,
7390,
33411,
279,
80,
13,
7680,
12332,
1875
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
31499,
286,
2683,
649,
2985,
1265,
13,
46506,
256,
13,
7390,
11,
256,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
366,
15057,
2683,
1,
16034,
357,
46506,
360,
8808,
1268,
4177,
279,
80,
13,
7390,
11,
42975,
13,
24835,
7390,
16034,
18987,
7054,
334,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
13,
7390,
32357,
1268,
12043,
7054,
279,
80,
6177,
279,
80,
13,
7390,
796,
279,
13,
24546,
7390,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
6307,
7390,
796,
279,
80,
13,
7390,
33411,
279,
80,
13,
7680,
12332,
1875
]
|
calculate how many times patient 003-54468 received a laboratory test for tv in 06/this year. | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-54468')) AND lab.labname = 'tv' AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', lab.labresulttime) = '06' | [
9948,
3129,
378,
703,
867,
1661,
5827,
3571,
18,
12,
47576,
3104,
2722,
257,
14010,
1332,
329,
31557,
287,
9130,
14,
5661,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
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,
11245,
12,
47576,
3104,
6,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
14981,
6,
5357,
360,
1404,
2767,
12789,
7,
23912
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
703,
867,
1661,
5827,
3571,
18,
12,
47576,
3104,
2722,
257,
14010,
1332,
329,
31557,
287,
9130,
14,
5661,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
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,
11245,
12,
47576,
3104,
6,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
14981,
6,
5357,
360,
1404,
2767,
12789,
7,
23912
]
|
wich were the events when bout 2 was zhang ( chn ) l 0-5? | SELECT "Event" FROM table_22981 WHERE "Bout 2" = 'Zhang ( CHN ) L 0-5' | [
11451,
547,
262,
2995,
618,
18222,
362,
373,
1976,
33255,
357,
442,
77,
1267,
300,
657,
12,
20,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
1828,
4089,
16,
33411,
366,
33,
448,
362,
1,
796,
705,
57,
33255,
357,
5870,
45,
1267,
406,
657,
12,
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,
1,
1,
1
]
| [
11451,
547,
262,
2995,
618,
18222,
362,
373,
1976,
33255,
357,
442,
77,
1267,
300,
657,
12,
20,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
1828,
4089,
16,
33411,
366,
33,
448,
362,
1,
796,
705,
57,
33255,
357,
5870,
45,
1267,
406,
657,
12,
20,
6
]
|
Visualize a bar chart for how many rooms cost more than 120, for each different decor?, and list by the Y in descending. | SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor ORDER BY COUNT(*) DESC | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
9519,
1575,
517,
621,
7982,
11,
329,
1123,
1180,
11705,
21747,
290,
1351,
416,
262,
575,
287,
31491,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
42043,
33411,
2779,
18124,
1875,
7982,
44441,
11050,
11705,
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
]
| [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
9519,
1575,
517,
621,
7982,
11,
329,
1123,
1180,
11705,
21747,
290,
1351,
416,
262,
575,
287,
31491,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
42043,
33411,
2779,
18124,
1875,
7982,
44441,
11050,
11705,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
]
|
Tell me the championship for runner-up outcome of 2010 | SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010 | [
24446,
502,
262,
12184,
329,
17490,
12,
929,
8055,
286,
3050,
46506,
12184,
16034,
3084,
62,
3672,
62,
1270,
33411,
8055,
796,
366,
16737,
12,
929,
1,
5357,
614,
796,
3050
]
| [
1,
1,
1,
1,
1,
1,
1,
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,
12184,
329,
17490,
12,
929,
8055,
286,
3050,
46506,
12184,
16034,
3084,
62,
3672,
62,
1270,
33411,
8055,
796,
366,
16737,
12,
929,
1,
5357,
614,
796,
3050
]
|
Which builder has a fleet series of s057-s061? | SELECT "Builder" FROM table_79347 WHERE "Fleet series" = 's057-s061' | [
13828,
27098,
468,
257,
11026,
2168,
286,
264,
43526,
12,
82,
3312,
16,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
3720,
30995,
33411,
366,
47669,
316,
2168,
1,
796,
705,
82,
43526,
12,
82,
3312,
16,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
27098,
468,
257,
11026,
2168,
286,
264,
43526,
12,
82,
3312,
16,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
3720,
30995,
33411,
366,
47669,
316,
2168,
1,
796,
705,
82,
43526,
12,
82,
3312,
16,
6
]
|
What is the Place of the Player from New Zealand? | SELECT place FROM table_name_18 WHERE country = "new zealand" | [
2061,
318,
262,
8474,
286,
262,
7853,
422,
968,
8936,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
1507,
33411,
1499,
796,
366,
3605,
27689,
392,
1
]
| [
1,
1,
1,
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,
8474,
286,
262,
7853,
422,
968,
8936,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
1507,
33411,
1499,
796,
366,
3605,
27689,
392,
1
]
|
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, find job_id and the sum of employee_id , and group by attribute job_id, and visualize them by a bar chart, and order names in asc order. | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID | [
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,
1064,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1502,
3891,
287,
10570,
1502,
13,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
3620,
6489,
21414,
6500,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1502,
3891,
287,
10570,
1502,
13,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
3620,
6489,
21414,
6500,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423
]
|
what is average age of patients whose admission type is emergency and year of death is less than 2148? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.dod_year < "2148.0" | [
10919,
318,
2811,
2479,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
614,
286,
1918,
318,
1342,
621,
362,
18294,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
3620,
49837,
45155,
1,
5357,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
18294,
13,
15,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
2811,
2479,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
614,
286,
1918,
318,
1342,
621,
362,
18294,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
3620,
49837,
45155,
1,
5357,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
18294,
13,
15,
1
]
|
Which state has the highest average score in math exam? | SELECT state FROM ndecoreexcel_math_grade8 ORDER BY average_scale_score DESC LIMIT 1 | [
13828,
1181,
468,
262,
4511,
2811,
4776,
287,
10688,
2814,
30,
46506,
1181,
16034,
299,
12501,
382,
1069,
5276,
62,
11018,
62,
9526,
23,
38678,
11050,
2811,
62,
9888,
62,
26675,
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
]
| [
13828,
1181,
468,
262,
4511,
2811,
4776,
287,
10688,
2814,
30,
46506,
1181,
16034,
299,
12501,
382,
1069,
5276,
62,
11018,
62,
9526,
23,
38678,
11050,
2811,
62,
9888,
62,
26675,
22196,
34,
27564,
2043,
352
]
|
How many games have more than 288 goals and less than 34 losses? | SELECT COUNT(games) FROM table_name_38 WHERE goals_against > 288 AND lost < 34 | [
2437,
867,
1830,
423,
517,
621,
35419,
4661,
290,
1342,
621,
4974,
9089,
30,
46506,
327,
28270,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
4661,
62,
32826,
1875,
35419,
5357,
2626,
1279,
4974
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
423,
517,
621,
35419,
4661,
290,
1342,
621,
4974,
9089,
30,
46506,
327,
28270,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
4661,
62,
32826,
1875,
35419,
5357,
2626,
1279,
4974
]
|
What type is the settlement of Lok? | SELECT "Type" FROM table_27839 WHERE "Settlement" = 'Lok' | [
2061,
2099,
318,
262,
9443,
286,
36861,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
25870,
2670,
33411,
366,
50,
27331,
1,
796,
705,
43,
482,
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
]
| [
2061,
2099,
318,
262,
9443,
286,
36861,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
25870,
2670,
33411,
366,
50,
27331,
1,
796,
705,
43,
482,
6
]
|
what is the cost of the diagnostic of facial bone fracture - maxillary fracture? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'facial bone fracture - maxillary fracture') | [
10919,
318,
262,
1575,
286,
262,
23584,
286,
16324,
9970,
31846,
532,
3509,
15856,
31846,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13669,
13,
47356,
5958,
312,
16034,
13669,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
69,
18150,
9970,
31846,
532,
3509,
15856,
31846,
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
]
| [
10919,
318,
262,
1575,
286,
262,
23584,
286,
16324,
9970,
31846,
532,
3509,
15856,
31846,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13669,
13,
47356,
5958,
312,
16034,
13669,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
69,
18150,
9970,
31846,
532,
3509,
15856,
31846,
11537
]
|
what was the three most frequently ordered specimen tests ordered for patients who were previously diagnosed with pancreatic disorder nec in the same hospital encounter since 2104? | SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id 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 = 'pancreatic disorder nec') AND STRFTIME('%y', diagnoses_icd.charttime) >= '2104') AS t1 JOIN (SELECT admissions.subject_id, microbiologyevents.spec_type_desc, microbiologyevents.charttime, admissions.hadm_id FROM microbiologyevents JOIN admissions ON microbiologyevents.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', microbiologyevents.charttime) >= '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id GROUP BY t2.spec_type_desc) AS t3 WHERE t3.c1 <= 3 | [
10919,
373,
262,
1115,
749,
6777,
6149,
31674,
5254,
6149,
329,
3871,
508,
547,
4271,
14641,
351,
47767,
291,
8967,
27576,
287,
262,
976,
4436,
8791,
1201,
362,
13464,
30,
46506,
256,
18,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
46506,
256,
17,
13,
16684,
62,
4906,
62,
20147,
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,
25349,
13,
32796,
62,
312,
11,
40567,
62,
291,
67,
13,
40926,
2435,
11,
25349,
13,
18108,
76,
62,
312,
16034,
40567,
62,
291,
67
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1115,
749,
6777,
6149,
31674,
5254,
6149,
329,
3871,
508,
547,
4271,
14641,
351,
47767,
291,
8967,
27576,
287,
262,
976,
4436,
8791,
1201,
362,
13464,
30,
46506,
256,
18,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
46506,
256,
17,
13,
16684,
62,
4906,
62,
20147,
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,
25349,
13,
32796,
62,
312,
11,
40567,
62,
291,
67,
13,
40926,
2435,
11,
25349,
13,
18108,
76,
62,
312,
16034,
40567,
62,
291,
67
]
|
How many high assists where there for the team of caja laboral? | SELECT COUNT(high_assists) FROM table_27756474_2 WHERE team = "Caja Laboral" | [
2437,
867,
1029,
13648,
810,
612,
329,
262,
1074,
286,
269,
27792,
4827,
282,
30,
46506,
327,
28270,
7,
8929,
62,
562,
1023,
8,
16034,
3084,
62,
1983,
2425,
2414,
4524,
62,
17,
33411,
1074,
796,
366,
34,
27792,
3498,
6864,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1029,
13648,
810,
612,
329,
262,
1074,
286,
269,
27792,
4827,
282,
30,
46506,
327,
28270,
7,
8929,
62,
562,
1023,
8,
16034,
3084,
62,
1983,
2425,
2414,
4524,
62,
17,
33411,
1074,
796,
366,
34,
27792,
3498,
6864,
1
]
|
Vancouver SO Users By Rep. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", u.Id AS "user_link", u.Reputation FROM Users AS u WHERE LOWER(Location) LIKE LOWER('%manchester%') GROUP BY u.Id, u.Reputation ORDER BY Reputation DESC | [
53,
10264,
12809,
18987,
2750,
1432,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
334,
13,
6207,
7094,
16034,
18987,
7054,
334,
33411,
406,
36048,
7,
14749,
8,
34178,
406,
36048,
10786,
4,
805,
35983,
4,
11537,
44441,
11050,
334,
13,
7390,
11,
334,
13,
6207,
7094,
38678,
11050,
1432,
7094,
22196,
34
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
53,
10264,
12809,
18987,
2750,
1432,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
334,
13,
6207,
7094,
16034,
18987,
7054,
334,
33411,
406,
36048,
7,
14749,
8,
34178,
406,
36048,
10786,
4,
805,
35983,
4,
11537,
44441,
11050,
334,
13,
7390,
11,
334,
13,
6207,
7094,
38678,
11050,
1432,
7094,
22196,
34
]
|
what is maximum age of patients whose days of hospital stay is 11 and year of death is less than 2158? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.days_stay = "11" AND demographic.dod_year < "2158.0" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
1367,
290,
614,
286,
1918,
318,
1342,
621,
362,
21273,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
12545,
62,
31712,
796,
366,
1157,
1,
5357,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
21273,
13,
15,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
5415,
2479,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
1367,
290,
614,
286,
1918,
318,
1342,
621,
362,
21273,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
12545,
62,
31712,
796,
366,
1157,
1,
5357,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
21273,
13,
15,
1
]
|
Who was the Opponent at Homewood Field with a Score of 5-8? | SELECT "Opponent" FROM table_76693 WHERE "Site" = 'homewood field' AND "Score" = '5-8' | [
8241,
373,
262,
9385,
3471,
379,
8074,
413,
702,
7663,
351,
257,
15178,
286,
642,
12,
23,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
2791,
6052,
33411,
366,
29123,
1,
796,
705,
26452,
413,
702,
2214,
6,
5357,
366,
26595,
1,
796,
705,
20,
12,
23,
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
]
| [
8241,
373,
262,
9385,
3471,
379,
8074,
413,
702,
7663,
351,
257,
15178,
286,
642,
12,
23,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
2791,
6052,
33411,
366,
29123,
1,
796,
705,
26452,
413,
702,
2214,
6,
5357,
366,
26595,
1,
796,
705,
20,
12,
23,
6
]
|
What is the height for the Tianjin members in 2008? | SELECT "Height" FROM table_66204 WHERE "2008 club" = 'tianjin' | [
2061,
318,
262,
6001,
329,
262,
20834,
18594,
1866,
287,
3648,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
2791,
18638,
33411,
366,
11528,
3430,
1,
796,
705,
83,
666,
18594,
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,
6001,
329,
262,
20834,
18594,
1866,
287,
3648,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
2791,
18638,
33411,
366,
11528,
3430,
1,
796,
705,
83,
666,
18594,
6
]
|
fares and flights from BALTIMORE to PHILADELPHIA | SELECT DISTINCT fare.fare_id, flight.airline_code, flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare 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 = 'PHILADELPHIA' AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
69,
3565,
290,
13956,
422,
347,
31429,
3955,
6965,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
11,
5474,
13,
958,
1370,
62,
8189,
11,
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,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
69,
3565,
290,
13956,
422,
347,
31429,
3955,
6965,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
11,
5474,
13,
958,
1370,
62,
8189,
11,
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,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15
]
|
count the number of times patient 21454 had received a lab ph test during their last hospital encounter. | SELECT COUNT(*) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'ph') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 21454 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) | [
9127,
262,
1271,
286,
1661,
5827,
28277,
4051,
550,
2722,
257,
2248,
872,
1332,
1141,
511,
938,
4436,
8791,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
746,
11537,
5357,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
28277,
4051,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9127,
262,
1271,
286,
1661,
5827,
28277,
4051,
550,
2722,
257,
2248,
872,
1332,
1141,
511,
938,
4436,
8791,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
746,
11537,
5357,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
28277,
4051,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349
]
|
What country does miguel ngel jim nez player for and has a score of 69? | SELECT country FROM table_name_50 WHERE score = 69 AND player = "miguel ángel jiménez" | [
2061,
1499,
857,
37011,
2731,
23370,
417,
474,
320,
497,
89,
2137,
329,
290,
468,
257,
4776,
286,
8644,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1120,
33411,
4776,
796,
8644,
5357,
2137,
796,
366,
76,
328,
2731,
6184,
94,
782,
417,
474,
320,
2634,
710,
89,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
857,
37011,
2731,
23370,
417,
474,
320,
497,
89,
2137,
329,
290,
468,
257,
4776,
286,
8644,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1120,
33411,
4776,
796,
8644,
5357,
2137,
796,
366,
76,
328,
2731,
6184,
94,
782,
417,
474,
320,
2634,
710,
89,
1
]
|
What is the name of the entrepreneur with the greatest weight? | SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
19500,
351,
262,
6000,
3463,
30,
46506,
309,
17,
13,
5376,
16034,
19500,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
38678,
11050,
309,
17,
13,
25844,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1438,
286,
262,
19500,
351,
262,
6000,
3463,
30,
46506,
309,
17,
13,
5376,
16034,
19500,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
38678,
11050,
309,
17,
13,
25844,
22196,
34,
27564,
2043,
352
]
|
When colgate is the team how many times did they place fourth? | SELECT COUNT(fourth_place) FROM table_1571238_2 WHERE team = "Colgate" | [
2215,
951,
10494,
318,
262,
1074,
703,
867,
1661,
750,
484,
1295,
5544,
30,
46506,
327,
28270,
7,
49393,
62,
5372,
8,
16034,
3084,
62,
18458,
1065,
2548,
62,
17,
33411,
1074,
796,
366,
5216,
10494,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
951,
10494,
318,
262,
1074,
703,
867,
1661,
750,
484,
1295,
5544,
30,
46506,
327,
28270,
7,
49393,
62,
5372,
8,
16034,
3084,
62,
18458,
1065,
2548,
62,
17,
33411,
1074,
796,
366,
5216,
10494,
1
]
|
What gender is Luc Desnoyers? | SELECT "Gender" FROM table_80146 WHERE "Candidate's Name" = 'luc desnoyers' | [
2061,
5279,
318,
7598,
2935,
77,
726,
364,
30,
46506,
366,
41394,
1,
16034,
3084,
62,
41531,
3510,
33411,
366,
41572,
20540,
338,
6530,
1,
796,
705,
75,
1229,
748,
77,
726,
364,
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,
5279,
318,
7598,
2935,
77,
726,
364,
30,
46506,
366,
41394,
1,
16034,
3084,
62,
41531,
3510,
33411,
366,
41572,
20540,
338,
6530,
1,
796,
705,
75,
1229,
748,
77,
726,
364,
6
]
|
who is the owner of the wild oatsxi bob oatley or mark richards ? | SELECT "owner" FROM table_204_431 WHERE "yacht" = 'wild oats xi' | [
8727,
318,
262,
4870,
286,
262,
4295,
47009,
29992,
29202,
267,
265,
1636,
393,
1317,
5527,
1371,
5633,
46506,
366,
18403,
1,
16034,
3084,
62,
18638,
62,
50080,
33411,
366,
88,
19725,
1,
796,
705,
21992,
47009,
2124,
72,
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
]
| [
8727,
318,
262,
4870,
286,
262,
4295,
47009,
29992,
29202,
267,
265,
1636,
393,
1317,
5527,
1371,
5633,
46506,
366,
18403,
1,
16034,
3084,
62,
18638,
62,
50080,
33411,
366,
88,
19725,
1,
796,
705,
21992,
47009,
2124,
72,
6
]
|
What is the transfer fee for Jimmy Gibson? | SELECT transfer_fee FROM table_name_22 WHERE name = "jimmy gibson" | [
2061,
318,
262,
4351,
6838,
329,
12963,
20400,
30,
46506,
4351,
62,
39071,
16034,
3084,
62,
3672,
62,
1828,
33411,
1438,
796,
366,
73,
320,
1820,
46795,
1559,
1
]
| [
1,
1,
1,
1,
1,
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,
4351,
6838,
329,
12963,
20400,
30,
46506,
4351,
62,
39071,
16034,
3084,
62,
3672,
62,
1828,
33411,
1438,
796,
366,
73,
320,
1820,
46795,
1559,
1
]
|
What was Stacy Lewis' place? | SELECT "Place" FROM table_61188 WHERE "Player" = 'stacy lewis' | [
2061,
373,
49523,
10174,
6,
1295,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
21,
1157,
3459,
33411,
366,
14140,
1,
796,
705,
301,
1590,
443,
86,
271,
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
]
| [
2061,
373,
49523,
10174,
6,
1295,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
21,
1157,
3459,
33411,
366,
14140,
1,
796,
705,
301,
1590,
443,
86,
271,
6
]
|
What's the highest Year for the Venue of Santiago De Chile and the Event of 800 m? | SELECT MAX("Year") FROM table_68159 WHERE "Event" = '800 m' AND "Venue" = 'santiago de chile' | [
2061,
338,
262,
4511,
6280,
329,
262,
9932,
518,
286,
34802,
1024,
17456,
290,
262,
8558,
286,
10460,
285,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
3104,
19707,
33411,
366,
9237,
1,
796,
705,
7410,
285,
6,
5357,
366,
37522,
518,
1,
796,
705,
82,
17096,
3839,
390,
442,
576,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
338,
262,
4511,
6280,
329,
262,
9932,
518,
286,
34802,
1024,
17456,
290,
262,
8558,
286,
10460,
285,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
3104,
19707,
33411,
366,
9237,
1,
796,
705,
7410,
285,
6,
5357,
366,
37522,
518,
1,
796,
705,
82,
17096,
3839,
390,
442,
576,
6
]
|
Return a bar chart about the distribution of personal_name and gender_mf . | SELECT personal_name, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
2614,
62,
3672,
290,
5279,
62,
76,
69,
764,
46506,
2614,
62,
3672,
11,
5279,
62,
76,
69,
16034,
20537,
62,
30515,
669,
62,
392,
62,
51,
315,
669,
38678,
11050,
2614,
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
]
| [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
2614,
62,
3672,
290,
5279,
62,
76,
69,
764,
46506,
2614,
62,
3672,
11,
5279,
62,
76,
69,
16034,
20537,
62,
30515,
669,
62,
392,
62,
51,
315,
669,
38678,
11050,
2614,
62,
3672
]
|
What was the actual title of the show that had an issue number less than 508, was written by Desmond Devlin, and for which Tom Richmond was the artist? | SELECT actual_title FROM table_name_15 WHERE artist = "tom richmond" AND issue < 508 AND writer = "desmond devlin" | [
2061,
373,
262,
4036,
3670,
286,
262,
905,
326,
550,
281,
2071,
1271,
1342,
621,
2026,
23,
11,
373,
3194,
416,
41045,
6245,
2815,
11,
290,
329,
543,
4186,
16940,
373,
262,
6802,
30,
46506,
4036,
62,
7839,
16034,
3084,
62,
3672,
62,
1314,
33411,
6802,
796,
366,
39532,
5527,
6327,
1,
5357,
2071,
1279,
2026,
23,
5357,
6260,
796,
366,
8906,
6327,
1614,
2815,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4036,
3670,
286,
262,
905,
326,
550,
281,
2071,
1271,
1342,
621,
2026,
23,
11,
373,
3194,
416,
41045,
6245,
2815,
11,
290,
329,
543,
4186,
16940,
373,
262,
6802,
30,
46506,
4036,
62,
7839,
16034,
3084,
62,
3672,
62,
1314,
33411,
6802,
796,
366,
39532,
5527,
6327,
1,
5357,
2071,
1279,
2026,
23,
5357,
6260,
796,
366,
8906,
6327,
1614,
2815,
1
]
|
A bar chart for finding the number of the parties associated with the delegates from district 1 Who served as governors of the parties?, display in ascending by the total number. | SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor ORDER BY COUNT(Governor) | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
5338,
4983,
355,
26824,
286,
262,
4671,
21747,
3359,
287,
41988,
416,
262,
2472,
1271,
13,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
33553,
796,
309,
17,
13,
33553,
62,
2389,
33411,
309,
16,
13,
44857,
796,
352,
44441,
11050,
10807,
38678,
11050,
327,
28270,
7,
29168,
273,
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
]
| [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
5338,
4983,
355,
26824,
286,
262,
4671,
21747,
3359,
287,
41988,
416,
262,
2472,
1271,
13,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
33553,
796,
309,
17,
13,
33553,
62,
2389,
33411,
309,
16,
13,
44857,
796,
352,
44441,
11050,
10807,
38678,
11050,
327,
28270,
7,
29168,
273,
8
]
|
What is the total revenue of each manufacturer? | SELECT SUM(revenue), name FROM manufacturers GROUP BY name | [
2061,
318,
262,
2472,
6426,
286,
1123,
11554,
30,
46506,
35683,
7,
260,
4080,
828,
1438,
16034,
11372,
44441,
11050,
1438
]
| [
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,
1123,
11554,
30,
46506,
35683,
7,
260,
4080,
828,
1438,
16034,
11372,
44441,
11050,
1438
]
|
Worst Questions for a Given Year. | SELECT Id AS "post_link", Score, AnswerCount, ViewCount, FavoriteCount FROM Posts WHERE PostTypeId = 1 AND YEAR(CreationDate) = '##year##' AND Score <= 0 ORDER BY Score, AnswerCount | [
54,
29422,
20396,
329,
257,
11259,
6280,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
11,
23998,
12332,
11,
3582,
12332,
11,
33992,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
32914,
7,
12443,
341,
10430,
8,
796,
705,
2235,
1941,
2235,
6,
5357,
15178,
19841,
657,
38678,
11050,
15178,
11,
23998,
12332
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
54,
29422,
20396,
329,
257,
11259,
6280,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
11,
23998,
12332,
11,
3582,
12332,
11,
33992,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
32914,
7,
12443,
341,
10430,
8,
796,
705,
2235,
1941,
2235,
6,
5357,
15178,
19841,
657,
38678,
11050,
15178,
11,
23998,
12332
]
|
what is the name of procedure patient 31880 has been given two times in 01/last year? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31880) AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', procedures_icd.charttime) = '01' GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 = 2) | [
10919,
318,
262,
1438,
286,
8771,
5827,
39320,
1795,
468,
587,
1813,
734,
1661,
287,
5534,
14,
12957,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
16,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
327,
28270,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
7054,
269,
16,
16034,
9021
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
262,
1438,
286,
8771,
5827,
39320,
1795,
468,
587,
1813,
734,
1661,
287,
5534,
14,
12957,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
16,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
327,
28270,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
7054,
269,
16,
16034,
9021
]
|
Head Coach of wojciech kami ski is what club? | SELECT club FROM table_name_96 WHERE head_coach = "wojciech kamiński" | [
13847,
16393,
286,
266,
13210,
66,
494,
354,
479,
6277,
19984,
318,
644,
3430,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
4846,
33411,
1182,
62,
1073,
620,
796,
366,
86,
13210,
66,
494,
354,
479,
6277,
129,
226,
20545,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13847,
16393,
286,
266,
13210,
66,
494,
354,
479,
6277,
19984,
318,
644,
3430,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
4846,
33411,
1182,
62,
1073,
620,
796,
366,
86,
13210,
66,
494,
354,
479,
6277,
129,
226,
20545,
1
]
|
What is the 2011 Australian Open and a 2010 QF? | SELECT "2011" FROM table_12787 WHERE "Tournament" = 'australian open' AND "2010" = 'qf' | [
2061,
318,
262,
2813,
6638,
4946,
290,
257,
3050,
1195,
37,
30,
46506,
366,
9804,
1,
16034,
3084,
62,
1065,
41019,
33411,
366,
51,
5138,
1,
796,
705,
64,
436,
1373,
666,
1280,
6,
5357,
366,
10333,
1,
796,
705,
80,
69,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2813,
6638,
4946,
290,
257,
3050,
1195,
37,
30,
46506,
366,
9804,
1,
16034,
3084,
62,
1065,
41019,
33411,
366,
51,
5138,
1,
796,
705,
64,
436,
1373,
666,
1280,
6,
5357,
366,
10333,
1,
796,
705,
80,
69,
6
]
|
count the number of patients whose procedure long title is insertion of drug-eluting coronary artery stent(s) and lab test fluid is joint fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Insertion of drug-eluting coronary artery stent(s)" AND lab.fluid = "Joint Fluid" | [
9127,
262,
1271,
286,
3871,
3025,
8771,
890,
3670,
318,
36075,
286,
2563,
12,
417,
15129,
37151,
37646,
336,
298,
7,
82,
8,
290,
2248,
1332,
11711,
318,
6466,
11711,
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,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
9021,
13,
6511,
62,
7839,
796,
366,
44402,
295,
286,
2563,
12,
417,
15129
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
890,
3670,
318,
36075,
286,
2563,
12,
417,
15129,
37151,
37646,
336,
298,
7,
82,
8,
290,
2248,
1332,
11711,
318,
6466,
11711,
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,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
9021,
13,
6511,
62,
7839,
796,
366,
44402,
295,
286,
2563,
12,
417,
15129
]
|
What was the final score on the February 19, 2012 final? | SELECT score_in_the_final FROM table_name_46 WHERE date = "february 19, 2012" | [
2061,
373,
262,
2457,
4776,
319,
262,
3945,
678,
11,
2321,
2457,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
3510,
33411,
3128,
796,
366,
69,
1765,
3728,
678,
11,
2321,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2457,
4776,
319,
262,
3945,
678,
11,
2321,
2457,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
3510,
33411,
3128,
796,
366,
69,
1765,
3728,
678,
11,
2321,
1
]
|
how many days have it elapsed since the last time patient 016-27397 stayed in the ward 613 during this hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '016-27397' AND patient.wardid = 613 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 | [
4919,
867,
1528,
423,
340,
42118,
1201,
262,
938,
640,
5827,
5534,
21,
12,
1983,
33372,
9658,
287,
262,
15305,
718,
1485,
1141,
428,
4436,
8791,
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,
20850,
324,
20124,
524,
4008,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
1983,
33372,
6,
5357,
5827,
13,
904,
312,
796,
718,
1485,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
38678,
11050,
5827,
13,
20850,
324,
20124,
524
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
42118,
1201,
262,
938,
640,
5827,
5534,
21,
12,
1983,
33372,
9658,
287,
262,
15305,
718,
1485,
1141,
428,
4436,
8791,
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,
20850,
324,
20124,
524,
4008,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
1983,
33372,
6,
5357,
5827,
13,
904,
312,
796,
718,
1485,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
38678,
11050,
5827,
13,
20850,
324,
20124,
524
]
|
In which municipality is Barangay Poblacion? | SELECT "Municipality" FROM table_51393 WHERE "Barangay" = 'poblacion' | [
818,
543,
27264,
318,
2409,
648,
323,
350,
45292,
49443,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
48645,
6052,
33411,
366,
10374,
648,
323,
1,
796,
705,
79,
45292,
49443,
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
]
| [
818,
543,
27264,
318,
2409,
648,
323,
350,
45292,
49443,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
48645,
6052,
33411,
366,
10374,
648,
323,
1,
796,
705,
79,
45292,
49443,
6
]
|
Which Land (sqmi) has a GEO ID smaller than 3800587900? | SELECT MIN("Land ( sqmi )") FROM table_64577 WHERE "GEO ID" < '3800587900' | [
13828,
6379,
357,
31166,
11632,
8,
468,
257,
402,
4720,
4522,
4833,
621,
4353,
405,
3365,
3720,
405,
30,
46506,
20625,
7203,
22342,
357,
19862,
11632,
1267,
4943,
16034,
3084,
62,
49259,
3324,
33411,
366,
38,
4720,
4522,
1,
1279,
705,
2548,
405,
3365,
3720,
405,
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
]
| [
13828,
6379,
357,
31166,
11632,
8,
468,
257,
402,
4720,
4522,
4833,
621,
4353,
405,
3365,
3720,
405,
30,
46506,
20625,
7203,
22342,
357,
19862,
11632,
1267,
4943,
16034,
3084,
62,
49259,
3324,
33411,
366,
38,
4720,
4522,
1,
1279,
705,
2548,
405,
3365,
3720,
405,
6
]
|
What is the size difference for exa? | SELECT "Size difference" FROM table_60437 WHERE "Prefix" = 'exa' | [
2061,
318,
262,
2546,
3580,
329,
409,
64,
30,
46506,
366,
10699,
3580,
1,
16034,
3084,
62,
31916,
2718,
33411,
366,
36698,
844,
1,
796,
705,
1069,
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
]
| [
2061,
318,
262,
2546,
3580,
329,
409,
64,
30,
46506,
366,
10699,
3580,
1,
16034,
3084,
62,
31916,
2718,
33411,
366,
36698,
844,
1,
796,
705,
1069,
64,
6
]
|
What's the rank of Igor Rako evi of Tau Cer mica with more than 377 points? | SELECT SUM("Rank") FROM table_45001 WHERE "Team" = 'tau cerámica' AND "Name" = 'igor rakočević' AND "Points" > '377' | [
2061,
338,
262,
4279,
286,
46157,
371,
25496,
819,
72,
286,
36849,
17419,
285,
3970,
351,
517,
621,
42163,
2173,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
2231,
8298,
33411,
366,
15592,
1,
796,
705,
83,
559,
26074,
6557,
76,
3970,
6,
5357,
366,
5376,
1,
796,
705,
36274,
374,
25496,
46195,
1990,
72,
38325,
6,
5357,
366,
40710,
1,
1875,
705,
26514,
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
]
| [
2061,
338,
262,
4279,
286,
46157,
371,
25496,
819,
72,
286,
36849,
17419,
285,
3970,
351,
517,
621,
42163,
2173,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
2231,
8298,
33411,
366,
15592,
1,
796,
705,
83,
559,
26074,
6557,
76,
3970,
6,
5357,
366,
5376,
1,
796,
705,
36274,
374,
25496,
46195,
1990,
72,
38325,
6,
5357,
366,
40710,
1,
1875,
705,
26514,
6
]
|
what are the four most common drugs prescribed to patients of the 40s in the same hospital visit after they have been diagnosed with chronic kidney disease the previous year? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'chronic kidney disease' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.age BETWEEN 40 AND 49 AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 4 | [
10919,
389,
262,
1440,
749,
2219,
5010,
14798,
284,
3871,
286,
262,
2319,
82,
287,
262,
976,
4436,
3187,
706,
484,
423,
587,
14641,
351,
10726,
21919,
4369,
262,
2180,
614,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3672,
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,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
749,
2219,
5010,
14798,
284,
3871,
286,
262,
2319,
82,
287,
262,
976,
4436,
3187,
706,
484,
423,
587,
14641,
351,
10726,
21919,
4369,
262,
2180,
614,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3672,
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,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13
]
|
What city in Svalbard has a longitude of 15 39 e? | SELECT "City" FROM table_33942 WHERE "State" = 'svalbard' AND "Longitude" = '15°39′e' | [
2061,
1748,
287,
311,
2100,
23024,
468,
257,
890,
3984,
286,
1315,
5014,
304,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
29626,
3682,
33411,
366,
9012,
1,
796,
705,
82,
2100,
23024,
6,
5357,
366,
14617,
3984,
1,
796,
705,
1314,
7200,
2670,
17478,
68,
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,
1748,
287,
311,
2100,
23024,
468,
257,
890,
3984,
286,
1315,
5014,
304,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
29626,
3682,
33411,
366,
9012,
1,
796,
705,
82,
2100,
23024,
6,
5357,
366,
14617,
3984,
1,
796,
705,
1314,
7200,
2670,
17478,
68,
6
]
|
What is the position when lost is less than 7? | SELECT AVG("Position") FROM table_46848 WHERE "Lost" < '7' | [
2061,
318,
262,
2292,
618,
2626,
318,
1342,
621,
767,
30,
46506,
35224,
7203,
26545,
4943,
16034,
3084,
62,
38472,
2780,
33411,
366,
31042,
1,
1279,
705,
22,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2292,
618,
2626,
318,
1342,
621,
767,
30,
46506,
35224,
7203,
26545,
4943,
16034,
3084,
62,
38472,
2780,
33411,
366,
31042,
1,
1279,
705,
22,
6
]
|
How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller than 1? | SELECT COUNT(gold) FROM table_name_26 WHERE silver < 3 AND total = 9 AND bronze < 1 | [
2437,
881,
3561,
468,
257,
7698,
4833,
621,
513,
11,
290,
257,
7472,
286,
860,
11,
290,
257,
19461,
4833,
621,
352,
30,
46506,
327,
28270,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
8465,
1279,
513,
5357,
2472,
796,
860,
5357,
22101,
1279,
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
]
| [
2437,
881,
3561,
468,
257,
7698,
4833,
621,
513,
11,
290,
257,
7472,
286,
860,
11,
290,
257,
19461,
4833,
621,
352,
30,
46506,
327,
28270,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
8465,
1279,
513,
5357,
2472,
796,
860,
5357,
22101,
1279,
352
]
|
Which Round has a College of tulsa, and a Pick larger than 61? | SELECT AVG("Round") FROM table_44007 WHERE "College" = 'tulsa' AND "Pick" > '61' | [
13828,
10485,
468,
257,
5535,
286,
256,
5753,
64,
11,
290,
257,
12346,
4025,
621,
8454,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
2598,
25816,
33411,
366,
38951,
1,
796,
705,
83,
5753,
64,
6,
5357,
366,
31686,
1,
1875,
705,
5333,
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
]
| [
13828,
10485,
468,
257,
5535,
286,
256,
5753,
64,
11,
290,
257,
12346,
4025,
621,
8454,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
2598,
25816,
33411,
366,
38951,
1,
796,
705,
83,
5753,
64,
6,
5357,
366,
31686,
1,
1875,
705,
5333,
6
]
|
What are the employee ids of the employees whose role name is 'Human Resource' or 'Manager'? | SELECT T1.employee_id FROM employees AS T1 JOIN roles AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager" | [
2061,
389,
262,
6538,
220,
2340,
286,
262,
4409,
3025,
2597,
1438,
318,
705,
20490,
20857,
6,
393,
705,
13511,
30960,
46506,
309,
16,
13,
7033,
1453,
62,
312,
16034,
4409,
7054,
309,
16,
32357,
1268,
9176,
7054,
309,
17,
6177,
309,
16,
13,
18090,
62,
8189,
796,
309,
17,
13,
18090,
62,
8189,
33411,
309,
17,
13,
18090,
62,
3672,
796,
366,
20490,
20857,
1,
6375,
309,
17,
13,
18090,
62,
3672,
796,
366,
13511,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6538,
220,
2340,
286,
262,
4409,
3025,
2597,
1438,
318,
705,
20490,
20857,
6,
393,
705,
13511,
30960,
46506,
309,
16,
13,
7033,
1453,
62,
312,
16034,
4409,
7054,
309,
16,
32357,
1268,
9176,
7054,
309,
17,
6177,
309,
16,
13,
18090,
62,
8189,
796,
309,
17,
13,
18090,
62,
8189,
33411,
309,
17,
13,
18090,
62,
3672,
796,
366,
20490,
20857,
1,
6375,
309,
17,
13,
18090,
62,
3672,
796,
366,
13511,
1
]
|
List all media types. | SELECT name FROM media_types | [
8053,
477,
2056,
3858,
13,
46506,
1438,
16034,
2056,
62,
19199
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8053,
477,
2056,
3858,
13,
46506,
1438,
16034,
2056,
62,
19199
]
|
What is the winner in event number 15h? | SELECT winner FROM table_22050544_1 WHERE event__number = "15H" | [
2061,
318,
262,
8464,
287,
1785,
1271,
1315,
71,
30,
46506,
8464,
16034,
3084,
62,
17572,
31654,
2598,
62,
16,
33411,
1785,
834,
17618,
796,
366,
1314,
39,
1
]
| [
1,
1,
1,
1,
1,
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,
8464,
287,
1785,
1271,
1315,
71,
30,
46506,
8464,
16034,
3084,
62,
17572,
31654,
2598,
62,
16,
33411,
1785,
834,
17618,
796,
366,
1314,
39,
1
]
|
Who directed an episode with 1.19 million? | SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19" | [
8241,
7924,
281,
4471,
351,
352,
13,
1129,
1510,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
1959,
1983,
2091,
3829,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
16,
13,
1129,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8241,
7924,
281,
4471,
351,
352,
13,
1129,
1510,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
1959,
1983,
2091,
3829,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
16,
13,
1129,
1
]
|
What time slot had an adult rating of 0.6? | SELECT "Timeslot" FROM table_1998 WHERE "Rating (adults 18\u201349)" = '0.6' | [
2061,
640,
10852,
550,
281,
4044,
7955,
286,
657,
13,
21,
30,
46506,
366,
28595,
26487,
1,
16034,
3084,
62,
21113,
33411,
366,
29321,
357,
324,
8376,
1248,
59,
84,
1264,
27371,
16725,
796,
705,
15,
13,
21,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
640,
10852,
550,
281,
4044,
7955,
286,
657,
13,
21,
30,
46506,
366,
28595,
26487,
1,
16034,
3084,
62,
21113,
33411,
366,
29321,
357,
324,
8376,
1248,
59,
84,
1264,
27371,
16725,
796,
705,
15,
13,
21,
6
]
|
for patient id 2560, specify gender and item id. | SELECT demographic.gender, lab.itemid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
1640,
5827,
4686,
1679,
1899,
11,
11986,
5279,
290,
2378,
4686,
13,
46506,
16728,
13,
8388,
11,
2248,
13,
9186,
312,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1640,
5827,
4686,
1679,
1899,
11,
11986,
5279,
290,
2378,
4686,
13,
46506,
16728,
13,
8388,
11,
2248,
13,
9186,
312,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
]
|
Return a bar chart on what are the title and maximum price of each film?, display x-axis in asc order. | SELECT Title, MAX(T1.Price) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID GROUP BY Title ORDER BY Title | [
13615,
257,
2318,
8262,
319,
644,
389,
262,
3670,
290,
5415,
2756,
286,
1123,
2646,
21747,
3359,
2124,
12,
22704,
287,
10570,
1502,
13,
46506,
11851,
11,
25882,
7,
51,
16,
13,
18124,
8,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
309,
17,
6177,
309,
16,
13,
39750,
62,
2389,
796,
309,
17,
13,
39750,
62,
2389,
44441,
11050,
11851,
38678,
11050,
11851
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
319,
644,
389,
262,
3670,
290,
5415,
2756,
286,
1123,
2646,
21747,
3359,
2124,
12,
22704,
287,
10570,
1502,
13,
46506,
11851,
11,
25882,
7,
51,
16,
13,
18124,
8,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
309,
17,
6177,
309,
16,
13,
39750,
62,
2389,
796,
309,
17,
13,
39750,
62,
2389,
44441,
11050,
11851,
38678,
11050,
11851
]
|
What is Permanent Account, when Updated In Past 30 Days is 10324? | SELECT "Permanent Account" FROM table_47183 WHERE "Updated in past 30 days" = '10324' | [
2061,
318,
36814,
10781,
11,
618,
19433,
554,
11303,
1542,
12579,
318,
15349,
1731,
30,
46506,
366,
47,
30312,
10781,
1,
16034,
3084,
62,
2857,
24839,
33411,
366,
17354,
287,
1613,
1542,
1528,
1,
796,
705,
15197,
1731,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
36814,
10781,
11,
618,
19433,
554,
11303,
1542,
12579,
318,
15349,
1731,
30,
46506,
366,
47,
30312,
10781,
1,
16034,
3084,
62,
2857,
24839,
33411,
366,
17354,
287,
1613,
1542,
1528,
1,
796,
705,
15197,
1731,
6
]
|
who is the only wsl title holder from texas ? | SELECT "wrestler:" FROM table_204_684 WHERE "location:" = 'texas' | [
8727,
318,
262,
691,
266,
6649,
3670,
15762,
422,
48659,
292,
5633,
46506,
366,
86,
2118,
1754,
11097,
16034,
3084,
62,
18638,
62,
41580,
33411,
366,
24886,
11097,
796,
705,
16886,
292,
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
]
| [
8727,
318,
262,
691,
266,
6649,
3670,
15762,
422,
48659,
292,
5633,
46506,
366,
86,
2118,
1754,
11097,
16034,
3084,
62,
18638,
62,
41580,
33411,
366,
24886,
11097,
796,
705,
16886,
292,
6
]
|
What is the swimsuit score for the item that has 7.61 as evening gown | SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61" | [
2061,
318,
262,
9422,
6063,
4776,
329,
262,
2378,
326,
468,
767,
13,
5333,
355,
6180,
33323,
46506,
9422,
6063,
16034,
3084,
62,
8628,
23,
1129,
2670,
62,
19,
33411,
6180,
62,
70,
593,
796,
366,
22,
13,
5333,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9422,
6063,
4776,
329,
262,
2378,
326,
468,
767,
13,
5333,
355,
6180,
33323,
46506,
9422,
6063,
16034,
3084,
62,
8628,
23,
1129,
2670,
62,
19,
33411,
6180,
62,
70,
593,
796,
366,
22,
13,
5333,
1
]
|
Which season did he have 0 points and 31st position? | SELECT MAX(season) FROM table_17246160_1 WHERE points = 0 AND position = "31st" | [
13828,
1622,
750,
339,
423,
657,
2173,
290,
3261,
301,
2292,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
1558,
26912,
14198,
62,
16,
33411,
2173,
796,
657,
5357,
2292,
796,
366,
3132,
301,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
1622,
750,
339,
423,
657,
2173,
290,
3261,
301,
2292,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
1558,
26912,
14198,
62,
16,
33411,
2173,
796,
657,
5357,
2292,
796,
366,
3132,
301,
1
]
|
How many wins did the player have in the Formula BMW World Final? | SELECT "Wins" FROM table_21430 WHERE "Series" = 'Formula BMW World Final' | [
2437,
867,
7864,
750,
262,
2137,
423,
287,
262,
19639,
19339,
2159,
8125,
30,
46506,
366,
54,
1040,
1,
16034,
3084,
62,
22291,
1270,
33411,
366,
27996,
1,
796,
705,
8479,
4712,
19339,
2159,
8125,
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
]
| [
2437,
867,
7864,
750,
262,
2137,
423,
287,
262,
19639,
19339,
2159,
8125,
30,
46506,
366,
54,
1040,
1,
16034,
3084,
62,
22291,
1270,
33411,
366,
27996,
1,
796,
705,
8479,
4712,
19339,
2159,
8125,
6
]
|
What is the French word where the German word is filtern? | SELECT "French" FROM table_19817 WHERE "German" = 'filtern' | [
2061,
318,
262,
4141,
1573,
810,
262,
2679,
1573,
318,
1226,
759,
30,
46506,
366,
24111,
1,
16034,
3084,
62,
22337,
1558,
33411,
366,
16010,
1,
796,
705,
10379,
759,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
4141,
1573,
810,
262,
2679,
1573,
318,
1226,
759,
30,
46506,
366,
24111,
1,
16034,
3084,
62,
22337,
1558,
33411,
366,
16010,
1,
796,
705,
10379,
759,
6
]
|
what is the wheel arrangement when the year made is 1881? | SELECT wheel_arrangement FROM table_name_78 WHERE year_made = "1881" | [
10919,
318,
262,
7825,
13888,
618,
262,
614,
925,
318,
1248,
6659,
30,
46506,
7825,
62,
3258,
648,
972,
16034,
3084,
62,
3672,
62,
3695,
33411,
614,
62,
9727,
796,
366,
1507,
6659,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7825,
13888,
618,
262,
614,
925,
318,
1248,
6659,
30,
46506,
7825,
62,
3258,
648,
972,
16034,
3084,
62,
3672,
62,
3695,
33411,
614,
62,
9727,
796,
366,
1507,
6659,
1
]
|
Chinese title of had what released? | SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱" | [
23604,
3670,
286,
550,
644,
2716,
30,
46506,
2716,
16034,
3084,
62,
3672,
62,
2598,
33411,
442,
3762,
62,
7839,
796,
366,
20998,
235,
29826,
96,
10263,
235,
241,
23877,
229,
164,
238,
109,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
23604,
3670,
286,
550,
644,
2716,
30,
46506,
2716,
16034,
3084,
62,
3672,
62,
2598,
33411,
442,
3762,
62,
7839,
796,
366,
20998,
235,
29826,
96,
10263,
235,
241,
23877,
229,
164,
238,
109,
1
]
|
What are the names and type codes of products? | SELECT product_name, product_type_code FROM products | [
2061,
389,
262,
3891,
290,
2099,
12416,
286,
3186,
30,
46506,
1720,
62,
3672,
11,
1720,
62,
4906,
62,
8189,
16034,
3186
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
389,
262,
3891,
290,
2099,
12416,
286,
3186,
30,
46506,
1720,
62,
3672,
11,
1720,
62,
4906,
62,
8189,
16034,
3186
]
|
What is the average drawn of the team with a difference of 4 and more than 13 losses? | SELECT AVG("Drawn") FROM table_38619 WHERE "Difference" = '4' AND "Lost" > '13' | [
2061,
318,
262,
2811,
7428,
286,
262,
1074,
351,
257,
3580,
286,
604,
290,
517,
621,
1511,
9089,
30,
46506,
35224,
7203,
35,
5791,
4943,
16034,
3084,
62,
21734,
1129,
33411,
366,
28813,
1945,
1,
796,
705,
19,
6,
5357,
366,
31042,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2811,
7428,
286,
262,
1074,
351,
257,
3580,
286,
604,
290,
517,
621,
1511,
9089,
30,
46506,
35224,
7203,
35,
5791,
4943,
16034,
3084,
62,
21734,
1129,
33411,
366,
28813,
1945,
1,
796,
705,
19,
6,
5357,
366,
31042,
1,
1875,
705,
1485,
6
]
|
they placed third in 2003 . when did they place third before that ? | SELECT "season" FROM table_204_117 WHERE "position" = 3 AND "season" < 2003 ORDER BY "season" DESC LIMIT 1 | [
9930,
4624,
2368,
287,
5816,
764,
618,
750,
484,
1295,
2368,
878,
326,
5633,
46506,
366,
6230,
1,
16034,
3084,
62,
18638,
62,
17657,
33411,
366,
9150,
1,
796,
513,
5357,
366,
6230,
1,
1279,
5816,
38678,
11050,
366,
6230,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9930,
4624,
2368,
287,
5816,
764,
618,
750,
484,
1295,
2368,
878,
326,
5633,
46506,
366,
6230,
1,
16034,
3084,
62,
18638,
62,
17657,
33411,
366,
9150,
1,
796,
513,
5357,
366,
6230,
1,
1279,
5816,
38678,
11050,
366,
6230,
1,
22196,
34,
27564,
2043,
352
]
|
What was the record of the game in which Dydek (10) did the most high rebounds? | SELECT record FROM table_18904831_5 WHERE high_rebounds = "Dydek (10)" | [
2061,
373,
262,
1700,
286,
262,
983,
287,
543,
360,
5173,
988,
357,
940,
8,
750,
262,
749,
1029,
18841,
30,
46506,
1700,
16034,
3084,
62,
1507,
3829,
2780,
3132,
62,
20,
33411,
1029,
62,
34806,
3733,
796,
366,
35,
5173,
988,
357,
940,
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,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
1700,
286,
262,
983,
287,
543,
360,
5173,
988,
357,
940,
8,
750,
262,
749,
1029,
18841,
30,
46506,
1700,
16034,
3084,
62,
1507,
3829,
2780,
3132,
62,
20,
33411,
1029,
62,
34806,
3733,
796,
366,
35,
5173,
988,
357,
940,
16725
]
|
what is the only cruise ship listed ? | SELECT "ship" FROM table_203_547 WHERE "type" = 'cruise' | [
10919,
318,
262,
691,
20382,
4074,
5610,
5633,
46506,
366,
6720,
1,
16034,
3084,
62,
22416,
62,
20,
2857,
33411,
366,
4906,
1,
796,
705,
32838,
786,
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,
691,
20382,
4074,
5610,
5633,
46506,
366,
6720,
1,
16034,
3084,
62,
22416,
62,
20,
2857,
33411,
366,
4906,
1,
796,
705,
32838,
786,
6
]
|
give the number of patients whose admission location is transfer from hosp/extram and lab test name is c4. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND lab.label = "C4" | [
26535,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
2248,
1332,
1438,
318,
269,
19,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5446,
15037,
24302,
16034,
367,
47053,
14,
6369,
5446,
2390,
1,
5357,
2248,
13,
18242,
796,
366,
34,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
2248,
1332,
1438,
318,
269,
19,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5446,
15037,
24302,
16034,
367,
47053,
14,
6369,
5446,
2390,
1,
5357,
2248,
13,
18242,
796,
366,
34,
19,
1
]
|
What is the average goals against when there are more than 42 played? | SELECT AVG(goals_against) FROM table_name_55 WHERE played > 42 | [
2061,
318,
262,
2811,
4661,
1028,
618,
612,
389,
517,
621,
5433,
2826,
30,
46506,
35224,
7,
2188,
874,
62,
32826,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
2826,
1875,
5433
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2811,
4661,
1028,
618,
612,
389,
517,
621,
5433,
2826,
30,
46506,
35224,
7,
2188,
874,
62,
32826,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
2826,
1875,
5433
]
|
provide the number of patients whose admission type is urgent and lab test category is hematology? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab."CATEGORY" = "Hematology" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
6536,
318,
339,
6759,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
3525,
1,
5357,
2248,
526,
34,
6158,
38,
15513,
1,
796,
366,
39,
368,
265,
1435,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
18039,
290,
2248,
1332,
6536,
318,
339,
6759,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
3525,
1,
5357,
2248,
526,
34,
6158,
38,
15513,
1,
796,
366,
39,
368,
265,
1435,
1
]
|
What Utah Jazz Forward played for Southern Methodist? | SELECT player FROM table_name_74 WHERE position = "forward" AND school_club_team = "southern methodist" | [
2061,
10202,
21406,
19530,
2826,
329,
8050,
38029,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4524,
33411,
2292,
796,
366,
11813,
1,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
82,
4927,
2446,
396,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10202,
21406,
19530,
2826,
329,
8050,
38029,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4524,
33411,
2292,
796,
366,
11813,
1,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
82,
4927,
2446,
396,
1
]
|
What is the total for the first exercise and has 18 as the second exercise? | SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 18 | [
2061,
318,
262,
2472,
329,
262,
717,
5517,
290,
468,
1248,
355,
262,
1218,
5517,
30,
46506,
35683,
7,
11085,
62,
1069,
23697,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
1218,
62,
1069,
23697,
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
]
| [
2061,
318,
262,
2472,
329,
262,
717,
5517,
290,
468,
1248,
355,
262,
1218,
5517,
30,
46506,
35683,
7,
11085,
62,
1069,
23697,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
1218,
62,
1069,
23697,
796,
1248
]
|
Name the uyghur for | SELECT uyghur___k̢ona_yezik̢__ FROM table_2008069_2 WHERE chinese = "瓦恰" | [
5376,
262,
334,
88,
456,
333,
329,
46506,
334,
88,
456,
333,
17569,
74,
136,
95,
4450,
62,
5948,
47303,
136,
95,
834,
16034,
3084,
62,
2167,
1795,
3388,
62,
17,
33411,
442,
3762,
796,
366,
163,
241,
99,
162,
223,
108,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
334,
88,
456,
333,
329,
46506,
334,
88,
456,
333,
17569,
74,
136,
95,
4450,
62,
5948,
47303,
136,
95,
834,
16034,
3084,
62,
2167,
1795,
3388,
62,
17,
33411,
442,
3762,
796,
366,
163,
241,
99,
162,
223,
108,
1
]
|
How many medications are prescribed for each brand. Plot them as pie chart. | SELECT Name, COUNT(*) FROM Medication AS T1 JOIN Prescribes AS T2 ON T1.Code = T2.Medication GROUP BY T1.Brand | [
2437,
867,
17638,
389,
14798,
329,
1123,
4508,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
2019,
3299,
7054,
309,
16,
32357,
1268,
1763,
66,
22090,
7054,
309,
17,
6177,
309,
16,
13,
10669,
796,
309,
17,
13,
9921,
3299,
44441,
11050,
309,
16,
13,
38416
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17638,
389,
14798,
329,
1123,
4508,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
2019,
3299,
7054,
309,
16,
32357,
1268,
1763,
66,
22090,
7054,
309,
17,
6177,
309,
16,
13,
10669,
796,
309,
17,
13,
9921,
3299,
44441,
11050,
309,
16,
13,
38416
]
|
What is the name of the circuit where the race xi Syracuse grand prix was held? | SELECT "Circuit" FROM table_16763 WHERE "Race Name" = 'XI Syracuse Grand Prix' | [
2061,
318,
262,
1438,
286,
262,
10349,
810,
262,
3234,
2124,
72,
29141,
4490,
1293,
87,
373,
2714,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
1433,
49641,
33411,
366,
35157,
6530,
1,
796,
705,
55,
40,
29141,
5675,
23832,
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
]
| [
2061,
318,
262,
1438,
286,
262,
10349,
810,
262,
3234,
2124,
72,
29141,
4490,
1293,
87,
373,
2714,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
1433,
49641,
33411,
366,
35157,
6530,
1,
796,
705,
55,
40,
29141,
5675,
23832,
6
]
|
When 'past tense' is the title who is the writer? | SELECT "Written by" FROM table_25526 WHERE "Title" = 'Past Tense' | [
2215,
705,
30119,
20170,
6,
318,
262,
3670,
508,
318,
262,
6260,
30,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
13381,
2075,
33411,
366,
19160,
1,
796,
705,
34533,
309,
1072,
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
]
| [
2215,
705,
30119,
20170,
6,
318,
262,
3670,
508,
318,
262,
6260,
30,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
13381,
2075,
33411,
366,
19160,
1,
796,
705,
34533,
309,
1072,
6
]
|
StackOverflow topics in May 2010. It would be nice to have a graph, I know :) | SELECT num.TagName AS Topic, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS MayRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsInMay, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts.CreationDate < '2010-06-01' AND Posts.CreationDate > '2010-05-01' GROUP BY TagName) AS rate INNER JOIN (SELECT COUNT(PostId) AS Num, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId GROUP BY TagName HAVING COUNT(PostId) > 800) AS num ON rate.TagName = num.TagName ORDER BY rate.rate DESC | [
25896,
5886,
11125,
10233,
287,
1737,
3050,
13,
632,
561,
307,
3621,
284,
423,
257,
4823,
11,
314,
760,
14373,
46506,
997,
13,
24835,
5376,
7054,
47373,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
27520,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
997,
13,
33111,
22196,
34,
8,
7054,
7472,
27520,
11,
2494,
13,
32184,
7054,
20396,
818,
6747,
11,
997,
13,
33111,
7054,
20396,
14957,
16034,
357,
46506,
327,
28270,
7,
6307,
7390,
8,
7054,
14806,
11,
17467,
5376,
16034,
44789
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
25896,
5886,
11125,
10233,
287,
1737,
3050,
13,
632,
561,
307,
3621,
284,
423,
257,
4823,
11,
314,
760,
14373,
46506,
997,
13,
24835,
5376,
7054,
47373,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
27520,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
997,
13,
33111,
22196,
34,
8,
7054,
7472,
27520,
11,
2494,
13,
32184,
7054,
20396,
818,
6747,
11,
997,
13,
33111,
7054,
20396,
14957,
16034,
357,
46506,
327,
28270,
7,
6307,
7390,
8,
7054,
14806,
11,
17467,
5376,
16034,
44789
]
|
whatis hte station code where users are 130368? | SELECT station__and_code_ FROM table_14748457_1 WHERE station_users_2008_9 = "130368" | [
10919,
271,
289,
660,
4429,
2438,
810,
2985,
389,
11323,
27412,
30,
46506,
4429,
834,
392,
62,
8189,
62,
16034,
3084,
62,
20198,
2780,
33032,
62,
16,
33411,
4429,
62,
18417,
62,
11528,
62,
24,
796,
366,
12952,
27412,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
271,
289,
660,
4429,
2438,
810,
2985,
389,
11323,
27412,
30,
46506,
4429,
834,
392,
62,
8189,
62,
16034,
3084,
62,
20198,
2780,
33032,
62,
16,
33411,
4429,
62,
18417,
62,
11528,
62,
24,
796,
366,
12952,
27412,
1
]
|
What is the value for Drawn, when the value for Losing bonus is 6? | SELECT drawn FROM table_name_12 WHERE losing_bonus = "6" | [
2061,
318,
262,
1988,
329,
50061,
11,
618,
262,
1988,
329,
406,
2752,
7202,
318,
718,
30,
46506,
7428,
16034,
3084,
62,
3672,
62,
1065,
33411,
6078,
62,
4189,
385,
796,
366,
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
]
| [
2061,
318,
262,
1988,
329,
50061,
11,
618,
262,
1988,
329,
406,
2752,
7202,
318,
718,
30,
46506,
7428,
16034,
3084,
62,
3672,
62,
1065,
33411,
6078,
62,
4189,
385,
796,
366,
21,
1
]
|
Which IATA is associated with China and an ICAO of ZSPD? | SELECT "IATA" FROM table_32960 WHERE "Country" = 'china' AND "ICAO" = 'zspd' | [
13828,
314,
13563,
318,
3917,
351,
2807,
290,
281,
314,
8141,
46,
286,
1168,
4303,
35,
30,
46506,
366,
40,
13563,
1,
16034,
3084,
62,
37967,
1899,
33411,
366,
33921,
1,
796,
705,
354,
1437,
6,
5357,
366,
25241,
46,
1,
796,
705,
89,
2777,
67,
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
]
| [
13828,
314,
13563,
318,
3917,
351,
2807,
290,
281,
314,
8141,
46,
286,
1168,
4303,
35,
30,
46506,
366,
40,
13563,
1,
16034,
3084,
62,
37967,
1899,
33411,
366,
33921,
1,
796,
705,
354,
1437,
6,
5357,
366,
25241,
46,
1,
796,
705,
89,
2777,
67,
6
]
|
Which Title has a Termination of Mission of current? | SELECT "Title" FROM table_15332 WHERE "Termination of Mission" = 'current' | [
13828,
11851,
468,
257,
15527,
341,
286,
12633,
286,
1459,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1314,
32148,
33411,
366,
15156,
17928,
286,
12633,
1,
796,
705,
14421,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
11851,
468,
257,
15527,
341,
286,
12633,
286,
1459,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1314,
32148,
33411,
366,
15156,
17928,
286,
12633,
1,
796,
705,
14421,
6
]
|
What is the Bulgarian Commander in Autumn 1040 at the Battle of Thessalonica? | SELECT "Bulgarian Commander" FROM table_60796 WHERE "Battle" = 'battle of thessalonica' AND "Date" = 'autumn 1040' | [
2061,
318,
262,
42119,
13353,
287,
33424,
838,
1821,
379,
262,
5838,
286,
383,
824,
282,
32752,
30,
46506,
366,
33481,
70,
3699,
13353,
1,
16034,
3084,
62,
1899,
41060,
33411,
366,
24064,
1,
796,
705,
38471,
286,
262,
824,
282,
32752,
6,
5357,
366,
10430,
1,
796,
705,
2306,
4182,
838,
1821,
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,
262,
42119,
13353,
287,
33424,
838,
1821,
379,
262,
5838,
286,
383,
824,
282,
32752,
30,
46506,
366,
33481,
70,
3699,
13353,
1,
16034,
3084,
62,
1899,
41060,
33411,
366,
24064,
1,
796,
705,
38471,
286,
262,
824,
282,
32752,
6,
5357,
366,
10430,
1,
796,
705,
2306,
4182,
838,
1821,
6
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.