instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Who was the mens doubles when womens singles is mette s rensen? | SELECT mens_doubles FROM table_12171145_1 WHERE womens_singles = "Mette Sørensen" | [
8241,
373,
262,
285,
641,
21938,
618,
1116,
641,
25287,
318,
1138,
660,
264,
302,
5907,
268,
30,
46506,
285,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1065,
1558,
1157,
2231,
62,
16,
33411,
1116,
641,
62,
12215,
829,
796,
366,
44,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
285,
641,
21938,
618,
1116,
641,
25287,
318,
1138,
660,
264,
302,
5907,
268,
30,
46506,
285,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1065,
1558,
1157,
2231,
62,
16,
33411,
1116,
641,
62,
12215,
829,
796,
366,
44,
... |
What is the home team at the venue mcg? | SELECT home_team FROM table_name_20 WHERE venue = "mcg" | [
2061,
318,
262,
1363,
1074,
379,
262,
14359,
36650,
70,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1238,
33411,
14359,
796,
366,
23209,
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
] | [
2061,
318,
262,
1363,
1074,
379,
262,
14359,
36650,
70,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1238,
33411,
14359,
796,
366,
23209,
70,
1
] |
What is the Frequency MHz for the station with a call sign of w224bn? | SELECT AVG("Frequency MHz") FROM table_78179 WHERE "Call sign" = 'w224bn' | [
2061,
318,
262,
31902,
19805,
329,
262,
4429,
351,
257,
869,
1051,
286,
266,
24137,
9374,
30,
46506,
35224,
7203,
37,
28707,
19805,
4943,
16034,
3084,
62,
3695,
21738,
33411,
366,
14134,
1051,
1,
796,
705,
86,
24137,
9374,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
31902,
19805,
329,
262,
4429,
351,
257,
869,
1051,
286,
266,
24137,
9374,
30,
46506,
35224,
7203,
37,
28707,
19805,
4943,
16034,
3084,
62,
3695,
21738,
33411,
366,
14134,
1051,
1,
796,
705,
86,
24137,
9374,
6
] |
Calculate the maximum age of male patients who died before 2131? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.dod_year < "2131.0" | [
9771,
3129,
378,
262,
5415,
2479,
286,
4257,
3871,
508,
3724,
878,
362,
22042,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
67,
375,
62,
1941,
1279,
366,
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
] | [
9771,
3129,
378,
262,
5415,
2479,
286,
4257,
3871,
508,
3724,
878,
362,
22042,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
... |
Who was the opponent during week 8? | SELECT opponent FROM table_name_67 WHERE week = 8 | [
8241,
373,
262,
6125,
1141,
1285,
807,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3134,
33411,
1285,
796,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
1141,
1285,
807,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3134,
33411,
1285,
796,
807
] |
count the number of patients taking medication via inhalation who were born before the year 2078. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2078" AND prescriptions.route = "INHALATION" | [
9127,
262,
1271,
286,
3871,
2263,
14103,
2884,
40982,
341,
508,
547,
4642,
878,
262,
614,
1160,
3695,
13,
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,
1... | [
9127,
262,
1271,
286,
3871,
2263,
14103,
2884,
40982,
341,
508,
547,
4642,
878,
262,
614,
1160,
3695,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
1... |
How many u.s. viewers (million) have the production code of 5.09? | SELECT us_viewers__million_ FROM table_19229713_6 WHERE production_code = "5.09" | [
2437,
867,
334,
13,
82,
13,
10209,
357,
14100,
8,
423,
262,
3227,
2438,
286,
642,
13,
2931,
30,
46506,
514,
62,
1177,
364,
834,
14100,
62,
16034,
3084,
62,
1129,
1828,
5607,
1485,
62,
21,
33411,
3227,
62,
8189,
796,
366,
20,
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
] | [
2437,
867,
334,
13,
82,
13,
10209,
357,
14100,
8,
423,
262,
3227,
2438,
286,
642,
13,
2931,
30,
46506,
514,
62,
1177,
364,
834,
14100,
62,
16034,
3084,
62,
1129,
1828,
5607,
1485,
62,
21,
33411,
3227,
62,
8189,
796,
366,
20,
13,
... |
Show different carriers of phones together with the number of phones with each carrier Plot them as bar chart, show by the Y-axis in desc. | SELECT Carrier, COUNT(*) FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC | [
15307,
1180,
16651,
286,
9512,
1978,
351,
262,
1271,
286,
9512,
351,
1123,
11920,
28114,
606,
355,
2318,
8262,
11,
905,
416,
262,
575,
12,
22704,
287,
1715,
13,
46506,
30252,
11,
327,
28270,
7,
28104,
16034,
3072,
44441,
11050,
30252,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
16651,
286,
9512,
1978,
351,
262,
1271,
286,
9512,
351,
1123,
11920,
28114,
606,
355,
2318,
8262,
11,
905,
416,
262,
575,
12,
22704,
287,
1715,
13,
46506,
30252,
11,
327,
28270,
7,
28104,
16034,
3072,
44441,
11050,
30252,
... |
What is the total of rank when silver is more than 1, gold is 2, and total is more than 4? | SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4 | [
2061,
318,
262,
2472,
286,
4279,
618,
8465,
318,
517,
621,
352,
11,
3869,
318,
362,
11,
290,
2472,
318,
517,
621,
604,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
8465,
1875,
352,
5357,
3869,
796,
362,
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
] | [
2061,
318,
262,
2472,
286,
4279,
618,
8465,
318,
517,
621,
352,
11,
3869,
318,
362,
11,
290,
2472,
318,
517,
621,
604,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
8465,
1875,
352,
5357,
3869,
796,
362,
535... |
Name the catalog number for am/pm callanetics | SELECT "Catalog Number" FROM table_74090 WHERE "Title" = 'AM/PM Callanetics' | [
5376,
262,
18388,
1271,
329,
716,
14,
4426,
869,
272,
14596,
46506,
366,
49015,
7913,
1,
16034,
3084,
62,
45598,
3829,
33411,
366,
19160,
1,
796,
705,
2390,
14,
5868,
4889,
272,
14596,
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
] | [
5376,
262,
18388,
1271,
329,
716,
14,
4426,
869,
272,
14596,
46506,
366,
49015,
7913,
1,
16034,
3084,
62,
45598,
3829,
33411,
366,
19160,
1,
796,
705,
2390,
14,
5868,
4889,
272,
14596,
6
] |
how many patients were admitted on clinic referral/premature? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" | [
4919,
867,
3871,
547,
6848,
319,
15760,
31413,
14,
31605,
1300,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5097,
1268,
2149,
4526,
2430... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
547,
6848,
319,
15760,
31413,
14,
31605,
1300,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5097,
1268,
2149,
4526,
2430... |
how long , in years , has the this world series been occurring ? | SELECT MAX("year") - MIN("year") FROM table_204_983 | [
4919,
890,
837,
287,
812,
837,
468,
262,
428,
995,
2168,
587,
14963,
5633,
46506,
25882,
7203,
1941,
4943,
532,
20625,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
4089,
18
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
890,
837,
287,
812,
837,
468,
262,
428,
995,
2168,
587,
14963,
5633,
46506,
25882,
7203,
1941,
4943,
532,
20625,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
4089,
18
] |
the first date is ? | SELECT "date" FROM table_204_539 ORDER BY "date" LIMIT 1 | [
1169,
717,
3128,
318,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
38678,
11050,
366,
4475,
1,
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
] | [
1169,
717,
3128,
318,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
38678,
11050,
366,
4475,
1,
27564,
2043,
352
] |
What is the least amount of draws with an against of 1261? | SELECT MIN("Draws") FROM table_41307 WHERE "Against" = '1261' | [
2061,
318,
262,
1551,
2033,
286,
14293,
351,
281,
1028,
286,
1105,
5333,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
3901,
22996,
33411,
366,
39276,
1,
796,
705,
1065,
5333,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1551,
2033,
286,
14293,
351,
281,
1028,
286,
1105,
5333,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
3901,
22996,
33411,
366,
39276,
1,
796,
705,
1065,
5333,
6
] |
Who had the fastest lap when David Coulthard had pole position and Michael Schumacher as a winning driver. | SELECT "Fastest Lap" FROM table_52451 WHERE "Pole Position" = 'david coulthard' AND "Winning Driver" = 'michael schumacher' | [
8241,
550,
262,
14162,
14779,
618,
3271,
27854,
400,
446,
550,
16825,
2292,
290,
3899,
3059,
388,
3493,
355,
257,
5442,
4639,
13,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
48057,
4349,
33411,
366,
47,
2305,
23158,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
262,
14162,
14779,
618,
3271,
27854,
400,
446,
550,
16825,
2292,
290,
3899,
3059,
388,
3493,
355,
257,
5442,
4639,
13,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
48057,
4349,
33411,
366,
47,
2305,
23158,
1,
796,
705... |
On what weekday was the match that had Perth Glory as the away team? | SELECT "Weekday" FROM table_65231 WHERE "Away" = 'perth glory' | [
2202,
644,
28269,
373,
262,
2872,
326,
550,
29913,
25778,
355,
262,
1497,
1074,
30,
46506,
366,
20916,
820,
1,
16034,
3084,
62,
2996,
25667,
33411,
366,
32,
1014,
1,
796,
705,
525,
400,
13476,
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
] | [
2202,
644,
28269,
373,
262,
2872,
326,
550,
29913,
25778,
355,
262,
1497,
1074,
30,
46506,
366,
20916,
820,
1,
16034,
3084,
62,
2996,
25667,
33411,
366,
32,
1014,
1,
796,
705,
525,
400,
13476,
6
] |
When Rocco Mediate has a To par of +2 and a 69-73=142 score, what is the country listed? | SELECT "Country" FROM table_12722 WHERE "To par" = '+2' AND "Score" = '69-73=142' AND "Player" = 'rocco mediate' | [
2215,
13545,
1073,
2019,
9386,
468,
257,
1675,
1582,
286,
1343,
17,
290,
257,
8644,
12,
4790,
28,
23726,
4776,
11,
644,
318,
262,
1499,
5610,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
16799,
1828,
33411,
366,
2514,
1582,
1,
796,
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... | [
2215,
13545,
1073,
2019,
9386,
468,
257,
1675,
1582,
286,
1343,
17,
290,
257,
8644,
12,
4790,
28,
23726,
4776,
11,
644,
318,
262,
1499,
5610,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
16799,
1828,
33411,
366,
2514,
1582,
1,
796,
70... |
How many models do not have the wifi function? | SELECT COUNT(*) FROM chip_model WHERE wifi = 'No' | [
2437,
867,
4981,
466,
407,
423,
262,
43121,
2163,
30,
46506,
327,
28270,
7,
28104,
16034,
11594,
62,
19849,
33411,
43121,
796,
705,
2949,
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
] | [
2437,
867,
4981,
466,
407,
423,
262,
43121,
2163,
30,
46506,
327,
28270,
7,
28104,
16034,
11594,
62,
19849,
33411,
43121,
796,
705,
2949,
6
] |
To fulfill the Other requirement , what is the easiest class I can take ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%Other%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_c... | [
2514,
14658,
262,
3819,
9079,
837,
644,
318,
262,
16638,
1398,
314,
460,
1011,
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,
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,
1,
1,
1,
1,
1,
1,
1... | [
2514,
14658,
262,
3819,
9079,
837,
644,
318,
262,
16638,
1398,
314,
460,
1011,
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,
17... |
What is the Pine Rivers total population after 1947 with a Redcliffe population smaller than 68,877, a total population greater than 50,785, and a Caboolture population greater than 12,207? | SELECT COUNT("(Pine Rivers)") FROM table_71057 WHERE "Year" > '1947' AND "(Redcliffe)" < '68,877' AND "Population (Total)" > '50,785' AND "(Caboolture)" > '12,207' | [
2061,
318,
262,
23076,
18280,
2472,
3265,
706,
21709,
351,
257,
2297,
33783,
3265,
4833,
621,
8257,
11,
42802,
11,
257,
2472,
3265,
3744,
621,
2026,
11,
41172,
11,
290,
257,
15976,
970,
83,
495,
3265,
3744,
621,
1105,
11,
22745,
30,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23076,
18280,
2472,
3265,
706,
21709,
351,
257,
2297,
33783,
3265,
4833,
621,
8257,
11,
42802,
11,
257,
2472,
3265,
3744,
621,
2026,
11,
41172,
11,
290,
257,
15976,
970,
83,
495,
3265,
3744,
621,
1105,
11,
22745,
30,
... |
what is the minimum total hospital cost, which includes metabolic acidosis - uremic acidosis a year before? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'metabolic acidosis - uremic acidosis')) AND ... | [
10919,
318,
262,
5288,
2472,
4436,
1575,
11,
543,
3407,
19737,
7408,
5958,
532,
334,
2787,
291,
7408,
5958,
257,
614,
878,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
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,
5288,
2472,
4436,
1575,
11,
543,
3407,
19737,
7408,
5958,
532,
334,
2787,
291,
7408,
5958,
257,
614,
878,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16... |
At the match where the away team scored 4.5 (29), what was the crowd size? | SELECT COUNT("Crowd") FROM table_74802 WHERE "Away team score" = '4.5 (29)' | [
2953,
262,
2872,
810,
262,
1497,
1074,
7781,
604,
13,
20,
357,
1959,
828,
644,
373,
262,
4315,
2546,
30,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
4524,
30863,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
19,
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
] | [
2953,
262,
2872,
810,
262,
1497,
1074,
7781,
604,
13,
20,
357,
1959,
828,
644,
373,
262,
4315,
2546,
30,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
4524,
30863,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
19,
13,
... |
until 4 years ago what are the three most common medications prescribed during the same hospital visit to the patients aged 50s after being diagnosed with dmii wo cmp nt st uncntr? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_... | [
28446,
604,
812,
2084,
644,
389,
262,
1115,
749,
2219,
17638,
14798,
1141,
262,
976,
4436,
3187,
284,
262,
3871,
9722,
2026,
82,
706,
852,
14641,
351,
288,
76,
4178,
24486,
269,
3149,
299,
83,
336,
4591,
429,
81,
30,
46506,
256,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
604,
812,
2084,
644,
389,
262,
1115,
749,
2219,
17638,
14798,
1141,
262,
976,
4436,
3187,
284,
262,
3871,
9722,
2026,
82,
706,
852,
14641,
351,
288,
76,
4178,
24486,
269,
3149,
299,
83,
336,
4591,
429,
81,
30,
46506,
256,
18,... |
If podiums are 26, what's the lowest WChmp? | SELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 26 | [
1532,
27941,
82,
389,
2608,
11,
644,
338,
262,
9016,
370,
1925,
3149,
30,
46506,
20625,
7,
86,
354,
3149,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
27941,
82,
796,
2608
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
27941,
82,
389,
2608,
11,
644,
338,
262,
9016,
370,
1925,
3149,
30,
46506,
20625,
7,
86,
354,
3149,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
27941,
82,
796,
2608
] |
Which 2005 has a 2003 of -13,25, and a 2004 smaller than -8,37? | SELECT MIN("2005") FROM table_60238 WHERE "2003" = '-13,25' AND "2004" < '-8,37' | [
13828,
5075,
468,
257,
5816,
286,
532,
1485,
11,
1495,
11,
290,
257,
5472,
4833,
621,
532,
23,
11,
2718,
30,
46506,
20625,
7203,
14315,
4943,
16034,
3084,
62,
1899,
23721,
33411,
366,
16088,
1,
796,
705,
12,
1485,
11,
1495,
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
] | [
13828,
5075,
468,
257,
5816,
286,
532,
1485,
11,
1495,
11,
290,
257,
5472,
4833,
621,
532,
23,
11,
2718,
30,
46506,
20625,
7203,
14315,
4943,
16034,
3084,
62,
1899,
23721,
33411,
366,
16088,
1,
796,
705,
12,
1485,
11,
1495,
6,
5357,... |
Who wrote 'Monica's bad day'? | SELECT "Writer" FROM table_29106 WHERE "Title" = 'Monica''s Bad Day' | [
8241,
2630,
705,
9069,
3970,
338,
2089,
1110,
30960,
46506,
366,
34379,
1,
16034,
3084,
62,
1959,
15801,
33411,
366,
19160,
1,
796,
705,
9069,
3970,
7061,
82,
7772,
3596,
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,
2630,
705,
9069,
3970,
338,
2089,
1110,
30960,
46506,
366,
34379,
1,
16034,
3084,
62,
1959,
15801,
33411,
366,
19160,
1,
796,
705,
9069,
3970,
7061,
82,
7772,
3596,
6
] |
Show the relationship between the number of dorms and total capacity with a scatter chart. | SELECT COUNT(*), SUM(student_capacity) FROM Dorm GROUP BY gender | [
15307,
262,
2776,
1022,
262,
1271,
286,
18586,
82,
290,
2472,
5339,
351,
257,
41058,
8262,
13,
46506,
327,
28270,
46491,
828,
35683,
7,
50139,
62,
42404,
8,
16034,
360,
579,
44441,
11050,
5279
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2776,
1022,
262,
1271,
286,
18586,
82,
290,
2472,
5339,
351,
257,
41058,
8262,
13,
46506,
327,
28270,
46491,
828,
35683,
7,
50139,
62,
42404,
8,
16034,
360,
579,
44441,
11050,
5279
] |
For each director, return the director's name together with the highest rating among all of their movies and ignore movies whose director is NULL. Could you plot the result with a bar chart? | SELECT director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director | [
1890,
1123,
3437,
11,
1441,
262,
3437,
338,
1438,
1978,
351,
262,
4511,
7955,
1871,
477,
286,
511,
6918,
290,
8856,
6918,
3025,
3437,
318,
15697,
13,
10347,
345,
7110,
262,
1255,
351,
257,
2318,
8262,
30,
46506,
3437,
11,
25882,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
1123,
3437,
11,
1441,
262,
3437,
338,
1438,
1978,
351,
262,
4511,
7955,
1871,
477,
286,
511,
6918,
290,
8856,
6918,
3025,
3437,
318,
15697,
13,
10347,
345,
7110,
262,
1255,
351,
257,
2318,
8262,
30,
46506,
3437,
11,
25882,
7,
... |
What was the comment on the Denali area? | SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali" | [
2061,
373,
262,
2912,
319,
262,
5601,
7344,
1989,
30,
46506,
2912,
16034,
3084,
62,
1558,
5607,
1795,
4309,
62,
17,
33411,
33534,
62,
273,
62,
66,
7314,
62,
20337,
796,
366,
21306,
7344,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2912,
319,
262,
5601,
7344,
1989,
30,
46506,
2912,
16034,
3084,
62,
1558,
5607,
1795,
4309,
62,
17,
33411,
33534,
62,
273,
62,
66,
7314,
62,
20337,
796,
366,
21306,
7344,
1
] |
What year has the vehicle of open wheel and a racing series of formula one with a Nation of citizenship in Germany. | SELECT "Year" FROM table_74809 WHERE "Type of vehicle" = 'open wheel' AND "Racing series" = 'formula one' AND "Nation of citizenship" = 'germany' | [
2061,
614,
468,
262,
4038,
286,
1280,
7825,
290,
257,
11717,
2168,
286,
10451,
530,
351,
257,
8741,
286,
14218,
287,
4486,
13,
46506,
366,
17688,
1,
16034,
3084,
62,
4524,
34583,
33411,
366,
6030,
286,
4038,
1,
796,
705,
9654,
7825,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
262,
4038,
286,
1280,
7825,
290,
257,
11717,
2168,
286,
10451,
530,
351,
257,
8741,
286,
14218,
287,
4486,
13,
46506,
366,
17688,
1,
16034,
3084,
62,
4524,
34583,
33411,
366,
6030,
286,
4038,
1,
796,
705,
9654,
7825,
... |
What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)? | SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE operating_mode = "All-electric" AND dirty_electric_grid_rocky_mountains__denver_ = "330 g/mi (205 g/km)" | [
2061,
318,
262,
2462,
64,
13178,
5929,
5252,
3773,
329,
262,
477,
12,
31067,
4038,
351,
11841,
5186,
10706,
26898,
12269,
357,
6559,
332,
8,
286,
25508,
308,
14,
11632,
357,
21261,
308,
14,
13276,
19427,
46506,
2462,
64,
62,
4111,
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... | [
2061,
318,
262,
2462,
64,
13178,
5929,
5252,
3773,
329,
262,
477,
12,
31067,
4038,
351,
11841,
5186,
10706,
26898,
12269,
357,
6559,
332,
8,
286,
25508,
308,
14,
11632,
357,
21261,
308,
14,
13276,
19427,
46506,
2462,
64,
62,
4111,
62,... |
Find the number of stores in each city. Plot them as bar chart. | SELECT Headquartered_City, COUNT(*) FROM store AS t1 JOIN store_district AS t2 ON t1.Store_ID = t2.Store_ID JOIN district AS t3 ON t2.District_ID = t3.District_ID GROUP BY t3.Headquartered_City | [
16742,
262,
1271,
286,
7000,
287,
1123,
1748,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
7123,
42508,
62,
14941,
11,
327,
28270,
7,
28104,
16034,
3650,
7054,
256,
16,
32357,
1268,
3650,
62,
17080,
2012,
7054,
256,
17,
6177,
256,
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,
1271,
286,
7000,
287,
1123,
1748,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
7123,
42508,
62,
14941,
11,
327,
28270,
7,
28104,
16034,
3650,
7054,
256,
16,
32357,
1268,
3650,
62,
17080,
2012,
7054,
256,
17,
6177,
256,
16,
... |
What was the speed with a time of 1:03.41.86 and a rank smaller than 3? | SELECT speed FROM table_name_86 WHERE rank < 3 AND time = "1:03.41.86" | [
2061,
373,
262,
2866,
351,
257,
640,
286,
352,
25,
3070,
13,
3901,
13,
4521,
290,
257,
4279,
4833,
621,
513,
30,
46506,
2866,
16034,
3084,
62,
3672,
62,
4521,
33411,
4279,
1279,
513,
5357,
640,
796,
366,
16,
25,
3070,
13,
3901,
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
] | [
2061,
373,
262,
2866,
351,
257,
640,
286,
352,
25,
3070,
13,
3901,
13,
4521,
290,
257,
4279,
4833,
621,
513,
30,
46506,
2866,
16034,
3084,
62,
3672,
62,
4521,
33411,
4279,
1279,
513,
5357,
640,
796,
366,
16,
25,
3070,
13,
3901,
13... |
How many seasons are there for the 3rd position? | SELECT COUNT("Season") FROM table_4195 WHERE "Position" = '3rd' | [
2437,
867,
7028,
389,
612,
329,
262,
513,
4372,
2292,
30,
46506,
327,
28270,
7203,
18960,
4943,
16034,
3084,
62,
19,
22186,
33411,
366,
26545,
1,
796,
705,
18,
4372,
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,
7028,
389,
612,
329,
262,
513,
4372,
2292,
30,
46506,
327,
28270,
7203,
18960,
4943,
16034,
3084,
62,
19,
22186,
33411,
366,
26545,
1,
796,
705,
18,
4372,
6
] |
Give me a bar chart for the total number of each position, show the total number in asc order. | SELECT Position, COUNT(*) FROM match_season GROUP BY Position ORDER BY COUNT(*) | [
23318,
502,
257,
2318,
8262,
329,
262,
2472,
1271,
286,
1123,
2292,
11,
905,
262,
2472,
1271,
287,
10570,
1502,
13,
46506,
23158,
11,
327,
28270,
7,
28104,
16034,
2872,
62,
6230,
44441,
11050,
23158,
38678,
11050,
327,
28270,
7,
28104
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
329,
262,
2472,
1271,
286,
1123,
2292,
11,
905,
262,
2472,
1271,
287,
10570,
1502,
13,
46506,
23158,
11,
327,
28270,
7,
28104,
16034,
2872,
62,
6230,
44441,
11050,
23158,
38678,
11050,
327,
28270,
7,
28104
] |
Name the home for 21-17 | SELECT home FROM table_name_93 WHERE score = "21-17" | [
5376,
262,
1363,
329,
2310,
12,
1558,
46506,
1363,
16034,
3084,
62,
3672,
62,
6052,
33411,
4776,
796,
366,
2481,
12,
1558,
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,
1363,
329,
2310,
12,
1558,
46506,
1363,
16034,
3084,
62,
3672,
62,
6052,
33411,
4776,
796,
366,
2481,
12,
1558,
1
] |
Name the years for marton and decile of 3 for turakina maori girls' college? | SELECT years FROM table_name_91 WHERE area = "marton" AND decile = 3 AND name = "turakina maori girls' college" | [
5376,
262,
812,
329,
11277,
261,
290,
875,
576,
286,
513,
329,
7858,
461,
1437,
17266,
10145,
4813,
6,
4152,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
6420,
33411,
1989,
796,
366,
13822,
261,
1,
5357,
875,
576,
796,
513,
5357,
1438... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
812,
329,
11277,
261,
290,
875,
576,
286,
513,
329,
7858,
461,
1437,
17266,
10145,
4813,
6,
4152,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
6420,
33411,
1989,
796,
366,
13822,
261,
1,
5357,
875,
576,
796,
513,
5357,
1438... |
What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? | SELECT "Length (miles)" FROM table_72973 WHERE "Endpoints" = 'Westlake/MacArthur Park to Wilshire/Western' | [
2061,
318,
262,
300,
7944,
357,
76,
2915,
8,
286,
886,
13033,
7421,
27180,
14,
20285,
283,
11098,
3952,
284,
39716,
10932,
14,
14197,
30,
46506,
366,
24539,
357,
76,
2915,
16725,
16034,
3084,
62,
48555,
4790,
33411,
366,
12915,
13033,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
300,
7944,
357,
76,
2915,
8,
286,
886,
13033,
7421,
27180,
14,
20285,
283,
11098,
3952,
284,
39716,
10932,
14,
14197,
30,
46506,
366,
24539,
357,
76,
2915,
16725,
16034,
3084,
62,
48555,
4790,
33411,
366,
12915,
13033,
... |
Count the number of wrestlers. | SELECT COUNT(*) FROM wrestler | [
12332,
262,
1271,
286,
41758,
13,
46506,
327,
28270,
7,
28104,
16034,
34845
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
41758,
13,
46506,
327,
28270,
7,
28104,
16034,
34845
] |
which fa cups had a total of 565 (7)? | SELECT "FA Cup" FROM table_19728 WHERE "Total" = '565 (7)' | [
4758,
24685,
14180,
550,
257,
2472,
286,
642,
2996,
357,
22,
19427,
46506,
366,
7708,
5454,
1,
16034,
3084,
62,
24991,
2078,
33411,
366,
14957,
1,
796,
705,
47372,
357,
22,
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
] | [
4758,
24685,
14180,
550,
257,
2472,
286,
642,
2996,
357,
22,
19427,
46506,
366,
7708,
5454,
1,
16034,
3084,
62,
24991,
2078,
33411,
366,
14957,
1,
796,
705,
47372,
357,
22,
33047
] |
Which race was Matra the constructor? | SELECT race_name FROM table_name_90 WHERE constructor = "matra" | [
13828,
3234,
373,
6550,
430,
262,
23772,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
3829,
33411,
23772,
796,
366,
6759,
430,
1
] | [
1,
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,
3234,
373,
6550,
430,
262,
23772,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
3829,
33411,
23772,
796,
366,
6759,
430,
1
] |
What is the lowest average points per race entered of driver kimi r ikk nen, who has more than 194 entries? | SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = "kimi räikkönen" AND entries > 194 | [
2061,
318,
262,
9016,
2811,
2173,
583,
3234,
5982,
286,
4639,
479,
25236,
374,
220,
36073,
299,
268,
11,
508,
468,
517,
621,
30483,
12784,
30,
46506,
20625,
7,
23913,
62,
13033,
62,
525,
62,
16740,
62,
298,
1068,
8,
16034,
3084,
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,
318,
262,
9016,
2811,
2173,
583,
3234,
5982,
286,
4639,
479,
25236,
374,
220,
36073,
299,
268,
11,
508,
468,
517,
621,
30483,
12784,
30,
46506,
20625,
7,
23913,
62,
13033,
62,
525,
62,
16740,
62,
298,
1068,
8,
16034,
3084,
62,... |
List the name of all products along with the number of complaints that they have received, order in desc by the y-axis. | SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name ORDER BY COUNT(*) DESC | [
8053,
262,
1438,
286,
477,
3186,
1863,
351,
262,
1271,
286,
9687,
326,
484,
423,
2722,
11,
1502,
287,
1715,
416,
262,
331,
12,
22704,
13,
46506,
1720,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
256,
16,
32357,
1268,
200... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11,
1502,
287,
1715,
416,
262,
331,
12,
22704,
13,
46506,
1720,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
256,
16,
32357,
1268,
200... |
What is the sum of the episode numbers where chip esten is the 4th performer and christopher smith was the 2nd performer? | SELECT SUM(episode) FROM table_name_37 WHERE performer_4 = "chip esten" AND performer_2 = "christopher smith" | [
2061,
318,
262,
2160,
286,
262,
4471,
3146,
810,
11594,
1556,
268,
318,
262,
604,
400,
26960,
290,
33826,
8803,
895,
342,
373,
262,
362,
358,
26960,
30,
46506,
35683,
7,
38668,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
26960,
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
] | [
2061,
318,
262,
2160,
286,
262,
4471,
3146,
810,
11594,
1556,
268,
318,
262,
604,
400,
26960,
290,
33826,
8803,
895,
342,
373,
262,
362,
358,
26960,
30,
46506,
35683,
7,
38668,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
26960,
62,
1... |
Name the broadcast network for saitama prefecture | SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture" | [
5376,
262,
7025,
3127,
329,
473,
270,
1689,
662,
36637,
46506,
7025,
62,
27349,
16034,
3084,
62,
21536,
4304,
27033,
62,
17,
33411,
7025,
62,
29982,
796,
366,
50,
4548,
1689,
3771,
36637,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7025,
3127,
329,
473,
270,
1689,
662,
36637,
46506,
7025,
62,
27349,
16034,
3084,
62,
21536,
4304,
27033,
62,
17,
33411,
7025,
62,
29982,
796,
366,
50,
4548,
1689,
3771,
36637,
1
] |
Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals? | SELECT "Season" FROM table_60119 WHERE "Rank" < '4' AND "Club" = 'barcelona' AND "Goals" < '115' | [
13828,
7369,
468,
257,
10916,
4833,
621,
604,
11,
290,
257,
6289,
286,
2318,
14308,
11,
290,
1342,
621,
12279,
4661,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
41706,
1129,
33411,
366,
27520,
1,
1279,
705,
19,
6,
5357,
366,
42350,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7369,
468,
257,
10916,
4833,
621,
604,
11,
290,
257,
6289,
286,
2318,
14308,
11,
290,
1342,
621,
12279,
4661,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
41706,
1129,
33411,
366,
27520,
1,
1279,
705,
19,
6,
5357,
366,
42350,
1... |
What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character? | SELECT "Actor" FROM table_14026 WHERE "Soap Opera" = 'onderweg naar morgen' AND "Character" = 'aafke couwenberg' | [
2061,
8674,
468,
319,
1082,
732,
70,
12385,
283,
2146,
5235,
11,
355,
262,
19533,
27296,
11,
351,
257,
1878,
365,
2284,
21006,
3900,
355,
262,
2095,
30,
46506,
366,
40277,
1,
16034,
3084,
62,
15187,
2075,
33411,
366,
2396,
499,
26049,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8674,
468,
319,
1082,
732,
70,
12385,
283,
2146,
5235,
11,
355,
262,
19533,
27296,
11,
351,
257,
1878,
365,
2284,
21006,
3900,
355,
262,
2095,
30,
46506,
366,
40277,
1,
16034,
3084,
62,
15187,
2075,
33411,
366,
2396,
499,
26049,... |
What Country has a Director of 2007? | SELECT country FROM table_name_43 WHERE director_s_ = "2007" | [
2061,
12946,
468,
257,
5890,
286,
4343,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3559,
33411,
3437,
62,
82,
62,
796,
366,
12726,
1
] | [
1,
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,
12946,
468,
257,
5890,
286,
4343,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3559,
33411,
3437,
62,
82,
62,
796,
366,
12726,
1
] |
i need a flight from PHOENIX to DETROIT leaving monday evening | 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DETROIT' AND date_day.day_number = 21 AND date_day.month_number = 2 AND ... | [
72,
761,
257,
5474,
422,
9370,
46,
1677,
10426,
284,
38267,
13252,
2043,
4305,
285,
3204,
6180,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
761,
257,
5474,
422,
9370,
46,
1677,
10426,
284,
38267,
13252,
2043,
4305,
285,
3204,
6180,
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... |
how many patients the previous year had enteral vital high protein intake? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT intakeoutput.patientunitstayid FROM intakeoutput WHERE intakeoutput.celllabel = 'enteral vital high protein' AND intakeoutput.cellpath LIKE '%input%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(C... | [
4919,
867,
3871,
262,
2180,
614,
550,
920,
1691,
9204,
1029,
7532,
10337,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
1033... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
2180,
614,
550,
920,
1691,
9204,
1029,
7532,
10337,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
1033... |
What was Lambert's song choice in the top 13? | SELECT "Song choice" FROM table_24420 WHERE "Week #" = 'Top 13' | [
2061,
373,
36978,
338,
3496,
3572,
287,
262,
1353,
1511,
30,
46506,
366,
44241,
3572,
1,
16034,
3084,
62,
25707,
1238,
33411,
366,
20916,
1303,
1,
796,
705,
9126,
1511,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
36978,
338,
3496,
3572,
287,
262,
1353,
1511,
30,
46506,
366,
44241,
3572,
1,
16034,
3084,
62,
25707,
1238,
33411,
366,
20916,
1303,
1,
796,
705,
9126,
1511,
6
] |
when was patient 12568 this year last diagnosed with anemia of prematurity? | SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'anemia of prematurity') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12568) AND DATETIME(... | [
12518,
373,
5827,
13151,
3104,
428,
614,
938,
14641,
351,
281,
22859,
286,
4199,
265,
1684,
30,
46506,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
5827,
13151,
3104,
428,
614,
938,
14641,
351,
281,
22859,
286,
4199,
265,
1684,
30,
46506,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
... |
Who had the high points on February 6? | SELECT "High points" FROM table_21505 WHERE "Date" = 'February 6' | [
8241,
550,
262,
1029,
2173,
319,
3945,
718,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
2481,
31654,
33411,
366,
10430,
1,
796,
705,
21816,
718,
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,
550,
262,
1029,
2173,
319,
3945,
718,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
2481,
31654,
33411,
366,
10430,
1,
796,
705,
21816,
718,
6
] |
What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses? | SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7 | [
2061,
318,
262,
9016,
1271,
286,
12914,
326,
6233,
21042,
280,
631,
550,
618,
484,
550,
517,
621,
767,
22014,
274,
30,
46506,
20625,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
2613,
34174,
62,
2704,
796,
366,
27180,
266,
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
] | [
2061,
318,
262,
9016,
1271,
286,
12914,
326,
6233,
21042,
280,
631,
550,
618,
484,
550,
517,
621,
767,
22014,
274,
30,
46506,
20625,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
2613,
34174,
62,
2704,
796,
366,
27180,
266,
4... |
In which position did Ilju t enko finish in the European Championships held prior to 2008? | SELECT position FROM table_name_48 WHERE year < 2008 AND competition = "european championships" | [
818,
543,
2292,
750,
13778,
14396,
256,
551,
7204,
5461,
287,
262,
3427,
24782,
2714,
3161,
284,
3648,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
2780,
33411,
614,
1279,
3648,
5357,
5449,
796,
366,
44252,
431,
272,
27459,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
2292,
750,
13778,
14396,
256,
551,
7204,
5461,
287,
262,
3427,
24782,
2714,
3161,
284,
3648,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
2780,
33411,
614,
1279,
3648,
5357,
5449,
796,
366,
44252,
431,
272,
27459,
1
] |
What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1? | SELECT tackles FROM table_name_75 WHERE solo > 67 AND sacks < 2 AND int_yds > 1 | [
2061,
318,
262,
1988,
329,
309,
441,
829,
11,
618,
262,
1988,
329,
20284,
318,
3744,
621,
8275,
11,
618,
262,
1988,
329,
311,
4595,
318,
1342,
621,
362,
11,
290,
618,
262,
1988,
329,
17828,
575,
5258,
318,
3744,
621,
352,
30,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1988,
329,
309,
441,
829,
11,
618,
262,
1988,
329,
20284,
318,
3744,
621,
8275,
11,
618,
262,
1988,
329,
311,
4595,
318,
1342,
621,
362,
11,
290,
618,
262,
1988,
329,
17828,
575,
5258,
318,
3744,
621,
352,
30,
4650... |
give the number of patients diagnosed with sternal wound infection and born before the year 2085. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "STERNAL WOUND INFECTION" AND demographic.dob_year < "2085" | [
26535,
262,
1271,
286,
3871,
14641,
351,
26370,
282,
11699,
10280,
290,
4642,
878,
262,
614,
1160,
5332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
262,
1271,
286,
3871,
14641,
351,
26370,
282,
11699,
10280,
290,
4642,
878,
262,
614,
1160,
5332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
3... |
What is the fewest recorded entrants against paris saint-germain? | SELECT MIN("Entries") FROM table_73959 WHERE "Winner" = 'Paris Saint-Germain' | [
2061,
318,
262,
1178,
395,
6264,
49117,
1028,
1582,
271,
32292,
12,
1362,
12417,
30,
46506,
20625,
7203,
14539,
1678,
4943,
16034,
3084,
62,
22,
2670,
3270,
33411,
366,
48056,
1,
796,
705,
40313,
9281,
12,
38,
7780,
391,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
6264,
49117,
1028,
1582,
271,
32292,
12,
1362,
12417,
30,
46506,
20625,
7203,
14539,
1678,
4943,
16034,
3084,
62,
22,
2670,
3270,
33411,
366,
48056,
1,
796,
705,
40313,
9281,
12,
38,
7780,
391,
6
] |
Who has the lead in Norway? | SELECT "Lead" FROM table_53949 WHERE "Nation" = 'norway' | [
8241,
468,
262,
1085,
287,
15238,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
20,
2670,
2920,
33411,
366,
46108,
1,
796,
705,
13099,
1014,
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
] | [
8241,
468,
262,
1085,
287,
15238,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
20,
2670,
2920,
33411,
366,
46108,
1,
796,
705,
13099,
1014,
6
] |
A bar chart about what is the state and enrollment of the colleges where have any students who got accepted in the tryout decision, and show by the Y-axis in ascending. | SELECT state, enr FROM College AS T1 JOIN Tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' ORDER BY enr | [
32,
2318,
8262,
546,
644,
318,
262,
1181,
290,
20753,
286,
262,
15273,
810,
423,
597,
2444,
508,
1392,
6292,
287,
262,
1949,
448,
2551,
11,
290,
905,
416,
262,
575,
12,
22704,
287,
41988,
13,
46506,
1181,
11,
551,
81,
16034,
5535,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
644,
318,
262,
1181,
290,
20753,
286,
262,
15273,
810,
423,
597,
2444,
508,
1392,
6292,
287,
262,
1949,
448,
2551,
11,
290,
905,
416,
262,
575,
12,
22704,
287,
41988,
13,
46506,
1181,
11,
551,
81,
16034,
5535,
... |
What is the Place of the Player with a Score of 73-68-71=212? | SELECT "Place" FROM table_47798 WHERE "Score" = '73-68-71=212' | [
2061,
318,
262,
8474,
286,
262,
7853,
351,
257,
15178,
286,
8854,
12,
3104,
12,
4869,
28,
21777,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
2857,
43240,
33411,
366,
26595,
1,
796,
705,
4790,
12,
3104,
12,
4869,
28,
21777,
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
] | [
2061,
318,
262,
8474,
286,
262,
7853,
351,
257,
15178,
286,
8854,
12,
3104,
12,
4869,
28,
21777,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
2857,
43240,
33411,
366,
26595,
1,
796,
705,
4790,
12,
3104,
12,
4869,
28,
21777,
6
] |
how many patients diagnosed for diabetic retinopathy nos were discharged at home? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "HOME" AND diagnoses.short_title = "Diabetic retinopathy NOS" | [
4919,
867,
3871,
14641,
329,
44016,
1005,
259,
27189,
43630,
547,
26476,
379,
1363,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14641,
329,
44016,
1005,
259,
27189,
43630,
547,
26476,
379,
1363,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,... |
what's the byu-uu score with uu-usu score being 44 16 | SELECT "BYU-UU score" FROM table_863 WHERE "UU-USU score" = '44–16' | [
10919,
338,
262,
416,
84,
12,
12303,
4776,
351,
334,
84,
12,
385,
84,
4776,
852,
5846,
1467,
46506,
366,
17513,
52,
12,
30100,
4776,
1,
16034,
3084,
62,
4521,
18,
33411,
366,
30100,
12,
2937,
52,
4776,
1,
796,
705,
2598,
1906,
143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
416,
84,
12,
12303,
4776,
351,
334,
84,
12,
385,
84,
4776,
852,
5846,
1467,
46506,
366,
17513,
52,
12,
30100,
4776,
1,
16034,
3084,
62,
4521,
18,
33411,
366,
30100,
12,
2937,
52,
4776,
1,
796,
705,
2598,
1906,
143... |
What horse won with a trainer of 'no race'? | SELECT winner FROM table_name_21 WHERE trainer = "no race" | [
2061,
8223,
1839,
351,
257,
21997,
286,
705,
3919,
3234,
30960,
46506,
8464,
16034,
3084,
62,
3672,
62,
2481,
33411,
21997,
796,
366,
3919,
3234,
1
] | [
1,
1,
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,
8223,
1839,
351,
257,
21997,
286,
705,
3919,
3234,
30960,
46506,
8464,
16034,
3084,
62,
3672,
62,
2481,
33411,
21997,
796,
366,
3919,
3234,
1
] |
What was Moe Gardner's pick? | SELECT pick FROM table_name_36 WHERE player = "moe gardner" | [
2061,
373,
46488,
27911,
338,
2298,
30,
46506,
2298,
16034,
3084,
62,
3672,
62,
2623,
33411,
2137,
796,
366,
76,
2577,
16985,
1008,
1
] | [
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,
46488,
27911,
338,
2298,
30,
46506,
2298,
16034,
3084,
62,
3672,
62,
2623,
33411,
2137,
796,
366,
76,
2577,
16985,
1008,
1
] |
what is the season when the third is shawn rojeski? | SELECT season FROM table_name_96 WHERE third = "shawn rojeski" | [
10919,
318,
262,
1622,
618,
262,
2368,
318,
427,
3832,
686,
73,
274,
4106,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
4846,
33411,
2368,
796,
366,
1477,
3832,
686,
73,
274,
4106,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
618,
262,
2368,
318,
427,
3832,
686,
73,
274,
4106,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
4846,
33411,
2368,
796,
366,
1477,
3832,
686,
73,
274,
4106,
1
] |
What team 1 has a team 2 of universidad nacional? | SELECT "Team 1" FROM table_60777 WHERE "Team 2" = 'universidad nacional' | [
2061,
1074,
352,
468,
257,
1074,
362,
286,
5820,
32482,
299,
330,
1538,
30,
46506,
366,
15592,
352,
1,
16034,
3084,
62,
1899,
29331,
33411,
366,
15592,
362,
1,
796,
705,
403,
1191,
32482,
299,
330,
1538,
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,
1074,
352,
468,
257,
1074,
362,
286,
5820,
32482,
299,
330,
1538,
30,
46506,
366,
15592,
352,
1,
16034,
3084,
62,
1899,
29331,
33411,
366,
15592,
362,
1,
796,
705,
403,
1191,
32482,
299,
330,
1538,
6
] |
WHAT IS THE NAME WITH 01.0 10 light street? | SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street" | [
32971,
3180,
3336,
36751,
13315,
5534,
13,
15,
838,
1657,
4675,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
5066,
33411,
4675,
62,
21975,
796,
366,
486,
13,
15,
838,
1657,
4675,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36751,
13315,
5534,
13,
15,
838,
1657,
4675,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
5066,
33411,
4675,
62,
21975,
796,
366,
486,
13,
15,
838,
1657,
4675,
1
] |
What were Cruzeiro results in the Copa Mercosur in 1998 | SELECT "Copa Mercosur 1998" FROM table_19747 WHERE "Team" = 'Cruzeiro' | [
2061,
547,
6472,
2736,
7058,
2482,
287,
262,
6955,
64,
12185,
418,
333,
287,
7795,
46506,
366,
13379,
64,
12185,
418,
333,
7795,
1,
16034,
3084,
62,
24991,
2857,
33411,
366,
15592,
1,
796,
705,
27535,
2736,
7058,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
6472,
2736,
7058,
2482,
287,
262,
6955,
64,
12185,
418,
333,
287,
7795,
46506,
366,
13379,
64,
12185,
418,
333,
7795,
1,
16034,
3084,
62,
24991,
2857,
33411,
366,
15592,
1,
796,
705,
27535,
2736,
7058,
6
] |
Who is the home team of the game against Essendon? | SELECT home_team FROM table_name_96 WHERE away_team = "essendon" | [
8241,
318,
262,
1363,
1074,
286,
262,
983,
1028,
11985,
43153,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4846,
33411,
1497,
62,
15097,
796,
366,
408,
43153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
286,
262,
983,
1028,
11985,
43153,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4846,
33411,
1497,
62,
15097,
796,
366,
408,
43153,
1
] |
What is the class of the player with a weight of 242 pounds? | SELECT "Class" FROM table_38147 WHERE "Weight" = '242' | [
2061,
318,
262,
1398,
286,
262,
2137,
351,
257,
3463,
286,
34353,
8059,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
2548,
20198,
33411,
366,
25844,
1,
796,
705,
27877,
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,
1398,
286,
262,
2137,
351,
257,
3463,
286,
34353,
8059,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
2548,
20198,
33411,
366,
25844,
1,
796,
705,
27877,
6
] |
Get questioners and answerers for specific tag. | SELECT p.Id, p.CreationDate, p.Score, p.ViewCount, p.Title, p.AnswerCount, p.CommentCount, p.FavoriteCount, u.DisplayName AS quest_name, u.Reputation AS quest_rep, u2.DisplayName AS ans_name, u2.Reputation AS ans_rep FROM Posts AS p JOIN PostTags AS pt ON p.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id LEFT JOIN Pos... | [
3855,
1808,
364,
290,
2590,
19288,
329,
2176,
7621,
13,
46506,
279,
13,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
26595,
11,
279,
13,
7680,
12332,
11,
279,
13,
19160,
11,
279,
13,
33706,
12332,
11,
279,
13,
21357,
12332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3855,
1808,
364,
290,
2590,
19288,
329,
2176,
7621,
13,
46506,
279,
13,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
26595,
11,
279,
13,
7680,
12332,
11,
279,
13,
19160,
11,
279,
13,
33706,
12332,
11,
279,
13,
21357,
12332,
... |
who is the founder where date is c. 1900 | SELECT founder FROM table_11256021_1 WHERE date = "c. 1900" | [
8727,
318,
262,
9119,
810,
3128,
318,
269,
13,
21489,
46506,
9119,
16034,
3084,
62,
16,
11623,
1899,
2481,
62,
16,
33411,
3128,
796,
366,
66,
13,
21489,
1
] | [
1,
1,
1,
1,
1,
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,
318,
262,
9119,
810,
3128,
318,
269,
13,
21489,
46506,
9119,
16034,
3084,
62,
16,
11623,
1899,
2481,
62,
16,
33411,
3128,
796,
366,
66,
13,
21489,
1
] |
For those employees who did not have any job in the past, draw a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, rank by the total number of department id in asc please. | SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
4279,
416,
262,
2472... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
4279,
416,
262,
2472... |
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc | SELECT "Pts" FROM table_19146 WHERE "Poles" < '1.0' AND "Motorcycle" = 'Aprilia' AND "Class" = '250cc' | [
10919,
338,
262,
43344,
351,
24971,
852,
4833,
621,
352,
13,
15,
290,
18757,
852,
46593,
17517,
290,
1398,
852,
8646,
535,
46506,
366,
47,
912,
1,
16034,
3084,
62,
1129,
20964,
33411,
366,
47,
4316,
1,
1279,
705,
16,
13,
15,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43344,
351,
24971,
852,
4833,
621,
352,
13,
15,
290,
18757,
852,
46593,
17517,
290,
1398,
852,
8646,
535,
46506,
366,
47,
912,
1,
16034,
3084,
62,
1129,
20964,
33411,
366,
47,
4316,
1,
1279,
705,
16,
13,
15,
6,
53... |
I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16 | SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND lost > 16 | [
40,
765,
262,
2472,
1271,
286,
8470,
329,
1592,
4064,
517,
621,
657,
290,
17081,
286,
5878,
12,
9804,
351,
2626,
517,
621,
1467,
46506,
327,
28270,
7,
4278,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
1592,
834,
25067,
496,
1875,
657,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
262,
2472,
1271,
286,
8470,
329,
1592,
4064,
517,
621,
657,
290,
17081,
286,
5878,
12,
9804,
351,
2626,
517,
621,
1467,
46506,
327,
28270,
7,
4278,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
1592,
834,
25067,
496,
1875,
657,
... |
Which opponent has a record of 70-52? | SELECT "Opponent" FROM table_37609 WHERE "Record" = '70-52' | [
13828,
6125,
468,
257,
1700,
286,
4317,
12,
4309,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2718,
31751,
33411,
366,
23739,
1,
796,
705,
2154,
12,
4309,
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
] | [
13828,
6125,
468,
257,
1700,
286,
4317,
12,
4309,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2718,
31751,
33411,
366,
23739,
1,
796,
705,
2154,
12,
4309,
6
] |
For those records from the products and each product's manufacturer, give me the comparison about the sum of price over the founder , and group by attribute founder by a bar chart, order by the x-axis in asc. | SELECT Founder, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
2756,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
416,
257,
2318,
8262,
11,
1502,
416,
262,
2124,
12,
22704,
287,
105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
2756,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
416,
257,
2318,
8262,
11,
1502,
416,
262,
2124,
12,
22704,
287,
105... |
find the names of programs whose origin is not in Beijing. | SELECT name FROM program WHERE origin <> 'Beijing' | [
19796,
262,
3891,
286,
4056,
3025,
8159,
318,
407,
287,
11618,
13,
46506,
1438,
16034,
1430,
33411,
8159,
1279,
29,
705,
3856,
11030,
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
] | [
19796,
262,
3891,
286,
4056,
3025,
8159,
318,
407,
287,
11618,
13,
46506,
1438,
16034,
1430,
33411,
8159,
1279,
29,
705,
3856,
11030,
6
] |
Frequency MHz of 93.7 has what class? | SELECT class FROM table_name_4 WHERE frequency_mhz = 93.7 | [
37,
28707,
19805,
286,
10261,
13,
22,
468,
644,
1398,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
19,
33411,
8373,
62,
76,
32179,
796,
10261,
13,
22
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
37,
28707,
19805,
286,
10261,
13,
22,
468,
644,
1398,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
19,
33411,
8373,
62,
76,
32179,
796,
10261,
13,
22
] |
Draw a bar chart about the distribution of Sex and the average of Weight , and group by attribute Sex, and I want to order by the total number from high to low. | SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight) DESC | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
14419,
290,
262,
2811,
286,
14331,
837,
290,
1448,
416,
11688,
14419,
11,
290,
314,
765,
284,
1502,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
13,
46506,
14419,
11,
35224,
7,
25844,
8,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
14419,
290,
262,
2811,
286,
14331,
837,
290,
1448,
416,
11688,
14419,
11,
290,
314,
765,
284,
1502,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
13,
46506,
14419,
11,
35224,
7,
25844,
8,
1... |
What is the lowest Loss, when Long is less than 0? | SELECT MIN("Loss") FROM table_76631 WHERE "Long" < '0' | [
2061,
318,
262,
9016,
22014,
11,
618,
5882,
318,
1342,
621,
657,
30,
46506,
20625,
7203,
43,
793,
4943,
16034,
3084,
62,
22,
2791,
3132,
33411,
366,
14617,
1,
1279,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
22014,
11,
618,
5882,
318,
1342,
621,
657,
30,
46506,
20625,
7203,
43,
793,
4943,
16034,
3084,
62,
22,
2791,
3132,
33411,
366,
14617,
1,
1279,
705,
15,
6
] |
past history or mri evidence of brain damage including significant trauma, stroke, hydrocephalus, lacunar infarcts, seizures, mental retardation or serious neurological disorder. | SELECT * FROM table_train_132 WHERE mri = 1 AND brain_damage = 1 OR (head_injury = 1 OR stroke = 1 OR hydrocephalus = 1 OR lacunar_infarcts = 1 OR seizure_disorder = 1 OR mental_retardation = 1 OR neurological_disease = 1) | [
30119,
2106,
393,
285,
380,
2370,
286,
3632,
2465,
1390,
2383,
14649,
11,
14000,
11,
17173,
43996,
385,
11,
31123,
403,
283,
1167,
283,
310,
82,
11,
24715,
11,
5110,
42964,
341,
393,
2726,
30232,
8967,
13,
46506,
1635,
16034,
3084,
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... | [
30119,
2106,
393,
285,
380,
2370,
286,
3632,
2465,
1390,
2383,
14649,
11,
14000,
11,
17173,
43996,
385,
11,
31123,
403,
283,
1167,
283,
310,
82,
11,
24715,
11,
5110,
42964,
341,
393,
2726,
30232,
8967,
13,
46506,
1635,
16034,
3084,
62... |
give me the number of patients whose admission year is less than 2146 and procedure icd9 code is 8852? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2146" AND procedures.icd9_code = "8852" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
20964,
290,
8771,
14158,
67,
24,
2438,
318,
9193,
4309,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
20964,
290,
8771,
14158,
67,
24,
2438,
318,
9193,
4309,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer? | SELECT COUNT(week__number) FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND order__number = "3" AND original_artist = "Sixpence None the Richer" | [
2061,
373,
262,
1271,
286,
2745,
326,
550,
257,
36229,
6964,
1802,
28626,
7505,
11,
281,
1502,
1271,
286,
513,
11,
290,
281,
2656,
6802,
286,
9699,
79,
594,
6045,
262,
15868,
372,
30,
46506,
327,
28270,
7,
10464,
834,
17618,
8,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
1271,
286,
2745,
326,
550,
257,
36229,
6964,
1802,
28626,
7505,
11,
281,
1502,
1271,
286,
513,
11,
290,
281,
2656,
6802,
286,
9699,
79,
594,
6045,
262,
15868,
372,
30,
46506,
327,
28270,
7,
10464,
834,
17618,
8,
1603... |
Which Thai restaurant has the most number of reviews | SELECT business.name FROM business, category AS CATEGORY_0, category AS CATEGORY_1 WHERE CATEGORY_0.business_id = business.business_id AND CATEGORY_0.category_name = 'restaurant' AND CATEGORY_1.business_id = business.business_id AND CATEGORY_1.category_name = 'Thai' ORDER BY business.review_count DESC LIMIT 1 | [
13828,
18933,
7072,
468,
262,
749,
1271,
286,
8088,
46506,
1597,
13,
3672,
16034,
1597,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
15,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
16,
33411,
327,
6158,
38,
15513,
62,
15,
13,
22680,
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... | [
13828,
18933,
7072,
468,
262,
749,
1271,
286,
8088,
46506,
1597,
13,
3672,
16034,
1597,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
15,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
16,
33411,
327,
6158,
38,
15513,
62,
15,
13,
22680,
62,
... |
What is the CC displacement for 1965? | SELECT "Displacement cc" FROM table_60273 WHERE "Year" = '1965' | [
2061,
318,
262,
12624,
29358,
329,
17672,
30,
46506,
366,
7279,
489,
5592,
36624,
1,
16034,
3084,
62,
1899,
27367,
33411,
366,
17688,
1,
796,
705,
45271,
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
] | [
2061,
318,
262,
12624,
29358,
329,
17672,
30,
46506,
366,
7279,
489,
5592,
36624,
1,
16034,
3084,
62,
1899,
27367,
33411,
366,
17688,
1,
796,
705,
45271,
6
] |
What is the game 2 sum attendance of the team with a total attendance of 759,997? | SELECT SUM("Game 2") FROM table_43243 WHERE "Total" = '759,997' | [
2061,
318,
262,
983,
362,
2160,
14858,
286,
262,
1074,
351,
257,
2472,
14858,
286,
767,
3270,
11,
39647,
30,
46506,
35683,
7203,
8777,
362,
4943,
16034,
3084,
62,
3559,
26660,
33411,
366,
14957,
1,
796,
705,
38314,
11,
39647,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
983,
362,
2160,
14858,
286,
262,
1074,
351,
257,
2472,
14858,
286,
767,
3270,
11,
39647,
30,
46506,
35683,
7203,
8777,
362,
4943,
16034,
3084,
62,
3559,
26660,
33411,
366,
14957,
1,
796,
705,
38314,
11,
39647,
6
] |
In the year (ceremony) 1998 (71st), what are all the main languages? | SELECT "Main Language(s)" FROM table_28653 WHERE "Year (Ceremony)" = '1998 (71st)' | [
818,
262,
614,
357,
344,
2787,
1647,
8,
7795,
357,
4869,
301,
828,
644,
389,
477,
262,
1388,
8950,
30,
46506,
366,
13383,
15417,
7,
82,
16725,
16034,
3084,
62,
2078,
46435,
33411,
366,
17688,
357,
34,
567,
9926,
16725,
796,
705,
211... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
262,
614,
357,
344,
2787,
1647,
8,
7795,
357,
4869,
301,
828,
644,
389,
477,
262,
1388,
8950,
30,
46506,
366,
13383,
15417,
7,
82,
16725,
16034,
3084,
62,
2078,
46435,
33411,
366,
17688,
357,
34,
567,
9926,
16725,
796,
705,
211... |
what is the year(s) when the city is kunming? | SELECT "Year(s)" FROM table_10835 WHERE "City" = 'kunming' | [
10919,
318,
262,
614,
7,
82,
8,
618,
262,
1748,
318,
479,
403,
2229,
30,
46506,
366,
17688,
7,
82,
16725,
16034,
3084,
62,
15711,
2327,
33411,
366,
14941,
1,
796,
705,
28374,
2229,
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,
614,
7,
82,
8,
618,
262,
1748,
318,
479,
403,
2229,
30,
46506,
366,
17688,
7,
82,
16725,
16034,
3084,
62,
15711,
2327,
33411,
366,
14941,
1,
796,
705,
28374,
2229,
6
] |
What was the lead with an alternate of li dongyan? | SELECT "Lead" FROM table_48423 WHERE "Alternate" = 'li dongyan' | [
2061,
373,
262,
1085,
351,
281,
13527,
286,
7649,
288,
506,
4121,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
34137,
1954,
33411,
366,
23081,
378,
1,
796,
705,
4528,
288,
506,
4121,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1085,
351,
281,
13527,
286,
7649,
288,
506,
4121,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
34137,
1954,
33411,
366,
23081,
378,
1,
796,
705,
4528,
288,
506,
4121,
6
] |
Find Nationality and the average of meter_100 , and group by attribute Nationality, and visualize them by a bar chart, display in asc by the x-axis. | SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality ORDER BY Nationality | [
16742,
2351,
414,
290,
262,
2811,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
2351,
414,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
287,
10570,
416,
262,
2124,
12,
22704,
13,
46506,
2351,
414,
11,
35224,
7,
27231,
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
] | [
16742,
2351,
414,
290,
262,
2811,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
2351,
414,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
287,
10570,
416,
262,
2124,
12,
22704,
13,
46506,
2351,
414,
11,
35224,
7,
27231,
62... |
specify the total number of male patients having incisional ventral hernia with obstruction. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Incisional ventral hernia with obstruction" | [
16684,
1958,
262,
2472,
1271,
286,
4257,
3871,
1719,
753,
1166,
282,
7435,
1373,
607,
18142,
351,
28118,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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... | [
16684,
1958,
262,
2472,
1271,
286,
4257,
3871,
1719,
753,
1166,
282,
7435,
1373,
607,
18142,
351,
28118,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... |
what is the value for minimum total wins | SELECT MIN("Total wins") FROM table_19405 | [
10919,
318,
262,
1988,
329,
5288,
2472,
7864,
46506,
20625,
7203,
14957,
7864,
4943,
16034,
3084,
62,
1129,
26598
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1988,
329,
5288,
2472,
7864,
46506,
20625,
7203,
14957,
7864,
4943,
16034,
3084,
62,
1129,
26598
] |
since 2103, what was the monthly average weight of patient 32026? | SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 32026)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admi... | [
20777,
362,
15197,
11,
644,
373,
262,
9651,
2811,
3463,
286,
5827,
20959,
2075,
30,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20777,
362,
15197,
11,
644,
373,
262,
9651,
2811,
3463,
286,
5827,
20959,
2075,
30,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
43... |
in 2105 what were the three most frequent microbiological tests given to patients in the same hospital encounter after receiving cardiac angiography - with stent placement? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cardiac a... | [
259,
362,
13348,
644,
547,
262,
1115,
749,
10792,
24559,
2770,
5254,
1813,
284,
3871,
287,
262,
976,
4436,
8791,
706,
6464,
26077,
3550,
72,
4867,
532,
351,
336,
298,
13127,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
362,
13348,
644,
547,
262,
1115,
749,
10792,
24559,
2770,
5254,
1813,
284,
3871,
287,
262,
976,
4436,
8791,
706,
6464,
26077,
3550,
72,
4867,
532,
351,
336,
298,
13127,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
... |
What nationality is Northwood School (N.Y.)? | SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)" | [
2061,
29835,
318,
2258,
3822,
3961,
357,
45,
13,
56,
2014,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2598,
33411,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
834,
19316,
62,
796,
366,
43588,
3822,
1524,
357,
77,
13,
88,
2014,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29835,
318,
2258,
3822,
3961,
357,
45,
13,
56,
2014,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2598,
33411,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
834,
19316,
62,
796,
366,
43588,
3822,
1524,
357,
77,
13,
88,
2014,
1
... |
Posts edited by the user, excluding own posts. | SELECT h.PostId AS "post_link", h.CreationDate AS "edit_date" FROM PostHistory AS h, Posts AS p WHERE h.UserId = '##UserID##' AND h.PostHistoryTypeId IN (4, 5, 6) AND p.Id = h.PostId AND p.OwnerUserId != '##UserID##' ORDER BY 'edit_date' DESC | [
21496,
13012,
416,
262,
2836,
11,
23494,
898,
6851,
13,
46506,
289,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
289,
13,
12443,
341,
10430,
7054,
366,
19312,
62,
4475,
1,
16034,
2947,
18122,
7054,
289,
11,
12043,
7054,
279,
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... | [
21496,
13012,
416,
262,
2836,
11,
23494,
898,
6851,
13,
46506,
289,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
289,
13,
12443,
341,
10430,
7054,
366,
19312,
62,
4475,
1,
16034,
2947,
18122,
7054,
289,
11,
12043,
7054,
279,
33411... |
Who is drafted overall less than 49? | SELECT "Name" FROM table_5164 WHERE "Overall" < '49' | [
8241,
318,
15937,
4045,
1342,
621,
5125,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
20,
23237,
33411,
366,
16350,
1,
1279,
705,
2920,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
15937,
4045,
1342,
621,
5125,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
20,
23237,
33411,
366,
16350,
1,
1279,
705,
2920,
6
] |
How many countries were sampled in the index created by The Economist, published in 2007 and ranked 2nd in the LA Ranking? | SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE author___editor___source = "The Economist" AND year_of_publication = "2007" AND ranking_la__2_ = "2nd" | [
2437,
867,
2678,
547,
35846,
287,
262,
6376,
2727,
416,
383,
36619,
11,
3199,
287,
4343,
290,
10307,
362,
358,
287,
262,
9131,
45407,
30,
46506,
25882,
7,
9127,
1678,
62,
37687,
10137,
8,
16034,
3084,
62,
19104,
34251,
2414,
62,
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... | [
2437,
867,
2678,
547,
35846,
287,
262,
6376,
2727,
416,
383,
36619,
11,
3199,
287,
4343,
290,
10307,
362,
358,
287,
262,
9131,
45407,
30,
46506,
25882,
7,
9127,
1678,
62,
37687,
10137,
8,
16034,
3084,
62,
19104,
34251,
2414,
62,
16,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.