instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
list | attention_mask
list | labels
list |
---|---|---|---|---|
What is every Gregorian month when the season in Tamil is ? | SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்" | [
2061,
318,
790,
8547,
22618,
1227,
618,
262,
1622,
287,
32519,
318,
5633,
46506,
308,
2301,
22618,
62,
41537,
16034,
3084,
62,
1558,
26429,
3132,
62,
18,
33411,
1622,
62,
259,
62,
83,
321,
346,
796,
366,
156,
106,
229,
156,
106,
111,
156,
106,
113,
156,
107,
229,
156,
106,
102,
156,
106,
123,
156,
106,
110,
156,
107,
235,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
790,
8547,
22618,
1227,
618,
262,
1622,
287,
32519,
318,
5633,
46506,
308,
2301,
22618,
62,
41537,
16034,
3084,
62,
1558,
26429,
3132,
62,
18,
33411,
1622,
62,
259,
62,
83,
321,
346,
796,
366,
156,
106,
229,
156,
106,
111,
156,
106,
113,
156,
107,
229,
156,
106,
102,
156,
106,
123,
156,
106,
110,
156,
107,
235,
1
]
|
what is the total ppn/tna/tpn intake that patient 002-73243 has received? | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-73243')) AND intakeoutput.celllabel = 'ppn/tna/tpn' AND intakeoutput.cellpath LIKE '%intake%' | [
10919,
318,
262,
2472,
9788,
77,
14,
83,
2616,
14,
83,
21999,
10337,
326,
5827,
3571,
17,
12,
4790,
26660,
468,
2722,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
4790,
26660,
6,
4008,
5357,
10337,
22915,
13,
3846,
18242,
796
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
262,
2472,
9788,
77,
14,
83,
2616,
14,
83,
21999,
10337,
326,
5827,
3571,
17,
12,
4790,
26660,
468,
2722,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
4790,
26660,
6,
4008,
5357,
10337,
22915,
13,
3846,
18242,
796
]
|
Which Location Attendance has a High assists of raymond felton (5), and a Record of 35 44? | SELECT "Location Attendance" FROM table_7934 WHERE "High assists" = 'raymond felton (5)' AND "Record" = '35–44' | [
13828,
13397,
46502,
590,
468,
257,
3334,
13648,
286,
26842,
6327,
10756,
1122,
357,
20,
828,
290,
257,
13266,
286,
3439,
5846,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
3720,
2682,
33411,
366,
11922,
13648,
1,
796,
705,
2433,
6327,
10756,
1122,
357,
20,
33047,
5357,
366,
23739,
1,
796,
705,
2327,
1906,
2598,
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
]
| [
13828,
13397,
46502,
590,
468,
257,
3334,
13648,
286,
26842,
6327,
10756,
1122,
357,
20,
828,
290,
257,
13266,
286,
3439,
5846,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
3720,
2682,
33411,
366,
11922,
13648,
1,
796,
705,
2433,
6327,
10756,
1122,
357,
20,
33047,
5357,
366,
23739,
1,
796,
705,
2327,
1906,
2598,
6
]
|
For those records from the products and each product's manufacturer, show me about the distribution of name and code , and group by attribute name in a bar chart, rank X in descending order. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
4279,
1395,
287,
31491,
1502,
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,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376,
22196,
34
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
4279,
1395,
287,
31491,
1502,
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,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376,
22196,
34
]
|
What was the venue when the home team was footscray? | SELECT "Venue" FROM table_51643 WHERE "Home team" = 'footscray' | [
2061,
373,
262,
14359,
618,
262,
1363,
1074,
373,
2366,
1416,
2433,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
47493,
3559,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
14359,
618,
262,
1363,
1074,
373,
2366,
1416,
2433,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
47493,
3559,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
]
|
What is the home record for the Auxerre club? | SELECT "Home" FROM table_62613 WHERE "Club" = 'auxerre' | [
2061,
318,
262,
1363,
1700,
329,
262,
47105,
263,
260,
3430,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
45191,
1485,
33411,
366,
42350,
1,
796,
705,
14644,
263,
260,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1363,
1700,
329,
262,
47105,
263,
260,
3430,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
45191,
1485,
33411,
366,
42350,
1,
796,
705,
14644,
263,
260,
6
]
|
give me the number of patients whose primary disease is t5 fracture and procedure icd9 code is 3612? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "T5 FRACTURE" AND procedures.icd9_code = "3612" | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
256,
20,
31846,
290,
8771,
14158,
67,
24,
2438,
318,
4570,
1065,
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,
47356,
5958,
796,
366,
51,
20,
8782,
10659,
11335,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2623,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
256,
20,
31846,
290,
8771,
14158,
67,
24,
2438,
318,
4570,
1065,
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,
47356,
5958,
796,
366,
51,
20,
8782,
10659,
11335,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2623,
1065,
1
]
|
On what yacht was the sail number aus70? | SELECT "Yacht" FROM table_22431 WHERE "Sail Number" = 'AUS70' | [
2202,
644,
43207,
373,
262,
14936,
1271,
257,
385,
2154,
30,
46506,
366,
56,
19725,
1,
16034,
3084,
62,
24137,
3132,
33411,
366,
50,
603,
7913,
1,
796,
705,
32,
2937,
2154,
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
]
| [
2202,
644,
43207,
373,
262,
14936,
1271,
257,
385,
2154,
30,
46506,
366,
56,
19725,
1,
16034,
3084,
62,
24137,
3132,
33411,
366,
50,
603,
7913,
1,
796,
705,
32,
2937,
2154,
6
]
|
what percentile of sodium is 144.0 in patients of the same age as patient 97330 on the current hospital encounter? | SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'sodium') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age = (SELECT admissions.age FROM admissions WHERE admissions.subject_id = 97330 AND admissions.dischtime IS NULL))) AS t1 WHERE t1.valuenum = 144.0 | [
10919,
37894,
286,
21072,
318,
20224,
13,
15,
287,
3871,
286,
262,
976,
2479,
355,
5827,
860,
4790,
1270,
319,
262,
1459,
4436,
8791,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
11,
19878,
43960,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
2248,
31534,
13,
2100,
84,
44709,
8,
7054,
269,
16,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
82
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
37894,
286,
21072,
318,
20224,
13,
15,
287,
3871,
286,
262,
976,
2479,
355,
5827,
860,
4790,
1270,
319,
262,
1459,
4436,
8791,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
11,
19878,
43960,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
2248,
31534,
13,
2100,
84,
44709,
8,
7054,
269,
16,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
82
]
|
Provide the frequency of the last names of employees earning more than the employee with id 163 using a bar chart, and order Y in asc order. | SELECT LAST_NAME, COUNT(LAST_NAME) FROM employees WHERE SALARY > (SELECT SALARY FROM employees WHERE EMPLOYEE_ID = 163) GROUP BY LAST_NAME ORDER BY COUNT(LAST_NAME) | [
15946,
485,
262,
8373,
286,
262,
938,
3891,
286,
4409,
13748,
517,
621,
262,
6538,
351,
4686,
26826,
1262,
257,
2318,
8262,
11,
290,
1502,
575,
287,
10570,
1502,
13,
46506,
41894,
62,
20608,
11,
327,
28270,
7,
43,
11262,
62,
20608,
8,
16034,
4409,
33411,
42475,
13153,
1875,
357,
46506,
42475,
13153,
16034,
4409,
33411,
17228,
6489,
21414,
6500,
62,
2389,
796,
26826,
8,
44441,
11050,
41894,
62,
20608,
38678,
11050,
327,
28270,
7,
43,
11262,
62,
20608,
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
]
| [
15946,
485,
262,
8373,
286,
262,
938,
3891,
286,
4409,
13748,
517,
621,
262,
6538,
351,
4686,
26826,
1262,
257,
2318,
8262,
11,
290,
1502,
575,
287,
10570,
1502,
13,
46506,
41894,
62,
20608,
11,
327,
28270,
7,
43,
11262,
62,
20608,
8,
16034,
4409,
33411,
42475,
13153,
1875,
357,
46506,
42475,
13153,
16034,
4409,
33411,
17228,
6489,
21414,
6500,
62,
2389,
796,
26826,
8,
44441,
11050,
41894,
62,
20608,
38678,
11050,
327,
28270,
7,
43,
11262,
62,
20608,
8
]
|
What was Andorra's total with less than 10 silver and more than 5 bronze? | SELECT SUM(total) FROM table_name_97 WHERE silver < 10 AND nation = "andorra" AND bronze > 5 | [
2061,
373,
843,
273,
430,
338,
2472,
351,
1342,
621,
838,
8465,
290,
517,
621,
642,
22101,
30,
46506,
35683,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
8465,
1279,
838,
5357,
3277,
796,
366,
392,
273,
430,
1,
5357,
22101,
1875,
642
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
843,
273,
430,
338,
2472,
351,
1342,
621,
838,
8465,
290,
517,
621,
642,
22101,
30,
46506,
35683,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
8465,
1279,
838,
5357,
3277,
796,
366,
392,
273,
430,
1,
5357,
22101,
1875,
642
]
|
What is the name of the game whose team is Waterford and debuted later than 1995? | SELECT "Game" FROM table_10741 WHERE "Team" = 'waterford' AND "D\u00e9but" > '1995' | [
2061,
318,
262,
1438,
286,
262,
983,
3025,
1074,
318,
5638,
3841,
290,
26376,
1568,
621,
8735,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
15982,
3901,
33411,
366,
15592,
1,
796,
705,
7050,
3841,
6,
5357,
366,
35,
59,
84,
405,
68,
24,
4360,
1,
1875,
705,
21908,
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,
318,
262,
1438,
286,
262,
983,
3025,
1074,
318,
5638,
3841,
290,
26376,
1568,
621,
8735,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
15982,
3901,
33411,
366,
15592,
1,
796,
705,
7050,
3841,
6,
5357,
366,
35,
59,
84,
405,
68,
24,
4360,
1,
1875,
705,
21908,
6
]
|
Who had the challenge of night driving? | SELECT "Test-taker" FROM table_16302 WHERE "Challenge" = 'Night Driving' | [
8241,
550,
262,
4427,
286,
1755,
5059,
30,
46506,
366,
14402,
12,
30157,
1,
16034,
3084,
62,
1433,
22709,
33411,
366,
41812,
3540,
1,
796,
705,
24732,
32889,
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,
550,
262,
4427,
286,
1755,
5059,
30,
46506,
366,
14402,
12,
30157,
1,
16034,
3084,
62,
1433,
22709,
33411,
366,
41812,
3540,
1,
796,
705,
24732,
32889,
6
]
|
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and manufacturer , and group by attribute founder, I want to rank by the y-axis in descending. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Manufacturer DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
1448,
416,
11688,
9119,
11,
314,
765,
284,
4279,
416,
262,
331,
12,
22704,
287,
31491,
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,
30153,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
44445,
15051,
22196,
34
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
11554,
837,
290,
1448,
416,
11688,
9119,
11,
314,
765,
284,
4279,
416,
262,
331,
12,
22704,
287,
31491,
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,
30153,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
44445,
15051,
22196,
34
]
|
Questions closed for a specific reason. See here for close reason types:
http://data.stackexchange.com/stackoverflow/query/36599/show-all-types
Note that if a question has been closed and reopened multiple times, all reasons will show up in the results. | SELECT * FROM Posts AS q INNER JOIN PostHistory AS h ON q.Id = h.PostId WHERE h.PostHistoryTypeId = 10 AND NOT q.ClosedDate IS NULL | [
35741,
4838,
329,
257,
2176,
1738,
13,
4091,
994,
329,
1969,
1738,
3858,
25,
201,
198,
4023,
1378,
7890,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
25558,
2502,
11125,
14,
22766,
14,
24760,
2079,
14,
12860,
12,
439,
12,
19199,
201,
198,
201,
198,
6425,
326,
611,
257,
1808,
468,
587,
4838,
290,
37415,
3294,
1661,
11,
477,
3840,
481,
905,
510,
287,
262,
2482,
13,
46506,
1635,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
2947,
18122,
7054,
289,
6177,
10662,
13,
7390,
796,
289,
13,
6307,
7390,
33411,
289,
13,
6307,
18122,
6030,
7390,
796,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
35741,
4838,
329,
257,
2176,
1738,
13,
4091,
994,
329,
1969,
1738,
3858,
25,
201,
198,
4023,
1378,
7890,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
25558,
2502,
11125,
14,
22766,
14,
24760,
2079,
14,
12860,
12,
439,
12,
19199,
201,
198,
201,
198,
6425,
326,
611,
257,
1808,
468,
587,
4838,
290,
37415,
3294,
1661,
11,
477,
3840,
481,
905,
510,
287,
262,
2482,
13,
46506,
1635,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
2947,
18122,
7054,
289,
6177,
10662,
13,
7390,
796,
289,
13,
6307,
7390,
33411,
289,
13,
6307,
18122,
6030,
7390,
796,
838
]
|
How many people attended the game on week 3? | SELECT AVG(attendance) FROM table_name_26 WHERE week = 3 | [
2437,
867,
661,
9141,
262,
983,
319,
1285,
513,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1285,
796,
513
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
867,
661,
9141,
262,
983,
319,
1285,
513,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1285,
796,
513
]
|
What is the name, latitude, and city of the station that is located the furthest South? | SELECT name, lat, city FROM station ORDER BY lat LIMIT 1 | [
2061,
318,
262,
1438,
11,
32477,
11,
290,
1748,
286,
262,
4429,
326,
318,
5140,
262,
46186,
301,
2520,
30,
46506,
1438,
11,
3042,
11,
1748,
16034,
4429,
38678,
11050,
3042,
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
]
| [
2061,
318,
262,
1438,
11,
32477,
11,
290,
1748,
286,
262,
4429,
326,
318,
5140,
262,
46186,
301,
2520,
30,
46506,
1438,
11,
3042,
11,
1748,
16034,
4429,
38678,
11050,
3042,
27564,
2043,
352
]
|
What is Stephen Thompson's School/Club Team? | SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson" | [
2061,
318,
7970,
11654,
338,
3961,
14,
42350,
4816,
30,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
1795,
33411,
2137,
796,
366,
9662,
831,
294,
296,
8430,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7970,
11654,
338,
3961,
14,
42350,
4816,
30,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
1795,
33411,
2137,
796,
366,
9662,
831,
294,
296,
8430,
1
]
|
A scatter chart shows the correlation between School_ID and ACC_Percent , and group by attribute Team_Name. | SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY Team_Name | [
32,
41058,
8262,
2523,
262,
16096,
1022,
3961,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
4816,
62,
5376,
13,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
4816,
62,
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
]
| [
32,
41058,
8262,
2523,
262,
16096,
1022,
3961,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
4816,
62,
5376,
13,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
4816,
62,
5376
]
|
Which Mac OSX had no haiku and a client that was dc++? | SELECT mac_os_x FROM table_name_98 WHERE haiku = "no" AND client = "dc++" | [
13828,
4100,
7294,
55,
550,
645,
387,
28643,
290,
257,
5456,
326,
373,
30736,
4880,
30,
46506,
8352,
62,
418,
62,
87,
16034,
3084,
62,
3672,
62,
4089,
33411,
387,
28643,
796,
366,
3919,
1,
5357,
5456,
796,
366,
17896,
4880,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4100,
7294,
55,
550,
645,
387,
28643,
290,
257,
5456,
326,
373,
30736,
4880,
30,
46506,
8352,
62,
418,
62,
87,
16034,
3084,
62,
3672,
62,
4089,
33411,
387,
28643,
796,
366,
3919,
1,
5357,
5456,
796,
366,
17896,
4880,
1
]
|
What was the number of viewers in millions for the broadcast from 2010? | SELECT "Viewers (millions)" FROM table_26663 WHERE "Broadcast Date" = '2010' | [
2061,
373,
262,
1271,
286,
10209,
287,
5242,
329,
262,
7025,
422,
3050,
30,
46506,
366,
7680,
364,
357,
17805,
507,
16725,
16034,
3084,
62,
2075,
45791,
33411,
366,
30507,
2701,
7536,
1,
796,
705,
10333,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
1271,
286,
10209,
287,
5242,
329,
262,
7025,
422,
3050,
30,
46506,
366,
7680,
364,
357,
17805,
507,
16725,
16034,
3084,
62,
2075,
45791,
33411,
366,
30507,
2701,
7536,
1,
796,
705,
10333,
6
]
|
i need the cheapest direct flight from ATLANTA to DENVER leaving on 5 7 | SELECT DISTINCT FLIGHT_0.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight AS FLIGHT_0, flight AS FLIGHT_1, flight_fare AS FLIGHT_FARE, flight_fare AS FLIGHT_FARE_1 WHERE ((((CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'ATLANTA' AND CITY_3.city_code = AIRPORT_SERVICE_3.city_code AND CITY_3.city_name = 'DENVER' AND DATE_DAY_1.day_number = 7 AND DATE_DAY_1.month_number = 5 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND fare_basis.basis_days = DAYS_1.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND FLIGHT_FARE_1.fare_id = fare.fare_id AND FLIGHT_1.flight_id = FLIGHT_FARE_1.flight_id AND FLIGHT_1.from_airport = AIRPORT_SERVICE_2.airport_code AND FLIGHT_1.to_airport = AIRPORT_SERVICE_3.airport_code) AND DATE_DAY_0.day_number = 7 AND DATE_DAY_0.month_number = 5 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias4, airport_service AS AIRPORT_SERVICEalias5, city AS CITYalias4, city AS CITYalias5, date_day AS DATE_DAYalias2, days AS DAYSalias2, fare AS FAREalias1, fare_basis AS FARE_BASISalias1, flight AS FLIGHTalias2, flight_fare AS FLIGHT_FAREalias2 WHERE CITYalias4.city_code = AIRPORT_SERVICEalias4.city_code AND CITYalias4.city_name = 'ATLANTA' AND CITYalias5.city_code = AIRPORT_SERVICEalias5.city_code AND CITYalias5.city_name = 'DENVER' AND DATE_DAYalias2.day_number = 7 AND DATE_DAYalias2.month_number = 5 AND DATE_DAYalias2.year = 1991 AND DAYSalias2.day_name = DATE_DAYalias2.day_name AND FARE_BASISalias1.basis_days = DAYSalias2.days_code AND FAREalias1.fare_basis_code = FARE_BASISalias1.fare_basis_code AND FLIGHT_FAREalias2.fare_id = FAREalias1.fare_id AND FLIGHTalias2.flight_id = FLIGHT_FAREalias2.flight_id AND FLIGHTalias2.from_airport = AIRPORT_SERVICEalias4.airport_code AND FLIGHTalias2.to_airport = AIRPORT_SERVICEalias5.airport_code) AND flight_fare.fare_id = fare.fare_id AND FLIGHT_0.flight_days = DAYS_0.days_code AND FLIGHT_0.flight_id = flight_fare.flight_id) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND FLIGHT_0.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND FLIGHT_0.from_airport = AIRPORT_SERVICE_0.airport_code) AND FLIGHT_0.connections = 0 | [
72,
761,
262,
28918,
1277,
5474,
422,
5161,
25697,
5603,
284,
37692,
5959,
4305,
319,
642,
767,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
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,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
18,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
1748,
7054,
27993,
62,
17,
11,
1748,
7054,
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
]
| [
72,
761,
262,
28918,
1277,
5474,
422,
5161,
25697,
5603,
284,
37692,
5959,
4305,
319,
642,
767,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
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,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
18,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
1748,
7054,
27993,
62,
17,
11,
1748,
7054,
27993
]
|
get the number of asian patients who have prescription for dorzolamide 2%/timolol 0.5% ophthalmic solution. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "ASIAN" AND prescriptions.drug = "Dorzolamide 2%/Timolol 0.5% Ophth." | [
1136,
262,
1271,
286,
355,
666,
3871,
508,
423,
15077,
329,
288,
273,
89,
349,
37905,
362,
4,
14,
16514,
349,
349,
657,
13,
20,
4,
267,
48118,
9383,
4610,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
34092,
13,
30349,
796,
366,
35,
273,
89,
349,
37905,
362,
4,
14,
14967,
349,
349,
657,
13,
20,
4,
440,
746,
400
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1136,
262,
1271,
286,
355,
666,
3871,
508,
423,
15077,
329,
288,
273,
89,
349,
37905,
362,
4,
14,
16514,
349,
349,
657,
13,
20,
4,
267,
48118,
9383,
4610,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
34092,
13,
30349,
796,
366,
35,
273,
89,
349,
37905,
362,
4,
14,
14967,
349,
349,
657,
13,
20,
4,
440,
746,
400
]
|
Which rank is the lowest with 37 games and more than 613 points? | SELECT MIN(rank) FROM table_name_44 WHERE games = 37 AND points > 613 | [
13828,
4279,
318,
262,
9016,
351,
5214,
1830,
290,
517,
621,
718,
1485,
2173,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
1830,
796,
5214,
5357,
2173,
1875,
718,
1485
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
318,
262,
9016,
351,
5214,
1830,
290,
517,
621,
718,
1485,
2173,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
1830,
796,
5214,
5357,
2173,
1875,
718,
1485
]
|
What is the type of the school whose students' nickname is tigers? | SELECT type FROM table_1973842_1 WHERE nickname = "Tigers" | [
2061,
318,
262,
2099,
286,
262,
1524,
3025,
2444,
6,
21814,
318,
43114,
30,
46506,
2099,
16034,
3084,
62,
24991,
2548,
3682,
62,
16,
33411,
21814,
796,
366,
51,
34984,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
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,
2099,
286,
262,
1524,
3025,
2444,
6,
21814,
318,
43114,
30,
46506,
2099,
16034,
3084,
62,
24991,
2548,
3682,
62,
16,
33411,
21814,
796,
366,
51,
34984,
1
]
|
what is the average attendance per match wheree the elevation is 1500 m? | SELECT "Average attendance per match" FROM table_29765 WHERE "Elevation" = '1500 m' | [
10919,
318,
262,
2811,
14858,
583,
2872,
483,
631,
262,
22910,
318,
20007,
285,
30,
46506,
366,
26287,
14858,
583,
2872,
1,
16034,
3084,
62,
26561,
2996,
33411,
366,
36,
2768,
341,
1,
796,
705,
33698,
285,
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
]
| [
10919,
318,
262,
2811,
14858,
583,
2872,
483,
631,
262,
22910,
318,
20007,
285,
30,
46506,
366,
26287,
14858,
583,
2872,
1,
16034,
3084,
62,
26561,
2996,
33411,
366,
36,
2768,
341,
1,
796,
705,
33698,
285,
6
]
|
What was the result of the game with a record of 2 3 2 before week 8? | SELECT "Result" FROM table_36170 WHERE "Week" < '8' AND "Record" = '2–3–2' | [
2061,
373,
262,
1255,
286,
262,
983,
351,
257,
1700,
286,
362,
513,
362,
878,
1285,
807,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2623,
17279,
33411,
366,
20916,
1,
1279,
705,
23,
6,
5357,
366,
23739,
1,
796,
705,
17,
1906,
18,
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
]
| [
2061,
373,
262,
1255,
286,
262,
983,
351,
257,
1700,
286,
362,
513,
362,
878,
1285,
807,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2623,
17279,
33411,
366,
20916,
1,
1279,
705,
23,
6,
5357,
366,
23739,
1,
796,
705,
17,
1906,
18,
1906,
17,
6
]
|
Find All_Road and School_ID , and visualize them by a bar chart, rank by the X from low to high. | SELECT All_Road, School_ID FROM basketball_match ORDER BY All_Road | [
16742,
1439,
62,
29197,
290,
3961,
62,
2389,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
1439,
62,
29197,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
29197
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
16742,
1439,
62,
29197,
290,
3961,
62,
2389,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
1439,
62,
29197,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
29197
]
|
What was the school/club after round 12, and picked smaller than 342? | SELECT "School/Club Team" FROM table_9602 WHERE "Round" > '12' AND "Pick" < '342' | [
2061,
373,
262,
1524,
14,
18664,
706,
2835,
1105,
11,
290,
6497,
4833,
621,
44341,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
24,
31418,
33411,
366,
22685,
1,
1875,
705,
1065,
6,
5357,
366,
31686,
1,
1279,
705,
31575,
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,
373,
262,
1524,
14,
18664,
706,
2835,
1105,
11,
290,
6497,
4833,
621,
44341,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
24,
31418,
33411,
366,
22685,
1,
1875,
705,
1065,
6,
5357,
366,
31686,
1,
1279,
705,
31575,
6
]
|
Where was the Rally HQ for Round 1? | SELECT "Rally HQ" FROM table_64379 WHERE "Round" = '1' | [
8496,
373,
262,
27752,
25112,
329,
10485,
352,
30,
46506,
366,
49,
453,
25112,
1,
16034,
3084,
62,
2414,
29088,
33411,
366,
22685,
1,
796,
705,
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
]
| [
8496,
373,
262,
27752,
25112,
329,
10485,
352,
30,
46506,
366,
49,
453,
25112,
1,
16034,
3084,
62,
2414,
29088,
33411,
366,
22685,
1,
796,
705,
16,
6
]
|
for patients who were prescribed azithromycin 500 mg iv solr, what were the five most commonly prescribed drugs at the same time? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'azithromycin 500 mg iv solr') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid) AS t2 ON t1.uniquepid = t2.uniquepid WHERE DATETIME(t1.drugstarttime) = DATETIME(t2.drugstarttime) GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 5 | [
1640,
3871,
508,
547,
14798,
35560,
342,
50228,
17879,
5323,
10527,
21628,
1540,
81,
11,
644,
547,
262,
1936,
749,
8811,
14798,
5010,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1640,
3871,
508,
547,
14798,
35560,
342,
50228,
17879,
5323,
10527,
21628,
1540,
81,
11,
644,
547,
262,
1936,
749,
8811,
14798,
5010,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103
]
|
in 2105, what are the top four most frequent drugs prescribed to patients in the same month after the prescription of desipramine hcl? | 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 = 'desipramine hcl' AND STRFTIME('%y', prescriptions.startdate) = '2105') 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) = '2105') 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 <= 4 | [
259,
362,
13348,
11,
644,
389,
262,
1353,
1440,
749,
10792,
5010,
14798,
284,
3871,
287,
262,
976,
1227,
706,
262,
15077,
286,
748,
541,
859,
500,
289,
565,
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,
30349
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
259,
362,
13348,
11,
644,
389,
262,
1353,
1440,
749,
10792,
5010,
14798,
284,
3871,
287,
262,
976,
1227,
706,
262,
15077,
286,
748,
541,
859,
500,
289,
565,
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,
30349
]
|
What are the ids of the stations in San Francisco that normally have more than 10 bikes available? | SELECT id FROM station WHERE city = "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING AVG(bikes_available) > 10 | [
2061,
389,
262,
220,
2340,
286,
262,
8985,
287,
2986,
6033,
326,
7685,
423,
517,
621,
838,
16715,
1695,
30,
46506,
4686,
16034,
4429,
33411,
1748,
796,
366,
15017,
6033,
1,
17828,
4877,
9782,
33493,
4429,
62,
312,
16034,
3722,
44441,
11050,
4429,
62,
312,
367,
10116,
2751,
35224,
7,
65,
7938,
62,
15182,
8,
1875,
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
]
| [
2061,
389,
262,
220,
2340,
286,
262,
8985,
287,
2986,
6033,
326,
7685,
423,
517,
621,
838,
16715,
1695,
30,
46506,
4686,
16034,
4429,
33411,
1748,
796,
366,
15017,
6033,
1,
17828,
4877,
9782,
33493,
4429,
62,
312,
16034,
3722,
44441,
11050,
4429,
62,
312,
367,
10116,
2751,
35224,
7,
65,
7938,
62,
15182,
8,
1875,
838
]
|
Name the record for cotton bowl classic | SELECT "Record" FROM table_3241 WHERE "Name of Bowl" = 'Cotton Bowl Classic' | [
5376,
262,
1700,
329,
15985,
9396,
6833,
46506,
366,
23739,
1,
16034,
3084,
62,
18,
28872,
33411,
366,
5376,
286,
8693,
1,
796,
705,
34,
11324,
8693,
13449,
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
]
| [
5376,
262,
1700,
329,
15985,
9396,
6833,
46506,
366,
23739,
1,
16034,
3084,
62,
18,
28872,
33411,
366,
5376,
286,
8693,
1,
796,
705,
34,
11324,
8693,
13449,
6
]
|
which nba team has more retired jerseys than any other nba team ? | SELECT "team" FROM table_203_348 GROUP BY "team" ORDER BY COUNT(*) DESC LIMIT 1 | [
4758,
299,
7012,
1074,
468,
517,
9880,
36354,
621,
597,
584,
299,
7012,
1074,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
28978,
44441,
11050,
366,
15097,
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,
1,
1,
1,
1,
1,
1,
1
]
| [
4758,
299,
7012,
1074,
468,
517,
9880,
36354,
621,
597,
584,
299,
7012,
1074,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
28978,
44441,
11050,
366,
15097,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
|
Who was the home team on June 9? | SELECT "Home Team" FROM table_36698 WHERE "Date" = 'june 9' | [
8241,
373,
262,
1363,
1074,
319,
2795,
860,
30,
46506,
366,
16060,
4816,
1,
16034,
3084,
62,
2623,
39357,
33411,
366,
10430,
1,
796,
705,
73,
1726,
860,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8241,
373,
262,
1363,
1074,
319,
2795,
860,
30,
46506,
366,
16060,
4816,
1,
16034,
3084,
62,
2623,
39357,
33411,
366,
10430,
1,
796,
705,
73,
1726,
860,
6
]
|
Find the name and population of district with population between 200000 and 2000000 | SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000 | [
16742,
262,
1438,
290,
3265,
286,
4783,
351,
3265,
1022,
939,
830,
290,
939,
2388,
46506,
5665,
62,
3672,
11,
2254,
62,
45251,
16034,
4783,
33411,
2254,
62,
45251,
38651,
8845,
1677,
939,
830,
5357,
939,
2388
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
290,
3265,
286,
4783,
351,
3265,
1022,
939,
830,
290,
939,
2388,
46506,
5665,
62,
3672,
11,
2254,
62,
45251,
16034,
4783,
33411,
2254,
62,
45251,
38651,
8845,
1677,
939,
830,
5357,
939,
2388
]
|
what are the four most frequently given diagnoses for patients who have had exploratory laparotomy previously within 2 months until 2103? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'exploratory laparotomy') AND STRFTIME('%y', procedures_icd.charttime) <= '2103') AS t1 JOIN (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', diagnoses_icd.charttime) <= '2103') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 4) | [
10919,
389,
262,
1440,
749,
6777,
1813,
40567,
329,
3871,
508,
423,
550,
39180,
2870,
14779,
283,
38385,
4271,
1626,
362,
1933,
1566,
362,
15197,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
18,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
256,
17,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
389,
262,
1440,
749,
6777,
1813,
40567,
329,
3871,
508,
423,
550,
39180,
2870,
14779,
283,
38385,
4271,
1626,
362,
1933,
1566,
362,
15197,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
18,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
256,
17,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34
]
|
for each airline flying between BOSTON and SAN FRANCISCO what is the earliest flight | SELECT DISTINCT flight.airline_code, MIN(flight.departure_time) 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code GROUP BY flight.airline_code | [
1640,
1123,
18091,
7348,
1022,
347,
10892,
1340,
290,
37376,
8782,
20940,
1797,
8220,
644,
318,
262,
14555,
5474,
46506,
360,
8808,
1268,
4177,
5474,
13,
958,
1370,
62,
8189,
11,
20625,
7,
22560,
13,
10378,
433,
495,
62,
2435,
8,
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
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1640,
1123,
18091,
7348,
1022,
347,
10892,
1340,
290,
37376,
8782,
20940,
1797,
8220,
644,
318,
262,
14555,
5474,
46506,
360,
8808,
1268,
4177,
5474,
13,
958,
1370,
62,
8189,
11,
20625,
7,
22560,
13,
10378,
433,
495,
62,
2435,
8,
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
]
|
Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? | SELECT "Segment C" FROM table_5430 WHERE "Episode" < '230' AND "Segment A" = 'wax figures' | [
13828,
1001,
5154,
327,
326,
468,
281,
7922,
2793,
621,
18395,
11,
290,
257,
1001,
5154,
317,
17747,
286,
20302,
5538,
30,
46506,
366,
41030,
434,
327,
1,
16034,
3084,
62,
4051,
1270,
33411,
366,
23758,
1,
1279,
705,
19214,
6,
5357,
366,
41030,
434,
317,
1,
796,
705,
86,
897,
5538,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
1001,
5154,
327,
326,
468,
281,
7922,
2793,
621,
18395,
11,
290,
257,
1001,
5154,
317,
17747,
286,
20302,
5538,
30,
46506,
366,
41030,
434,
327,
1,
16034,
3084,
62,
4051,
1270,
33411,
366,
23758,
1,
1279,
705,
19214,
6,
5357,
366,
41030,
434,
317,
1,
796,
705,
86,
897,
5538,
6
]
|
which performance was last on this album ? | SELECT "title" FROM table_204_906 ORDER BY "#" DESC LIMIT 1 | [
4758,
2854,
373,
938,
319,
428,
5062,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
24,
3312,
38678,
11050,
25113,
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
]
| [
4758,
2854,
373,
938,
319,
428,
5062,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
24,
3312,
38678,
11050,
25113,
1,
22196,
34,
27564,
2043,
352
]
|
What date had a record of 15-14-4? | SELECT "Date" FROM table_45966 WHERE "Record" = '15-14-4' | [
2061,
3128,
550,
257,
1700,
286,
1315,
12,
1415,
12,
19,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
33459,
2791,
33411,
366,
23739,
1,
796,
705,
1314,
12,
1415,
12,
19,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
3128,
550,
257,
1700,
286,
1315,
12,
1415,
12,
19,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
33459,
2791,
33411,
366,
23739,
1,
796,
705,
1314,
12,
1415,
12,
19,
6
]
|
What is the 1st(m) score for the Person who had a total points of 272.7 | SELECT "1st (m)" FROM table_19337 WHERE "Points" = '272.7' | [
2061,
318,
262,
352,
301,
7,
76,
8,
4776,
329,
262,
7755,
508,
550,
257,
2472,
2173,
286,
38107,
13,
22,
46506,
366,
16,
301,
357,
76,
16725,
16034,
3084,
62,
1129,
31496,
33411,
366,
40710,
1,
796,
705,
29807,
13,
22,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
352,
301,
7,
76,
8,
4776,
329,
262,
7755,
508,
550,
257,
2472,
2173,
286,
38107,
13,
22,
46506,
366,
16,
301,
357,
76,
16725,
16034,
3084,
62,
1129,
31496,
33411,
366,
40710,
1,
796,
705,
29807,
13,
22,
6
]
|
The swimmer from the United States in a lane less than 5, had what as the average time? | SELECT AVG("Time") FROM table_66654 WHERE "Nationality" = 'united states' AND "Lane" < '5' | [
464,
9422,
647,
422,
262,
1578,
1829,
287,
257,
11193,
1342,
621,
642,
11,
550,
644,
355,
262,
2811,
640,
30,
46506,
35224,
7203,
7575,
4943,
16034,
3084,
62,
2791,
39111,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
43,
1531,
1,
1279,
705,
20,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
464,
9422,
647,
422,
262,
1578,
1829,
287,
257,
11193,
1342,
621,
642,
11,
550,
644,
355,
262,
2811,
640,
30,
46506,
35224,
7203,
7575,
4943,
16034,
3084,
62,
2791,
39111,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
43,
1531,
1,
1279,
705,
20,
6
]
|
who was the top player in 2012 ? | SELECT "champion" FROM table_204_474 WHERE "year" = 2012 | [
8727,
373,
262,
1353,
2137,
287,
2321,
5633,
46506,
366,
354,
6734,
1,
16034,
3084,
62,
18638,
62,
38652,
33411,
366,
1941,
1,
796,
2321
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8727,
373,
262,
1353,
2137,
287,
2321,
5633,
46506,
366,
354,
6734,
1,
16034,
3084,
62,
18638,
62,
38652,
33411,
366,
1941,
1,
796,
2321
]
|
What are the profits in billions for Berkshire Hathaway? | SELECT profits__billion_$_ FROM table_1682026_6 WHERE company = "Berkshire Hathaway" | [
2061,
389,
262,
10177,
287,
13188,
329,
49927,
36556,
8272,
30,
46506,
10177,
834,
24540,
62,
3,
62,
16034,
3084,
62,
14656,
1238,
2075,
62,
21,
33411,
1664,
796,
366,
24814,
591,
10695,
36556,
8272,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10177,
287,
13188,
329,
49927,
36556,
8272,
30,
46506,
10177,
834,
24540,
62,
3,
62,
16034,
3084,
62,
14656,
1238,
2075,
62,
21,
33411,
1664,
796,
366,
24814,
591,
10695,
36556,
8272,
1
]
|
how many patients with a private insurance had the diagnosis long title paraplegia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.long_title = "Paraplegia" | [
4919,
867,
3871,
351,
257,
2839,
5096,
550,
262,
13669,
890,
3670,
41406,
1455,
544,
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,
33411,
16728,
13,
1040,
3874,
796,
366,
29067,
1,
5357,
40567,
13,
6511,
62,
7839,
796,
366,
10044,
499,
1455,
544,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
867,
3871,
351,
257,
2839,
5096,
550,
262,
13669,
890,
3670,
41406,
1455,
544,
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,
33411,
16728,
13,
1040,
3874,
796,
366,
29067,
1,
5357,
40567,
13,
6511,
62,
7839,
796,
366,
10044,
499,
1455,
544,
1
]
|
What are the names of races held between 2009 and 2011? | SELECT name FROM races WHERE year BETWEEN 2009 AND 2011 | [
2061,
389,
262,
3891,
286,
9558,
2714,
1022,
3717,
290,
2813,
30,
46506,
1438,
16034,
9558,
33411,
614,
38651,
8845,
1677,
3717,
5357,
2813
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
389,
262,
3891,
286,
9558,
2714,
1022,
3717,
290,
2813,
30,
46506,
1438,
16034,
9558,
33411,
614,
38651,
8845,
1677,
3717,
5357,
2813
]
|
what is minimum age of patients whose gender is m and age is greater than or equal to 51? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.age >= "51" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
5279,
318,
285,
290,
2479,
318,
3744,
621,
393,
4961,
284,
6885,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
496,
18189,
366,
4349,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2479,
286,
3871,
3025,
5279,
318,
285,
290,
2479,
318,
3744,
621,
393,
4961,
284,
6885,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
496,
18189,
366,
4349,
1
]
|
Show the booking status code and the corresponding number of bookings Show bar chart, and rank by the names from high to low please. | SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY booking_status_code DESC | [
15307,
262,
25452,
3722,
2438,
290,
262,
11188,
1271,
286,
1492,
654,
5438,
2318,
8262,
11,
290,
4279,
416,
262,
3891,
422,
1029,
284,
1877,
3387,
13,
46506,
25452,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
5949,
1823,
62,
10482,
654,
44441,
11050,
25452,
62,
13376,
62,
8189,
38678,
11050,
25452,
62,
13376,
62,
8189,
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
]
| [
15307,
262,
25452,
3722,
2438,
290,
262,
11188,
1271,
286,
1492,
654,
5438,
2318,
8262,
11,
290,
4279,
416,
262,
3891,
422,
1029,
284,
1877,
3387,
13,
46506,
25452,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
5949,
1823,
62,
10482,
654,
44441,
11050,
25452,
62,
13376,
62,
8189,
38678,
11050,
25452,
62,
13376,
62,
8189,
22196,
34
]
|
What is the Frequency for Model Number c7 1.0? | SELECT frequency FROM table_name_54 WHERE model_number = "c7 1.0" | [
2061,
318,
262,
31902,
329,
9104,
7913,
269,
22,
352,
13,
15,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
4051,
33411,
2746,
62,
17618,
796,
366,
66,
22,
352,
13,
15,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
31902,
329,
9104,
7913,
269,
22,
352,
13,
15,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
4051,
33411,
2746,
62,
17618,
796,
366,
66,
22,
352,
13,
15,
1
]
|
Name the IATA for jessore | SELECT iata FROM table_name_80 WHERE city = "jessore" | [
5376,
262,
314,
13563,
329,
474,
408,
382,
46506,
1312,
1045,
16034,
3084,
62,
3672,
62,
1795,
33411,
1748,
796,
366,
73,
408,
382,
1
]
| [
1,
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,
314,
13563,
329,
474,
408,
382,
46506,
1312,
1045,
16034,
3084,
62,
3672,
62,
1795,
33411,
1748,
796,
366,
73,
408,
382,
1
]
|
How many Ties have Wins smaller than 1, and Games of 6, and Losses of 6, and a Season larger than 1941? | SELECT COUNT("Ties") FROM table_37070 WHERE "Wins" < '1' AND "Games" = '6' AND "Losses" = '6' AND "Season" > '1941' | [
2437,
867,
309,
444,
423,
24423,
4833,
621,
352,
11,
290,
5776,
286,
718,
11,
290,
22014,
274,
286,
718,
11,
290,
257,
7369,
4025,
621,
23234,
30,
46506,
327,
28270,
7203,
51,
444,
4943,
16034,
3084,
62,
20167,
2154,
33411,
366,
54,
1040,
1,
1279,
705,
16,
6,
5357,
366,
24474,
1,
796,
705,
21,
6,
5357,
366,
43,
793,
274,
1,
796,
705,
21,
6,
5357,
366,
18960,
1,
1875,
705,
1129,
3901,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
867,
309,
444,
423,
24423,
4833,
621,
352,
11,
290,
5776,
286,
718,
11,
290,
22014,
274,
286,
718,
11,
290,
257,
7369,
4025,
621,
23234,
30,
46506,
327,
28270,
7203,
51,
444,
4943,
16034,
3084,
62,
20167,
2154,
33411,
366,
54,
1040,
1,
1279,
705,
16,
6,
5357,
366,
24474,
1,
796,
705,
21,
6,
5357,
366,
43,
793,
274,
1,
796,
705,
21,
6,
5357,
366,
18960,
1,
1875,
705,
1129,
3901,
6
]
|
A line chart for what are the number of the years of film market estimation for the market of Japan, ordered by year descending? | SELECT Year, COUNT(Year) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = "Japan" ORDER BY T1.Year DESC | [
32,
1627,
8262,
329,
644,
389,
262,
1271,
286,
262,
812,
286,
2646,
1910,
31850,
329,
262,
1910,
286,
2869,
11,
6149,
416,
614,
31491,
30,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
2646,
62,
10728,
62,
395,
18991,
7054,
309,
16,
32357,
1268,
1910,
7054,
309,
17,
6177,
309,
16,
13,
27470,
62,
2389,
796,
309,
17,
13,
27470,
62,
2389,
33411,
309,
17,
13,
33921,
796,
366,
16504,
1,
38678,
11050,
309,
16,
13,
17688,
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
]
| [
32,
1627,
8262,
329,
644,
389,
262,
1271,
286,
262,
812,
286,
2646,
1910,
31850,
329,
262,
1910,
286,
2869,
11,
6149,
416,
614,
31491,
30,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
2646,
62,
10728,
62,
395,
18991,
7054,
309,
16,
32357,
1268,
1910,
7054,
309,
17,
6177,
309,
16,
13,
27470,
62,
2389,
796,
309,
17,
13,
27470,
62,
2389,
33411,
309,
17,
13,
33921,
796,
366,
16504,
1,
38678,
11050,
309,
16,
13,
17688,
22196,
34
]
|
What is the land area for the RCM that has a population of 18847? | SELECT "Land Area" FROM table_73310 WHERE "Population Canada 2011 Census" = '18847' | [
2061,
318,
262,
1956,
1989,
329,
262,
13987,
44,
326,
468,
257,
3265,
286,
27778,
2857,
30,
46506,
366,
22342,
9498,
1,
16034,
3084,
62,
49995,
940,
33411,
366,
45251,
3340,
2813,
20962,
1,
796,
705,
20356,
2857,
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,
1956,
1989,
329,
262,
13987,
44,
326,
468,
257,
3265,
286,
27778,
2857,
30,
46506,
366,
22342,
9498,
1,
16034,
3084,
62,
49995,
940,
33411,
366,
45251,
3340,
2813,
20962,
1,
796,
705,
20356,
2857,
6
]
|
What was the Opponent in the game with a Result of W 23-7? | SELECT "Opponent" FROM table_9880 WHERE "Result" = 'w 23-7' | [
2061,
373,
262,
9385,
3471,
287,
262,
983,
351,
257,
25414,
286,
370,
2242,
12,
22,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
4089,
1795,
33411,
366,
23004,
1,
796,
705,
86,
2242,
12,
22,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
9385,
3471,
287,
262,
983,
351,
257,
25414,
286,
370,
2242,
12,
22,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
4089,
1795,
33411,
366,
23004,
1,
796,
705,
86,
2242,
12,
22,
6
]
|
Name the district with philip philbin | SELECT "District" FROM table_18397 WHERE "Incumbent" = 'Philip Philbin' | [
5376,
262,
4783,
351,
5206,
541,
5206,
8800,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
33372,
33411,
366,
25517,
2178,
298,
1,
796,
705,
18673,
541,
4543,
8800,
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
]
| [
5376,
262,
4783,
351,
5206,
541,
5206,
8800,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
33372,
33411,
366,
25517,
2178,
298,
1,
796,
705,
18673,
541,
4543,
8800,
6
]
|
Christianity Questions to Answer (custom). Good questions, custom tags, without great answers or any accepted answers, or answers by a particular user, that have been around for at least X months. | SELECT Id AS "post_link", CreationDate AS "Creation Date", Score AS "Question Score" FROM Posts WHERE PostTypeId = 1 AND OwnerUserId NOT IN (@Exclude) AND (Tags LIKE '%##Tag1?protestant##%' OR Tags LIKE '%##Tag2?NULL##%' OR Tags LIKE '%##Tag3?NULL##%') AND Score >= 3 AND AcceptedAnswerId IS NULL AND (SELECT MAX(Score) FROM Posts AS answers WHERE PostTypeId = 2 AND ParentId = Posts.Id) <= 2 AND ClosedDate IS NULL AND NOT EXISTS(SELECT * FROM Posts AS answers WHERE OwnerUserId = '##AlreadyAnsweredBy?21576##' AND PostTypeId = 2 AND ParentId = Posts.Id) AND DATEDIFF(mm, CreationDate, GETDATE()) >= '##MonthsOld?3##' ORDER BY CreationDate | [
20298,
414,
20396,
284,
23998,
357,
23144,
737,
4599,
2683,
11,
2183,
15940,
11,
1231,
1049,
7429,
393,
597,
6292,
7429,
11,
393,
7429,
416,
257,
1948,
2836,
11,
326,
423,
587,
1088,
329,
379,
1551,
1395,
1933,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
7054,
366,
12443,
341,
7536,
1600,
15178,
7054,
366,
24361,
15178,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
23853,
12982,
7390,
5626,
3268,
4275,
3109,
9152,
8,
5357,
357,
36142,
34178,
705,
4,
2235,
24835,
16,
30,
1676,
9288,
415,
2235,
4,
6,
6375,
44789,
34178,
705,
4
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
20298,
414,
20396,
284,
23998,
357,
23144,
737,
4599,
2683,
11,
2183,
15940,
11,
1231,
1049,
7429,
393,
597,
6292,
7429,
11,
393,
7429,
416,
257,
1948,
2836,
11,
326,
423,
587,
1088,
329,
379,
1551,
1395,
1933,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
7054,
366,
12443,
341,
7536,
1600,
15178,
7054,
366,
24361,
15178,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
23853,
12982,
7390,
5626,
3268,
4275,
3109,
9152,
8,
5357,
357,
36142,
34178,
705,
4,
2235,
24835,
16,
30,
1676,
9288,
415,
2235,
4,
6,
6375,
44789,
34178,
705,
4
]
|
What were the remarks for Dutch Antilles Express? | SELECT remarks FROM table_name_74 WHERE airline = "dutch antilles express" | [
2061,
547,
262,
10252,
329,
10914,
3738,
21718,
10604,
30,
46506,
10252,
16034,
3084,
62,
3672,
62,
4524,
33411,
18091,
796,
366,
67,
7140,
1885,
21718,
4911,
1
]
| [
1,
1,
1,
1,
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,
547,
262,
10252,
329,
10914,
3738,
21718,
10604,
30,
46506,
10252,
16034,
3084,
62,
3672,
62,
4524,
33411,
18091,
796,
366,
67,
7140,
1885,
21718,
4911,
1
]
|
Score from questions by user.... | SELECT COUNT(a.Score) FROM Posts AS a, Posts AS q WHERE a.OwnerUserId = 31503 AND q.OwnerUserId = 28539 AND a.ParentId = q.Id AND a.Id = q.AcceptedAnswerId | [
26595,
422,
2683,
416,
2836,
1106,
46506,
327,
28270,
7,
64,
13,
26595,
8,
16034,
12043,
7054,
257,
11,
12043,
7054,
10662,
33411,
257,
13,
42419,
12982,
7390,
796,
3261,
31938,
5357,
10662,
13,
42419,
12982,
7390,
796,
33015,
2670,
5357,
257,
13,
24546,
7390,
796,
10662,
13,
7390,
5357,
257,
13,
7390,
796,
10662,
13,
38855,
276,
33706,
7390
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
26595,
422,
2683,
416,
2836,
1106,
46506,
327,
28270,
7,
64,
13,
26595,
8,
16034,
12043,
7054,
257,
11,
12043,
7054,
10662,
33411,
257,
13,
42419,
12982,
7390,
796,
3261,
31938,
5357,
10662,
13,
42419,
12982,
7390,
796,
33015,
2670,
5357,
257,
13,
24546,
7390,
796,
10662,
13,
7390,
5357,
257,
13,
7390,
796,
10662,
13,
38855,
276,
33706,
7390
]
|
What is the earliest year that the tournament was played in Cape Town, South Africa? | SELECT MIN("Year") FROM table_42128 WHERE "Location" = 'cape town, south africa' | [
2061,
318,
262,
14555,
614,
326,
262,
7756,
373,
2826,
287,
15725,
8329,
11,
2520,
5478,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3682,
12762,
33411,
366,
14749,
1,
796,
705,
36435,
3240,
11,
5366,
6580,
30997,
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,
14555,
614,
326,
262,
7756,
373,
2826,
287,
15725,
8329,
11,
2520,
5478,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3682,
12762,
33411,
366,
14749,
1,
796,
705,
36435,
3240,
11,
5366,
6580,
30997,
6
]
|
What is the record if the location is Clarke Stadium? | SELECT "Record" FROM table_2969 WHERE "Location" = 'Clarke Stadium' | [
2061,
318,
262,
1700,
611,
262,
4067,
318,
19635,
10499,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1959,
3388,
33411,
366,
14749,
1,
796,
705,
48035,
365,
10499,
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,
318,
262,
1700,
611,
262,
4067,
318,
19635,
10499,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1959,
3388,
33411,
366,
14749,
1,
796,
705,
48035,
365,
10499,
6
]
|
How many game sites are there where the team record is 1 7? | SELECT COUNT("Game site") FROM table_27614 WHERE "Team record" = '1–7' | [
2437,
867,
983,
5043,
389,
612,
810,
262,
1074,
1700,
318,
352,
767,
30,
46506,
327,
28270,
7203,
8777,
2524,
4943,
16034,
3084,
62,
27988,
1415,
33411,
366,
15592,
1700,
1,
796,
705,
16,
1906,
22,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
867,
983,
5043,
389,
612,
810,
262,
1074,
1700,
318,
352,
767,
30,
46506,
327,
28270,
7203,
8777,
2524,
4943,
16034,
3084,
62,
27988,
1415,
33411,
366,
15592,
1700,
1,
796,
705,
16,
1906,
22,
6
]
|
What is the license number where the maximum diameter is 400 mm? | SELECT "Licence number" FROM table_59731 WHERE "Maximum diameter" = '400 mm' | [
2061,
318,
262,
5964,
1271,
810,
262,
5415,
14753,
318,
7337,
8085,
30,
46506,
366,
26656,
594,
1271,
1,
16034,
3084,
62,
43239,
3132,
33411,
366,
40541,
14753,
1,
796,
705,
7029,
8085,
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,
5964,
1271,
810,
262,
5415,
14753,
318,
7337,
8085,
30,
46506,
366,
26656,
594,
1271,
1,
16034,
3084,
62,
43239,
3132,
33411,
366,
40541,
14753,
1,
796,
705,
7029,
8085,
6
]
|
When was the 2014 fifa world cup qualification? | SELECT date FROM table_name_96 WHERE competition = "2014 fifa world cup qualification" | [
2215,
373,
262,
1946,
5515,
64,
995,
6508,
28587,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4846,
33411,
5449,
796,
366,
4967,
5515,
64,
995,
6508,
28587,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2215,
373,
262,
1946,
5515,
64,
995,
6508,
28587,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4846,
33411,
5449,
796,
366,
4967,
5515,
64,
995,
6508,
28587,
1
]
|
What is the average number of silvers for teams ranked 5 with 0 bronze? | SELECT AVG("Silver") FROM table_6285 WHERE "Rank" = '5' AND "Bronze" < '0' | [
2061,
318,
262,
2811,
1271,
286,
3313,
690,
329,
3466,
10307,
642,
351,
657,
22101,
30,
46506,
35224,
7203,
26766,
4943,
16034,
3084,
62,
21,
26279,
33411,
366,
27520,
1,
796,
705,
20,
6,
5357,
366,
18760,
2736,
1,
1279,
705,
15,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2811,
1271,
286,
3313,
690,
329,
3466,
10307,
642,
351,
657,
22101,
30,
46506,
35224,
7203,
26766,
4943,
16034,
3084,
62,
21,
26279,
33411,
366,
27520,
1,
796,
705,
20,
6,
5357,
366,
18760,
2736,
1,
1279,
705,
15,
6
]
|
A bar chart shows the distribution of meter_400 and ID , could you list meter_400 in descending order? | SELECT meter_400, ID FROM swimmer ORDER BY meter_400 DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
16430,
62,
7029,
290,
4522,
837,
714,
345,
1351,
16430,
62,
7029,
287,
31491,
1502,
30,
46506,
16430,
62,
7029,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
7029,
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
]
| [
32,
2318,
8262,
2523,
262,
6082,
286,
16430,
62,
7029,
290,
4522,
837,
714,
345,
1351,
16430,
62,
7029,
287,
31491,
1502,
30,
46506,
16430,
62,
7029,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
7029,
22196,
34
]
|
Which Game is the highest one that has a Record of 4-3-6? | SELECT MAX("Game") FROM table_75438 WHERE "Record" = '4-3-6' | [
13828,
3776,
318,
262,
4511,
530,
326,
468,
257,
13266,
286,
604,
12,
18,
12,
21,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
41874,
2548,
33411,
366,
23739,
1,
796,
705,
19,
12,
18,
12,
21,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
3776,
318,
262,
4511,
530,
326,
468,
257,
13266,
286,
604,
12,
18,
12,
21,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
41874,
2548,
33411,
366,
23739,
1,
796,
705,
19,
12,
18,
12,
21,
6
]
|
What was the Pick Number when the position was wide receiver, the college was Southern Miss with an overall less than 186? | SELECT AVG(pick__number) FROM table_name_54 WHERE position = "wide receiver" AND college = "southern miss" AND overall < 186 | [
2061,
373,
262,
12346,
7913,
618,
262,
2292,
373,
3094,
9733,
11,
262,
4152,
373,
8050,
4544,
351,
281,
4045,
1342,
621,
28481,
30,
46506,
35224,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
2292,
796,
366,
4421,
9733,
1,
5357,
4152,
796,
366,
82,
4927,
2051,
1,
5357,
4045,
1279,
28481
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12346,
7913,
618,
262,
2292,
373,
3094,
9733,
11,
262,
4152,
373,
8050,
4544,
351,
281,
4045,
1342,
621,
28481,
30,
46506,
35224,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
2292,
796,
366,
4421,
9733,
1,
5357,
4152,
796,
366,
82,
4927,
2051,
1,
5357,
4045,
1279,
28481
]
|
What is the total number of goals that have games under 11, debut round over 15, and age of 20 years, 71 days? | SELECT COUNT("Goals (2008)") FROM table_45733 WHERE "Games (2008)" < '11' AND "Debut round" > '15' AND "Age at debut" = '20 years, 71 days' | [
2061,
318,
262,
2472,
1271,
286,
4661,
326,
423,
1830,
739,
1367,
11,
8886,
2835,
625,
1315,
11,
290,
2479,
286,
1160,
812,
11,
9166,
1528,
30,
46506,
327,
28270,
7203,
5247,
874,
357,
11528,
8,
4943,
16034,
3084,
62,
33032,
2091,
33411,
366,
24474,
357,
11528,
16725,
1279,
705,
1157,
6,
5357,
366,
16587,
315,
2835,
1,
1875,
705,
1314,
6,
5357,
366,
23396,
379,
8886,
1,
796,
705,
1238,
812,
11,
9166,
1528,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2472,
1271,
286,
4661,
326,
423,
1830,
739,
1367,
11,
8886,
2835,
625,
1315,
11,
290,
2479,
286,
1160,
812,
11,
9166,
1528,
30,
46506,
327,
28270,
7203,
5247,
874,
357,
11528,
8,
4943,
16034,
3084,
62,
33032,
2091,
33411,
366,
24474,
357,
11528,
16725,
1279,
705,
1157,
6,
5357,
366,
16587,
315,
2835,
1,
1875,
705,
1314,
6,
5357,
366,
23396,
379,
8886,
1,
796,
705,
1238,
812,
11,
9166,
1528,
6
]
|
List the creation year, name and budget of each department. | SELECT creation, name, budget_in_billions FROM department | [
8053,
262,
6282,
614,
11,
1438,
290,
4466,
286,
1123,
5011,
13,
46506,
6282,
11,
1438,
11,
4466,
62,
259,
62,
35546,
507,
16034,
5011
]
| [
1,
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,
6282,
614,
11,
1438,
290,
4466,
286,
1123,
5011,
13,
46506,
6282,
11,
1438,
11,
4466,
62,
259,
62,
35546,
507,
16034,
5011
]
|
provide the number of patients whose diagnoses icd9 code is 78321 and lab test abnormal status is abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "78321" AND lab.flag = "abnormal" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
767,
5999,
2481,
290,
2248,
1332,
18801,
3722,
318,
18801,
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,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
3695,
36453,
1,
5357,
2248,
13,
32109,
796,
366,
397,
11265,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
14158,
67,
24,
2438,
318,
767,
5999,
2481,
290,
2248,
1332,
18801,
3722,
318,
18801,
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,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
3695,
36453,
1,
5357,
2248,
13,
32109,
796,
366,
397,
11265,
1
]
|
show me the last ward identification of patient 77213 until 1 year ago? | SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 77213) AND NOT transfers.wardid IS NULL AND DATETIME(transfers.intime) <= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY transfers.intime DESC LIMIT 1 | [
12860,
502,
262,
938,
15305,
11795,
286,
5827,
767,
4761,
1485,
1566,
352,
614,
2084,
30,
46506,
16395,
13,
904,
312,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
4761,
1485,
8,
5357,
5626,
16395,
13,
904,
312,
3180,
15697,
5357,
360,
1404,
2767,
12789,
7,
7645,
69,
364,
13,
600,
524,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
16,
614,
11537,
38678,
11050,
16395,
13,
600,
524,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
12860,
502,
262,
938,
15305,
11795,
286,
5827,
767,
4761,
1485,
1566,
352,
614,
2084,
30,
46506,
16395,
13,
904,
312,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
4761,
1485,
8,
5357,
5626,
16395,
13,
904,
312,
3180,
15697,
5357,
360,
1404,
2767,
12789,
7,
7645,
69,
364,
13,
600,
524,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
16,
614,
11537,
38678,
11050,
16395,
13,
600,
524,
22196,
34,
27564,
2043,
352
]
|
What is the Country of the Player with a To par of 1? | SELECT country FROM table_name_69 WHERE to_par = "–1" | [
2061,
318,
262,
12946,
286,
262,
7853,
351,
257,
1675,
1582,
286,
352,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3388,
33411,
284,
62,
1845,
796,
366,
1906,
16,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
12946,
286,
262,
7853,
351,
257,
1675,
1582,
286,
352,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3388,
33411,
284,
62,
1845,
796,
366,
1906,
16,
1
]
|
what is the marital status and age of the patient name orville ford? | SELECT demographic.marital_status, demographic.age FROM demographic WHERE demographic.name = "Orville Ford" | [
10919,
318,
262,
29555,
3722,
290,
2479,
286,
262,
5827,
1438,
393,
4244,
329,
67,
30,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
496,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
5574,
4244,
8092,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
290,
2479,
286,
262,
5827,
1438,
393,
4244,
329,
67,
30,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
496,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
5574,
4244,
8092,
1
]
|
What is the seat number when Series 3 shows Dana B rov ? | SELECT AVG("Seat") FROM table_62688 WHERE "Series 3" = 'dana bérová' | [
2061,
318,
262,
5852,
1271,
618,
7171,
513,
2523,
22937,
347,
686,
85,
5633,
46506,
35224,
7203,
50,
4098,
4943,
16034,
3084,
62,
45191,
3459,
33411,
366,
27996,
513,
1,
796,
705,
67,
2271,
275,
2634,
18657,
6557,
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,
5852,
1271,
618,
7171,
513,
2523,
22937,
347,
686,
85,
5633,
46506,
35224,
7203,
50,
4098,
4943,
16034,
3084,
62,
45191,
3459,
33411,
366,
27996,
513,
1,
796,
705,
67,
2271,
275,
2634,
18657,
6557,
6
]
|
what is the frequency of part number tmn550dcr23gm? | SELECT "Frequency" FROM table_10885 WHERE "Order part number" = 'tmn550dcr23gm' | [
10919,
318,
262,
8373,
286,
636,
1271,
256,
10295,
22730,
67,
6098,
1954,
39870,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
940,
44230,
33411,
366,
18743,
636,
1271,
1,
796,
705,
83,
10295,
22730,
67,
6098,
1954,
39870,
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
]
| [
10919,
318,
262,
8373,
286,
636,
1271,
256,
10295,
22730,
67,
6098,
1954,
39870,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
940,
44230,
33411,
366,
18743,
636,
1271,
1,
796,
705,
83,
10295,
22730,
67,
6098,
1954,
39870,
6
]
|
Who had the most assists in the game against Atlanta? | SELECT "High assists" FROM table_77396 WHERE "Team" = 'atlanta' | [
8241,
550,
262,
749,
13648,
287,
262,
983,
1028,
9371,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
3324,
34107,
33411,
366,
15592,
1,
796,
705,
25864,
4910,
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
]
| [
8241,
550,
262,
749,
13648,
287,
262,
983,
1028,
9371,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
3324,
34107,
33411,
366,
15592,
1,
796,
705,
25864,
4910,
6
]
|
Name the total number of points with year less than 1955 and rank of 5th with wins less than 0 | SELECT COUNT(points) FROM table_name_31 WHERE year < 1955 AND rank = "5th" AND wins < 0 | [
5376,
262,
2472,
1271,
286,
2173,
351,
614,
1342,
621,
25325,
290,
4279,
286,
642,
400,
351,
7864,
1342,
621,
657,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
614,
1279,
25325,
5357,
4279,
796,
366,
20,
400,
1,
5357,
7864,
1279,
657
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
5376,
262,
2472,
1271,
286,
2173,
351,
614,
1342,
621,
25325,
290,
4279,
286,
642,
400,
351,
7864,
1342,
621,
657,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
614,
1279,
25325,
5357,
4279,
796,
366,
20,
400,
1,
5357,
7864,
1279,
657
]
|
Who are all directors when Sherwood Schwartz is the writer? | SELECT directed_by FROM table_2342078_2 WHERE written_by = "Sherwood Schwartz" | [
8241,
389,
477,
13445,
618,
6528,
3822,
28672,
318,
262,
6260,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
24409,
1238,
3695,
62,
17,
33411,
3194,
62,
1525,
796,
366,
28782,
3822,
28672,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
477,
13445,
618,
6528,
3822,
28672,
318,
262,
6260,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
24409,
1238,
3695,
62,
17,
33411,
3194,
62,
1525,
796,
366,
28782,
3822,
28672,
1
]
|
A bar chart listing the number of faults for different description of skills required to fix them, show by the bar in asc. | SELECT skill_description, COUNT(skill_description) FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description ORDER BY skill_description | [
32,
2318,
8262,
13487,
262,
1271,
286,
31025,
329,
1180,
6764,
286,
4678,
2672,
284,
4259,
606,
11,
905,
416,
262,
2318,
287,
10570,
13,
46506,
5032,
62,
11213,
11,
327,
28270,
7,
42401,
62,
11213,
8,
16034,
2142,
62,
37,
13185,
7054,
309,
16,
32357,
1268,
20389,
62,
37374,
62,
2514,
62,
22743,
7054,
309,
17,
6177,
309,
16,
13,
3911,
62,
69,
1721,
62,
312,
796,
309,
17,
13,
3911,
62,
69,
1721,
62,
312,
32357,
1268,
20389,
7054,
309,
18,
6177,
309,
17,
13,
42401,
62,
312,
796,
309,
18,
13,
42401,
62,
312,
44441,
11050,
5032
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13487,
262,
1271,
286,
31025,
329,
1180,
6764,
286,
4678,
2672,
284,
4259,
606,
11,
905,
416,
262,
2318,
287,
10570,
13,
46506,
5032,
62,
11213,
11,
327,
28270,
7,
42401,
62,
11213,
8,
16034,
2142,
62,
37,
13185,
7054,
309,
16,
32357,
1268,
20389,
62,
37374,
62,
2514,
62,
22743,
7054,
309,
17,
6177,
309,
16,
13,
3911,
62,
69,
1721,
62,
312,
796,
309,
17,
13,
3911,
62,
69,
1721,
62,
312,
32357,
1268,
20389,
7054,
309,
18,
6177,
309,
17,
13,
42401,
62,
312,
796,
309,
18,
13,
42401,
62,
312,
44441,
11050,
5032
]
|
what 's the schedule of flights from ATLANTA to BOSTON on 8 1 | SELECT DISTINCT FLIGHT_0.arrival_time, FLIGHT_0.departure_time FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight AS FLIGHT_0, flight AS FLIGHT_1, flight_leg WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND date_day.day_number = 1 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND FLIGHT_1.flight_days = days.days_code AND FLIGHT_1.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND FLIGHT_0.flight_id = flight_leg.leg_flight AND FLIGHT_1.flight_id = flight_leg.flight_id AND FLIGHT_1.from_airport = AIRPORT_SERVICE_0.airport_code | [
10919,
705,
82,
262,
7269,
286,
13956,
422,
5161,
25697,
5603,
284,
347,
10892,
1340,
319,
807,
352,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
283,
43171,
62,
2435,
11,
9977,
9947,
62,
15,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
7054,
9977,
9947,
62,
15,
11,
5474,
7054,
9977,
9947,
62,
16,
11
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
82,
262,
7269,
286,
13956,
422,
5161,
25697,
5603,
284,
347,
10892,
1340,
319,
807,
352,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
283,
43171,
62,
2435,
11,
9977,
9947,
62,
15,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
7054,
9977,
9947,
62,
15,
11,
5474,
7054,
9977,
9947,
62,
16,
11
]
|
Unanswered questions tagged with Visio (but not 'vision'). | WITH TargetTags AS (SELECT Tags.Id FROM Tags WHERE Tags.TagName LIKE '%visio%' AND NOT Tags.TagName LIKE '%vision%') SELECT Posts.Tags, Posts.Id, 'http://stackoverflow.com/questions/' + REPLACE(STR(Posts.Id), ' ', '') AS PostURL, Posts.Title, Posts.OwnerDisplayName, Posts.CreationDate, Posts.Body FROM Posts INNER JOIN PostTags ON Posts.Id = PostTags.PostId INNER JOIN TargetTags ON PostTags.TagId = TargetTags.Id WHERE Posts.AcceptedAnswerId IS NULL AND Posts.ClosedDate IS NULL ORDER BY Posts.CreationDate DESC | [
3118,
31966,
2683,
30509,
351,
6911,
952,
357,
4360,
407,
705,
10178,
27691,
54,
10554,
12744,
36142,
7054,
357,
46506,
44789,
13,
7390,
16034,
44789,
33411,
44789,
13,
24835,
5376,
34178,
705,
4,
4703,
952,
4,
6,
5357,
5626,
44789,
13,
24835,
5376,
34178,
705,
4,
10178,
4,
11537,
33493,
12043,
13,
36142,
11,
12043,
13,
7390,
11,
705,
4023,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
6,
1343,
45285,
11598,
7,
18601,
7,
21496,
13,
7390,
828,
705,
46083,
10148,
8,
7054,
2947,
21886,
11,
12043,
13,
19160,
11,
12043,
13,
42419,
23114,
5376,
11,
12043
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
3118,
31966,
2683,
30509,
351,
6911,
952,
357,
4360,
407,
705,
10178,
27691,
54,
10554,
12744,
36142,
7054,
357,
46506,
44789,
13,
7390,
16034,
44789,
33411,
44789,
13,
24835,
5376,
34178,
705,
4,
4703,
952,
4,
6,
5357,
5626,
44789,
13,
24835,
5376,
34178,
705,
4,
10178,
4,
11537,
33493,
12043,
13,
36142,
11,
12043,
13,
7390,
11,
705,
4023,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
6,
1343,
45285,
11598,
7,
18601,
7,
21496,
13,
7390,
828,
705,
46083,
10148,
8,
7054,
2947,
21886,
11,
12043,
13,
19160,
11,
12043,
13,
42419,
23114,
5376,
11,
12043
]
|
What is the total number of top-25 in the Masters Tournament, which has 0 top-10 and more than 0 top-5? | SELECT COUNT(top_25) FROM table_name_16 WHERE top_10 = 0 AND tournament = "masters tournament" AND top_5 > 0 | [
2061,
318,
262,
2472,
1271,
286,
1353,
12,
1495,
287,
262,
15812,
9595,
11,
543,
468,
657,
1353,
12,
940,
290,
517,
621,
657,
1353,
12,
20,
30,
46506,
327,
28270,
7,
4852,
62,
1495,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
1353,
62,
940,
796,
657,
5357,
7756,
796,
366,
40706,
7756,
1,
5357,
1353,
62,
20,
1875,
657
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2472,
1271,
286,
1353,
12,
1495,
287,
262,
15812,
9595,
11,
543,
468,
657,
1353,
12,
940,
290,
517,
621,
657,
1353,
12,
20,
30,
46506,
327,
28270,
7,
4852,
62,
1495,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
1353,
62,
940,
796,
657,
5357,
7756,
796,
366,
40706,
7756,
1,
5357,
1353,
62,
20,
1875,
657
]
|
how many episodes of sailor moon did not have an english air date ? | SELECT COUNT(*) FROM table_203_758 WHERE "english air date" IS NULL | [
4919,
867,
8640,
286,
43272,
8824,
750,
407,
423,
281,
46932,
1633,
3128,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
38569,
33411,
366,
39126,
1633,
3128,
1,
3180,
15697
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
867,
8640,
286,
43272,
8824,
750,
407,
423,
281,
46932,
1633,
3128,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
38569,
33411,
366,
39126,
1633,
3128,
1,
3180,
15697
]
|
Show the number of courses for each course description in a bar chart, could you order bar from high to low order? | SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE GROUP BY CRS_DESCRIPTION ORDER BY CRS_DESCRIPTION DESC | [
15307,
262,
1271,
286,
10902,
329,
1123,
1781,
6764,
287,
257,
2318,
8262,
11,
714,
345,
1502,
2318,
422,
1029,
284,
1877,
1502,
30,
46506,
327,
6998,
62,
30910,
40165,
11,
327,
28270,
7,
34,
6998,
62,
30910,
40165,
8,
16034,
42715,
7054,
309,
16,
32357,
1268,
17228,
6489,
21414,
6500,
7054,
309,
17,
6177,
309,
16,
13,
4805,
19238,
62,
41359,
796,
309,
17,
13,
39494,
62,
41359,
32357,
1268,
37384,
5188,
7054,
309,
18,
6177,
309,
16,
13,
34,
6998,
62,
34,
16820,
796,
309,
18,
13,
34,
6998,
62,
34,
16820,
44441,
11050,
327,
6998,
62,
30910
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
15307,
262,
1271,
286,
10902,
329,
1123,
1781,
6764,
287,
257,
2318,
8262,
11,
714,
345,
1502,
2318,
422,
1029,
284,
1877,
1502,
30,
46506,
327,
6998,
62,
30910,
40165,
11,
327,
28270,
7,
34,
6998,
62,
30910,
40165,
8,
16034,
42715,
7054,
309,
16,
32357,
1268,
17228,
6489,
21414,
6500,
7054,
309,
17,
6177,
309,
16,
13,
4805,
19238,
62,
41359,
796,
309,
17,
13,
39494,
62,
41359,
32357,
1268,
37384,
5188,
7054,
309,
18,
6177,
309,
16,
13,
34,
6998,
62,
34,
16820,
796,
309,
18,
13,
34,
6998,
62,
34,
16820,
44441,
11050,
327,
6998,
62,
30910
]
|
Which report is where rd. is 9? | SELECT report FROM table_19850806_3 WHERE rd = "9" | [
13828,
989,
318,
810,
374,
67,
13,
318,
860,
30,
46506,
989,
16034,
3084,
62,
22337,
1120,
37988,
62,
18,
33411,
374,
67,
796,
366,
24,
1
]
| [
1,
1,
1,
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,
989,
318,
810,
374,
67,
13,
318,
860,
30,
46506,
989,
16034,
3084,
62,
22337,
1120,
37988,
62,
18,
33411,
374,
67,
796,
366,
24,
1
]
|
Year of 2006-07 had what studio host? | SELECT studio_host FROM table_name_10 WHERE year = "2006-07" | [
17688,
286,
4793,
12,
2998,
550,
644,
8034,
2583,
30,
46506,
8034,
62,
4774,
16034,
3084,
62,
3672,
62,
940,
33411,
614,
796,
366,
13330,
12,
2998,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
17688,
286,
4793,
12,
2998,
550,
644,
8034,
2583,
30,
46506,
8034,
62,
4774,
16034,
3084,
62,
3672,
62,
940,
33411,
614,
796,
366,
13330,
12,
2998,
1
]
|
how many patients whose diagnoses long title is malnutrition of mild degree? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Malnutrition of mild degree" | [
4919,
867,
3871,
3025,
40567,
890,
3670,
318,
49290,
286,
11607,
4922,
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,
33411,
40567,
13,
6511,
62,
7839,
796,
366,
15029,
40482,
286,
11607,
4922,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
867,
3871,
3025,
40567,
890,
3670,
318,
49290,
286,
11607,
4922,
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,
33411,
40567,
13,
6511,
62,
7839,
796,
366,
15029,
40482,
286,
11607,
4922,
1
]
|
Show the names of climbers and the heights of mountains they climb. Show bar chart. | SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | [
15307,
262,
3891,
286,
39311,
290,
262,
23245,
286,
12269,
484,
12080,
13,
5438,
2318,
8262,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
23106,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
44,
18635,
62,
2389,
796,
309,
17,
13,
44,
18635,
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
]
| [
15307,
262,
3891,
286,
39311,
290,
262,
23245,
286,
12269,
484,
12080,
13,
5438,
2318,
8262,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
23106,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
44,
18635,
62,
2389,
796,
309,
17,
13,
44,
18635,
62,
2389
]
|
Calculate the minimum age of widowed patients who are 44 years or older. | SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.age >= "44" | [
9771,
3129,
378,
262,
5288,
2479,
286,
9214,
6972,
3871,
508,
389,
5846,
812,
393,
4697,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
5357,
16728,
13,
496,
18189,
366,
2598,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9771,
3129,
378,
262,
5288,
2479,
286,
9214,
6972,
3871,
508,
389,
5846,
812,
393,
4697,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
5357,
16728,
13,
496,
18189,
366,
2598,
1
]
|
How many primers annulus colors were there when the color of the bullet tip was white? | SELECT COUNT("Primer Annulus Color") FROM table_16083 WHERE "Bullet Tip Color" = 'White' | [
2437,
867,
2684,
364,
1529,
23515,
7577,
547,
612,
618,
262,
3124,
286,
262,
10492,
8171,
373,
2330,
30,
46506,
327,
28270,
7203,
23828,
263,
5506,
23515,
5315,
4943,
16034,
3084,
62,
1433,
48290,
33411,
366,
33481,
1616,
23095,
5315,
1,
796,
705,
12256,
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
]
| [
2437,
867,
2684,
364,
1529,
23515,
7577,
547,
612,
618,
262,
3124,
286,
262,
10492,
8171,
373,
2330,
30,
46506,
327,
28270,
7203,
23828,
263,
5506,
23515,
5315,
4943,
16034,
3084,
62,
1433,
48290,
33411,
366,
33481,
1616,
23095,
5315,
1,
796,
705,
12256,
6
]
|
What's Manchu (M llendorff) with the Wi Xing Correltation of South, along with Wuu Wuupin of ting44? | SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44" | [
2061,
338,
1869,
46417,
357,
44,
32660,
18738,
487,
8,
351,
262,
11759,
1395,
278,
2744,
2411,
83,
341,
286,
2520,
11,
1863,
351,
370,
12303,
18027,
929,
259,
286,
256,
278,
2598,
30,
46506,
582,
46417,
17569,
76,
9101,
297,
18738,
487,
834,
16034,
3084,
62,
3672,
62,
2780,
33411,
266,
84,
62,
87,
278,
62,
10215,
39468,
796,
366,
39355,
245,
5366,
1,
5357,
266,
12303,
62,
43812,
929,
259,
796,
366,
889,
2598,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1869,
46417,
357,
44,
32660,
18738,
487,
8,
351,
262,
11759,
1395,
278,
2744,
2411,
83,
341,
286,
2520,
11,
1863,
351,
370,
12303,
18027,
929,
259,
286,
256,
278,
2598,
30,
46506,
582,
46417,
17569,
76,
9101,
297,
18738,
487,
834,
16034,
3084,
62,
3672,
62,
2780,
33411,
266,
84,
62,
87,
278,
62,
10215,
39468,
796,
366,
39355,
245,
5366,
1,
5357,
266,
12303,
62,
43812,
929,
259,
796,
366,
889,
2598,
1
]
|
What was the result of the Todman stakes race at rosehill? | SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes" | [
2061,
373,
262,
1255,
286,
262,
309,
375,
805,
21147,
3234,
379,
8278,
12639,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2078,
33411,
14359,
796,
366,
13698,
12639,
1,
5357,
3234,
796,
366,
83,
375,
805,
21147,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
1255,
286,
262,
309,
375,
805,
21147,
3234,
379,
8278,
12639,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2078,
33411,
14359,
796,
366,
13698,
12639,
1,
5357,
3234,
796,
366,
83,
375,
805,
21147,
1
]
|
What is the average number of stars that each reviewer awards for a movie? | SELECT T2.name, AVG(T1.stars) FROM rating AS T1 JOIN reviewer AS T2 ON T1.rid = T2.rid GROUP BY T2.name | [
2061,
318,
262,
2811,
1271,
286,
5788,
326,
1123,
37823,
13304,
329,
257,
3807,
30,
46506,
309,
17,
13,
3672,
11,
35224,
7,
51,
16,
13,
30783,
8,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
6177,
309,
16,
13,
6058,
796,
309,
17,
13,
6058,
44441,
11050,
309,
17,
13,
3672
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2811,
1271,
286,
5788,
326,
1123,
37823,
13304,
329,
257,
3807,
30,
46506,
309,
17,
13,
3672,
11,
35224,
7,
51,
16,
13,
30783,
8,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
6177,
309,
16,
13,
6058,
796,
309,
17,
13,
6058,
44441,
11050,
309,
17,
13,
3672
]
|
Which team was in the 2012 clausura tournament? | SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura" | [
13828,
1074,
373,
287,
262,
2321,
537,
8717,
5330,
7756,
30,
46506,
1074,
16034,
3084,
62,
6200,
23,
2682,
2079,
62,
16,
33411,
7756,
796,
366,
6999,
33989,
5330,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
1074,
373,
287,
262,
2321,
537,
8717,
5330,
7756,
30,
46506,
1074,
16034,
3084,
62,
6200,
23,
2682,
2079,
62,
16,
33411,
7756,
796,
366,
6999,
33989,
5330,
1
]
|
What is the sitalsasthi carnival with hirakud as sambalpuri saree? | SELECT "Sitalsasthi Carnival" FROM table_76560 WHERE "Sambalpuri Saree" = 'hirakud' | [
2061,
318,
262,
1650,
874,
292,
400,
72,
18466,
2473,
351,
289,
343,
461,
463,
355,
264,
4131,
282,
79,
9900,
473,
631,
30,
46506,
366,
50,
8321,
292,
400,
72,
40886,
1,
16034,
3084,
62,
29143,
1899,
33411,
366,
50,
4131,
282,
79,
9900,
311,
533,
68,
1,
796,
705,
71,
343,
461,
463,
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
]
| [
2061,
318,
262,
1650,
874,
292,
400,
72,
18466,
2473,
351,
289,
343,
461,
463,
355,
264,
4131,
282,
79,
9900,
473,
631,
30,
46506,
366,
50,
8321,
292,
400,
72,
40886,
1,
16034,
3084,
62,
29143,
1899,
33411,
366,
50,
4131,
282,
79,
9900,
311,
533,
68,
1,
796,
705,
71,
343,
461,
463,
6
]
|
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? | SELECT COUNT("Lost") FROM table_42932 WHERE "Played" > '8' AND "Team" = 'ypiranga-sp' AND "Position" > '5' | [
2437,
867,
9089,
423,
257,
2826,
3744,
621,
807,
11,
331,
4063,
16484,
12,
2777,
355,
262,
1074,
11,
351,
257,
2292,
3744,
621,
642,
30,
46506,
327,
28270,
7203,
31042,
4943,
16034,
3084,
62,
11785,
2624,
33411,
366,
11002,
276,
1,
1875,
705,
23,
6,
5357,
366,
15592,
1,
796,
705,
88,
4063,
16484,
12,
2777,
6,
5357,
366,
26545,
1,
1875,
705,
20,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
867,
9089,
423,
257,
2826,
3744,
621,
807,
11,
331,
4063,
16484,
12,
2777,
355,
262,
1074,
11,
351,
257,
2292,
3744,
621,
642,
30,
46506,
327,
28270,
7203,
31042,
4943,
16034,
3084,
62,
11785,
2624,
33411,
366,
11002,
276,
1,
1875,
705,
23,
6,
5357,
366,
15592,
1,
796,
705,
88,
4063,
16484,
12,
2777,
6,
5357,
366,
26545,
1,
1875,
705,
20,
6
]
|
What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria? | SELECT "Going to" FROM table_22289 WHERE "Calling at" = 'Boston, Sleaford, Nottingham Victoria' | [
2061,
373,
262,
4512,
10965,
618,
340,
468,
257,
4585,
379,
6182,
11,
19498,
1878,
585,
11,
39802,
12313,
30,
46506,
366,
27404,
284,
1,
16034,
3084,
62,
1828,
27693,
33411,
366,
48593,
379,
1,
796,
705,
31710,
11,
19498,
1878,
585,
11,
39802,
12313,
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
]
| [
2061,
373,
262,
4512,
10965,
618,
340,
468,
257,
4585,
379,
6182,
11,
19498,
1878,
585,
11,
39802,
12313,
30,
46506,
366,
27404,
284,
1,
16034,
3084,
62,
1828,
27693,
33411,
366,
48593,
379,
1,
796,
705,
31710,
11,
19498,
1878,
585,
11,
39802,
12313,
6
]
|
Which home teams had crowds larger than 4,000? | SELECT home_team FROM table_name_25 WHERE crowd > 4 OFFSET 000 | [
13828,
1363,
3466,
550,
15779,
4025,
621,
604,
11,
830,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1495,
33411,
4315,
1875,
604,
3963,
10652,
2767,
12877
]
| [
1,
1,
1,
1,
1,
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,
3466,
550,
15779,
4025,
621,
604,
11,
830,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1495,
33411,
4315,
1875,
604,
3963,
10652,
2767,
12877
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.