instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
how many top 10 uk charting singles did blue mink release ? | SELECT COUNT(*) FROM table_204_672 WHERE "uk singles chart" <= 10 | [
4919,
867,
1353,
838,
334,
74,
8262,
278,
25287,
750,
4171,
285,
676,
2650,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
43864,
33411,
366,
2724,
25287,
8262,
1,
19841,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1353,
838,
334,
74,
8262,
278,
25287,
750,
4171,
285,
676,
2650,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
43864,
33411,
366,
2724,
25287,
8262,
1,
19841,
838
] |
What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than 5.97? | SELECT MIN(population) FROM table_name_66 WHERE code < 70409 AND area__km_2__ < 5.97 AND place = "tshepiso" | [
2061,
318,
262,
20133,
286,
309,
7091,
79,
26786,
351,
257,
6127,
286,
4317,
29416,
393,
4833,
290,
281,
9498,
357,
13276,
362,
8,
4833,
621,
642,
13,
5607,
30,
46506,
20625,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2438... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20133,
286,
309,
7091,
79,
26786,
351,
257,
6127,
286,
4317,
29416,
393,
4833,
290,
281,
9498,
357,
13276,
362,
8,
4833,
621,
642,
13,
5607,
30,
46506,
20625,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2438... |
what is the goals when the country is wal, the name is smith and apps is more than 0? | SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0 | [
10919,
318,
262,
4661,
618,
262,
1499,
318,
6514,
11,
262,
1438,
318,
895,
342,
290,
6725,
318,
517,
621,
657,
30,
46506,
35683,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
1499,
796,
366,
16783,
1,
5357,
1438,
796,
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
] | [
10919,
318,
262,
4661,
618,
262,
1499,
318,
6514,
11,
262,
1438,
318,
895,
342,
290,
6725,
318,
517,
621,
657,
30,
46506,
35683,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
1499,
796,
366,
16783,
1,
5357,
1438,
796,
3... |
Name march 27-29 where january 15-16 is january 15, 1991 | SELECT "March 27-29" FROM table_21287 WHERE "January 15-16" = 'January 15, 1991' | [
5376,
9960,
2681,
12,
1959,
810,
42897,
2838,
1315,
12,
1433,
318,
42897,
2838,
1315,
11,
10249,
46506,
366,
16192,
2681,
12,
1959,
1,
16034,
3084,
62,
21777,
5774,
33411,
366,
21339,
1315,
12,
1433,
1,
796,
705,
21339,
1315,
11,
1024... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9960,
2681,
12,
1959,
810,
42897,
2838,
1315,
12,
1433,
318,
42897,
2838,
1315,
11,
10249,
46506,
366,
16192,
2681,
12,
1959,
1,
16034,
3084,
62,
21777,
5774,
33411,
366,
21339,
1315,
12,
1433,
1,
796,
705,
21339,
1315,
11,
1024... |
what is drug type of drug code cipr500? | SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.formulary_drug_cd = "CIPR500" | [
10919,
318,
2563,
2099,
286,
2563,
2438,
269,
541,
81,
4059,
30,
46506,
34092,
13,
30349,
62,
4906,
16034,
34092,
33411,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
34,
4061,
49,
4059,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2099,
286,
2563,
2438,
269,
541,
81,
4059,
30,
46506,
34092,
13,
30349,
62,
4906,
16034,
34092,
33411,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
34,
4061,
49,
4059,
1
] |
What city and state are the miners located in? | SELECT "Location" FROM table_72153 WHERE "Mascot" = 'Miners' | [
2061,
1748,
290,
1181,
389,
262,
18295,
5140,
287,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
4761,
21395,
33411,
366,
44,
3372,
313,
1,
796,
705,
9452,
364,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1748,
290,
1181,
389,
262,
18295,
5140,
287,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
4761,
21395,
33411,
366,
44,
3372,
313,
1,
796,
705,
9452,
364,
6
] |
When is class 582 offered with Bozhong Li ? | SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.number = 582 AND course_offering.semester = semester.semester_id AND instructor.name LIKE '%Bozhong Li%' AND offering_instructor.instruct... | [
2215,
318,
1398,
642,
6469,
4438,
351,
3248,
23548,
506,
7455,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
1398,
642,
6469,
4438,
351,
3248,
23548,
506,
7455,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
2... |
Show me about the distribution of Team_Name and ACC_Percent in a bar chart, list X in asc order please. | SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY Team_Name | [
15307,
502,
546,
262,
6082,
286,
4816,
62,
5376,
290,
15859,
62,
31905,
287,
257,
2318,
8262,
11,
1351,
1395,
287,
10570,
1502,
3387,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
537... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
6082,
286,
4816,
62,
5376,
290,
15859,
62,
31905,
287,
257,
2318,
8262,
11,
1351,
1395,
287,
10570,
1502,
3387,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
537... |
What is the highest amount of points for rank 95? | SELECT "Highest point" FROM table_6850 WHERE "Rank" = '95' | [
2061,
318,
262,
4511,
2033,
286,
2173,
329,
4279,
6957,
30,
46506,
366,
36124,
3634,
966,
1,
16034,
3084,
62,
3104,
1120,
33411,
366,
27520,
1,
796,
705,
3865,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2033,
286,
2173,
329,
4279,
6957,
30,
46506,
366,
36124,
3634,
966,
1,
16034,
3084,
62,
3104,
1120,
33411,
366,
27520,
1,
796,
705,
3865,
6
] |
What are the name and location of the cinema with the largest capacity? | SELECT name, LOCATION FROM cinema ORDER BY capacity DESC LIMIT 1 | [
2061,
389,
262,
1438,
290,
4067,
286,
262,
22041,
351,
262,
4387,
5339,
30,
46506,
1438,
11,
37347,
6234,
16034,
22041,
38678,
11050,
5339,
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
] | [
2061,
389,
262,
1438,
290,
4067,
286,
262,
22041,
351,
262,
4387,
5339,
30,
46506,
1438,
11,
37347,
6234,
16034,
22041,
38678,
11050,
5339,
22196,
34,
27564,
2043,
352
] |
How many king beds are there? | SELECT SUM(beds) FROM rooms WHERE bedtype = 'King' | [
2437,
867,
5822,
20237,
389,
612,
30,
46506,
35683,
7,
3077,
82,
8,
16034,
9519,
33411,
3996,
4906,
796,
705,
15708,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5822,
20237,
389,
612,
30,
46506,
35683,
7,
3077,
82,
8,
16034,
9519,
33411,
3996,
4906,
796,
705,
15708,
6
] |
What party established in 1797 won an election in 2007? | SELECT party FROM table_name_17 WHERE established > 1797 AND election = 2007 | [
2061,
2151,
4920,
287,
1596,
5607,
1839,
281,
3071,
287,
4343,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
1558,
33411,
4920,
1875,
1596,
5607,
5357,
3071,
796,
4343
] | [
1,
1,
1,
1,
1,
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,
2151,
4920,
287,
1596,
5607,
1839,
281,
3071,
287,
4343,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
1558,
33411,
4920,
1875,
1596,
5607,
5357,
3071,
796,
4343
] |
Plot the total number by grouped by industry as a bar graph | SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry | [
43328,
262,
2472,
1271,
416,
32824,
416,
2831,
355,
257,
2318,
4823,
46506,
17420,
11,
327,
28270,
7,
28104,
16034,
24382,
44441,
11050,
17420
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
262,
2472,
1271,
416,
32824,
416,
2831,
355,
257,
2318,
4823,
46506,
17420,
11,
327,
28270,
7,
28104,
16034,
24382,
44441,
11050,
17420
] |
What won the Best Female Artist if Best Lyrical Record won the Best Male Artist? | SELECT best_female_artist FROM table_22546460_4 WHERE best_male_artist = "Best Lyrical Record" | [
2061,
1839,
262,
6705,
15396,
18902,
611,
6705,
406,
2417,
605,
13266,
1839,
262,
6705,
12674,
18902,
30,
46506,
1266,
62,
24724,
62,
49016,
16034,
3084,
62,
18182,
44578,
1899,
62,
19,
33411,
1266,
62,
22606,
62,
49016,
796,
366,
13014... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1839,
262,
6705,
15396,
18902,
611,
6705,
406,
2417,
605,
13266,
1839,
262,
6705,
12674,
18902,
30,
46506,
1266,
62,
24724,
62,
49016,
16034,
3084,
62,
18182,
44578,
1899,
62,
19,
33411,
1266,
62,
22606,
62,
49016,
796,
366,
13014... |
What season had a combined of 13 and a Giant Slalom more than 31? | SELECT MAX("Season") FROM table_43740 WHERE "Combined" = '13' AND "Giant Slalom" > '31' | [
2061,
1622,
550,
257,
5929,
286,
1511,
290,
257,
17384,
3454,
282,
296,
517,
621,
3261,
30,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
43284,
1821,
33411,
366,
20575,
1389,
1,
796,
705,
1485,
6,
5357,
366,
38,
3014,
3454,
282,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
550,
257,
5929,
286,
1511,
290,
257,
17384,
3454,
282,
296,
517,
621,
3261,
30,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
43284,
1821,
33411,
366,
20575,
1389,
1,
796,
705,
1485,
6,
5357,
366,
38,
3014,
3454,
282,
... |
Which Tournament was on 2 October 2006? | SELECT "Tournament" FROM table_42891 WHERE "Date" = '2 october 2006' | [
13828,
9595,
373,
319,
362,
3267,
4793,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
40173,
6420,
33411,
366,
10430,
1,
796,
705,
17,
19318,
2023,
4793,
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,
9595,
373,
319,
362,
3267,
4793,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
40173,
6420,
33411,
366,
10430,
1,
796,
705,
17,
19318,
2023,
4793,
6
] |
How many losses did 12 de Octubre have ? | SELECT MIN(losses) FROM table_14997324_5 WHERE team = "12 de Octubre" | [
2437,
867,
9089,
750,
1105,
390,
2556,
549,
260,
423,
5633,
46506,
20625,
7,
22462,
274,
8,
16034,
3084,
62,
1415,
2079,
4790,
1731,
62,
20,
33411,
1074,
796,
366,
1065,
390,
2556,
549,
260,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
9089,
750,
1105,
390,
2556,
549,
260,
423,
5633,
46506,
20625,
7,
22462,
274,
8,
16034,
3084,
62,
1415,
2079,
4790,
1731,
62,
20,
33411,
1074,
796,
366,
1065,
390,
2556,
549,
260,
1
] |
On what date were the NY Rangers home? | SELECT date FROM table_name_98 WHERE home = "ny rangers" | [
2202,
644,
3128,
547,
262,
6645,
13804,
1363,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4089,
33411,
1363,
796,
366,
3281,
374,
6606,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
547,
262,
6645,
13804,
1363,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4089,
33411,
1363,
796,
366,
3281,
374,
6606,
1
] |
What's the score when Orient was home? | SELECT score FROM table_name_10 WHERE home_team = "orient" | [
2061,
338,
262,
4776,
618,
35275,
373,
1363,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
1363,
62,
15097,
796,
366,
13989,
1
] | [
1,
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,
4776,
618,
35275,
373,
1363,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
1363,
62,
15097,
796,
366,
13989,
1
] |
provide the number of patients whose gender is f and drug name is ondansetron? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Ondansetron" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
2563,
1438,
318,
319,
67,
504,
316,
1313,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
2563,
1438,
318,
319,
67,
504,
316,
1313,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
... |
Who wrote 'the diaper incident'? | SELECT "Written by" FROM table_30747 WHERE "Title" = 'The Diaper Incident' | [
8241,
2630,
705,
1169,
48196,
4519,
30960,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
22996,
2857,
33411,
366,
19160,
1,
796,
705,
464,
6031,
2136,
32731,
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,
2630,
705,
1169,
48196,
4519,
30960,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
22996,
2857,
33411,
366,
19160,
1,
796,
705,
464,
6031,
2136,
32731,
6
] |
how much is a FIRST class ticket from WASHINGTON to SAN FRANCISCO leaving on friday | SELECT DISTINCT fare.fare_id FROM 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, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE ((CITY_1.c... | [
4919,
881,
318,
257,
31328,
1398,
7846,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
4305,
319,
1216,
2567,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
4919,
881,
318,
257,
31328,
1398,
7846,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
4305,
319,
1216,
2567,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
6... |
What win method has a time of 2:32? | SELECT method FROM table_name_71 WHERE time = "2:32" | [
2061,
1592,
2446,
468,
257,
640,
286,
362,
25,
2624,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
4869,
33411,
640,
796,
366,
17,
25,
2624,
1
] | [
1,
1,
1,
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,
1592,
2446,
468,
257,
640,
286,
362,
25,
2624,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
4869,
33411,
640,
796,
366,
17,
25,
2624,
1
] |
What 's the name of the teacher for Winter Core course ? | SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instr... | [
2061,
705,
82,
262,
1438,
286,
262,
4701,
329,
10633,
7231,
1781,
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,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
82,
262,
1438,
286,
262,
4701,
329,
10633,
7231,
1781,
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,
1... |
WHAT IS THE SUM OF RACES WITH 9 POINTS? | SELECT SUM(races) FROM table_name_49 WHERE points = "9" | [
32971,
3180,
3336,
35683,
3963,
371,
2246,
1546,
13315,
860,
19922,
1268,
4694,
30,
46506,
35683,
7,
81,
2114,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2173,
796,
366,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
35683,
3963,
371,
2246,
1546,
13315,
860,
19922,
1268,
4694,
30,
46506,
35683,
7,
81,
2114,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2173,
796,
366,
24,
1
] |
What is the total amount of points when the played number was less than 12? | SELECT SUM("Points") FROM table_7214 WHERE "Played" < '12' | [
2061,
318,
262,
2472,
2033,
286,
2173,
618,
262,
2826,
1271,
373,
1342,
621,
1105,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
4761,
1415,
33411,
366,
11002,
276,
1,
1279,
705,
1065,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
2033,
286,
2173,
618,
262,
2826,
1271,
373,
1342,
621,
1105,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
4761,
1415,
33411,
366,
11002,
276,
1,
1279,
705,
1065,
6
] |
What was the score of the game on February 8? | SELECT score FROM table_name_69 WHERE date = "february 8" | [
2061,
373,
262,
4776,
286,
262,
983,
319,
3945,
807,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3388,
33411,
3128,
796,
366,
69,
1765,
3728,
807,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
319,
3945,
807,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3388,
33411,
3128,
796,
366,
69,
1765,
3728,
807,
1
] |
What player has earnings above 358,770 and a rank smaller than 2? | SELECT "Player" FROM table_54958 WHERE "Earnings( $ )" > '358,770' AND "Rank" < '2' | [
2061,
2137,
468,
12042,
2029,
41761,
11,
41820,
290,
257,
4279,
4833,
621,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
44966,
3365,
33411,
366,
49725,
654,
7,
720,
1267,
1,
1875,
705,
31128,
11,
41820,
6,
5357,
366,
27520,
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,
1
] | [
2061,
2137,
468,
12042,
2029,
41761,
11,
41820,
290,
257,
4279,
4833,
621,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
44966,
3365,
33411,
366,
49725,
654,
7,
720,
1267,
1,
1875,
705,
31128,
11,
41820,
6,
5357,
366,
27520,
1,
12... |
Who is the opponent in game 5? | SELECT "Opponent" FROM table_2297 WHERE "#" = '5' | [
8241,
318,
262,
6125,
287,
983,
642,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1828,
5607,
33411,
25113,
1,
796,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
6125,
287,
983,
642,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1828,
5607,
33411,
25113,
1,
796,
705,
20,
6
] |
when was the last time when patient 65582 had the maximum value of calculated total co2 since 08/2104? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 65582) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'calculated total co2') AND STRFTIME('%y-%m', labevents.charttime) >= '2104-08' ... | [
12518,
373,
262,
938,
640,
618,
5827,
45021,
6469,
550,
262,
5415,
1988,
286,
10488,
2472,
763,
17,
1201,
8487,
14,
17,
13464,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
618,
5827,
45021,
6469,
550,
262,
5415,
1988,
286,
10488,
2472,
763,
17,
1201,
8487,
14,
17,
13464,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
32... |
calculate the length of stay of the first hospital stay of patient 41014. | SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 41014 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1 | [
9948,
3129,
378,
262,
4129,
286,
2652,
286,
262,
717,
4436,
2652,
286,
5827,
6073,
28645,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4129,
286,
2652,
286,
262,
717,
4436,
2652,
286,
5827,
6073,
28645,
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,
... |
Which game does the quentyn martell have? | SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell" | [
13828,
983,
857,
262,
627,
298,
2047,
11277,
695,
423,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
4051,
33411,
279,
709,
62,
22769,
796,
366,
421,
298,
2047,
11277,
695,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
983,
857,
262,
627,
298,
2047,
11277,
695,
423,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
4051,
33411,
279,
709,
62,
22769,
796,
366,
421,
298,
2047,
11277,
695,
1
] |
On buses ranging in numbr 401-484, what is the lowest width that one longer thna 25 feet can have? | SELECT MIN("Width (inches)") FROM table_10327 WHERE "Length (feet)" > '25' AND "Numbers" = '401-484' | [
2202,
16893,
12897,
287,
997,
1671,
22219,
12,
34137,
11,
644,
318,
262,
9016,
9647,
326,
530,
2392,
294,
2616,
1679,
3625,
460,
423,
30,
46506,
20625,
7203,
30916,
357,
45457,
8,
4943,
16034,
3084,
62,
15197,
1983,
33411,
366,
24539,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
16893,
12897,
287,
997,
1671,
22219,
12,
34137,
11,
644,
318,
262,
9016,
9647,
326,
530,
2392,
294,
2616,
1679,
3625,
460,
423,
30,
46506,
20625,
7203,
30916,
357,
45457,
8,
4943,
16034,
3084,
62,
15197,
1983,
33411,
366,
24539,
... |
What is the name of the party called name? | SELECT "Party" FROM table_15411 WHERE "Name" = 'name' | [
2061,
318,
262,
1438,
286,
262,
2151,
1444,
1438,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
21526,
1157,
33411,
366,
5376,
1,
796,
705,
3672,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
2151,
1444,
1438,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
21526,
1157,
33411,
366,
5376,
1,
796,
705,
3672,
6
] |
How many draws were there when there were points less than 23, 6 losses, and more than 21 against? | SELECT COUNT(drawn) FROM table_name_49 WHERE points < 23 AND lost = 6 AND against > 21 | [
2437,
867,
14293,
547,
612,
618,
612,
547,
2173,
1342,
621,
2242,
11,
718,
9089,
11,
290,
517,
621,
2310,
1028,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2173,
1279,
2242,
5357,
2626,
796,
718,
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
] | [
2437,
867,
14293,
547,
612,
618,
612,
547,
2173,
1342,
621,
2242,
11,
718,
9089,
11,
290,
517,
621,
2310,
1028,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2173,
1279,
2242,
5357,
2626,
796,
718,
5357... |
Plot the number of payment method code by grouped by payment method code as a bar graph, order in descending by the Payment_Method_Code. | SELECT Payment_Method_Code, COUNT(Payment_Method_Code) FROM Payments GROUP BY Payment_Method_Code ORDER BY Payment_Method_Code DESC | [
43328,
262,
1271,
286,
6074,
2446,
2438,
416,
32824,
416,
6074,
2446,
2438,
355,
257,
2318,
4823,
11,
1502,
287,
31491,
416,
262,
28784,
62,
17410,
62,
10669,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
327,
28270,
7,
19197,
434,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
43328,
262,
1271,
286,
6074,
2446,
2438,
416,
32824,
416,
6074,
2446,
2438,
355,
257,
2318,
4823,
11,
1502,
287,
31491,
416,
262,
28784,
62,
17410,
62,
10669,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
327,
28270,
7,
19197,
434,
62,
... |
What is the total number of laps with a Driver of eddie irvine? | SELECT SUM("Laps") FROM table_11288 WHERE "Driver" = 'eddie irvine' | [
2061,
318,
262,
2472,
1271,
286,
24590,
351,
257,
12434,
286,
1225,
11979,
4173,
26818,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
14686,
3459,
33411,
366,
32103,
1,
796,
705,
6048,
494,
4173,
26818,
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,
2472,
1271,
286,
24590,
351,
257,
12434,
286,
1225,
11979,
4173,
26818,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
14686,
3459,
33411,
366,
32103,
1,
796,
705,
6048,
494,
4173,
26818,
6
] |
What was his record when he went over 1 round? | SELECT record FROM table_name_81 WHERE round > 1 | [
2061,
373,
465,
1700,
618,
339,
1816,
625,
352,
2835,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6659,
33411,
2835,
1875,
352
] | [
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,
465,
1700,
618,
339,
1816,
625,
352,
2835,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6659,
33411,
2835,
1875,
352
] |
how many patients aged below 31 years have the lab test category blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "31" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
9722,
2174,
3261,
812,
423,
262,
2248,
1332,
6536,
2910,
3623,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9722,
2174,
3261,
812,
423,
262,
2248,
1332,
6536,
2910,
3623,
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... |
Which sum of # 100 has a Season of 1990, and an Against of warwickshire? | SELECT SUM("# 100") FROM table_5482 WHERE "Season" = '1990' AND "Against" = 'warwickshire' | [
13828,
2160,
286,
1303,
1802,
468,
257,
7369,
286,
6303,
11,
290,
281,
12914,
286,
1175,
86,
3378,
10695,
30,
46506,
35683,
7203,
2,
1802,
4943,
16034,
3084,
62,
20,
40149,
33411,
366,
18960,
1,
796,
705,
19891,
6,
5357,
366,
39276,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
1303,
1802,
468,
257,
7369,
286,
6303,
11,
290,
281,
12914,
286,
1175,
86,
3378,
10695,
30,
46506,
35683,
7203,
2,
1802,
4943,
16034,
3084,
62,
20,
40149,
33411,
366,
18960,
1,
796,
705,
19891,
6,
5357,
366,
39276,
... |
What is the notes distance for 2nd position earlier than 1986? | SELECT notes FROM table_name_31 WHERE position = "2nd" AND year < 1986 | [
2061,
318,
262,
4710,
5253,
329,
362,
358,
2292,
2961,
621,
12113,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
3132,
33411,
2292,
796,
366,
17,
358,
1,
5357,
614,
1279,
12113
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4710,
5253,
329,
362,
358,
2292,
2961,
621,
12113,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
3132,
33411,
2292,
796,
366,
17,
358,
1,
5357,
614,
1279,
12113
] |
What is the type of video game Call of Destiny. | SELECT gtype FROM video_games WHERE gname = "Call of Destiny" | [
2061,
318,
262,
2099,
286,
2008,
983,
4889,
286,
17886,
13,
46506,
308,
4906,
16034,
2008,
62,
19966,
33411,
308,
3672,
796,
366,
14134,
286,
17886,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2099,
286,
2008,
983,
4889,
286,
17886,
13,
46506,
308,
4906,
16034,
2008,
62,
19966,
33411,
308,
3672,
796,
366,
14134,
286,
17886,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of first_name and manager_id . | SELECT FIRST_NAME, MANAGER_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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
717,
62,
3672,
290,
4706,
62,
312,
764,
46506,
31328,
62,
20608,
11,
17254,
476... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
717,
62,
3672,
290,
4706,
62,
312,
764,
46506,
31328,
62,
20608,
11,
17254,
476... |
specify birthdate and icd9 code of patient jerry deberry | SELECT demographic.dob, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Jerry Deberry" | [
16684,
1958,
4082,
4475,
290,
14158,
67,
24,
2438,
286,
5827,
474,
6996,
390,
8396,
46506,
16728,
13,
67,
672,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
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
] | [
16684,
1958,
4082,
4475,
290,
14158,
67,
24,
2438,
286,
5827,
474,
6996,
390,
8396,
46506,
16728,
13,
67,
672,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
7... |
What was the result on july 16, 1992? | SELECT result FROM table_name_4 WHERE date = "july 16, 1992" | [
2061,
373,
262,
1255,
319,
474,
2062,
1467,
11,
9768,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
19,
33411,
3128,
796,
366,
73,
2062,
1467,
11,
9768,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
319,
474,
2062,
1467,
11,
9768,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
19,
33411,
3128,
796,
366,
73,
2062,
1467,
11,
9768,
1
] |
What home team played the away team of Richmond? | SELECT home_team FROM table_name_75 WHERE away_team = "richmond" | [
2061,
1363,
1074,
2826,
262,
1497,
1074,
286,
16940,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2425,
33411,
1497,
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
] | [
2061,
1363,
1074,
2826,
262,
1497,
1074,
286,
16940,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2425,
33411,
1497,
62,
15097,
796,
366,
7527,
6327,
1
] |
Which entrant had a mugen-honda mf-301 he engine? | SELECT entrant FROM table_name_68 WHERE engine_† = "mugen-honda mf-301 he" | [
13828,
920,
5250,
550,
257,
25152,
268,
12,
71,
13533,
285,
69,
12,
18938,
339,
3113,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
3104,
33411,
3113,
62,
33912,
796,
366,
76,
42740,
12,
71,
13533,
285,
69,
12,
18938,
339,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
920,
5250,
550,
257,
25152,
268,
12,
71,
13533,
285,
69,
12,
18938,
339,
3113,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
3104,
33411,
3113,
62,
33912,
796,
366,
76,
42740,
12,
71,
13533,
285,
69,
12,
18938,
339,
1
] |
What is the time when the opponent is stephanie palmer? | SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer" | [
2061,
318,
262,
640,
618,
262,
6125,
318,
2239,
7637,
494,
6340,
647,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
1983,
33411,
6125,
796,
366,
9662,
7637,
494,
6340,
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
] | [
2061,
318,
262,
640,
618,
262,
6125,
318,
2239,
7637,
494,
6340,
647,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
1983,
33411,
6125,
796,
366,
9662,
7637,
494,
6340,
647,
1
] |
Who was the opponent in round 2 of the UFC 49 event? | SELECT "Opponent" FROM table_46149 WHERE "Round" = '2' AND "Event" = 'ufc 49' | [
8241,
373,
262,
6125,
287,
2835,
362,
286,
262,
11448,
5125,
1785,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
3510,
19442,
33411,
366,
22685,
1,
796,
705,
17,
6,
5357,
366,
9237,
1,
796,
705,
3046,
66,
5125,
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
] | [
8241,
373,
262,
6125,
287,
2835,
362,
286,
262,
11448,
5125,
1785,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
3510,
19442,
33411,
366,
22685,
1,
796,
705,
17,
6,
5357,
366,
9237,
1,
796,
705,
3046,
66,
5125,
6
] |
Which Bronze is the highest one that has a Rank of 26, and a Total larger than 1? | SELECT MAX("Bronze") FROM table_48056 WHERE "Rank" = '26' AND "Total" > '1' | [
13828,
19461,
318,
262,
4511,
530,
326,
468,
257,
10916,
286,
2608,
11,
290,
257,
7472,
4025,
621,
352,
30,
46506,
25882,
7203,
18760,
2736,
4943,
16034,
3084,
62,
22148,
3980,
33411,
366,
27520,
1,
796,
705,
2075,
6,
5357,
366,
14957... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19461,
318,
262,
4511,
530,
326,
468,
257,
10916,
286,
2608,
11,
290,
257,
7472,
4025,
621,
352,
30,
46506,
25882,
7203,
18760,
2736,
4943,
16034,
3084,
62,
22148,
3980,
33411,
366,
27520,
1,
796,
705,
2075,
6,
5357,
366,
14957... |
show me all ground transportation in WASHINGTON | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'WASHINGTON' AND ground_service.city_code = city.city_code | [
12860,
502,
477,
2323,
9358,
287,
370,
19436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
21793,
6,
5357,
2323,
62,
15271,
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
] | [
12860,
502,
477,
2323,
9358,
287,
370,
19436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
21793,
6,
5357,
2323,
62,
15271,
13,
... |
What is the total capacity of venues that opened in 1999? | SELECT COUNT("Capacity") FROM table_5337 WHERE "Opened" = '1999' | [
2061,
318,
262,
2472,
5339,
286,
22276,
326,
4721,
287,
7358,
30,
46506,
327,
28270,
7203,
15610,
4355,
4943,
16034,
3084,
62,
20,
31496,
33411,
366,
18257,
2945,
1,
796,
705,
18946,
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,
2472,
5339,
286,
22276,
326,
4721,
287,
7358,
30,
46506,
327,
28270,
7203,
15610,
4355,
4943,
16034,
3084,
62,
20,
31496,
33411,
366,
18257,
2945,
1,
796,
705,
18946,
6
] |
How much did the Hydra team from Bronx, New York raise? | SELECT "Raised" FROM table_14620 WHERE "Original Team" = 'hydra' AND "Hometown" = 'bronx, new york' | [
2437,
881,
750,
262,
31613,
1074,
422,
32486,
11,
968,
1971,
5298,
30,
46506,
366,
21762,
1417,
1,
16034,
3084,
62,
20964,
1238,
33411,
366,
20556,
4816,
1,
796,
705,
15511,
430,
6,
5357,
366,
39,
19191,
1,
796,
705,
65,
1313,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
750,
262,
31613,
1074,
422,
32486,
11,
968,
1971,
5298,
30,
46506,
366,
21762,
1417,
1,
16034,
3084,
62,
20964,
1238,
33411,
366,
20556,
4816,
1,
796,
705,
15511,
430,
6,
5357,
366,
39,
19191,
1,
796,
705,
65,
1313,
87,
... |
show me the earliest flight from CLEVELAND to MEMPHIS | 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 = 'CLEVELAND' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MEM... | [
12860,
502,
262,
14555,
5474,
422,
30301,
18697,
6981,
284,
35153,
11909,
1797,
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,
316... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
5474,
422,
30301,
18697,
6981,
284,
35153,
11909,
1797,
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,
316... |
The player who plays goaltender is from what college/junior/club team? | SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Goaltender" | [
464,
2137,
508,
5341,
44113,
318,
422,
644,
4152,
14,
29741,
1504,
14,
18664,
1074,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
834,
19316,
62,
16034,
3084,
62,
1558,
2718,
1157,
2327,
62,
1270,
33411,
2292,
796,
366,
5247... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
508,
5341,
44113,
318,
422,
644,
4152,
14,
29741,
1504,
14,
18664,
1074,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
834,
19316,
62,
16034,
3084,
62,
1558,
2718,
1157,
2327,
62,
1270,
33411,
2292,
796,
366,
5247... |
did fairfield or waverley have inside cylinders ? | SELECT "name" FROM table_204_476 WHERE "name" IN ('fairfield', 'waverley') AND "cylinders" = 'inside' | [
20839,
3148,
3245,
393,
2082,
332,
1636,
423,
2641,
43386,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
35435,
33411,
366,
3672,
1,
3268,
19203,
22043,
3245,
3256,
705,
86,
8770,
1636,
11537,
5357,
366,
38801,
29700,
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
] | [
20839,
3148,
3245,
393,
2082,
332,
1636,
423,
2641,
43386,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
35435,
33411,
366,
3672,
1,
3268,
19203,
22043,
3245,
3256,
705,
86,
8770,
1636,
11537,
5357,
366,
38801,
29700,
1,
796,
... |
Who was the opponent at the game with a loss of Weaver (1-2)? | SELECT "Opponent" FROM table_35566 WHERE "Loss" = 'weaver (1-2)' | [
8241,
373,
262,
6125,
379,
262,
983,
351,
257,
2994,
286,
29594,
357,
16,
12,
17,
19427,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
28567,
2791,
33411,
366,
43,
793,
1,
796,
705,
732,
8770,
357,
16,
12,
17,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
379,
262,
983,
351,
257,
2994,
286,
29594,
357,
16,
12,
17,
19427,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
28567,
2791,
33411,
366,
43,
793,
1,
796,
705,
732,
8770,
357,
16,
12,
17,
33047
] |
which tournament rewarded the most money for first prize ? | SELECT "tournament" FROM table_203_531 ORDER BY "1st prize ($)" DESC LIMIT 1 | [
4758,
7756,
20945,
262,
749,
1637,
329,
717,
11596,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
22416,
62,
20,
3132,
38678,
11050,
366,
16,
301,
11596,
7198,
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
] | [
4758,
7756,
20945,
262,
749,
1637,
329,
717,
11596,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
22416,
62,
20,
3132,
38678,
11050,
366,
16,
301,
11596,
7198,
16725,
22196,
34,
27564,
2043,
352
] |
Return a bar chart about the distribution of Nationality and the sum of ID , and group by attribute Nationality, could you show by the x-axis in ascending? | SELECT Nationality, SUM(ID) FROM swimmer GROUP BY Nationality ORDER BY Nationality | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
2351,
414,
290,
262,
2160,
286,
4522,
837,
290,
1448,
416,
11688,
2351,
414,
11,
714,
345,
905,
416,
262,
2124,
12,
22704,
287,
41988,
30,
46506,
2351,
414,
11,
35683,
7,
2389,
8,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
2351,
414,
290,
262,
2160,
286,
4522,
837,
290,
1448,
416,
11688,
2351,
414,
11,
714,
345,
905,
416,
262,
2124,
12,
22704,
287,
41988,
30,
46506,
2351,
414,
11,
35683,
7,
2389,
8,
16034,
... |
Show all artist names and the number of exhibitions for each artist in a bar chart. | SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID | [
15307,
477,
6802,
3891,
290,
262,
1271,
286,
48130,
329,
1123,
6802,
287,
257,
2318,
8262,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
17127,
7054,
309,
16,
32357,
1268,
6802,
7054,
309,
17,
6177,
309,
16,
13,
43020,
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
] | [
15307,
477,
6802,
3891,
290,
262,
1271,
286,
48130,
329,
1123,
6802,
287,
257,
2318,
8262,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
17127,
7054,
309,
16,
32357,
1268,
6802,
7054,
309,
17,
6177,
309,
16,
13,
43020,
62,
2389,
... |
Name the RR numbers of hudswell clarke and years before 1914 | SELECT rr_nos FROM table_name_15 WHERE builder = "hudswell clarke" AND year < 1914 | [
5376,
262,
26067,
3146,
286,
289,
463,
2032,
695,
10212,
365,
290,
812,
878,
26833,
46506,
374,
81,
62,
39369,
16034,
3084,
62,
3672,
62,
1314,
33411,
27098,
796,
366,
71,
463,
2032,
695,
10212,
365,
1,
5357,
614,
1279,
26833
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26067,
3146,
286,
289,
463,
2032,
695,
10212,
365,
290,
812,
878,
26833,
46506,
374,
81,
62,
39369,
16034,
3084,
62,
3672,
62,
1314,
33411,
27098,
796,
366,
71,
463,
2032,
695,
10212,
365,
1,
5357,
614,
1279,
26833
] |
List the ranks of all dismissals with a value of 4 | SELECT rank FROM table_13337302_16 WHERE dismissals = 4 | [
8053,
262,
9803,
286,
477,
6735,
874,
351,
257,
1988,
286,
604,
46506,
4279,
16034,
3084,
62,
1485,
31496,
22709,
62,
1433,
33411,
6735,
874,
796,
604
] | [
1,
1,
1,
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,
9803,
286,
477,
6735,
874,
351,
257,
1988,
286,
604,
46506,
4279,
16034,
3084,
62,
1485,
31496,
22709,
62,
1433,
33411,
6735,
874,
796,
604
] |
What was the score of the game when the Blue Jays were 55-39? | SELECT "Score" FROM table_68465 WHERE "Record" = '55-39' | [
2061,
373,
262,
4776,
286,
262,
983,
618,
262,
4518,
23288,
547,
5996,
12,
2670,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
41580,
2996,
33411,
366,
23739,
1,
796,
705,
2816,
12,
2670,
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,
373,
262,
4776,
286,
262,
983,
618,
262,
4518,
23288,
547,
5996,
12,
2670,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
41580,
2996,
33411,
366,
23739,
1,
796,
705,
2816,
12,
2670,
6
] |
what is the number of stars italy has ? | SELECT "number\nof stars" FROM table_204_543 WHERE "national team" = 'italy' | [
10919,
318,
262,
1271,
286,
5788,
340,
3400,
468,
5633,
46506,
366,
17618,
59,
77,
1659,
5788,
1,
16034,
3084,
62,
18638,
62,
20,
3559,
33411,
366,
14648,
1074,
1,
796,
705,
1287,
88,
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
] | [
10919,
318,
262,
1271,
286,
5788,
340,
3400,
468,
5633,
46506,
366,
17618,
59,
77,
1659,
5788,
1,
16034,
3084,
62,
18638,
62,
20,
3559,
33411,
366,
14648,
1074,
1,
796,
705,
1287,
88,
6
] |
Draw a bar chart showing the total number of every ship type by categorizing by nationality, and I want to rank by the Y-axis in desc. | SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY COUNT(Type) DESC | [
25302,
257,
2318,
8262,
4478,
262,
2472,
1271,
286,
790,
4074,
2099,
416,
17851,
2890,
416,
29835,
11,
290,
314,
765,
284,
4279,
416,
262,
575,
12,
22704,
287,
1715,
13,
46506,
5994,
11,
327,
28270,
7,
6030,
8,
16034,
4074,
44441,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4478,
262,
2472,
1271,
286,
790,
4074,
2099,
416,
17851,
2890,
416,
29835,
11,
290,
314,
765,
284,
4279,
416,
262,
575,
12,
22704,
287,
1715,
13,
46506,
5994,
11,
327,
28270,
7,
6030,
8,
16034,
4074,
44441,
1... |
Which All Games have a Nonconference Games of 1 10? | SELECT all_games FROM table_name_93 WHERE nonconference_games = "1–10" | [
13828,
1439,
5776,
423,
257,
8504,
41124,
5776,
286,
352,
838,
30,
46506,
477,
62,
19966,
16034,
3084,
62,
3672,
62,
6052,
33411,
1729,
41124,
62,
19966,
796,
366,
16,
1906,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1439,
5776,
423,
257,
8504,
41124,
5776,
286,
352,
838,
30,
46506,
477,
62,
19966,
16034,
3084,
62,
3672,
62,
6052,
33411,
1729,
41124,
62,
19966,
796,
366,
16,
1906,
940,
1
] |
Name the incumbent for first elected 1958 | SELECT "Incumbent" FROM table_18233 WHERE "First elected" = '1958' | [
5376,
262,
23526,
329,
717,
7018,
24648,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
1507,
25429,
33411,
366,
5962,
7018,
1,
796,
705,
1129,
3365,
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
] | [
5376,
262,
23526,
329,
717,
7018,
24648,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
1507,
25429,
33411,
366,
5962,
7018,
1,
796,
705,
1129,
3365,
6
] |
Return the number of the countries of the mountains that have a height larger than 5000, and I want to list y axis from low to high order. | SELECT Country, COUNT(Country) FROM mountain WHERE Height > 5000 GROUP BY Country ORDER BY COUNT(Country) | [
13615,
262,
1271,
286,
262,
2678,
286,
262,
12269,
326,
423,
257,
6001,
4025,
621,
23336,
11,
290,
314,
765,
284,
1351,
331,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
8598,
33411,
27280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1271,
286,
262,
2678,
286,
262,
12269,
326,
423,
257,
6001,
4025,
621,
23336,
11,
290,
314,
765,
284,
1351,
331,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
8598,
33411,
27280,
... |
What team has great plains as the conference, and concordia (ne) as the school? | SELECT "Team" FROM table_36467 WHERE "Conference" = 'great plains' AND "School" = 'concordia (ne)' | [
2061,
1074,
468,
1049,
36149,
355,
262,
4495,
11,
290,
1673,
585,
544,
357,
710,
8,
355,
262,
1524,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
26780,
3134,
33411,
366,
3103,
4288,
1,
796,
705,
18223,
36149,
6,
5357,
366,
26130,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
468,
1049,
36149,
355,
262,
4495,
11,
290,
1673,
585,
544,
357,
710,
8,
355,
262,
1524,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
26780,
3134,
33411,
366,
3103,
4288,
1,
796,
705,
18223,
36149,
6,
5357,
366,
26130,
1,
... |
what is the number of patients whose primary disease is sdh? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SDH" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
264,
34985,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10305,
39,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
264,
34985,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10305,
39,
1
] |
Which teams had 10 goals scored against them | SELECT team FROM table_15420044_1 WHERE against = 10 | [
13828,
3466,
550,
838,
4661,
7781,
1028,
606,
46506,
1074,
16034,
3084,
62,
21526,
2167,
2598,
62,
16,
33411,
1028,
796,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3466,
550,
838,
4661,
7781,
1028,
606,
46506,
1074,
16034,
3084,
62,
21526,
2167,
2598,
62,
16,
33411,
1028,
796,
838
] |
what is the number of patients whose ethnicity is white - russian and procedure long title is dorsal and dorsolumbar fusion of the posterior column, posterior technique? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND procedures.long_title = "Dorsal and dorsolumbar fusion of the posterior column, posterior technique" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
8771,
890,
3670,
318,
45254,
290,
37650,
349,
2178,
283,
21748,
286,
262,
34319,
5721,
11,
34319,
8173,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
8771,
890,
3670,
318,
45254,
290,
37650,
349,
2178,
283,
21748,
286,
262,
34319,
5721,
11,
34319,
8173,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16... |
What is the date when the document 'Marry CV' was stored? | SELECT date_stored FROM All_documents WHERE Document_name = "Marry CV" | [
2061,
318,
262,
3128,
618,
262,
3188,
705,
44,
6532,
26196,
6,
373,
8574,
30,
46506,
3128,
62,
301,
1850,
16034,
1439,
62,
15390,
2886,
33411,
16854,
62,
3672,
796,
366,
44,
6532,
26196,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
618,
262,
3188,
705,
44,
6532,
26196,
6,
373,
8574,
30,
46506,
3128,
62,
301,
1850,
16034,
1439,
62,
15390,
2886,
33411,
16854,
62,
3672,
796,
366,
44,
6532,
26196,
1
] |
i'm interested in the cheapest fare from WASHINGTON to FORT WORTH | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.c... | [
72,
1101,
4609,
287,
262,
28918,
14505,
422,
370,
19436,
284,
7473,
51,
21881,
4221,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1101,
4609,
287,
262,
28918,
14505,
422,
370,
19436,
284,
7473,
51,
21881,
4221,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
70... |
what is the three most frequent drugs which were prescribed within 2 months to the patients aged 60 or above after having been diagnosed with acute respiratory distress, during a year before? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'acute respiratory distress' AND DATETIME(diagnosis... | [
10919,
318,
262,
1115,
749,
10792,
5010,
543,
547,
14798,
1626,
362,
1933,
284,
262,
3871,
9722,
3126,
393,
2029,
706,
1719,
587,
14641,
351,
14352,
22949,
17087,
11,
1141,
257,
614,
878,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
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,
318,
262,
1115,
749,
10792,
5010,
543,
547,
14798,
1626,
362,
1933,
284,
262,
3871,
9722,
3126,
393,
2029,
706,
1719,
587,
14641,
351,
14352,
22949,
17087,
11,
1141,
257,
614,
878,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
35... |
Display a bar chart for how many counties correspond to each police force?, and rank X in asc order. | SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force ORDER BY Police_force | [
23114,
257,
2318,
8262,
329,
703,
867,
14683,
6053,
284,
1123,
1644,
2700,
21747,
290,
4279,
1395,
287,
10570,
1502,
13,
46506,
4287,
62,
3174,
11,
327,
28270,
7,
28104,
16034,
7968,
62,
11377,
62,
44708,
44441,
11050,
4287,
62,
3174,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23114,
257,
2318,
8262,
329,
703,
867,
14683,
6053,
284,
1123,
1644,
2700,
21747,
290,
4279,
1395,
287,
10570,
1502,
13,
46506,
4287,
62,
3174,
11,
327,
28270,
7,
28104,
16034,
7968,
62,
11377,
62,
44708,
44441,
11050,
4287,
62,
3174,
... |
Which club came in 14th in Serie c1/a in the 2007-08 season? | SELECT "Club" FROM table_49422 WHERE "2007\u201308 season" = '14th in serie c1/a' | [
13828,
3430,
1625,
287,
1478,
400,
287,
41530,
269,
16,
14,
64,
287,
262,
4343,
12,
2919,
1622,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
39449,
1828,
33411,
366,
12726,
59,
84,
1264,
21495,
1622,
1,
796,
705,
1415,
400,
287,
1055,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3430,
1625,
287,
1478,
400,
287,
41530,
269,
16,
14,
64,
287,
262,
4343,
12,
2919,
1622,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
39449,
1828,
33411,
366,
12726,
59,
84,
1264,
21495,
1622,
1,
796,
705,
1415,
400,
287,
1055,... |
during the last month was calcium gluconate prescribed to patient 57023? | SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 57023) AND prescriptions.drug = 'calcium gluconate' AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') | [
42122,
262,
938,
1227,
373,
19700,
1278,
84,
1102,
378,
14798,
284,
5827,
44626,
1954,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
42122,
262,
938,
1227,
373,
19700,
1278,
84,
1102,
378,
14798,
284,
5827,
44626,
1954,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16... |
count the number of patients who received a procedure since 2101 for excise bone for gft nec. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'excise bone for gft nec') AND STRFTIME('%y', procedu... | [
9127,
262,
1271,
286,
3871,
508,
2722,
257,
8771,
1201,
2310,
486,
329,
47547,
9970,
329,
308,
701,
27576,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2722,
257,
8771,
1201,
2310,
486,
329,
47547,
9970,
329,
308,
701,
27576,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
... |
Which Week 10 Nov 2 has a Week 14 Nov 30 of penn state (11-1)? | SELECT "Week 10 Nov 2" FROM table_5690 WHERE "Week 14 Nov 30" = 'penn state (11-1)' | [
13828,
6119,
838,
5267,
362,
468,
257,
6119,
1478,
5267,
1542,
286,
22429,
1181,
357,
1157,
12,
16,
19427,
46506,
366,
20916,
838,
5267,
362,
1,
16034,
3084,
62,
20,
35844,
33411,
366,
20916,
1478,
5267,
1542,
1,
796,
705,
79,
1697,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
838,
5267,
362,
468,
257,
6119,
1478,
5267,
1542,
286,
22429,
1181,
357,
1157,
12,
16,
19427,
46506,
366,
20916,
838,
5267,
362,
1,
16034,
3084,
62,
20,
35844,
33411,
366,
20916,
1478,
5267,
1542,
1,
796,
705,
79,
1697,
... |
how many years has stanford been national champion ? | SELECT COUNT("year") FROM table_203_726 WHERE "national champion" = 'stanford' | [
4919,
867,
812,
468,
336,
272,
3841,
587,
2260,
8783,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
22,
2075,
33411,
366,
14648,
8783,
1,
796,
705,
14192,
3841,
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
] | [
4919,
867,
812,
468,
336,
272,
3841,
587,
2260,
8783,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
22,
2075,
33411,
366,
14648,
8783,
1,
796,
705,
14192,
3841,
6
] |
List the name of all products along with the number of complaints that they have received. | SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name | [
8053,
262,
1438,
286,
477,
3186,
1863,
351,
262,
1271,
286,
9687,
326,
484,
423,
2722,
13,
46506,
1720,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
256,
16,
32357,
1268,
20011,
6003,
7054,
256,
17,
6177,
256,
16,
13,
111... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
477,
3186,
1863,
351,
262,
1271,
286,
9687,
326,
484,
423,
2722,
13,
46506,
1720,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
256,
16,
32357,
1268,
20011,
6003,
7054,
256,
17,
6177,
256,
16,
13,
111... |
When 2005 is the date/year how many measurements of attendance are there? | SELECT COUNT(attendance) FROM table_21436373_7 WHERE date_year = "2005" | [
2215,
5075,
318,
262,
3128,
14,
1941,
703,
867,
13871,
286,
14858,
389,
612,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
22291,
2623,
34770,
62,
22,
33411,
3128,
62,
1941,
796,
366,
14315,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5075,
318,
262,
3128,
14,
1941,
703,
867,
13871,
286,
14858,
389,
612,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
22291,
2623,
34770,
62,
22,
33411,
3128,
62,
1941,
796,
366,
14315,
1
] |
Name the sum of round for pick of 169 | SELECT SUM(round) FROM table_name_41 WHERE pick = 169 | [
5376,
262,
2160,
286,
2835,
329,
2298,
286,
27191,
46506,
35683,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
2298,
796,
27191
] | [
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,
2160,
286,
2835,
329,
2298,
286,
27191,
46506,
35683,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
2298,
796,
27191
] |
What is the place and when was the year when the women's doubles womens were Bai yang Niu Jianfeng? | SELECT year_location FROM table_28138035_33 WHERE womens_doubles = "Bai Yang Niu Jianfeng" | [
2061,
318,
262,
1295,
290,
618,
373,
262,
614,
618,
262,
1466,
338,
21938,
1116,
641,
547,
40750,
331,
648,
11556,
84,
40922,
69,
1516,
30,
46506,
614,
62,
24886,
16034,
3084,
62,
2078,
1485,
1795,
2327,
62,
2091,
33411,
1116,
641,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1295,
290,
618,
373,
262,
614,
618,
262,
1466,
338,
21938,
1116,
641,
547,
40750,
331,
648,
11556,
84,
40922,
69,
1516,
30,
46506,
614,
62,
24886,
16034,
3084,
62,
2078,
1485,
1795,
2327,
62,
2091,
33411,
1116,
641,
... |
what is religion and primary disease of subject id 15898? | SELECT demographic.religion, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "15898" | [
10919,
318,
5737,
290,
4165,
4369,
286,
2426,
4686,
24063,
4089,
30,
46506,
16728,
13,
2411,
17035,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
21273,
4089,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
290,
4165,
4369,
286,
2426,
4686,
24063,
4089,
30,
46506,
16728,
13,
2411,
17035,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
21273,
4089,
1
] |
What day in November has the game less than 12? | SELECT november FROM table_name_55 WHERE game < 12 | [
2061,
1110,
287,
3389,
468,
262,
983,
1342,
621,
1105,
30,
46506,
645,
303,
1916,
16034,
3084,
62,
3672,
62,
2816,
33411,
983,
1279,
1105
] | [
1,
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,
287,
3389,
468,
262,
983,
1342,
621,
1105,
30,
46506,
645,
303,
1916,
16034,
3084,
62,
3672,
62,
2816,
33411,
983,
1279,
1105
] |
What was the value for 2004 European with less than 7.5 in general 2001, less than 6.4 in 2009 European, and less than 1.5 in general 2013 with 4.3 in 2008 general? | SELECT "2004 European" FROM table_76156 WHERE "2001 general" < '7.5' AND "2009 European" < '6.4' AND "2013 general" < '1.5' AND "2008 general" = '4.3' | [
2061,
373,
262,
1988,
329,
5472,
3427,
351,
1342,
621,
767,
13,
20,
287,
2276,
5878,
11,
1342,
621,
718,
13,
19,
287,
3717,
3427,
11,
290,
1342,
621,
352,
13,
20,
287,
2276,
2211,
351,
604,
13,
18,
287,
3648,
2276,
30,
46506,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1988,
329,
5472,
3427,
351,
1342,
621,
767,
13,
20,
287,
2276,
5878,
11,
1342,
621,
718,
13,
19,
287,
3717,
3427,
11,
290,
1342,
621,
352,
13,
20,
287,
2276,
2211,
351,
604,
13,
18,
287,
3648,
2276,
30,
46506,
36... |
Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)? | SELECT MIN("Round") FROM table_35297 WHERE "Nationality" = 'united states' AND "College/Junior/Club Team (League)" = 'breck school (ushs)' | [
13828,
10485,
468,
257,
2351,
414,
286,
16503,
2585,
11,
290,
257,
5535,
14,
22396,
1504,
14,
42350,
4816,
357,
24623,
8,
286,
1449,
694,
1524,
357,
1530,
82,
19427,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2327,
26561,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2351,
414,
286,
16503,
2585,
11,
290,
257,
5535,
14,
22396,
1504,
14,
42350,
4816,
357,
24623,
8,
286,
1449,
694,
1524,
357,
1530,
82,
19427,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2327,
26561,
33411,
... |
User Activity after joining histogram. | WITH UserStats AS (SELECT Id, CAST(CreationDate AS DATE) AS CDate FROM Users), UActivity AS (SELECT UserId, CDate, CAST(CreationDate AS DATE) AS ADate, COUNT(DISTINCT RevisionGUID) AS ActCount FROM PostHistory INNER JOIN UserStats ON UserStats.Id = UserId AND PostHistory.CreationDate >= UserStats.CDate GROUP BY UserId,... | [
12982,
24641,
706,
9679,
1554,
21857,
13,
54,
10554,
11787,
29668,
7054,
357,
46506,
5121,
11,
327,
11262,
7,
12443,
341,
10430,
7054,
360,
6158,
8,
7054,
6458,
378,
16034,
18987,
828,
471,
16516,
7054,
357,
46506,
11787,
7390,
11,
6458... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12982,
24641,
706,
9679,
1554,
21857,
13,
54,
10554,
11787,
29668,
7054,
357,
46506,
5121,
11,
327,
11262,
7,
12443,
341,
10430,
7054,
360,
6158,
8,
7054,
6458,
378,
16034,
18987,
828,
471,
16516,
7054,
357,
46506,
11787,
7390,
11,
6458... |
What Nickname(s) has a Location of elkville, illinois? | SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois" | [
2061,
8047,
3672,
7,
82,
8,
468,
257,
13397,
286,
1288,
74,
4244,
11,
2801,
8981,
30,
46506,
21814,
62,
82,
62,
16034,
3084,
62,
3672,
62,
2996,
33411,
4067,
796,
366,
417,
74,
4244,
11,
2801,
8981,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8047,
3672,
7,
82,
8,
468,
257,
13397,
286,
1288,
74,
4244,
11,
2801,
8981,
30,
46506,
21814,
62,
82,
62,
16034,
3084,
62,
3672,
62,
2996,
33411,
4067,
796,
366,
417,
74,
4244,
11,
2801,
8981,
1
] |
show me the fare for DL flight 296 from ATLANTA to PHILADELPHIA | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (((flight.airline_code = 'DL') AND flight.flight_number = 296) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADEL... | [
12860,
502,
262,
14505,
329,
23641,
5474,
41922,
422,
5161,
25697,
5603,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
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... | [
12860,
502,
262,
14505,
329,
23641,
5474,
41922,
422,
5161,
25697,
5603,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... |
Show me the proportion on what are the countries of perpetrators? Show each country and the corresponding number of perpetrators there. | SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country | [
15307,
502,
262,
9823,
319,
644,
389,
262,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
12946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
9823,
319,
644,
389,
262,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
12946
] |
Which Week has an Opponent of pittsburgh steelers, and an Attendance larger than 47,727? | SELECT MIN(week) FROM table_name_69 WHERE opponent = "pittsburgh steelers" AND attendance > 47 OFFSET 727 | [
13828,
6119,
468,
281,
9385,
3471,
286,
279,
715,
11931,
7771,
364,
11,
290,
281,
46502,
590,
4025,
621,
6298,
11,
47760,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
6125,
796,
366,
79,
715,
11931,
7771,
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
] | [
13828,
6119,
468,
281,
9385,
3471,
286,
279,
715,
11931,
7771,
364,
11,
290,
281,
46502,
590,
4025,
621,
6298,
11,
47760,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
6125,
796,
366,
79,
715,
11931,
7771,
3... |
Name the most male life expectancy for pakistan | SELECT MAX("Male life expectancy") FROM table_29260 WHERE "Country" = 'Pakistan' | [
5376,
262,
749,
4257,
1204,
29098,
329,
279,
461,
4103,
46506,
25882,
7203,
25486,
1204,
29098,
4943,
16034,
3084,
62,
1959,
21719,
33411,
366,
33921,
1,
796,
705,
38485,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
4257,
1204,
29098,
329,
279,
461,
4103,
46506,
25882,
7203,
25486,
1204,
29098,
4943,
16034,
3084,
62,
1959,
21719,
33411,
366,
33921,
1,
796,
705,
38485,
6
] |
Who are all the players from the united states? | SELECT name FROM table_24302700_6 WHERE nationality = "United States" | [
8241,
389,
477,
262,
1938,
422,
262,
16503,
2585,
30,
46506,
1438,
16034,
3084,
62,
1731,
1270,
1983,
405,
62,
21,
33411,
29835,
796,
366,
17013,
1829,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
389,
477,
262,
1938,
422,
262,
16503,
2585,
30,
46506,
1438,
16034,
3084,
62,
1731,
1270,
1983,
405,
62,
21,
33411,
29835,
796,
366,
17013,
1829,
1
] |
What bowling style does First Class Team, Griqualand West have? | SELECT bowling_style FROM table_name_52 WHERE first_class_team = "griqualand west" | [
2061,
33564,
3918,
857,
3274,
5016,
4816,
11,
20914,
13255,
392,
2688,
423,
30,
46506,
33564,
62,
7635,
16034,
3084,
62,
3672,
62,
4309,
33411,
717,
62,
4871,
62,
15097,
796,
366,
70,
380,
13255,
392,
7421,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33564,
3918,
857,
3274,
5016,
4816,
11,
20914,
13255,
392,
2688,
423,
30,
46506,
33564,
62,
7635,
16034,
3084,
62,
3672,
62,
4309,
33411,
717,
62,
4871,
62,
15097,
796,
366,
70,
380,
13255,
392,
7421,
1
] |
Find the name and partition id for users who tweeted less than twice. | SELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2 | [
16742,
262,
1438,
290,
18398,
4686,
329,
2985,
508,
10830,
1342,
621,
5403,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
3911,
653,
312,
16034,
2836,
62,
5577,
2915,
7054,
309,
16,
32357,
1268,
12665,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1438,
290,
18398,
4686,
329,
2985,
508,
10830,
1342,
621,
5403,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
3911,
653,
312,
16034,
2836,
62,
5577,
2915,
7054,
309,
16,
32357,
1268,
12665,
7054,
309,
17,
6177,
309,
16,... |
What is the competition that had a 2-2 result? | SELECT "Competition" FROM table_53861 WHERE "Result" = '2-2' | [
2061,
318,
262,
5449,
326,
550,
257,
362,
12,
17,
1255,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
49561,
5333,
33411,
366,
23004,
1,
796,
705,
17,
12,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5449,
326,
550,
257,
362,
12,
17,
1255,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
49561,
5333,
33411,
366,
23004,
1,
796,
705,
17,
12,
17,
6
] |
what is the percentile value of creatinine 0.3 among patients of the same age as patient 88401 on the first hospital visit? | SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'creatinine') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.ag... | [
10919,
318,
262,
37894,
1988,
286,
1827,
259,
500,
657,
13,
18,
1871,
3871,
286,
262,
976,
2479,
355,
5827,
807,
5705,
486,
319,
262,
717,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
37894,
1988,
286,
1827,
259,
500,
657,
13,
18,
1871,
3871,
286,
262,
976,
2479,
355,
5827,
807,
5705,
486,
319,
262,
717,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.