instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the crowd total at mcg? | SELECT COUNT(crowd) FROM table_name_45 WHERE venue = "mcg" | [
2061,
318,
262,
4315,
2472,
379,
36650,
70,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
14359,
796,
366,
23209,
70,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
4315,
2472,
379,
36650,
70,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
14359,
796,
366,
23209,
70,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the total number whose manufacturer is honda ? | SELECT COUNT(*) FROM table_204_535 WHERE "manufacturer" = 'honda' | [
10919,
318,
262,
2472,
1271,
3025,
11554,
318,
289,
13533,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
44465,
33411,
366,
48119,
15051,
1,
796,
705,
71,
13533,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
10919,
318,
262,
2472,
1271,
3025,
11554,
318,
289,
13533,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
44465,
33411,
366,
48119,
15051,
1,
796,
705,
71,
13533,
6,
50256,
50256,
50256,
50256
] |
Which AFC cup does Kenji Arai have? | SELECT afc_cup FROM table_name_43 WHERE name = "kenji arai" | [
13828,
27987,
6508,
857,
7148,
7285,
30574,
72,
423,
30,
46506,
6580,
66,
62,
25244,
16034,
3084,
62,
3672,
62,
3559,
33411,
1438,
796,
366,
3464,
7285,
257,
430,
72,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
13828,
27987,
6508,
857,
7148,
7285,
30574,
72,
423,
30,
46506,
6580,
66,
62,
25244,
16034,
3084,
62,
3672,
62,
3559,
33411,
1438,
796,
366,
3464,
7285,
257,
430,
72,
1,
50256,
50256,
50256,
50256,
50256
] |
Which Week has an Air Date of august 30, 2008? | SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008" | [
13828,
6119,
468,
281,
3701,
7536,
286,
16339,
436,
1542,
11,
3648,
30,
46506,
1285,
16034,
3084,
62,
3672,
62,
4790,
33411,
1633,
62,
4475,
796,
366,
7493,
436,
1542,
11,
3648,
1,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
13828,
6119,
468,
281,
3701,
7536,
286,
16339,
436,
1542,
11,
3648,
30,
46506,
1285,
16034,
3084,
62,
3672,
62,
4790,
33411,
1633,
62,
4475,
796,
366,
7493,
436,
1542,
11,
3648,
1,
50256,
50256,
50256
] |
Find the number of patients who stayed in hospital for more than 43 days and had lab test item id as 51276. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "43" AND lab.itemid = "51276" | [
16742,
262,
1271,
286,
3871,
508,
9658,
287,
4436,
329,
517,
621,
5946,
1528,
290,
550,
2248,
1332,
2378,
4686,
355,
22243,
4304,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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
] | [
16742,
262,
1271,
286,
3871,
508,
9658,
287,
4436,
329,
517,
621,
5946,
1528,
290,
550,
2248,
1332,
2378,
4686,
355,
22243,
4304,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62
] |
What is the order number for the theme of Mariah Carey? | SELECT "Order #" FROM table_1333 WHERE "Theme" = 'Mariah Carey' | [
2061,
318,
262,
1502,
1271,
329,
262,
7505,
286,
1526,
9520,
31612,
30,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
1485,
2091,
33411,
366,
47863,
1,
796,
705,
7676,
9520,
31612,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
318,
262,
1502,
1271,
329,
262,
7505,
286,
1526,
9520,
31612,
30,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
1485,
2091,
33411,
366,
47863,
1,
796,
705,
7676,
9520,
31612,
6,
50256,
50256,
50256
] |
report the number of patients admitted before 2173 who had calculated bicarbonate, whole blood lab test done. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2173" AND lab.label = "Calculated Bicarbonate, Whole Blood" | [
13116,
262,
1271,
286,
3871,
6848,
878,
24894,
18,
508,
550,
10488,
275,
291,
42084,
378,
11,
2187,
2910,
2248,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13116,
262,
1271,
286,
3871,
6848,
878,
24894,
18,
508,
550,
10488,
275,
291,
42084,
378,
11,
2187,
2910,
2248,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312
] |
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes', and could you rank in ascending by the Y-axis? | SELECT Name, SUM(Num_Employees) FROM department AS T1 JOIN management AS T2 ON T1.department_ID = T2.department_ID WHERE T2.temporary_acting = 'Yes' GROUP BY Name ORDER BY SUM(Num_Employees) | [
15307,
262,
1438,
290,
1271,
286,
4409,
329,
262,
13346,
5257,
416,
6665,
3025,
8584,
7205,
1988,
318,
705,
5297,
3256,
290,
714,
345,
4279,
287,
41988,
416,
262,
575,
12,
22704,
30,
46506,
6530,
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
] | [
15307,
262,
1438,
290,
1271,
286,
4409,
329,
262,
13346,
5257,
416,
6665,
3025,
8584,
7205,
1988,
318,
705,
5297,
3256,
290,
714,
345,
4279,
287,
41988,
416,
262,
575,
12,
22704,
30,
46506,
6530,
11
] |
List the number of companies for each building in a bar chart, order from low to high by the Y. | SELECT T2.name, COUNT(T2.name) FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T2.name ORDER BY COUNT(T2.name) | [
8053,
262,
1271,
286,
2706,
329,
1123,
2615,
287,
257,
2318,
8262,
11,
1502,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
309,
17,
13,
3672,
11,
327,
28270,
7,
51,
17,
13,
3672,
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
] | [
8053,
262,
1271,
286,
2706,
329,
1123,
2615,
287,
257,
2318,
8262,
11,
1502,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
309,
17,
13,
3672,
11,
327,
28270,
7,
51,
17,
13,
3672,
8
] |
indicate the monthly maximum dose of replete w/fiber that patient 13806 has received until 07/2103. | SELECT MAX(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13806)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab... | [
521,
5344,
262,
9651,
5415,
10742,
286,
1128,
5807,
266,
14,
69,
1856,
326,
5827,
1511,
37988,
468,
2722,
1566,
8753,
14,
17,
15197,
13,
46506,
25882,
7,
259,
79,
1133,
85,
658,
62,
33967,
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
] | [
521,
5344,
262,
9651,
5415,
10742,
286,
1128,
5807,
266,
14,
69,
1856,
326,
5827,
1511,
37988,
468,
2722,
1566,
8753,
14,
17,
15197,
13,
46506,
25882,
7,
259,
79,
1133,
85,
658,
62,
33967,
13
] |
What was the date of the game when St. Louis was the visiting team? | SELECT "Date" FROM table_5862 WHERE "Visitor" = 'st. louis' | [
2061,
373,
262,
3128,
286,
262,
983,
618,
520,
13,
5593,
373,
262,
10013,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
5237,
33411,
366,
15854,
2072,
1,
796,
705,
301,
13,
21081,
271
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
262,
983,
618,
520,
13,
5593,
373,
262,
10013,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
5237,
33411,
366,
15854,
2072,
1,
796,
705,
301,
13,
21081,
271
] |
what is admission location and primary disease of subject name michelle skidmore? | SELECT demographic.admission_location, demographic.diagnosis FROM demographic WHERE demographic.name = "Michelle Skidmore" | [
10919,
318,
13938,
4067,
290,
4165,
4369,
286,
2426,
1438,
12314,
34454,
1341,
312,
3549,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
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
] | [
10919,
318,
13938,
4067,
290,
4165,
4369,
286,
2426,
1438,
12314,
34454,
1341,
312,
3549,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366
] |
what is the number of patients whose admission year is less than 2162 and item id is 50862? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2162" AND lab.itemid = "50862" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
25061,
290,
2378,
4686,
318,
2026,
4521,
17,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
25061,
290,
2378,
4686,
318,
2026,
4521,
17,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8
] |
what's the result with dbeingtrict being florida 4 | SELECT "Result" FROM table_18499 WHERE "District" = 'Florida 4' | [
10919,
338,
262,
1255,
351,
288,
11873,
83,
2012,
852,
781,
273,
3755,
604,
46506,
366,
23004,
1,
16034,
3084,
62,
22883,
2079,
33411,
366,
44857,
1,
796,
705,
31135,
604,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
10919,
338,
262,
1255,
351,
288,
11873,
83,
2012,
852,
781,
273,
3755,
604,
46506,
366,
23004,
1,
16034,
3084,
62,
22883,
2079,
33411,
366,
44857,
1,
796,
705,
31135,
604,
6,
50256,
50256,
50256,
50256
] |
Who was the Team that was played against on February 24 and a game after game 55? | SELECT "Team" FROM table_43860 WHERE "Game" > '55' AND "Date" = 'february 24' | [
8241,
373,
262,
4816,
326,
373,
2826,
1028,
319,
3945,
1987,
290,
257,
983,
706,
983,
5996,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
43704,
1899,
33411,
366,
8777,
1,
1875,
705,
2816,
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
] | [
8241,
373,
262,
4816,
326,
373,
2826,
1028,
319,
3945,
1987,
290,
257,
983,
706,
983,
5996,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
43704,
1899,
33411,
366,
8777,
1,
1875,
705,
2816,
6,
5357
] |
What is the date with the catalogue # cocy-80093? | SELECT "Date" FROM table_51564 WHERE "Catalogue #" = 'cocy-80093' | [
2061,
318,
262,
3128,
351,
262,
34614,
1303,
8954,
88,
12,
7410,
6052,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
45969,
2414,
33411,
366,
39075,
5119,
1303,
1,
796,
705,
66,
13733,
12,
7410,
6052
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
262,
34614,
1303,
8954,
88,
12,
7410,
6052,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
45969,
2414,
33411,
366,
39075,
5119,
1303,
1,
796,
705,
66,
13733,
12,
7410,
6052
] |
Show the trend about the total average number of attendance at home games change over the years, bin year into year interval, and I want to list by the X in desc please. | SELECT year, AVG(attendance) FROM home_game GROUP BY year ORDER BY year DESC | [
15307,
262,
5182,
546,
262,
2472,
2811,
1271,
286,
14858,
379,
1363,
1830,
1487,
625,
262,
812,
11,
9874,
614,
656,
614,
16654,
11,
290,
314,
765,
284,
1351,
416,
262,
1395,
287,
1715,
3387,
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
] | [
15307,
262,
5182,
546,
262,
2472,
2811,
1271,
286,
14858,
379,
1363,
1830,
1487,
625,
262,
812,
11,
9874,
614,
656,
614,
16654,
11,
290,
314,
765,
284,
1351,
416,
262,
1395,
287,
1715,
3387,
13
] |
What is the status of the 10 against? | SELECT "Status" FROM table_46506 WHERE "Against" = '10' | [
2061,
318,
262,
3722,
286,
262,
838,
1028,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
3510,
35638,
33411,
366,
39276,
1,
796,
705,
940,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
3722,
286,
262,
838,
1028,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
3510,
35638,
33411,
366,
39276,
1,
796,
705,
940,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Where was the game on March 11, 1999 played? | SELECT "Venue" FROM table_11671 WHERE "Date" = 'march 11, 1999' | [
8496,
373,
262,
983,
319,
2805,
1367,
11,
7358,
2826,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
1157,
46250,
33411,
366,
10430,
1,
796,
705,
76,
998,
1367,
11,
7358,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
8496,
373,
262,
983,
319,
2805,
1367,
11,
7358,
2826,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
1157,
46250,
33411,
366,
10430,
1,
796,
705,
76,
998,
1367,
11,
7358,
6,
50256,
50256,
50256
] |
If 70+ is 4562, what is 18 to 19? | SELECT "18 to 19" FROM table_1471 WHERE "70+" = '4562' | [
1532,
4317,
10,
318,
604,
43918,
11,
644,
318,
1248,
284,
678,
30,
46506,
366,
1507,
284,
678,
1,
16034,
3084,
62,
1415,
4869,
33411,
366,
2154,
10,
1,
796,
705,
2231,
5237,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
1532,
4317,
10,
318,
604,
43918,
11,
644,
318,
1248,
284,
678,
30,
46506,
366,
1507,
284,
678,
1,
16034,
3084,
62,
1415,
4869,
33411,
366,
2154,
10,
1,
796,
705,
2231,
5237,
6,
50256,
50256
] |
What is the start of stage 11? | SELECT start FROM table_name_8 WHERE stage = 11 | [
2061,
318,
262,
923,
286,
3800,
1367,
30,
46506,
923,
16034,
3084,
62,
3672,
62,
23,
33411,
3800,
796,
1367,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
923,
286,
3800,
1367,
30,
46506,
923,
16034,
3084,
62,
3672,
62,
23,
33411,
3800,
796,
1367,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Which Visitor has a Home of vancouver, and a Decision of cloutier? | SELECT "Visitor" FROM table_46387 WHERE "Home" = 'vancouver' AND "Decision" = 'cloutier' | [
13828,
6911,
2072,
468,
257,
5995,
286,
410,
10264,
11,
290,
257,
26423,
286,
45789,
959,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
3510,
32220,
33411,
366,
16060,
1,
796,
705,
85,
10264,
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
] | [
13828,
6911,
2072,
468,
257,
5995,
286,
410,
10264,
11,
290,
257,
26423,
286,
45789,
959,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
3510,
32220,
33411,
366,
16060,
1,
796,
705,
85,
10264,
6
] |
what are the three most commonly prescribed medications for patients who previously received the influenza vaccine during the same hospital encounter, this year? | SELECT t3.drugname FROM (SELECT t2.drugname, 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 = 'influenza vacci... | [
10919,
389,
262,
1115,
749,
8811,
14798,
17638,
329,
3871,
508,
4271,
2722,
262,
29491,
12319,
1141,
262,
976,
4436,
8791,
11,
428,
614,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
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
] | [
10919,
389,
262,
1115,
749,
8811,
14798,
17638,
329,
3871,
508,
4271,
2722,
262,
29491,
12319,
1141,
262,
976,
4436,
8791,
11,
428,
614,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17
] |
What is the constructor at the United States Grand Prix? | SELECT constructor FROM table_name_65 WHERE race = "united states grand prix" | [
2061,
318,
262,
23772,
379,
262,
1578,
1829,
5675,
23832,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2996,
33411,
3234,
796,
366,
41187,
2585,
4490,
1293,
87,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
23772,
379,
262,
1578,
1829,
5675,
23832,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2996,
33411,
3234,
796,
366,
41187,
2585,
4490,
1293,
87,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the opponent for the tournament of rio de janeiro? | SELECT opponent FROM table_name_22 WHERE tournament = "rio de janeiro" | [
2061,
318,
262,
6125,
329,
262,
7756,
286,
374,
952,
390,
474,
1531,
7058,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1828,
33411,
7756,
796,
366,
27250,
390,
474,
1531,
7058,
1,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
318,
262,
6125,
329,
262,
7756,
286,
374,
952,
390,
474,
1531,
7058,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1828,
33411,
7756,
796,
366,
27250,
390,
474,
1531,
7058,
1,
50256,
50256,
50256
] |
The game played at Sultan Qaboos Sports Complex, Muscat had what score? | SELECT "Score" FROM table_14127 WHERE "Venue" = 'sultan qaboos sports complex, muscat' | [
464,
983,
2826,
379,
37399,
1195,
397,
16426,
7092,
19157,
11,
2629,
9246,
550,
644,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1415,
16799,
33411,
366,
37522,
518,
1,
796,
705,
82,
30454,
10662
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
983,
2826,
379,
37399,
1195,
397,
16426,
7092,
19157,
11,
2629,
9246,
550,
644,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1415,
16799,
33411,
366,
37522,
518,
1,
796,
705,
82,
30454,
10662
] |
Name the week for date of bye | SELECT "Week" FROM table_39203 WHERE "Date" = 'bye' | [
5376,
262,
1285,
329,
3128,
286,
33847,
46506,
366,
20916,
1,
16034,
3084,
62,
2670,
22416,
33411,
366,
10430,
1,
796,
705,
16390,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
1285,
329,
3128,
286,
33847,
46506,
366,
20916,
1,
16034,
3084,
62,
2670,
22416,
33411,
366,
10430,
1,
796,
705,
16390,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the location and attendance when lebron james (10) had the high assists? | SELECT location_attendance FROM table_27713030_16 WHERE high_assists = "LeBron James (10)" | [
2061,
373,
262,
4067,
290,
14858,
618,
443,
65,
1313,
474,
1047,
357,
940,
8,
550,
262,
1029,
13648,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
1983,
4869,
1270,
1270,
62,
1433,
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
] | [
2061,
373,
262,
4067,
290,
14858,
618,
443,
65,
1313,
474,
1047,
357,
940,
8,
550,
262,
1029,
13648,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
1983,
4869,
1270,
1270,
62,
1433,
33411
] |
When was Jonny Leadbeater President? | SELECT "Season" FROM table_20832 WHERE "President" = 'Jonny Leadbeater' | [
2215,
373,
5966,
3281,
20116,
1350,
729,
1992,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
21315,
2624,
33411,
366,
10364,
1,
796,
705,
18219,
3281,
20116,
1350,
729,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2215,
373,
5966,
3281,
20116,
1350,
729,
1992,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
21315,
2624,
33411,
366,
10364,
1,
796,
705,
18219,
3281,
20116,
1350,
729,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
Visualize a bar chart for showing the total number of different product type codes, and sort by the Product_Type_Code in ascending. | SELECT Product_Type_Code, COUNT(Product_Type_Code) FROM Products GROUP BY Product_Type_Code ORDER BY Product_Type_Code | [
36259,
1096,
257,
2318,
8262,
329,
4478,
262,
2472,
1271,
286,
1180,
1720,
2099,
12416,
11,
290,
3297,
416,
262,
8721,
62,
6030,
62,
10669,
287,
41988,
13,
46506,
8721,
62,
6030,
62,
10669,
11,
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
] | [
36259,
1096,
257,
2318,
8262,
329,
4478,
262,
2472,
1271,
286,
1180,
1720,
2099,
12416,
11,
290,
3297,
416,
262,
8721,
62,
6030,
62,
10669,
287,
41988,
13,
46506,
8721,
62,
6030,
62,
10669,
11,
327
] |
What are the different card types, and how many transactions have been made with each Visualize by bar chart, sort Y-axis in asc order please. | SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code ORDER BY COUNT(*) | [
2061,
389,
262,
1180,
2657,
3858,
11,
290,
703,
867,
8945,
423,
587,
925,
351,
1123,
15612,
1096,
416,
2318,
8262,
11,
3297,
575,
12,
22704,
287,
10570,
1502,
3387,
13,
46506,
2657,
62,
4906,
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
] | [
2061,
389,
262,
1180,
2657,
3858,
11,
290,
703,
867,
8945,
423,
587,
925,
351,
1123,
15612,
1096,
416,
2318,
8262,
11,
3297,
575,
12,
22704,
287,
10570,
1502,
3387,
13,
46506,
2657,
62,
4906,
62
] |
Tell me the highest matches for point 43 and final rank less than 7 | SELECT MAX(matches) FROM table_name_32 WHERE point = 43 AND final_rank < 7 | [
24446,
502,
262,
4511,
7466,
329,
966,
5946,
290,
2457,
4279,
1342,
621,
767,
46506,
25882,
7,
6759,
2052,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
966,
796,
5946,
5357,
2457,
62,
43027,
1279,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
4511,
7466,
329,
966,
5946,
290,
2457,
4279,
1342,
621,
767,
46506,
25882,
7,
6759,
2052,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
966,
796,
5946,
5357,
2457,
62,
43027,
1279,
767
] |
How many picks are there with an affiliation is the University of California Norcal Lamorinda United? | SELECT COUNT("Pick #") FROM table_27716 WHERE "Affiliation" = 'University of California NorCal Lamorinda United' | [
2437,
867,
11103,
389,
612,
351,
281,
26218,
318,
262,
2059,
286,
3442,
5414,
9948,
10923,
273,
22261,
1578,
30,
46506,
327,
28270,
7203,
31686,
1303,
4943,
16034,
3084,
62,
27019,
1433,
33411,
366,
35191,
15547
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11103,
389,
612,
351,
281,
26218,
318,
262,
2059,
286,
3442,
5414,
9948,
10923,
273,
22261,
1578,
30,
46506,
327,
28270,
7203,
31686,
1303,
4943,
16034,
3084,
62,
27019,
1433,
33411,
366,
35191,
15547
] |
provide the number of patients whose diagnoses short title is anxiety state nos and drug route is dwell? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Anxiety state NOS" AND prescriptions.route = "DWELL" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
9751,
1181,
43630,
290,
2563,
6339,
318,
14046,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
9751,
1181,
43630,
290,
2563,
6339,
318,
14046,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] |
what are the five most frequent lab tests patients have taken within the same month after being diagnosed with senile dementia uncomp? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.i... | [
10919,
389,
262,
1936,
749,
10792,
2248,
5254,
3871,
423,
2077,
1626,
262,
976,
1227,
706,
852,
14641,
351,
3308,
576,
27886,
34318,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1936,
749,
10792,
2248,
5254,
3871,
423,
2077,
1626,
262,
976,
1227,
706,
852,
14641,
351,
3308,
576,
27886,
34318,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814
] |
Name the service for 7th marines rank of sergeant | SELECT service FROM table_name_20 WHERE unit = "7th marines" AND rank = "sergeant" | [
5376,
262,
2139,
329,
767,
400,
45333,
4279,
286,
33861,
46506,
2139,
16034,
3084,
62,
3672,
62,
1238,
33411,
4326,
796,
366,
22,
400,
45333,
1,
5357,
4279,
796,
366,
2655,
30205,
1,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
5376,
262,
2139,
329,
767,
400,
45333,
4279,
286,
33861,
46506,
2139,
16034,
3084,
62,
3672,
62,
1238,
33411,
4326,
796,
366,
22,
400,
45333,
1,
5357,
4279,
796,
366,
2655,
30205,
1,
50256,
50256,
50256
] |
Find the number of the 'date became customers' of the customers whose ID is between 10 and 20, and order by the Y in ascending. | SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20 ORDER BY COUNT(date_became_customer) | [
16742,
262,
1271,
286,
262,
705,
4475,
2627,
4297,
6,
286,
262,
4297,
3025,
4522,
318,
1022,
838,
290,
1160,
11,
290,
1502,
416,
262,
575,
287,
41988,
13,
46506,
3128,
62,
9423,
480,
62,
23144
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
705,
4475,
2627,
4297,
6,
286,
262,
4297,
3025,
4522,
318,
1022,
838,
290,
1160,
11,
290,
1502,
416,
262,
575,
287,
41988,
13,
46506,
3128,
62,
9423,
480,
62,
23144
] |
what is patient 1902's minimum value of absolute cd3 count since 1 month ago? | SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1902) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'absolute cd3 count') AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_T... | [
10919,
318,
5827,
45611,
338,
5288,
1988,
286,
4112,
22927,
18,
954,
1201,
352,
1227,
2084,
30,
46506,
20625,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
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
] | [
10919,
318,
5827,
45611,
338,
5288,
1988,
286,
4112,
22927,
18,
954,
1201,
352,
1227,
2084,
30,
46506,
20625,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76
] |
all flights from WASHINGTON to SAN FRANCISCO on 11 12 | 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 = 'SAN FRANCISCO' AND date_day.day_number = 12 AND date_day.month_number = 1... | [
439,
13956,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
319,
1367,
1105,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
439,
13956,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
319,
1367,
1105,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15
] |
Show me a bar chart for how many bookings does each booking status have? List the booking status code and the number of corresponding bookings. | SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code | [
15307,
502,
257,
2318,
8262,
329,
703,
867,
1492,
654,
857,
1123,
25452,
3722,
423,
30,
7343,
262,
25452,
3722,
2438,
290,
262,
1271,
286,
11188,
1492,
654,
13,
46506,
25452,
62,
13376,
62,
8189,
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
] | [
15307,
502,
257,
2318,
8262,
329,
703,
867,
1492,
654,
857,
1123,
25452,
3722,
423,
30,
7343,
262,
25452,
3722,
2438,
290,
262,
1271,
286,
11188,
1492,
654,
13,
46506,
25452,
62,
13376,
62,
8189,
11
] |
find the number of patients admitted before 2190 who had other diagnostic procedures on nasal sinuses. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2190" AND procedures.long_title = "Other diagnostic procedures on nasal sinuses" | [
19796,
262,
1271,
286,
3871,
6848,
878,
362,
19782,
508,
550,
584,
23584,
9021,
319,
40829,
7813,
2664,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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
] | [
19796,
262,
1271,
286,
3871,
6848,
878,
362,
19782,
508,
550,
584,
23584,
9021,
319,
40829,
7813,
2664,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268
] |
What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846? | SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affiliation = "public" AND founded > 1846 | [
2061,
338,
262,
2472,
20753,
286,
1171,
4266,
5140,
287,
14905,
11,
968,
1971,
326,
547,
9393,
706,
1248,
3510,
30,
46506,
35683,
7,
268,
48108,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
4067,
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
] | [
2061,
338,
262,
2472,
20753,
286,
1171,
4266,
5140,
287,
14905,
11,
968,
1971,
326,
547,
9393,
706,
1248,
3510,
30,
46506,
35683,
7,
268,
48108,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
4067,
796
] |
Give me a bar chart that bins the payment date into the Year interval and then shows the average amount of each payment, and then sort the bars in ascending order of date. | SELECT Date_Payment_Made, AVG(Amount_Payment) FROM Payments ORDER BY Date_Payment_Made | [
23318,
502,
257,
2318,
8262,
326,
41701,
262,
6074,
3128,
656,
262,
6280,
16654,
290,
788,
2523,
262,
2811,
2033,
286,
1123,
6074,
11,
290,
788,
3297,
262,
9210,
287,
41988,
1502,
286,
3128,
13,
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
] | [
23318,
502,
257,
2318,
8262,
326,
41701,
262,
6074,
3128,
656,
262,
6280,
16654,
290,
788,
2523,
262,
2811,
2033,
286,
1123,
6074,
11,
290,
788,
3297,
262,
9210,
287,
41988,
1502,
286,
3128,
13,
46506
] |
On what date was the game against San Diego Chargers played? | SELECT "Date" FROM table_18022 WHERE "Opponent" = 'San Diego Chargers' | [
2202,
644,
3128,
373,
262,
983,
1028,
2986,
9500,
23559,
2826,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
15259,
1828,
33411,
366,
27524,
3471,
1,
796,
705,
15017,
9500,
23559,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2202,
644,
3128,
373,
262,
983,
1028,
2986,
9500,
23559,
2826,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
15259,
1828,
33411,
366,
27524,
3471,
1,
796,
705,
15017,
9500,
23559,
6,
50256,
50256,
50256,
50256
] |
Which Operator has a Width of 2.65 m, and a Type designation of m5000? | SELECT operator FROM table_name_13 WHERE width = "2.65 m" AND type_designation = "m5000" | [
13828,
35946,
468,
257,
38807,
286,
362,
13,
2996,
285,
11,
290,
257,
5994,
22566,
286,
285,
27641,
30,
46506,
10088,
16034,
3084,
62,
3672,
62,
1485,
33411,
9647,
796,
366,
17,
13,
2996,
285,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
35946,
468,
257,
38807,
286,
362,
13,
2996,
285,
11,
290,
257,
5994,
22566,
286,
285,
27641,
30,
46506,
10088,
16034,
3084,
62,
3672,
62,
1485,
33411,
9647,
796,
366,
17,
13,
2996,
285,
1
] |
Which school did the player have a height of 6-4? | SELECT school FROM table_name_65 WHERE height = "6-4" | [
13828,
1524,
750,
262,
2137,
423,
257,
6001,
286,
718,
12,
19,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
2996,
33411,
6001,
796,
366,
21,
12,
19,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
1524,
750,
262,
2137,
423,
257,
6001,
286,
718,
12,
19,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
2996,
33411,
6001,
796,
366,
21,
12,
19,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the date of the race with a winning time of 1:55:13? | SELECT date FROM table_17801022_1 WHERE race_time = "1:55:13" | [
2061,
373,
262,
3128,
286,
262,
3234,
351,
257,
5442,
640,
286,
352,
25,
2816,
25,
1485,
30,
46506,
3128,
16034,
3084,
62,
23188,
20943,
1828,
62,
16,
33411,
3234,
62,
2435,
796,
366,
16,
25
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
262,
3234,
351,
257,
5442,
640,
286,
352,
25,
2816,
25,
1485,
30,
46506,
3128,
16034,
3084,
62,
23188,
20943,
1828,
62,
16,
33411,
3234,
62,
2435,
796,
366,
16,
25
] |
Who ran in the district elections won by Tom Petri? | SELECT "Candidates" FROM table_18133 WHERE "Incumbent" = 'Tom Petri' | [
8241,
4966,
287,
262,
4783,
7024,
1839,
416,
4186,
4767,
380,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
16945,
33411,
366,
25517,
2178,
298,
1,
796,
705,
13787,
4767,
380,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
8241,
4966,
287,
262,
4783,
7024,
1839,
416,
4186,
4767,
380,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
16945,
33411,
366,
25517,
2178,
298,
1,
796,
705,
13787,
4767,
380,
6,
50256,
50256
] |
What identities have more than 5 DVD volumes? | SELECT "Identity(ies)" FROM table_71465 WHERE "DVD volume" > '5' | [
2061,
18413,
423,
517,
621,
642,
12490,
15343,
30,
46506,
366,
7390,
26858,
7,
444,
16725,
16034,
3084,
62,
45722,
2996,
33411,
366,
39218,
6115,
1,
1875,
705,
20,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2061,
18413,
423,
517,
621,
642,
12490,
15343,
30,
46506,
366,
7390,
26858,
7,
444,
16725,
16034,
3084,
62,
45722,
2996,
33411,
366,
39218,
6115,
1,
1875,
705,
20,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
What player was picked 176? | SELECT "Player" FROM table_4930 WHERE "Pick" = '176' | [
2061,
2137,
373,
6497,
26937,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2920,
1270,
33411,
366,
31686,
1,
796,
705,
24096,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
2137,
373,
6497,
26937,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2920,
1270,
33411,
366,
31686,
1,
796,
705,
24096,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the sum of Runners-Up, when Champions is greater than 5? | SELECT SUM(runners_up) FROM table_name_2 WHERE champions > 5 | [
2061,
318,
262,
2160,
286,
5660,
2741,
12,
4933,
11,
618,
6662,
318,
3744,
621,
642,
30,
46506,
35683,
7,
36740,
62,
929,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
7827,
1875,
642,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2061,
318,
262,
2160,
286,
5660,
2741,
12,
4933,
11,
618,
6662,
318,
3744,
621,
642,
30,
46506,
35683,
7,
36740,
62,
929,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
7827,
1875,
642,
50256,
50256
] |
Name the D 46 which has a D 43 of majority | SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→" | [
5376,
262,
360,
6337,
543,
468,
257,
360,
5946,
286,
3741,
46506,
288,
62,
3510,
16034,
3084,
62,
3672,
62,
2682,
33411,
288,
62,
3559,
796,
366,
35839,
39310,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
360,
6337,
543,
468,
257,
360,
5946,
286,
3741,
46506,
288,
62,
3510,
16034,
3084,
62,
3672,
62,
2682,
33411,
288,
62,
3559,
796,
366,
35839,
39310,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who won the season with Africa as its destination? | SELECT "Winner" FROM table_23491 WHERE "Destination" = 'Africa' | [
8241,
1839,
262,
1622,
351,
5478,
355,
663,
10965,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
1954,
41289,
33411,
366,
24159,
1883,
1,
796,
705,
17584,
30997,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
8241,
1839,
262,
1622,
351,
5478,
355,
663,
10965,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
1954,
41289,
33411,
366,
24159,
1883,
1,
796,
705,
17584,
30997,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the sum of the FAC/LC G with a CL G less than 2, less than 5 total apps, and a UEFA YC greater than 0? | SELECT SUM("FAC / LC G") FROM table_8284 WHERE "CL G" < '2' AND "Total Apps" < '5' AND "UEFA YC" > '0' | [
2061,
318,
262,
2160,
286,
262,
44216,
14,
5639,
402,
351,
257,
7852,
402,
1342,
621,
362,
11,
1342,
621,
642,
2472,
6725,
11,
290,
257,
40858,
575,
34,
3744,
621,
657,
30,
46506,
35683,
7203
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
44216,
14,
5639,
402,
351,
257,
7852,
402,
1342,
621,
362,
11,
1342,
621,
642,
2472,
6725,
11,
290,
257,
40858,
575,
34,
3744,
621,
657,
30,
46506,
35683,
7203
] |
Which type has a color of Dark Blue? | SELECT type FROM table_name_91 WHERE colour = "dark blue" | [
13828,
2099,
468,
257,
3124,
286,
3801,
4518,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
6420,
33411,
9568,
796,
366,
21953,
4171,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
2099,
468,
257,
3124,
286,
3801,
4518,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
6420,
33411,
9568,
796,
366,
21953,
4171,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way. Plot them as bar chart. | SELECT How_to_Get_There, COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There | [
15307,
1180,
2842,
284,
651,
284,
29156,
290,
262,
1271,
286,
29156,
326,
460,
307,
17535,
287,
262,
11188,
835,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
1374,
62,
1462,
62,
3855,
62,
1858,
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
] | [
15307,
1180,
2842,
284,
651,
284,
29156,
290,
262,
1271,
286,
29156,
326,
460,
307,
17535,
287,
262,
11188,
835,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
1374,
62,
1462,
62,
3855,
62,
1858,
11
] |
What player is from the California Golden Seals? | SELECT player FROM table_1965650_10 WHERE nhl_team = "California Golden Seals" | [
2061,
2137,
318,
422,
262,
3442,
8407,
1001,
874,
30,
46506,
2137,
16034,
3084,
62,
45271,
17544,
62,
940,
33411,
299,
18519,
62,
15097,
796,
366,
25284,
8407,
1001,
874,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
2137,
318,
422,
262,
3442,
8407,
1001,
874,
30,
46506,
2137,
16034,
3084,
62,
45271,
17544,
62,
940,
33411,
299,
18519,
62,
15097,
796,
366,
25284,
8407,
1001,
874,
1,
50256,
50256,
50256,
50256,
50256
] |
What location was listed on 1977-11-23? | SELECT location FROM table_name_25 WHERE listed = "1977-11-23" | [
2061,
4067,
373,
5610,
319,
15589,
12,
1157,
12,
1954,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
1495,
33411,
5610,
796,
366,
37781,
12,
1157,
12,
1954,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
4067,
373,
5610,
319,
15589,
12,
1157,
12,
1954,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
1495,
33411,
5610,
796,
366,
37781,
12,
1157,
12,
1954,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what's the economics score with education being 92.0 | SELECT economics FROM table_145439_1 WHERE education = "92.0" | [
10919,
338,
262,
12446,
4776,
351,
3707,
852,
10190,
13,
15,
46506,
12446,
16034,
3084,
62,
1415,
4051,
2670,
62,
16,
33411,
3707,
796,
366,
5892,
13,
15,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
338,
262,
12446,
4776,
351,
3707,
852,
10190,
13,
15,
46506,
12446,
16034,
3084,
62,
1415,
4051,
2670,
62,
16,
33411,
3707,
796,
366,
5892,
13,
15,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what are the five most frequently administered laboratory tests for patients who were previously diagnosed with hypomagnesemia during the same hospital encounter, in 2104? | SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypomagnesemia' A... | [
10919,
389,
262,
1936,
749,
6777,
17169,
14010,
5254,
329,
3871,
508,
547,
4271,
14641,
351,
5328,
296,
363,
2516,
22859,
1141,
262,
976,
4436,
8791,
11,
287,
362,
13464,
30,
46506,
256,
18,
13,
23912
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1936,
749,
6777,
17169,
14010,
5254,
329,
3871,
508,
547,
4271,
14641,
351,
5328,
296,
363,
2516,
22859,
1141,
262,
976,
4436,
8791,
11,
287,
362,
13464,
30,
46506,
256,
18,
13,
23912
] |
What is the rank for the Mixed Team nation with a total of less than 13? | SELECT rank FROM table_name_74 WHERE total < 13 AND nation = "mixed team" | [
2061,
318,
262,
4279,
329,
262,
35250,
4816,
3277,
351,
257,
2472,
286,
1342,
621,
1511,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
4524,
33411,
2472,
1279,
1511,
5357,
3277,
796,
366,
76,
2966,
1074
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
329,
262,
35250,
4816,
3277,
351,
257,
2472,
286,
1342,
621,
1511,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
4524,
33411,
2472,
1279,
1511,
5357,
3277,
796,
366,
76,
2966,
1074
] |
how many times has gran cochisse been a winner ? | SELECT COUNT(*) FROM table_204_171 WHERE "winner" = 'gran cochisse' | [
4919,
867,
1661,
468,
19468,
763,
354,
20782,
587,
257,
8464,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
27192,
33411,
366,
39791,
1,
796,
705,
46324,
763,
354,
20782,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
4919,
867,
1661,
468,
19468,
763,
354,
20782,
587,
257,
8464,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
27192,
33411,
366,
39791,
1,
796,
705,
46324,
763,
354,
20782,
6,
50256,
50256
] |
2008 and 2009 are the winning years of what team ? | SELECT "team" FROM table_204_129 WHERE "winning years" = 2008 | [
11528,
290,
3717,
389,
262,
5442,
812,
286,
644,
1074,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
18741,
33411,
366,
14463,
812,
1,
796,
3648,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
11528,
290,
3717,
389,
262,
5442,
812,
286,
644,
1074,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
18741,
33411,
366,
14463,
812,
1,
796,
3648,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the chassis for the year of 1969? | SELECT chassis FROM table_name_85 WHERE year = 1969 | [
2061,
318,
262,
24587,
329,
262,
614,
286,
16450,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
5332,
33411,
614,
796,
16450,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
24587,
329,
262,
614,
286,
16450,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
5332,
33411,
614,
796,
16450,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the highest age (years) that the 1st place had a performance of 62.20m? | SELECT MAX("Age (years)") FROM table_54892 WHERE "Place" = '1st' AND "Performance" = '62.20m' | [
2061,
318,
262,
4511,
2479,
357,
19002,
8,
326,
262,
352,
301,
1295,
550,
257,
2854,
286,
8190,
13,
1238,
76,
30,
46506,
25882,
7203,
23396,
357,
19002,
8,
4943,
16034,
3084,
62,
49934,
5892,
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
] | [
2061,
318,
262,
4511,
2479,
357,
19002,
8,
326,
262,
352,
301,
1295,
550,
257,
2854,
286,
8190,
13,
1238,
76,
30,
46506,
25882,
7203,
23396,
357,
19002,
8,
4943,
16034,
3084,
62,
49934,
5892,
33411
] |
What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, and a rank better than 35? | SELECT bronze FROM table_name_27 WHERE gold < 39 AND silver = 3 AND rank < 35 AND nation = "spain" | [
2061,
338,
262,
22101,
18279,
954,
286,
8602,
326,
468,
1342,
621,
5014,
3561,
11,
513,
8465,
11,
290,
257,
4279,
1365,
621,
3439,
30,
46506,
22101,
16034,
3084,
62,
3672,
62,
1983,
33411,
3869,
1279
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
22101,
18279,
954,
286,
8602,
326,
468,
1342,
621,
5014,
3561,
11,
513,
8465,
11,
290,
257,
4279,
1365,
621,
3439,
30,
46506,
22101,
16034,
3084,
62,
3672,
62,
1983,
33411,
3869,
1279
] |
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the average of revenue , and group by attribute headquarter, list in asc by the x-axis. | SELECT Headquarter, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1182,
24385,
290,
262,
2811,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
1351,
287
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
2523,
262,
6082,
286,
1182,
24385,
290,
262,
2811,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
1351,
287
] |
What is Away Team, when Ground is Colonial Stadium? | SELECT away_team FROM table_name_19 WHERE ground = "colonial stadium" | [
2061,
318,
21986,
4816,
11,
618,
13706,
318,
37726,
10499,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1129,
33411,
2323,
796,
366,
49787,
10308,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
21986,
4816,
11,
618,
13706,
318,
37726,
10499,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1129,
33411,
2323,
796,
366,
49787,
10308,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
calculate the total number of patients who had initial insertion of dual-chamber device | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Initial insertion of dual-chamber device" | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
508,
550,
4238,
36075,
286,
10668,
12,
354,
7789,
3335,
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
] | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
508,
550,
4238,
36075,
286,
10668,
12,
354,
7789,
3335,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479
] |
What is the State with Suwon as the city | SELECT state FROM table_name_37 WHERE city = "suwon" | [
2061,
318,
262,
1812,
351,
1778,
26502,
355,
262,
1748,
46506,
1181,
16034,
3084,
62,
3672,
62,
2718,
33411,
1748,
796,
366,
2385,
26502,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
1812,
351,
1778,
26502,
355,
262,
1748,
46506,
1181,
16034,
3084,
62,
3672,
62,
2718,
33411,
1748,
796,
366,
2385,
26502,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who and what were the high points player for the game against Detroit? | SELECT "High points" FROM table_29959 WHERE "Team" = 'Detroit' | [
8241,
290,
644,
547,
262,
1029,
2173,
2137,
329,
262,
983,
1028,
8488,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
22579,
3270,
33411,
366,
15592,
1,
796,
705,
40404,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
8241,
290,
644,
547,
262,
1029,
2173,
2137,
329,
262,
983,
1028,
8488,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
22579,
3270,
33411,
366,
15592,
1,
796,
705,
40404,
6,
50256,
50256,
50256,
50256
] |
What is the Super G value for the season that has an Overall score of 16? | SELECT super_g FROM table_name_8 WHERE overall = "16" | [
2061,
318,
262,
3115,
402,
1988,
329,
262,
1622,
326,
468,
281,
14674,
4776,
286,
1467,
30,
46506,
2208,
62,
70,
16034,
3084,
62,
3672,
62,
23,
33411,
4045,
796,
366,
1433,
1,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
318,
262,
3115,
402,
1988,
329,
262,
1622,
326,
468,
281,
14674,
4776,
286,
1467,
30,
46506,
2208,
62,
70,
16034,
3084,
62,
3672,
62,
23,
33411,
4045,
796,
366,
1433,
1,
50256,
50256,
50256
] |
Scatter plot to show avg(age) on x axis and minimal age on y axis. | SELECT AVG(Age), MIN(Age) FROM Student GROUP BY Major | [
3351,
1436,
7110,
284,
905,
42781,
7,
496,
8,
319,
2124,
16488,
290,
10926,
2479,
319,
331,
16488,
13,
46506,
35224,
7,
23396,
828,
20625,
7,
23396,
8,
16034,
13613,
44441,
11050,
8386,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
3351,
1436,
7110,
284,
905,
42781,
7,
496,
8,
319,
2124,
16488,
290,
10926,
2479,
319,
331,
16488,
13,
46506,
35224,
7,
23396,
828,
20625,
7,
23396,
8,
16034,
13613,
44441,
11050,
8386,
50256,
50256,
50256
] |
Which League that has a Open Cup of 1st round, and a Year of 2009? | SELECT "League" FROM table_40053 WHERE "Open Cup" = '1st round' AND "Year" = '2009' | [
13828,
4041,
326,
468,
257,
4946,
5454,
286,
352,
301,
2835,
11,
290,
257,
6280,
286,
3717,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
7029,
4310,
33411,
366,
11505,
5454,
1,
796,
705,
16,
301
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4041,
326,
468,
257,
4946,
5454,
286,
352,
301,
2835,
11,
290,
257,
6280,
286,
3717,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
7029,
4310,
33411,
366,
11505,
5454,
1,
796,
705,
16,
301
] |
Which FA Cup Apps have League Apps of 21? | SELECT "FA Cup Apps" FROM table_13268 WHERE "League Apps" = '21' | [
13828,
9677,
5454,
27710,
423,
4041,
27710,
286,
2310,
30,
46506,
366,
7708,
5454,
27710,
1,
16034,
3084,
62,
1485,
25022,
33411,
366,
24623,
27710,
1,
796,
705,
2481,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
13828,
9677,
5454,
27710,
423,
4041,
27710,
286,
2310,
30,
46506,
366,
7708,
5454,
27710,
1,
16034,
3084,
62,
1485,
25022,
33411,
366,
24623,
27710,
1,
796,
705,
2481,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
what were the names of the output that patient 030-42006 had first on this month/25? | 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 = '030-42006')) AND intakeoutput.cellpath LIKE '%output%' AND D... | [
10919,
547,
262,
3891,
286,
262,
5072,
326,
5827,
657,
1270,
12,
19,
13330,
550,
717,
319,
428,
1227,
14,
1495,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
3891,
286,
262,
5072,
326,
5827,
657,
1270,
12,
19,
13330,
550,
717,
319,
428,
1227,
14,
1495,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029
] |
What location did the event kotc: mortal sins take place? | SELECT "Location" FROM table_77287 WHERE "Event" = 'kotc: mortal sins' | [
2061,
4067,
750,
262,
1785,
479,
313,
66,
25,
22122,
18377,
1011,
1295,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3324,
27800,
33411,
366,
9237,
1,
796,
705,
74,
313,
66,
25,
22122,
18377,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4067,
750,
262,
1785,
479,
313,
66,
25,
22122,
18377,
1011,
1295,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3324,
27800,
33411,
366,
9237,
1,
796,
705,
74,
313,
66,
25,
22122,
18377,
6
] |
let me know the number of patients on iv bolus route of drug administration who have been diagnosed with long-term use of aspirin. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Long-term use of aspirin" AND prescriptions.route = "IV BOLUS" | [
1616,
502,
760,
262,
1271,
286,
3871,
319,
21628,
11572,
385,
6339,
286,
2563,
3662,
508,
423,
587,
14641,
351,
890,
12,
4354,
779,
286,
49550,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1616,
502,
760,
262,
1271,
286,
3871,
319,
21628,
11572,
385,
6339,
286,
2563,
3662,
508,
423,
587,
14641,
351,
890,
12,
4354,
779,
286,
49550,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728
] |
During which years did number 13 play for the Rockets? | SELECT years_for_rockets FROM table_11734041_3 WHERE no_s_ = "13" | [
7191,
543,
812,
750,
1271,
1511,
711,
329,
262,
23328,
30,
46506,
812,
62,
1640,
62,
10823,
1039,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
18,
33411,
645,
62,
82,
62,
796,
366,
1485,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7191,
543,
812,
750,
1271,
1511,
711,
329,
262,
23328,
30,
46506,
812,
62,
1640,
62,
10823,
1039,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
18,
33411,
645,
62,
82,
62,
796,
366,
1485,
1
] |
The Dijon-prenois had how many fastest laps? | SELECT COUNT(fastest_lap) FROM table_1140083_2 WHERE location = "Dijon-Prenois" | [
464,
360,
2926,
261,
12,
79,
918,
10924,
550,
703,
867,
14162,
24590,
30,
46506,
327,
28270,
7,
7217,
395,
62,
37796,
8,
16034,
3084,
62,
1157,
7029,
5999,
62,
17,
33411,
4067,
796,
366,
35
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
360,
2926,
261,
12,
79,
918,
10924,
550,
703,
867,
14162,
24590,
30,
46506,
327,
28270,
7,
7217,
395,
62,
37796,
8,
16034,
3084,
62,
1157,
7029,
5999,
62,
17,
33411,
4067,
796,
366,
35
] |
now list for me only the UA flights that flight from OAKLAND to BOSTON | 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAN... | [
2197,
1351,
329,
502,
691,
262,
46164,
13956,
326,
5474,
422,
440,
10206,
28182,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
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
] | [
2197,
1351,
329,
502,
691,
262,
46164,
13956,
326,
5474,
422,
440,
10206,
28182,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62
] |
Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )? | SELECT "Years" FROM table_65468 WHERE "Type/code" = 'cubic centimetres (cuin) v8 ( m273 )' | [
13828,
13212,
468,
257,
5994,
14,
8189,
286,
27216,
1247,
38813,
411,
357,
27399,
259,
8,
410,
23,
357,
285,
27367,
1267,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
2996,
38472,
33411,
366,
6030,
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
] | [
13828,
13212,
468,
257,
5994,
14,
8189,
286,
27216,
1247,
38813,
411,
357,
27399,
259,
8,
410,
23,
357,
285,
27367,
1267,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
2996,
38472,
33411,
366,
6030,
14
] |
what is the number of patients whose diagnoses icd9 code is 7756 and drug type is main? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "7756" AND prescriptions.drug_type = "MAIN" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
767,
38219,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
767,
38219,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] |
What is the Record for April 15? | SELECT record FROM table_name_45 WHERE date = "april 15" | [
2061,
318,
262,
13266,
329,
3035,
1315,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2231,
33411,
3128,
796,
366,
499,
22379,
1315,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
13266,
329,
3035,
1315,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2231,
33411,
3128,
796,
366,
499,
22379,
1315,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the years when playoffs is 115? | SELECT "Years" FROM table_76763 WHERE "Playoffs" = '115' | [
10919,
318,
262,
812,
618,
12980,
318,
12279,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
32059,
5066,
33411,
366,
11002,
8210,
1,
796,
705,
15363,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
318,
262,
812,
618,
12980,
318,
12279,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
32059,
5066,
33411,
366,
11002,
8210,
1,
796,
705,
15363,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the school that left in 1966? | SELECT "School" FROM table_63685 WHERE "Year Left" = '1966' | [
10919,
318,
262,
1524,
326,
1364,
287,
19322,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
21,
2623,
5332,
33411,
366,
17688,
9578,
1,
796,
705,
44227,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
318,
262,
1524,
326,
1364,
287,
19322,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
21,
2623,
5332,
33411,
366,
17688,
9578,
1,
796,
705,
44227,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type. Show bar chart. | SELECT Affiliation, SUM(Enrollment) FROM university WHERE Founded > 1850 GROUP BY Affiliation | [
16742,
262,
2472,
1271,
286,
2444,
18724,
287,
262,
15273,
326,
547,
9393,
706,
262,
614,
286,
35745,
329,
1123,
26218,
2099,
13,
5438,
2318,
8262,
13,
46506,
6708,
15547,
11,
35683,
7,
4834,
48108,
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
] | [
16742,
262,
2472,
1271,
286,
2444,
18724,
287,
262,
15273,
326,
547,
9393,
706,
262,
614,
286,
35745,
329,
1123,
26218,
2099,
13,
5438,
2318,
8262,
13,
46506,
6708,
15547,
11,
35683,
7,
4834,
48108,
8
] |
Which Points have a Rank of 3, and a 1st (m) smaller than 132? | SELECT SUM("Points") FROM table_34383 WHERE "Rank" = '3' AND "1st (m)" < '132' | [
13828,
11045,
423,
257,
10916,
286,
513,
11,
290,
257,
352,
301,
357,
76,
8,
4833,
621,
21761,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
2682,
34741,
33411,
366,
27520,
1,
796,
705,
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
] | [
13828,
11045,
423,
257,
10916,
286,
513,
11,
290,
257,
352,
301,
357,
76,
8,
4833,
621,
21761,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
2682,
34741,
33411,
366,
27520,
1,
796,
705,
18
] |
how many patients of black/cape verdean ethnicity use the drug posaconazole suspension? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND prescriptions.drug = "Posaconazole Suspension" | [
4919,
867,
3871,
286,
2042,
14,
36435,
3326,
2934,
272,
26289,
779,
262,
2563,
1426,
7807,
1031,
2305,
11461,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
286,
2042,
14,
36435,
3326,
2934,
272,
26289,
779,
262,
2563,
1426,
7807,
1031,
2305,
11461,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] |
Which Date has a Result of w 27 20? | SELECT date FROM table_name_30 WHERE result = "w 27–20" | [
13828,
7536,
468,
257,
25414,
286,
266,
2681,
1160,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1270,
33411,
1255,
796,
366,
86,
2681,
1906,
1238,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
7536,
468,
257,
25414,
286,
266,
2681,
1160,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1270,
33411,
1255,
796,
366,
86,
2681,
1906,
1238,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
How many are listed under | SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀" | [
2437,
867,
389,
5610,
739,
46506,
327,
28270,
7,
36729,
8,
16034,
3084,
62,
940,
5824,
1983,
1415,
62,
16,
33411,
442,
3762,
62,
7839,
796,
366,
162,
121,
106,
163,
230,
228,
32014,
45379,
222
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
5610,
739,
46506,
327,
28270,
7,
36729,
8,
16034,
3084,
62,
940,
5824,
1983,
1415,
62,
16,
33411,
442,
3762,
62,
7839,
796,
366,
162,
121,
106,
163,
230,
228,
32014,
45379,
222
] |
How many players led Game #66 in scoring? | SELECT COUNT("High points") FROM table_18876 WHERE "Game" = '66' | [
2437,
867,
1938,
2957,
3776,
1303,
2791,
287,
9689,
30,
46506,
327,
28270,
7203,
11922,
2173,
4943,
16034,
3084,
62,
20356,
4304,
33411,
366,
8777,
1,
796,
705,
2791,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2437,
867,
1938,
2957,
3776,
1303,
2791,
287,
9689,
30,
46506,
327,
28270,
7203,
11922,
2173,
4943,
16034,
3084,
62,
20356,
4304,
33411,
366,
8777,
1,
796,
705,
2791,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who has the highest ranking from 1996 13, and more than 17 goals? | SELECT MAX(ranking) FROM table_name_80 WHERE years = "1996–13" AND goals > 17 | [
8241,
468,
262,
4511,
12759,
422,
8235,
1511,
11,
290,
517,
621,
1596,
4661,
30,
46506,
25882,
7,
28405,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
812,
796,
366,
22288,
1906,
1485,
1,
5357,
4661
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
12759,
422,
8235,
1511,
11,
290,
517,
621,
1596,
4661,
30,
46506,
25882,
7,
28405,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
812,
796,
366,
22288,
1906,
1485,
1,
5357,
4661
] |
What is the first elected date for the incumbent in the South Carolina 4 district? | SELECT "First elected" FROM table_34898 WHERE "District" = 'south carolina 4' | [
2061,
318,
262,
717,
7018,
3128,
329,
262,
23526,
287,
262,
2520,
5913,
604,
4783,
30,
46506,
366,
5962,
7018,
1,
16034,
3084,
62,
28978,
4089,
33411,
366,
44857,
1,
796,
705,
35782,
1097,
47196,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
717,
7018,
3128,
329,
262,
23526,
287,
262,
2520,
5913,
604,
4783,
30,
46506,
366,
5962,
7018,
1,
16034,
3084,
62,
28978,
4089,
33411,
366,
44857,
1,
796,
705,
35782,
1097,
47196,
604
] |
what is the name of procedure patient 14397 has been given two or more times in 12/this year? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 143... | [
10919,
318,
262,
1438,
286,
8771,
5827,
1478,
33372,
468,
587,
1813,
734,
393,
517,
1661,
287,
1105,
14,
5661,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
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
] | [
10919,
318,
262,
1438,
286,
8771,
5827,
1478,
33372,
468,
587,
1813,
734,
393,
517,
1661,
287,
1105,
14,
5661,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034
] |
what's runner-up with season being season 13 | SELECT runner_up FROM table_13036251_1 WHERE season = "season 13" | [
10919,
338,
17490,
12,
929,
351,
1622,
852,
1622,
1511,
46506,
17490,
62,
929,
16034,
3084,
62,
12952,
2623,
28072,
62,
16,
33411,
1622,
796,
366,
6230,
1511,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
338,
17490,
12,
929,
351,
1622,
852,
1622,
1511,
46506,
17490,
62,
929,
16034,
3084,
62,
12952,
2623,
28072,
62,
16,
33411,
1622,
796,
366,
6230,
1511,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
For countries with total number of medals less than 5 and more than 2 bronze medals, what's the lowest number of gold medals? | SELECT MIN("Gold") FROM table_66810 WHERE "Total" < '5' AND "Bronze" > '2' | [
1890,
2678,
351,
2472,
1271,
286,
28057,
1342,
621,
642,
290,
517,
621,
362,
22101,
28057,
11,
644,
338,
262,
9016,
1271,
286,
3869,
28057,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
35809,
940
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
2678,
351,
2472,
1271,
286,
28057,
1342,
621,
642,
290,
517,
621,
362,
22101,
28057,
11,
644,
338,
262,
9016,
1271,
286,
3869,
28057,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
35809,
940
] |
What are the number of the titles of all movies that have between 3 and 5 stars?, display X-axis in ascending order. | SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title ORDER BY title | [
2061,
389,
262,
1271,
286,
262,
8714,
286,
477,
6918,
326,
423,
1022,
513,
290,
642,
5788,
21747,
3359,
1395,
12,
22704,
287,
41988,
1502,
13,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
12028
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
262,
8714,
286,
477,
6918,
326,
423,
1022,
513,
290,
642,
5788,
21747,
3359,
1395,
12,
22704,
287,
41988,
1502,
13,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
12028
] |
Which artist has a Mintage of 500? | SELECT artist FROM table_name_9 WHERE mintage = 500 | [
13828,
6802,
468,
257,
337,
14630,
286,
5323,
30,
46506,
6802,
16034,
3084,
62,
3672,
62,
24,
33411,
285,
14630,
796,
5323,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
6802,
468,
257,
337,
14630,
286,
5323,
30,
46506,
6802,
16034,
3084,
62,
3672,
62,
24,
33411,
285,
14630,
796,
5323,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Badge numbers for specific user.. | SELECT b.UserId AS "user_link", b.Name, COUNT(b.Id) FROM Badges AS b GROUP BY b.UserId, b.Name ORDER BY COUNT(b.Id) DESC | [
22069,
469,
3146,
329,
2176,
2836,
492,
46506,
275,
13,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
275,
13,
5376,
11,
327,
28270,
7,
65,
13,
7390,
8,
16034,
7772,
3212,
7054,
275,
44441,
11050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22069,
469,
3146,
329,
2176,
2836,
492,
46506,
275,
13,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
275,
13,
5376,
11,
327,
28270,
7,
65,
13,
7390,
8,
16034,
7772,
3212,
7054,
275,
44441,
11050
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.