instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
list | attention_mask
list | labels
list |
---|---|---|---|---|
who was the last head of medici ? | SELECT "name" FROM table_203_421 ORDER BY "from" DESC LIMIT 1 | [
8727,
373,
262,
938,
1182,
286,
6924,
72,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
46636,
38678,
11050,
366,
6738,
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
]
| [
8727,
373,
262,
938,
1182,
286,
6924,
72,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
46636,
38678,
11050,
366,
6738,
1,
22196,
34,
27564,
2043,
352
]
|
How many fatalities were there in the crash described as crashed at take-off due to engine failure? | SELECT fatalities FROM table_229917_2 WHERE brief_description = "Crashed at take-off due to engine failure" | [
2437,
867,
30091,
547,
612,
287,
262,
7014,
3417,
355,
14997,
379,
1011,
12,
2364,
2233,
284,
3113,
5287,
30,
46506,
30091,
16034,
3084,
62,
1828,
2079,
1558,
62,
17,
33411,
4506,
62,
11213,
796,
366,
13916,
5263,
379,
1011,
12,
2364,
2233,
284,
3113,
5287,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30091,
547,
612,
287,
262,
7014,
3417,
355,
14997,
379,
1011,
12,
2364,
2233,
284,
3113,
5287,
30,
46506,
30091,
16034,
3084,
62,
1828,
2079,
1558,
62,
17,
33411,
4506,
62,
11213,
796,
366,
13916,
5263,
379,
1011,
12,
2364,
2233,
284,
3113,
5287,
1
]
|
Draw a line chart for what is the average prices of wines for each each?, and show in desc by the x-axis. | SELECT Year, AVG(Price) FROM wine GROUP BY Year ORDER BY Year DESC | [
25302,
257,
1627,
8262,
329,
644,
318,
262,
2811,
4536,
286,
30680,
329,
1123,
1123,
21747,
290,
905,
287,
1715,
416,
262,
2124,
12,
22704,
13,
46506,
6280,
11,
35224,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280,
38678,
11050,
6280,
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
]
| [
25302,
257,
1627,
8262,
329,
644,
318,
262,
2811,
4536,
286,
30680,
329,
1123,
1123,
21747,
290,
905,
287,
1715,
416,
262,
2124,
12,
22704,
13,
46506,
6280,
11,
35224,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280,
38678,
11050,
6280,
22196,
34
]
|
At what venue was the away team score 3.11 (29)? | SELECT "Venue" FROM table_4844 WHERE "Away team score" = '3.11 (29)' | [
2953,
644,
14359,
373,
262,
1497,
1074,
4776,
513,
13,
1157,
357,
1959,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2780,
2598,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
18,
13,
1157,
357,
1959,
33047
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2953,
644,
14359,
373,
262,
1497,
1074,
4776,
513,
13,
1157,
357,
1959,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2780,
2598,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
18,
13,
1157,
357,
1959,
33047
]
|
What is the Date of the Event in Punta del Este? | SELECT "Date" FROM table_49359 WHERE "City" = 'punta del este' | [
2061,
318,
262,
7536,
286,
262,
8558,
287,
350,
44424,
1619,
412,
4169,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2920,
30743,
33411,
366,
14941,
1,
796,
705,
79,
44424,
1619,
43577,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
7536,
286,
262,
8558,
287,
350,
44424,
1619,
412,
4169,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2920,
30743,
33411,
366,
14941,
1,
796,
705,
79,
44424,
1619,
43577,
6
]
|
What is the Attendance of Game 24? | SELECT SUM(attendance) FROM table_name_94 WHERE game = 24 | [
2061,
318,
262,
46502,
590,
286,
3776,
1987,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
983,
796,
1987
]
| [
1,
1,
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,
46502,
590,
286,
3776,
1987,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
983,
796,
1987
]
|
what was the first drug prescribed to patient 31696 since 62 months ago via the ou route? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31696) AND prescriptions.route = 'ou' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-62 month') ORDER BY prescriptions.startdate LIMIT 1 | [
10919,
373,
262,
717,
2563,
14798,
284,
5827,
34131,
4846,
1201,
8190,
1933,
2084,
2884,
262,
267,
84,
6339,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
34131,
4846,
8,
5357,
34092,
13,
38629,
796,
705,
280,
6,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
8,
18189,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
5237,
1227,
11537,
38678,
11050,
34092,
13,
9688,
4475,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
373,
262,
717,
2563,
14798,
284,
5827,
34131,
4846,
1201,
8190,
1933,
2084,
2884,
262,
267,
84,
6339,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
34131,
4846,
8,
5357,
34092,
13,
38629,
796,
705,
280,
6,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
8,
18189,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
5237,
1227,
11537,
38678,
11050,
34092,
13,
9688,
4475,
27564,
2043,
352
]
|
Who was the director for episodes that were written be Matthew Lau? | SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau" | [
8241,
373,
262,
3437,
329,
8640,
326,
547,
3194,
307,
9308,
40014,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
28676,
26598,
2780,
62,
17,
33411,
3194,
62,
1525,
796,
366,
25372,
40014,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3437,
329,
8640,
326,
547,
3194,
307,
9308,
40014,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
28676,
26598,
2780,
62,
17,
33411,
3194,
62,
1525,
796,
366,
25372,
40014,
1
]
|
What is the record for the game against New England Patriots at the Rich Stadium? | SELECT record FROM table_name_89 WHERE game_site = "rich stadium" AND opponent = "new england patriots" | [
2061,
318,
262,
1700,
329,
262,
983,
1028,
968,
4492,
13104,
379,
262,
3998,
10499,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4531,
33411,
983,
62,
15654,
796,
366,
7527,
10308,
1,
5357,
6125,
796,
366,
3605,
1786,
1044,
12650,
1747,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1700,
329,
262,
983,
1028,
968,
4492,
13104,
379,
262,
3998,
10499,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4531,
33411,
983,
62,
15654,
796,
366,
7527,
10308,
1,
5357,
6125,
796,
366,
3605,
1786,
1044,
12650,
1747,
1
]
|
For those employees who was hired before 2002-06-21, find job_id and the average of employee_id , and group by attribute job_id, and visualize them by a bar chart, and I want to sort y-axis in descending order. | SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(EMPLOYEE_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
1693,
62,
312,
290,
262,
2811,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
3297,
331,
12,
22704,
287,
31491,
1502,
13,
46506,
449,
9864,
62,
2389,
11,
35224,
7,
3620,
6489,
21414,
6500,
62,
2389,
8,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
44441,
11050,
449,
9864,
62,
2389,
38678,
11050,
35224,
7,
3620,
6489,
21414,
6500,
62,
2389
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
1693,
62,
312,
290,
262,
2811,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
3297,
331,
12,
22704,
287,
31491,
1502,
13,
46506,
449,
9864,
62,
2389,
11,
35224,
7,
3620,
6489,
21414,
6500,
62,
2389,
8,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
44441,
11050,
449,
9864,
62,
2389,
38678,
11050,
35224,
7,
3620,
6489,
21414,
6500,
62,
2389
]
|
has patient 005-12192 been given any ffp intake until 959 days ago? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-12192')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'ffp' AND DATETIME(intakeoutput.intakeoutputtime) <= DATETIME(CURRENT_TIME(), '-959 day') | [
10134,
5827,
3571,
20,
12,
1065,
17477,
587,
1813,
597,
31246,
79,
10337,
1566,
860,
3270,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
22544,
12,
1065,
17477,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539,
4,
6,
5357,
10337,
22915,
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
]
| [
10134,
5827,
3571,
20,
12,
1065,
17477,
587,
1813,
597,
31246,
79,
10337,
1566,
860,
3270,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
22544,
12,
1065,
17477,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539,
4,
6,
5357,
10337,
22915,
13
]
|
what flights do you have between PITTSBURGH and ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
10919,
13956,
466,
345,
423,
1022,
49040,
4694,
38926,
17511,
290,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
27993
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
13956,
466,
345,
423,
1022,
49040,
4694,
38926,
17511,
290,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
27993
]
|
show me all flights from SAN FRANCISCO to ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
12860,
502,
477,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
36753,
8782,
20940,
1797,
8220,
6,
5357,
27993
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
12860,
502,
477,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
36753,
8782,
20940,
1797,
8220,
6,
5357,
27993
]
|
A bar chart about what is the project id and detail for the project with at least two documents?, and show by the Y-axis in ascending. | SELECT T1.Project_Details, T1.Project_ID FROM Projects AS T1 JOIN Documents AS T2 ON T1.Project_ID = T2.Project_ID ORDER BY T1.Project_ID | [
32,
2318,
8262,
546,
644,
318,
262,
1628,
4686,
290,
3703,
329,
262,
1628,
351,
379,
1551,
734,
4963,
21747,
290,
905,
416,
262,
575,
12,
22704,
287,
41988,
13,
46506,
309,
16,
13,
16775,
62,
24259,
11,
309,
16,
13,
16775,
62,
2389,
16034,
29898,
7054,
309,
16,
32357,
1268,
33267,
7054,
309,
17,
6177,
309,
16,
13,
16775,
62,
2389,
796,
309,
17,
13,
16775,
62,
2389,
38678,
11050,
309,
16,
13,
16775,
62,
2389
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
644,
318,
262,
1628,
4686,
290,
3703,
329,
262,
1628,
351,
379,
1551,
734,
4963,
21747,
290,
905,
416,
262,
575,
12,
22704,
287,
41988,
13,
46506,
309,
16,
13,
16775,
62,
24259,
11,
309,
16,
13,
16775,
62,
2389,
16034,
29898,
7054,
309,
16,
32357,
1268,
33267,
7054,
309,
17,
6177,
309,
16,
13,
16775,
62,
2389,
796,
309,
17,
13,
16775,
62,
2389,
38678,
11050,
309,
16,
13,
16775,
62,
2389
]
|
count the number of patients whose admission type is urgent and procedure long title is arteriography of other intra-abdominal arteries. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.long_title = "Arteriography of other intra-abdominal arteries" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
8771,
890,
3670,
318,
30675,
72,
4867,
286,
584,
23422,
12,
397,
3438,
1292,
45894,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
3525,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
3163,
353,
72,
4867,
286,
584,
23422,
12,
397,
3438,
1292,
45894,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
18039,
290,
8771,
890,
3670,
318,
30675,
72,
4867,
286,
584,
23422,
12,
397,
3438,
1292,
45894,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
3525,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
3163,
353,
72,
4867,
286,
584,
23422,
12,
397,
3438,
1292,
45894,
1
]
|
What is the series episode number that is larger than 262 and has a Segment A entry of Aluminium s canoe? | SELECT series_ep FROM table_name_60 WHERE episode > 262 AND segment_a = "aluminium s canoe" | [
2061,
318,
262,
2168,
4471,
1271,
326,
318,
4025,
621,
35404,
290,
468,
257,
1001,
5154,
317,
5726,
286,
978,
35241,
264,
47434,
30,
46506,
2168,
62,
538,
16034,
3084,
62,
3672,
62,
1899,
33411,
4471,
1875,
35404,
5357,
10618,
62,
64,
796,
366,
282,
35241,
264,
47434,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2168,
4471,
1271,
326,
318,
4025,
621,
35404,
290,
468,
257,
1001,
5154,
317,
5726,
286,
978,
35241,
264,
47434,
30,
46506,
2168,
62,
538,
16034,
3084,
62,
3672,
62,
1899,
33411,
4471,
1875,
35404,
5357,
10618,
62,
64,
796,
366,
282,
35241,
264,
47434,
1
]
|
What is the Date of Week 5? | SELECT date FROM table_name_3 WHERE week = 5 | [
2061,
318,
262,
7536,
286,
6119,
642,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
18,
33411,
1285,
796,
642
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
7536,
286,
6119,
642,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
18,
33411,
1285,
796,
642
]
|
BIOMATLS 990 is what ? | SELECT DISTINCT description, name FROM course WHERE department = 'BIOMATLS' AND number = 990 | [
3483,
2662,
1404,
6561,
860,
3829,
318,
644,
5633,
46506,
360,
8808,
1268,
4177,
6764,
11,
1438,
16034,
1781,
33411,
5011,
796,
705,
3483,
2662,
1404,
6561,
6,
5357,
1271,
796,
860,
3829
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
3483,
2662,
1404,
6561,
860,
3829,
318,
644,
5633,
46506,
360,
8808,
1268,
4177,
6764,
11,
1438,
16034,
1781,
33411,
5011,
796,
705,
3483,
2662,
1404,
6561,
6,
5357,
1271,
796,
860,
3829
]
|
Who played as the away team when they played at Brunswick Street Oval? | SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval" | [
8241,
2826,
355,
262,
1497,
1074,
618,
484,
2826,
379,
32211,
3530,
25165,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
4790,
33411,
14359,
796,
366,
1671,
403,
30961,
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,
1,
1,
1,
1,
1,
1,
1
]
| [
8241,
2826,
355,
262,
1497,
1074,
618,
484,
2826,
379,
32211,
3530,
25165,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
4790,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
41186,
1
]
|
On September 10, 1989 how many people attended the game? | SELECT "Attendance" FROM table_76365 WHERE "Date" = 'september 10, 1989' | [
2202,
2693,
838,
11,
11104,
703,
867,
661,
9141,
262,
983,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
4304,
24760,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
838,
11,
11104,
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
]
| [
2202,
2693,
838,
11,
11104,
703,
867,
661,
9141,
262,
983,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
4304,
24760,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
838,
11,
11104,
6
]
|
In what years did a movie receive a 4 or 5 star rating, and list the years from oldest to most recently, and count them by a line chart | SELECT year, COUNT(year) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars >= 4 ORDER BY T1.year | [
818,
644,
812,
750,
257,
3807,
3328,
257,
604,
393,
642,
3491,
7955,
11,
290,
1351,
262,
812,
422,
13325,
284,
749,
2904,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
15875,
7054,
309,
16,
32357,
1268,
12028,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
796,
309,
17,
13,
76,
2389,
33411,
309,
17,
13,
30783,
18189,
604,
38678,
11050,
309,
16,
13,
1941
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
818,
644,
812,
750,
257,
3807,
3328,
257,
604,
393,
642,
3491,
7955,
11,
290,
1351,
262,
812,
422,
13325,
284,
749,
2904,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
15875,
7054,
309,
16,
32357,
1268,
12028,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
796,
309,
17,
13,
76,
2389,
33411,
309,
17,
13,
30783,
18189,
604,
38678,
11050,
309,
16,
13,
1941
]
|
Return a line chart about the change of the amount of date_address_to over date_address_to , and group by attribute other_details. | SELECT date_address_to, COUNT(date_address_to) FROM Student_Addresses GROUP BY other_details, date_address_to ORDER BY monthly_rental DESC | [
13615,
257,
1627,
8262,
546,
262,
1487,
286,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
625,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
13,
46506,
3128,
62,
21975,
62,
1462,
11,
327,
28270,
7,
4475,
62,
21975,
62,
1462,
8,
16034,
13613,
62,
4550,
16746,
44441,
11050,
584,
62,
36604,
11,
3128,
62,
21975,
62,
1462,
38678,
11050,
9651,
62,
1156,
282,
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
]
| [
13615,
257,
1627,
8262,
546,
262,
1487,
286,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
625,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
13,
46506,
3128,
62,
21975,
62,
1462,
11,
327,
28270,
7,
4475,
62,
21975,
62,
1462,
8,
16034,
13613,
62,
4550,
16746,
44441,
11050,
584,
62,
36604,
11,
3128,
62,
21975,
62,
1462,
38678,
11050,
9651,
62,
1156,
282,
22196,
34
]
|
For those records from the products and each product's manufacturer, give me the comparison about the average of manufacturer over the name , and group by attribute name by a bar chart, order by the names in ascending. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
1502,
416,
262,
3891,
287,
41988,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
1502,
416,
262,
3891,
287,
41988,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376
]
|
Show the card type codes and the number of transactions. Visualize by bar chart. | SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code | [
15307,
262,
2657,
2099,
12416,
290,
262,
1271,
286,
8945,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
7054,
309,
16,
32357,
1268,
36707,
62,
34,
1371,
7054,
309,
17,
6177,
309,
16,
13,
9517,
62,
312,
796,
309,
17,
13,
9517,
62,
312,
44441,
11050,
309,
17,
13,
9517,
62,
4906,
62,
8189
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
15307,
262,
2657,
2099,
12416,
290,
262,
1271,
286,
8945,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
7054,
309,
16,
32357,
1268,
36707,
62,
34,
1371,
7054,
309,
17,
6177,
309,
16,
13,
9517,
62,
312,
796,
309,
17,
13,
9517,
62,
312,
44441,
11050,
309,
17,
13,
9517,
62,
4906,
62,
8189
]
|
What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit. | SELECT "Alt. Name" FROM table_22838 WHERE "Notes" = 'Mission failed. Guidance system failed. No orbit.' | [
2061,
389,
262,
5559,
3891,
286,
883,
20372,
810,
262,
4710,
389,
25,
4365,
4054,
13,
11154,
1080,
4054,
13,
645,
13066,
13,
46506,
366,
29161,
13,
6530,
1,
16034,
3084,
62,
23815,
2548,
33411,
366,
16130,
1,
796,
705,
37057,
4054,
13,
37026,
590,
1080,
4054,
13,
1400,
13066,
2637
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
389,
262,
5559,
3891,
286,
883,
20372,
810,
262,
4710,
389,
25,
4365,
4054,
13,
11154,
1080,
4054,
13,
645,
13066,
13,
46506,
366,
29161,
13,
6530,
1,
16034,
3084,
62,
23815,
2548,
33411,
366,
16130,
1,
796,
705,
37057,
4054,
13,
37026,
590,
1080,
4054,
13,
1400,
13066,
2637
]
|
Close Rate for Questions Beginning with 'I'. | WITH A AS (SELECT LAST_DATE_OF_MONTH(CreationDate) AS CreationMonth, Id, ClosedDate, CASE WHEN Body LIKE '<p>I_''%' OR Body LIKE '<p>IM %' THEN 1 END AS StartsWITHI FROM Posts WHERE PostTypeId = 1) SELECT CreationMonth, (COUNT(CASE WHEN NOT ClosedDate IS NULL AND NOT StartsWITHI IS NULL THEN 1 END) * 1.0) / (COUNT(StartsWITHI) * 1.0) AS IClosed, (COUNT(CASE WHEN NOT ClosedDate IS NULL AND StartsWITHI IS NULL THEN 1 END) * 1.0) / (COUNT(CASE WHEN StartsWITHI IS NULL THEN 1 END) * 1.0) AS NotIClosed FROM A GROUP BY CreationMonth HAVING COUNT(StartsWITHI) != 0 AND COUNT(CASE WHEN StartsWITHI IS NULL THEN 1 END) != 0 ORDER BY CreationMonth | [
26125,
14806,
329,
20396,
25976,
351,
705,
40,
4458,
54,
10554,
317,
7054,
357,
46506,
41894,
62,
35,
6158,
62,
19238,
62,
27857,
4221,
7,
12443,
341,
10430,
8,
7054,
21582,
31948,
11,
5121,
11,
30550,
10430,
11,
42001,
42099,
12290,
34178,
705,
27,
79,
29,
40,
62,
7061,
4,
6,
6375,
12290,
34178,
705,
27,
79,
29,
3955,
4064,
6,
42243,
352,
23578,
7054,
50181,
54,
10554,
40,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
8,
33493,
21582,
31948,
11,
357,
34,
28270,
7,
34,
11159,
42099,
5626,
30550,
10430,
3180,
15697,
5357,
5626,
50181,
54,
10554,
40
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
26125,
14806,
329,
20396,
25976,
351,
705,
40,
4458,
54,
10554,
317,
7054,
357,
46506,
41894,
62,
35,
6158,
62,
19238,
62,
27857,
4221,
7,
12443,
341,
10430,
8,
7054,
21582,
31948,
11,
5121,
11,
30550,
10430,
11,
42001,
42099,
12290,
34178,
705,
27,
79,
29,
40,
62,
7061,
4,
6,
6375,
12290,
34178,
705,
27,
79,
29,
3955,
4064,
6,
42243,
352,
23578,
7054,
50181,
54,
10554,
40,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
8,
33493,
21582,
31948,
11,
357,
34,
28270,
7,
34,
11159,
42099,
5626,
30550,
10430,
3180,
15697,
5357,
5626,
50181,
54,
10554,
40
]
|
until 2104, how many patients were prescribed with 1000 ml flex cont : sodium chloride 0.9 % iv soln within the same hospital visit after the diagnosis with pancreatitis - acute? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pancreatitis - acute' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = '1000 ml flex cont : sodium chloride 0.9 % iv soln' AND STRFTIME('%y', medication.drugstarttime) <= '2104') AS t2 WHERE t1.diagnosistime < t2.drugstarttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid | [
28446,
362,
13464,
11,
703,
867,
3871,
547,
14798,
351,
8576,
25962,
7059,
542,
1058,
21072,
44921,
657,
13,
24,
4064,
21628,
1540,
77,
1626,
262,
976,
4436,
3187,
706,
262,
13669,
351,
47767,
11815,
532,
14352,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
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
]
| [
28446,
362,
13464,
11,
703,
867,
3871,
547,
14798,
351,
8576,
25962,
7059,
542,
1058,
21072,
44921,
657,
13,
24,
4064,
21628,
1540,
77,
1626,
262,
976,
4436,
3187,
706,
262,
13669,
351,
47767,
11815,
532,
14352,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13
]
|
When my Suggested Edit decisions were reversed. | SELECT SE.PostId AS "post_link", V.Name AS "vote_type", SE.ApprovalDate, SE.RejectionDate FROM SuggestedEditVotes AS SEV INNER JOIN SuggestedEdits AS SE ON SEV.SuggestedEditId = SE.Id INNER JOIN VoteTypes AS V ON V.Id = SEV.VoteTypeId WHERE SEV.UserId = @UserId AND ((SEV.VoteTypeId = 2 AND NOT RejectionDate IS NULL) OR (SEV.VoteTypeId = 3 AND NOT ApprovalDate IS NULL)) ORDER BY SEV.Id DESC LIMIT 1000 | [
2215,
616,
35042,
276,
5312,
5370,
547,
17687,
13,
46506,
7946,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
569,
13,
5376,
7054,
366,
27257,
62,
4906,
1600,
7946,
13,
4677,
305,
2100,
10430,
11,
7946,
13,
3041,
29192,
10430,
16034,
35042,
276,
18378,
53,
6421,
7054,
7946,
53,
3268,
21479,
32357,
1268,
35042,
276,
7407,
896,
7054,
7946,
6177,
7946,
53,
13,
43857,
276,
18378,
7390,
796,
7946,
13,
7390,
3268,
21479,
32357,
1268,
19175,
31431,
7054,
569,
6177,
569,
13,
7390,
796,
7946,
53,
13,
37394,
6030,
7390,
33411,
7946,
53,
13,
12982,
7390,
796,
2488,
12982
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
616,
35042,
276,
5312,
5370,
547,
17687,
13,
46506,
7946,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
569,
13,
5376,
7054,
366,
27257,
62,
4906,
1600,
7946,
13,
4677,
305,
2100,
10430,
11,
7946,
13,
3041,
29192,
10430,
16034,
35042,
276,
18378,
53,
6421,
7054,
7946,
53,
3268,
21479,
32357,
1268,
35042,
276,
7407,
896,
7054,
7946,
6177,
7946,
53,
13,
43857,
276,
18378,
7390,
796,
7946,
13,
7390,
3268,
21479,
32357,
1268,
19175,
31431,
7054,
569,
6177,
569,
13,
7390,
796,
7946,
53,
13,
37394,
6030,
7390,
33411,
7946,
53,
13,
12982,
7390,
796,
2488,
12982
]
|
What is the enrollment for Augsburg college? | SELECT MIN(enrollment) FROM table_261913_1 WHERE institution = "Augsburg College" | [
2061,
318,
262,
20753,
329,
2447,
30359,
4152,
30,
46506,
20625,
7,
268,
48108,
8,
16034,
3084,
62,
2075,
1129,
1485,
62,
16,
33411,
9901,
796,
366,
32,
10339,
7423,
5535,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
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,
20753,
329,
2447,
30359,
4152,
30,
46506,
20625,
7,
268,
48108,
8,
16034,
3084,
62,
2075,
1129,
1485,
62,
16,
33411,
9901,
796,
366,
32,
10339,
7423,
5535,
1
]
|
which team has the most wins ? | SELECT "winner" FROM table_204_874 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1 | [
4758,
1074,
468,
262,
749,
7864,
5633,
46506,
366,
39791,
1,
16034,
3084,
62,
18638,
62,
23,
4524,
44441,
11050,
366,
39791,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4758,
1074,
468,
262,
749,
7864,
5633,
46506,
366,
39791,
1,
16034,
3084,
62,
18638,
62,
23,
4524,
44441,
11050,
366,
39791,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
|
What is the title for year 1991 and a date of March 21? | SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 21" | [
2061,
318,
262,
3670,
329,
614,
10249,
290,
257,
3128,
286,
2805,
2310,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5774,
33411,
614,
796,
10249,
5357,
3128,
796,
366,
76,
998,
2310,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
329,
614,
10249,
290,
257,
3128,
286,
2805,
2310,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5774,
33411,
614,
796,
10249,
5357,
3128,
796,
366,
76,
998,
2310,
1
]
|
What place did the singer in atomic kitten finish? | SELECT finished FROM table_name_91 WHERE famous_for = "singer in atomic kitten" | [
2061,
1295,
750,
262,
14015,
287,
17226,
42143,
5461,
30,
46506,
5201,
16034,
3084,
62,
3672,
62,
6420,
33411,
5863,
62,
1640,
796,
366,
82,
3889,
287,
17226,
42143,
1
]
| [
1,
1,
1,
1,
1,
1,
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,
1295,
750,
262,
14015,
287,
17226,
42143,
5461,
30,
46506,
5201,
16034,
3084,
62,
3672,
62,
6420,
33411,
5863,
62,
1640,
796,
366,
82,
3889,
287,
17226,
42143,
1
]
|
What is the high goal against associated with 18 wins, a Goal Difference of 43, and under 6 draws? | SELECT MAX(goals_against) FROM table_name_57 WHERE wins = 18 AND goal_difference = 43 AND draws < 6 | [
2061,
318,
262,
1029,
3061,
1028,
3917,
351,
1248,
7864,
11,
257,
25376,
43795,
286,
5946,
11,
290,
739,
718,
14293,
30,
46506,
25882,
7,
2188,
874,
62,
32826,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
7864,
796,
1248,
5357,
3061,
62,
26069,
1945,
796,
5946,
5357,
14293,
1279,
718
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1029,
3061,
1028,
3917,
351,
1248,
7864,
11,
257,
25376,
43795,
286,
5946,
11,
290,
739,
718,
14293,
30,
46506,
25882,
7,
2188,
874,
62,
32826,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
7864,
796,
1248,
5357,
3061,
62,
26069,
1945,
796,
5946,
5357,
14293,
1279,
718
]
|
The driver Jacky Ickx had what time/retired? | SELECT "Time/Retired" FROM table_54423 WHERE "Driver" = 'jacky ickx' | [
464,
4639,
3619,
88,
314,
694,
87,
550,
644,
640,
14,
1186,
1202,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
47576,
1954,
33411,
366,
32103,
1,
796,
705,
19650,
88,
220,
624,
87,
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
]
| [
464,
4639,
3619,
88,
314,
694,
87,
550,
644,
640,
14,
1186,
1202,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
47576,
1954,
33411,
366,
32103,
1,
796,
705,
19650,
88,
220,
624,
87,
6
]
|
What kind of animal corresponds to the accession number xp_852505.1? | SELECT "Common Name" FROM table_20071 WHERE "Accession Number" = 'XP_852505.1' | [
2061,
1611,
286,
5044,
24866,
284,
262,
1895,
295,
1271,
36470,
62,
23,
4309,
31654,
13,
16,
30,
46506,
366,
17227,
6530,
1,
16034,
3084,
62,
2167,
4869,
33411,
366,
15457,
295,
7913,
1,
796,
705,
27481,
62,
23,
4309,
31654,
13,
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,
1,
1,
1,
1,
1,
1
]
| [
2061,
1611,
286,
5044,
24866,
284,
262,
1895,
295,
1271,
36470,
62,
23,
4309,
31654,
13,
16,
30,
46506,
366,
17227,
6530,
1,
16034,
3084,
62,
2167,
4869,
33411,
366,
15457,
295,
7913,
1,
796,
705,
27481,
62,
23,
4309,
31654,
13,
16,
6
]
|
What is the quantity for railway 263? | SELECT "Quantity" FROM table_63001 WHERE "Railway number(s)" = '263' | [
2061,
318,
262,
12040,
329,
20515,
39135,
30,
46506,
366,
31208,
1,
16034,
3084,
62,
5066,
8298,
33411,
366,
44631,
1014,
1271,
7,
82,
16725,
796,
705,
29558,
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,
12040,
329,
20515,
39135,
30,
46506,
366,
31208,
1,
16034,
3084,
62,
5066,
8298,
33411,
366,
44631,
1014,
1271,
7,
82,
16725,
796,
705,
29558,
6
]
|
How many nations do the FMS international team represent? | SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International" | [
2437,
867,
7027,
466,
262,
376,
5653,
3230,
1074,
2380,
30,
46506,
327,
28270,
7,
25729,
8,
16034,
3084,
62,
24943,
1065,
28857,
62,
18,
33411,
1438,
796,
366,
37,
5653,
4037,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7027,
466,
262,
376,
5653,
3230,
1074,
2380,
30,
46506,
327,
28270,
7,
25729,
8,
16034,
3084,
62,
24943,
1065,
28857,
62,
18,
33411,
1438,
796,
366,
37,
5653,
4037,
1
]
|
which pga tour event gave out the least prize money to its 1st place finisher ? | SELECT "tournament" FROM table_203_531 ORDER BY "1st prize ($)" LIMIT 1 | [
4758,
279,
4908,
4205,
1785,
2921,
503,
262,
1551,
11596,
1637,
284,
663,
352,
301,
1295,
957,
4828,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
22416,
62,
20,
3132,
38678,
11050,
366,
16,
301,
11596,
7198,
16725,
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
]
| [
4758,
279,
4908,
4205,
1785,
2921,
503,
262,
1551,
11596,
1637,
284,
663,
352,
301,
1295,
957,
4828,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
22416,
62,
20,
3132,
38678,
11050,
366,
16,
301,
11596,
7198,
16725,
27564,
2043,
352
]
|
Which Score has a Record of 9 8? | SELECT "Score" FROM table_43767 WHERE "Record" = '9–8' | [
13828,
15178,
468,
257,
13266,
286,
860,
807,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
43284,
3134,
33411,
366,
23739,
1,
796,
705,
24,
1906,
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
]
| [
13828,
15178,
468,
257,
13266,
286,
860,
807,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
43284,
3134,
33411,
366,
23739,
1,
796,
705,
24,
1906,
23,
6
]
|
Show stupid posts (Freeze, Crash, Bug). | SELECT pt.PostId AS "post_link", p.Score, p.ViewCount FROM Tags AS t, PostTags AS pt, Posts AS p WHERE pt.TagId = t.Id AND p.Id = pt.PostId AND t.TagName IN ('freeze', 'crash', 'bug') AND p.AcceptedAnswerId IS NULL AND p.ClosedDate IS NULL AND p.Id NOT IN (SELECT ps.ParentId FROM Posts AS ps WHERE ps.PostTypeId = 2 AND ps.Score > 1) ORDER BY ViewCount DESC | [
15307,
8531,
6851,
357,
11146,
2736,
11,
23653,
11,
15217,
737,
46506,
42975,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
7680,
12332,
16034,
44789,
7054,
256,
11,
2947,
36142,
7054,
42975,
11,
12043,
7054,
279,
33411,
42975,
13,
24835,
7390,
796,
256,
13,
7390,
5357,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
5357,
256,
13,
24835,
5376,
3268,
19203,
5787,
2736,
3256,
705,
6098,
1077,
3256,
705,
25456,
11537,
5357,
279,
13,
38855,
276,
33706,
7390,
3180,
15697,
5357,
279,
13,
2601,
1335,
10430,
3180,
15697,
5357,
279,
13,
7390,
5626
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
15307,
8531,
6851,
357,
11146,
2736,
11,
23653,
11,
15217,
737,
46506,
42975,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
7680,
12332,
16034,
44789,
7054,
256,
11,
2947,
36142,
7054,
42975,
11,
12043,
7054,
279,
33411,
42975,
13,
24835,
7390,
796,
256,
13,
7390,
5357,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
5357,
256,
13,
24835,
5376,
3268,
19203,
5787,
2736,
3256,
705,
6098,
1077,
3256,
705,
25456,
11537,
5357,
279,
13,
38855,
276,
33706,
7390,
3180,
15697,
5357,
279,
13,
2601,
1335,
10430,
3180,
15697,
5357,
279,
13,
7390,
5626
]
|
during this year what were the top four most frequent specimen tests ordered for patients in the same hospital visit after being diagnosed with respirator depend status? | 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 = 'respirator depend status') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) 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 DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) 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 <= 4 | [
42122,
428,
614,
644,
547,
262,
1353,
1440,
749,
10792,
31674,
5254,
6149,
329,
3871,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
21483,
1352,
4745,
3722,
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,
32357
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
42122,
428,
614,
644,
547,
262,
1353,
1440,
749,
10792,
31674,
5254,
6149,
329,
3871,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
21483,
1352,
4745,
3722,
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,
32357
]
|
Opponent of @ edmonton oilers, and a Game smaller than 7, and a Series of oilers lead 3 2 had what score? | SELECT "Score" FROM table_75433 WHERE "Opponent" = '@ edmonton oilers' AND "Game" < '7' AND "Series" = 'oilers lead 3–2' | [
27524,
3471,
286,
2488,
1225,
19729,
3056,
364,
11,
290,
257,
3776,
4833,
621,
767,
11,
290,
257,
7171,
286,
3056,
364,
1085,
513,
362,
550,
644,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
41874,
2091,
33411,
366,
27524,
3471,
1,
796,
705,
31,
1225,
19729,
3056,
364,
6,
5357,
366,
8777,
1,
1279,
705,
22,
6,
5357,
366,
27996,
1,
796,
705,
9437,
364,
1085,
513,
1906,
17,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
27524,
3471,
286,
2488,
1225,
19729,
3056,
364,
11,
290,
257,
3776,
4833,
621,
767,
11,
290,
257,
7171,
286,
3056,
364,
1085,
513,
362,
550,
644,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
41874,
2091,
33411,
366,
27524,
3471,
1,
796,
705,
31,
1225,
19729,
3056,
364,
6,
5357,
366,
8777,
1,
1279,
705,
22,
6,
5357,
366,
27996,
1,
796,
705,
9437,
364,
1085,
513,
1906,
17,
6
]
|
how many films were shot in smff se ma for Ł d ź , poland ? | SELECT COUNT("film title") FROM table_201_9 WHERE "shoot location" = 'smff se-ma-for łodz, poland' | [
4919,
867,
7328,
547,
2823,
287,
895,
487,
384,
17266,
329,
1222,
2,
36453,
26,
288,
1222,
2,
30695,
26,
837,
755,
392,
5633,
46506,
327,
28270,
7203,
26240,
3670,
4943,
16034,
3084,
62,
1264,
62,
24,
33411,
366,
30408,
4067,
1,
796,
705,
5796,
487,
384,
12,
2611,
12,
1640,
25370,
224,
375,
89,
11,
755,
392,
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
]
| [
4919,
867,
7328,
547,
2823,
287,
895,
487,
384,
17266,
329,
1222,
2,
36453,
26,
288,
1222,
2,
30695,
26,
837,
755,
392,
5633,
46506,
327,
28270,
7203,
26240,
3670,
4943,
16034,
3084,
62,
1264,
62,
24,
33411,
366,
30408,
4067,
1,
796,
705,
5796,
487,
384,
12,
2611,
12,
1640,
25370,
224,
375,
89,
11,
755,
392,
6
]
|
What category was the winner in? | SELECT "Category" FROM table_48133 WHERE "Outcome" = 'winner' | [
2061,
6536,
373,
262,
8464,
287,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2780,
16945,
33411,
366,
7975,
2958,
1,
796,
705,
39791,
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
]
| [
2061,
6536,
373,
262,
8464,
287,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2780,
16945,
33411,
366,
7975,
2958,
1,
796,
705,
39791,
6
]
|
What is the highest number of silvers a team with more than 95 total medals has? | SELECT MAX(silver) FROM table_name_6 WHERE total > 95 | [
2061,
318,
262,
4511,
1271,
286,
3313,
690,
257,
1074,
351,
517,
621,
6957,
2472,
28057,
468,
30,
46506,
25882,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
2472,
1875,
6957
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
4511,
1271,
286,
3313,
690,
257,
1074,
351,
517,
621,
6957,
2472,
28057,
468,
30,
46506,
25882,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
2472,
1875,
6957
]
|
Which Result F-A has Opponents of rosenborg? | SELECT "Result F \u2013 A" FROM table_79125 WHERE "Opponents" = 'rosenborg' | [
13828,
25414,
376,
12,
32,
468,
9385,
3906,
286,
686,
6248,
23297,
30,
46506,
366,
23004,
376,
3467,
84,
6390,
317,
1,
16034,
3084,
62,
3720,
11623,
33411,
366,
27524,
3906,
1,
796,
705,
4951,
268,
23297,
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,
25414,
376,
12,
32,
468,
9385,
3906,
286,
686,
6248,
23297,
30,
46506,
366,
23004,
376,
3467,
84,
6390,
317,
1,
16034,
3084,
62,
3720,
11623,
33411,
366,
27524,
3906,
1,
796,
705,
4951,
268,
23297,
6
]
|
How many seasons did Charles C. Farrell coach? | SELECT COUNT(seasons) FROM table_name_56 WHERE name = "charles c. farrell" | [
2437,
867,
7028,
750,
7516,
327,
13,
37568,
3985,
30,
46506,
327,
28270,
7,
325,
2812,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1438,
796,
366,
10641,
829,
269,
13,
1290,
11252,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7028,
750,
7516,
327,
13,
37568,
3985,
30,
46506,
327,
28270,
7,
325,
2812,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1438,
796,
366,
10641,
829,
269,
13,
1290,
11252,
1
]
|
referrals to Jon Skeet's question tips, per user. | SELECT YEAR(c.CreationDate), COUNT(c.Id) FROM Comments AS c WHERE c.Text LIKE '%codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question%' GROUP BY YEAR(c.CreationDate) ORDER BY COUNT(c.Id) DESC | [
260,
2232,
30691,
284,
5966,
19460,
316,
338,
1808,
9040,
11,
583,
2836,
13,
46506,
32914,
7,
66,
13,
12443,
341,
10430,
828,
327,
28270,
7,
66,
13,
7390,
8,
16034,
19502,
7054,
269,
33411,
269,
13,
8206,
34178,
705,
4,
8189,
14036,
13,
73,
684,
365,
316,
13,
2724,
14,
10333,
14,
2919,
14,
1959,
14,
16502,
12,
1169,
12,
25833,
12,
25652,
4,
6,
44441,
11050,
32914,
7,
66,
13,
12443,
341,
10430,
8,
38678,
11050,
327,
28270,
7,
66,
13,
7390,
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
]
| [
260,
2232,
30691,
284,
5966,
19460,
316,
338,
1808,
9040,
11,
583,
2836,
13,
46506,
32914,
7,
66,
13,
12443,
341,
10430,
828,
327,
28270,
7,
66,
13,
7390,
8,
16034,
19502,
7054,
269,
33411,
269,
13,
8206,
34178,
705,
4,
8189,
14036,
13,
73,
684,
365,
316,
13,
2724,
14,
10333,
14,
2919,
14,
1959,
14,
16502,
12,
1169,
12,
25833,
12,
25652,
4,
6,
44441,
11050,
32914,
7,
66,
13,
12443,
341,
10430,
8,
38678,
11050,
327,
28270,
7,
66,
13,
7390,
8,
22196,
34
]
|
Name the agency for santa rosa avenue | SELECT agency FROM table_25692955_1 WHERE south_west_terminal = "Santa Rosa Avenue" | [
5376,
262,
4086,
329,
264,
4910,
686,
11400,
36132,
46506,
4086,
16034,
3084,
62,
1495,
3388,
1959,
2816,
62,
16,
33411,
5366,
62,
7038,
62,
23705,
282,
796,
366,
42694,
27994,
8878,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4086,
329,
264,
4910,
686,
11400,
36132,
46506,
4086,
16034,
3084,
62,
1495,
3388,
1959,
2816,
62,
16,
33411,
5366,
62,
7038,
62,
23705,
282,
796,
366,
42694,
27994,
8878,
1
]
|
List the project details of the project both producing patent and paper as outcomes. | SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id WHERE T2.outcome_code = 'Paper' INTERSECT SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id WHERE T2.outcome_code = 'Patent' | [
8053,
262,
1628,
3307,
286,
262,
1628,
1111,
9194,
12701,
290,
3348,
355,
10906,
13,
46506,
309,
16,
13,
16302,
62,
36604,
16034,
29898,
7054,
309,
16,
32357,
1268,
4935,
62,
448,
8988,
7054,
309,
17,
6177,
309,
16,
13,
16302,
62,
312,
796,
309,
17,
13,
16302,
62,
312,
33411,
309,
17,
13,
448,
2958,
62,
8189,
796,
705,
42950,
6,
17828,
4877,
9782,
33493,
309,
16,
13,
16302,
62,
36604,
16034,
29898,
7054,
309,
16,
32357,
1268,
4935,
62,
448,
8988,
7054,
309,
17,
6177,
309,
16,
13,
16302,
62,
312,
796,
309,
17,
13,
16302,
62,
312
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8053,
262,
1628,
3307,
286,
262,
1628,
1111,
9194,
12701,
290,
3348,
355,
10906,
13,
46506,
309,
16,
13,
16302,
62,
36604,
16034,
29898,
7054,
309,
16,
32357,
1268,
4935,
62,
448,
8988,
7054,
309,
17,
6177,
309,
16,
13,
16302,
62,
312,
796,
309,
17,
13,
16302,
62,
312,
33411,
309,
17,
13,
448,
2958,
62,
8189,
796,
705,
42950,
6,
17828,
4877,
9782,
33493,
309,
16,
13,
16302,
62,
36604,
16034,
29898,
7054,
309,
16,
32357,
1268,
4935,
62,
448,
8988,
7054,
309,
17,
6177,
309,
16,
13,
16302,
62,
312,
796,
309,
17,
13,
16302,
62,
312
]
|
What is the average week number for games that had 28,800 fans in attendance? | SELECT AVG("Week") FROM table_45345 WHERE "Attendance" = '28,800' | [
2061,
318,
262,
2811,
1285,
1271,
329,
1830,
326,
550,
2579,
11,
7410,
3296,
287,
14858,
30,
46506,
35224,
7203,
20916,
4943,
16034,
3084,
62,
2231,
27712,
33411,
366,
8086,
437,
590,
1,
796,
705,
2078,
11,
7410,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2811,
1285,
1271,
329,
1830,
326,
550,
2579,
11,
7410,
3296,
287,
14858,
30,
46506,
35224,
7203,
20916,
4943,
16034,
3084,
62,
2231,
27712,
33411,
366,
8086,
437,
590,
1,
796,
705,
2078,
11,
7410,
6
]
|
What is the year from 1892-93 that has the 1890s to the 1940s? | SELECT "1892\u201393" FROM table_75722 WHERE "1890s" = '1940s' | [
2061,
318,
262,
614,
422,
1248,
5892,
12,
6052,
326,
468,
262,
31982,
82,
284,
262,
16236,
82,
30,
46506,
366,
1507,
5892,
59,
84,
1264,
26007,
1,
16034,
3084,
62,
39251,
1828,
33411,
366,
1507,
3829,
82,
1,
796,
705,
1129,
1821,
82,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
614,
422,
1248,
5892,
12,
6052,
326,
468,
262,
31982,
82,
284,
262,
16236,
82,
30,
46506,
366,
1507,
5892,
59,
84,
1264,
26007,
1,
16034,
3084,
62,
39251,
1828,
33411,
366,
1507,
3829,
82,
1,
796,
705,
1129,
1821,
82,
6
]
|
Who was the incumbent in Pennsylvania 27? | SELECT "Incumbent" FROM table_18601 WHERE "District" = 'Pennsylvania 27' | [
8241,
373,
262,
23526,
287,
9589,
2681,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
25096,
486,
33411,
366,
44857,
1,
796,
705,
39899,
9270,
2681,
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
]
| [
8241,
373,
262,
23526,
287,
9589,
2681,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
25096,
486,
33411,
366,
44857,
1,
796,
705,
39899,
9270,
2681,
6
]
|
What's the value for 2007 when 2011 is a and 2009 is q2? | SELECT 2007 FROM table_name_12 WHERE 2011 = "a" AND 2009 = "q2" | [
2061,
338,
262,
1988,
329,
4343,
618,
2813,
318,
257,
290,
3717,
318,
10662,
17,
30,
46506,
4343,
16034,
3084,
62,
3672,
62,
1065,
33411,
2813,
796,
366,
64,
1,
5357,
3717,
796,
366,
80,
17,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
338,
262,
1988,
329,
4343,
618,
2813,
318,
257,
290,
3717,
318,
10662,
17,
30,
46506,
4343,
16034,
3084,
62,
3672,
62,
1065,
33411,
2813,
796,
366,
64,
1,
5357,
3717,
796,
366,
80,
17,
1
]
|
What is the first class team of the player born on 23 February 1973? | SELECT "First Class Team" FROM table_51626 WHERE "Date of Birth" = '23 february 1973' | [
2061,
318,
262,
717,
1398,
1074,
286,
262,
2137,
4642,
319,
2242,
3945,
15674,
30,
46506,
366,
5962,
5016,
4816,
1,
16034,
3084,
62,
47493,
2075,
33411,
366,
10430,
286,
17647,
1,
796,
705,
1954,
730,
65,
3728,
15674,
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
]
| [
2061,
318,
262,
717,
1398,
1074,
286,
262,
2137,
4642,
319,
2242,
3945,
15674,
30,
46506,
366,
5962,
5016,
4816,
1,
16034,
3084,
62,
47493,
2075,
33411,
366,
10430,
286,
17647,
1,
796,
705,
1954,
730,
65,
3728,
15674,
6
]
|
How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges Show bar chart, show by the bars in descending. | SELECT state, enr FROM College AS T1 JOIN Tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' ORDER BY state DESC | [
2437,
867,
2444,
389,
18724,
287,
15273,
326,
423,
3710,
6292,
1141,
1949,
5269,
11,
290,
287,
543,
2585,
389,
883,
15273,
5438,
2318,
8262,
11,
905,
416,
262,
9210,
287,
31491,
13,
46506,
1181,
11,
551,
81,
16034,
5535,
7054,
309,
16,
32357,
1268,
9993,
448,
7054,
309,
17,
6177,
309,
16,
13,
66,
5376,
796,
309,
17,
13,
66,
5376,
33411,
309,
17,
13,
12501,
1166,
796,
705,
8505,
6,
38678,
11050,
1181,
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
]
| [
2437,
867,
2444,
389,
18724,
287,
15273,
326,
423,
3710,
6292,
1141,
1949,
5269,
11,
290,
287,
543,
2585,
389,
883,
15273,
5438,
2318,
8262,
11,
905,
416,
262,
9210,
287,
31491,
13,
46506,
1181,
11,
551,
81,
16034,
5535,
7054,
309,
16,
32357,
1268,
9993,
448,
7054,
309,
17,
6177,
309,
16,
13,
66,
5376,
796,
309,
17,
13,
66,
5376,
33411,
309,
17,
13,
12501,
1166,
796,
705,
8505,
6,
38678,
11050,
1181,
22196,
34
]
|
What is the L2 cache with a 13.5x multi 1? | SELECT l2_cache FROM table_name_87 WHERE multi_1 = "13.5x" | [
2061,
318,
262,
406,
17,
12940,
351,
257,
1511,
13,
20,
87,
5021,
352,
30,
46506,
300,
17,
62,
23870,
16034,
3084,
62,
3672,
62,
5774,
33411,
5021,
62,
16,
796,
366,
1485,
13,
20,
87,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
406,
17,
12940,
351,
257,
1511,
13,
20,
87,
5021,
352,
30,
46506,
300,
17,
62,
23870,
16034,
3084,
62,
3672,
62,
5774,
33411,
5021,
62,
16,
796,
366,
1485,
13,
20,
87,
1
]
|
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the average of code , and group by attribute name, list from low to high by the y axis. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
1351,
422,
1877,
284,
1029,
416,
262,
331,
16488,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
10669,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
10669
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
1351,
422,
1877,
284,
1029,
416,
262,
331,
16488,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
10669,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
10669
]
|
Which home team has a crowd that is bigger than 22,449? | SELECT "Home team" FROM table_10980 WHERE "Crowd" > '22,449' | [
13828,
1363,
1074,
468,
257,
4315,
326,
318,
5749,
621,
2534,
11,
31911,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
14454,
1795,
33411,
366,
34,
3986,
1,
1875,
705,
1828,
11,
31911,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
1363,
1074,
468,
257,
4315,
326,
318,
5749,
621,
2534,
11,
31911,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
14454,
1795,
33411,
366,
34,
3986,
1,
1875,
705,
1828,
11,
31911,
6
]
|
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%? | SELECT "Market Income Per Capita" FROM table_25350 WHERE "Status" = 'Distressed' AND "Unemployment Rate" = '10.5%' | [
2061,
318,
262,
1910,
3739,
583,
21344,
287,
257,
7968,
810,
262,
3722,
318,
36233,
290,
262,
10681,
2494,
318,
379,
838,
13,
20,
4,
30,
46506,
366,
27470,
19003,
2448,
4476,
5350,
1,
16034,
3084,
62,
1495,
14877,
33411,
366,
19580,
1,
796,
705,
20344,
2790,
6,
5357,
366,
3118,
28812,
14806,
1,
796,
705,
940,
13,
20,
4,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1910,
3739,
583,
21344,
287,
257,
7968,
810,
262,
3722,
318,
36233,
290,
262,
10681,
2494,
318,
379,
838,
13,
20,
4,
30,
46506,
366,
27470,
19003,
2448,
4476,
5350,
1,
16034,
3084,
62,
1495,
14877,
33411,
366,
19580,
1,
796,
705,
20344,
2790,
6,
5357,
366,
3118,
28812,
14806,
1,
796,
705,
940,
13,
20,
4,
6
]
|
Name the high points for w 90 77 (ot) | SELECT "High points" FROM table_29767 WHERE "Score" = 'W 90–77 (OT)' | [
5376,
262,
1029,
2173,
329,
266,
4101,
8541,
357,
313,
8,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
26561,
3134,
33411,
366,
26595,
1,
796,
705,
54,
4101,
1906,
3324,
357,
2394,
33047
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
5376,
262,
1029,
2173,
329,
266,
4101,
8541,
357,
313,
8,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
26561,
3134,
33411,
366,
26595,
1,
796,
705,
54,
4101,
1906,
3324,
357,
2394,
33047
]
|
What is the Australian equivalent to i / /? | SELECT australian FROM table_name_79 WHERE letter = "i /ɪ/" | [
2061,
318,
262,
6638,
7548,
284,
1312,
1220,
1220,
30,
46506,
38132,
1373,
666,
16034,
3084,
62,
3672,
62,
3720,
33411,
3850,
796,
366,
72,
1220,
133,
103,
30487
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
6638,
7548,
284,
1312,
1220,
1220,
30,
46506,
38132,
1373,
666,
16034,
3084,
62,
3672,
62,
3720,
33411,
3850,
796,
366,
72,
1220,
133,
103,
30487
]
|
How many players had 8 goals? | SELECT COUNT(player) FROM table_28286776_52 WHERE goal_s_ = 8 | [
2437,
867,
1938,
550,
807,
4661,
30,
46506,
327,
28270,
7,
7829,
8,
16034,
3084,
62,
2078,
2078,
3134,
4304,
62,
4309,
33411,
3061,
62,
82,
62,
796,
807
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
867,
1938,
550,
807,
4661,
30,
46506,
327,
28270,
7,
7829,
8,
16034,
3084,
62,
2078,
2078,
3134,
4304,
62,
4309,
33411,
3061,
62,
82,
62,
796,
807
]
|
What shows for 2002 when the 2004 is A, and the 2005 is 1r? | SELECT 2002 FROM table_name_40 WHERE 2004 = "a" AND 2005 = "1r" | [
2061,
2523,
329,
6244,
618,
262,
5472,
318,
317,
11,
290,
262,
5075,
318,
352,
81,
30,
46506,
6244,
16034,
3084,
62,
3672,
62,
1821,
33411,
5472,
796,
366,
64,
1,
5357,
5075,
796,
366,
16,
81,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2523,
329,
6244,
618,
262,
5472,
318,
317,
11,
290,
262,
5075,
318,
352,
81,
30,
46506,
6244,
16034,
3084,
62,
3672,
62,
1821,
33411,
5472,
796,
366,
64,
1,
5357,
5075,
796,
366,
16,
81,
1
]
|
what is the nation when the height (m) is 1.91 and the weight (kg) is 99? | SELECT nation FROM table_name_83 WHERE height__m_ = "1.91" AND weight__kg_ = "99" | [
10919,
318,
262,
3277,
618,
262,
6001,
357,
76,
8,
318,
352,
13,
6420,
290,
262,
3463,
357,
10025,
8,
318,
7388,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
5999,
33411,
6001,
834,
76,
62,
796,
366,
16,
13,
6420,
1,
5357,
3463,
834,
10025,
62,
796,
366,
2079,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3277,
618,
262,
6001,
357,
76,
8,
318,
352,
13,
6420,
290,
262,
3463,
357,
10025,
8,
318,
7388,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
5999,
33411,
6001,
834,
76,
62,
796,
366,
16,
13,
6420,
1,
5357,
3463,
834,
10025,
62,
796,
366,
2079,
1
]
|
Name the least draw for elena dermidjean | SELECT MIN("Draw") FROM table_1160 WHERE "Artist" = 'Elena Dermidjean' | [
5376,
262,
1551,
3197,
329,
1288,
8107,
4587,
13602,
73,
11025,
46506,
20625,
7203,
25302,
4943,
16034,
3084,
62,
1157,
1899,
33411,
366,
43020,
1,
796,
705,
9527,
8107,
360,
7780,
312,
73,
11025,
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
]
| [
5376,
262,
1551,
3197,
329,
1288,
8107,
4587,
13602,
73,
11025,
46506,
20625,
7203,
25302,
4943,
16034,
3084,
62,
1157,
1899,
33411,
366,
43020,
1,
796,
705,
9527,
8107,
360,
7780,
312,
73,
11025,
6
]
|
What's the total number of directors who've directed episodes seen by 11.34 million US viewers? | SELECT COUNT("Directed by") FROM table_17478 WHERE "U.S. viewers (millions)" = '11.34' | [
2061,
338,
262,
2472,
1271,
286,
13445,
508,
1053,
7924,
8640,
1775,
416,
1367,
13,
2682,
1510,
1294,
10209,
30,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
1558,
29059,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
1157,
13,
2682,
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
]
| [
2061,
338,
262,
2472,
1271,
286,
13445,
508,
1053,
7924,
8640,
1775,
416,
1367,
13,
2682,
1510,
1294,
10209,
30,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
1558,
29059,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
1157,
13,
2682,
6
]
|
Name the 2008 with 2012 of 2r and 2006 of 2r | SELECT "2008" FROM table_37806 WHERE "2012" = '2r' AND "2006" = '2r' | [
5376,
262,
3648,
351,
2321,
286,
362,
81,
290,
4793,
286,
362,
81,
46506,
366,
11528,
1,
16034,
3084,
62,
2718,
37988,
33411,
366,
6999,
1,
796,
705,
17,
81,
6,
5357,
366,
13330,
1,
796,
705,
17,
81,
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
]
| [
5376,
262,
3648,
351,
2321,
286,
362,
81,
290,
4793,
286,
362,
81,
46506,
366,
11528,
1,
16034,
3084,
62,
2718,
37988,
33411,
366,
6999,
1,
796,
705,
17,
81,
6,
5357,
366,
13330,
1,
796,
705,
17,
81,
6
]
|
What is the invoice number and invoice date corresponding to the invoice with the greatest number of transactions? | SELECT T2.invoice_number, T2.invoice_date FROM financial_transactions AS T1 JOIN invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
45458,
1271,
290,
45458,
3128,
11188,
284,
262,
45458,
351,
262,
6000,
1271,
286,
8945,
30,
46506,
309,
17,
13,
16340,
2942,
62,
17618,
11,
309,
17,
13,
16340,
2942,
62,
4475,
16034,
3176,
62,
7645,
4658,
7054,
309,
16,
32357,
1268,
800,
78,
1063,
7054,
309,
17,
6177,
309,
16,
13,
16340,
2942,
62,
17618,
796,
309,
17,
13,
16340,
2942,
62,
17618,
44441,
11050,
309,
16,
13,
16340,
2942,
62,
17618,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
45458,
1271,
290,
45458,
3128,
11188,
284,
262,
45458,
351,
262,
6000,
1271,
286,
8945,
30,
46506,
309,
17,
13,
16340,
2942,
62,
17618,
11,
309,
17,
13,
16340,
2942,
62,
4475,
16034,
3176,
62,
7645,
4658,
7054,
309,
16,
32357,
1268,
800,
78,
1063,
7054,
309,
17,
6177,
309,
16,
13,
16340,
2942,
62,
17618,
796,
309,
17,
13,
16340,
2942,
62,
17618,
44441,
11050,
309,
16,
13,
16340,
2942,
62,
17618,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
|
count the number of patients whose diagnoses short title is diarrhea and drug route is ivpca? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Diarrhea" AND prescriptions.route = "IVPCA" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
36004,
290,
2563,
6339,
318,
21628,
79,
6888,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
18683,
3258,
21632,
1,
5357,
34092,
13,
38629,
796,
366,
3824,
5662,
32,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
1790,
3670,
318,
36004,
290,
2563,
6339,
318,
21628,
79,
6888,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
18683,
3258,
21632,
1,
5357,
34092,
13,
38629,
796,
366,
3824,
5662,
32,
1
]
|
are there any flights from BOSTON to SAN FRANCISCO which stop in DENVER | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DENVER' AND flight_stop.stop_airport = AIRPORT_SERVICE_2.airport_code AND flight.flight_id = flight_stop.flight_id AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
533,
612,
597,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
543,
2245,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
17,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
1748,
7054,
27993,
62,
17,
11,
5474,
11,
5474,
62,
11338,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
533,
612,
597,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
543,
2245,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
17,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
1748,
7054,
27993,
62,
17,
11,
5474,
11,
5474,
62,
11338,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189
]
|
What is the last 10 meetings that have slu, 9-8 as the overall record? | SELECT "Last 10 Meetings" FROM table_7612 WHERE "Overall Record" = 'slu, 9-8' | [
2061,
318,
262,
938,
838,
8292,
326,
423,
1017,
84,
11,
860,
12,
23,
355,
262,
4045,
1700,
30,
46506,
366,
5956,
838,
21167,
654,
1,
16034,
3084,
62,
4304,
1065,
33411,
366,
16350,
13266,
1,
796,
705,
82,
2290,
11,
860,
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
]
| [
2061,
318,
262,
938,
838,
8292,
326,
423,
1017,
84,
11,
860,
12,
23,
355,
262,
4045,
1700,
30,
46506,
366,
5956,
838,
21167,
654,
1,
16034,
3084,
62,
4304,
1065,
33411,
366,
16350,
13266,
1,
796,
705,
82,
2290,
11,
860,
12,
23,
6
]
|
hepatic, renal, muscular / neuromuscular, or active hematologic / oncologic disease | SELECT * FROM table_dev_46 WHERE hepatic_disease = 1 OR renal_disease = 1 OR muscular_disease = 1 OR neuromuscular_disease = 1 OR hematologic_disease = 1 OR active_oncologic_disease = 1 | [
258,
79,
1512,
11,
44375,
11,
27014,
1220,
11943,
296,
385,
10440,
11,
393,
4075,
339,
6759,
20781,
1220,
319,
66,
20781,
4369,
46506,
1635,
16034,
3084,
62,
7959,
62,
3510,
33411,
47585,
1512,
62,
67,
786,
589,
796,
352,
6375,
44375,
62,
67,
786,
589,
796,
352,
6375,
27014,
62,
67,
786,
589,
796,
352,
6375,
11943,
296,
385,
10440,
62,
67,
786,
589,
796,
352,
6375,
339,
6759,
20781,
62,
67,
786,
589,
796,
352,
6375,
4075,
62,
261,
66,
20781,
62,
67,
786,
589,
796,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
258,
79,
1512,
11,
44375,
11,
27014,
1220,
11943,
296,
385,
10440,
11,
393,
4075,
339,
6759,
20781,
1220,
319,
66,
20781,
4369,
46506,
1635,
16034,
3084,
62,
7959,
62,
3510,
33411,
47585,
1512,
62,
67,
786,
589,
796,
352,
6375,
44375,
62,
67,
786,
589,
796,
352,
6375,
27014,
62,
67,
786,
589,
796,
352,
6375,
11943,
296,
385,
10440,
62,
67,
786,
589,
796,
352,
6375,
339,
6759,
20781,
62,
67,
786,
589,
796,
352,
6375,
4075,
62,
261,
66,
20781,
62,
67,
786,
589,
796,
352
]
|
What was the score in the Tournament of Frankfurt? | SELECT "Score" FROM table_55858 WHERE "Tournament" = 'frankfurt' | [
2061,
373,
262,
4776,
287,
262,
9595,
286,
31970,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
40486,
3365,
33411,
366,
51,
5138,
1,
796,
705,
8310,
962,
29205,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
4776,
287,
262,
9595,
286,
31970,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
40486,
3365,
33411,
366,
51,
5138,
1,
796,
705,
8310,
962,
29205,
6
]
|
how many schedule entries are there ? | SELECT COUNT(*) FROM table_204_157 | [
4919,
867,
7269,
12784,
389,
612,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
18458
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
867,
7269,
12784,
389,
612,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
18458
]
|
Which city has frequency under 106.5MHz and a callsign of w218ck? | SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck" | [
13828,
1748,
468,
8373,
739,
15696,
13,
20,
25983,
290,
257,
3848,
570,
286,
266,
28727,
694,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
3132,
33411,
8373,
62,
76,
32179,
1279,
15696,
13,
20,
5357,
869,
62,
12683,
796,
366,
86,
28727,
694,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
1748,
468,
8373,
739,
15696,
13,
20,
25983,
290,
257,
3848,
570,
286,
266,
28727,
694,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
3132,
33411,
8373,
62,
76,
32179,
1279,
15696,
13,
20,
5357,
869,
62,
12683,
796,
366,
86,
28727,
694,
1
]
|
what was the top three diagnosis with the highest five year mortality rate? | SELECT t4.diagnosisname FROM (SELECT t3.diagnosisname, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.diagnosisname, 100 - SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) AS c1 FROM (SELECT t1.uniquepid, t1.diagnosisname, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosisname, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid GROUP BY patient.uniquepid, diagnosis.diagnosisname HAVING MIN(diagnosis.diagnosistime) = diagnosis.diagnosistime) AS t1 WHERE STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', t1.diagnosistime) > 5 * 365) AS t2 JOIN patient ON t2.uniquepid = patient.uniquepid GROUP BY t2.diagnosisname) AS t3) AS t4 WHERE t4.c2 <= 3 | [
10919,
373,
262,
1353,
1115,
13669,
351,
262,
4511,
1936,
614,
12430,
2494,
30,
46506,
256,
19,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
18,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
256,
18,
13,
66,
16,
22196,
34,
8,
7054,
269,
17,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
11,
1802,
532,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
6381,
354,
7641,
524,
8
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
373,
262,
1353,
1115,
13669,
351,
262,
4511,
1936,
614,
12430,
2494,
30,
46506,
256,
19,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
18,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
256,
18,
13,
66,
16,
22196,
34,
8,
7054,
269,
17,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
11,
1802,
532,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
6381,
354,
7641,
524,
8
]
|
What was sweden's score in T9 place? | SELECT "Score" FROM table_60367 WHERE "Place" = 't9' AND "Country" = 'sweden' | [
2061,
373,
1509,
31829,
338,
4776,
287,
309,
24,
1295,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1899,
27824,
33411,
366,
27271,
1,
796,
705,
83,
24,
6,
5357,
366,
33921,
1,
796,
705,
2032,
31829,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
1509,
31829,
338,
4776,
287,
309,
24,
1295,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1899,
27824,
33411,
366,
27271,
1,
796,
705,
83,
24,
6,
5357,
366,
33921,
1,
796,
705,
2032,
31829,
6
]
|
Which Hanya has an area of 19.3888? | SELECT hanyu FROM table_name_59 WHERE area__km²_ = 19.3888 | [
13828,
367,
34183,
468,
281,
1989,
286,
678,
13,
2548,
3459,
30,
46506,
289,
1092,
84,
16034,
3084,
62,
3672,
62,
3270,
33411,
1989,
834,
13276,
31185,
62,
796,
678,
13,
2548,
3459
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
367,
34183,
468,
281,
1989,
286,
678,
13,
2548,
3459,
30,
46506,
289,
1092,
84,
16034,
3084,
62,
3672,
62,
3270,
33411,
1989,
834,
13276,
31185,
62,
796,
678,
13,
2548,
3459
]
|
what is the total number of years ? | SELECT COUNT("year") FROM table_204_172 | [
10919,
318,
262,
2472,
1271,
286,
812,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
23628
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
262,
2472,
1271,
286,
812,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
23628
]
|
What is the length of the 6 Hours of Talladega? | SELECT "Length" FROM table_37439 WHERE "Race" = '6 hours of talladega' | [
2061,
318,
262,
4129,
286,
262,
718,
19347,
286,
22676,
671,
4908,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
31020,
2670,
33411,
366,
35157,
1,
796,
705,
21,
2250,
286,
7331,
671,
4908,
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
]
| [
2061,
318,
262,
4129,
286,
262,
718,
19347,
286,
22676,
671,
4908,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
31020,
2670,
33411,
366,
35157,
1,
796,
705,
21,
2250,
286,
7331,
671,
4908,
6
]
|
Find the number of rooms with price higher than 120 for different decor Show bar chart, and list by the Y in descending. | SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor ORDER BY COUNT(*) DESC | [
16742,
262,
1271,
286,
9519,
351,
2756,
2440,
621,
7982,
329,
1180,
11705,
5438,
2318,
8262,
11,
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
]
| [
16742,
262,
1271,
286,
9519,
351,
2756,
2440,
621,
7982,
329,
1180,
11705,
5438,
2318,
8262,
11,
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
]
|
Which Event has a Resolution of loss, and a Record of 12 2? | SELECT "Event" FROM table_34325 WHERE "Res." = 'loss' AND "Record" = '12–2' | [
13828,
8558,
468,
257,
22406,
286,
2994,
11,
290,
257,
13266,
286,
1105,
362,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
2682,
26582,
33411,
366,
4965,
526,
796,
705,
22462,
6,
5357,
366,
23739,
1,
796,
705,
1065,
1906,
17,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
8558,
468,
257,
22406,
286,
2994,
11,
290,
257,
13266,
286,
1105,
362,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
2682,
26582,
33411,
366,
4965,
526,
796,
705,
22462,
6,
5357,
366,
23739,
1,
796,
705,
1065,
1906,
17,
6
]
|
Are there any Modern English Grammar courses that complete the Other requirement ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Modern English Grammar%' OR course.description LIKE '%Modern English Grammar%' OR course.name LIKE '%Modern English Grammar%') AND program_course.category LIKE '%Other%' | [
8491,
612,
597,
12495,
3594,
20159,
3876,
10902,
326,
1844,
262,
3819,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
17319,
62,
312,
796,
1989,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
33411,
357,
20337,
13,
20337,
34178,
705,
4,
31439,
3594,
20159,
3876,
4,
6,
6375,
1781,
13,
11213,
34178,
705,
4,
31439,
3594,
20159,
3876,
4,
6,
6375,
1781
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8491,
612,
597,
12495,
3594,
20159,
3876,
10902,
326,
1844,
262,
3819,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
17319,
62,
312,
796,
1989,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
33411,
357,
20337,
13,
20337,
34178,
705,
4,
31439,
3594,
20159,
3876,
4,
6,
6375,
1781,
13,
11213,
34178,
705,
4,
31439,
3594,
20159,
3876,
4,
6,
6375,
1781
]
|
What is the title when 2.50 is u.s. viewers (in millions)? | SELECT title FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.50" | [
2061,
318,
262,
3670,
618,
362,
13,
1120,
318,
334,
13,
82,
13,
10209,
357,
259,
5242,
19427,
46506,
3670,
16034,
3084,
62,
24409,
17032,
3510,
62,
16,
33411,
514,
62,
1177,
364,
834,
259,
62,
17805,
507,
62,
796,
366,
17,
13,
1120,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
618,
362,
13,
1120,
318,
334,
13,
82,
13,
10209,
357,
259,
5242,
19427,
46506,
3670,
16034,
3084,
62,
24409,
17032,
3510,
62,
16,
33411,
514,
62,
1177,
364,
834,
259,
62,
17805,
507,
62,
796,
366,
17,
13,
1120,
1
]
|
What is the constructor on the team with 8 rounds and a chassis of 156 158 1512? | SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512" | [
2061,
318,
262,
23772,
319,
262,
1074,
351,
807,
9196,
290,
257,
24587,
286,
23871,
24063,
1315,
1065,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4051,
33411,
9196,
796,
366,
23,
1,
5357,
24587,
796,
366,
21599,
24063,
1315,
1065,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23772,
319,
262,
1074,
351,
807,
9196,
290,
257,
24587,
286,
23871,
24063,
1315,
1065,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4051,
33411,
9196,
796,
366,
23,
1,
5357,
24587,
796,
366,
21599,
24063,
1315,
1065,
1
]
|
provide the number of patients whose age is less than 55 and procedure long title is open and other replacement of aortic valve with tissue graft? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "55" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
5996,
290,
8771,
890,
3670,
318,
1280,
290,
584,
9014,
286,
257,
419,
291,
22580,
351,
10712,
38455,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
2816,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
11505,
290,
584,
9014,
286,
257,
419,
291,
22580,
351,
10712,
38455,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
5996,
290,
8771,
890,
3670,
318,
1280,
290,
584,
9014,
286,
257,
419,
291,
22580,
351,
10712,
38455,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
2816,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
11505,
290,
584,
9014,
286,
257,
419,
291,
22580,
351,
10712,
38455,
1
]
|
If the average start is 11.8, what was the team name? | SELECT team_s_ FROM table_2190919_3 WHERE avg_start = "11.8" | [
1532,
262,
2811,
923,
318,
1367,
13,
23,
11,
644,
373,
262,
1074,
1438,
30,
46506,
1074,
62,
82,
62,
16034,
3084,
62,
28896,
2931,
1129,
62,
18,
33411,
42781,
62,
9688,
796,
366,
1157,
13,
23,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1532,
262,
2811,
923,
318,
1367,
13,
23,
11,
644,
373,
262,
1074,
1438,
30,
46506,
1074,
62,
82,
62,
16034,
3084,
62,
28896,
2931,
1129,
62,
18,
33411,
42781,
62,
9688,
796,
366,
1157,
13,
23,
1
]
|
List the top 10 customers by total gross sales. Compare the total gross sales of customers by their first name. | SELECT first_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10 | [
8053,
262,
1353,
838,
4297,
416,
2472,
10319,
4200,
13,
27814,
262,
2472,
10319,
4200,
286,
4297,
416,
511,
717,
1438,
13,
46506,
717,
62,
3672,
11,
35683,
7,
51,
17,
13,
23350,
8,
16034,
4297,
7054,
309,
16,
32357,
1268,
800,
78,
1063,
7054,
309,
17,
6177,
309,
17,
13,
23144,
263,
62,
312,
796,
309,
16,
13,
312,
44441,
11050,
309,
16,
13,
312,
38678,
11050,
35683,
7,
51,
17,
13,
23350,
8,
22196,
34,
27564,
2043,
838
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
838,
4297,
416,
2472,
10319,
4200,
13,
27814,
262,
2472,
10319,
4200,
286,
4297,
416,
511,
717,
1438,
13,
46506,
717,
62,
3672,
11,
35683,
7,
51,
17,
13,
23350,
8,
16034,
4297,
7054,
309,
16,
32357,
1268,
800,
78,
1063,
7054,
309,
17,
6177,
309,
17,
13,
23144,
263,
62,
312,
796,
309,
16,
13,
312,
44441,
11050,
309,
16,
13,
312,
38678,
11050,
35683,
7,
51,
17,
13,
23350,
8,
22196,
34,
27564,
2043,
838
]
|
what school had the most wins overall ? | SELECT "school" FROM table_204_898 ORDER BY "conf (overall)" DESC LIMIT 1 | [
10919,
1524,
550,
262,
749,
7864,
4045,
5633,
46506,
366,
14347,
1,
16034,
3084,
62,
18638,
62,
23,
4089,
38678,
11050,
366,
10414,
357,
2502,
439,
16725,
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
]
| [
10919,
1524,
550,
262,
749,
7864,
4045,
5633,
46506,
366,
14347,
1,
16034,
3084,
62,
18638,
62,
23,
4089,
38678,
11050,
366,
10414,
357,
2502,
439,
16725,
22196,
34,
27564,
2043,
352
]
|
What is the record when the visitor was Nashville? | SELECT record FROM table_name_82 WHERE visitor = "nashville" | [
2061,
318,
262,
1700,
618,
262,
21493,
373,
19250,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6469,
33411,
21493,
796,
366,
77,
1077,
4244,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1700,
618,
262,
21493,
373,
19250,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6469,
33411,
21493,
796,
366,
77,
1077,
4244,
1
]
|
What is listed under the Years as tallest, that has Floors of 31? | SELECT years_as_tallest FROM table_name_83 WHERE floors = 31 | [
2061,
318,
5610,
739,
262,
13212,
355,
38760,
11,
326,
468,
29075,
669,
286,
3261,
30,
46506,
812,
62,
292,
62,
35429,
395,
16034,
3084,
62,
3672,
62,
5999,
33411,
18570,
796,
3261
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5610,
739,
262,
13212,
355,
38760,
11,
326,
468,
29075,
669,
286,
3261,
30,
46506,
812,
62,
292,
62,
35429,
395,
16034,
3084,
62,
3672,
62,
5999,
33411,
18570,
796,
3261
]
|
Tell me the average heat rank for time less than 24.02 and lane of 1 | SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1 | [
24446,
502,
262,
2811,
4894,
4279,
329,
640,
1342,
621,
1987,
13,
2999,
290,
11193,
286,
352,
46506,
35224,
7,
25080,
62,
43027,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
640,
1279,
1987,
13,
2999,
5357,
11193,
796,
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
]
| [
24446,
502,
262,
2811,
4894,
4279,
329,
640,
1342,
621,
1987,
13,
2999,
290,
11193,
286,
352,
46506,
35224,
7,
25080,
62,
43027,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
640,
1279,
1987,
13,
2999,
5357,
11193,
796,
352
]
|
What was the parent magazine of the magazine that was first published on december 16, 2004? | SELECT "Parent magazine" FROM table_47319 WHERE "First published" = 'december 16, 2004' | [
2061,
373,
262,
2560,
7093,
286,
262,
7093,
326,
373,
717,
3199,
319,
390,
3273,
1467,
11,
5472,
30,
46506,
366,
24546,
7093,
1,
16034,
3084,
62,
2857,
35175,
33411,
366,
5962,
3199,
1,
796,
705,
2934,
3273,
1467,
11,
5472,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
2560,
7093,
286,
262,
7093,
326,
373,
717,
3199,
319,
390,
3273,
1467,
11,
5472,
30,
46506,
366,
24546,
7093,
1,
16034,
3084,
62,
2857,
35175,
33411,
366,
5962,
3199,
1,
796,
705,
2934,
3273,
1467,
11,
5472,
6
]
|
provide the number of patients who were admitted before 2190 with a delta abnormal lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2190" AND lab.flag = "delta" | [
15234,
485,
262,
1271,
286,
3871,
508,
547,
6848,
878,
362,
19782,
351,
257,
25979,
18801,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
76,
414,
451,
1279,
366,
17,
19782,
1,
5357,
2248,
13,
32109,
796,
366,
67,
12514,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
547,
6848,
878,
362,
19782,
351,
257,
25979,
18801,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
76,
414,
451,
1279,
366,
17,
19782,
1,
5357,
2248,
13,
32109,
796,
366,
67,
12514,
1
]
|
How many teams are #2 on the list? | SELECT COUNT(records) FROM table_15313204_1 WHERE _number = 2 | [
2437,
867,
3466,
389,
1303,
17,
319,
262,
1351,
30,
46506,
327,
28270,
7,
8344,
3669,
8,
16034,
3084,
62,
21395,
1485,
18638,
62,
16,
33411,
4808,
17618,
796,
362
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
867,
3466,
389,
1303,
17,
319,
262,
1351,
30,
46506,
327,
28270,
7,
8344,
3669,
8,
16034,
3084,
62,
21395,
1485,
18638,
62,
16,
33411,
4808,
17618,
796,
362
]
|
What hometown is Kyle love from? | SELECT hometown FROM table_name_47 WHERE name = "kyle love" | [
2061,
20994,
318,
14316,
1842,
422,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
2857,
33411,
1438,
796,
366,
74,
2349,
1842,
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,
20994,
318,
14316,
1842,
422,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
2857,
33411,
1438,
796,
366,
74,
2349,
1842,
1
]
|
what were the top five most common medications that followed during the same month for patients who were prescribed ascorbic acid (liquid) until 2104? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'ascorbic acid (liquid)' AND STRFTIME('%y', prescriptions.startdate) <= '2104') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', prescriptions.startdate) <= '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.startdate < t2.startdate AND DATETIME(t1.startdate, 'start of month') = DATETIME(t2.startdate, 'start of month') GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 5 | [
10919,
547,
262,
1353,
1936,
749,
2219,
17638,
326,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
547,
14798,
355,
10215,
65,
291,
7408,
357,
39250,
8,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
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,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
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,
547,
262,
1353,
1936,
749,
2219,
17638,
326,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
547,
14798,
355,
10215,
65,
291,
7408,
357,
39250,
8,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
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,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13
]
|
what was the name of the procedure that was given two times to patient 51200 a month before? | 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 = 51200) AND DATETIME(procedures_icd.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 = 2) | [
10919,
373,
262,
1438,
286,
262,
8771,
326,
373,
1813,
734,
1661,
284,
5827,
22243,
405,
257,
1227,
878,
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,
373,
262,
1438,
286,
262,
8771,
326,
373,
1813,
734,
1661,
284,
5827,
22243,
405,
257,
1227,
878,
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
]
|
What is the most points when the goals against are 354 and games less than 82? | SELECT MAX(points) FROM table_name_49 WHERE goals_against = 354 AND games < 82 | [
2061,
318,
262,
749,
2173,
618,
262,
4661,
1028,
389,
46752,
290,
1830,
1342,
621,
9415,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
4661,
62,
32826,
796,
46752,
5357,
1830,
1279,
9415
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
2173,
618,
262,
4661,
1028,
389,
46752,
290,
1830,
1342,
621,
9415,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
4661,
62,
32826,
796,
46752,
5357,
1830,
1279,
9415
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.