instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the total amount of money that the United States one with a To par of 2? | SELECT COUNT(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND to_par = "–2" | [
2061,
318,
262,
2472,
2033,
286,
1637,
326,
262,
1578,
1829,
530,
351,
257,
1675,
1582,
286,
362,
30,
46506,
327,
28270,
7,
26316,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
3672,
62,
6052,
33411,
1499,
796,
366,
41187,
2585,
1,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1637,
326,
262,
1578,
1829,
530,
351,
257,
1675,
1582,
286,
362,
30,
46506,
327,
28270,
7,
26316,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
3672,
62,
6052,
33411,
1499,
796,
366,
41187,
2585,
1,
535... |
Name the content for sign of g e | SELECT content FROM table_name_54 WHERE sign = "g e" | [
5376,
262,
2695,
329,
1051,
286,
308,
304,
46506,
2695,
16034,
3084,
62,
3672,
62,
4051,
33411,
1051,
796,
366,
70,
304,
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,
2695,
329,
1051,
286,
308,
304,
46506,
2695,
16034,
3084,
62,
3672,
62,
4051,
33411,
1051,
796,
366,
70,
304,
1
] |
Find other users from a user's question. | SELECT Id, Id AS "post_link", ParentId, Title, OwnerUserId FROM Posts WHERE OwnerUserId = '##UserId##' AND PostTypeId = 1 | [
16742,
584,
2985,
422,
257,
2836,
338,
1808,
13,
46506,
5121,
11,
5121,
7054,
366,
7353,
62,
8726,
1600,
16774,
7390,
11,
11851,
11,
23853,
12982,
7390,
16034,
12043,
33411,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
2235,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
584,
2985,
422,
257,
2836,
338,
1808,
13,
46506,
5121,
11,
5121,
7054,
366,
7353,
62,
8726,
1600,
16774,
7390,
11,
11851,
11,
23853,
12982,
7390,
16034,
12043,
33411,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
2235,
6,
5357... |
What is the Burmese term associated with a cardinal direction of west? | SELECT burmese FROM table_14850099_18 WHERE cardinal_direction = "West" | [
2061,
318,
262,
5481,
76,
2771,
3381,
3917,
351,
257,
38691,
4571,
286,
7421,
30,
46506,
4356,
76,
2771,
16034,
3084,
62,
18294,
4059,
2079,
62,
1507,
33411,
38691,
62,
37295,
796,
366,
15045,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5481,
76,
2771,
3381,
3917,
351,
257,
38691,
4571,
286,
7421,
30,
46506,
4356,
76,
2771,
16034,
3084,
62,
18294,
4059,
2079,
62,
1507,
33411,
38691,
62,
37295,
796,
366,
15045,
1
] |
What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? | SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01" | [
2061,
327,
2640,
27082,
4522,
468,
257,
21225,
3128,
14,
2435,
357,
17429,
8,
286,
8735,
12,
1157,
12,
3312,
11,
8870,
25,
1314,
25,
486,
30,
46506,
8615,
1845,
62,
312,
16034,
3084,
62,
3672,
62,
1821,
33411,
4219,
62,
4475,
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
] | [
2061,
327,
2640,
27082,
4522,
468,
257,
21225,
3128,
14,
2435,
357,
17429,
8,
286,
8735,
12,
1157,
12,
3312,
11,
8870,
25,
1314,
25,
486,
30,
46506,
8615,
1845,
62,
312,
16034,
3084,
62,
3672,
62,
1821,
33411,
4219,
62,
4475,
62,
... |
Which PreMajor requirement class is the least hard ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM progra... | [
13828,
3771,
24206,
9079,
1398,
318,
262,
1551,
1327,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
1818,
2220,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
3771,
24206,
9079,
1398,
318,
262,
1551,
1327,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,... |
Who was the opponent for game 5? | SELECT "Opponent" FROM table_54783 WHERE "Game" = '5' | [
8241,
373,
262,
6125,
329,
983,
642,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
20,
2857,
5999,
33411,
366,
8777,
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,
1,
1
] | [
8241,
373,
262,
6125,
329,
983,
642,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
20,
2857,
5999,
33411,
366,
8777,
1,
796,
705,
20,
6
] |
What is 2nd Member, when Assembled is '30 March 1298'? | SELECT 2 AS nd_member FROM table_name_96 WHERE assembled = "30 march 1298" | [
2061,
318,
362,
358,
10239,
11,
618,
1081,
4428,
992,
318,
705,
1270,
2805,
1105,
4089,
30960,
46506,
362,
7054,
299,
67,
62,
19522,
16034,
3084,
62,
3672,
62,
4846,
33411,
16030,
796,
366,
1270,
9960,
1105,
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,
1,
1,
1,
1
] | [
2061,
318,
362,
358,
10239,
11,
618,
1081,
4428,
992,
318,
705,
1270,
2805,
1105,
4089,
30960,
46506,
362,
7054,
299,
67,
62,
19522,
16034,
3084,
62,
3672,
62,
4846,
33411,
16030,
796,
366,
1270,
9960,
1105,
4089,
1
] |
Which Car numbers have a First used of currently on order? | SELECT car_numbers FROM table_name_37 WHERE first_used = "currently on order" | [
13828,
1879,
3146,
423,
257,
3274,
973,
286,
3058,
319,
1502,
30,
46506,
1097,
62,
77,
17024,
16034,
3084,
62,
3672,
62,
2718,
33411,
717,
62,
1484,
796,
366,
41745,
319,
1502,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1879,
3146,
423,
257,
3274,
973,
286,
3058,
319,
1502,
30,
46506,
1097,
62,
77,
17024,
16034,
3084,
62,
3672,
62,
2718,
33411,
717,
62,
1484,
796,
366,
41745,
319,
1502,
1
] |
Who is the color commentator when brian engblom is ice level reporters? | SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom" | [
8241,
318,
262,
3124,
28823,
618,
275,
4484,
1786,
2436,
296,
318,
4771,
1241,
7638,
30,
46506,
3124,
62,
23893,
1352,
62,
82,
62,
16034,
3084,
62,
17,
23045,
2816,
3559,
62,
16,
33411,
4771,
62,
5715,
62,
260,
1819,
1010,
796,
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
] | [
8241,
318,
262,
3124,
28823,
618,
275,
4484,
1786,
2436,
296,
318,
4771,
1241,
7638,
30,
46506,
3124,
62,
23893,
1352,
62,
82,
62,
16034,
3084,
62,
17,
23045,
2816,
3559,
62,
16,
33411,
4771,
62,
5715,
62,
260,
1819,
1010,
796,
366,... |
How many different source system code for the cmi cross references are there? | SELECT COUNT(DISTINCT source_system_code) FROM cmi_cross_references | [
2437,
867,
1180,
2723,
1080,
2438,
329,
262,
269,
11632,
3272,
10288,
389,
612,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2723,
62,
10057,
62,
8189,
8,
16034,
269,
11632,
62,
19692,
62,
5420,
4972
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
2723,
1080,
2438,
329,
262,
269,
11632,
3272,
10288,
389,
612,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2723,
62,
10057,
62,
8189,
8,
16034,
269,
11632,
62,
19692,
62,
5420,
4972
] |
What player was place of t1 in To Par and had a score of 70-73-69=212? | SELECT to_par FROM table_name_81 WHERE place = "t1" AND score = 70 - 73 - 69 = 212 | [
2061,
2137,
373,
1295,
286,
256,
16,
287,
1675,
2547,
290,
550,
257,
4776,
286,
4317,
12,
4790,
12,
3388,
28,
21777,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
6659,
33411,
1295,
796,
366,
83,
16,
1,
5357,
4776,
796,
431... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
1295,
286,
256,
16,
287,
1675,
2547,
290,
550,
257,
4776,
286,
4317,
12,
4790,
12,
3388,
28,
21777,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
6659,
33411,
1295,
796,
366,
83,
16,
1,
5357,
4776,
796,
431... |
What is the result on 30 june 1995? | SELECT result FROM table_name_2 WHERE date = "30 june 1995" | [
2061,
318,
262,
1255,
319,
1542,
474,
1726,
8735,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
17,
33411,
3128,
796,
366,
1270,
474,
1726,
8735,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
319,
1542,
474,
1726,
8735,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
17,
33411,
3128,
796,
366,
1270,
474,
1726,
8735,
1
] |
provide me the number of patients who were tested for total calcium and were born before the year 2060. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2060" AND lab.label = "Calcium, Total" | [
15234,
485,
502,
262,
1271,
286,
3871,
508,
547,
6789,
329,
2472,
19700,
290,
547,
4642,
878,
262,
614,
1160,
1899,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1271,
286,
3871,
508,
547,
6789,
329,
2472,
19700,
290,
547,
4642,
878,
262,
614,
1160,
1899,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
How many actors were born in ' Los Angeles ' after 2000 ? | SELECT COUNT(DISTINCT (name)) FROM actor WHERE birth_city = 'Los Angeles' AND birth_year > 2000 | [
2437,
867,
10544,
547,
4642,
287,
705,
5401,
5652,
705,
706,
4751,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
3672,
4008,
16034,
8674,
33411,
4082,
62,
19205,
796,
705,
28903,
5652,
6,
5357,
4082,
62,
1941,
1875,
4751
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10544,
547,
4642,
287,
705,
5401,
5652,
705,
706,
4751,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
3672,
4008,
16034,
8674,
33411,
4082,
62,
19205,
796,
705,
28903,
5652,
6,
5357,
4082,
62,
1941,
1875,
4751
] |
how many patients whose insurance is private and discharge location is left against medical advi? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.discharge_location = "LEFT AGAINST MEDICAL ADVI" | [
4919,
867,
3871,
3025,
5096,
318,
2839,
290,
17655,
4067,
318,
1364,
1028,
3315,
1354,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
29067,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
5096,
318,
2839,
290,
17655,
4067,
318,
1364,
1028,
3315,
1354,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
29067,
1,
... |
Can you tell me the Date that has the Game of 2? | SELECT "Date" FROM table_38426 WHERE "Game" = '2' | [
6090,
345,
1560,
502,
262,
7536,
326,
468,
262,
3776,
286,
362,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
22842,
2075,
33411,
366,
8777,
1,
796,
705,
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
] | [
6090,
345,
1560,
502,
262,
7536,
326,
468,
262,
3776,
286,
362,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
22842,
2075,
33411,
366,
8777,
1,
796,
705,
17,
6
] |
What is the Code Name of the figure born in Hawaii? | SELECT code_name FROM table_name_81 WHERE birthplace = "hawaii" | [
2061,
318,
262,
6127,
6530,
286,
262,
3785,
4642,
287,
13708,
30,
46506,
2438,
62,
3672,
16034,
3084,
62,
3672,
62,
6659,
33411,
48145,
796,
366,
26615,
42648,
1
] | [
1,
1,
1,
1,
1,
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,
6127,
6530,
286,
262,
3785,
4642,
287,
13708,
30,
46506,
2438,
62,
3672,
16034,
3084,
62,
3672,
62,
6659,
33411,
48145,
796,
366,
26615,
42648,
1
] |
How many districts was Robert Livingston incumbent in? | SELECT COUNT(district) FROM table_1341472_20 WHERE incumbent = "Robert Livingston" | [
2437,
867,
12815,
373,
5199,
47717,
23526,
287,
30,
46506,
327,
28270,
7,
17080,
2012,
8,
16034,
3084,
62,
19880,
1415,
4761,
62,
1238,
33411,
23526,
796,
366,
19156,
47717,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
12815,
373,
5199,
47717,
23526,
287,
30,
46506,
327,
28270,
7,
17080,
2012,
8,
16034,
3084,
62,
19880,
1415,
4761,
62,
1238,
33411,
23526,
796,
366,
19156,
47717,
1
] |
What is the date of the poll with Silbert at 10.0%? | SELECT "Date" FROM table_75621 WHERE "Silbert" = '10.0%' | [
2061,
318,
262,
3128,
286,
262,
3278,
351,
4243,
4835,
379,
838,
13,
15,
4,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
38219,
2481,
33411,
366,
15086,
4835,
1,
796,
705,
940,
13,
15,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
3278,
351,
4243,
4835,
379,
838,
13,
15,
4,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
38219,
2481,
33411,
366,
15086,
4835,
1,
796,
705,
940,
13,
15,
4,
6
] |
Who was the visitor in the game that led to a 39-20-6 record? | SELECT "Visitor" FROM table_36104 WHERE "Record" = '39-20-6' | [
8241,
373,
262,
21493,
287,
262,
983,
326,
2957,
284,
257,
5014,
12,
1238,
12,
21,
1700,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2623,
13464,
33411,
366,
23739,
1,
796,
705,
2670,
12,
1238,
12,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
21493,
287,
262,
983,
326,
2957,
284,
257,
5014,
12,
1238,
12,
21,
1700,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2623,
13464,
33411,
366,
23739,
1,
796,
705,
2670,
12,
1238,
12,
21,
6
] |
Which Position has a Round larger than 7, and a Name of wayne asberry? | SELECT "Position" FROM table_47833 WHERE "Round" > '7' AND "Name" = 'wayne asberry' | [
13828,
23158,
468,
257,
10485,
4025,
621,
767,
11,
290,
257,
6530,
286,
835,
710,
355,
8396,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
29059,
2091,
33411,
366,
22685,
1,
1875,
705,
22,
6,
5357,
366,
5376,
1,
796,
705,
43932,
355,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
767,
11,
290,
257,
6530,
286,
835,
710,
355,
8396,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
29059,
2091,
33411,
366,
22685,
1,
1875,
705,
22,
6,
5357,
366,
5376,
1,
796,
705,
43932,
355,
... |
What dates was the falken tasmania challenge race that had triple eight race engineering as the team? | SELECT "Date" FROM table_2371 WHERE "Team" = 'Triple Eight Race Engineering' AND "Race Title" = 'Falken Tasmania Challenge' | [
2061,
9667,
373,
262,
277,
971,
268,
256,
292,
45733,
4427,
3234,
326,
550,
15055,
3624,
3234,
8705,
355,
262,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1954,
4869,
33411,
366,
15592,
1,
796,
705,
14824,
1154,
18087,
12588,
140... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9667,
373,
262,
277,
971,
268,
256,
292,
45733,
4427,
3234,
326,
550,
15055,
3624,
3234,
8705,
355,
262,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1954,
4869,
33411,
366,
15592,
1,
796,
705,
14824,
1154,
18087,
12588,
140... |
Show names of musicals and the number of actors who have appeared in the musicals. Show bar chart. | SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID | [
15307,
3891,
286,
10530,
82,
290,
262,
1271,
286,
10544,
508,
423,
4120,
287,
262,
10530,
82,
13,
5438,
2318,
8262,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
8674,
7054,
309,
16,
32357,
1268,
10530,
7054,
309,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
10530,
82,
290,
262,
1271,
286,
10544,
508,
423,
4120,
287,
262,
10530,
82,
13,
5438,
2318,
8262,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
8674,
7054,
309,
16,
32357,
1268,
10530,
7054,
309,
1... |
What is the status when the rank is 2? | SELECT "Status" FROM table_31232 WHERE "Rank" = '2' | [
2061,
318,
262,
3722,
618,
262,
4279,
318,
362,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
27970,
2624,
33411,
366,
27520,
1,
796,
705,
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
] | [
2061,
318,
262,
3722,
618,
262,
4279,
318,
362,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
27970,
2624,
33411,
366,
27520,
1,
796,
705,
17,
6
] |
What is the title of the episode with production code 40811-002? | SELECT title FROM table_name_87 WHERE prod_code = "40811-002" | [
2061,
318,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
41247,
1157,
12,
21601,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5774,
33411,
40426,
62,
8189,
796,
366,
26200,
1157,
12,
21601,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
41247,
1157,
12,
21601,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5774,
33411,
40426,
62,
8189,
796,
366,
26200,
1157,
12,
21601,
1
] |
what flights are available from DALLAS FORT WORTH to ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS FORT WORTH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name... | [
10919,
13956,
389,
1695,
422,
360,
7036,
1921,
7473,
51,
21881,
4221,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
389,
1695,
422,
360,
7036,
1921,
7473,
51,
21881,
4221,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
... |
Who is the teacher for the Other classes next Winter ? | 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... | [
8241,
318,
262,
4701,
329,
262,
3819,
6097,
1306,
10633,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4701,
329,
262,
3819,
6097,
1306,
10633,
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,
... |
Name the result for alexander shvec | SELECT "Result" FROM table_25436 WHERE "Opponent" = 'Alexander Shvec' | [
5376,
262,
1255,
329,
257,
2588,
4066,
427,
35138,
46506,
366,
23004,
1,
16034,
3084,
62,
24970,
2623,
33411,
366,
27524,
3471,
1,
796,
705,
38708,
911,
35138,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1255,
329,
257,
2588,
4066,
427,
35138,
46506,
366,
23004,
1,
16034,
3084,
62,
24970,
2623,
33411,
366,
27524,
3471,
1,
796,
705,
38708,
911,
35138,
6
] |
what was the last thing patient 025-13899 received for intake on 07/05/last year? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-13899')) AND intakeoutput.cellpath LIKE '%intake%' AND D... | [
10919,
373,
262,
938,
1517,
5827,
657,
1495,
12,
20107,
2079,
2722,
329,
10337,
319,
8753,
14,
2713,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
938,
1517,
5827,
657,
1495,
12,
20107,
2079,
2722,
329,
10337,
319,
8753,
14,
2713,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
... |
provide the number of patients whose language is port and days of hospital stay is greater than 6? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "PORT" AND demographic.days_stay > "6" | [
15234,
485,
262,
1271,
286,
3871,
3025,
3303,
318,
2493,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
718,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
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,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
3303,
318,
2493,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
718,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
... |
how many patients whose procedure icd9 code is 5771? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "5771" | [
4919,
867,
3871,
3025,
8771,
14158,
67,
24,
2438,
318,
642,
46761,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
8771,
14158,
67,
24,
2438,
318,
642,
46761,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
what was the name of the organism found in the last blood, venipuncture microbiology test of patient 031-3355 in this month? | SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND microlab.culturesite = 'blood, venipuncture' AND DATETIME... | [
10919,
373,
262,
1438,
286,
262,
26433,
1043,
287,
262,
938,
2910,
11,
8710,
541,
39187,
24559,
1435,
1332,
286,
5827,
657,
3132,
12,
2091,
2816,
287,
428,
1227,
30,
46506,
4580,
23912,
13,
9971,
1042,
16034,
4580,
23912,
33411,
4580,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
26433,
1043,
287,
262,
938,
2910,
11,
8710,
541,
39187,
24559,
1435,
1332,
286,
5827,
657,
3132,
12,
2091,
2816,
287,
428,
1227,
30,
46506,
4580,
23912,
13,
9971,
1042,
16034,
4580,
23912,
33411,
4580,
... |
How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn? | SELECT "U.S. viewers (millions)" FROM table_27484 WHERE "Written by" = 'Jed Spingarn' AND "No. in series" = '7' | [
2437,
867,
471,
13,
50,
13,
10209,
287,
5242,
7342,
262,
1271,
767,
4471,
287,
262,
2168,
326,
373,
3194,
416,
39952,
1338,
278,
1501,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1983,
34137,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
471,
13,
50,
13,
10209,
287,
5242,
7342,
262,
1271,
767,
4471,
287,
262,
2168,
326,
373,
3194,
416,
39952,
1338,
278,
1501,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1983,
34137,
3341... |
Who was the opponent that anke huber played against in the leipzig tournament? | SELECT opponent FROM table_name_53 WHERE tournament = "leipzig" | [
8241,
373,
262,
6125,
326,
281,
365,
289,
18478,
2826,
1028,
287,
262,
443,
541,
38262,
7756,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
4310,
33411,
7756,
796,
366,
293,
541,
38262,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
326,
281,
365,
289,
18478,
2826,
1028,
287,
262,
443,
541,
38262,
7756,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
4310,
33411,
7756,
796,
366,
293,
541,
38262,
1
] |
What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph? | SELECT tues_25_aug FROM table_23465864_6 WHERE mon_24_aug = "22' 24.56 101.021mph" | [
2061,
373,
262,
48496,
1679,
2447,
640,
290,
2866,
618,
2892,
1987,
2447,
373,
2534,
6,
1987,
13,
3980,
8949,
13,
46821,
23335,
30,
46506,
256,
947,
62,
1495,
62,
7493,
16034,
3084,
62,
24409,
38431,
2414,
62,
21,
33411,
937,
62,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
48496,
1679,
2447,
640,
290,
2866,
618,
2892,
1987,
2447,
373,
2534,
6,
1987,
13,
3980,
8949,
13,
46821,
23335,
30,
46506,
256,
947,
62,
1495,
62,
7493,
16034,
3084,
62,
24409,
38431,
2414,
62,
21,
33411,
937,
62,
17... |
When was the ship launched when the commissioned or completed(*) is 6 june 1864? | SELECT launched FROM table_12592074_1 WHERE commissioned_or_completed_ * _ = "6 June 1864" | [
2215,
373,
262,
4074,
5611,
618,
262,
20462,
393,
5668,
7,
28104,
318,
718,
474,
1726,
1248,
2414,
30,
46506,
5611,
16034,
3084,
62,
1065,
3270,
1238,
4524,
62,
16,
33411,
20462,
62,
273,
62,
785,
16838,
62,
1635,
4808,
796,
366,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
4074,
5611,
618,
262,
20462,
393,
5668,
7,
28104,
318,
718,
474,
1726,
1248,
2414,
30,
46506,
5611,
16034,
3084,
62,
1065,
3270,
1238,
4524,
62,
16,
33411,
20462,
62,
273,
62,
785,
16838,
62,
1635,
4808,
796,
366,
21... |
What are the official native languages that contain the string 'English'. | SELECT official_native_language FROM country WHERE official_native_language LIKE "%English%" | [
2061,
389,
262,
1743,
6868,
8950,
326,
3994,
262,
4731,
705,
15823,
4458,
46506,
1743,
62,
30191,
62,
16129,
16034,
1499,
33411,
1743,
62,
30191,
62,
16129,
34178,
36521,
15823,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1743,
6868,
8950,
326,
3994,
262,
4731,
705,
15823,
4458,
46506,
1743,
62,
30191,
62,
16129,
16034,
1499,
33411,
1743,
62,
30191,
62,
16129,
34178,
36521,
15823,
39658
] |
what is the number of patients whose admission type is elective and year of birth is less than 2052? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.dob_year < "2052" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4309,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
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
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4309,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
... |
what was the date of the only match to occur in sapporo , japan ? | SELECT "date" FROM table_203_565 WHERE "location" = 'sapporo, japan' | [
10919,
373,
262,
3128,
286,
262,
691,
2872,
284,
3051,
287,
473,
381,
16522,
837,
474,
2674,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
47372,
33411,
366,
24886,
1,
796,
705,
82,
1324,
16522,
11,
474,
2674,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
3128,
286,
262,
691,
2872,
284,
3051,
287,
473,
381,
16522,
837,
474,
2674,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
47372,
33411,
366,
24886,
1,
796,
705,
82,
1324,
16522,
11,
474,
2674,
6
] |
What was the result after the week # top 11? | SELECT "Result" FROM table_45619 WHERE "Week #" = 'top 11' | [
2061,
373,
262,
1255,
706,
262,
1285,
1303,
1353,
1367,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
29228,
1129,
33411,
366,
20916,
1303,
1,
796,
705,
4852,
1367,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
706,
262,
1285,
1303,
1353,
1367,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
29228,
1129,
33411,
366,
20916,
1303,
1,
796,
705,
4852,
1367,
6
] |
What Tournament on October 24, 1982 had Alycia Moulton as the Partner? | SELECT tournament FROM table_name_23 WHERE date = "october 24, 1982" AND partner = "alycia moulton" | [
2061,
9595,
319,
3267,
1987,
11,
14489,
550,
47535,
33743,
337,
2852,
1122,
355,
262,
35532,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
38441,
2023,
1987,
11,
14489,
1,
5357,
5212,
796,
366,
3400,
33743,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9595,
319,
3267,
1987,
11,
14489,
550,
47535,
33743,
337,
2852,
1122,
355,
262,
35532,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
38441,
2023,
1987,
11,
14489,
1,
5357,
5212,
796,
366,
3400,
33743,
... |
Number of Comments Per Question. | SELECT Posts.Id, Posts.PostTypeId, Posts.Score, Posts.ViewCount, Posts.OwnerUserId, Posts.OwnerDisplayName, Users.Reputation, Posts.CommentCount FROM Posts LEFT JOIN Users ON Users.Id = Posts.OwnerUserId | [
15057,
286,
19502,
2448,
18233,
13,
46506,
12043,
13,
7390,
11,
12043,
13,
6307,
6030,
7390,
11,
12043,
13,
26595,
11,
12043,
13,
7680,
12332,
11,
12043,
13,
42419,
12982,
7390,
11,
12043,
13,
42419,
23114,
5376,
11,
18987,
13,
6207,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15057,
286,
19502,
2448,
18233,
13,
46506,
12043,
13,
7390,
11,
12043,
13,
6307,
6030,
7390,
11,
12043,
13,
26595,
11,
12043,
13,
7680,
12332,
11,
12043,
13,
42419,
12982,
7390,
11,
12043,
13,
42419,
23114,
5376,
11,
18987,
13,
6207,
... |
How many Sets did Gary Muller have? | SELECT COUNT(sets) FROM table_name_21 WHERE player = "gary muller" | [
2437,
867,
21394,
750,
10936,
47508,
423,
30,
46506,
327,
28270,
7,
28709,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2137,
796,
366,
14849,
35024,
263,
1
] | [
1,
1,
1,
1,
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,
21394,
750,
10936,
47508,
423,
30,
46506,
327,
28270,
7,
28709,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2137,
796,
366,
14849,
35024,
263,
1
] |
When was the game played where St Kilda was the home team? | SELECT date FROM table_name_4 WHERE home_team = "st kilda" | [
2215,
373,
262,
983,
2826,
810,
520,
509,
27281,
373,
262,
1363,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
19,
33411,
1363,
62,
15097,
796,
366,
301,
479,
27281,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
983,
2826,
810,
520,
509,
27281,
373,
262,
1363,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
19,
33411,
1363,
62,
15097,
796,
366,
301,
479,
27281,
1
] |
Which away team was at windy hill? | SELECT away_team FROM table_name_30 WHERE venue = "windy hill" | [
13828,
1497,
1074,
373,
379,
2344,
88,
12788,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1270,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] | [
1,
1,
1,
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,
1497,
1074,
373,
379,
2344,
88,
12788,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1270,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] |
What is the death date of elisabeth of lorraine? | SELECT death FROM table_name_82 WHERE image = "elisabeth of lorraine" | [
2061,
318,
262,
1918,
3128,
286,
1288,
271,
9407,
286,
300,
273,
23440,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
6469,
33411,
2939,
796,
366,
417,
271,
9407,
286,
300,
273,
23440,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1918,
3128,
286,
1288,
271,
9407,
286,
300,
273,
23440,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
6469,
33411,
2939,
796,
366,
417,
271,
9407,
286,
300,
273,
23440,
1
] |
How many types are there for the measure where there were 312680 yes votes? | SELECT COUNT(type) FROM table_256286_45 WHERE yes_votes = 312680 | [
2437,
867,
3858,
389,
612,
329,
262,
3953,
810,
612,
547,
513,
19420,
1795,
3763,
5690,
30,
46506,
327,
28270,
7,
4906,
8,
16034,
3084,
62,
11645,
27033,
62,
2231,
33411,
3763,
62,
29307,
796,
513,
19420,
1795
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3858,
389,
612,
329,
262,
3953,
810,
612,
547,
513,
19420,
1795,
3763,
5690,
30,
46506,
327,
28270,
7,
4906,
8,
16034,
3084,
62,
11645,
27033,
62,
2231,
33411,
3763,
62,
29307,
796,
513,
19420,
1795
] |
count the number of times that patient 021-102856 has been prescribed the albuterol sulfate 2.5 mg inhl neb soln in 09/last year. | SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-102856')) AND medication.drugname = 'albuterol sulfate 2.5 mg inhl neb sol... | [
9127,
262,
1271,
286,
1661,
326,
5827,
657,
2481,
12,
940,
2078,
3980,
468,
587,
14798,
262,
435,
4360,
263,
349,
22443,
378,
362,
13,
20,
10527,
287,
18519,
45508,
1540,
77,
287,
7769,
14,
12957,
614,
13,
46506,
327,
28270,
7,
2810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
326,
5827,
657,
2481,
12,
940,
2078,
3980,
468,
587,
14798,
262,
435,
4360,
263,
349,
22443,
378,
362,
13,
20,
10527,
287,
18519,
45508,
1540,
77,
287,
7769,
14,
12957,
614,
13,
46506,
327,
28270,
7,
2810... |
What year did deputy prime minister Mariano Rajoy Brey take office? | SELECT SUM("Took office") FROM table_69917 WHERE "Deputy Prime Minister" = 'mariano rajoy brey' | [
2061,
614,
750,
10636,
6994,
5342,
1526,
10115,
13308,
726,
3719,
88,
1011,
2607,
30,
46506,
35683,
7203,
51,
566,
2607,
4943,
16034,
3084,
62,
47325,
1558,
33411,
366,
12156,
3935,
5537,
4139,
1,
796,
705,
76,
3699,
78,
374,
1228,
72... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
750,
10636,
6994,
5342,
1526,
10115,
13308,
726,
3719,
88,
1011,
2607,
30,
46506,
35683,
7203,
51,
566,
2607,
4943,
16034,
3084,
62,
47325,
1558,
33411,
366,
12156,
3935,
5537,
4139,
1,
796,
705,
76,
3699,
78,
374,
1228,
72... |
What is the earliest year with less than 45 points for Yamaha team in 21st rank? | SELECT MIN("Year") FROM table_38670 WHERE "Points" < '45' AND "Team" = 'yamaha' AND "Rank" = '21st' | [
2061,
318,
262,
14555,
614,
351,
1342,
621,
4153,
2173,
329,
45483,
1074,
287,
2310,
301,
4279,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
21734,
2154,
33411,
366,
40710,
1,
1279,
705,
2231,
6,
5357,
366,
15592,
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
] | [
2061,
318,
262,
14555,
614,
351,
1342,
621,
4153,
2173,
329,
45483,
1074,
287,
2310,
301,
4279,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
21734,
2154,
33411,
366,
40710,
1,
1279,
705,
2231,
6,
5357,
366,
15592,
1,
796,
705... |
What is the away team at glenferrie oval? | SELECT away_team FROM table_name_33 WHERE venue = "glenferrie oval" | [
2061,
318,
262,
1497,
1074,
379,
1278,
268,
2232,
5034,
41186,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2091,
33411,
14359,
796,
366,
4743,
268,
2232,
5034,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1497,
1074,
379,
1278,
268,
2232,
5034,
41186,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2091,
33411,
14359,
796,
366,
4743,
268,
2232,
5034,
41186,
1
] |
Who was the opponent in the math that was played in Nice on a clay court? | SELECT "Opponent" FROM table_45440 WHERE "Surface" = 'clay' AND "Tournament" = 'nice' | [
8241,
373,
262,
6125,
287,
262,
10688,
326,
373,
2826,
287,
18460,
319,
257,
21558,
2184,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2231,
25644,
33411,
366,
14214,
2550,
1,
796,
705,
565,
323,
6,
5357,
366,
51,
5138,
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
] | [
8241,
373,
262,
6125,
287,
262,
10688,
326,
373,
2826,
287,
18460,
319,
257,
21558,
2184,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2231,
25644,
33411,
366,
14214,
2550,
1,
796,
705,
565,
323,
6,
5357,
366,
51,
5138,
1,
796,
... |
Count the number of questions with accepted answers. | SELECT COUNT(Qus.CreationDate), COUNT(Qus.AcceptedAnswerId) FROM Posts AS Qus WHERE Qus.OwnerUserId = '##UserId##' AND Qus.PostTypeId = 1 | [
12332,
262,
1271,
286,
2683,
351,
6292,
7429,
13,
46506,
327,
28270,
7,
48,
385,
13,
12443,
341,
10430,
828,
327,
28270,
7,
48,
385,
13,
38855,
276,
33706,
7390,
8,
16034,
12043,
7054,
1195,
385,
33411,
1195,
385,
13,
42419,
12982,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
2683,
351,
6292,
7429,
13,
46506,
327,
28270,
7,
48,
385,
13,
12443,
341,
10430,
828,
327,
28270,
7,
48,
385,
13,
38855,
276,
33706,
7390,
8,
16034,
12043,
7054,
1195,
385,
33411,
1195,
385,
13,
42419,
12982,
... |
Who made the report when the home team is north Melbourne? | SELECT report FROM table_14312471_7 WHERE home_team = "North Melbourne" | [
8241,
925,
262,
989,
618,
262,
1363,
1074,
318,
5093,
14819,
30,
46506,
989,
16034,
3084,
62,
21139,
1065,
38339,
62,
22,
33411,
1363,
62,
15097,
796,
366,
14157,
14819,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
925,
262,
989,
618,
262,
1363,
1074,
318,
5093,
14819,
30,
46506,
989,
16034,
3084,
62,
21139,
1065,
38339,
62,
22,
33411,
1363,
62,
15097,
796,
366,
14157,
14819,
1
] |
In what region does 17.4% of the population make below 50% of the median income? | SELECT "Region" FROM table_3209 WHERE "Below 50% of median income" = '17.4%' | [
818,
644,
3814,
857,
1596,
13,
19,
4,
286,
262,
3265,
787,
2174,
2026,
4,
286,
262,
14288,
3739,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
19504,
24,
33411,
366,
21106,
2026,
4,
286,
14288,
3739,
1,
796,
705,
1558,
13,
19,
4,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
3814,
857,
1596,
13,
19,
4,
286,
262,
3265,
787,
2174,
2026,
4,
286,
262,
14288,
3739,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
19504,
24,
33411,
366,
21106,
2026,
4,
286,
14288,
3739,
1,
796,
705,
1558,
13,
19,
4,
6... |
What classes will help me be better prepared for taking MODGREEK 202 ? | SELECT DISTINCT advisory_requirement FROM course WHERE department = 'MODGREEK' AND number = 202 | [
2061,
6097,
481,
1037,
502,
307,
1365,
5597,
329,
2263,
19164,
38,
11587,
42,
22131,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
33365,
38,
11587,
42,
6,
5357,
1271,
796,
22131
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6097,
481,
1037,
502,
307,
1365,
5597,
329,
2263,
19164,
38,
11587,
42,
22131,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
33365,
38,
11587,
42,
6,
5357,
1271,
796,
22131
] |
who won the senate seat in arkansas | SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas" | [
8727,
1839,
262,
34548,
5852,
287,
610,
74,
6618,
46506,
12329,
16034,
3084,
62,
1157,
28460,
2598,
62,
19,
33411,
1181,
834,
25614,
62,
1462,
62,
82,
13929,
3166,
62,
35993,
62,
796,
366,
42007,
6618,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1839,
262,
34548,
5852,
287,
610,
74,
6618,
46506,
12329,
16034,
3084,
62,
1157,
28460,
2598,
62,
19,
33411,
1181,
834,
25614,
62,
1462,
62,
82,
13929,
3166,
62,
35993,
62,
796,
366,
42007,
6618,
1
] |
What is the weight and dimensions of an N800? | SELECT "Weight, dimensions" FROM table_46731 WHERE "Model" = 'n800' | [
2061,
318,
262,
3463,
290,
15225,
286,
281,
399,
7410,
30,
46506,
366,
25844,
11,
15225,
1,
16034,
3084,
62,
24669,
3132,
33411,
366,
17633,
1,
796,
705,
77,
7410,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3463,
290,
15225,
286,
281,
399,
7410,
30,
46506,
366,
25844,
11,
15225,
1,
16034,
3084,
62,
24669,
3132,
33411,
366,
17633,
1,
796,
705,
77,
7410,
6
] |
What's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player? | SELECT "Nationality" FROM table_77425 WHERE "Team" = 'montreal impact' AND "Player" = 'justin mapp category:articles with hcards' | [
2061,
338,
262,
29835,
286,
12871,
17677,
351,
10799,
337,
1324,
21743,
25,
26845,
351,
289,
27761,
355,
262,
2137,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3324,
32114,
33411,
366,
15592,
1,
796,
705,
8691,
5305,
2928,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
29835,
286,
12871,
17677,
351,
10799,
337,
1324,
21743,
25,
26845,
351,
289,
27761,
355,
262,
2137,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3324,
32114,
33411,
366,
15592,
1,
796,
705,
8691,
5305,
2928,
6,
5357... |
What are the names of customers using the most popular payment method? | SELECT customer_name FROM customers WHERE payment_method = (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1) | [
2061,
389,
262,
3891,
286,
4297,
1262,
262,
749,
2968,
6074,
2446,
30,
46506,
6491,
62,
3672,
16034,
4297,
33411,
6074,
62,
24396,
796,
357,
46506,
6074,
62,
24396,
16034,
4297,
44441,
11050,
6074,
62,
24396,
38678,
11050,
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
] | [
2061,
389,
262,
3891,
286,
4297,
1262,
262,
749,
2968,
6074,
2446,
30,
46506,
6491,
62,
3672,
16034,
4297,
33411,
6074,
62,
24396,
796,
357,
46506,
6074,
62,
24396,
16034,
4297,
44441,
11050,
6074,
62,
24396,
38678,
11050,
327,
28270,
7... |
How many of the patients from black/haitian ethnic origin were born before 2090? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/HAITIAN" AND demographic.dob_year < "2090" | [
2437,
867,
286,
262,
3871,
422,
2042,
14,
3099,
270,
666,
9450,
8159,
547,
4642,
878,
1160,
3829,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
91... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3871,
422,
2042,
14,
3099,
270,
666,
9450,
8159,
547,
4642,
878,
1160,
3829,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
91... |
What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km ) larger than 4.5? | SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5 | [
2061,
373,
262,
20133,
357,
9804,
8,
618,
262,
20133,
357,
13330,
8,
373,
1342,
621,
767,
48290,
11,
290,
262,
20133,
12109,
1342,
621,
44341,
13,
23,
11,
290,
262,
9794,
11509,
286,
642,
11,
290,
281,
9498,
357,
13276,
1267,
4025,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20133,
357,
9804,
8,
618,
262,
20133,
357,
13330,
8,
373,
1342,
621,
767,
48290,
11,
290,
262,
20133,
12109,
1342,
621,
44341,
13,
23,
11,
290,
262,
9794,
11509,
286,
642,
11,
290,
281,
9498,
357,
13276,
1267,
4025,
... |
What is the largest crude birth rate when natural change is 215 at a rate greater than 7.2? | SELECT MAX("Crude birth rate (per 1000)") FROM table_55210 WHERE "Natural change" = '215' AND "Natural change (per 1000)" > '7.2' | [
2061,
318,
262,
4387,
14897,
4082,
2494,
618,
3288,
1487,
318,
22951,
379,
257,
2494,
3744,
621,
767,
13,
17,
30,
46506,
25882,
7203,
13916,
2507,
4082,
2494,
357,
525,
8576,
8,
4943,
16034,
3084,
62,
2816,
21536,
33411,
366,
35364,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
14897,
4082,
2494,
618,
3288,
1487,
318,
22951,
379,
257,
2494,
3744,
621,
767,
13,
17,
30,
46506,
25882,
7203,
13916,
2507,
4082,
2494,
357,
525,
8576,
8,
4943,
16034,
3084,
62,
2816,
21536,
33411,
366,
35364,
1... |
A bar chart for finding the number of the dates of the tests taken with result 'Pass', I want to show by the y-axis in ascending. | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY COUNT(date_test_taken) | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
9667,
286,
262,
5254,
2077,
351,
1255,
705,
14478,
3256,
314,
765,
284,
905,
416,
262,
331,
12,
22704,
287,
41988,
13,
46506,
3128,
62,
9288,
62,
83,
1685,
11,
327,
28270,
7,
4475,
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... | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
9667,
286,
262,
5254,
2077,
351,
1255,
705,
14478,
3256,
314,
765,
284,
905,
416,
262,
331,
12,
22704,
287,
41988,
13,
46506,
3128,
62,
9288,
62,
83,
1685,
11,
327,
28270,
7,
4475,
6... |
For those employees who did not have any job in the past, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time, and sort in ascending by the y axis. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
3297,
287,
41988,
416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
3297,
287,
41988,
416,
... |
what being the maximum total passengers 2008 with change 2008/09 being 6.5% | SELECT MAX("Total Passengers 2008") FROM table_19014 WHERE "Change 2008/09" = '6.5%' | [
10919,
852,
262,
5415,
2472,
10405,
3648,
351,
1487,
3648,
14,
2931,
852,
718,
13,
20,
4,
46506,
25882,
7203,
14957,
6251,
9302,
3648,
4943,
16034,
3084,
62,
1129,
28645,
33411,
366,
19400,
3648,
14,
2931,
1,
796,
705,
21,
13,
20,
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
] | [
10919,
852,
262,
5415,
2472,
10405,
3648,
351,
1487,
3648,
14,
2931,
852,
718,
13,
20,
4,
46506,
25882,
7203,
14957,
6251,
9302,
3648,
4943,
16034,
3084,
62,
1129,
28645,
33411,
366,
19400,
3648,
14,
2931,
1,
796,
705,
21,
13,
20,
4... |
What writers are associated with a viewing figure of 7.01 million? | SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million" | [
2061,
8786,
389,
3917,
351,
257,
11681,
3785,
286,
767,
13,
486,
1510,
30,
46506,
6260,
16034,
3084,
62,
8628,
2075,
42691,
62,
17,
33411,
11681,
62,
26875,
796,
366,
22,
13,
486,
1510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8786,
389,
3917,
351,
257,
11681,
3785,
286,
767,
13,
486,
1510,
30,
46506,
6260,
16034,
3084,
62,
8628,
2075,
42691,
62,
17,
33411,
11681,
62,
26875,
796,
366,
22,
13,
486,
1510,
1
] |
Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date, and count them by a bar chart, and rank y axis from low to high order. | SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) ORDER BY COUNT(Date_Claim_Made) | [
14311,
477,
262,
3667,
11,
543,
18573,
423,
257,
4752,
2033,
326,
318,
645,
517,
621,
262,
2811,
30,
7343,
262,
1624,
923,
3128,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
4279,
331,
16488,
422,
1877,
284,
1029,
1502,
13,
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... | [
14311,
477,
262,
3667,
11,
543,
18573,
423,
257,
4752,
2033,
326,
318,
645,
517,
621,
262,
2811,
30,
7343,
262,
1624,
923,
3128,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
4279,
331,
16488,
422,
1877,
284,
1029,
1502,
13,
4... |
find the total checkins in Moroccan restaurant in ' Los Angeles ' per day | SELECT checkin.day, SUM(checkin.count) FROM business, category AS CATEGORY_0, category AS CATEGORY_1, checkin WHERE business.city = 'Los Angeles' AND CATEGORY_0.business_id = business.business_id AND CATEGORY_0.category_name = 'Moroccan' AND CATEGORY_1.business_id = business.business_id AND CATEGORY_1.category_name = '... | [
19796,
262,
2472,
2198,
1040,
287,
49323,
7072,
287,
705,
5401,
5652,
705,
583,
1110,
46506,
2198,
259,
13,
820,
11,
35683,
7,
9122,
259,
13,
9127,
8,
16034,
1597,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
15,
11,
6536,
7054,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
2198,
1040,
287,
49323,
7072,
287,
705,
5401,
5652,
705,
583,
1110,
46506,
2198,
259,
13,
820,
11,
35683,
7,
9122,
259,
13,
9127,
8,
16034,
1597,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
15,
11,
6536,
7054,
327,
... |
which country had the largest number of towed guns delivered ? | SELECT "country" FROM table_203_587 GROUP BY "country" ORDER BY SUM("quantity delivered") DESC LIMIT 1 | [
4758,
1499,
550,
262,
4387,
1271,
286,
49445,
6541,
6793,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
44617,
44441,
11050,
366,
19315,
1,
38678,
11050,
35683,
7203,
40972,
414,
6793,
4943,
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
] | [
4758,
1499,
550,
262,
4387,
1271,
286,
49445,
6541,
6793,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
44617,
44441,
11050,
366,
19315,
1,
38678,
11050,
35683,
7203,
40972,
414,
6793,
4943,
22196,
34,
27564,
2043,
352
] |
Name the aircraft type for furstenau/vorden | SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base = "Furstenau/Vorden" | [
5376,
262,
6215,
2099,
329,
9230,
26400,
559,
14,
85,
585,
268,
46506,
6215,
62,
4906,
16034,
3084,
62,
2078,
2682,
1731,
1954,
62,
16,
33411,
308,
274,
354,
86,
5067,
62,
8692,
796,
366,
37,
24962,
268,
559,
14,
53,
585,
268,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6215,
2099,
329,
9230,
26400,
559,
14,
85,
585,
268,
46506,
6215,
62,
4906,
16034,
3084,
62,
2078,
2682,
1731,
1954,
62,
16,
33411,
308,
274,
354,
86,
5067,
62,
8692,
796,
366,
37,
24962,
268,
559,
14,
53,
585,
268,
1
] |
Name the total number of stage for lloyd mondory | SELECT COUNT("Stage") FROM table_25253 WHERE "Mountains Classification" = 'Lloyd Mondory' | [
5376,
262,
2472,
1271,
286,
3800,
329,
32660,
12192,
285,
623,
652,
46506,
327,
28270,
7203,
29391,
4943,
16034,
3084,
62,
1495,
28592,
33411,
366,
35452,
1299,
40984,
1,
796,
705,
43,
75,
12192,
27328,
652,
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
] | [
5376,
262,
2472,
1271,
286,
3800,
329,
32660,
12192,
285,
623,
652,
46506,
327,
28270,
7203,
29391,
4943,
16034,
3084,
62,
1495,
28592,
33411,
366,
35452,
1299,
40984,
1,
796,
705,
43,
75,
12192,
27328,
652,
6
] |
Which event had a time of 2:34? | SELECT event FROM table_name_86 WHERE time = "2:34" | [
13828,
1785,
550,
257,
640,
286,
362,
25,
2682,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4521,
33411,
640,
796,
366,
17,
25,
2682,
1
] | [
1,
1,
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,
1785,
550,
257,
640,
286,
362,
25,
2682,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4521,
33411,
640,
796,
366,
17,
25,
2682,
1
] |
Who cites Daniel A Reed most ? | SELECT DISTINCT COUNT(cite.citingpaperid), WRITES_1.authorid FROM author, cite, writes AS WRITES_0, writes AS WRITES_1 WHERE author.authorname = 'Daniel A Reed' AND WRITES_0.authorid = author.authorid AND WRITES_0.paperid = cite.citedpaperid AND WRITES_1.paperid = cite.citingpaperid GROUP BY WRITES_1.authorid ORDER BY ... | [
8241,
23474,
7806,
317,
16105,
749,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
66,
578,
13,
66,
1780,
20189,
312,
828,
11342,
2043,
1546,
62,
16,
13,
9800,
312,
16034,
1772,
11,
21729,
11,
6797,
7054,
11342,
2043,
1546,
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... | [
8241,
23474,
7806,
317,
16105,
749,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
66,
578,
13,
66,
1780,
20189,
312,
828,
11342,
2043,
1546,
62,
16,
13,
9800,
312,
16034,
1772,
11,
21729,
11,
6797,
7054,
11342,
2043,
1546,
62,
... |
what's the aggregate where 1st leg is 3 2 | SELECT "Aggregate" FROM table_72102 WHERE "1st leg" = '3–2' | [
10919,
338,
262,
19406,
810,
352,
301,
1232,
318,
513,
362,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
4761,
15377,
33411,
366,
16,
301,
1232,
1,
796,
705,
18,
1906,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
19406,
810,
352,
301,
1232,
318,
513,
362,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
4761,
15377,
33411,
366,
16,
301,
1232,
1,
796,
705,
18,
1906,
17,
6
] |
If points against was 371, what is the drawn? | SELECT "Drawn" FROM table_74944 WHERE "Points against" = '371' | [
1532,
2173,
1028,
373,
47343,
11,
644,
318,
262,
7428,
30,
46506,
366,
35,
5791,
1,
16034,
3084,
62,
22,
2920,
2598,
33411,
366,
40710,
1028,
1,
796,
705,
38056,
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
] | [
1532,
2173,
1028,
373,
47343,
11,
644,
318,
262,
7428,
30,
46506,
366,
35,
5791,
1,
16034,
3084,
62,
22,
2920,
2598,
33411,
366,
40710,
1028,
1,
796,
705,
38056,
6
] |
how many times is fiji listed as the opposition ? | SELECT COUNT(*) FROM table_203_871 WHERE "opposition" = 'fiji' | [
4919,
867,
1661,
318,
277,
20770,
5610,
355,
262,
5471,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
23,
4869,
33411,
366,
10365,
3507,
1,
796,
705,
69,
20770,
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
] | [
4919,
867,
1661,
318,
277,
20770,
5610,
355,
262,
5471,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
23,
4869,
33411,
366,
10365,
3507,
1,
796,
705,
69,
20770,
6
] |
How many people were in the crowd at Lake Oval? | SELECT "Crowd" FROM table_57850 WHERE "Venue" = 'lake oval' | [
2437,
867,
661,
547,
287,
262,
4315,
379,
6233,
25165,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
3553,
25764,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
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
] | [
2437,
867,
661,
547,
287,
262,
4315,
379,
6233,
25165,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
3553,
25764,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] |
On the game where the home team scored 9.9 (63) and the crowd exceeded 14,589, what was the date? | SELECT "Date" FROM table_55161 WHERE "Crowd" > '14,589' AND "Home team score" = '9.9 (63)' | [
2202,
262,
983,
810,
262,
1363,
1074,
7781,
860,
13,
24,
357,
5066,
8,
290,
262,
4315,
20672,
1478,
11,
44169,
11,
644,
373,
262,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2816,
25948,
33411,
366,
34,
3986,
1,
1875,
705,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
983,
810,
262,
1363,
1074,
7781,
860,
13,
24,
357,
5066,
8,
290,
262,
4315,
20672,
1478,
11,
44169,
11,
644,
373,
262,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2816,
25948,
33411,
366,
34,
3986,
1,
1875,
705,
14... |
What location is farmer city speedway? | SELECT location FROM table_16275828_4 WHERE track_name = "Farmer City Speedway" | [
2061,
4067,
318,
18739,
1748,
2866,
1014,
30,
46506,
4067,
16034,
3084,
62,
1433,
1983,
3365,
2078,
62,
19,
33411,
2610,
62,
3672,
796,
366,
21428,
647,
2254,
46000,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4067,
318,
18739,
1748,
2866,
1014,
30,
46506,
4067,
16034,
3084,
62,
1433,
1983,
3365,
2078,
62,
19,
33411,
2610,
62,
3672,
796,
366,
21428,
647,
2254,
46000,
1
] |
What Valvetrain has a fuel system made up of petrol engines? | SELECT "Valvetrain" FROM table_75416 WHERE "Fuel system" = 'petrol engines' | [
2061,
22479,
27432,
468,
257,
5252,
1080,
925,
510,
286,
34139,
11874,
30,
46506,
366,
7762,
303,
27432,
1,
16034,
3084,
62,
2425,
35218,
33411,
366,
42663,
1080,
1,
796,
705,
6449,
3225,
11874,
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,
22479,
27432,
468,
257,
5252,
1080,
925,
510,
286,
34139,
11874,
30,
46506,
366,
7762,
303,
27432,
1,
16034,
3084,
62,
2425,
35218,
33411,
366,
42663,
1080,
1,
796,
705,
6449,
3225,
11874,
6
] |
what is insurance and death status of subject id 4333? | SELECT demographic.insurance, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "4333" | [
10919,
318,
5096,
290,
1918,
3722,
286,
2426,
4686,
604,
20370,
30,
46506,
16728,
13,
1040,
3874,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
19,
20370,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
290,
1918,
3722,
286,
2426,
4686,
604,
20370,
30,
46506,
16728,
13,
1040,
3874,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
19,
20370,
1
] |
what is the number of patients whose age is less than 58 and lab test name is d-dimer? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "58" AND lab.label = "D-Dimer" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
7618,
290,
2248,
1332,
1438,
318,
288,
12,
67,
22723,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
7618,
290,
2248,
1332,
1438,
318,
288,
12,
67,
22723,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen | SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" AND mixed_doubles = "Joachim Fischer Nielsen Christinna Pedersen" | [
5376,
262,
285,
641,
25287,
618,
1116,
641,
25287,
318,
266,
648,
9493,
290,
7668,
21938,
318,
2525,
620,
320,
277,
24645,
37628,
25328,
33826,
259,
2616,
7190,
46516,
46506,
285,
641,
62,
12215,
829,
16034,
3084,
62,
1415,
37747,
24339... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
285,
641,
25287,
618,
1116,
641,
25287,
318,
266,
648,
9493,
290,
7668,
21938,
318,
2525,
620,
320,
277,
24645,
37628,
25328,
33826,
259,
2616,
7190,
46516,
46506,
285,
641,
62,
12215,
829,
16034,
3084,
62,
1415,
37747,
24339... |
Which Spoofed title had Mort Drucker as the artist in issue 88? | SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88 | [
13828,
1338,
37711,
276,
3670,
550,
10788,
21295,
15280,
355,
262,
6802,
287,
2071,
9193,
30,
46506,
42078,
276,
62,
7839,
16034,
3084,
62,
3672,
62,
5607,
33411,
6802,
796,
366,
30171,
37215,
15280,
1,
5357,
2071,
796,
9193
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1338,
37711,
276,
3670,
550,
10788,
21295,
15280,
355,
262,
6802,
287,
2071,
9193,
30,
46506,
42078,
276,
62,
7839,
16034,
3084,
62,
3672,
62,
5607,
33411,
6802,
796,
366,
30171,
37215,
15280,
1,
5357,
2071,
796,
9193
] |
Who was featured in 20 questions on 4-03? | SELECT "20 Questions" FROM table_20226 WHERE "Date" = '4-03' | [
8241,
373,
8096,
287,
1160,
2683,
319,
604,
12,
3070,
30,
46506,
366,
1238,
20396,
1,
16034,
3084,
62,
1238,
24909,
33411,
366,
10430,
1,
796,
705,
19,
12,
3070,
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
] | [
8241,
373,
8096,
287,
1160,
2683,
319,
604,
12,
3070,
30,
46506,
366,
1238,
20396,
1,
16034,
3084,
62,
1238,
24909,
33411,
366,
10430,
1,
796,
705,
19,
12,
3070,
6
] |
What event was held in Chihuahua, Mexico? | SELECT event FROM table_name_16 WHERE venue = "chihuahua, mexico" | [
2061,
1785,
373,
2714,
287,
609,
48406,
993,
6413,
11,
5828,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
1433,
33411,
14359,
796,
366,
354,
48406,
993,
6413,
11,
502,
87,
3713,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1785,
373,
2714,
287,
609,
48406,
993,
6413,
11,
5828,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
1433,
33411,
14359,
796,
366,
354,
48406,
993,
6413,
11,
502,
87,
3713,
1
] |
how many patients were prescribed esmolol in the same hospital visit after colostomy nos? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_... | [
4919,
867,
3871,
547,
14798,
1658,
43132,
349,
287,
262,
976,
4436,
3187,
706,
951,
455,
9145,
43630,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
547,
14798,
1658,
43132,
349,
287,
262,
976,
4436,
3187,
706,
951,
455,
9145,
43630,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
... |
Out of the upper-level electives , which ones are offered in the Fall and Winter ? | SELECT DISTINCT course.department, course.name, course.number 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.course_id WHERE (semester.semester = ... | [
7975,
286,
262,
6727,
12,
5715,
1742,
1083,
837,
543,
3392,
389,
4438,
287,
262,
7218,
290,
10633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7975,
286,
262,
6727,
12,
5715,
1742,
1083,
837,
543,
3392,
389,
4438,
287,
262,
7218,
290,
10633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
12... |
How many in total were in attendance at games where Chelsea was the away team? | SELECT SUM("Attendance") FROM table_43595 WHERE "Away team" = 'chelsea' | [
2437,
867,
287,
2472,
547,
287,
14858,
379,
1830,
810,
12147,
373,
262,
1497,
1074,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
40064,
3865,
33411,
366,
32,
1014,
1074,
1,
796,
705,
29232,
8583,
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
] | [
2437,
867,
287,
2472,
547,
287,
14858,
379,
1830,
810,
12147,
373,
262,
1497,
1074,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
40064,
3865,
33411,
366,
32,
1014,
1074,
1,
796,
705,
29232,
8583,
6
] |
What are the scores for games played on september 9? | SELECT score FROM table_17104539_12 WHERE date = "September 9" | [
2061,
389,
262,
8198,
329,
1830,
2826,
319,
384,
457,
1491,
860,
30,
46506,
4776,
16034,
3084,
62,
1558,
940,
2231,
2670,
62,
1065,
33411,
3128,
796,
366,
17543,
860,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
8198,
329,
1830,
2826,
319,
384,
457,
1491,
860,
30,
46506,
4776,
16034,
3084,
62,
1558,
940,
2231,
2670,
62,
1065,
33411,
3128,
796,
366,
17543,
860,
1
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a line chart about the change of department_id over hire_date . | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1441,
257,
1627,
8262,
546,
262,
1487,
286,
5011,
62,
312,
625,
11078,
62,
4475... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1441,
257,
1627,
8262,
546,
262,
1487,
286,
5011,
62,
312,
625,
11078,
62,
4475... |
What is the highest number of wins with a goal difference less than 4 at the Villarreal CF and more than 38 played? | SELECT MAX(wins) FROM table_name_82 WHERE goal_difference < 4 AND club = "villarreal cf" AND played > 38 | [
2061,
318,
262,
4511,
1271,
286,
7864,
351,
257,
3061,
3580,
1342,
621,
604,
379,
262,
9757,
283,
5305,
18551,
290,
517,
621,
4353,
2826,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
3061,
62,
26069,
194... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
257,
3061,
3580,
1342,
621,
604,
379,
262,
9757,
283,
5305,
18551,
290,
517,
621,
4353,
2826,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
3061,
62,
26069,
194... |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a bar chart about the distribution of job_id and the average of employee_id , and group by attribute job_id, show X-axis from high to low order. | SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,... |
Who is in the south-west next to Vishnu on the east, Durga on the west, and in the center of Ganapati? | SELECT "South West" FROM table_50646 WHERE "North East" = 'vishnu' AND "North West" = 'durga' AND "Center" = 'ganapati' | [
8241,
318,
287,
262,
5366,
12,
7038,
1306,
284,
36900,
28803,
319,
262,
7627,
11,
360,
45098,
319,
262,
7421,
11,
290,
287,
262,
3641,
286,
23207,
499,
7246,
30,
46506,
366,
14942,
2688,
1,
16034,
3084,
62,
1120,
27720,
33411,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8241,
318,
287,
262,
5366,
12,
7038,
1306,
284,
36900,
28803,
319,
262,
7627,
11,
360,
45098,
319,
262,
7421,
11,
290,
287,
262,
3641,
286,
23207,
499,
7246,
30,
46506,
366,
14942,
2688,
1,
16034,
3084,
62,
1120,
27720,
33411,
366,
... |
The player with a rank of 9, made a move from what football club? | SELECT "Moving from" FROM table_66764 WHERE "Rank" = '9' | [
464,
2137,
351,
257,
4279,
286,
860,
11,
925,
257,
1445,
422,
644,
4346,
3430,
30,
46506,
366,
33622,
422,
1,
16034,
3084,
62,
28933,
2414,
33411,
366,
27520,
1,
796,
705,
24,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
2137,
351,
257,
4279,
286,
860,
11,
925,
257,
1445,
422,
644,
4346,
3430,
30,
46506,
366,
33622,
422,
1,
16034,
3084,
62,
28933,
2414,
33411,
366,
27520,
1,
796,
705,
24,
6
] |
What is the result on September 25, 1966? | SELECT result FROM table_name_80 WHERE date = "september 25, 1966" | [
2061,
318,
262,
1255,
319,
2693,
1679,
11,
19322,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1795,
33411,
3128,
796,
366,
325,
457,
1491,
1679,
11,
19322,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
319,
2693,
1679,
11,
19322,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1795,
33411,
3128,
796,
366,
325,
457,
1491,
1679,
11,
19322,
1
] |
Which AFC cup does Kenji Arai have? | SELECT "AFC Cup" FROM table_44862 WHERE "Name" = 'kenji arai' | [
13828,
27987,
6508,
857,
7148,
7285,
30574,
72,
423,
30,
46506,
366,
32,
4851,
5454,
1,
16034,
3084,
62,
2598,
4521,
17,
33411,
366,
5376,
1,
796,
705,
3464,
7285,
257,
430,
72,
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
] | [
13828,
27987,
6508,
857,
7148,
7285,
30574,
72,
423,
30,
46506,
366,
32,
4851,
5454,
1,
16034,
3084,
62,
2598,
4521,
17,
33411,
366,
5376,
1,
796,
705,
3464,
7285,
257,
430,
72,
6
] |
What day is south melbourne away? | SELECT date FROM table_name_19 WHERE away_team = "south melbourne" | [
2061,
1110,
318,
5366,
7758,
12544,
1497,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1129,
33411,
1497,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1110,
318,
5366,
7758,
12544,
1497,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1129,
33411,
1497,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.