instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Return a bar chart on how many wines are there for each grape?, order by the Y from low to high. | SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY COUNT(*) | [
13615,
257,
2318,
8262,
319,
703,
867,
30680,
389,
612,
329,
1123,
30777,
21747,
1502,
416,
262,
575,
422,
1877,
284,
1029,
13,
46506,
48315,
11,
327,
28270,
7,
28104,
16034,
8237,
44441,
11050,
48315,
38678,
11050,
327,
28270,
7,
28104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2318,
8262,
319,
703,
867,
30680,
389,
612,
329,
1123,
30777,
21747,
1502,
416,
262,
575,
422,
1877,
284,
1029,
13,
46506,
48315,
11,
327,
28270,
7,
28104,
16034,
8237,
44441,
11050,
48315,
38678,
11050,
327,
28270,
7,
28104... |
Name the television service when primafila hot club | SELECT television_service FROM table_15887683_6 WHERE content = "Primafila Hot Club" | [
5376,
262,
5581,
2139,
618,
2684,
1878,
10102,
3024,
3430,
46506,
5581,
62,
15271,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
21,
33411,
2695,
796,
366,
23828,
1878,
10102,
6964,
6289,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5581,
2139,
618,
2684,
1878,
10102,
3024,
3430,
46506,
5581,
62,
15271,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
21,
33411,
2695,
796,
366,
23828,
1878,
10102,
6964,
6289,
1
] |
what is the number of patients whose admission type is emergency and lab test fluid is pleural? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.fluid = "Pleural" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
6334,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
A plural abbreviation of pp. is used for what singular word? | SELECT singular_word FROM table_name_82 WHERE plural_abbreviation = "pp." | [
32,
22801,
28873,
47625,
286,
9788,
13,
318,
973,
329,
644,
18032,
1573,
30,
46506,
18032,
62,
4775,
16034,
3084,
62,
3672,
62,
6469,
33411,
22801,
62,
397,
4679,
47625,
796,
366,
381,
526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22801,
28873,
47625,
286,
9788,
13,
318,
973,
329,
644,
18032,
1573,
30,
46506,
18032,
62,
4775,
16034,
3084,
62,
3672,
62,
6469,
33411,
22801,
62,
397,
4679,
47625,
796,
366,
381,
526
] |
Who directed the show that was viewed by 2.06 million U.S. people? | SELECT "Directed by" FROM table_17138 WHERE "U.S. viewers (millions)" = '2.06' | [
8241,
7924,
262,
905,
326,
373,
9569,
416,
362,
13,
3312,
1510,
471,
13,
50,
13,
661,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1558,
20107,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
17,
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
] | [
8241,
7924,
262,
905,
326,
373,
9569,
416,
362,
13,
3312,
1510,
471,
13,
50,
13,
661,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1558,
20107,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
17,
13,
... |
What was score of the game when the record was 72-74? | SELECT "Score" FROM table_69073 WHERE "Record" = '72-74' | [
2061,
373,
4776,
286,
262,
983,
618,
262,
1700,
373,
7724,
12,
4524,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3388,
2998,
18,
33411,
366,
23739,
1,
796,
705,
4761,
12,
4524,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
4776,
286,
262,
983,
618,
262,
1700,
373,
7724,
12,
4524,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3388,
2998,
18,
33411,
366,
23739,
1,
796,
705,
4761,
12,
4524,
6
] |
how many patients of white ethnicity were admitted before the year 2154? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear < "2154" | [
4919,
867,
3871,
286,
2330,
26289,
547,
6848,
878,
262,
614,
362,
21526,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
16728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
2330,
26289,
547,
6848,
878,
262,
614,
362,
21526,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
16728,... |
Name the least rank | SELECT MIN(rank) FROM table_2527063_3 | [
5376,
262,
1551,
4279,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
1495,
1983,
3312,
18,
62,
18
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1551,
4279,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
1495,
1983,
3312,
18,
62,
18
] |
When was there a game against the Indianapolis colts? | SELECT date FROM table_name_72 WHERE opponent = "indianapolis colts" | [
2215,
373,
612,
257,
983,
1028,
262,
19362,
951,
912,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4761,
33411,
6125,
796,
366,
521,
666,
11174,
951,
912,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
612,
257,
983,
1028,
262,
19362,
951,
912,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4761,
33411,
6125,
796,
366,
521,
666,
11174,
951,
912,
1
] |
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0? | SELECT SUM("Gold") FROM table_62490 WHERE "Silver" = '1' AND "Rank" > '3' AND "Total" < '2' AND "Bronze" < '0' | [
2061,
318,
262,
3869,
618,
8465,
318,
352,
11,
4279,
318,
4025,
621,
513,
11,
2472,
318,
4833,
621,
362,
11,
22101,
318,
4833,
621,
657,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
21,
1731,
3829,
33411,
366,
26766,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
3869,
618,
8465,
318,
352,
11,
4279,
318,
4025,
621,
513,
11,
2472,
318,
4833,
621,
362,
11,
22101,
318,
4833,
621,
657,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
21,
1731,
3829,
33411,
366,
26766,
1,
796... |
For those records from the products and each product's manufacturer, find name and code , and group by attribute name, and visualize them by a bar chart. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
10669,
16034,
18675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
10669,
16034,
18675... |
who are the participants that wear clothing in 33-23-36 | SELECT contestant FROM table_27515452_3 WHERE sizes = "33-23-36" | [
8727,
389,
262,
6809,
326,
5806,
9528,
287,
4747,
12,
1954,
12,
2623,
46506,
44047,
16034,
3084,
62,
23195,
1314,
37730,
62,
18,
33411,
10620,
796,
366,
2091,
12,
1954,
12,
2623,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
389,
262,
6809,
326,
5806,
9528,
287,
4747,
12,
1954,
12,
2623,
46506,
44047,
16034,
3084,
62,
23195,
1314,
37730,
62,
18,
33411,
10620,
796,
366,
2091,
12,
1954,
12,
2623,
1
] |
what episode came after i , done -lrb- part 1 -rrb- ? | SELECT "title" FROM table_203_182 WHERE "no. in\nseries" = (SELECT "no. in\nseries" FROM table_203_182 WHERE "title" = '"i, done" (part 1)') + 1 | [
10919,
4471,
1625,
706,
1312,
837,
1760,
532,
14050,
65,
12,
636,
352,
532,
21062,
65,
12,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
24294,
33411,
366,
3919,
13,
287,
59,
77,
25076,
1,
796,
357,
46506,
366,
3919,
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... | [
10919,
4471,
1625,
706,
1312,
837,
1760,
532,
14050,
65,
12,
636,
352,
532,
21062,
65,
12,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
24294,
33411,
366,
3919,
13,
287,
59,
77,
25076,
1,
796,
357,
46506,
366,
3919,
13,
... |
What is the away team for the home team wigan athletic? | SELECT away_team FROM table_name_23 WHERE home_team = "wigan athletic" | [
2061,
318,
262,
1497,
1074,
329,
262,
1363,
1074,
266,
5516,
15177,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1954,
33411,
1363,
62,
15097,
796,
366,
86,
5516,
15177,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1497,
1074,
329,
262,
1363,
1074,
266,
5516,
15177,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1954,
33411,
1363,
62,
15097,
796,
366,
86,
5516,
15177,
1
] |
which player has the highest number of career home runs ? | SELECT "player" FROM table_203_611 ORDER BY "hr" DESC LIMIT 1 | [
4758,
2137,
468,
262,
4511,
1271,
286,
3451,
1363,
4539,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
21,
1157,
38678,
11050,
366,
11840,
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
] | [
4758,
2137,
468,
262,
4511,
1271,
286,
3451,
1363,
4539,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
21,
1157,
38678,
11050,
366,
11840,
1,
22196,
34,
27564,
2043,
352
] |
What are my last five active tags?. | SELECT TagName, LastActivityDate FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE Posts.OwnerUserId = @UserId GROUP BY TagName, LastActivityDate ORDER BY LastActivityDate DESC LIMIT 5 | [
2061,
389,
616,
938,
1936,
4075,
15940,
30,
13,
46506,
17467,
5376,
11,
4586,
16516,
10430,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
3268,
21479,
32357,
1268,
12043,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
616,
938,
1936,
4075,
15940,
30,
13,
46506,
17467,
5376,
11,
4586,
16516,
10430,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
3268,
21479,
32357,
1268,
12043,
61... |
What team drove a Dodge vehicle? | SELECT team FROM table_name_27 WHERE make = "dodge" | [
2061,
1074,
10357,
257,
26048,
4038,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1983,
33411,
787,
796,
366,
67,
9728,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
10357,
257,
26048,
4038,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1983,
33411,
787,
796,
366,
67,
9728,
1
] |
What are all the courses for Other ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE program_course.category LIKE '%Other%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
2061,
389,
477,
262,
10902,
329,
3819,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
477,
262,
10902,
329,
3819,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
... |
calculate how many times patient 41132 has been prescribed diltiazem extended-release in 2101. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 41132) AND prescriptions.drug = 'diltiazem extended-release' AND STRFTIME('%y', prescriptions.startdate) = '2101' | [
9948,
3129,
378,
703,
867,
1661,
5827,
43184,
2624,
468,
587,
14798,
288,
2326,
17890,
368,
7083,
12,
20979,
287,
2310,
486,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
703,
867,
1661,
5827,
43184,
2624,
468,
587,
14798,
288,
2326,
17890,
368,
7083,
12,
20979,
287,
2310,
486,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
... |
Name the money for ireland | SELECT money___£__ FROM table_name_73 WHERE country = "ireland" | [
5376,
262,
1637,
329,
35918,
1044,
46506,
1637,
17569,
14988,
834,
16034,
3084,
62,
3672,
62,
4790,
33411,
1499,
796,
366,
557,
1044,
1
] | [
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,
1637,
329,
35918,
1044,
46506,
1637,
17569,
14988,
834,
16034,
3084,
62,
3672,
62,
4790,
33411,
1499,
796,
366,
557,
1044,
1
] |
show me the number of patients on base type drug prescription who were younger than 30 years of age. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "30" AND prescriptions.drug_type = "BASE" | [
12860,
502,
262,
1271,
286,
3871,
319,
2779,
2099,
2563,
15077,
508,
547,
7099,
621,
1542,
812,
286,
2479,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
1271,
286,
3871,
319,
2779,
2099,
2563,
15077,
508,
547,
7099,
621,
1542,
812,
286,
2479,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
61... |
can you list all flights that depart from ORLANDO to KANSAS CITY | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ORLANDO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'KANSAS... | [
5171,
345,
1351,
477,
13956,
326,
6313,
422,
6375,
28182,
46,
284,
509,
15037,
1921,
27993,
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,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5171,
345,
1351,
477,
13956,
326,
6313,
422,
6375,
28182,
46,
284,
509,
15037,
1921,
27993,
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,
15... |
What is the name of the player from Cod? | SELECT name FROM table_name_2 WHERE country = "cod" | [
2061,
318,
262,
1438,
286,
262,
2137,
422,
18720,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
17,
33411,
1499,
796,
366,
19815,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
2137,
422,
18720,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
17,
33411,
1499,
796,
366,
19815,
1
] |
What is Round, when Event is RITC 89 - Triple Main Event 89? | SELECT "Round" FROM table_8084 WHERE "Event" = 'ritc 89 - triple main event 89' | [
2061,
318,
10485,
11,
618,
8558,
318,
371,
2043,
34,
9919,
532,
19817,
8774,
8558,
9919,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
1795,
5705,
33411,
366,
9237,
1,
796,
705,
799,
66,
9919,
532,
15055,
1388,
1785,
9919,
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
] | [
2061,
318,
10485,
11,
618,
8558,
318,
371,
2043,
34,
9919,
532,
19817,
8774,
8558,
9919,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
1795,
5705,
33411,
366,
9237,
1,
796,
705,
799,
66,
9919,
532,
15055,
1388,
1785,
9919,
6
] |
How many sets lost have a loss smaller than 3 and a rank larger than 1? | SELECT SUM("Sets Lost") FROM table_44685 WHERE "Loss" < '3' AND "Rank" > '1' | [
2437,
867,
5621,
2626,
423,
257,
2994,
4833,
621,
513,
290,
257,
4279,
4025,
621,
352,
30,
46506,
35683,
7203,
50,
1039,
9164,
4943,
16034,
3084,
62,
2598,
35978,
33411,
366,
43,
793,
1,
1279,
705,
18,
6,
5357,
366,
27520,
1,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5621,
2626,
423,
257,
2994,
4833,
621,
513,
290,
257,
4279,
4025,
621,
352,
30,
46506,
35683,
7203,
50,
1039,
9164,
4943,
16034,
3084,
62,
2598,
35978,
33411,
366,
43,
793,
1,
1279,
705,
18,
6,
5357,
366,
27520,
1,
1875,
... |
In what title did he act in 1940? | SELECT title FROM table_name_65 WHERE year = 1940 | [
818,
644,
3670,
750,
339,
719,
287,
16236,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
2996,
33411,
614,
796,
16236
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
3670,
750,
339,
719,
287,
16236,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
2996,
33411,
614,
796,
16236
] |
What is Top Par, when Country is Sweden? | SELECT "To par" FROM table_50196 WHERE "Country" = 'sweden' | [
2061,
318,
5849,
2547,
11,
618,
12946,
318,
10710,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
33548,
4846,
33411,
366,
33921,
1,
796,
705,
2032,
31829,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5849,
2547,
11,
618,
12946,
318,
10710,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
33548,
4846,
33411,
366,
33921,
1,
796,
705,
2032,
31829,
6
] |
how many times have patient 030-3372's been to intensive care unit in 2101? | SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-3372') AND STRFTIME('%y', patient.unitadmittime) = '2101' | [
4919,
867,
1661,
423,
5827,
657,
1270,
12,
2091,
4761,
338,
587,
284,
18590,
1337,
4326,
287,
2310,
486,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
423,
5827,
657,
1270,
12,
2091,
4761,
338,
587,
284,
18590,
1337,
4326,
287,
2310,
486,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948... |
Answers per Day (with Graph). | SELECT DATE(CreationDate) AS "date", COUNT(*) AS "answers" FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##UserID##' GROUP BY DATE(CreationDate) ORDER BY DATE(CreationDate) DESC | [
2025,
37848,
583,
3596,
357,
4480,
29681,
737,
46506,
360,
6158,
7,
12443,
341,
10430,
8,
7054,
366,
4475,
1600,
327,
28270,
7,
28104,
7054,
366,
504,
86,
364,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
73... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2025,
37848,
583,
3596,
357,
4480,
29681,
737,
46506,
360,
6158,
7,
12443,
341,
10430,
8,
7054,
366,
4475,
1600,
327,
28270,
7,
28104,
7054,
366,
504,
86,
364,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
73... |
Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white? | SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white" | [
13828,
5535,
468,
257,
12346,
1303,
4025,
621,
1679,
11,
290,
257,
10485,
286,
767,
11,
290,
257,
6530,
286,
442,
2442,
2330,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1485,
33411,
2298,
834,
17618,
1875,
1679,
5357,
2835,
796,
767,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5535,
468,
257,
12346,
1303,
4025,
621,
1679,
11,
290,
257,
10485,
286,
767,
11,
290,
257,
6530,
286,
442,
2442,
2330,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1485,
33411,
2298,
834,
17618,
1875,
1679,
5357,
2835,
796,
767,... |
What are the the approximate translations when the Morphological Category is 1st. plur. perfect? | SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect" | [
2061,
389,
262,
262,
27665,
25231,
618,
262,
41170,
2770,
21743,
318,
352,
301,
13,
30676,
13,
2818,
30,
46506,
27665,
62,
41519,
16034,
3084,
62,
1983,
5705,
24339,
62,
16,
33411,
17488,
2770,
62,
22872,
796,
366,
16,
301,
13,
30676,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
27665,
25231,
618,
262,
41170,
2770,
21743,
318,
352,
301,
13,
30676,
13,
2818,
30,
46506,
27665,
62,
41519,
16034,
3084,
62,
1983,
5705,
24339,
62,
16,
33411,
17488,
2770,
62,
22872,
796,
366,
16,
301,
13,
30676,... |
What grid has 78 laps, and Ronnie Bremer as driver? | SELECT grid FROM table_name_54 WHERE laps = 78 AND driver = "ronnie bremer" | [
2061,
10706,
468,
8699,
24590,
11,
290,
40892,
3719,
647,
355,
4639,
30,
46506,
10706,
16034,
3084,
62,
3672,
62,
4051,
33411,
24590,
796,
8699,
5357,
4639,
796,
366,
1313,
11952,
1449,
647,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10706,
468,
8699,
24590,
11,
290,
40892,
3719,
647,
355,
4639,
30,
46506,
10706,
16034,
3084,
62,
3672,
62,
4051,
33411,
24590,
796,
8699,
5357,
4639,
796,
366,
1313,
11952,
1449,
647,
1
] |
How many matches where played with Jim Pugh? | SELECT COUNT(opponents) FROM table_1028356_3 WHERE partner = "Jim Pugh" | [
2437,
867,
7466,
810,
2826,
351,
5395,
350,
6724,
30,
46506,
327,
28270,
7,
10365,
3906,
8,
16034,
3084,
62,
940,
2078,
32066,
62,
18,
33411,
5212,
796,
366,
18050,
350,
6724,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7466,
810,
2826,
351,
5395,
350,
6724,
30,
46506,
327,
28270,
7,
10365,
3906,
8,
16034,
3084,
62,
940,
2078,
32066,
62,
18,
33411,
5212,
796,
366,
18050,
350,
6724,
1
] |
What is the gross revenue in 2011 with a gross revenue in 1982 of $1,988,047? | SELECT "Gross Revenue (2011)" FROM table_67517 WHERE "Gross Revenue (1982)" = '$1,988,047' | [
2061,
318,
262,
10319,
6426,
287,
2813,
351,
257,
10319,
6426,
287,
14489,
286,
720,
16,
11,
24,
3459,
11,
48000,
30,
46506,
366,
38,
1214,
20197,
357,
9804,
16725,
16034,
3084,
62,
42444,
1558,
33411,
366,
38,
1214,
20197,
357,
30763... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10319,
6426,
287,
2813,
351,
257,
10319,
6426,
287,
14489,
286,
720,
16,
11,
24,
3459,
11,
48000,
30,
46506,
366,
38,
1214,
20197,
357,
9804,
16725,
16034,
3084,
62,
42444,
1558,
33411,
366,
38,
1214,
20197,
357,
30763... |
what is the number of patients whose death status is 0 and drug name is d12.5w? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "0" AND prescriptions.drug = "D12.5W" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
2563,
1438,
318,
288,
1065,
13,
20,
86,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1918,
3722,
318,
657,
290,
2563,
1438,
318,
288,
1065,
13,
20,
86,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... |
Visualize a bar chart for how many assets can each parts be used in? List the part name and the number, and I want to list Y-axis from high to low order. | SELECT part_name, COUNT(*) FROM Parts AS T1 JOIN Asset_Parts AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name ORDER BY COUNT(*) DESC | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
6798,
460,
1123,
3354,
307,
973,
287,
30,
7343,
262,
636,
1438,
290,
262,
1271,
11,
290,
314,
765,
284,
1351,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
636,
62,
3672,
11,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
6798,
460,
1123,
3354,
307,
973,
287,
30,
7343,
262,
636,
1438,
290,
262,
1271,
11,
290,
314,
765,
284,
1351,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
636,
62,
3672,
11,
3... |
What Loss occured on the Date of June 12? | SELECT "Loss" FROM table_15814 WHERE "Date" = 'june 12' | [
2061,
22014,
1609,
1522,
319,
262,
7536,
286,
2795,
1105,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
21273,
1415,
33411,
366,
10430,
1,
796,
705,
73,
1726,
1105,
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,
22014,
1609,
1522,
319,
262,
7536,
286,
2795,
1105,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
21273,
1415,
33411,
366,
10430,
1,
796,
705,
73,
1726,
1105,
6
] |
How many teams had an outgoing manager of antonio g mez | SELECT COUNT("Manner of departure") FROM table_74117 WHERE "Outgoing manager" = 'Antonio Gómez' | [
2437,
867,
3466,
550,
281,
28181,
4706,
286,
281,
1122,
952,
308,
502,
89,
46506,
327,
28270,
7203,
5124,
1008,
286,
12928,
4943,
16034,
3084,
62,
4524,
17657,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
13217,
261,
952,
402,
10205,
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
] | [
2437,
867,
3466,
550,
281,
28181,
4706,
286,
281,
1122,
952,
308,
502,
89,
46506,
327,
28270,
7203,
5124,
1008,
286,
12928,
4943,
16034,
3084,
62,
4524,
17657,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
13217,
261,
952,
402,
10205,
13... |
What is the 2005 when the 2008 shows grand slam tournaments? | SELECT 2005 FROM table_name_99 WHERE 2008 = "grand slam tournaments" | [
2061,
318,
262,
5075,
618,
262,
3648,
2523,
4490,
21158,
18130,
30,
46506,
5075,
16034,
3084,
62,
3672,
62,
2079,
33411,
3648,
796,
366,
23936,
21158,
18130,
1
] | [
1,
1,
1,
1,
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,
5075,
618,
262,
3648,
2523,
4490,
21158,
18130,
30,
46506,
5075,
16034,
3084,
62,
3672,
62,
2079,
33411,
3648,
796,
366,
23936,
21158,
18130,
1
] |
How many courses that do not have prerequisite? | SELECT COUNT(*) FROM course WHERE NOT course_id IN (SELECT course_id FROM prereq) | [
2437,
867,
10902,
326,
466,
407,
423,
43119,
30,
46506,
327,
28270,
7,
28104,
16034,
1781,
33411,
5626,
1781,
62,
312,
3268,
357,
46506,
1781,
62,
312,
16034,
662,
42180,
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
] | [
2437,
867,
10902,
326,
466,
407,
423,
43119,
30,
46506,
327,
28270,
7,
28104,
16034,
1781,
33411,
5626,
1781,
62,
312,
3268,
357,
46506,
1781,
62,
312,
16034,
662,
42180,
8
] |
i need a flight from PHILADELPHIA to DALLAS that stops in ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND CITY_2.cit... | [
72,
761,
257,
5474,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
326,
9911,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
761,
257,
5474,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
326,
9911,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389... |
What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf? | SELECT "Height" FROM table_58757 WHERE "Weight" = 'kg (lb)' AND "Club" = 'sainte-foy' AND "Pos." = 'cf' | [
2061,
318,
262,
27280,
611,
262,
3463,
318,
14211,
357,
23160,
828,
262,
3430,
318,
311,
391,
660,
12,
69,
726,
290,
262,
1426,
318,
30218,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
3365,
39251,
33411,
366,
25844,
1,
796,
705,
1002... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27280,
611,
262,
3463,
318,
14211,
357,
23160,
828,
262,
3430,
318,
311,
391,
660,
12,
69,
726,
290,
262,
1426,
318,
30218,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
3365,
39251,
33411,
366,
25844,
1,
796,
705,
1002... |
What is the most gold when the rank is 7 and bronze is less than 0? | SELECT MAX(gold) FROM table_name_40 WHERE rank = "7" AND bronze < 0 | [
2061,
318,
262,
749,
3869,
618,
262,
4279,
318,
767,
290,
22101,
318,
1342,
621,
657,
30,
46506,
25882,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
4279,
796,
366,
22,
1,
5357,
22101,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
749,
3869,
618,
262,
4279,
318,
767,
290,
22101,
318,
1342,
621,
657,
30,
46506,
25882,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
4279,
796,
366,
22,
1,
5357,
22101,
1279,
657
] |
Show the type of school and the number of buses for each type in a bar chart, show by the Type in ascending. | SELECT Type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T2.Type ORDER BY Type | [
15307,
262,
2099,
286,
1524,
290,
262,
1271,
286,
16893,
329,
1123,
2099,
287,
257,
2318,
8262,
11,
905,
416,
262,
5994,
287,
41988,
13,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
1524,
62,
10885,
7054,
309,
16,
32357,
1268,
1524,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
2099,
286,
1524,
290,
262,
1271,
286,
16893,
329,
1123,
2099,
287,
257,
2318,
8262,
11,
905,
416,
262,
5994,
287,
41988,
13,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
1524,
62,
10885,
7054,
309,
16,
32357,
1268,
1524,
... |
provide me with the four most common diagnoses since 6 years ago. | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-6 year') GROUP BY diagnoses_icd.... | [
15234,
485,
502,
351,
262,
1440,
749,
2219,
40567,
1201,
718,
812,
2084,
13,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
502,
351,
262,
1440,
749,
2219,
40567,
1201,
718,
812,
2084,
13,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
29... |
What district is eugene worley from? | SELECT "District" FROM table_18578 WHERE "Incumbent" = 'Eugene Worley' | [
2061,
4783,
318,
304,
1018,
1734,
476,
1636,
422,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
38907,
33411,
366,
25517,
2178,
298,
1,
796,
705,
36,
1018,
1734,
16597,
1636,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4783,
318,
304,
1018,
1734,
476,
1636,
422,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
38907,
33411,
366,
25517,
2178,
298,
1,
796,
705,
36,
1018,
1734,
16597,
1636,
6
] |
Which kind of release type is the most popular? | SELECT releasetype FROM torrents GROUP BY releasetype ORDER BY SUM(totalsnatched) DESC LIMIT 1 | [
13828,
1611,
286,
2650,
2099,
318,
262,
749,
2968,
30,
46506,
1889,
292,
2963,
431,
16034,
24458,
82,
44441,
11050,
1889,
292,
2963,
431,
38678,
11050,
35683,
7,
83,
313,
874,
77,
14265,
8,
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
] | [
13828,
1611,
286,
2650,
2099,
318,
262,
749,
2968,
30,
46506,
1889,
292,
2963,
431,
16034,
24458,
82,
44441,
11050,
1889,
292,
2963,
431,
38678,
11050,
35683,
7,
83,
313,
874,
77,
14265,
8,
22196,
34,
27564,
2043,
352
] |
Upper-level classes will be taught by whom ? | SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN program_... | [
52,
2848,
12,
5715,
6097,
481,
307,
7817,
416,
4150,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
52,
2848,
12,
5715,
6097,
481,
307,
7817,
416,
4150,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
1731... |
Name the least flaps | SELECT MIN(flaps) FROM table_24466191_1 | [
5376,
262,
1551,
781,
1686,
46506,
20625,
7,
2704,
1686,
8,
16034,
3084,
62,
25707,
2791,
26492,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1551,
781,
1686,
46506,
20625,
7,
2704,
1686,
8,
16034,
3084,
62,
25707,
2791,
26492,
62,
16
] |
How much December has a Score of 5 2, and a Game smaller than 27? | SELECT COUNT(december) FROM table_name_81 WHERE score = "5–2" AND game < 27 | [
2437,
881,
3426,
468,
257,
15178,
286,
642,
362,
11,
290,
257,
3776,
4833,
621,
2681,
30,
46506,
327,
28270,
7,
2934,
3273,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
4776,
796,
366,
20,
1906,
17,
1,
5357,
983,
1279,
2681
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3426,
468,
257,
15178,
286,
642,
362,
11,
290,
257,
3776,
4833,
621,
2681,
30,
46506,
327,
28270,
7,
2934,
3273,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
4776,
796,
366,
20,
1906,
17,
1,
5357,
983,
1279,
2681
] |
What is the engine for the bmw motorsport entrant with 123 points before 2004? | SELECT "Engine" FROM table_70388 WHERE "Year" < '2004' AND "Entrant" = 'bmw motorsport' AND "Points" = '123' | [
2061,
318,
262,
3113,
329,
262,
275,
76,
86,
24699,
634,
920,
5250,
351,
17031,
2173,
878,
5472,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
2154,
30460,
33411,
366,
17688,
1,
1279,
705,
15724,
6,
5357,
366,
14539,
5250,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3113,
329,
262,
275,
76,
86,
24699,
634,
920,
5250,
351,
17031,
2173,
878,
5472,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
2154,
30460,
33411,
366,
17688,
1,
1279,
705,
15724,
6,
5357,
366,
14539,
5250,
1,
796,
705,... |
What is the Role in the 1st Division Honduras Tournament? | SELECT role FROM table_name_82 WHERE tournament = "1st division honduras" | [
2061,
318,
262,
20934,
287,
262,
352,
301,
7458,
32982,
9595,
30,
46506,
2597,
16034,
3084,
62,
3672,
62,
6469,
33411,
7756,
796,
366,
16,
301,
7297,
289,
623,
17786,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
20934,
287,
262,
352,
301,
7458,
32982,
9595,
30,
46506,
2597,
16034,
3084,
62,
3672,
62,
6469,
33411,
7756,
796,
366,
16,
301,
7297,
289,
623,
17786,
1
] |
what is religion of subject name kelly gallardo? | SELECT demographic.religion FROM demographic WHERE demographic.name = "Kelly Gallardo" | [
10919,
318,
5737,
286,
2426,
1438,
885,
12810,
7976,
13109,
30,
46506,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
34831,
7096,
13109,
1
] | [
1,
1,
1,
1,
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,
5737,
286,
2426,
1438,
885,
12810,
7976,
13109,
30,
46506,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
34831,
7096,
13109,
1
] |
A bar chart for what are the number of the name of rooms booked by customers whose first name has 'ROY' in part?, list by the Y-axis in descending. | SELECT roomName, COUNT(roomName) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE FirstName LIKE '%ROY%' GROUP BY roomName ORDER BY COUNT(roomName) DESC | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
1438,
286,
9519,
21765,
416,
4297,
3025,
717,
1438,
468,
705,
13252,
56,
6,
287,
636,
21747,
1351,
416,
262,
575,
12,
22704,
287,
31491,
13,
46506,
2119,
5376,
11,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
1438,
286,
9519,
21765,
416,
4297,
3025,
717,
1438,
468,
705,
13252,
56,
6,
287,
636,
21747,
1351,
416,
262,
575,
12,
22704,
287,
31491,
13,
46506,
2119,
5376,
11,
327,
28270,
7,
... |
What is the lowest laps with a 142.744 qual? | SELECT MIN(laps) FROM table_name_34 WHERE qual = "142.744" | [
2061,
318,
262,
9016,
24590,
351,
257,
25181,
13,
22,
2598,
4140,
30,
46506,
20625,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
4140,
796,
366,
23726,
13,
22,
2598,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
24590,
351,
257,
25181,
13,
22,
2598,
4140,
30,
46506,
20625,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
4140,
796,
366,
23726,
13,
22,
2598,
1
] |
Who was the offensive award winner the week when Bob Watson was given the overall award? | SELECT "Offensive" FROM table_19151 WHERE "Overall" = 'Bob Watson' | [
8241,
373,
262,
5859,
5764,
8464,
262,
1285,
618,
5811,
14959,
373,
1813,
262,
4045,
5764,
30,
46506,
366,
9362,
2021,
1,
16034,
3084,
62,
1129,
24309,
33411,
366,
16350,
1,
796,
705,
18861,
14959,
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
] | [
8241,
373,
262,
5859,
5764,
8464,
262,
1285,
618,
5811,
14959,
373,
1813,
262,
4045,
5764,
30,
46506,
366,
9362,
2021,
1,
16034,
3084,
62,
1129,
24309,
33411,
366,
16350,
1,
796,
705,
18861,
14959,
6
] |
What is the ICAO for the destination in Armenia? | SELECT "ICAO" FROM table_42368 WHERE "Country" = 'armenia' | [
2061,
318,
262,
314,
8141,
46,
329,
262,
10965,
287,
32369,
30,
46506,
366,
25241,
46,
1,
16034,
3084,
62,
43356,
3104,
33411,
366,
33921,
1,
796,
705,
1670,
268,
544,
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,
314,
8141,
46,
329,
262,
10965,
287,
32369,
30,
46506,
366,
25241,
46,
1,
16034,
3084,
62,
43356,
3104,
33411,
366,
33921,
1,
796,
705,
1670,
268,
544,
6
] |
What engine did the Team Lotus have after 1965? | SELECT engine FROM table_name_63 WHERE entrant = "team lotus" AND year > 1965 | [
2061,
3113,
750,
262,
4816,
27578,
423,
706,
17672,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
5066,
33411,
920,
5250,
796,
366,
15097,
1256,
385,
1,
5357,
614,
1875,
17672
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3113,
750,
262,
4816,
27578,
423,
706,
17672,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
5066,
33411,
920,
5250,
796,
366,
15097,
1256,
385,
1,
5357,
614,
1875,
17672
] |
What is the number of branches that have more than the average number of memberships? | SELECT COUNT(*) FROM branch WHERE membership_amount > (SELECT AVG(membership_amount) FROM branch) | [
2061,
318,
262,
1271,
286,
13737,
326,
423,
517,
621,
262,
2811,
1271,
286,
1866,
5748,
30,
46506,
327,
28270,
7,
28104,
16034,
8478,
33411,
9931,
62,
17287,
1875,
357,
46506,
35224,
7,
30814,
1056,
62,
17287,
8,
16034,
8478,
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
] | [
2061,
318,
262,
1271,
286,
13737,
326,
423,
517,
621,
262,
2811,
1271,
286,
1866,
5748,
30,
46506,
327,
28270,
7,
28104,
16034,
8478,
33411,
9931,
62,
17287,
1875,
357,
46506,
35224,
7,
30814,
1056,
62,
17287,
8,
16034,
8478,
8
] |
what is the number of patients whose religion is romanian east. orth and lab test name is reticulocyte count, automated? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "ROMANIAN EAST. ORTH" AND lab.label = "Reticulocyte Count, Automated" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5737,
318,
374,
5185,
666,
7627,
13,
29617,
290,
2248,
1332,
1438,
318,
1005,
291,
377,
43320,
954,
11,
16359,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5737,
318,
374,
5185,
666,
7627,
13,
29617,
290,
2248,
1332,
1438,
318,
1005,
291,
377,
43320,
954,
11,
16359,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
160... |
what is the daily maximum dose of iv other given to patient 028-43966 since 93 months ago? | SELECT MAX(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-43966')) AND intakeoutput.celllabel = 'iv ot... | [
10919,
318,
262,
4445,
5415,
10742,
286,
21628,
584,
1813,
284,
5827,
657,
2078,
12,
47106,
2791,
1201,
10261,
1933,
2084,
30,
46506,
25882,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4445,
5415,
10742,
286,
21628,
584,
1813,
284,
5827,
657,
2078,
12,
47106,
2791,
1201,
10261,
1933,
2084,
30,
46506,
25882,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915... |
Who directed the film originally named Bye Bye Brazil in Portuguese? | SELECT director FROM table_name_4 WHERE language = "portuguese" AND original_name = "bye bye brazil" | [
8241,
7924,
262,
2646,
6198,
3706,
47843,
47843,
7595,
287,
21813,
30,
46506,
3437,
16034,
3084,
62,
3672,
62,
19,
33411,
3303,
796,
366,
634,
1018,
20506,
1,
5357,
2656,
62,
3672,
796,
366,
16390,
33847,
275,
7098,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7924,
262,
2646,
6198,
3706,
47843,
47843,
7595,
287,
21813,
30,
46506,
3437,
16034,
3084,
62,
3672,
62,
19,
33411,
3303,
796,
366,
634,
1018,
20506,
1,
5357,
2656,
62,
3672,
796,
366,
16390,
33847,
275,
7098,
1
] |
what specimen test was given to patient 031-1337 for the first time? | SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-1337')) ORDER BY microlab.culturetakentime LIMIT 1 | [
10919,
31674,
1332,
373,
1813,
284,
5827,
657,
3132,
12,
1485,
2718,
329,
262,
717,
640,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31674,
1332,
373,
1813,
284,
5827,
657,
3132,
12,
1485,
2718,
329,
262,
717,
640,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... |
What was the regular season from year 2012? | SELECT regular_season FROM table_15409403_1 WHERE year = 2012 | [
2061,
373,
262,
3218,
1622,
422,
614,
2321,
30,
46506,
3218,
62,
6230,
16034,
3084,
62,
1314,
29416,
31552,
62,
16,
33411,
614,
796,
2321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3218,
1622,
422,
614,
2321,
30,
46506,
3218,
62,
6230,
16034,
3084,
62,
1314,
29416,
31552,
62,
16,
33411,
614,
796,
2321
] |
what kind of airplane is flight UA 270 from DENVER to PHILADELPHIA | SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.cit... | [
10919,
1611,
286,
19401,
318,
5474,
46164,
20479,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1611,
286,
19401,
318,
5474,
46164,
20479,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35... |
how many patients were admitted to the hospital before the year 2184 with the procedure short title left heart cardiac cath? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2184" AND procedures.short_title = "Left heart cardiac cath" | [
4919,
867,
3871,
547,
6848,
284,
262,
4436,
878,
262,
614,
362,
22883,
351,
262,
8771,
1790,
3670,
1364,
2612,
26077,
32171,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
6848,
284,
262,
4436,
878,
262,
614,
362,
22883,
351,
262,
8771,
1790,
3670,
1364,
2612,
26077,
32171,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable? | SELECT "Cancelable" FROM table_37677 WHERE "Bubbles" = 'no' AND "Category" = 'miscellaneous' AND "Type" = 'propertychange' | [
2215,
19645,
7689,
286,
645,
11,
290,
257,
21743,
286,
2984,
25673,
11,
290,
257,
5994,
286,
3119,
3803,
11,
644,
373,
262,
27910,
540,
30,
46506,
366,
34,
21130,
540,
1,
16034,
3084,
62,
2718,
40179,
33411,
366,
33,
549,
7689,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19645,
7689,
286,
645,
11,
290,
257,
21743,
286,
2984,
25673,
11,
290,
257,
5994,
286,
3119,
3803,
11,
644,
373,
262,
27910,
540,
30,
46506,
366,
34,
21130,
540,
1,
16034,
3084,
62,
2718,
40179,
33411,
366,
33,
549,
7689,
1,
... |
What the production code for the episode with 16.10 U.S. viewers? | SELECT MAX("Production code") FROM table_26319 WHERE "U.S. viewers (millions)" = '16.10' | [
2061,
262,
3227,
2438,
329,
262,
4471,
351,
1467,
13,
940,
471,
13,
50,
13,
10209,
30,
46506,
25882,
7203,
35027,
2438,
4943,
16034,
3084,
62,
29558,
1129,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
1433,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
3227,
2438,
329,
262,
4471,
351,
1467,
13,
940,
471,
13,
50,
13,
10209,
30,
46506,
25882,
7203,
35027,
2438,
4943,
16034,
3084,
62,
29558,
1129,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
1433,
1... |
find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion. | SELECT rank, company, market_value FROM company WHERE main_industry = 'Banking' ORDER BY sales_billion, profits_billion | [
19796,
262,
4279,
11,
1664,
3891,
11,
1910,
3815,
286,
262,
2706,
287,
262,
11754,
2831,
1502,
416,
511,
4200,
290,
10177,
287,
2997,
13,
46506,
4279,
11,
1664,
11,
1910,
62,
8367,
16034,
1664,
33411,
1388,
62,
23213,
563,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
4279,
11,
1664,
3891,
11,
1910,
3815,
286,
262,
2706,
287,
262,
11754,
2831,
1502,
416,
511,
4200,
290,
10177,
287,
2997,
13,
46506,
4279,
11,
1664,
11,
1910,
62,
8367,
16034,
1664,
33411,
1388,
62,
23213,
563,
796,
705,
... |
What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8? | SELECT MIN("Played 2") FROM table_53854 WHERE "Lost" > '83' AND "Seasons" = '8' AND "Club 1" = 'chernomorets novorossiysk' AND "Drawn" < '65' | [
2061,
318,
262,
9016,
2826,
362,
1271,
351,
1342,
621,
9698,
9089,
290,
1342,
621,
6135,
14293,
351,
37243,
22113,
912,
5267,
273,
793,
72,
893,
74,
287,
1622,
807,
30,
46506,
20625,
7203,
11002,
276,
362,
4943,
16034,
3084,
62,
49561... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2826,
362,
1271,
351,
1342,
621,
9698,
9089,
290,
1342,
621,
6135,
14293,
351,
37243,
22113,
912,
5267,
273,
793,
72,
893,
74,
287,
1622,
807,
30,
46506,
20625,
7203,
11002,
276,
362,
4943,
16034,
3084,
62,
49561... |
Create a bar chart showing the total number across sex, could you order in desc by the Sex? | SELECT Sex, COUNT(*) FROM Faculty GROUP BY Sex ORDER BY Sex DESC | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1714,
11,
714,
345,
1502,
287,
1715,
416,
262,
14419,
30,
46506,
14419,
11,
327,
28270,
7,
28104,
16034,
35262,
44441,
11050,
14419,
38678,
11050,
14419,
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
] | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1714,
11,
714,
345,
1502,
287,
1715,
416,
262,
14419,
30,
46506,
14419,
11,
327,
28270,
7,
28104,
16034,
35262,
44441,
11050,
14419,
38678,
11050,
14419,
22196,
34
] |
What is the 2012 value with A in 2007 and qf in 2011? | SELECT "2012" FROM table_67906 WHERE "2007" = 'a' AND "2011" = 'qf' | [
2061,
318,
262,
2321,
1988,
351,
317,
287,
4343,
290,
10662,
69,
287,
2813,
30,
46506,
366,
6999,
1,
16034,
3084,
62,
37601,
3312,
33411,
366,
12726,
1,
796,
705,
64,
6,
5357,
366,
9804,
1,
796,
705,
80,
69,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2321,
1988,
351,
317,
287,
4343,
290,
10662,
69,
287,
2813,
30,
46506,
366,
6999,
1,
16034,
3084,
62,
37601,
3312,
33411,
366,
12726,
1,
796,
705,
64,
6,
5357,
366,
9804,
1,
796,
705,
80,
69,
6
] |
Who was the home team on November 22? | SELECT "Home" FROM table_9924 WHERE "Date" = 'november 22' | [
8241,
373,
262,
1363,
1074,
319,
3389,
2534,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
2079,
1731,
33411,
366,
10430,
1,
796,
705,
77,
3239,
2534,
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,
373,
262,
1363,
1074,
319,
3389,
2534,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
2079,
1731,
33411,
366,
10430,
1,
796,
705,
77,
3239,
2534,
6
] |
Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6? | SELECT MAX("Overall") FROM table_39404 WHERE "Name" = 'daimon shelton' AND "Round" > '6' | [
13828,
14674,
318,
262,
4511,
530,
326,
468,
257,
6530,
286,
288,
49438,
7497,
1122,
11,
290,
257,
10485,
4025,
621,
718,
30,
46506,
25882,
7203,
16350,
4943,
16034,
3084,
62,
2670,
26429,
33411,
366,
5376,
1,
796,
705,
67,
49438,
749... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14674,
318,
262,
4511,
530,
326,
468,
257,
6530,
286,
288,
49438,
7497,
1122,
11,
290,
257,
10485,
4025,
621,
718,
30,
46506,
25882,
7203,
16350,
4943,
16034,
3084,
62,
2670,
26429,
33411,
366,
5376,
1,
796,
705,
67,
49438,
749... |
what are the top five most frequent procedures that are followed during the same month for patients who received lumb/lmbosac fus ant/ant since 4 years ago? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admi... | [
10919,
389,
262,
1353,
1936,
749,
10792,
9021,
326,
389,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
2722,
300,
2178,
14,
75,
2022,
418,
330,
277,
385,
1885,
14,
415,
1201,
604,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1936,
749,
10792,
9021,
326,
389,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
2722,
300,
2178,
14,
75,
2022,
418,
330,
277,
385,
1885,
14,
415,
1201,
604,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
77... |
Which Position has a Round larger than 4, and a Player of patrick johnson? | SELECT "Position" FROM table_13046 WHERE "Round" > '4' AND "Player" = 'patrick johnson' | [
13828,
23158,
468,
257,
10485,
4025,
621,
604,
11,
290,
257,
7853,
286,
1458,
5557,
45610,
1559,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
12952,
3510,
33411,
366,
22685,
1,
1875,
705,
19,
6,
5357,
366,
14140,
1,
796,
705,
29615,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23158,
468,
257,
10485,
4025,
621,
604,
11,
290,
257,
7853,
286,
1458,
5557,
45610,
1559,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
12952,
3510,
33411,
366,
22685,
1,
1875,
705,
19,
6,
5357,
366,
14140,
1,
796,
705,
29615,
4... |
Name the being qualities for having things of language, religions, work, customs, values, norms | SELECT "Being (qualities)" FROM table_68449 WHERE "Having (things)" = 'language, religions, work, customs, values, norms' | [
5376,
262,
852,
14482,
329,
1719,
1243,
286,
3303,
11,
18879,
11,
670,
11,
17112,
11,
3815,
11,
19444,
46506,
366,
18357,
357,
13255,
871,
16725,
16034,
3084,
62,
3104,
31911,
33411,
366,
14698,
357,
27971,
16725,
796,
705,
16129,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
852,
14482,
329,
1719,
1243,
286,
3303,
11,
18879,
11,
670,
11,
17112,
11,
3815,
11,
19444,
46506,
366,
18357,
357,
13255,
871,
16725,
16034,
3084,
62,
3104,
31911,
33411,
366,
14698,
357,
27971,
16725,
796,
705,
16129,
11,
... |
when was patient 78221 admitted for the first time to the hospital until 3 years ago? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 78221 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY admissions.admittime LIMIT 1 | [
12518,
373,
5827,
8699,
26115,
6848,
329,
262,
717,
640,
284,
262,
4436,
1566,
513,
812,
2084,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
8699,
26115,
5357,
360,
1404,
2767,
12789,
7,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
5827,
8699,
26115,
6848,
329,
262,
717,
640,
284,
262,
4436,
1566,
513,
812,
2084,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
8699,
26115,
5357,
360,
1404,
2767,
12789,
7,
3... |
Draw a bar chart to compare the stars of each movie by title, and sort in descending by the Y-axis. | SELECT title, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY stars DESC | [
25302,
257,
2318,
8262,
284,
8996,
262,
5788,
286,
1123,
3807,
416,
3670,
11,
290,
3297,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
3670,
11,
5788,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
8996,
262,
5788,
286,
1123,
3807,
416,
3670,
11,
290,
3297,
287,
31491,
416,
262,
575,
12,
22704,
13,
46506,
3670,
11,
5788,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
... |
What is the total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long less than 34, had? | SELECT COUNT("Loss") FROM table_69320 WHERE "Gain" > '27' AND "Avg/G" < '55.9' AND "Name" = 'jackson, t.' AND "Long" < '34' | [
2061,
318,
262,
2472,
1271,
286,
9089,
6612,
11,
309,
1539,
508,
550,
517,
621,
2681,
4461,
11,
281,
42781,
14,
70,
4833,
621,
5996,
13,
24,
11,
290,
257,
890,
1342,
621,
4974,
11,
550,
30,
46506,
327,
28270,
7203,
43,
793,
4943,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9089,
6612,
11,
309,
1539,
508,
550,
517,
621,
2681,
4461,
11,
281,
42781,
14,
70,
4833,
621,
5996,
13,
24,
11,
290,
257,
890,
1342,
621,
4974,
11,
550,
30,
46506,
327,
28270,
7203,
43,
793,
4943,
... |
Which position's cfl team was the Montreal Alouettes when the pick number was less than 15? | SELECT position FROM table_name_52 WHERE cfl_team = "montreal alouettes" AND pick__number < 15 | [
13828,
2292,
338,
269,
2704,
1074,
373,
262,
12871,
978,
280,
23014,
618,
262,
2298,
1271,
373,
1342,
621,
1315,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4309,
33411,
269,
2704,
62,
15097,
796,
366,
8691,
5305,
435,
280,
23014,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
269,
2704,
1074,
373,
262,
12871,
978,
280,
23014,
618,
262,
2298,
1271,
373,
1342,
621,
1315,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4309,
33411,
269,
2704,
62,
15097,
796,
366,
8691,
5305,
435,
280,
23014,
1,
... |
What was the total viewership for BBC One weekly rankings larger than 7, before episode 4? | SELECT "Total Viewers" FROM table_69075 WHERE "BBC One Weekly Ranking" > '7' AND "Episode No." < '4' | [
2061,
373,
262,
2472,
48347,
329,
7823,
1881,
10273,
16905,
4025,
621,
767,
11,
878,
4471,
604,
30,
46506,
366,
14957,
3582,
364,
1,
16034,
3084,
62,
35844,
2425,
33411,
366,
33833,
1881,
18168,
45407,
1,
1875,
705,
22,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2472,
48347,
329,
7823,
1881,
10273,
16905,
4025,
621,
767,
11,
878,
4471,
604,
30,
46506,
366,
14957,
3582,
364,
1,
16034,
3084,
62,
35844,
2425,
33411,
366,
33833,
1881,
18168,
45407,
1,
1875,
705,
22,
6,
5357,
366,
... |
What is the Report with a Score of 3 1, and Set 1 is 19 25? | SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25" | [
2061,
318,
262,
6358,
351,
257,
15178,
286,
513,
352,
11,
290,
5345,
352,
318,
678,
1679,
30,
46506,
989,
16034,
3084,
62,
3672,
62,
1065,
33411,
4776,
796,
366,
18,
1906,
16,
1,
5357,
900,
62,
16,
796,
366,
1129,
1906,
1495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6358,
351,
257,
15178,
286,
513,
352,
11,
290,
5345,
352,
318,
678,
1679,
30,
46506,
989,
16034,
3084,
62,
3672,
62,
1065,
33411,
4776,
796,
366,
18,
1906,
16,
1,
5357,
900,
62,
16,
796,
366,
1129,
1906,
1495,
1
] |
What day has a record of 25 30 13 and less than 63 points? | SELECT AVG("March") FROM table_36298 WHERE "Record" = '25–30–13' AND "Points" < '63' | [
2061,
1110,
468,
257,
1700,
286,
1679,
1542,
1511,
290,
1342,
621,
8093,
2173,
30,
46506,
35224,
7203,
16192,
4943,
16034,
3084,
62,
2623,
27728,
33411,
366,
23739,
1,
796,
705,
1495,
1906,
1270,
1906,
1485,
6,
5357,
366,
40710,
1,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1110,
468,
257,
1700,
286,
1679,
1542,
1511,
290,
1342,
621,
8093,
2173,
30,
46506,
35224,
7203,
16192,
4943,
16034,
3084,
62,
2623,
27728,
33411,
366,
23739,
1,
796,
705,
1495,
1906,
1270,
1906,
1485,
6,
5357,
366,
40710,
1,
12... |
which train name arrives in lonavla at 17:45 | SELECT train_name FROM table_29301050_1 WHERE arrival_lonavla = "17:45" | [
4758,
4512,
1438,
14443,
287,
300,
261,
615,
5031,
379,
1596,
25,
2231,
46506,
4512,
62,
3672,
16034,
3084,
62,
1959,
18938,
28669,
62,
16,
33411,
10325,
62,
14995,
615,
5031,
796,
366,
1558,
25,
2231,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4512,
1438,
14443,
287,
300,
261,
615,
5031,
379,
1596,
25,
2231,
46506,
4512,
62,
3672,
16034,
3084,
62,
1959,
18938,
28669,
62,
16,
33411,
10325,
62,
14995,
615,
5031,
796,
366,
1558,
25,
2231,
1
] |
Which Spring or Summer courses are available to meet my Other requirement ? | SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, program_course AS PROGRAM_COURSEalias0... | [
13828,
8225,
393,
10216,
10902,
389,
1695,
284,
1826,
616,
3819,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
11,
48603,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8225,
393,
10216,
10902,
389,
1695,
284,
1826,
616,
3819,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
11,
48603,
... |
Which region has and eyeball label and catalogue 7200222? | SELECT region FROM table_name_23 WHERE label = "eyeball" AND catalogue = "7200222" | [
13828,
3814,
468,
290,
16067,
439,
6167,
290,
34614,
767,
2167,
23148,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1954,
33411,
6167,
796,
366,
2959,
1765,
439,
1,
5357,
34614,
796,
366,
22,
2167,
23148,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3814,
468,
290,
16067,
439,
6167,
290,
34614,
767,
2167,
23148,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1954,
33411,
6167,
796,
366,
2959,
1765,
439,
1,
5357,
34614,
796,
366,
22,
2167,
23148,
1
] |
Which Engine has a Model of sl500, and a Chassis smaller than 129.067? | SELECT MIN("Engine") FROM table_78989 WHERE "Model" = 'sl500' AND "Chassis" < '129.067' | [
13828,
7117,
468,
257,
9104,
286,
1017,
4059,
11,
290,
257,
609,
20297,
4833,
621,
20248,
13,
15,
3134,
30,
46506,
20625,
7203,
13798,
4943,
16034,
3084,
62,
3695,
42520,
33411,
366,
17633,
1,
796,
705,
6649,
4059,
6,
5357,
366,
1925,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7117,
468,
257,
9104,
286,
1017,
4059,
11,
290,
257,
609,
20297,
4833,
621,
20248,
13,
15,
3134,
30,
46506,
20625,
7203,
13798,
4943,
16034,
3084,
62,
3695,
42520,
33411,
366,
17633,
1,
796,
705,
6649,
4059,
6,
5357,
366,
1925,... |
What is the release date if the code name is Aoba? | SELECT "Release date" FROM table_26144 WHERE "Code name" = 'Aoba' | [
2061,
318,
262,
2650,
3128,
611,
262,
2438,
1438,
318,
317,
19981,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
2075,
18444,
33411,
366,
10669,
1438,
1,
796,
705,
32,
19981,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2650,
3128,
611,
262,
2438,
1438,
318,
317,
19981,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
2075,
18444,
33411,
366,
10669,
1438,
1,
796,
705,
32,
19981,
6
] |
Which state does Jimmy Quillen represent? | SELECT "State" FROM table_80458 WHERE "Representative" = 'jimmy quillen' | [
13828,
1181,
857,
12963,
2264,
359,
268,
2380,
30,
46506,
366,
9012,
1,
16034,
3084,
62,
1795,
29334,
33411,
366,
40171,
876,
1,
796,
705,
73,
320,
1820,
627,
359,
268,
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,
1181,
857,
12963,
2264,
359,
268,
2380,
30,
46506,
366,
9012,
1,
16034,
3084,
62,
1795,
29334,
33411,
366,
40171,
876,
1,
796,
705,
73,
320,
1820,
627,
359,
268,
6
] |
What is the highest number of wins of the team with a position less than 1? | SELECT MAX("Wins") FROM table_39948 WHERE "Position" < '1' | [
2061,
318,
262,
4511,
1271,
286,
7864,
286,
262,
1074,
351,
257,
2292,
1342,
621,
352,
30,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
28771,
2780,
33411,
366,
26545,
1,
1279,
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
] | [
2061,
318,
262,
4511,
1271,
286,
7864,
286,
262,
1074,
351,
257,
2292,
1342,
621,
352,
30,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
28771,
2780,
33411,
366,
26545,
1,
1279,
705,
16,
6
] |
What was the label in the region of Argentina and had a format of CD? | SELECT "Label" FROM table_46827 WHERE "Format" = 'cd' AND "Region" = 'argentina' | [
2061,
373,
262,
6167,
287,
262,
3814,
286,
16519,
290,
550,
257,
5794,
286,
6458,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
38472,
1983,
33411,
366,
26227,
1,
796,
705,
10210,
6,
5357,
366,
47371,
1,
796,
705,
853,
298,
1437,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
6167,
287,
262,
3814,
286,
16519,
290,
550,
257,
5794,
286,
6458,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
38472,
1983,
33411,
366,
26227,
1,
796,
705,
10210,
6,
5357,
366,
47371,
1,
796,
705,
853,
298,
1437,
6
] |
Who was the first couple in the episode having a fourth couple of Sammy and Nat? | SELECT "First couple" FROM table_27976 WHERE "Fourth couple" = 'Sammy and Nat' | [
8241,
373,
262,
717,
3155,
287,
262,
4471,
1719,
257,
5544,
3155,
286,
44067,
290,
14393,
30,
46506,
366,
5962,
3155,
1,
16034,
3084,
62,
26050,
4304,
33411,
366,
45530,
3155,
1,
796,
705,
16305,
1820,
290,
14393,
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
] | [
8241,
373,
262,
717,
3155,
287,
262,
4471,
1719,
257,
5544,
3155,
286,
44067,
290,
14393,
30,
46506,
366,
5962,
3155,
1,
16034,
3084,
62,
26050,
4304,
33411,
366,
45530,
3155,
1,
796,
705,
16305,
1820,
290,
14393,
6
] |
What is the highest entry in November for the game 20? | SELECT MAX(november) FROM table_27539535_4 WHERE game = 20 | [
2061,
318,
262,
4511,
5726,
287,
3389,
329,
262,
983,
1160,
30,
46506,
25882,
7,
77,
3239,
8,
16034,
3084,
62,
23195,
31010,
2327,
62,
19,
33411,
983,
796,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
5726,
287,
3389,
329,
262,
983,
1160,
30,
46506,
25882,
7,
77,
3239,
8,
16034,
3084,
62,
23195,
31010,
2327,
62,
19,
33411,
983,
796,
1160
] |
what's the department with acronym being deped (ked) | SELECT "Department" FROM table_656 WHERE "Acronym" = 'DepEd (KEd)' | [
10919,
338,
262,
5011,
351,
38787,
852,
1207,
276,
357,
9091,
8,
46506,
366,
36261,
1,
16034,
3084,
62,
37466,
33411,
366,
12832,
1313,
4948,
1,
796,
705,
12156,
7407,
357,
7336,
67,
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
] | [
10919,
338,
262,
5011,
351,
38787,
852,
1207,
276,
357,
9091,
8,
46506,
366,
36261,
1,
16034,
3084,
62,
37466,
33411,
366,
12832,
1313,
4948,
1,
796,
705,
12156,
7407,
357,
7336,
67,
33047
] |
What were the wins of 1983? | SELECT "Wins" FROM table_28451 WHERE "Year" = '1983' | [
2061,
547,
262,
7864,
286,
13540,
30,
46506,
366,
54,
1040,
1,
16034,
3084,
62,
2078,
36330,
33411,
366,
17688,
1,
796,
705,
29279,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
7864,
286,
13540,
30,
46506,
366,
54,
1040,
1,
16034,
3084,
62,
2078,
36330,
33411,
366,
17688,
1,
796,
705,
29279,
6
] |
What is the 2006 figure for Argentina when 2007 is less than 0,15? | SELECT COUNT(2006) FROM table_name_47 WHERE country = "argentina" AND 2007 < 0 OFFSET 15 | [
2061,
318,
262,
4793,
3785,
329,
16519,
618,
4343,
318,
1342,
621,
657,
11,
1314,
30,
46506,
327,
28270,
7,
13330,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
1499,
796,
366,
853,
298,
1437,
1,
5357,
4343,
1279,
657,
3963,
10652,
276... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4793,
3785,
329,
16519,
618,
4343,
318,
1342,
621,
657,
11,
1314,
30,
46506,
327,
28270,
7,
13330,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
1499,
796,
366,
853,
298,
1437,
1,
5357,
4343,
1279,
657,
3963,
10652,
276... |
What is the Absorbtion (in nanometers) of the color Orange? | SELECT "Absorb (nm)" FROM table_78464 WHERE "Color" = 'orange' | [
2061,
318,
262,
13051,
27688,
5378,
357,
259,
15709,
40077,
8,
286,
262,
3124,
11942,
30,
46506,
366,
24849,
27688,
357,
21533,
16725,
16034,
3084,
62,
37688,
2414,
33411,
366,
10258,
1,
796,
705,
43745,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13051,
27688,
5378,
357,
259,
15709,
40077,
8,
286,
262,
3124,
11942,
30,
46506,
366,
24849,
27688,
357,
21533,
16725,
16034,
3084,
62,
37688,
2414,
33411,
366,
10258,
1,
796,
705,
43745,
6
] |
Name the date for result of eng by 23 runs | SELECT date FROM table_name_24 WHERE result = "eng by 23 runs" | [
5376,
262,
3128,
329,
1255,
286,
1786,
416,
2242,
4539,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
1255,
796,
366,
1516,
416,
2242,
4539,
1
] | [
1,
1,
1,
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,
3128,
329,
1255,
286,
1786,
416,
2242,
4539,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
1255,
796,
366,
1516,
416,
2242,
4539,
1
] |
What is the average pick for Princeton after round 3? | SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton" | [
2061,
318,
262,
2811,
2298,
329,
23173,
706,
2835,
513,
30,
46506,
35224,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
2835,
1875,
513,
5357,
4152,
796,
366,
1050,
1939,
18483,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2298,
329,
23173,
706,
2835,
513,
30,
46506,
35224,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
2835,
1875,
513,
5357,
4152,
796,
366,
1050,
1939,
18483,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.