instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
list | attention_mask
list | labels
list |
---|---|---|---|---|
Who constructed the Syracuse circuit? | SELECT "Constructor" FROM table_16766 WHERE "Circuit" = 'Syracuse' | [
8241,
12006,
262,
29141,
10349,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
21940,
2791,
33411,
366,
31560,
5013,
1,
796,
705,
50,
2417,
330,
1904,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8241,
12006,
262,
29141,
10349,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
21940,
2791,
33411,
366,
31560,
5013,
1,
796,
705,
50,
2417,
330,
1904,
6
]
|
Are ES 395 and ES 629 available in the same semester ? | SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, course_offering AS COURSE_OFFERING_0, course_offering AS COURSE_OFFERING_1, course_prerequisite WHERE COURSE_OFFERING_1.semester = COURSE_OFFERING_0.semester AND COURSE_0.course_id = COURSE_OFFERING_0.course_id AND COURSE_0.department = 'ES' AND COURSE_0.number = 395 AND COURSE_1.course_id = COURSE_OFFERING_1.course_id AND COURSE_1.department = 'ES' AND COURSE_1.number = 629 AND (NOT ((COURSE_1.course_id = course_prerequisite.course_id AND COURSE_0.course_id = course_prerequisite.pre_course_id) OR (COURSE_1.course_id = course_prerequisite.pre_course_id AND COURSE_0.course_id = course_prerequisite.course_id))) | [
8491,
13380,
42321,
290,
13380,
718,
1959,
1695,
287,
262,
976,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
2364,
1586,
7054,
37384,
5188,
62,
27977,
1137,
2751,
62,
15,
11,
1781,
62,
2364,
1586,
7054,
37384,
5188,
62,
27977,
1137,
2751,
62,
16,
11,
1781,
62,
3866,
27614,
33411,
37384,
5188,
62,
27977,
1137,
2751,
62,
16,
13,
325,
6880,
353,
796,
37384,
5188,
62,
27977,
1137,
2751,
62,
15,
13,
325,
6880,
353,
5357,
37384,
5188,
62,
15,
13,
17319
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
8491,
13380,
42321,
290,
13380,
718,
1959,
1695,
287,
262,
976,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
2364,
1586,
7054,
37384,
5188,
62,
27977,
1137,
2751,
62,
15,
11,
1781,
62,
2364,
1586,
7054,
37384,
5188,
62,
27977,
1137,
2751,
62,
16,
11,
1781,
62,
3866,
27614,
33411,
37384,
5188,
62,
27977,
1137,
2751,
62,
16,
13,
325,
6880,
353,
796,
37384,
5188,
62,
27977,
1137,
2751,
62,
15,
13,
325,
6880,
353,
5357,
37384,
5188,
62,
15,
13,
17319
]
|
What are all the calendar dates? Show a bar chart binning calendar date by weekday, display by the y axis from low to high. | SELECT Calendar_Date, COUNT(Calendar_Date) FROM Ref_Calendar ORDER BY COUNT(Calendar_Date) | [
2061,
389,
477,
262,
11845,
9667,
30,
5438,
257,
2318,
8262,
9874,
768,
11845,
3128,
416,
28269,
11,
3359,
416,
262,
331,
16488,
422,
1877,
284,
1029,
13,
46506,
26506,
62,
10430,
11,
327,
28270,
7,
9771,
9239,
62,
10430,
8,
16034,
6524,
62,
9771,
9239,
38678,
11050,
327,
28270,
7,
9771,
9239,
62,
10430,
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
]
| [
2061,
389,
477,
262,
11845,
9667,
30,
5438,
257,
2318,
8262,
9874,
768,
11845,
3128,
416,
28269,
11,
3359,
416,
262,
331,
16488,
422,
1877,
284,
1029,
13,
46506,
26506,
62,
10430,
11,
327,
28270,
7,
9771,
9239,
62,
10430,
8,
16034,
6524,
62,
9771,
9239,
38678,
11050,
327,
28270,
7,
9771,
9239,
62,
10430,
8
]
|
What were the notes for the time of 6:34.51? | SELECT "Notes" FROM table_64917 WHERE "Time" = '6:34.51' | [
2061,
547,
262,
4710,
329,
262,
640,
286,
718,
25,
2682,
13,
4349,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
33300,
1558,
33411,
366,
7575,
1,
796,
705,
21,
25,
2682,
13,
4349,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
547,
262,
4710,
329,
262,
640,
286,
718,
25,
2682,
13,
4349,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
33300,
1558,
33411,
366,
7575,
1,
796,
705,
21,
25,
2682,
13,
4349,
6
]
|
which city has the most population in the 2010 census ? | SELECT "city" FROM table_201_13 ORDER BY "population\n(2010 census)" DESC LIMIT 1 | [
4758,
1748,
468,
262,
749,
3265,
287,
262,
3050,
21649,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
1264,
62,
1485,
38678,
11050,
366,
39748,
59,
77,
7,
10333,
21649,
16725,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4758,
1748,
468,
262,
749,
3265,
287,
262,
3050,
21649,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
1264,
62,
1485,
38678,
11050,
366,
39748,
59,
77,
7,
10333,
21649,
16725,
22196,
34,
27564,
2043,
352
]
|
List the grape, appelation and name of wines whose score is higher than 93 ordered by Name. | SELECT grape, appelation, name FROM wine WHERE score > 93 ORDER BY name | [
8053,
262,
30777,
11,
598,
417,
341,
290,
1438,
286,
30680,
3025,
4776,
318,
2440,
621,
10261,
6149,
416,
6530,
13,
46506,
30777,
11,
598,
417,
341,
11,
1438,
16034,
8237,
33411,
4776,
1875,
10261,
38678,
11050,
1438
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30777,
11,
598,
417,
341,
290,
1438,
286,
30680,
3025,
4776,
318,
2440,
621,
10261,
6149,
416,
6530,
13,
46506,
30777,
11,
598,
417,
341,
11,
1438,
16034,
8237,
33411,
4776,
1875,
10261,
38678,
11050,
1438
]
|
In the next 6 semesters name the classes that are offered ? | SELECT DISTINCT course.name, course.number, semester.semester, semester.year FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'FA' AND semester.year = 2017) OR (semester.semester = 'FA' AND semester.year = 2018) OR (semester.semester = 'WN' AND semester.year = 2017) OR (semester.semester = 'WN' AND semester.year = 2018) OR (semester.semester = 'WN' AND semester.year = 2019)) AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND semester.semester_id = course_offering.semester ORDER BY semester.year, semester.semester | [
818,
262,
1306,
718,
5026,
8586,
1438,
262,
6097,
326,
389,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
14808,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
7708,
6,
5357,
24878,
13,
1941,
796,
1584,
8,
6375,
357,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
7708,
6,
5357,
24878,
13,
1941,
796,
2177,
8,
6375,
357,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
7708,
6,
5357,
24878,
13
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
818,
262,
1306,
718,
5026,
8586,
1438,
262,
6097,
326,
389,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
14808,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
7708,
6,
5357,
24878,
13,
1941,
796,
1584,
8,
6375,
357,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
7708,
6,
5357,
24878,
13,
1941,
796,
2177,
8,
6375,
357,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
7708,
6,
5357,
24878,
13
]
|
What is the high grid number for a Time/Retired of + 3 laps, and a Laps smaller than 57? | SELECT MAX("Grid") FROM table_52408 WHERE "Time/Retired" = '+ 3 laps' AND "Laps" < '57' | [
2061,
318,
262,
1029,
10706,
1271,
329,
257,
3862,
14,
9781,
1202,
286,
1343,
513,
24590,
11,
290,
257,
406,
1686,
4833,
621,
7632,
30,
46506,
25882,
7203,
41339,
4943,
16034,
3084,
62,
48057,
2919,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
513,
24590,
6,
5357,
366,
43,
1686,
1,
1279,
705,
3553,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1029,
10706,
1271,
329,
257,
3862,
14,
9781,
1202,
286,
1343,
513,
24590,
11,
290,
257,
406,
1686,
4833,
621,
7632,
30,
46506,
25882,
7203,
41339,
4943,
16034,
3084,
62,
48057,
2919,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
513,
24590,
6,
5357,
366,
43,
1686,
1,
1279,
705,
3553,
6
]
|
For all employees who have the letters D or S in their first name, show me about the change of manager_id over hire_date in a line chart. | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
905,
502,
546,
262,
1487,
286,
4706,
62,
312,
625,
11078,
62,
4475,
287,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411,
31328,
62,
20608,
34178,
705,
4,
35,
4,
6,
6375,
31328,
62,
20608,
34178,
705,
4,
50,
4,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
905,
502,
546,
262,
1487,
286,
4706,
62,
312,
625,
11078,
62,
4475,
287,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411,
31328,
62,
20608,
34178,
705,
4,
35,
4,
6,
6375,
31328,
62,
20608,
34178,
705,
4,
50,
4,
6
]
|
how many competitions were in budapest , hungary and came in 1st position ? | SELECT COUNT("competition") FROM table_203_299 WHERE "venue" = 'budapest, hungary' AND "position" = 1 | [
4919,
867,
24174,
547,
287,
3600,
35746,
837,
9174,
560,
290,
1625,
287,
352,
301,
2292,
5633,
46506,
327,
28270,
7203,
5589,
15620,
4943,
16034,
3084,
62,
22416,
62,
22579,
33411,
366,
4080,
1,
796,
705,
65,
463,
35746,
11,
9174,
560,
6,
5357,
366,
9150,
1,
796,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
867,
24174,
547,
287,
3600,
35746,
837,
9174,
560,
290,
1625,
287,
352,
301,
2292,
5633,
46506,
327,
28270,
7203,
5589,
15620,
4943,
16034,
3084,
62,
22416,
62,
22579,
33411,
366,
4080,
1,
796,
705,
65,
463,
35746,
11,
9174,
560,
6,
5357,
366,
9150,
1,
796,
352
]
|
get me the name and code of drug for the patient with patient id 76446. | SELECT prescriptions.drug, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.subject_id = "76446" | [
1136,
502,
262,
1438,
290,
2438,
286,
2563,
329,
262,
5827,
351,
5827,
4686,
767,
2414,
3510,
13,
46506,
34092,
13,
30349,
11,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
16034,
34092,
33411,
34092,
13,
32796,
62,
312,
796,
366,
22,
2414,
3510,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
502,
262,
1438,
290,
2438,
286,
2563,
329,
262,
5827,
351,
5827,
4686,
767,
2414,
3510,
13,
46506,
34092,
13,
30349,
11,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
16034,
34092,
33411,
34092,
13,
32796,
62,
312,
796,
366,
22,
2414,
3510,
1
]
|
what is the total production of urine out foley that patient 76327 has in yesterday? | SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76327)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'urine out foley' AND d_items.linksto = 'outputevents') AND DATETIME(outputevents.charttime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-1 day') | [
10919,
318,
262,
2472,
3227,
286,
18922,
503,
11511,
1636,
326,
5827,
767,
5066,
1983,
468,
287,
7415,
30,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
5066,
1983,
4008,
5357,
38701,
1133,
85,
658,
13,
9186
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
286,
18922,
503,
11511,
1636,
326,
5827,
767,
5066,
1983,
468,
287,
7415,
30,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
5066,
1983,
4008,
5357,
38701,
1133,
85,
658,
13,
9186
]
|
which has the largest number of screens ? | SELECT "circuit" FROM table_203_752 ORDER BY "screens" DESC LIMIT 1 | [
4758,
468,
262,
4387,
1271,
286,
8947,
5633,
46506,
366,
21170,
5013,
1,
16034,
3084,
62,
22416,
62,
43665,
38678,
11050,
366,
1416,
5681,
1,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4758,
468,
262,
4387,
1271,
286,
8947,
5633,
46506,
366,
21170,
5013,
1,
16034,
3084,
62,
22416,
62,
43665,
38678,
11050,
366,
1416,
5681,
1,
22196,
34,
27564,
2043,
352
]
|
When dydek (11) has the highest rebounds what is the date? | SELECT "Date" FROM table_22681 WHERE "High rebounds" = 'Dydek (11)' | [
2215,
288,
5173,
988,
357,
1157,
8,
468,
262,
4511,
18841,
644,
318,
262,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1828,
48564,
33411,
366,
11922,
18841,
1,
796,
705,
35,
5173,
988,
357,
1157,
33047
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2215,
288,
5173,
988,
357,
1157,
8,
468,
262,
4511,
18841,
644,
318,
262,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1828,
48564,
33411,
366,
11922,
18841,
1,
796,
705,
35,
5173,
988,
357,
1157,
33047
]
|
what was the lowest position ramon gonzalez came in ? | SELECT "position" FROM table_203_763 ORDER BY "position" DESC LIMIT 1 | [
10919,
373,
262,
9016,
2292,
15770,
261,
308,
13569,
22149,
1625,
287,
5633,
46506,
366,
9150,
1,
16034,
3084,
62,
22416,
62,
49641,
38678,
11050,
366,
9150,
1,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
373,
262,
9016,
2292,
15770,
261,
308,
13569,
22149,
1625,
287,
5633,
46506,
366,
9150,
1,
16034,
3084,
62,
22416,
62,
49641,
38678,
11050,
366,
9150,
1,
22196,
34,
27564,
2043,
352
]
|
How many entries are shown for viewers when the airdate was 26 november 2009? | SELECT COUNT(viewers) FROM table_24399615_3 WHERE airdate = "26 November 2009" | [
2437,
867,
12784,
389,
3402,
329,
10209,
618,
262,
257,
1447,
378,
373,
2608,
645,
303,
1916,
3717,
30,
46506,
327,
28270,
7,
1177,
364,
8,
16034,
3084,
62,
26660,
38565,
1314,
62,
18,
33411,
257,
1447,
378,
796,
366,
2075,
3389,
3717,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12784,
389,
3402,
329,
10209,
618,
262,
257,
1447,
378,
373,
2608,
645,
303,
1916,
3717,
30,
46506,
327,
28270,
7,
1177,
364,
8,
16034,
3084,
62,
26660,
38565,
1314,
62,
18,
33411,
257,
1447,
378,
796,
366,
2075,
3389,
3717,
1
]
|
Name the number of original air date for when the number in season is 10/11 | SELECT COUNT(original_air_date) FROM table_15472061_1 WHERE no_in_season = "10/11" | [
5376,
262,
1271,
286,
2656,
1633,
3128,
329,
618,
262,
1271,
287,
1622,
318,
838,
14,
1157,
46506,
327,
28270,
7,
14986,
62,
958,
62,
4475,
8,
16034,
3084,
62,
1314,
2857,
1238,
5333,
62,
16,
33411,
645,
62,
259,
62,
6230,
796,
366,
940,
14,
1157,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
5376,
262,
1271,
286,
2656,
1633,
3128,
329,
618,
262,
1271,
287,
1622,
318,
838,
14,
1157,
46506,
327,
28270,
7,
14986,
62,
958,
62,
4475,
8,
16034,
3084,
62,
1314,
2857,
1238,
5333,
62,
16,
33411,
645,
62,
259,
62,
6230,
796,
366,
940,
14,
1157,
1
]
|
Post by Date and germany user. | SELECT DATE(Comments.CreationDate), COUNT(Comments.Id) FROM Comments INNER JOIN Users ON Comments.UserId = Users.Id WHERE Users.Location LIKE '%, Germany' AND Comments.CreationDate <= '2017-12-31' AND Comments.CreationDate >= '2017-01-01' GROUP BY DATE(Comments.CreationDate) | [
6307,
416,
7536,
290,
308,
2224,
88,
2836,
13,
46506,
360,
6158,
7,
23903,
13,
12443,
341,
10430,
828,
327,
28270,
7,
23903,
13,
7390,
8,
16034,
19502,
3268,
21479,
32357,
1268,
18987,
6177,
19502,
13,
12982,
7390,
796,
18987,
13,
7390,
33411,
18987,
13,
14749,
34178,
705,
7441,
4486,
6,
5357,
19502,
13,
12443,
341,
10430,
19841,
705,
5539,
12,
1065,
12,
3132,
6,
5357,
19502,
13,
12443,
341,
10430,
18189,
705,
5539,
12,
486,
12,
486,
6,
44441,
11050,
360,
6158,
7,
23903,
13,
12443,
341,
10430,
8
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
6307,
416,
7536,
290,
308,
2224,
88,
2836,
13,
46506,
360,
6158,
7,
23903,
13,
12443,
341,
10430,
828,
327,
28270,
7,
23903,
13,
7390,
8,
16034,
19502,
3268,
21479,
32357,
1268,
18987,
6177,
19502,
13,
12982,
7390,
796,
18987,
13,
7390,
33411,
18987,
13,
14749,
34178,
705,
7441,
4486,
6,
5357,
19502,
13,
12443,
341,
10430,
19841,
705,
5539,
12,
1065,
12,
3132,
6,
5357,
19502,
13,
12443,
341,
10430,
18189,
705,
5539,
12,
486,
12,
486,
6,
44441,
11050,
360,
6158,
7,
23903,
13,
12443,
341,
10430,
8
]
|
What was the order of succession for the department of education? | SELECT "Order of succession" FROM table_8797 WHERE "Department" = 'education' | [
2061,
373,
262,
1502,
286,
22435,
329,
262,
5011,
286,
3707,
30,
46506,
366,
18743,
286,
22435,
1,
16034,
3084,
62,
23,
44673,
33411,
366,
36261,
1,
796,
705,
40796,
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,
373,
262,
1502,
286,
22435,
329,
262,
5011,
286,
3707,
30,
46506,
366,
18743,
286,
22435,
1,
16034,
3084,
62,
23,
44673,
33411,
366,
36261,
1,
796,
705,
40796,
6
]
|
Which country's city is Sendai? | SELECT "Country" FROM table_11588 WHERE "City" = 'sendai' | [
13828,
1499,
338,
1748,
318,
16290,
1872,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
1157,
39118,
33411,
366,
14941,
1,
796,
705,
21280,
1872,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
1499,
338,
1748,
318,
16290,
1872,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
1157,
39118,
33411,
366,
14941,
1,
796,
705,
21280,
1872,
6
]
|
For those employees who was hired before 2002-06-21, show me the trend about commission_pct over hire_date with a line chart, and order from high to low by the x axis. | SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
262,
5182,
546,
5810,
62,
79,
310,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
290,
1502,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
22240,
40373,
62,
47,
4177,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
38678,
11050,
36210,
2200,
62,
35,
6158,
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
]
| [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
262,
5182,
546,
5810,
62,
79,
310,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
290,
1502,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
22240,
40373,
62,
47,
4177,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
38678,
11050,
36210,
2200,
62,
35,
6158,
22196,
34
]
|
What is the rank of the park in pigeon forge, tennessee in the best food category? | SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food" | [
2061,
318,
262,
4279,
286,
262,
3952,
287,
46387,
28325,
11,
256,
1697,
10702,
287,
262,
1266,
2057,
6536,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
4067,
796,
366,
79,
10045,
261,
28325,
11,
256,
1697,
10702,
1,
5357,
6536,
796,
366,
13466,
2057,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
286,
262,
3952,
287,
46387,
28325,
11,
256,
1697,
10702,
287,
262,
1266,
2057,
6536,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
4067,
796,
366,
79,
10045,
261,
28325,
11,
256,
1697,
10702,
1,
5357,
6536,
796,
366,
13466,
2057,
1
]
|
What is the result of the Europe/Africa Group I, play-off competition? | SELECT "Result" FROM table_53489 WHERE "Competition" = 'europe/africa group i, play-off' | [
2061,
318,
262,
1255,
286,
262,
2031,
14,
17584,
30997,
4912,
314,
11,
711,
12,
2364,
5449,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
20,
2682,
4531,
33411,
366,
7293,
15620,
1,
796,
705,
44252,
431,
14,
1878,
30997,
1448,
1312,
11,
711,
12,
2364,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1255,
286,
262,
2031,
14,
17584,
30997,
4912,
314,
11,
711,
12,
2364,
5449,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
20,
2682,
4531,
33411,
366,
7293,
15620,
1,
796,
705,
44252,
431,
14,
1878,
30997,
1448,
1312,
11,
711,
12,
2364,
6
]
|
how many patients whose year of death is less than or equal to 2165 and drug name is levofloxacin? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2165.0" AND prescriptions.drug = "Levofloxacin" | [
4919,
867,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
20986,
290,
2563,
1438,
318,
23145,
1659,
75,
1140,
330,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
20666,
20,
13,
15,
1,
5357,
34092,
13,
30349,
796,
366,
32163,
1659,
75,
1140,
330,
259,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
20986,
290,
2563,
1438,
318,
23145,
1659,
75,
1140,
330,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
20666,
20,
13,
15,
1,
5357,
34092,
13,
30349,
796,
366,
32163,
1659,
75,
1140,
330,
259,
1
]
|
count the number of patients whose item id is 50801 and lab test abnormal status is abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50801" AND lab.flag = "abnormal" | [
9127,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
2026,
41531,
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,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
2248,
13,
9186,
312,
796,
366,
33042,
486,
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
]
| [
9127,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
2026,
41531,
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,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
2248,
13,
9186,
312,
796,
366,
33042,
486,
1,
5357,
2248,
13,
32109,
796,
366,
397,
11265,
1
]
|
let's count the number of patients that were diagnosed with hematological effect of infection and did not come back to the hospital within 2 months since 2105. | SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hematological effect of infection' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2105') AS t1) - (SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hematological effect of infection' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2105') AS t2 JOIN patient ON t2.uniquepid = patient.uniquepid WHERE t2.diagnosistime < patient.hospitaladmittime AND STRFTIME('%y', patient.hospitaladmittime) >= '2105' AND DATETIME(patient.hospitaladmittime) BETWEEN DATETIME(t2.diagnosistime) AND DATETIME(t2.diagnosistime, '+2 month')) | [
1616,
338,
954,
262,
1271,
286,
3871,
326,
547,
14641,
351,
339,
6759,
2770,
1245,
286,
10280,
290,
750,
407,
1282,
736,
284,
262,
4436,
1626,
362,
1933,
1201,
362,
13348,
13,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
10024,
2770,
1245,
286,
10280,
6,
5357
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1616,
338,
954,
262,
1271,
286,
3871,
326,
547,
14641,
351,
339,
6759,
2770,
1245,
286,
10280,
290,
750,
407,
1282,
736,
284,
262,
4436,
1626,
362,
1933,
1201,
362,
13348,
13,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
10024,
2770,
1245,
286,
10280,
6,
5357
]
|
Which term in office has a qld state, a Party of labor, and an Electorate of fisher? | SELECT "Term in office" FROM table_68656 WHERE "State" = 'qld' AND "Party" = 'labor' AND "Electorate" = 'fisher' | [
13828,
3381,
287,
2607,
468,
257,
10662,
335,
1181,
11,
257,
3615,
286,
4827,
11,
290,
281,
5903,
16262,
286,
17685,
30,
46506,
366,
40596,
287,
2607,
1,
16034,
3084,
62,
3104,
37466,
33411,
366,
9012,
1,
796,
705,
80,
335,
6,
5357,
366,
33553,
1,
796,
705,
75,
4820,
6,
5357,
366,
19453,
16262,
1,
796,
705,
69,
4828,
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
]
| [
13828,
3381,
287,
2607,
468,
257,
10662,
335,
1181,
11,
257,
3615,
286,
4827,
11,
290,
281,
5903,
16262,
286,
17685,
30,
46506,
366,
40596,
287,
2607,
1,
16034,
3084,
62,
3104,
37466,
33411,
366,
9012,
1,
796,
705,
80,
335,
6,
5357,
366,
33553,
1,
796,
705,
75,
4820,
6,
5357,
366,
19453,
16262,
1,
796,
705,
69,
4828,
6
]
|
Which Place is the highest one that has a Draw larger than 1, and 49 Points? | SELECT MAX("Place") FROM table_63099 WHERE "Draw" > '1' AND "Points" = '49' | [
13828,
8474,
318,
262,
4511,
530,
326,
468,
257,
15315,
4025,
621,
352,
11,
290,
5125,
11045,
30,
46506,
25882,
7203,
27271,
4943,
16034,
3084,
62,
30005,
2079,
33411,
366,
25302,
1,
1875,
705,
16,
6,
5357,
366,
40710,
1,
796,
705,
2920,
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
]
| [
13828,
8474,
318,
262,
4511,
530,
326,
468,
257,
15315,
4025,
621,
352,
11,
290,
5125,
11045,
30,
46506,
25882,
7203,
27271,
4943,
16034,
3084,
62,
30005,
2079,
33411,
366,
25302,
1,
1875,
705,
16,
6,
5357,
366,
40710,
1,
796,
705,
2920,
6
]
|
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35683,
7,
50,
1847,
13153,
8,
16034,
4409,
33411,
5626,
17228,
6489,
21414,
6500,
62,
2389,
3268,
357,
46506,
17228,
6489,
21414,
6500,
62,
2389,
16034,
1693,
62,
23569,
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
]
| [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35683,
7,
50,
1847,
13153,
8,
16034,
4409,
33411,
5626,
17228,
6489,
21414,
6500,
62,
2389,
3268,
357,
46506,
17228,
6489,
21414,
6500,
62,
2389,
16034,
1693,
62,
23569,
8
]
|
Who was the developer of Wii? | SELECT developer_s_ FROM table_name_50 WHERE platform_s_ = "wii" | [
8241,
373,
262,
8517,
286,
16591,
30,
46506,
8517,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1120,
33411,
3859,
62,
82,
62,
796,
366,
86,
4178,
1
]
| [
1,
1,
1,
1,
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,
8517,
286,
16591,
30,
46506,
8517,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1120,
33411,
3859,
62,
82,
62,
796,
366,
86,
4178,
1
]
|
What is the Irish name listed with 62% Irish speakers? | SELECT "Irish name" FROM table_15928 WHERE "Irish speakers" = '62%' | [
2061,
318,
262,
8685,
1438,
5610,
351,
8190,
4,
8685,
11636,
30,
46506,
366,
43293,
1438,
1,
16034,
3084,
62,
19707,
2078,
33411,
366,
43293,
11636,
1,
796,
705,
5237,
4,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
8685,
1438,
5610,
351,
8190,
4,
8685,
11636,
30,
46506,
366,
43293,
1438,
1,
16034,
3084,
62,
19707,
2078,
33411,
366,
43293,
11636,
1,
796,
705,
5237,
4,
6
]
|
What is the Film with winner Jerome Kern in the 19th Ceremony? | SELECT "Film" FROM table_13679 WHERE "Ceremony" = '19th' AND "Name" = 'jerome kern' | [
2061,
318,
262,
13741,
351,
8464,
33617,
49132,
287,
262,
678,
400,
26532,
9926,
30,
46506,
366,
39750,
1,
16034,
3084,
62,
1485,
37601,
33411,
366,
34,
567,
9926,
1,
796,
705,
1129,
400,
6,
5357,
366,
5376,
1,
796,
705,
44009,
462,
479,
1142,
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,
318,
262,
13741,
351,
8464,
33617,
49132,
287,
262,
678,
400,
26532,
9926,
30,
46506,
366,
39750,
1,
16034,
3084,
62,
1485,
37601,
33411,
366,
34,
567,
9926,
1,
796,
705,
1129,
400,
6,
5357,
366,
5376,
1,
796,
705,
44009,
462,
479,
1142,
6
]
|
What's the Lowest Volume Number that was published November 2004? | SELECT MIN("Vol. #") FROM table_75013 WHERE "Publication date" = 'november 2004' | [
2061,
338,
262,
7754,
395,
14701,
7913,
326,
373,
3199,
3389,
5472,
30,
46506,
20625,
7203,
16598,
13,
1303,
4943,
16034,
3084,
62,
2425,
30273,
33411,
366,
15202,
341,
3128,
1,
796,
705,
77,
3239,
5472,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
338,
262,
7754,
395,
14701,
7913,
326,
373,
3199,
3389,
5472,
30,
46506,
20625,
7203,
16598,
13,
1303,
4943,
16034,
3084,
62,
2425,
30273,
33411,
366,
15202,
341,
3128,
1,
796,
705,
77,
3239,
5472,
6
]
|
what is admission location and diagnoses long title of subject id 2560? | SELECT demographic.admission_location, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
13938,
4067,
290,
40567,
890,
3670,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
13938,
4067,
290,
40567,
890,
3670,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
]
|
what is the number of patients whose insurance is private and procedure icd9 code is 3723? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.icd9_code = "3723" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
8771,
14158,
67,
24,
2438,
318,
5214,
1954,
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,
1040,
3874,
796,
366,
29067,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2718,
1954,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
8771,
14158,
67,
24,
2438,
318,
5214,
1954,
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,
1040,
3874,
796,
366,
29067,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2718,
1954,
1
]
|
what is the total number of rank where viewers is 9.38? | SELECT COUNT("Rank (Timeslot)") FROM table_20261 WHERE "Viewers (millions)" = '9.38' | [
10919,
318,
262,
2472,
1271,
286,
4279,
810,
10209,
318,
860,
13,
2548,
30,
46506,
327,
28270,
7203,
27520,
357,
28595,
26487,
8,
4943,
16034,
3084,
62,
1238,
30057,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
24,
13,
2548,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
262,
2472,
1271,
286,
4279,
810,
10209,
318,
860,
13,
2548,
30,
46506,
327,
28270,
7203,
27520,
357,
28595,
26487,
8,
4943,
16034,
3084,
62,
1238,
30057,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
24,
13,
2548,
6
]
|
What are the unit of measure and category code for the 'chervil' product? | SELECT t2.unit_of_measure, t2.product_category_code FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = "chervil" | [
2061,
389,
262,
4326,
286,
3953,
290,
6536,
2438,
329,
262,
705,
2044,
2991,
6,
1720,
30,
46506,
256,
17,
13,
20850,
62,
1659,
62,
1326,
5015,
11,
256,
17,
13,
11167,
62,
22872,
62,
8189,
16034,
3186,
7054,
256,
16,
32357,
1268,
1006,
62,
11167,
62,
66,
26129,
7054,
256,
17,
6177,
256,
16,
13,
11167,
62,
22872,
62,
8189,
796,
256,
17,
13,
11167,
62,
22872,
62,
8189,
33411,
256,
16,
13,
11167,
62,
3672,
796,
366,
2044,
2991,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4326,
286,
3953,
290,
6536,
2438,
329,
262,
705,
2044,
2991,
6,
1720,
30,
46506,
256,
17,
13,
20850,
62,
1659,
62,
1326,
5015,
11,
256,
17,
13,
11167,
62,
22872,
62,
8189,
16034,
3186,
7054,
256,
16,
32357,
1268,
1006,
62,
11167,
62,
66,
26129,
7054,
256,
17,
6177,
256,
16,
13,
11167,
62,
22872,
62,
8189,
796,
256,
17,
13,
11167,
62,
22872,
62,
8189,
33411,
256,
16,
13,
11167,
62,
3672,
796,
366,
2044,
2991,
1
]
|
What is the Result where Goal is 9? | SELECT "Result" FROM table_70866 WHERE "Goal" = '9' | [
2061,
318,
262,
25414,
810,
25376,
318,
860,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
32583,
2791,
33411,
366,
49045,
1,
796,
705,
24,
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
]
| [
2061,
318,
262,
25414,
810,
25376,
318,
860,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
32583,
2791,
33411,
366,
49045,
1,
796,
705,
24,
6
]
|
is the value of the sao2 of patient 006-2586 second measured on the current intensive care unit visit less than first measured on the current intensive care unit visit? | SELECT (SELECT vitalperiodic.sao2 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-2586') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.sao2 IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1 OFFSET 1) < (SELECT vitalperiodic.sao2 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-2586') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.sao2 IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1) | [
271,
262,
1988,
286,
262,
473,
78,
17,
286,
5827,
3571,
21,
12,
1495,
4521,
1218,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
1342,
621,
717,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
357,
46506,
9204,
41007,
291,
13,
82,
5488,
17,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
28041
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
271,
262,
1988,
286,
262,
473,
78,
17,
286,
5827,
3571,
21,
12,
1495,
4521,
1218,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
1342,
621,
717,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
357,
46506,
9204,
41007,
291,
13,
82,
5488,
17,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
28041
]
|
What is the largest number of goals with less than 101 assists and 172 points? | SELECT MAX(goals) FROM table_name_97 WHERE assists < 101 AND points < 172 | [
2061,
318,
262,
4387,
1271,
286,
4661,
351,
1342,
621,
8949,
13648,
290,
23120,
2173,
30,
46506,
25882,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
13648,
1279,
8949,
5357,
2173,
1279,
23120
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4387,
1271,
286,
4661,
351,
1342,
621,
8949,
13648,
290,
23120,
2173,
30,
46506,
25882,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
13648,
1279,
8949,
5357,
2173,
1279,
23120
]
|
how long was patient 7959's last stay in the hospital. | SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 7959 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1 | [
4919,
890,
373,
5827,
9225,
3270,
338,
938,
2652,
287,
262,
4436,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
6381,
354,
2435,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
324,
20124,
524,
8,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
9225,
3270,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349,
13,
324,
20124,
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
]
| [
4919,
890,
373,
5827,
9225,
3270,
338,
938,
2652,
287,
262,
4436,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
6381,
354,
2435,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
324,
20124,
524,
8,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
9225,
3270,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349,
13,
324,
20124,
524,
22196,
34,
27564,
2043,
352
]
|
What is the entire inhabitants in Southeast Asia? | SELECT MIN("Total Population") FROM table_901 WHERE "Region" = 'Southeast Asia' | [
2061,
318,
262,
2104,
17622,
287,
21199,
7229,
30,
46506,
20625,
7203,
14957,
20133,
4943,
16034,
3084,
62,
46815,
33411,
366,
47371,
1,
796,
705,
50,
14474,
7229,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
2104,
17622,
287,
21199,
7229,
30,
46506,
20625,
7203,
14957,
20133,
4943,
16034,
3084,
62,
46815,
33411,
366,
47371,
1,
796,
705,
50,
14474,
7229,
6
]
|
what's the total passengers 2008 with change 2008/09 being 6.5% | SELECT total_passengers_2008 FROM table_13836704_4 WHERE change_2008_09 = "6.5%" | [
10919,
338,
262,
2472,
10405,
3648,
351,
1487,
3648,
14,
2931,
852,
718,
13,
20,
4,
46506,
2472,
62,
6603,
9302,
62,
11528,
16034,
3084,
62,
20107,
2623,
32869,
62,
19,
33411,
1487,
62,
11528,
62,
2931,
796,
366,
21,
13,
20,
39658
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
338,
262,
2472,
10405,
3648,
351,
1487,
3648,
14,
2931,
852,
718,
13,
20,
4,
46506,
2472,
62,
6603,
9302,
62,
11528,
16034,
3084,
62,
20107,
2623,
32869,
62,
19,
33411,
1487,
62,
11528,
62,
2931,
796,
366,
21,
13,
20,
39658
]
|
The album titled I had what chart positions? | SELECT chart_positions FROM table_name_21 WHERE album_title = "i" | [
464,
5062,
11946,
314,
550,
644,
8262,
6116,
30,
46506,
8262,
62,
1930,
1756,
16034,
3084,
62,
3672,
62,
2481,
33411,
5062,
62,
7839,
796,
366,
72,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
464,
5062,
11946,
314,
550,
644,
8262,
6116,
30,
46506,
8262,
62,
1930,
1756,
16034,
3084,
62,
3672,
62,
2481,
33411,
5062,
62,
7839,
796,
366,
72,
1
]
|
Name the least season # for the first time | SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "The first time" | [
5376,
262,
1551,
1622,
1303,
329,
262,
717,
640,
46506,
20625,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1495,
2623,
2670,
3023,
62,
17,
33411,
3670,
62,
39126,
796,
366,
464,
717,
640,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
5376,
262,
1551,
1622,
1303,
329,
262,
717,
640,
46506,
20625,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1495,
2623,
2670,
3023,
62,
17,
33411,
3670,
62,
39126,
796,
366,
464,
717,
640,
1
]
|
Who was the away captain at Brisbane Cricket Ground? | SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground" | [
8241,
373,
262,
1497,
10654,
379,
26914,
34761,
13706,
30,
46506,
1497,
62,
27144,
391,
16034,
3084,
62,
3672,
62,
2682,
33411,
14359,
796,
366,
15311,
20235,
18836,
2323,
1
]
| [
1,
1,
1,
1,
1,
1,
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,
1497,
10654,
379,
26914,
34761,
13706,
30,
46506,
1497,
62,
27144,
391,
16034,
3084,
62,
3672,
62,
2682,
33411,
14359,
796,
366,
15311,
20235,
18836,
2323,
1
]
|
What was the score for the opponent against Richmond? | SELECT away_team AS score FROM table_name_48 WHERE home_team = "richmond" | [
2061,
373,
262,
4776,
329,
262,
6125,
1028,
16940,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2780,
33411,
1363,
62,
15097,
796,
366,
7527,
6327,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
4776,
329,
262,
6125,
1028,
16940,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2780,
33411,
1363,
62,
15097,
796,
366,
7527,
6327,
1
]
|
count the number of patients who have received anticonvulsant - phenytoin in the same hospital visit after being diagnosed with diarrhea until 2104. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'diarrhea' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'anticonvulsant - phenytoin' AND STRFTIME('%y', treatment.treatmenttime) <= '2104') AS t2 WHERE t1.diagnosistime < t2.treatmenttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid | [
9127,
262,
1271,
286,
3871,
508,
423,
2722,
1885,
4749,
85,
5753,
415,
532,
6566,
88,
1462,
259,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
36004,
1566,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
10989
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9127,
262,
1271,
286,
3871,
508,
423,
2722,
1885,
4749,
85,
5753,
415,
532,
6566,
88,
1462,
259,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
36004,
1566,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
10989
]
|
A bar chart shows the distribution of All_Road and ACC_Percent , and could you display by the y axis from high to low? | SELECT All_Road, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
29197,
290,
15859,
62,
31905,
837,
290,
714,
345,
3359,
416,
262,
331,
16488,
422,
1029,
284,
1877,
30,
46506,
1439,
62,
29197,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
15859,
62,
31905,
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
]
| [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
29197,
290,
15859,
62,
31905,
837,
290,
714,
345,
3359,
416,
262,
331,
16488,
422,
1029,
284,
1877,
30,
46506,
1439,
62,
29197,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
15859,
62,
31905,
22196,
34
]
|
What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a? | SELECT series FROM table_name_96 WHERE season < 2003 AND podiums = "1" AND points = "n/a" | [
2061,
7171,
468,
257,
1622,
326,
318,
4697,
621,
5816,
351,
257,
350,
12664,
82,
5726,
286,
352,
290,
257,
11045,
5726,
326,
318,
299,
14,
64,
30,
46506,
2168,
16034,
3084,
62,
3672,
62,
4846,
33411,
1622,
1279,
5816,
5357,
27941,
82,
796,
366,
16,
1,
5357,
2173,
796,
366,
77,
14,
64,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7171,
468,
257,
1622,
326,
318,
4697,
621,
5816,
351,
257,
350,
12664,
82,
5726,
286,
352,
290,
257,
11045,
5726,
326,
318,
299,
14,
64,
30,
46506,
2168,
16034,
3084,
62,
3672,
62,
4846,
33411,
1622,
1279,
5816,
5357,
27941,
82,
796,
366,
16,
1,
5357,
2173,
796,
366,
77,
14,
64,
1
]
|
count the number of patients whose days of hospital stay is greater than 29 and procedure icd9 code is 5091? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "29" AND procedures.icd9_code = "5091" | [
9127,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2808,
290,
8771,
14158,
67,
24,
2438,
318,
2026,
6420,
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,
12545,
62,
31712,
1875,
366,
1959,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
1120,
6420,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9127,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2808,
290,
8771,
14158,
67,
24,
2438,
318,
2026,
6420,
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,
12545,
62,
31712,
1875,
366,
1959,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
1120,
6420,
1
]
|
When was the song by Andy Gibb issued? | SELECT issue_date_s_ FROM table_name_44 WHERE artist = "andy gibb" | [
2215,
373,
262,
3496,
416,
12382,
12488,
65,
4884,
30,
46506,
2071,
62,
4475,
62,
82,
62,
16034,
3084,
62,
3672,
62,
2598,
33411,
6802,
796,
366,
10757,
46795,
65,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
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,
3496,
416,
12382,
12488,
65,
4884,
30,
46506,
2071,
62,
4475,
62,
82,
62,
16034,
3084,
62,
3672,
62,
2598,
33411,
6802,
796,
366,
10757,
46795,
65,
1
]
|
what year did the first asian games take place ? | SELECT MIN("year") FROM table_204_798 WHERE "competition" = 'asian games' | [
10919,
614,
750,
262,
717,
355,
666,
1830,
1011,
1295,
5633,
46506,
20625,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
43240,
33411,
366,
5589,
15620,
1,
796,
705,
292,
666,
1830,
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
]
| [
10919,
614,
750,
262,
717,
355,
666,
1830,
1011,
1295,
5633,
46506,
20625,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
43240,
33411,
366,
5589,
15620,
1,
796,
705,
292,
666,
1830,
6
]
|
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the job_id . | SELECT JOB_ID, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
6538,
62,
312,
625,
262,
1693,
62,
312,
764,
46506,
449,
9864,
62,
2389,
11,
17228,
6489,
21414,
6500,
62,
2389,
16034,
4409,
33411,
5626,
5550,
30709,
10979,
62,
2389,
3268,
357,
46506,
5550,
30709,
10979,
62,
2389,
16034,
13346,
33411,
17254,
4760,
1137,
62,
2389,
38651,
8845,
1677,
1802,
5357,
939,
8
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
6538,
62,
312,
625,
262,
1693,
62,
312,
764,
46506,
449,
9864,
62,
2389,
11,
17228,
6489,
21414,
6500,
62,
2389,
16034,
4409,
33411,
5626,
5550,
30709,
10979,
62,
2389,
3268,
357,
46506,
5550,
30709,
10979,
62,
2389,
16034,
13346,
33411,
17254,
4760,
1137,
62,
2389,
38651,
8845,
1677,
1802,
5357,
939,
8
]
|
what is the record when the event is shido usa mma and the opponent is raphael assun o? | SELECT "Record" FROM table_48175 WHERE "Event" = 'shido usa mma' AND "Opponent" = 'raphael assunção' | [
10919,
318,
262,
1700,
618,
262,
1785,
318,
427,
17305,
514,
64,
285,
2611,
290,
262,
6125,
318,
4095,
71,
3010,
840,
403,
267,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2780,
17430,
33411,
366,
9237,
1,
796,
705,
1477,
17305,
514,
64,
285,
2611,
6,
5357,
366,
27524,
3471,
1,
796,
705,
1470,
3010,
840,
403,
16175,
28749,
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
]
| [
10919,
318,
262,
1700,
618,
262,
1785,
318,
427,
17305,
514,
64,
285,
2611,
290,
262,
6125,
318,
4095,
71,
3010,
840,
403,
267,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2780,
17430,
33411,
366,
9237,
1,
796,
705,
1477,
17305,
514,
64,
285,
2611,
6,
5357,
366,
27524,
3471,
1,
796,
705,
1470,
3010,
840,
403,
16175,
28749,
6
]
|
what is age and diagnoses short title of subject id 2560? | SELECT demographic.age, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
2479,
290,
40567,
1790,
3670,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
496,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
2479,
290,
40567,
1790,
3670,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
496,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
]
|
how many patients with acute subdural hematoma were born before 2053? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ACUTE SUBDURAL HEMATOMA" AND demographic.dob_year < "2053" | [
4919,
867,
3871,
351,
14352,
850,
67,
1523,
339,
6759,
6086,
547,
4642,
878,
1160,
4310,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
2246,
37780,
28932,
35,
4261,
1847,
367,
3620,
1404,
2662,
32,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1238,
4310,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14352,
850,
67,
1523,
339,
6759,
6086,
547,
4642,
878,
1160,
4310,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
2246,
37780,
28932,
35,
4261,
1847,
367,
3620,
1404,
2662,
32,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1238,
4310,
1
]
|
Is RCNSCI 270 Core ? | SELECT COUNT(*) > 0 FROM course, program, program_course WHERE course.department = 'RCNSCI' AND course.number = 270 AND program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
3792,
13987,
45,
6173,
40,
20479,
7231,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
7397,
45,
6173,
40,
6,
5357,
1781,
13,
17618,
796,
20479,
5357,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
14055,
4,
6,
5357,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
5357,
1430,
13,
3672,
34178,
705,
4,
7902,
12,
43,
4090,
4,
6,
5357,
1430,
13,
23065,
62,
312,
796,
1430,
62,
17319,
13,
23065,
62,
312
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
3792,
13987,
45,
6173,
40,
20479,
7231,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
7397,
45,
6173,
40,
6,
5357,
1781,
13,
17618,
796,
20479,
5357,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
14055,
4,
6,
5357,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
5357,
1430,
13,
3672,
34178,
705,
4,
7902,
12,
43,
4090,
4,
6,
5357,
1430,
13,
23065,
62,
312,
796,
1430,
62,
17319,
13,
23065,
62,
312
]
|
What was Mark Brooks total score when he finished more than 2 above par? | SELECT AVG("Total") FROM table_67553 WHERE "To par" > '2' AND "Player" = 'mark brooks' | [
2061,
373,
2940,
17704,
2472,
4776,
618,
339,
5201,
517,
621,
362,
2029,
1582,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
42444,
4310,
33411,
366,
2514,
1582,
1,
1875,
705,
17,
6,
5357,
366,
14140,
1,
796,
705,
4102,
1379,
28194,
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,
2940,
17704,
2472,
4776,
618,
339,
5201,
517,
621,
362,
2029,
1582,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
42444,
4310,
33411,
366,
2514,
1582,
1,
1875,
705,
17,
6,
5357,
366,
14140,
1,
796,
705,
4102,
1379,
28194,
6
]
|
Which Col (m) has an Elevation (m) smaller than 1,624? | SELECT MIN(col__m_) FROM table_name_88 WHERE elevation__m_ < 1 OFFSET 624 | [
13828,
1623,
357,
76,
8,
468,
281,
37881,
341,
357,
76,
8,
4833,
621,
352,
11,
21,
1731,
30,
46506,
20625,
7,
4033,
834,
76,
62,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
22910,
834,
76,
62,
1279,
352,
3963,
10652,
2767,
718,
1731
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1623,
357,
76,
8,
468,
281,
37881,
341,
357,
76,
8,
4833,
621,
352,
11,
21,
1731,
30,
46506,
20625,
7,
4033,
834,
76,
62,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
22910,
834,
76,
62,
1279,
352,
3963,
10652,
2767,
718,
1731
]
|
What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player? | SELECT result FROM table_name_79 WHERE offer_team = "new york rangers" AND player = "adam graves" | [
2061,
318,
262,
25414,
326,
468,
262,
968,
1971,
13804,
355,
262,
33085,
4816,
290,
7244,
37729,
355,
262,
7853,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3720,
33411,
2897,
62,
15097,
796,
366,
3605,
331,
967,
374,
6606,
1,
5357,
2137,
796,
366,
324,
321,
30055,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25414,
326,
468,
262,
968,
1971,
13804,
355,
262,
33085,
4816,
290,
7244,
37729,
355,
262,
7853,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3720,
33411,
2897,
62,
15097,
796,
366,
3605,
331,
967,
374,
6606,
1,
5357,
2137,
796,
366,
324,
321,
30055,
1
]
|
What was the attendance on May 13? | SELECT attendance FROM table_name_76 WHERE date = "may 13" | [
2061,
373,
262,
14858,
319,
1737,
1511,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
4304,
33411,
3128,
796,
366,
11261,
1511,
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,
14858,
319,
1737,
1511,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
4304,
33411,
3128,
796,
366,
11261,
1511,
1
]
|
What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956? | SELECT MIN("Points") FROM table_70777 WHERE "Entrant" = 'goulds'' garage (bristol)' AND "Engine" = 'maserati straight-6' AND "Year" < '1956' | [
2061,
318,
262,
1178,
395,
1271,
286,
2173,
7781,
416,
39292,
82,
6,
45502,
357,
33,
1585,
349,
828,
11874,
286,
337,
6005,
7246,
27680,
12,
21,
11,
287,
812,
878,
25190,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
2154,
29331,
33411,
366,
14539,
5250,
1,
796,
705,
70,
426,
82,
7061,
15591,
357,
65,
1585,
349,
33047,
5357,
366,
13798,
1,
796,
705,
5356,
263,
7246,
3892,
12,
21,
6,
5357,
366,
17688,
1,
1279,
705,
1129,
3980,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
1178,
395,
1271,
286,
2173,
7781,
416,
39292,
82,
6,
45502,
357,
33,
1585,
349,
828,
11874,
286,
337,
6005,
7246,
27680,
12,
21,
11,
287,
812,
878,
25190,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
2154,
29331,
33411,
366,
14539,
5250,
1,
796,
705,
70,
426,
82,
7061,
15591,
357,
65,
1585,
349,
33047,
5357,
366,
13798,
1,
796,
705,
5356,
263,
7246,
3892,
12,
21,
6,
5357,
366,
17688,
1,
1279,
705,
1129,
3980,
6
]
|
What is the platform & frequency [MHz] of the whr-g54s model? | SELECT "Platform & Frequency [MHz]" FROM table_6179 WHERE "Model" = 'whr-g54s' | [
2061,
318,
262,
3859,
1222,
8373,
685,
25983,
60,
286,
262,
348,
81,
12,
70,
4051,
82,
2746,
30,
46506,
366,
37148,
1222,
31902,
685,
25983,
30866,
16034,
3084,
62,
21,
21738,
33411,
366,
17633,
1,
796,
705,
1929,
81,
12,
70,
4051,
82,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
3859,
1222,
8373,
685,
25983,
60,
286,
262,
348,
81,
12,
70,
4051,
82,
2746,
30,
46506,
366,
37148,
1222,
31902,
685,
25983,
30866,
16034,
3084,
62,
21,
21738,
33411,
366,
17633,
1,
796,
705,
1929,
81,
12,
70,
4051,
82,
6
]
|
What is the minimum manhunt beauty contest? | SELECT MIN("Manhunt International") FROM table_31432 | [
2061,
318,
262,
5288,
582,
35060,
8737,
8414,
30,
46506,
20625,
7203,
5124,
35060,
4037,
4943,
16034,
3084,
62,
33638,
2624
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
5288,
582,
35060,
8737,
8414,
30,
46506,
20625,
7203,
5124,
35060,
4037,
4943,
16034,
3084,
62,
33638,
2624
]
|
count the number of patients whose age is less than 89 and procedure long title is aortography? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "89" AND procedures.long_title = "Aortography" | [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9919,
290,
8771,
890,
3670,
318,
257,
419,
4867,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
4531,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
32,
419,
4867,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9919,
290,
8771,
890,
3670,
318,
257,
419,
4867,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
4531,
1,
5357,
9021,
13,
6511,
62,
7839,
796,
366,
32,
419,
4867,
1
]
|
What was the nationality of the player Pat Garrity? | SELECT "Nationality" FROM table_41756 WHERE "Player" = 'pat garrity' | [
2061,
373,
262,
29835,
286,
262,
2137,
3208,
46619,
414,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
38547,
3980,
33411,
366,
14140,
1,
796,
705,
8071,
308,
3258,
414,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
373,
262,
29835,
286,
262,
2137,
3208,
46619,
414,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
38547,
3980,
33411,
366,
14140,
1,
796,
705,
8071,
308,
3258,
414,
6
]
|
how much is the price for valve replacement or repair? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'valve replacement or repair') | [
4919,
881,
318,
262,
2756,
329,
22580,
9014,
393,
9185,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
3513,
13,
42487,
312,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
2100,
303,
9014,
393,
9185,
11537
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
4919,
881,
318,
262,
2756,
329,
22580,
9014,
393,
9185,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
3513,
13,
42487,
312,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
2100,
303,
9014,
393,
9185,
11537
]
|
Average Score for Questions and Answers by Month Since 2008. | SELECT TIME_TO_STR(Posts.CreationDate, '%Y') AS Year, TIME_TO_STR(Posts.CreationDate, '%m') AS Month, SUM(Score) AS SUM_SCORE, COUNT(*) AS COUNT_SCORE, AVG(CAST(Score AS FLOAT(12, 2))) AS AVG_SCORE, SUM(CASE WHEN PostTypeId < 3 THEN 1 ELSE 0 END) AS QnA FROM Posts WHERE PostTypeId < 3 GROUP BY TIME_TO_STR(Posts.CreationDate, '%Y'), TIME_TO_STR(Posts.CreationDate, '%m') HAVING TIME_TO_STR(Posts.CreationDate, '%Y') >= 2008 ORDER BY Year, Month | [
26287,
15178,
329,
20396,
290,
42612,
416,
16061,
4619,
3648,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
56,
11537,
7054,
6280,
11,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
76,
11537,
7054,
16061,
11,
35683,
7,
26595,
8,
7054,
35683,
62,
6173,
6965,
11,
327,
28270,
7,
28104,
7054,
327,
28270,
62,
6173,
6965,
11,
35224,
7,
44647,
7,
26595,
7054,
9977,
46,
1404,
7,
1065,
11,
362,
22305,
7054,
35224,
62,
6173,
6965,
11,
35683,
7,
34,
11159,
42099,
2947,
6030,
7390,
1279
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
26287,
15178,
329,
20396,
290,
42612,
416,
16061,
4619,
3648,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
56,
11537,
7054,
6280,
11,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
76,
11537,
7054,
16061,
11,
35683,
7,
26595,
8,
7054,
35683,
62,
6173,
6965,
11,
327,
28270,
7,
28104,
7054,
327,
28270,
62,
6173,
6965,
11,
35224,
7,
44647,
7,
26595,
7054,
9977,
46,
1404,
7,
1065,
11,
362,
22305,
7054,
35224,
62,
6173,
6965,
11,
35683,
7,
34,
11159,
42099,
2947,
6030,
7390,
1279
]
|
What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total? | SELECT SUM("Gold") FROM table_69258 WHERE "Silver" = '2' AND "Total" < '7' | [
2061,
318,
262,
2472,
1271,
286,
3869,
28057,
1839,
416,
7027,
326,
1839,
362,
8465,
28057,
475,
7380,
621,
767,
287,
2472,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
3388,
25600,
33411,
366,
26766,
1,
796,
705,
17,
6,
5357,
366,
14957,
1,
1279,
705,
22,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3869,
28057,
1839,
416,
7027,
326,
1839,
362,
8465,
28057,
475,
7380,
621,
767,
287,
2472,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
3388,
25600,
33411,
366,
26766,
1,
796,
705,
17,
6,
5357,
366,
14957,
1,
1279,
705,
22,
6
]
|
How many millions of people watched the episode with a production code of icec483x? | SELECT "Viewing figures millions" FROM table_3188 WHERE "Prod. Code" = 'ICEC483X' | [
2437,
867,
5242,
286,
661,
7342,
262,
4471,
351,
257,
3227,
2438,
286,
4771,
66,
38783,
87,
30,
46506,
366,
7680,
278,
5538,
5242,
1,
16034,
3084,
62,
18,
20356,
33411,
366,
2964,
67,
13,
6127,
1,
796,
705,
2149,
2943,
38783,
55,
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
]
| [
2437,
867,
5242,
286,
661,
7342,
262,
4471,
351,
257,
3227,
2438,
286,
4771,
66,
38783,
87,
30,
46506,
366,
7680,
278,
5538,
5242,
1,
16034,
3084,
62,
18,
20356,
33411,
366,
2964,
67,
13,
6127,
1,
796,
705,
2149,
2943,
38783,
55,
6
]
|
select CreationDate from Posts where Tags LIKE '%scala%'. | SELECT CreationDate FROM Posts WHERE Tags LIKE '%scala%' | [
19738,
21582,
10430,
422,
12043,
810,
44789,
34178,
705,
4,
1416,
6081,
4,
4458,
46506,
21582,
10430,
16034,
12043,
33411,
44789,
34178,
705,
4,
1416,
6081,
4,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
19738,
21582,
10430,
422,
12043,
810,
44789,
34178,
705,
4,
1416,
6081,
4,
4458,
46506,
21582,
10430,
16034,
12043,
33411,
44789,
34178,
705,
4,
1416,
6081,
4,
6
]
|
In the game held at Arden Street Oval, what was the score of the home team? | SELECT home_team AS score FROM table_name_23 WHERE venue = "arden street oval" | [
818,
262,
983,
2714,
379,
943,
6559,
3530,
25165,
11,
644,
373,
262,
4776,
286,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
818,
262,
983,
2714,
379,
943,
6559,
3530,
25165,
11,
644,
373,
262,
4776,
286,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
]
|
Comments asking for questions to be made wiki. All comments that contain the text should and wiki | SELECT PostId AS "post_link", Text FROM Comments WHERE Text LIKE '%should%wiki%' | [
23903,
4737,
329,
2683,
284,
307,
925,
22719,
13,
1439,
3651,
326,
3994,
262,
2420,
815,
290,
22719,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
8255,
16034,
19502,
33411,
8255,
34178,
705,
4,
21754,
4,
15466,
4,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
23903,
4737,
329,
2683,
284,
307,
925,
22719,
13,
1439,
3651,
326,
3994,
262,
2420,
815,
290,
22719,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
8255,
16034,
19502,
33411,
8255,
34178,
705,
4,
21754,
4,
15466,
4,
6
]
|
What country is Adam Scott from? | SELECT country FROM table_name_19 WHERE player = "adam scott" | [
2061,
1499,
318,
7244,
4746,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1129,
33411,
2137,
796,
366,
324,
321,
629,
1252,
1
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
1499,
318,
7244,
4746,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1129,
33411,
2137,
796,
366,
324,
321,
629,
1252,
1
]
|
What is Country, when Score is 70-73=143? | SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143 | [
2061,
318,
12946,
11,
618,
15178,
318,
4317,
12,
4790,
28,
21139,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1120,
33411,
4776,
796,
4317,
532,
8854,
796,
24356
]
| [
1,
1,
1,
1,
1,
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,
12946,
11,
618,
15178,
318,
4317,
12,
4790,
28,
21139,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1120,
33411,
4776,
796,
4317,
532,
8854,
796,
24356
]
|
What country was the prix uip ghent nominating festival? | SELECT "Country" FROM table_79893 WHERE "Nominating Festival" = 'prix uip ghent' | [
2061,
1499,
373,
262,
1293,
87,
334,
541,
308,
6925,
48833,
10876,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3720,
49682,
33411,
366,
45,
296,
6010,
11117,
1,
796,
705,
3448,
87,
334,
541,
308,
6925,
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,
1499,
373,
262,
1293,
87,
334,
541,
308,
6925,
48833,
10876,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3720,
49682,
33411,
366,
45,
296,
6010,
11117,
1,
796,
705,
3448,
87,
334,
541,
308,
6925,
6
]
|
What is the lowest Year, when Rank is greater than 85? | SELECT MIN("Year") FROM table_44204 WHERE "Rank" > '85' | [
2061,
318,
262,
9016,
6280,
11,
618,
10916,
318,
3744,
621,
7600,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2598,
18638,
33411,
366,
27520,
1,
1875,
705,
5332,
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,
9016,
6280,
11,
618,
10916,
318,
3744,
621,
7600,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2598,
18638,
33411,
366,
27520,
1,
1875,
705,
5332,
6
]
|
i would like a flight between DENVER and SAN FRANCISCO leaving from DENVER in the afternoon and arriving at 1700 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.arrival_time = 1700 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.departure_time BETWEEN 1200 AND 1800 | [
72,
561,
588,
257,
5474,
1022,
37692,
5959,
290,
37376,
8782,
20940,
1797,
8220,
4305,
422,
37692,
5959,
287,
262,
6672,
290,
14820,
379,
35665,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
14808,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
72,
561,
588,
257,
5474,
1022,
37692,
5959,
290,
37376,
8782,
20940,
1797,
8220,
4305,
422,
37692,
5959,
287,
262,
6672,
290,
14820,
379,
35665,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
14808,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13
]
|
calculate the total drain out #1 other production for patient 3242 until 01/13/2104. | SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3242)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'drain out #1 other' AND d_items.linksto = 'outputevents') AND STRFTIME('%y-%m-%d', outputevents.charttime) <= '2104-01-13' | [
9948,
3129,
378,
262,
2472,
14782,
503,
1303,
16,
584,
3227,
329,
5827,
513,
27877,
1566,
5534,
14,
1485,
14,
17,
13464,
13,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
513,
27877,
4008,
5357,
38701,
1133,
85
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
9948,
3129,
378,
262,
2472,
14782,
503,
1303,
16,
584,
3227,
329,
5827,
513,
27877,
1566,
5534,
14,
1485,
14,
17,
13464,
13,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
513,
27877,
4008,
5357,
38701,
1133,
85
]
|
Which constructor has a race called I News of the World Trophy? | SELECT "Constructor" FROM table_57687 WHERE "Race Name" = 'i news of the world trophy' | [
13828,
23772,
468,
257,
3234,
1444,
314,
3000,
286,
262,
2159,
25640,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
3553,
39925,
33411,
366,
35157,
6530,
1,
796,
705,
72,
1705,
286,
262,
995,
16383,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
23772,
468,
257,
3234,
1444,
314,
3000,
286,
262,
2159,
25640,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
3553,
39925,
33411,
366,
35157,
6530,
1,
796,
705,
72,
1705,
286,
262,
995,
16383,
6
]
|
What is the checking balance of the account whose owner s name contains the substring ee ? | SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%' | [
2061,
318,
262,
10627,
5236,
286,
262,
1848,
3025,
4870,
264,
1438,
4909,
262,
3293,
1806,
304,
68,
5633,
46506,
309,
17,
13,
20427,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
17,
13,
66,
436,
312,
33411,
309,
16,
13,
3672,
34178,
705,
4,
1453,
4,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
10627,
5236,
286,
262,
1848,
3025,
4870,
264,
1438,
4909,
262,
3293,
1806,
304,
68,
5633,
46506,
309,
17,
13,
20427,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
17,
13,
66,
436,
312,
33411,
309,
16,
13,
3672,
34178,
705,
4,
1453,
4,
6
]
|
Show all main industry and total market value in each industry by a bar chart, rank in descending by the Y. | SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry ORDER BY SUM(Market_Value) DESC | [
15307,
477,
1388,
2831,
290,
2472,
1910,
1988,
287,
1123,
2831,
416,
257,
2318,
8262,
11,
4279,
287,
31491,
416,
262,
575,
13,
46506,
8774,
62,
35848,
563,
11,
35683,
7,
27470,
62,
11395,
8,
16034,
1664,
44441,
11050,
8774,
62,
35848,
563,
38678,
11050,
35683,
7,
27470,
62,
11395,
8,
22196,
34
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
15307,
477,
1388,
2831,
290,
2472,
1910,
1988,
287,
1123,
2831,
416,
257,
2318,
8262,
11,
4279,
287,
31491,
416,
262,
575,
13,
46506,
8774,
62,
35848,
563,
11,
35683,
7,
27470,
62,
11395,
8,
16034,
1664,
44441,
11050,
8774,
62,
35848,
563,
38678,
11050,
35683,
7,
27470,
62,
11395,
8,
22196,
34
]
|
what is language of subject name stephanie suchan? | SELECT demographic.language FROM demographic WHERE demographic.name = "Stephanie Suchan" | [
10919,
318,
3303,
286,
2426,
1438,
2239,
7637,
494,
884,
272,
30,
46506,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
8600,
7637,
494,
8013,
272,
1
]
| [
1,
1,
1,
1,
1,
1,
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,
3303,
286,
2426,
1438,
2239,
7637,
494,
884,
272,
30,
46506,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
8600,
7637,
494,
8013,
272,
1
]
|
What is the lowest round Trinity school was drafted with an overall higher than 21? | SELECT MIN("Round") FROM table_33418 WHERE "School/Club Team" = 'trinity' AND "Overall" < '21' | [
2061,
318,
262,
9016,
2835,
22844,
1524,
373,
15937,
351,
281,
4045,
2440,
621,
2310,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
31380,
1507,
33411,
366,
26130,
14,
42350,
4816,
1,
796,
705,
2213,
6269,
6,
5357,
366,
16350,
1,
1279,
705,
2481,
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,
318,
262,
9016,
2835,
22844,
1524,
373,
15937,
351,
281,
4045,
2440,
621,
2310,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
31380,
1507,
33411,
366,
26130,
14,
42350,
4816,
1,
796,
705,
2213,
6269,
6,
5357,
366,
16350,
1,
1279,
705,
2481,
6
]
|
Which Round has a Ranking of 2008 wta tour? | SELECT "Round" FROM table_33875 WHERE "Ranking" = '2008 wta tour' | [
13828,
10485,
468,
257,
45407,
286,
3648,
266,
8326,
4205,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
28460,
2425,
33411,
366,
49,
15230,
1,
796,
705,
11528,
266,
8326,
4205,
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
]
| [
13828,
10485,
468,
257,
45407,
286,
3648,
266,
8326,
4205,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
28460,
2425,
33411,
366,
49,
15230,
1,
796,
705,
11528,
266,
8326,
4205,
6
]
|
What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? | SELECT "Displacement" FROM table_62863 WHERE "Fuel system" = 'carburettor' AND "Power" = 'ps (kw; hp)' AND "Model" = '2000' | [
2061,
318,
262,
29358,
618,
262,
5252,
1080,
318,
13265,
495,
926,
273,
11,
290,
257,
1176,
286,
26692,
357,
46265,
26,
27673,
828,
290,
635,
468,
257,
2746,
286,
4751,
30,
46506,
366,
7279,
489,
5592,
1,
16034,
3084,
62,
48200,
5066,
33411,
366,
42663,
1080,
1,
796,
705,
35684,
495,
926,
273,
6,
5357,
366,
13434,
1,
796,
705,
862,
357,
46265,
26,
27673,
33047,
5357,
366,
17633,
1,
796,
705,
11024,
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
]
| [
2061,
318,
262,
29358,
618,
262,
5252,
1080,
318,
13265,
495,
926,
273,
11,
290,
257,
1176,
286,
26692,
357,
46265,
26,
27673,
828,
290,
635,
468,
257,
2746,
286,
4751,
30,
46506,
366,
7279,
489,
5592,
1,
16034,
3084,
62,
48200,
5066,
33411,
366,
42663,
1080,
1,
796,
705,
35684,
495,
926,
273,
6,
5357,
366,
13434,
1,
796,
705,
862,
357,
46265,
26,
27673,
33047,
5357,
366,
17633,
1,
796,
705,
11024,
6
]
|
What Constellation has a 20h56m40s Right Ascension (J2000)? | SELECT "Constellation" FROM table_11440 WHERE "Right ascension ( J2000 )" = '20h56m40s' | [
2061,
4757,
28828,
468,
257,
1160,
71,
3980,
76,
1821,
82,
6498,
41416,
357,
41,
11024,
19427,
46506,
366,
34184,
28828,
1,
16034,
3084,
62,
16562,
1821,
33411,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
796,
705,
1238,
71,
3980,
76,
1821,
82,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
4757,
28828,
468,
257,
1160,
71,
3980,
76,
1821,
82,
6498,
41416,
357,
41,
11024,
19427,
46506,
366,
34184,
28828,
1,
16034,
3084,
62,
16562,
1821,
33411,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
796,
705,
1238,
71,
3980,
76,
1821,
82,
6
]
|
Which position is most popular among players in the tryout? | SELECT ppos FROM tryout GROUP BY ppos ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
2292,
318,
749,
2968,
1871,
1938,
287,
262,
1949,
448,
30,
46506,
279,
1930,
16034,
1949,
448,
44441,
11050,
279,
1930,
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
]
| [
13828,
2292,
318,
749,
2968,
1871,
1938,
287,
262,
1949,
448,
30,
46506,
279,
1930,
16034,
1949,
448,
44441,
11050,
279,
1930,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
|
Draw a bar chart of affiliation versus sum enrollment, and could you rank by the names from high to low? | SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation ORDER BY Affiliation DESC | [
25302,
257,
2318,
8262,
286,
26218,
9051,
2160,
20753,
11,
290,
714,
345,
4279,
416,
262,
3891,
422,
1029,
284,
1877,
30,
46506,
6708,
15547,
11,
35683,
7,
4834,
48108,
8,
16034,
6403,
44441,
11050,
6708,
15547,
38678,
11050,
6708,
15547,
22196,
34
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
25302,
257,
2318,
8262,
286,
26218,
9051,
2160,
20753,
11,
290,
714,
345,
4279,
416,
262,
3891,
422,
1029,
284,
1877,
30,
46506,
6708,
15547,
11,
35683,
7,
4834,
48108,
8,
16034,
6403,
44441,
11050,
6708,
15547,
38678,
11050,
6708,
15547,
22196,
34
]
|
i am looking to get one air fare from BALTIMORE to SAN FRANCISCO on a 747 leaving 8 27 | SELECT DISTINCT fare.fare_id FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, equipment_sequence, fare, fare_basis, flight, flight_fare WHERE ((aircraft.basic_type = '747' AND DATE_DAY_1.day_number = 27 AND DATE_DAY_1.month_number = 8 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND equipment_sequence.aircraft_code = aircraft.aircraft_code AND flight.aircraft_code_sequence = equipment_sequence.aircraft_code_sequence AND flight.flight_days = DAYS_1.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND DATE_DAY_0.day_number = 27 AND DATE_DAY_0.month_number = 8 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND fare_basis.basis_days = DAYS_0.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
716,
2045,
284,
651,
530,
1633,
14505,
422,
347,
31429,
3955,
6965,
284,
37376,
8782,
20940,
1797,
8220,
319,
257,
45600,
4305,
807,
2681,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
6215,
11,
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,
7054,
360,
6158,
62,
26442,
62,
15,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62,
16,
11,
1528,
7054,
24644,
50
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
716,
2045,
284,
651,
530,
1633,
14505,
422,
347,
31429,
3955,
6965,
284,
37376,
8782,
20940,
1797,
8220,
319,
257,
45600,
4305,
807,
2681,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
6215,
11,
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,
7054,
360,
6158,
62,
26442,
62,
15,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62,
16,
11,
1528,
7054,
24644,
50
]
|
Where did north melbourne play while away? | SELECT venue FROM table_name_23 WHERE away_team = "north melbourne" | [
8496,
750,
5093,
7758,
12544,
711,
981,
1497,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1954,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
]
| [
1,
1,
1,
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,
750,
5093,
7758,
12544,
711,
981,
1497,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1954,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
]
|
what is the round when the position is (c)? | SELECT MAX("Round") FROM table_62228 WHERE "Position" = '(c)' | [
10919,
318,
262,
2835,
618,
262,
2292,
318,
357,
66,
19427,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
21,
1828,
2078,
33411,
366,
26545,
1,
796,
29513,
66,
33047
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
10919,
318,
262,
2835,
618,
262,
2292,
318,
357,
66,
19427,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
21,
1828,
2078,
33411,
366,
26545,
1,
796,
29513,
66,
33047
]
|
What is the lowest number of f/laps in the 5th position? | SELECT MIN("F/Laps") FROM table_13966 WHERE "Position" = '5th' | [
2061,
318,
262,
9016,
1271,
286,
277,
14,
75,
1686,
287,
262,
642,
400,
2292,
30,
46506,
20625,
7203,
37,
14,
43,
1686,
4943,
16034,
3084,
62,
20219,
2791,
33411,
366,
26545,
1,
796,
705,
20,
400,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2061,
318,
262,
9016,
1271,
286,
277,
14,
75,
1686,
287,
262,
642,
400,
2292,
30,
46506,
20625,
7203,
37,
14,
43,
1686,
4943,
16034,
3084,
62,
20219,
2791,
33411,
366,
26545,
1,
796,
705,
20,
400,
6
]
|
Which engineer has visited the most times? Show the engineer id, first name and last name. | SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
11949,
468,
8672,
262,
749,
1661,
30,
5438,
262,
11949,
4686,
11,
717,
1438,
290,
938,
1438,
13,
46506,
309,
16,
13,
18392,
263,
62,
312,
11,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
16034,
34857,
62,
28620,
7054,
309,
16,
32357,
1268,
23164,
62,
15854,
896,
7054,
309,
17,
44441,
11050,
309,
16,
13,
18392,
263,
62,
312,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
11949,
468,
8672,
262,
749,
1661,
30,
5438,
262,
11949,
4686,
11,
717,
1438,
290,
938,
1438,
13,
46506,
309,
16,
13,
18392,
263,
62,
312,
11,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
16034,
34857,
62,
28620,
7054,
309,
16,
32357,
1268,
23164,
62,
15854,
896,
7054,
309,
17,
44441,
11050,
309,
16,
13,
18392,
263,
62,
312,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
]
|
What is the largest start for a player with 14 conv, 10 tries and more than 22 pens? | SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22 | [
2061,
318,
262,
4387,
923,
329,
257,
2137,
351,
1478,
3063,
11,
838,
8404,
290,
517,
621,
2534,
29707,
30,
46506,
25882,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
3063,
796,
1478,
5357,
8404,
796,
838,
5357,
29707,
1875,
2534
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4387,
923,
329,
257,
2137,
351,
1478,
3063,
11,
838,
8404,
290,
517,
621,
2534,
29707,
30,
46506,
25882,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
3063,
796,
1478,
5357,
8404,
796,
838,
5357,
29707,
1875,
2534
]
|
Which title has a length of 4:22? | SELECT "Title" FROM table_53161 WHERE "Time" = '4:22' | [
13828,
3670,
468,
257,
4129,
286,
604,
25,
1828,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
4310,
25948,
33411,
366,
7575,
1,
796,
705,
19,
25,
1828,
6
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
13828,
3670,
468,
257,
4129,
286,
604,
25,
1828,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
4310,
25948,
33411,
366,
7575,
1,
796,
705,
19,
25,
1828,
6
]
|
Show me a bar chart for what is the project id and detail for the project with at least two documents?, rank in asc by the total number. | SELECT T1.Project_Details, T1.Project_ID FROM Projects AS T1 JOIN Documents AS T2 ON T1.Project_ID = T2.Project_ID ORDER BY T1.Project_ID | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
1628,
4686,
290,
3703,
329,
262,
1628,
351,
379,
1551,
734,
4963,
21747,
4279,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
309,
16,
13,
16775,
62,
24259,
11,
309,
16,
13,
16775,
62,
2389,
16034,
29898,
7054,
309,
16,
32357,
1268,
33267,
7054,
309,
17,
6177,
309,
16,
13,
16775,
62,
2389,
796,
309,
17,
13,
16775,
62,
2389,
38678,
11050,
309,
16,
13,
16775,
62,
2389
]
| [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
1628,
4686,
290,
3703,
329,
262,
1628,
351,
379,
1551,
734,
4963,
21747,
4279,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
309,
16,
13,
16775,
62,
24259,
11,
309,
16,
13,
16775,
62,
2389,
16034,
29898,
7054,
309,
16,
32357,
1268,
33267,
7054,
309,
17,
6177,
309,
16,
13,
16775,
62,
2389,
796,
309,
17,
13,
16775,
62,
2389,
38678,
11050,
309,
16,
13,
16775,
62,
2389
]
|
Which team has 26 points? | SELECT "Team" FROM table_76617 WHERE "Points" = '26' | [
13828,
1074,
468,
2608,
2173,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
22,
2791,
1558,
33411,
366,
40710,
1,
796,
705,
2075,
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
]
| [
13828,
1074,
468,
2608,
2173,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
22,
2791,
1558,
33411,
366,
40710,
1,
796,
705,
2075,
6
]
|
How much Silver has a Nation of mexico, and a Total larger than 1? | SELECT SUM("Silver") FROM table_36604 WHERE "Nation" = 'mexico' AND "Total" > '1' | [
2437,
881,
7698,
468,
257,
8741,
286,
502,
87,
3713,
11,
290,
257,
7472,
4025,
621,
352,
30,
46506,
35683,
7203,
26766,
4943,
16034,
3084,
62,
2623,
31916,
33411,
366,
46108,
1,
796,
705,
76,
1069,
3713,
6,
5357,
366,
14957,
1,
1875,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
| [
2437,
881,
7698,
468,
257,
8741,
286,
502,
87,
3713,
11,
290,
257,
7472,
4025,
621,
352,
30,
46506,
35683,
7203,
26766,
4943,
16034,
3084,
62,
2623,
31916,
33411,
366,
46108,
1,
796,
705,
76,
1069,
3713,
6,
5357,
366,
14957,
1,
1875,
705,
16,
6
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.