instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what is the average number of gold medals won by the top 5 nations ? | SELECT AVG("gold") FROM table_204_595 WHERE "rank" <= 5 | [
10919,
318,
262,
2811,
1271,
286,
3869,
28057,
1839,
416,
262,
1353,
642,
7027,
5633,
46506,
35224,
7203,
24267,
4943,
16034,
3084,
62,
18638,
62,
35124,
33411,
366,
43027,
1,
19841,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
1271,
286,
3869,
28057,
1839,
416,
262,
1353,
642,
7027,
5633,
46506,
35224,
7203,
24267,
4943,
16034,
3084,
62,
18638,
62,
35124,
33411,
366,
43027,
1,
19841,
642
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, find phone_number and department_id , and visualize them by a bar chart, I want to show in desc by the x axis. | SELECT PHONE_NUMBER, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
3072,
62,
17618,
290,
5011,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
314,
765,
284,
905,
287,
1715,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
3072,
62,
17618,
290,
5011,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
314,
765,
284,
905,
287,
1715,
... |
i'm curious as to how many hours have passed since patient 12726's first intake of lipids 20% on the current icu visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) 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 = 12726) AND icustays.outtime IS NULL)... | [
72,
1101,
11040,
355,
284,
703,
867,
2250,
423,
3804,
1201,
5827,
18112,
2075,
338,
717,
10337,
286,
10645,
2340,
1160,
4,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
1101,
11040,
355,
284,
703,
867,
2250,
423,
3804,
1201,
5827,
18112,
2075,
338,
717,
10337,
286,
10645,
2340,
1160,
4,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237... |
How many times was the record 19 34 | SELECT COUNT(score) FROM table_23248869_8 WHERE record = "19–34" | [
2437,
867,
1661,
373,
262,
1700,
678,
4974,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
1954,
1731,
3459,
3388,
62,
23,
33411,
1700,
796,
366,
1129,
1906,
2682,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
373,
262,
1700,
678,
4974,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
1954,
1731,
3459,
3388,
62,
23,
33411,
1700,
796,
366,
1129,
1906,
2682,
1
] |
What venue featured the home side scoring 10.17 (77)? | SELECT "Venue" FROM table_32645 WHERE "Home team score" = '10.17 (77)' | [
2061,
14359,
8096,
262,
1363,
1735,
9689,
838,
13,
1558,
357,
3324,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
39195,
2231,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
940,
13,
1558,
357,
3324,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
14359,
8096,
262,
1363,
1735,
9689,
838,
13,
1558,
357,
3324,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
39195,
2231,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
940,
13,
1558,
357,
3324,
33047
] |
What is the title of ISBN 1-84990-243-7? | SELECT title FROM table_2950964_1 WHERE isbn = "isbn 1-84990-243-7" | [
2061,
318,
262,
3670,
286,
32429,
352,
12,
5705,
34155,
12,
26660,
12,
22,
30,
46506,
3670,
16034,
3084,
62,
1959,
29022,
2414,
62,
16,
33411,
318,
9374,
796,
366,
271,
9374,
352,
12,
5705,
34155,
12,
26660,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
32429,
352,
12,
5705,
34155,
12,
26660,
12,
22,
30,
46506,
3670,
16034,
3084,
62,
1959,
29022,
2414,
62,
16,
33411,
318,
9374,
796,
366,
271,
9374,
352,
12,
5705,
34155,
12,
26660,
12,
22,
1
] |
Which name has a distance for 1st as 117.5? | SELECT "Name" FROM table_39434 WHERE "1st (m)" = '117.5' | [
13828,
1438,
468,
257,
5253,
329,
352,
301,
355,
19048,
13,
20,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
34626,
2682,
33411,
366,
16,
301,
357,
76,
16725,
796,
705,
17657,
13,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1438,
468,
257,
5253,
329,
352,
301,
355,
19048,
13,
20,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
34626,
2682,
33411,
366,
16,
301,
357,
76,
16725,
796,
705,
17657,
13,
20,
6
] |
What is the snatch for the Clean & jerk of 145.0, and a Bodyweight larger than 76.22? | SELECT AVG("Snatch") FROM table_53480 WHERE "Clean & jerk" = '145.0' AND "Bodyweight" > '76.22' | [
2061,
318,
262,
43388,
329,
262,
5985,
1222,
29757,
286,
20299,
13,
15,
11,
290,
257,
12290,
6551,
4025,
621,
8684,
13,
1828,
30,
46506,
35224,
7203,
16501,
963,
4943,
16034,
3084,
62,
20,
2682,
1795,
33411,
366,
32657,
1222,
29757,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43388,
329,
262,
5985,
1222,
29757,
286,
20299,
13,
15,
11,
290,
257,
12290,
6551,
4025,
621,
8684,
13,
1828,
30,
46506,
35224,
7203,
16501,
963,
4943,
16034,
3084,
62,
20,
2682,
1795,
33411,
366,
32657,
1222,
29757,
1... |
R questions and answers per year. How many questions per month does each tag in the top 10 tags get | SELECT Month, COUNT(*) FROM (SELECT Id, DATEADD(YEAR, DATEDIFF(YEAR, 0, CreationDate), 0) AS "month" FROM Posts JOIN PostTags ON PostId = Id WHERE PostTypeId IN (1, 2) AND TagId = 4452) AS tmp GROUP BY Month ORDER BY Month | [
49,
2683,
290,
7429,
583,
614,
13,
1374,
867,
2683,
583,
1227,
857,
1123,
7621,
287,
262,
1353,
838,
15940,
651,
46506,
16061,
11,
327,
28270,
7,
28104,
16034,
357,
46506,
5121,
11,
360,
6158,
29266,
7,
56,
17133,
11,
360,
11617,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
49,
2683,
290,
7429,
583,
614,
13,
1374,
867,
2683,
583,
1227,
857,
1123,
7621,
287,
262,
1353,
838,
15940,
651,
46506,
16061,
11,
327,
28270,
7,
28104,
16034,
357,
46506,
5121,
11,
360,
6158,
29266,
7,
56,
17133,
11,
360,
11617,
29... |
What was Tom Kite's to par? | SELECT "To par" FROM table_8193 WHERE "Player" = 'tom kite' | [
2061,
373,
4186,
509,
578,
338,
284,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
23,
24943,
33411,
366,
14140,
1,
796,
705,
39532,
479,
578,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
4186,
509,
578,
338,
284,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
23,
24943,
33411,
366,
14140,
1,
796,
705,
39532,
479,
578,
6
] |
Who directed the episode aired on February 27, 2009? | SELECT "Directed by" FROM table_22316 WHERE "U.S. air date" = 'February 27, 2009' | [
8241,
7924,
262,
4471,
18530,
319,
3945,
2681,
11,
3717,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
22047,
1433,
33411,
366,
52,
13,
50,
13,
1633,
3128,
1,
796,
705,
21816,
2681,
11,
3717,
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
] | [
8241,
7924,
262,
4471,
18530,
319,
3945,
2681,
11,
3717,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
22047,
1433,
33411,
366,
52,
13,
50,
13,
1633,
3128,
1,
796,
705,
21816,
2681,
11,
3717,
6
] |
What shows for 1992 when 1988 is A, at the Australian Open? | SELECT 1992 FROM table_name_43 WHERE 1988 = "a" AND tournament = "australian open" | [
2061,
2523,
329,
9768,
618,
12122,
318,
317,
11,
379,
262,
6638,
4946,
30,
46506,
9768,
16034,
3084,
62,
3672,
62,
3559,
33411,
12122,
796,
366,
64,
1,
5357,
7756,
796,
366,
64,
436,
1373,
666,
1280,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2523,
329,
9768,
618,
12122,
318,
317,
11,
379,
262,
6638,
4946,
30,
46506,
9768,
16034,
3084,
62,
3672,
62,
3559,
33411,
12122,
796,
366,
64,
1,
5357,
7756,
796,
366,
64,
436,
1373,
666,
1280,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of last_name and salary in a bar chart, show by the total number in ascending. | SELECT LAST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
938,
62,
3672,
290,
9588,
287,
257,
2318,
8262,
11,
905,
416,
262,
2472,
1271,
287,
41988,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
938,
62,
3672,
290,
9588,
287,
257,
2318,
8262,
11,
905,
416,
262,
2472,
1271,
287,
41988,
... |
What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4? | SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4 | [
2061,
1611,
286,
7232,
5250,
468,
257,
337,
6005,
7246,
27680,
12,
21,
7117,
11,
3170,
287,
262,
614,
24648,
393,
1903,
11,
290,
468,
257,
337,
6005,
7246,
8646,
69,
609,
20297,
351,
2173,
1342,
621,
604,
30,
46506,
920,
5250,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
1611,
286,
7232,
5250,
468,
257,
337,
6005,
7246,
27680,
12,
21,
7117,
11,
3170,
287,
262,
614,
24648,
393,
1903,
11,
290,
468,
257,
337,
6005,
7246,
8646,
69,
609,
20297,
351,
2173,
1342,
621,
604,
30,
46506,
920,
5250,
16034... |
(fout) Average amount of answers per question. | SELECT Year = DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0), Average_answers_per_question = SUM(CASE WHEN PostTypeId = 2 THEN 1 ELSE 0 END) / CAST(SUM(CASE WHEN PostTypeId = 1 THEN 1 ELSE 0 END) AS FLOAT) FROM Posts GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) ORDER BY DATEADD(MONTH, DATEDIFF(MONT... | [
7,
69,
448,
8,
13475,
2033,
286,
7429,
583,
1808,
13,
46506,
6280,
796,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
21582,
10430,
828,
657,
828,
13475,
62,
504,
86,
364,
62,
525,
62,
25652... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7,
69,
448,
8,
13475,
2033,
286,
7429,
583,
1808,
13,
46506,
6280,
796,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
21582,
10430,
828,
657,
828,
13475,
62,
504,
86,
364,
62,
525,
62,
25652... |
In which country is the city of Netanya? | SELECT country FROM table_14937957_1 WHERE city = "Netanya" | [
818,
543,
1499,
318,
262,
1748,
286,
3433,
34183,
30,
46506,
1499,
16034,
3084,
62,
19442,
29088,
3553,
62,
16,
33411,
1748,
796,
366,
7934,
34183,
1
] | [
1,
1,
1,
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,
1499,
318,
262,
1748,
286,
3433,
34183,
30,
46506,
1499,
16034,
3084,
62,
19442,
29088,
3553,
62,
16,
33411,
1748,
796,
366,
7934,
34183,
1
] |
What is the total when the Hindu is greater than 1,076, in the Jawa Barat province? | SELECT COUNT("Total") FROM table_46859 WHERE "Hindu" > '1,076' AND "Province" = 'jawa barat' | [
2061,
318,
262,
2472,
618,
262,
16397,
318,
3744,
621,
352,
11,
2998,
21,
11,
287,
262,
449,
6909,
2409,
265,
8473,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
38472,
3270,
33411,
366,
39,
10259,
1,
1875,
705,
16,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
618,
262,
16397,
318,
3744,
621,
352,
11,
2998,
21,
11,
287,
262,
449,
6909,
2409,
265,
8473,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
38472,
3270,
33411,
366,
39,
10259,
1,
1875,
705,
16,
11,... |
Return a histogram on what is the total credit does each department offer? | SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE | [
13615,
257,
1554,
21857,
319,
644,
318,
262,
2472,
3884,
857,
1123,
5011,
2897,
30,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
34,
6998,
62,
9419,
24706,
8,
16034,
37384,
5188,
44441,
11050,
5550,
11571,
62,
34,
16820
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
1554,
21857,
319,
644,
318,
262,
2472,
3884,
857,
1123,
5011,
2897,
30,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
34,
6998,
62,
9419,
24706,
8,
16034,
37384,
5188,
44441,
11050,
5550,
11571,
62,
34,
16820
] |
what round saw the ground of telstra dome and shaun burgoyne as nominees? | SELECT MAX("Round") FROM table_51245 WHERE "Ground" = 'telstra dome' AND "Nominees" = 'shaun burgoyne' | [
10919,
2835,
2497,
262,
2323,
286,
13632,
12044,
29500,
290,
427,
1942,
15601,
726,
710,
355,
26456,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
25836,
2231,
33411,
366,
35539,
1,
796,
705,
37524,
12044,
29500,
6,
5357,
366,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
2835,
2497,
262,
2323,
286,
13632,
12044,
29500,
290,
427,
1942,
15601,
726,
710,
355,
26456,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
25836,
2231,
33411,
366,
35539,
1,
796,
705,
37524,
12044,
29500,
6,
5357,
366,
4... |
provide the number of patients whose gender is f and diagnoses short title is infectious mononucleosis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Infectious mononucleosis" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
40567,
1790,
3670,
318,
25246,
937,
261,
14913,
5958,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
40567,
1790,
3670,
318,
25246,
937,
261,
14913,
5958,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... |
Which country is Jim Les from? | SELECT nationality FROM table_11545282_12 WHERE player = "Jim Les" | [
13828,
1499,
318,
5395,
11732,
422,
30,
46506,
29835,
16034,
3084,
62,
15363,
2231,
32568,
62,
1065,
33411,
2137,
796,
366,
18050,
11732,
1
] | [
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,
1499,
318,
5395,
11732,
422,
30,
46506,
29835,
16034,
3084,
62,
15363,
2231,
32568,
62,
1065,
33411,
2137,
796,
366,
18050,
11732,
1
] |
What position did Gene Stahl play | SELECT position FROM table_16441561_5 WHERE player = "Gene Stahl" | [
2061,
2292,
750,
13005,
520,
15668,
711,
46506,
2292,
16034,
3084,
62,
1433,
2598,
1314,
5333,
62,
20,
33411,
2137,
796,
366,
39358,
520,
15668,
1
] | [
1,
1,
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,
2292,
750,
13005,
520,
15668,
711,
46506,
2292,
16034,
3084,
62,
1433,
2598,
1314,
5333,
62,
20,
33411,
2137,
796,
366,
39358,
520,
15668,
1
] |
what were the differences in arterial bp [systolic] of patient 28443 last measured on the current intensive care unit visit compared to the value second to last measured on the current intensive care unit visit? | SELECT (SELECT 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 = 28443) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_i... | [
10919,
547,
262,
5400,
287,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
2579,
34938,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
3688,
284,
262,
1988,
1218,
284,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5400,
287,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
2579,
34938,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
3688,
284,
262,
1988,
1218,
284,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187... |
What was the average Height (cm), for a player who had the Position, C, and whose 1995-96 team was the Buffalo Sabres, and whose Weight (kg) was less than 82? | SELECT AVG("Height (cm)") FROM table_40956 WHERE "Position" = 'c' AND "1995-96 team" = 'buffalo sabres' AND "Weight (kg)" < '82' | [
2061,
373,
262,
2811,
27280,
357,
11215,
828,
329,
257,
2137,
508,
550,
262,
23158,
11,
327,
11,
290,
3025,
8735,
12,
4846,
1074,
373,
262,
14905,
45899,
11,
290,
3025,
14331,
357,
10025,
8,
373,
1342,
621,
9415,
30,
46506,
35224,
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... | [
2061,
373,
262,
2811,
27280,
357,
11215,
828,
329,
257,
2137,
508,
550,
262,
23158,
11,
327,
11,
290,
3025,
8735,
12,
4846,
1074,
373,
262,
14905,
45899,
11,
290,
3025,
14331,
357,
10025,
8,
373,
1342,
621,
9415,
30,
46506,
35224,
7... |
Plot a scatter chart, body builder id by people_id. | SELECT Body_Builder_ID, People_ID FROM body_builder | [
43328,
257,
41058,
8262,
11,
1767,
27098,
4686,
416,
661,
62,
312,
13,
46506,
12290,
62,
32875,
62,
2389,
11,
4380,
62,
2389,
16034,
1767,
62,
38272
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
257,
41058,
8262,
11,
1767,
27098,
4686,
416,
661,
62,
312,
13,
46506,
12290,
62,
32875,
62,
2389,
11,
4380,
62,
2389,
16034,
1767,
62,
38272
] |
What driver has points less than 17? | SELECT "Driver" FROM table_58994 WHERE "Points" < '17' | [
2061,
4639,
468,
2173,
1342,
621,
1596,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
3365,
42691,
33411,
366,
40710,
1,
1279,
705,
1558,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4639,
468,
2173,
1342,
621,
1596,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
3365,
42691,
33411,
366,
40710,
1,
1279,
705,
1558,
6
] |
What type of format was released after 1979? | SELECT release_format FROM table_name_48 WHERE release_date > 1979 | [
2061,
2099,
286,
5794,
373,
2716,
706,
13521,
30,
46506,
2650,
62,
18982,
16034,
3084,
62,
3672,
62,
2780,
33411,
2650,
62,
4475,
1875,
13521
] | [
1,
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,
2099,
286,
5794,
373,
2716,
706,
13521,
30,
46506,
2650,
62,
18982,
16034,
3084,
62,
3672,
62,
2780,
33411,
2650,
62,
4475,
1875,
13521
] |
What power plant was commissioned in 2008? | SELECT power_plant FROM table_name_97 WHERE year_of_commission = 2008 | [
2061,
1176,
4618,
373,
20462,
287,
3648,
30,
46506,
1176,
62,
15060,
16034,
3084,
62,
3672,
62,
5607,
33411,
614,
62,
1659,
62,
785,
3411,
796,
3648
] | [
1,
1,
1,
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,
1176,
4618,
373,
20462,
287,
3648,
30,
46506,
1176,
62,
15060,
16034,
3084,
62,
3672,
62,
5607,
33411,
614,
62,
1659,
62,
785,
3411,
796,
3648
] |
What is Finalist, when Year is '2008'? | SELECT "Finalist" FROM table_60186 WHERE "Year" = '2008' | [
2061,
318,
8125,
396,
11,
618,
6280,
318,
705,
11528,
30960,
46506,
366,
19006,
396,
1,
16034,
3084,
62,
41706,
4521,
33411,
366,
17688,
1,
796,
705,
11528,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
8125,
396,
11,
618,
6280,
318,
705,
11528,
30960,
46506,
366,
19006,
396,
1,
16034,
3084,
62,
41706,
4521,
33411,
366,
17688,
1,
796,
705,
11528,
6
] |
What is the elevator when the elector is Pietro Colonna? | SELECT elevator FROM table_name_77 WHERE elector = "pietro colonna" | [
2061,
318,
262,
20932,
618,
262,
43191,
318,
36548,
305,
1623,
6415,
30,
46506,
20932,
16034,
3084,
62,
3672,
62,
3324,
33411,
43191,
796,
366,
79,
1155,
305,
951,
6415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
20932,
618,
262,
43191,
318,
36548,
305,
1623,
6415,
30,
46506,
20932,
16034,
3084,
62,
3672,
62,
3324,
33411,
43191,
796,
366,
79,
1155,
305,
951,
6415,
1
] |
the number of times patient 030-77189 had had a digoxin procedure since 2102. | SELECT COUNT(*) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-77189')) AND treatment.treatmentname = 'digoxin' AND STRFTIME('%y', treatmen... | [
1169,
1271,
286,
1661,
5827,
657,
1270,
12,
3324,
23362,
550,
550,
257,
3100,
39366,
8771,
1201,
362,
15377,
13,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
208... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1661,
5827,
657,
1270,
12,
3324,
23362,
550,
550,
257,
3100,
39366,
8771,
1201,
362,
15377,
13,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
208... |
For those employees who was hired before 2002-06-21, give me the comparison about the sum of department_id over the hire_date bin hire_date by weekday by a bar chart, sort sum department id in ascending order. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
416,
257,
2318,
8262,
11,
3297,
2160,
5011,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
416,
257,
2318,
8262,
11,
3297,
2160,
5011,
... |
how many high assbeingts with score being l 90 98 (ot) | SELECT COUNT("High assists") FROM table_18822 WHERE "Score" = 'L 90–98 (OT)' | [
4919,
867,
1029,
840,
11873,
912,
351,
4776,
852,
300,
4101,
9661,
357,
313,
8,
46506,
327,
28270,
7203,
11922,
13648,
4943,
16034,
3084,
62,
20356,
1828,
33411,
366,
26595,
1,
796,
705,
43,
4101,
1906,
4089,
357,
2394,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1029,
840,
11873,
912,
351,
4776,
852,
300,
4101,
9661,
357,
313,
8,
46506,
327,
28270,
7203,
11922,
13648,
4943,
16034,
3084,
62,
20356,
1828,
33411,
366,
26595,
1,
796,
705,
43,
4101,
1906,
4089,
357,
2394,
33047
] |
How many directors for #15? | SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15 | [
2437,
867,
13445,
329,
1303,
1314,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
1238,
5824,
1959,
1495,
62,
16,
33411,
4808,
17618,
796,
1315
] | [
1,
1,
1,
1,
1,
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,
13445,
329,
1303,
1314,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
1238,
5824,
1959,
1495,
62,
16,
33411,
4808,
17618,
796,
1315
] |
What is the normal temperature of Abbotsford, British Columbia? | SELECT normal_temperature FROM table_name_8 WHERE city = "abbotsford, british columbia" | [
2061,
318,
262,
3487,
5951,
286,
2275,
42478,
3841,
11,
3517,
9309,
30,
46506,
3487,
62,
11498,
21069,
16034,
3084,
62,
3672,
62,
23,
33411,
1748,
796,
366,
6485,
1747,
3841,
11,
275,
799,
680,
951,
2178,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3487,
5951,
286,
2275,
42478,
3841,
11,
3517,
9309,
30,
46506,
3487,
62,
11498,
21069,
16034,
3084,
62,
3672,
62,
23,
33411,
1748,
796,
366,
6485,
1747,
3841,
11,
275,
799,
680,
951,
2178,
544,
1
] |
For those employees who did not have any job in the past, show me about the distribution of hire_date and the sum of department_id bin hire_date by time in a bar chart, and I want to display from high to low by the y-axis. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,... |
Questions per day of week. | SELECT TIME_TO_STR(CreationDate, '%W'), COUNT(1) FROM Posts WHERE PostTypeId = 1 GROUP BY TIME_TO_STR(CreationDate, '%W') | [
35741,
583,
1110,
286,
1285,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
54,
33809,
327,
28270,
7,
16,
8,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
44441,
11050,
20460,
62,
10468,
62,
18601,
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
] | [
35741,
583,
1110,
286,
1285,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
54,
33809,
327,
28270,
7,
16,
8,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
44441,
11050,
20460,
62,
10468,
62,
18601,
7,
1... |
What is the week 5 after Dani Dior as week 1? | SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior" | [
2061,
318,
262,
1285,
642,
706,
22254,
360,
1504,
355,
1285,
352,
30,
46506,
1285,
62,
20,
16034,
3084,
62,
3672,
62,
2623,
33411,
1285,
62,
16,
796,
366,
67,
3216,
288,
1504,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
642,
706,
22254,
360,
1504,
355,
1285,
352,
30,
46506,
1285,
62,
20,
16034,
3084,
62,
3672,
62,
2623,
33411,
1285,
62,
16,
796,
366,
67,
3216,
288,
1504,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of first_name and salary in a bar chart, and order by the x-axis in desc. | SELECT FIRST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
717,
62,
3672,
290,
9588,
287,
257,
2318,
8262,
11,
290,
1502,
416,
262,
2124,
12,
22704,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
717,
62,
3672,
290,
9588,
287,
257,
2318,
8262,
11,
290,
1502,
416,
262,
2124,
12,
22704,
2... |
does US fly from WASHINGTON to DENVER | SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.airline_code = 'US') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.to_airport = AIRPORT_SER... | [
22437,
1294,
6129,
422,
370,
19436,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
1294,
6129,
422,
370,
19436,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... |
What's listed for the Turnout % with a Raila of 519,180? | SELECT "Turnout %" FROM table_35711 WHERE "Raila" = '519,180' | [
2061,
338,
5610,
329,
262,
6756,
448,
4064,
351,
257,
12950,
64,
286,
642,
1129,
11,
15259,
30,
46506,
366,
17278,
448,
4064,
1,
16034,
3084,
62,
27277,
1157,
33411,
366,
49,
39460,
1,
796,
705,
47785,
11,
15259,
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,
338,
5610,
329,
262,
6756,
448,
4064,
351,
257,
12950,
64,
286,
642,
1129,
11,
15259,
30,
46506,
366,
17278,
448,
4064,
1,
16034,
3084,
62,
27277,
1157,
33411,
366,
49,
39460,
1,
796,
705,
47785,
11,
15259,
6
] |
What's the nickname of the school in Maryville, Tennessee? | SELECT nickname FROM table_1973842_2 WHERE location = "Maryville, Tennessee" | [
2061,
338,
262,
21814,
286,
262,
1524,
287,
5335,
4244,
11,
11287,
30,
46506,
21814,
16034,
3084,
62,
24991,
2548,
3682,
62,
17,
33411,
4067,
796,
366,
24119,
4244,
11,
11287,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
21814,
286,
262,
1524,
287,
5335,
4244,
11,
11287,
30,
46506,
21814,
16034,
3084,
62,
24991,
2548,
3682,
62,
17,
33411,
4067,
796,
366,
24119,
4244,
11,
11287,
1
] |
Most Viewed With Less Than 3 Answers. | SELECT Score, Title, CreationDate, ViewCount, AnswerCount, Tags, AcceptedAnswerId FROM Posts WHERE AnswerCount < 3 AND ViewCount > 10000 AND Tags LIKE '%java%' AND NOT Tags LIKE '%javascript%' | [
6943,
3582,
276,
2080,
12892,
17924,
513,
42612,
13,
46506,
15178,
11,
11851,
11,
21582,
10430,
11,
3582,
12332,
11,
23998,
12332,
11,
44789,
11,
21699,
276,
33706,
7390,
16034,
12043,
33411,
23998,
12332,
1279,
513,
5357,
3582,
12332,
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
] | [
6943,
3582,
276,
2080,
12892,
17924,
513,
42612,
13,
46506,
15178,
11,
11851,
11,
21582,
10430,
11,
3582,
12332,
11,
23998,
12332,
11,
44789,
11,
21699,
276,
33706,
7390,
16034,
12043,
33411,
23998,
12332,
1279,
513,
5357,
3582,
12332,
18... |
patient 10431 has produced gu irrigant/urine volume out until 62 months ago? | SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10431)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'gu irrigant/ur... | [
26029,
14436,
3132,
468,
4635,
915,
29344,
415,
14,
333,
500,
6115,
503,
1566,
8190,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26029,
14436,
3132,
468,
4635,
915,
29344,
415,
14,
333,
500,
6115,
503,
1566,
8190,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
... |
What is the largest silver with less than 0 gold? | SELECT MAX("Silver") FROM table_68861 WHERE "Gold" < '0' | [
2061,
318,
262,
4387,
8465,
351,
1342,
621,
657,
3869,
30,
46506,
25882,
7203,
26766,
4943,
16034,
3084,
62,
3104,
4521,
16,
33411,
366,
13306,
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
] | [
2061,
318,
262,
4387,
8465,
351,
1342,
621,
657,
3869,
30,
46506,
25882,
7203,
26766,
4943,
16034,
3084,
62,
3104,
4521,
16,
33411,
366,
13306,
1,
1279,
705,
15,
6
] |
What are the names of the MDE classes ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
2061,
389,
262,
3891,
286,
262,
337,
7206,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
286,
262,
337,
7206,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute name, display in desc by the X. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
3359,
287,
1715,
416,
262,
1395,
13,
46506,
309,
16,
13,
5376,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
3359,
287,
1715,
416,
262,
1395,
13,
46506,
309,
16,
13,
5376,
11,
... |
what are the seasons for no 3? | SELECT seasons FROM table_23886181_1 WHERE no = "3" | [
10919,
389,
262,
7028,
329,
645,
513,
30,
46506,
7028,
16034,
3084,
62,
1954,
44980,
27057,
62,
16,
33411,
645,
796,
366,
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
] | [
10919,
389,
262,
7028,
329,
645,
513,
30,
46506,
7028,
16034,
3084,
62,
1954,
44980,
27057,
62,
16,
33411,
645,
796,
366,
18,
1
] |
What 2008 has 1r as a 2010, A as the 2007, and 1r as the 2009? | SELECT "2008" FROM table_61615 WHERE "2010" = '1r' AND "2007" = 'a' AND "2009" = '1r' | [
2061,
3648,
468,
352,
81,
355,
257,
3050,
11,
317,
355,
262,
4343,
11,
290,
352,
81,
355,
262,
3717,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
44214,
1314,
33411,
366,
10333,
1,
796,
705,
16,
81,
6,
5357,
366,
12726,
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
] | [
2061,
3648,
468,
352,
81,
355,
257,
3050,
11,
317,
355,
262,
4343,
11,
290,
352,
81,
355,
262,
3717,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
44214,
1314,
33411,
366,
10333,
1,
796,
705,
16,
81,
6,
5357,
366,
12726,
1,
796,
70... |
With a 35 to 39 greater than 3,315 what is the 45 to 49? | SELECT "45 to 49" FROM table_77331 WHERE "35 to 39" > '3,315' | [
3152,
257,
3439,
284,
5014,
3744,
621,
513,
11,
27936,
644,
318,
262,
4153,
284,
5125,
30,
46506,
366,
2231,
284,
5125,
1,
16034,
3084,
62,
3324,
31697,
33411,
366,
2327,
284,
5014,
1,
1875,
705,
18,
11,
27936,
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
] | [
3152,
257,
3439,
284,
5014,
3744,
621,
513,
11,
27936,
644,
318,
262,
4153,
284,
5125,
30,
46506,
366,
2231,
284,
5125,
1,
16034,
3084,
62,
3324,
31697,
33411,
366,
2327,
284,
5014,
1,
1875,
705,
18,
11,
27936,
6
] |
Show the number of cards in different card type code in a pie chart. | SELECT card_type_code, COUNT(card_type_code) FROM Customers_Cards GROUP BY card_type_code | [
15307,
262,
1271,
286,
4116,
287,
1180,
2657,
2099,
2438,
287,
257,
2508,
8262,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
9517,
62,
4906,
62,
8189,
8,
16034,
36707,
62,
34,
1371,
44441,
11050,
2657,
62,
4906,
62,
8189
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4116,
287,
1180,
2657,
2099,
2438,
287,
257,
2508,
8262,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
9517,
62,
4906,
62,
8189,
8,
16034,
36707,
62,
34,
1371,
44441,
11050,
2657,
62,
4906,
62,
8189
... |
how many hours has elapsed since the last time that patient 005-87465 took a ogt flush intake on the current intensive care unit visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ... | [
4919,
867,
2250,
468,
42118,
1201,
262,
938,
640,
326,
5827,
3571,
20,
12,
23,
4524,
2996,
1718,
257,
267,
13655,
24773,
10337,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
325... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2250,
468,
42118,
1201,
262,
938,
640,
326,
5827,
3571,
20,
12,
23,
4524,
2996,
1718,
257,
267,
13655,
24773,
10337,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
325... |
What are the titles of episodes with 5.66 million US viewers? | SELECT title FROM table_2866514_1 WHERE us_viewers__million_ = "5.66" | [
2061,
389,
262,
8714,
286,
8640,
351,
642,
13,
2791,
1510,
1294,
10209,
30,
46506,
3670,
16034,
3084,
62,
2078,
36879,
1415,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
20,
13,
2791,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8714,
286,
8640,
351,
642,
13,
2791,
1510,
1294,
10209,
30,
46506,
3670,
16034,
3084,
62,
2078,
36879,
1415,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
20,
13,
2791,
1
] |
What is the Ben-Tahir with a 3269 Doucet? | SELECT ben_tahir FROM table_name_92 WHERE doucet = "3269" | [
2061,
318,
262,
3932,
12,
51,
993,
343,
351,
257,
513,
26276,
5728,
66,
316,
30,
46506,
1888,
62,
83,
993,
343,
16034,
3084,
62,
3672,
62,
5892,
33411,
2255,
66,
316,
796,
366,
18,
26276,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3932,
12,
51,
993,
343,
351,
257,
513,
26276,
5728,
66,
316,
30,
46506,
1888,
62,
83,
993,
343,
16034,
3084,
62,
3672,
62,
5892,
33411,
2255,
66,
316,
796,
366,
18,
26276,
1
] |
What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph? | SELECT COUNT(tues_1_june) FROM table_25220821_3 WHERE mon_31_may = "20' 15.35 111.761mph" | [
2061,
318,
262,
3431,
352,
2795,
2472,
1271,
611,
3321,
3261,
1737,
318,
1160,
6,
1315,
13,
2327,
13374,
13,
4304,
16,
23335,
30,
46506,
327,
28270,
7,
83,
947,
62,
16,
62,
73,
1726,
8,
16034,
3084,
62,
1495,
17572,
23,
2481,
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,
3431,
352,
2795,
2472,
1271,
611,
3321,
3261,
1737,
318,
1160,
6,
1315,
13,
2327,
13374,
13,
4304,
16,
23335,
30,
46506,
327,
28270,
7,
83,
947,
62,
16,
62,
73,
1726,
8,
16034,
3084,
62,
1495,
17572,
23,
2481,
62,
... |
give me the number of patients who had other body fluid lab test and were diagnosed with unspecified abnormal cardiovascular function study. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Abn cardiovasc study NEC" AND lab.fluid = "Other Body Fluid" | [
26535,
502,
262,
1271,
286,
3871,
508,
550,
584,
1767,
11711,
2248,
1332,
290,
547,
14641,
351,
29547,
18801,
21134,
2163,
2050,
13,
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,
508,
550,
584,
1767,
11711,
2248,
1332,
290,
547,
14641,
351,
29547,
18801,
21134,
2163,
2050,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time, order by the y-axis in descending. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(DEPARTMENT_ID) DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
1502,
416,
262,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
1502,
416,
262,
3... |
How many millions of U.S viewers watched the episode titled 'Mended Hearts'? | SELECT "U.S. viewers (millions)" FROM table_29479 WHERE "Title" = 'Mended Hearts' | [
2437,
867,
5242,
286,
471,
13,
50,
10209,
7342,
262,
4471,
11946,
705,
44,
1631,
20592,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1959,
31714,
33411,
366,
19160,
1,
796,
705,
44,
1631,
20592,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5242,
286,
471,
13,
50,
10209,
7342,
262,
4471,
11946,
705,
44,
1631,
20592,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1959,
31714,
33411,
366,
19160,
1,
796,
705,
44,
1631,
20592,
... |
What is the Record with a Date that is may 20, 1961? | SELECT "Record" FROM table_42209 WHERE "Date" = 'may 20, 1961' | [
2061,
318,
262,
13266,
351,
257,
7536,
326,
318,
743,
1160,
11,
20510,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3682,
22567,
33411,
366,
10430,
1,
796,
705,
11261,
1160,
11,
20510,
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,
13266,
351,
257,
7536,
326,
318,
743,
1160,
11,
20510,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3682,
22567,
33411,
366,
10430,
1,
796,
705,
11261,
1160,
11,
20510,
6
] |
What Label has a Code of cocy-78365? | SELECT "Label" FROM table_77115 WHERE "Code" = 'cocy-78365' | [
2061,
36052,
468,
257,
6127,
286,
8954,
88,
12,
3695,
24760,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
3324,
15363,
33411,
366,
10669,
1,
796,
705,
66,
13733,
12,
3695,
24760,
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,
36052,
468,
257,
6127,
286,
8954,
88,
12,
3695,
24760,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
3324,
15363,
33411,
366,
10669,
1,
796,
705,
66,
13733,
12,
3695,
24760,
6
] |
What day was United States the opposing team? | SELECT date FROM table_name_92 WHERE opposing_team = "united states" | [
2061,
1110,
373,
1578,
1829,
262,
12330,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5892,
33411,
12330,
62,
15097,
796,
366,
41187,
2585,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1110,
373,
1578,
1829,
262,
12330,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5892,
33411,
12330,
62,
15097,
796,
366,
41187,
2585,
1
] |
Which game number had a location/attendance of US Airways Center 7,311 respectively? | SELECT MAX("Game") FROM table_1614 WHERE "Location/Attendance" = 'US Airways Center 7,311' | [
13828,
983,
1271,
550,
257,
4067,
14,
1078,
437,
590,
286,
1294,
40020,
3337,
767,
11,
36244,
8148,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
1433,
1415,
33411,
366,
14749,
14,
8086,
437,
590,
1,
796,
705,
2937,
40020,
3337... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
983,
1271,
550,
257,
4067,
14,
1078,
437,
590,
286,
1294,
40020,
3337,
767,
11,
36244,
8148,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
1433,
1415,
33411,
366,
14749,
14,
8086,
437,
590,
1,
796,
705,
2937,
40020,
3337... |
The candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent? | SELECT "Incumbent" FROM table_3605 WHERE "Candidates" = 'Charles Fisher (DR) 65.1% W. Jones (F) 34.9%' | [
464,
5871,
7516,
14388,
357,
7707,
8,
6135,
13,
16,
4,
370,
13,
5437,
357,
37,
8,
4974,
13,
24,
4,
318,
329,
644,
23526,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
15277,
20,
33411,
366,
41572,
37051,
1,
796,
705,
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,
1,
1,
1,
1,
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,
5871,
7516,
14388,
357,
7707,
8,
6135,
13,
16,
4,
370,
13,
5437,
357,
37,
8,
4974,
13,
24,
4,
318,
329,
644,
23526,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
15277,
20,
33411,
366,
41572,
37051,
1,
796,
705,
287... |
What's the score on December 12, 1998? | SELECT "Score" FROM table_65799 WHERE "Date" = 'december 12, 1998' | [
2061,
338,
262,
4776,
319,
3426,
1105,
11,
7795,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
37680,
2079,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
1105,
11,
7795,
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,
338,
262,
4776,
319,
3426,
1105,
11,
7795,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
37680,
2079,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
1105,
11,
7795,
6
] |
What was the earliest year that Park Jung-Ah won the gold? | SELECT MIN(year) FROM table_name_16 WHERE gold = "park jung-ah" | [
2061,
373,
262,
14555,
614,
326,
3250,
27134,
12,
10910,
1839,
262,
3869,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
3869,
796,
366,
20928,
34799,
12,
993,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
614,
326,
3250,
27134,
12,
10910,
1839,
262,
3869,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
3869,
796,
366,
20928,
34799,
12,
993,
1
] |
Name the total number of dar for disney channel and number is 613 | SELECT COUNT(dar) FROM table_15887683_9 WHERE television_service = "Disney Channel" AND n° = 613 | [
5376,
262,
2472,
1271,
286,
288,
283,
329,
595,
1681,
6518,
290,
1271,
318,
718,
1485,
46506,
327,
28270,
7,
27455,
8,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
24,
33411,
5581,
62,
15271,
796,
366,
37338,
11102,
1,
5357,
299,
720... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2472,
1271,
286,
288,
283,
329,
595,
1681,
6518,
290,
1271,
318,
718,
1485,
46506,
327,
28270,
7,
27455,
8,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
24,
33411,
5581,
62,
15271,
796,
366,
37338,
11102,
1,
5357,
299,
720... |
What is the lowest game number on 20 July 2008? | SELECT MIN("Game") FROM table_76494 WHERE "Date" = '20 july 2008' | [
2061,
318,
262,
9016,
983,
1271,
319,
1160,
2901,
3648,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
22,
2414,
5824,
33411,
366,
10430,
1,
796,
705,
1238,
474,
2062,
3648,
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,
983,
1271,
319,
1160,
2901,
3648,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
22,
2414,
5824,
33411,
366,
10430,
1,
796,
705,
1238,
474,
2062,
3648,
6
] |
What was the To par when the place was 4? | SELECT to_par FROM table_name_60 WHERE place = "4" | [
2061,
373,
262,
1675,
1582,
618,
262,
1295,
373,
604,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1899,
33411,
1295,
796,
366,
19,
1
] | [
1,
1,
1,
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,
1675,
1582,
618,
262,
1295,
373,
604,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1899,
33411,
1295,
796,
366,
19,
1
] |
A bar chart for returning the number of the countries of the mountains that have a height larger than 5000. | SELECT Country, COUNT(Country) FROM mountain WHERE Height > 5000 GROUP BY Country | [
32,
2318,
8262,
329,
8024,
262,
1271,
286,
262,
2678,
286,
262,
12269,
326,
423,
257,
6001,
4025,
621,
23336,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
8598,
33411,
27280,
1875,
23336,
44441,
11050,
12946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
329,
8024,
262,
1271,
286,
262,
2678,
286,
262,
12269,
326,
423,
257,
6001,
4025,
621,
23336,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
8598,
33411,
27280,
1875,
23336,
44441,
11050,
12946
] |
Ben Hogan with a score larger than 66 had a place listed of what? | SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan" | [
11696,
25316,
351,
257,
4776,
4025,
621,
7930,
550,
257,
1295,
5610,
286,
644,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3324,
33411,
4776,
1875,
7930,
5357,
2137,
796,
366,
11722,
289,
9632,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
11696,
25316,
351,
257,
4776,
4025,
621,
7930,
550,
257,
1295,
5610,
286,
644,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3324,
33411,
4776,
1875,
7930,
5357,
2137,
796,
366,
11722,
289,
9632,
1
] |
conferences for Semantic Parsing | SELECT DISTINCT paper.venueid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Semantic Parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | [
10414,
4972,
329,
12449,
5109,
23042,
278,
46506,
360,
8808,
1268,
4177,
3348,
13,
4080,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
13900,
5109,
23042,
278,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10414,
4972,
329,
12449,
5109,
23042,
278,
46506,
360,
8808,
1268,
4177,
3348,
13,
4080,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
13900,
5109,
23042,
278,
6,
535... |
Group and count details for the events using a bar chart, and I want to list by the names in desc. | SELECT Event_Details, COUNT(Event_Details) FROM Events GROUP BY Event_Details ORDER BY Event_Details DESC | [
13247,
290,
954,
3307,
329,
262,
2995,
1262,
257,
2318,
8262,
11,
290,
314,
765,
284,
1351,
416,
262,
3891,
287,
1715,
13,
46506,
8558,
62,
24259,
11,
327,
28270,
7,
9237,
62,
24259,
8,
16034,
18715,
44441,
11050,
8558,
62,
24259,
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
] | [
13247,
290,
954,
3307,
329,
262,
2995,
1262,
257,
2318,
8262,
11,
290,
314,
765,
284,
1351,
416,
262,
3891,
287,
1715,
13,
46506,
8558,
62,
24259,
11,
327,
28270,
7,
9237,
62,
24259,
8,
16034,
18715,
44441,
11050,
8558,
62,
24259,
3... |
What shows for 1987 when 1995 shows 1r, 1986 is a, and 1998 is sf? | SELECT "1987" FROM table_7338 WHERE "1995" = '1r' AND "1986" = 'a' AND "1988" = 'sf' | [
2061,
2523,
329,
12923,
618,
8735,
2523,
352,
81,
11,
12113,
318,
257,
11,
290,
7795,
318,
264,
69,
30,
46506,
366,
27301,
1,
16034,
3084,
62,
22,
28460,
33411,
366,
21908,
1,
796,
705,
16,
81,
6,
5357,
366,
28054,
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
] | [
2061,
2523,
329,
12923,
618,
8735,
2523,
352,
81,
11,
12113,
318,
257,
11,
290,
7795,
318,
264,
69,
30,
46506,
366,
27301,
1,
16034,
3084,
62,
22,
28460,
33411,
366,
21908,
1,
796,
705,
16,
81,
6,
5357,
366,
28054,
1,
796,
705,
... |
How many patients have stayed in the hospital for more than 15 days and have had a procedure with the short title of packed cell transfusion? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "15" AND procedures.short_title = "Packed cell transfusion" | [
2437,
867,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
1315,
1528,
290,
423,
550,
257,
8771,
351,
262,
1790,
3670,
286,
11856,
2685,
13501,
4241,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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... | [
2437,
867,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
1315,
1528,
290,
423,
550,
257,
8771,
351,
262,
1790,
3670,
286,
11856,
2685,
13501,
4241,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... |
subjects between the ages of 18 and 65 years, inclusive, with a body mass index ( bmi ) of 18.5 to 45 kg / m2 and c _ peptide > 0.8 ng / ml. | SELECT * FROM table_dev_54 WHERE (age >= 18 AND age <= 65) AND (body_mass_index_bmi >= 18.5 AND body_mass_index_bmi <= 45 AND c_peptide_level > 0.8) | [
32796,
82,
1022,
262,
9337,
286,
1248,
290,
6135,
812,
11,
19889,
11,
351,
257,
1767,
2347,
6376,
357,
275,
11632,
1267,
286,
1248,
13,
20,
284,
4153,
14211,
1220,
285,
17,
290,
269,
4808,
34337,
485,
1875,
657,
13,
23,
23370,
1220,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32796,
82,
1022,
262,
9337,
286,
1248,
290,
6135,
812,
11,
19889,
11,
351,
257,
1767,
2347,
6376,
357,
275,
11632,
1267,
286,
1248,
13,
20,
284,
4153,
14211,
1220,
285,
17,
290,
269,
4808,
34337,
485,
1875,
657,
13,
23,
23370,
1220,... |
how many patients had short term hospital as their discharge location and have undergone a procedure endosc retro cholangiopa? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND procedures.short_title = "Endosc retro cholangiopa" | [
4919,
867,
3871,
550,
1790,
3381,
4436,
355,
511,
17655,
4067,
290,
423,
29900,
257,
8771,
886,
17500,
12175,
442,
349,
648,
14922,
64,
30,
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,
1,
1,
1,
1,
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,
550,
1790,
3381,
4436,
355,
511,
17655,
4067,
290,
423,
29900,
257,
8771,
886,
17500,
12175,
442,
349,
648,
14922,
64,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel? | SELECT "Hanzi" FROM table_37741 WHERE "Launch" < '2009' AND "Language" = 'tibetan' AND "Name" = 'qinghai tibetian general channel' | [
13828,
289,
272,
17027,
338,
4219,
318,
878,
3717,
11,
618,
262,
3303,
373,
256,
571,
316,
272,
11,
290,
262,
1438,
373,
10662,
278,
44488,
256,
571,
316,
666,
2276,
6518,
30,
46506,
366,
29919,
17027,
1,
16034,
3084,
62,
26514,
390... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
289,
272,
17027,
338,
4219,
318,
878,
3717,
11,
618,
262,
3303,
373,
256,
571,
316,
272,
11,
290,
262,
1438,
373,
10662,
278,
44488,
256,
571,
316,
666,
2276,
6518,
30,
46506,
366,
29919,
17027,
1,
16034,
3084,
62,
26514,
390... |
If the record was 22-21-5, who was the opponent? | SELECT "Opponent" FROM table_3781 WHERE "Record" = '22-21-5' | [
1532,
262,
1700,
373,
2534,
12,
2481,
12,
20,
11,
508,
373,
262,
6125,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2718,
6659,
33411,
366,
23739,
1,
796,
705,
1828,
12,
2481,
12,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
1700,
373,
2534,
12,
2481,
12,
20,
11,
508,
373,
262,
6125,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2718,
6659,
33411,
366,
23739,
1,
796,
705,
1828,
12,
2481,
12,
20,
6
] |
Notre-Dame-De-Lourdes has what average area km 2? | SELECT AVG(area_km_2) FROM table_name_46 WHERE official_name = "notre-dame-de-lourdes" | [
3673,
260,
12,
35,
480,
12,
5005,
12,
43,
454,
8906,
468,
644,
2811,
1989,
10571,
362,
30,
46506,
35224,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
1743,
62,
3672,
796,
366,
1662,
260,
12,
67,
480,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3673,
260,
12,
35,
480,
12,
5005,
12,
43,
454,
8906,
468,
644,
2811,
1989,
10571,
362,
30,
46506,
35224,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
1743,
62,
3672,
796,
366,
1662,
260,
12,
67,
480,
1... |
how many titles only had one episode ? | SELECT COUNT("title") FROM table_204_903 WHERE "episodes" = 1 | [
4919,
867,
8714,
691,
550,
530,
4471,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
24,
3070,
33411,
366,
538,
8052,
1,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
8714,
691,
550,
530,
4471,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
24,
3070,
33411,
366,
538,
8052,
1,
796,
352
] |
How many Bangladeshi citizens are there in the borough ranked at number 7? | SELECT MIN("Bangladeshi Population") FROM table_22845 WHERE "Rank" = '7' | [
2437,
867,
17891,
2367,
5303,
4290,
389,
612,
287,
262,
33534,
10307,
379,
1271,
767,
30,
46506,
20625,
7203,
43984,
75,
2367,
5303,
20133,
4943,
16034,
3084,
62,
23815,
2231,
33411,
366,
27520,
1,
796,
705,
22,
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
] | [
2437,
867,
17891,
2367,
5303,
4290,
389,
612,
287,
262,
33534,
10307,
379,
1271,
767,
30,
46506,
20625,
7203,
43984,
75,
2367,
5303,
20133,
4943,
16034,
3084,
62,
23815,
2231,
33411,
366,
27520,
1,
796,
705,
22,
6
] |
Which gene is ongoing and has an intramuscular route of administration? | SELECT "Gene" FROM table_14056 WHERE "Route of administration" = 'intramuscular' AND "Status" = 'ongoing' | [
13828,
9779,
318,
7044,
290,
468,
281,
493,
859,
385,
10440,
6339,
286,
3662,
30,
46506,
366,
39358,
1,
16034,
3084,
62,
1415,
2713,
21,
33411,
366,
43401,
286,
3662,
1,
796,
705,
600,
859,
385,
10440,
6,
5357,
366,
19580,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9779,
318,
7044,
290,
468,
281,
493,
859,
385,
10440,
6339,
286,
3662,
30,
46506,
366,
39358,
1,
16034,
3084,
62,
1415,
2713,
21,
33411,
366,
43401,
286,
3662,
1,
796,
705,
600,
859,
385,
10440,
6,
5357,
366,
19580,
1,
796,
... |
What is the stage reached for venue edmonton green? | SELECT stage_reached FROM table_name_23 WHERE venue = "edmonton green" | [
2061,
318,
262,
3800,
4251,
329,
14359,
1225,
19729,
4077,
30,
46506,
3800,
62,
260,
2317,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
276,
19729,
4077,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3800,
4251,
329,
14359,
1225,
19729,
4077,
30,
46506,
3800,
62,
260,
2317,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
276,
19729,
4077,
1
] |
What is Year, when Time is '1:47.55'? | SELECT "Year" FROM table_59146 WHERE "Time" = '1:47.55' | [
2061,
318,
6280,
11,
618,
3862,
318,
705,
16,
25,
2857,
13,
2816,
30960,
46506,
366,
17688,
1,
16034,
3084,
62,
3270,
20964,
33411,
366,
7575,
1,
796,
705,
16,
25,
2857,
13,
2816,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
6280,
11,
618,
3862,
318,
705,
16,
25,
2857,
13,
2816,
30960,
46506,
366,
17688,
1,
16034,
3084,
62,
3270,
20964,
33411,
366,
7575,
1,
796,
705,
16,
25,
2857,
13,
2816,
6
] |
What is the Tamil Name of ( 2)? | SELECT "Type" FROM table_6947 WHERE "Tamil Name" = 'சந்திர புத்தாண்டு (தினம் 2)' | [
2061,
318,
262,
32519,
6530,
286,
357,
362,
19427,
46506,
366,
6030,
1,
16034,
3084,
62,
3388,
2857,
33411,
366,
42061,
346,
6530,
1,
796,
705,
156,
106,
248,
156,
106,
101,
156,
107,
235,
156,
106,
97,
156,
106,
123,
156,
106,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32519,
6530,
286,
357,
362,
19427,
46506,
366,
6030,
1,
16034,
3084,
62,
3388,
2857,
33411,
366,
42061,
346,
6530,
1,
796,
705,
156,
106,
248,
156,
106,
101,
156,
107,
235,
156,
106,
97,
156,
106,
123,
156,
106,
10... |
what's the name of the specimen test that patient 031-15666 was given for the first time in 12/last year? | SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-15666')) AND DATETIME(microlab.culturetakentime, 'start of year') ... | [
10919,
338,
262,
1438,
286,
262,
31674,
1332,
326,
5827,
657,
3132,
12,
1314,
27310,
373,
1813,
329,
262,
717,
640,
287,
1105,
14,
12957,
614,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
31674,
1332,
326,
5827,
657,
3132,
12,
1314,
27310,
373,
1813,
329,
262,
717,
640,
287,
1105,
14,
12957,
614,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26... |
Visualize a bar chart about the distribution of Nationality and the average of meter_100 , and group by attribute Nationality, and I want to show by the Nationality from high to low. | SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality ORDER BY Nationality DESC | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
2351,
414,
290,
262,
2811,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
2351,
414,
11,
290,
314,
765,
284,
905,
416,
262,
2351,
414,
422,
1029,
284,
1877,
13,
46506,
2351,
414,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
6082,
286,
2351,
414,
290,
262,
2811,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
2351,
414,
11,
290,
314,
765,
284,
905,
416,
262,
2351,
414,
422,
1029,
284,
1877,
13,
46506,
2351,
414,... |
what was the number of times the lansoprazole oral suspension was prescribed in 2105? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'lansoprazole oral suspension' AND STRFTIME('%y', prescriptions.startdate) = '2105' | [
10919,
373,
262,
1271,
286,
1661,
262,
300,
504,
404,
3247,
2305,
12886,
11461,
373,
14798,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
75,
504,
404,
3247,
2305,
12886,
11461,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
1271,
286,
1661,
262,
300,
504,
404,
3247,
2305,
12886,
11461,
373,
14798,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
75,
504,
404,
3247,
2305,
12886,
11461,
6,
... |
patient weighs more than 80 kg or body mass index bmi > 28 | SELECT * FROM table_train_224 WHERE body_weight > 80 OR body_mass_index_bmi > 28 | [
26029,
24034,
517,
621,
4019,
14211,
393,
1767,
2347,
6376,
275,
11632,
1875,
2579,
46506,
1635,
16034,
3084,
62,
27432,
62,
24137,
33411,
1767,
62,
6551,
1875,
4019,
6375,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1875,
2579
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26029,
24034,
517,
621,
4019,
14211,
393,
1767,
2347,
6376,
275,
11632,
1875,
2579,
46506,
1635,
16034,
3084,
62,
27432,
62,
24137,
33411,
1767,
62,
6551,
1875,
4019,
6375,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1875,
2579
] |
What is Population density (per km ), when Name is Antigua and Barbuda, and when Capital is St. John's? | SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's" | [
2061,
318,
20133,
12109,
357,
525,
10571,
10612,
618,
6530,
318,
3738,
328,
6413,
290,
10593,
15339,
11,
290,
618,
9747,
318,
520,
13,
1757,
338,
30,
46506,
3265,
62,
43337,
834,
525,
62,
13276,
31185,
62,
16034,
3084,
62,
3672,
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
] | [
2061,
318,
20133,
12109,
357,
525,
10571,
10612,
618,
6530,
318,
3738,
328,
6413,
290,
10593,
15339,
11,
290,
618,
9747,
318,
520,
13,
1757,
338,
30,
46506,
3265,
62,
43337,
834,
525,
62,
13276,
31185,
62,
16034,
3084,
62,
3672,
62,
... |
what is the total number of encyclicals to take place in december ? | SELECT COUNT("title (latin)") FROM table_203_476 WHERE "date" = 12 | [
10919,
318,
262,
2472,
1271,
286,
551,
15539,
20155,
284,
1011,
1295,
287,
390,
3273,
5633,
46506,
327,
28270,
7203,
7839,
357,
75,
10680,
8,
4943,
16034,
3084,
62,
22416,
62,
35435,
33411,
366,
4475,
1,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
551,
15539,
20155,
284,
1011,
1295,
287,
390,
3273,
5633,
46506,
327,
28270,
7203,
7839,
357,
75,
10680,
8,
4943,
16034,
3084,
62,
22416,
62,
35435,
33411,
366,
4475,
1,
796,
1105
] |
Name the date when bye was opponent | SELECT date FROM table_name_15 WHERE opponent = "bye" | [
5376,
262,
3128,
618,
33847,
373,
6125,
46506,
3128,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
16390,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3128,
618,
33847,
373,
6125,
46506,
3128,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
16390,
1
] |
What Type of museum is the Valdez museum? | SELECT "Type" FROM table_34536 WHERE "Name" = 'valdez museum' | [
2061,
5994,
286,
13257,
318,
262,
38552,
8471,
13257,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
27712,
2623,
33411,
366,
5376,
1,
796,
705,
85,
1940,
8471,
13257,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5994,
286,
13257,
318,
262,
38552,
8471,
13257,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
27712,
2623,
33411,
366,
5376,
1,
796,
705,
85,
1940,
8471,
13257,
6
] |
What is the opponent in a week larger than 1, with a result of l 21-20? | SELECT opponent FROM table_name_31 WHERE week > 1 AND result = "l 21-20" | [
2061,
318,
262,
6125,
287,
257,
1285,
4025,
621,
352,
11,
351,
257,
1255,
286,
300,
2310,
12,
1238,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3132,
33411,
1285,
1875,
352,
5357,
1255,
796,
366,
75,
2310,
12,
1238,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
287,
257,
1285,
4025,
621,
352,
11,
351,
257,
1255,
286,
300,
2310,
12,
1238,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3132,
33411,
1285,
1875,
352,
5357,
1255,
796,
366,
75,
2310,
12,
1238,
1
] |
What is the date of the game played at rich stadium? | SELECT date FROM table_name_60 WHERE game_site = "rich stadium" | [
2061,
318,
262,
3128,
286,
262,
983,
2826,
379,
5527,
10308,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1899,
33411,
983,
62,
15654,
796,
366,
7527,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
983,
2826,
379,
5527,
10308,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1899,
33411,
983,
62,
15654,
796,
366,
7527,
10308,
1
] |
What is the record of the game that had a home team of Colorado, and a visiting team of Winnipeg? | SELECT "Record" FROM table_58374 WHERE "Home" = 'colorado' AND "Visitor" = 'winnipeg' | [
2061,
318,
262,
1700,
286,
262,
983,
326,
550,
257,
1363,
1074,
286,
7492,
11,
290,
257,
10013,
1074,
286,
23434,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3365,
31020,
33411,
366,
16060,
1,
796,
705,
8043,
4533,
6,
5357,
366,
1585... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
286,
262,
983,
326,
550,
257,
1363,
1074,
286,
7492,
11,
290,
257,
10013,
1074,
286,
23434,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3365,
31020,
33411,
366,
16060,
1,
796,
705,
8043,
4533,
6,
5357,
366,
1585... |
A bar chart for what are the number of the dates of publications in descending order of price? | SELECT Publication_Date, COUNT(Publication_Date) FROM publication GROUP BY Publication_Date ORDER BY Price DESC | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
9667,
286,
16125,
287,
31491,
1502,
286,
2756,
30,
46506,
45065,
62,
10430,
11,
327,
28270,
7,
15202,
341,
62,
10430,
8,
16034,
9207,
44441,
11050,
45065,
62,
10430,
38678,
11050,
78... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
9667,
286,
16125,
287,
31491,
1502,
286,
2756,
30,
46506,
45065,
62,
10430,
11,
327,
28270,
7,
15202,
341,
62,
10430,
8,
16034,
9207,
44441,
11050,
45065,
62,
10430,
38678,
11050,
78... |
Get the number of female patients who have bradycardia as their primary disease. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "BRADYCARDIA" | [
3855,
262,
1271,
286,
4048,
3871,
508,
423,
865,
4597,
9517,
544,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
262,
1271,
286,
4048,
3871,
508,
423,
865,
4597,
9517,
544,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728... |
hba1c between 7.5 and 10 % | SELECT * FROM table_train_229 WHERE hba1c >= 7.5 AND hemoglobin_a1c_hba1c <= 10 | [
71,
7012,
16,
66,
1022,
767,
13,
20,
290,
838,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
23539,
33411,
289,
7012,
16,
66,
18189,
767,
13,
20,
5357,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
19841,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
71,
7012,
16,
66,
1022,
767,
13,
20,
290,
838,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
23539,
33411,
289,
7012,
16,
66,
18189,
767,
13,
20,
5357,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
19841,
838
] |
how many patients whose admission location is emergency room admit and year of birth is less than 1850? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.dob_year < "1850" | [
4919,
867,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
614,
286,
4082,
318,
1342,
621,
35745,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
614,
286,
4082,
318,
1342,
621,
35745,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.