instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the Raptors' record against New Jersey? | SELECT record FROM table_15780718_9 WHERE team = "New Jersey" | [
2061,
318,
262,
30836,
6,
1700,
1028,
968,
8221,
30,
46506,
1700,
16034,
3084,
62,
18458,
36928,
1507,
62,
24,
33411,
1074,
796,
366,
3791,
8221,
1
] | [
1,
1,
1,
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,
30836,
6,
1700,
1028,
968,
8221,
30,
46506,
1700,
16034,
3084,
62,
18458,
36928,
1507,
62,
24,
33411,
1074,
796,
366,
3791,
8221,
1
] |
What is Score, when Name is Nicole ? | SELECT "Score" FROM table_40379 WHERE "Name" = 'nicole 赖淞凤' | [
2061,
318,
15178,
11,
618,
6530,
318,
25176,
5633,
46506,
366,
26595,
1,
16034,
3084,
62,
1821,
29088,
33411,
366,
5376,
1,
796,
705,
6988,
2305,
5525,
113,
244,
162,
115,
252,
49035,
97,
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,
15178,
11,
618,
6530,
318,
25176,
5633,
46506,
366,
26595,
1,
16034,
3084,
62,
1821,
29088,
33411,
366,
5376,
1,
796,
705,
6988,
2305,
5525,
113,
244,
162,
115,
252,
49035,
97,
6
] |
what are the top four most frequent medications that followed during the same month for patients who were prescribed isos since 6 years ago? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'isos' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_T... | [
10919,
389,
262,
1353,
1440,
749,
10792,
17638,
326,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
547,
14798,
318,
418,
1201,
718,
812,
2084,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
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... | [
10919,
389,
262,
1353,
1440,
749,
10792,
17638,
326,
3940,
1141,
262,
976,
1227,
329,
3871,
508,
547,
14798,
318,
418,
1201,
718,
812,
2084,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
4... |
Which Competition has a Year of 1993? | SELECT "Competition" FROM table_42872 WHERE "Year" = '1993' | [
13828,
27348,
468,
257,
6280,
286,
9656,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
40173,
4761,
33411,
366,
17688,
1,
796,
705,
24465,
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
] | [
13828,
27348,
468,
257,
6280,
286,
9656,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
40173,
4761,
33411,
366,
17688,
1,
796,
705,
24465,
6
] |
count the number of patients whose diagnoses short title is ac/chr syst/dia hrt fail and drug route is id? | 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 = "Ac/chr syst/dia hrt fail" AND prescriptions.route = "ID" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
936,
14,
354,
81,
827,
301,
14,
67,
544,
289,
17034,
2038,
290,
2563,
6339,
318,
4686,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
936,
14,
354,
81,
827,
301,
14,
67,
544,
289,
17034,
2038,
290,
2563,
6339,
318,
4686,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
... |
how many times were points counted for fk prienai | SELECT COUNT("Points") FROM table_1402 WHERE "Club" = 'FK Prienai' | [
4919,
867,
1661,
547,
2173,
14789,
329,
277,
74,
1293,
268,
1872,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
1415,
2999,
33411,
366,
42350,
1,
796,
705,
26236,
4389,
268,
1872,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1661,
547,
2173,
14789,
329,
277,
74,
1293,
268,
1872,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
1415,
2999,
33411,
366,
42350,
1,
796,
705,
26236,
4389,
268,
1872,
6
] |
How many officers o/s were there on the day when the number of USAAF was 2373882? | SELECT MAX(officers_o_s) FROM table_23508196_2 WHERE total_usaaf = 2373882 | [
2437,
867,
3790,
267,
14,
82,
547,
612,
319,
262,
1110,
618,
262,
1271,
286,
1294,
38540,
373,
34385,
2548,
6469,
30,
46506,
25882,
7,
14406,
364,
62,
78,
62,
82,
8,
16034,
3084,
62,
1954,
33042,
25272,
62,
17,
33411,
2472,
62,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3790,
267,
14,
82,
547,
612,
319,
262,
1110,
618,
262,
1271,
286,
1294,
38540,
373,
34385,
2548,
6469,
30,
46506,
25882,
7,
14406,
364,
62,
78,
62,
82,
8,
16034,
3084,
62,
1954,
33042,
25272,
62,
17,
33411,
2472,
62,
22... |
what was the name of the organism found at the last pleural fluid test of patient 23070 since 20 months ago? | SELECT microbiologyevents.org_name FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23070) AND microbiologyevents.spec_type_desc = 'pleural fluid' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime) >=... | [
10919,
373,
262,
1438,
286,
262,
26433,
1043,
379,
262,
938,
3339,
1523,
11711,
1332,
286,
5827,
18395,
2154,
1201,
1160,
1933,
2084,
30,
46506,
24559,
1435,
31534,
13,
2398,
62,
3672,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
26433,
1043,
379,
262,
938,
3339,
1523,
11711,
1332,
286,
5827,
18395,
2154,
1201,
1160,
1933,
2084,
30,
46506,
24559,
1435,
31534,
13,
2398,
62,
3672,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,... |
age 18 and above | SELECT * FROM table_train_175 WHERE age >= 18 | [
496,
1248,
290,
2029,
46506,
1635,
16034,
3084,
62,
27432,
62,
17430,
33411,
2479,
18189,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
496,
1248,
290,
2029,
46506,
1635,
16034,
3084,
62,
27432,
62,
17430,
33411,
2479,
18189,
1248
] |
Which Points have an Opponent of vancouver canucks, and a November smaller than 11? | SELECT AVG("Points") FROM table_38449 WHERE "Opponent" = 'vancouver canucks' AND "November" < '11' | [
13828,
11045,
423,
281,
9385,
3471,
286,
410,
10264,
460,
6238,
11,
290,
257,
3389,
4833,
621,
1367,
30,
46506,
35224,
7203,
40710,
4943,
16034,
3084,
62,
2548,
31911,
33411,
366,
27524,
3471,
1,
796,
705,
85,
10264,
460,
6238,
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
] | [
13828,
11045,
423,
281,
9385,
3471,
286,
410,
10264,
460,
6238,
11,
290,
257,
3389,
4833,
621,
1367,
30,
46506,
35224,
7203,
40710,
4943,
16034,
3084,
62,
2548,
31911,
33411,
366,
27524,
3471,
1,
796,
705,
85,
10264,
460,
6238,
6,
535... |
What shows for 3rd place when the venue was Pardubice? | SELECT "3rd place" FROM table_69014 WHERE "Venue" = 'pardubice' | [
2061,
2523,
329,
513,
4372,
1295,
618,
262,
14359,
373,
350,
446,
549,
501,
30,
46506,
366,
18,
4372,
1295,
1,
16034,
3084,
62,
3388,
28645,
33411,
366,
37522,
518,
1,
796,
705,
26037,
549,
501,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2523,
329,
513,
4372,
1295,
618,
262,
14359,
373,
350,
446,
549,
501,
30,
46506,
366,
18,
4372,
1295,
1,
16034,
3084,
62,
3388,
28645,
33411,
366,
37522,
518,
1,
796,
705,
26037,
549,
501,
6
] |
What papers are authored by Donald E Knuth ? | SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'Donald E Knuth' AND writes.authorid = author.authorid | [
2061,
9473,
389,
33941,
416,
3759,
412,
6102,
1071,
5633,
46506,
360,
8808,
1268,
4177,
6797,
13,
20189,
312,
16034,
1772,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
7371,
412,
6102,
1071,
6,
5357,
6797,
13,
9800,
312,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
9473,
389,
33941,
416,
3759,
412,
6102,
1071,
5633,
46506,
360,
8808,
1268,
4177,
6797,
13,
20189,
312,
16034,
1772,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
7371,
412,
6102,
1071,
6,
5357,
6797,
13,
9800,
312,
796... |
Top 30 Users from Milan, Italy. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%toulouse%' ORDER BY Reputation DESC LIMIT 30 | [
9126,
1542,
18987,
422,
21574,
11,
8031,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9126,
1542,
18987,
422,
21574,
11,
8031,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
... |
Which Rank is the lowest one that has Points larger than 52, and a Year larger than 1970? | SELECT MIN(rank) FROM table_name_9 WHERE points > 52 AND year > 1970 | [
13828,
10916,
318,
262,
9016,
530,
326,
468,
11045,
4025,
621,
6740,
11,
290,
257,
6280,
4025,
621,
8069,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
2173,
1875,
6740,
5357,
614,
1875,
8069
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
318,
262,
9016,
530,
326,
468,
11045,
4025,
621,
6740,
11,
290,
257,
6280,
4025,
621,
8069,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
2173,
1875,
6740,
5357,
614,
1875,
8069
] |
Which Losses have Draws larger than 0? | SELECT MAX("Losses") FROM table_66657 WHERE "Draws" > '0' | [
13828,
22014,
274,
423,
15315,
82,
4025,
621,
657,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
2791,
37680,
33411,
366,
25302,
82,
1,
1875,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
22014,
274,
423,
15315,
82,
4025,
621,
657,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
2791,
37680,
33411,
366,
25302,
82,
1,
1875,
705,
15,
6
] |
Which airport has an IATA of TYN? | SELECT "Airport" FROM table_32964 WHERE "IATA" = 'tyn' | [
13828,
9003,
468,
281,
314,
13563,
286,
24412,
45,
30,
46506,
366,
16170,
634,
1,
16034,
3084,
62,
37967,
2414,
33411,
366,
40,
13563,
1,
796,
705,
774,
77,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9003,
468,
281,
314,
13563,
286,
24412,
45,
30,
46506,
366,
16170,
634,
1,
16034,
3084,
62,
37967,
2414,
33411,
366,
40,
13563,
1,
796,
705,
774,
77,
6
] |
how many years previous to 2010 was ireland a finalist ? | SELECT COUNT("year") FROM table_204_136 WHERE "year" < 2010 AND "final" = 'ireland' | [
4919,
867,
812,
2180,
284,
3050,
373,
35918,
1044,
257,
2457,
396,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
20809,
33411,
366,
1941,
1,
1279,
3050,
5357,
366,
20311,
1,
796,
705,
557,
1044,
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
] | [
4919,
867,
812,
2180,
284,
3050,
373,
35918,
1044,
257,
2457,
396,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
20809,
33411,
366,
1941,
1,
1279,
3050,
5357,
366,
20311,
1,
796,
705,
557,
1044,
6
] |
What are the areas (in acres) of the Kilnahera East townland? | SELECT "Area( acres )" FROM table_74474 WHERE "Townland" = 'Kilnahera East' | [
2061,
389,
262,
3006,
357,
259,
16051,
8,
286,
262,
19902,
2616,
372,
64,
3687,
3240,
1044,
30,
46506,
366,
30547,
7,
16051,
1267,
1,
16034,
3084,
62,
22,
2598,
4524,
33411,
366,
38097,
1044,
1,
796,
705,
42,
346,
2616,
372,
64,
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
] | [
2061,
389,
262,
3006,
357,
259,
16051,
8,
286,
262,
19902,
2616,
372,
64,
3687,
3240,
1044,
30,
46506,
366,
30547,
7,
16051,
1267,
1,
16034,
3084,
62,
22,
2598,
4524,
33411,
366,
38097,
1044,
1,
796,
705,
42,
346,
2616,
372,
64,
3... |
Find the number of courses provided in each semester and year. | SELECT COUNT(*), semester, year FROM section GROUP BY semester, year | [
16742,
262,
1271,
286,
10902,
2810,
287,
1123,
24878,
290,
614,
13,
46506,
327,
28270,
46491,
828,
24878,
11,
614,
16034,
2665,
44441,
11050,
24878,
11,
614
] | [
1,
1,
1,
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,
10902,
2810,
287,
1123,
24878,
290,
614,
13,
46506,
327,
28270,
46491,
828,
24878,
11,
614,
16034,
2665,
44441,
11050,
24878,
11,
614
] |
How many air dates were there when Morgan was eliminated? | SELECT COUNT("Air date") FROM table_73070 WHERE "Eliminated" = 'Morgan' | [
2437,
867,
1633,
9667,
547,
612,
618,
10805,
373,
15254,
30,
46506,
327,
28270,
7203,
16170,
3128,
4943,
16034,
3084,
62,
43916,
2154,
33411,
366,
36,
2475,
3898,
1,
796,
705,
47184,
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
] | [
2437,
867,
1633,
9667,
547,
612,
618,
10805,
373,
15254,
30,
46506,
327,
28270,
7203,
16170,
3128,
4943,
16034,
3084,
62,
43916,
2154,
33411,
366,
36,
2475,
3898,
1,
796,
705,
47184,
6
] |
Network of nbc is what digital channel? | SELECT "Digital channel" FROM table_75032 WHERE "Network" = 'nbc' | [
26245,
286,
299,
15630,
318,
644,
4875,
6518,
30,
46506,
366,
27640,
6518,
1,
16034,
3084,
62,
15426,
2624,
33411,
366,
26245,
1,
796,
705,
77,
15630,
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
] | [
26245,
286,
299,
15630,
318,
644,
4875,
6518,
30,
46506,
366,
27640,
6518,
1,
16034,
3084,
62,
15426,
2624,
33411,
366,
26245,
1,
796,
705,
77,
15630,
6
] |
What date was the game at Dowdy-Ficklen stadium Greenville, NC, with 27,321 in attendance? | SELECT "Date" FROM table_44836 WHERE "Site" = 'dowdy-ficklen stadium • greenville, nc' AND "Attendance" = '27,321' | [
2061,
3128,
373,
262,
983,
379,
21842,
9892,
12,
37,
624,
11925,
10308,
3469,
4244,
11,
8823,
11,
351,
2681,
11,
36453,
287,
14858,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
31115,
2623,
33411,
366,
29123,
1,
796,
705,
67,
322,
989... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
373,
262,
983,
379,
21842,
9892,
12,
37,
624,
11925,
10308,
3469,
4244,
11,
8823,
11,
351,
2681,
11,
36453,
287,
14858,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
31115,
2623,
33411,
366,
29123,
1,
796,
705,
67,
322,
989... |
What is the average age for each gender of student? Return a bar chart, and display from low to high by the the average of age. | SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY AVG(Age) | [
2061,
318,
262,
2811,
2479,
329,
1123,
5279,
286,
3710,
30,
8229,
257,
2318,
8262,
11,
290,
3359,
422,
1877,
284,
1029,
416,
262,
262,
2811,
286,
2479,
13,
46506,
14419,
11,
35224,
7,
23396,
8,
16034,
13613,
44441,
11050,
14419,
38678... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2479,
329,
1123,
5279,
286,
3710,
30,
8229,
257,
2318,
8262,
11,
290,
3359,
422,
1877,
284,
1029,
416,
262,
262,
2811,
286,
2479,
13,
46506,
14419,
11,
35224,
7,
23396,
8,
16034,
13613,
44441,
11050,
14419,
38678... |
How many players did the philadelphia eagles pick? | SELECT COUNT("Position") FROM table_73737 WHERE "NFL Team" = 'Philadelphia Eagles' | [
2437,
867,
1938,
750,
262,
5206,
8273,
304,
37803,
2298,
30,
46506,
327,
28270,
7203,
26545,
4943,
16034,
3084,
62,
22,
2718,
2718,
33411,
366,
32078,
4816,
1,
796,
705,
42349,
13785,
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
] | [
2437,
867,
1938,
750,
262,
5206,
8273,
304,
37803,
2298,
30,
46506,
327,
28270,
7203,
26545,
4943,
16034,
3084,
62,
22,
2718,
2718,
33411,
366,
32078,
4816,
1,
796,
705,
42349,
13785,
6
] |
I want the sum of Laps for wolfgang von trips, and a grid larger than 5 | SELECT SUM("Laps") FROM table_10265 WHERE "Driver" = 'wolfgang von trips' AND "Grid" > '5' | [
40,
765,
262,
2160,
286,
406,
1686,
329,
17481,
28284,
18042,
13229,
11,
290,
257,
10706,
4025,
621,
642,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
940,
22980,
33411,
366,
32103,
1,
796,
705,
18829,
28284,
18042,
13229,
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
] | [
40,
765,
262,
2160,
286,
406,
1686,
329,
17481,
28284,
18042,
13229,
11,
290,
257,
10706,
4025,
621,
642,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
940,
22980,
33411,
366,
32103,
1,
796,
705,
18829,
28284,
18042,
13229,
6,
... |
Which date's attendance was more than 35,540? | SELECT "Date" FROM table_34454 WHERE "Attendance" > '35,540' | [
13828,
3128,
338,
14858,
373,
517,
621,
3439,
11,
35005,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2682,
34229,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2327,
11,
35005,
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
] | [
13828,
3128,
338,
14858,
373,
517,
621,
3439,
11,
35005,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2682,
34229,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2327,
11,
35005,
6
] |
Name the total number of swimsuits for evening gowns less than 8.21 and average of 8.453 with interview less than 9.09 | SELECT COUNT(swimsuit) FROM table_name_54 WHERE interview < 9.09 AND evening_gown < 8.21 AND average = 8.453 | [
5376,
262,
2472,
1271,
286,
9422,
16554,
329,
6180,
33323,
82,
1342,
621,
807,
13,
2481,
290,
2811,
286,
807,
13,
36625,
351,
2720,
1342,
621,
860,
13,
2931,
46506,
327,
28270,
7,
2032,
320,
6063,
8,
16034,
3084,
62,
3672,
62,
4051,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9422,
16554,
329,
6180,
33323,
82,
1342,
621,
807,
13,
2481,
290,
2811,
286,
807,
13,
36625,
351,
2720,
1342,
621,
860,
13,
2931,
46506,
327,
28270,
7,
2032,
320,
6063,
8,
16034,
3084,
62,
3672,
62,
4051,... |
What is the total when the A score was less than 6.6, and the B score was 8.925? | SELECT total FROM table_name_15 WHERE a_score < 6.6 AND b_score = 8.925 | [
2061,
318,
262,
2472,
618,
262,
317,
4776,
373,
1342,
621,
718,
13,
21,
11,
290,
262,
347,
4776,
373,
807,
13,
46351,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
1314,
33411,
257,
62,
26675,
1279,
718,
13,
21,
5357,
275,
62,
26675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
317,
4776,
373,
1342,
621,
718,
13,
21,
11,
290,
262,
347,
4776,
373,
807,
13,
46351,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
1314,
33411,
257,
62,
26675,
1279,
718,
13,
21,
5357,
275,
62,
26675... |
Name the minimum total for ireland | SELECT MIN("Total") FROM table_19391 WHERE "Country" = 'Ireland' | [
5376,
262,
5288,
2472,
329,
35918,
1044,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
1129,
37710,
33411,
366,
33921,
1,
796,
705,
49752,
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
] | [
5376,
262,
5288,
2472,
329,
35918,
1044,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
1129,
37710,
33411,
366,
33921,
1,
796,
705,
49752,
6
] |
what was the largest gf in team history in the arab nations cup ? | SELECT MAX("gf") FROM table_202_197 | [
10919,
373,
262,
4387,
308,
69,
287,
1074,
2106,
287,
262,
610,
397,
7027,
6508,
5633,
46506,
25882,
7203,
70,
69,
4943,
16034,
3084,
62,
19004,
62,
24991
] | [
1,
1,
1,
1,
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,
4387,
308,
69,
287,
1074,
2106,
287,
262,
610,
397,
7027,
6508,
5633,
46506,
25882,
7203,
70,
69,
4943,
16034,
3084,
62,
19004,
62,
24991
] |
Recent questions from reputable users. | SELECT p.CreationDate, p.Id AS "post_link", p.AnswerCount, p.Tags FROM Posts AS p INNER JOIN Users AS u ON p.OwnerUserId = u.Id WHERE u.Reputation >= '##MinReputation##' AND p.PostTypeId = 1 AND p.Score >= 0 AND ClosedDate IS NULL ORDER BY p.CreationDate DESC LIMIT 500 | [
26446,
2683,
422,
40300,
2985,
13,
46506,
279,
13,
12443,
341,
10430,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
33706,
12332,
11,
279,
13,
36142,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
18987,
7054,
334,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26446,
2683,
422,
40300,
2985,
13,
46506,
279,
13,
12443,
341,
10430,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
33706,
12332,
11,
279,
13,
36142,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
18987,
7054,
334,
... |
what's the number of times heparin flush picc (100 units/ml) was prescribed until 2104? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'heparin flush picc (100 units/ml)' AND STRFTIME('%y', prescriptions.startdate) <= '2104' | [
10919,
338,
262,
1271,
286,
1661,
339,
1845,
259,
24773,
8301,
66,
357,
3064,
4991,
14,
4029,
8,
373,
14798,
1566,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
258,
1845,
259,
24773,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1661,
339,
1845,
259,
24773,
8301,
66,
357,
3064,
4991,
14,
4029,
8,
373,
14798,
1566,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
258,
1845,
259,
24773,
83... |
What are the ids of the two department store chains with the largest number of department stores? | SELECT dept_store_chain_id FROM department_stores GROUP BY dept_store_chain_id ORDER BY COUNT(*) DESC LIMIT 2 | [
2061,
389,
262,
220,
2340,
286,
262,
734,
5011,
3650,
14659,
351,
262,
4387,
1271,
286,
5011,
7000,
30,
46506,
390,
457,
62,
8095,
62,
7983,
62,
312,
16034,
5011,
62,
43409,
44441,
11050,
390,
457,
62,
8095,
62,
7983,
62,
312,
38678... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
2340,
286,
262,
734,
5011,
3650,
14659,
351,
262,
4387,
1271,
286,
5011,
7000,
30,
46506,
390,
457,
62,
8095,
62,
7983,
62,
312,
16034,
5011,
62,
43409,
44441,
11050,
390,
457,
62,
8095,
62,
7983,
62,
312,
38678... |
Which position has 45 picks? | SELECT "Position" FROM table_36716 WHERE "Pick #" = '45' | [
13828,
2292,
468,
4153,
11103,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
27824,
1433,
33411,
366,
31686,
1303,
1,
796,
705,
2231,
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
] | [
13828,
2292,
468,
4153,
11103,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
27824,
1433,
33411,
366,
31686,
1303,
1,
796,
705,
2231,
6
] |
Show the number of games for each away team in a bar chart, and I want to sort by the X in asc please. | SELECT Away_team, COUNT(Away_team) FROM game GROUP BY Away_team ORDER BY Away_team | [
15307,
262,
1271,
286,
1830,
329,
1123,
1497,
1074,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
3297,
416,
262,
1395,
287,
10570,
3387,
13,
46506,
21986,
62,
15097,
11,
327,
28270,
7,
32,
1014,
62,
15097,
8,
16034,
983,
44441,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
329,
1123,
1497,
1074,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
3297,
416,
262,
1395,
287,
10570,
3387,
13,
46506,
21986,
62,
15097,
11,
327,
28270,
7,
32,
1014,
62,
15097,
8,
16034,
983,
44441,
110... |
How many times is the points 8 and the place larger than 8? | SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AND place > 8 | [
2437,
867,
1661,
318,
262,
2173,
807,
290,
262,
1295,
4025,
621,
807,
30,
46506,
327,
28270,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
2173,
796,
807,
5357,
1295,
1875,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
318,
262,
2173,
807,
290,
262,
1295,
4025,
621,
807,
30,
46506,
327,
28270,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
2173,
796,
807,
5357,
1295,
1875,
807
] |
What was the total for the golfer who had a year won of 1987? | SELECT "Total" FROM table_50676 WHERE "Year(s) won" = '1987' | [
2061,
373,
262,
2472,
329,
262,
43791,
2232,
508,
550,
257,
614,
1839,
286,
12923,
30,
46506,
366,
14957,
1,
16034,
3084,
62,
1120,
42548,
33411,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
27301,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2472,
329,
262,
43791,
2232,
508,
550,
257,
614,
1839,
286,
12923,
30,
46506,
366,
14957,
1,
16034,
3084,
62,
1120,
42548,
33411,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
27301,
6
] |
who is marco simoncelli 's manufacturer | SELECT "manufacturer" FROM table_204_352 WHERE "rider" = 'marco simoncelli' | [
8727,
318,
1667,
1073,
985,
261,
3846,
72,
705,
82,
11554,
46506,
366,
48119,
15051,
1,
16034,
3084,
62,
18638,
62,
33394,
33411,
366,
49449,
1,
796,
705,
3876,
1073,
985,
261,
3846,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
1667,
1073,
985,
261,
3846,
72,
705,
82,
11554,
46506,
366,
48119,
15051,
1,
16034,
3084,
62,
18638,
62,
33394,
33411,
366,
49449,
1,
796,
705,
3876,
1073,
985,
261,
3846,
72,
6
] |
In 2008, what was the world ranking that ranked 5th in L.A.? | SELECT "World Ranking (1)" FROM table_58237 WHERE "Ranking L.A. (2)" = '5th' AND "Year of publication" = '2008' | [
818,
3648,
11,
644,
373,
262,
995,
12759,
326,
10307,
642,
400,
287,
406,
13,
32,
40791,
46506,
366,
10603,
45407,
357,
16,
16725,
16034,
3084,
62,
3365,
24693,
33411,
366,
49,
15230,
406,
13,
32,
13,
357,
17,
16725,
796,
705,
20,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3648,
11,
644,
373,
262,
995,
12759,
326,
10307,
642,
400,
287,
406,
13,
32,
40791,
46506,
366,
10603,
45407,
357,
16,
16725,
16034,
3084,
62,
3365,
24693,
33411,
366,
49,
15230,
406,
13,
32,
13,
357,
17,
16725,
796,
705,
20,
... |
Total for 1994, 1997 years won? | SELECT SUM("Total") FROM table_45396 WHERE "Year(s) won" = '1994, 1997' | [
14957,
329,
9162,
11,
8309,
812,
1839,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
2231,
34107,
33411,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
22666,
11,
8309,
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
] | [
14957,
329,
9162,
11,
8309,
812,
1839,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
2231,
34107,
33411,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
22666,
11,
8309,
6
] |
How many production codes are there for the episode that had 4.36 million u.s. viewers? | SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = "4.36" | [
2437,
867,
3227,
12416,
389,
612,
329,
262,
4471,
326,
550,
604,
13,
2623,
1510,
334,
13,
82,
13,
10209,
30,
46506,
327,
28270,
7,
25493,
62,
8189,
8,
16034,
3084,
62,
21033,
32128,
1129,
62,
17,
33411,
514,
62,
1177,
364,
834,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3227,
12416,
389,
612,
329,
262,
4471,
326,
550,
604,
13,
2623,
1510,
334,
13,
82,
13,
10209,
30,
46506,
327,
28270,
7,
25493,
62,
8189,
8,
16034,
3084,
62,
21033,
32128,
1129,
62,
17,
33411,
514,
62,
1177,
364,
834,
14... |
what time does the earliest flight which goes from ATLANTA to DENVER leave | SELECT DISTINCT flight.departure_time 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 = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '... | [
10919,
640,
857,
262,
14555,
5474,
543,
2925,
422,
5161,
25697,
5603,
284,
37692,
5959,
2666,
46506,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
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... | [
10919,
640,
857,
262,
14555,
5474,
543,
2925,
422,
5161,
25697,
5603,
284,
37692,
5959,
2666,
46506,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... |
Show me a bar chart for what are the different budget type codes, and how many documents are there for each?, list x-axis in descending order. | SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code ORDER BY Budget_Type_Code DESC | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
1180,
4466,
2099,
12416,
11,
290,
703,
867,
4963,
389,
612,
329,
1123,
21747,
1351,
2124,
12,
22704,
287,
31491,
1502,
13,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
389,
262,
1180,
4466,
2099,
12416,
11,
290,
703,
867,
4963,
389,
612,
329,
1123,
21747,
1351,
2124,
12,
22704,
287,
31491,
1502,
13,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
... |
How many players played for adams state school? | SELECT COUNT("Player") FROM table_16402 WHERE "College" = 'Adams State' | [
2437,
867,
1938,
2826,
329,
512,
4105,
1181,
1524,
30,
46506,
327,
28270,
7203,
14140,
4943,
16034,
3084,
62,
1433,
32531,
33411,
366,
38951,
1,
796,
705,
47462,
1812,
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
] | [
2437,
867,
1938,
2826,
329,
512,
4105,
1181,
1524,
30,
46506,
327,
28270,
7203,
14140,
4943,
16034,
3084,
62,
1433,
32531,
33411,
366,
38951,
1,
796,
705,
47462,
1812,
6
] |
when did patient 59941 come to the hospital for the last time until 2104 via an phys referral/normal deli? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 59941 AND admissions.admission_location = 'phys referral/normal deli' AND STRFTIME('%y', admissions.admittime) <= '2104' ORDER BY admissions.admittime DESC LIMIT 1 | [
12518,
750,
5827,
642,
2079,
3901,
1282,
284,
262,
4436,
329,
262,
938,
640,
1566,
362,
13464,
2884,
281,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
642,
2079,
3901,
1282,
284,
262,
4436,
329,
262,
938,
640,
1566,
362,
13464,
2884,
281,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
64... |
how many days has it passed since last time in the current hospital encounter patient 027-151154 had a procedure? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-151154... | [
4919,
867,
1528,
468,
340,
3804,
1201,
938,
640,
287,
262,
1459,
4436,
8791,
5827,
657,
1983,
12,
1314,
1157,
4051,
550,
257,
8771,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
468,
340,
3804,
1201,
938,
640,
287,
262,
1459,
4436,
8791,
5827,
657,
1983,
12,
1314,
1157,
4051,
550,
257,
8771,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... |
What is the average First year that has a Notes of replaced by us 12 when i-94 replaced us 12, and a Final year larger than 1961? | SELECT AVG(first_year) FROM table_name_31 WHERE notes = "replaced by us 12 when i-94 replaced us 12" AND final_year > 1961 | [
2061,
318,
262,
2811,
3274,
614,
326,
468,
257,
11822,
286,
6928,
416,
514,
1105,
618,
1312,
12,
5824,
6928,
514,
1105,
11,
290,
257,
8125,
614,
4025,
621,
20510,
30,
46506,
35224,
7,
11085,
62,
1941,
8,
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,
1... | [
2061,
318,
262,
2811,
3274,
614,
326,
468,
257,
11822,
286,
6928,
416,
514,
1105,
618,
1312,
12,
5824,
6928,
514,
1105,
11,
290,
257,
8125,
614,
4025,
621,
20510,
30,
46506,
35224,
7,
11085,
62,
1941,
8,
16034,
3084,
62,
3672,
62,
... |
What Player's had a To par of +1 and a Score of 73-71-73=217? | SELECT "Player" FROM table_59031 WHERE "To par" = '+1' AND "Score" = '73-71-73=217' | [
2061,
7853,
338,
550,
257,
1675,
1582,
286,
1343,
16,
290,
257,
15178,
286,
8854,
12,
4869,
12,
4790,
28,
24591,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3270,
43637,
33411,
366,
2514,
1582,
1,
796,
705,
10,
16,
6,
5357,
366,
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
] | [
2061,
7853,
338,
550,
257,
1675,
1582,
286,
1343,
16,
290,
257,
15178,
286,
8854,
12,
4869,
12,
4790,
28,
24591,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3270,
43637,
33411,
366,
2514,
1582,
1,
796,
705,
10,
16,
6,
5357,
366,
26... |
what is the series when wins is less than 3, points is 9 and podiums is 1? | SELECT series FROM table_name_7 WHERE wins < 3 AND points = "9" AND podiums = 1 | [
10919,
318,
262,
2168,
618,
7864,
318,
1342,
621,
513,
11,
2173,
318,
860,
290,
27941,
82,
318,
352,
30,
46506,
2168,
16034,
3084,
62,
3672,
62,
22,
33411,
7864,
1279,
513,
5357,
2173,
796,
366,
24,
1,
5357,
27941,
82,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2168,
618,
7864,
318,
1342,
621,
513,
11,
2173,
318,
860,
290,
27941,
82,
318,
352,
30,
46506,
2168,
16034,
3084,
62,
3672,
62,
22,
33411,
7864,
1279,
513,
5357,
2173,
796,
366,
24,
1,
5357,
27941,
82,
796,
352
] |
What is the country of player dale douglass, who has a t8 place? | SELECT country FROM table_name_75 WHERE place = "t8" AND player = "dale douglass" | [
2061,
318,
262,
1499,
286,
2137,
288,
1000,
2255,
20721,
11,
508,
468,
257,
256,
23,
1295,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2425,
33411,
1295,
796,
366,
83,
23,
1,
5357,
2137,
796,
366,
14597,
2255,
20721,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
286,
2137,
288,
1000,
2255,
20721,
11,
508,
468,
257,
256,
23,
1295,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2425,
33411,
1295,
796,
366,
83,
23,
1,
5357,
2137,
796,
366,
14597,
2255,
20721,
1
] |
get the number of patients on im route of drug administration who have been diagnosed with subarachnoid hemorrhage. | 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 = "Subarachnoid hemorrhage" AND prescriptions.route = "IM" | [
1136,
262,
1271,
286,
3871,
319,
545,
6339,
286,
2563,
3662,
508,
423,
587,
14641,
351,
850,
283,
620,
77,
1868,
42203,
496,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
262,
1271,
286,
3871,
319,
545,
6339,
286,
2563,
3662,
508,
423,
587,
14641,
351,
850,
283,
620,
77,
1868,
42203,
496,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... |
what's the average total cost of the hospital that involves a drug called epinephrine hcl this year? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'epinephrine hcl') AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY cost.hadm_id) AS t1 | [
10919,
338,
262,
2811,
2472,
1575,
286,
262,
4436,
326,
9018,
257,
2563,
1444,
2462,
500,
47723,
289,
565,
428,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
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... | [
10919,
338,
262,
2811,
2472,
1575,
286,
262,
4436,
326,
9018,
257,
2563,
1444,
2462,
500,
47723,
289,
565,
428,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
1603... |
What is the production code for episode 15 in season 3? | SELECT "Production code" FROM table_20911 WHERE "No. in season" = '15' | [
2061,
318,
262,
3227,
2438,
329,
4471,
1315,
287,
1622,
513,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
22567,
1157,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
1314,
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,
3227,
2438,
329,
4471,
1315,
287,
1622,
513,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
22567,
1157,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
1314,
6
] |
who is the player when the place is t10 and the score is 67-72-72=211? | SELECT "Player" FROM table_65185 WHERE "Place" = 't10' AND "Score" = '67-72-72=211' | [
8727,
318,
262,
2137,
618,
262,
1295,
318,
256,
940,
290,
262,
4776,
318,
8275,
12,
4761,
12,
4761,
28,
21895,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2996,
21652,
33411,
366,
27271,
1,
796,
705,
83,
940,
6,
5357,
366,
26595,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
2137,
618,
262,
1295,
318,
256,
940,
290,
262,
4776,
318,
8275,
12,
4761,
12,
4761,
28,
21895,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2996,
21652,
33411,
366,
27271,
1,
796,
705,
83,
940,
6,
5357,
366,
26595,
1... |
Brett kimmorley, who was chosen for the clive churchill medal belonged to what team? | SELECT winningteam FROM table_11236195_5 WHERE clive_churchill_medal = "Brett Kimmorley" | [
33,
11489,
479,
320,
4491,
1636,
11,
508,
373,
7147,
329,
262,
537,
425,
4928,
359,
18279,
19611,
284,
644,
1074,
30,
46506,
5442,
15097,
16034,
3084,
62,
14686,
2623,
22186,
62,
20,
33411,
537,
425,
62,
36964,
359,
62,
1150,
282,
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
] | [
33,
11489,
479,
320,
4491,
1636,
11,
508,
373,
7147,
329,
262,
537,
425,
4928,
359,
18279,
19611,
284,
644,
1074,
30,
46506,
5442,
15097,
16034,
3084,
62,
14686,
2623,
22186,
62,
20,
33411,
537,
425,
62,
36964,
359,
62,
1150,
282,
7... |
what is the score when the championship is rome and the opponent is richard krajicek? | SELECT "Score" FROM table_77182 WHERE "Championship" = 'rome' AND "Opponent" = 'richard krajicek' | [
10919,
318,
262,
4776,
618,
262,
12184,
318,
374,
462,
290,
262,
6125,
318,
5527,
446,
479,
430,
73,
501,
74,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3324,
24294,
33411,
366,
1925,
4350,
1056,
1,
796,
705,
5998,
6,
5357,
366,
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
] | [
10919,
318,
262,
4776,
618,
262,
12184,
318,
374,
462,
290,
262,
6125,
318,
5527,
446,
479,
430,
73,
501,
74,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3324,
24294,
33411,
366,
1925,
4350,
1056,
1,
796,
705,
5998,
6,
5357,
366,
2... |
Visualize a bar chart for what is the name of each aircraft and how many flights does each one complete? | SELECT name, COUNT(*) FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid | [
36259,
1096,
257,
2318,
8262,
329,
644,
318,
262,
1438,
286,
1123,
6215,
290,
703,
867,
13956,
857,
1123,
530,
1844,
30,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
5474,
7054,
309,
16,
32357,
1268,
6215,
7054,
309,
17,
6177,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
329,
644,
318,
262,
1438,
286,
1123,
6215,
290,
703,
867,
13956,
857,
1123,
530,
1844,
30,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
5474,
7054,
309,
16,
32357,
1268,
6215,
7054,
309,
17,
6177,
309,
... |
Count those days and in which zip code was the min dew point lower than any day in zip code 94107 using a bar graph, and I want to list by the bars from low to high. | SELECT date, COUNT(date) FROM weather WHERE min_dew_point_f < (SELECT MIN(min_dew_point_f) FROM weather WHERE zip_code = 94107) GROUP BY date ORDER BY date | [
12332,
883,
1528,
290,
287,
543,
19974,
2438,
373,
262,
949,
390,
86,
966,
2793,
621,
597,
1110,
287,
19974,
2438,
10048,
15982,
1262,
257,
2318,
4823,
11,
290,
314,
765,
284,
1351,
416,
262,
9210,
422,
1877,
284,
1029,
13,
46506,
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... | [
12332,
883,
1528,
290,
287,
543,
19974,
2438,
373,
262,
949,
390,
86,
966,
2793,
621,
597,
1110,
287,
19974,
2438,
10048,
15982,
1262,
257,
2318,
4823,
11,
290,
314,
765,
284,
1351,
416,
262,
9210,
422,
1877,
284,
1029,
13,
46506,
3... |
what is the actual number of patients discharged from a hospital since 1 year ago? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL AND DATETIME(admissions.dischtime) >= DATETIME(CURRENT_TIME(), '-1 year') | [
10919,
318,
262,
4036,
1271,
286,
3871,
26476,
422,
257,
4436,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
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... | [
10919,
318,
262,
4036,
1271,
286,
3871,
26476,
422,
257,
4436,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
535... |
What are all the production codes of episodes written by Michael G. Moye? | SELECT "Production code" FROM table_24879 WHERE "Written by" = 'Michael G. Moye' | [
2061,
389,
477,
262,
3227,
12416,
286,
8640,
3194,
416,
3899,
402,
13,
28523,
68,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
23045,
3720,
33411,
366,
25354,
416,
1,
796,
705,
13256,
402,
13,
28523,
68,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
477,
262,
3227,
12416,
286,
8640,
3194,
416,
3899,
402,
13,
28523,
68,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
23045,
3720,
33411,
366,
25354,
416,
1,
796,
705,
13256,
402,
13,
28523,
68,
6
] |
When rank is more than 10, what is the total rate? | SELECT SUM(rate) FROM table_name_43 WHERE rank > 10 | [
2215,
4279,
318,
517,
621,
838,
11,
644,
318,
262,
2472,
2494,
30,
46506,
35683,
7,
4873,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
4279,
1875,
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
] | [
2215,
4279,
318,
517,
621,
838,
11,
644,
318,
262,
2472,
2494,
30,
46506,
35683,
7,
4873,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
4279,
1875,
838
] |
what is since 12/2105 maximum tacrolimus-fk506 value of patient 008-40862? | SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '008-40862')) AND lab.labname = 'tacrolimus-fk506' AND STRFTIME('%y-%m', lab.labres... | [
10919,
318,
1201,
1105,
14,
17,
13348,
5415,
26142,
305,
2475,
385,
12,
69,
74,
35638,
1988,
286,
5827,
3571,
23,
12,
1821,
4521,
17,
30,
46506,
25882,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
1105,
14,
17,
13348,
5415,
26142,
305,
2475,
385,
12,
69,
74,
35638,
1988,
286,
5827,
3571,
23,
12,
1821,
4521,
17,
30,
46506,
25882,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
... |
What's the wheelbase (in mm/inch) of the model with model designation 97G00? | SELECT "Wheelbase (mm/inch)" FROM table_23976 WHERE "Model Designation" = '97G00' | [
2061,
338,
262,
7825,
8692,
357,
259,
8085,
14,
8589,
8,
286,
262,
2746,
351,
2746,
22566,
10111,
38,
405,
30,
46506,
366,
45307,
8692,
357,
3020,
14,
8589,
16725,
16034,
3084,
62,
23516,
4304,
33411,
366,
17633,
8495,
341,
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
] | [
2061,
338,
262,
7825,
8692,
357,
259,
8085,
14,
8589,
8,
286,
262,
2746,
351,
2746,
22566,
10111,
38,
405,
30,
46506,
366,
45307,
8692,
357,
3020,
14,
8589,
16725,
16034,
3084,
62,
23516,
4304,
33411,
366,
17633,
8495,
341,
1,
796,
... |
Visualize a bar chart for what are the ids and locations of all circuits in France or Belgium?, and show X from high to low order please. | SELECT location, circuitId FROM circuits WHERE country = "France" OR country = "Belgium" ORDER BY location DESC | [
36259,
1096,
257,
2318,
8262,
329,
644,
389,
262,
220,
2340,
290,
7064,
286,
477,
24907,
287,
4881,
393,
15664,
21747,
290,
905,
1395,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
4067,
11,
10349,
7390,
16034,
24907,
33411,
1499,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
329,
644,
389,
262,
220,
2340,
290,
7064,
286,
477,
24907,
287,
4881,
393,
15664,
21747,
290,
905,
1395,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
4067,
11,
10349,
7390,
16034,
24907,
33411,
1499,
796,
... |
Give me the comparison about ID over the meter_500 , and list by the meter_500 in descending. | SELECT meter_500, ID FROM swimmer ORDER BY meter_500 DESC | [
23318,
502,
262,
7208,
546,
4522,
625,
262,
16430,
62,
4059,
837,
290,
1351,
416,
262,
16430,
62,
4059,
287,
31491,
13,
46506,
16430,
62,
4059,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
4059,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
7208,
546,
4522,
625,
262,
16430,
62,
4059,
837,
290,
1351,
416,
262,
16430,
62,
4059,
287,
31491,
13,
46506,
16430,
62,
4059,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
4059,
22196,
34
] |
For those products with a price between 60 and 120, return a scatter chart about the correlation between code and price , and group by attribute name. | SELECT Code, Price FROM Products WHERE Price BETWEEN 60 AND 120 GROUP BY Name | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
2756,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
6127,
11,
7886,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
3126,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
2756,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
6127,
11,
7886,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
3126,... |
What Surface had a Rally HQ of salou? | SELECT "Surface" FROM table_64381 WHERE "Rally HQ" = 'salou' | [
2061,
20321,
550,
257,
27752,
25112,
286,
3664,
280,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
2414,
36626,
33411,
366,
49,
453,
25112,
1,
796,
705,
21680,
280,
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,
20321,
550,
257,
27752,
25112,
286,
3664,
280,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
2414,
36626,
33411,
366,
49,
453,
25112,
1,
796,
705,
21680,
280,
6
] |
How many titles does Episode 2 have | SELECT COUNT("Title") FROM table_1482 WHERE "Episode #" = '2' | [
2437,
867,
8714,
857,
7922,
362,
423,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
1415,
6469,
33411,
366,
23758,
1303,
1,
796,
705,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8714,
857,
7922,
362,
423,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
1415,
6469,
33411,
366,
23758,
1303,
1,
796,
705,
17,
6
] |
what's the date of birth for patient 96833? | SELECT patients.dob FROM patients WHERE patients.subject_id = 96833 | [
10919,
338,
262,
3128,
286,
4082,
329,
5827,
860,
3104,
2091,
30,
46506,
3871,
13,
67,
672,
16034,
3871,
33411,
3871,
13,
32796,
62,
312,
796,
860,
3104,
2091
] | [
1,
1,
1,
1,
1,
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,
3128,
286,
4082,
329,
5827,
860,
3104,
2091,
30,
46506,
3871,
13,
67,
672,
16034,
3871,
33411,
3871,
13,
32796,
62,
312,
796,
860,
3104,
2091
] |
What country has todd hamilton as the player? | SELECT "Country" FROM table_13330 WHERE "Player" = 'todd hamilton' | [
2061,
1499,
468,
23646,
8891,
9044,
355,
262,
2137,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
16945,
1270,
33411,
366,
14140,
1,
796,
705,
83,
5088,
8891,
9044,
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,
1499,
468,
23646,
8891,
9044,
355,
262,
2137,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
16945,
1270,
33411,
366,
14140,
1,
796,
705,
83,
5088,
8891,
9044,
6
] |
Show the number of assets and group by asset make in a bar chart, and display in desc by the asset_make. | SELECT asset_make, COUNT(asset_make) FROM Assets GROUP BY asset_make ORDER BY asset_make DESC | [
15307,
262,
1271,
286,
6798,
290,
1448,
416,
11171,
787,
287,
257,
2318,
8262,
11,
290,
3359,
287,
1715,
416,
262,
11171,
62,
15883,
13,
46506,
11171,
62,
15883,
11,
327,
28270,
7,
562,
316,
62,
15883,
8,
16034,
41059,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
6798,
290,
1448,
416,
11171,
787,
287,
257,
2318,
8262,
11,
290,
3359,
287,
1715,
416,
262,
11171,
62,
15883,
13,
46506,
11171,
62,
15883,
11,
327,
28270,
7,
562,
316,
62,
15883,
8,
16034,
41059,
44441,
11050,
... |
What are the allergy types and how many allergies correspond to each one, and could you sort in desc by the Y? | SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType ORDER BY COUNT(*) DESC | [
2061,
389,
262,
36197,
3858,
290,
703,
867,
36665,
6053,
284,
1123,
530,
11,
290,
714,
345,
3297,
287,
1715,
416,
262,
575,
30,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,
2607... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36197,
3858,
290,
703,
867,
36665,
6053,
284,
1123,
530,
11,
290,
714,
345,
3297,
287,
1715,
416,
262,
575,
30,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,
2607... |
provide the number of patients whose admission year is less than 2168 and diagnoses long title is cerebral aneurysm, nonruptured? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2168" AND diagnoses.long_title = "Cerebral aneurysm, nonruptured" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
14656,
290,
40567,
890,
3670,
318,
31169,
281,
23365,
893,
76,
11,
1729,
3622,
1522,
30,
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,
1,
1,
1,
1,
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,
13938,
614,
318,
1342,
621,
362,
14656,
290,
40567,
890,
3670,
318,
31169,
281,
23365,
893,
76,
11,
1729,
3622,
1522,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... |
Number of LaTeX-only questions over time. | SELECT STR_TO_TIME(latex.month + '-01 13:37:00', '%Y-%m-%d %H:%M:%S') AS "month", latex.count AS "latexonly" FROM (SELECT CAST(TIME_TO_STR(CreationDate, '%Y-%m-%d %H:%M:%S') AS TEXT(7)) AS "month", COUNT(*) AS "count" FROM "stackoverflow".dbo.Posts AS p WHERE p.PostTypeId = 1 AND p.Tags LIKE '<latex>' GROUP BY CAST(TIM... | [
15057,
286,
4689,
49568,
12,
8807,
2683,
625,
640,
13,
46506,
19269,
62,
10468,
62,
34694,
7,
17660,
87,
13,
8424,
1343,
705,
12,
486,
1511,
25,
2718,
25,
405,
3256,
705,
4,
56,
12,
4,
76,
12,
4,
67,
4064,
39,
25,
4,
44,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15057,
286,
4689,
49568,
12,
8807,
2683,
625,
640,
13,
46506,
19269,
62,
10468,
62,
34694,
7,
17660,
87,
13,
8424,
1343,
705,
12,
486,
1511,
25,
2718,
25,
405,
3256,
705,
4,
56,
12,
4,
76,
12,
4,
67,
4064,
39,
25,
4,
44,
25,
... |
WHAT IS THE 1ST LEG WITH TEAM 2 AS ATHLETIC? | SELECT "1st leg" FROM table_50663 WHERE "Team 2" = 'athletic' | [
32971,
3180,
3336,
352,
2257,
20978,
13315,
33536,
362,
7054,
317,
4221,
28882,
2149,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
1120,
45791,
33411,
366,
15592,
362,
1,
796,
705,
776,
1616,
291,
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
] | [
32971,
3180,
3336,
352,
2257,
20978,
13315,
33536,
362,
7054,
317,
4221,
28882,
2149,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
1120,
45791,
33411,
366,
15592,
362,
1,
796,
705,
776,
1616,
291,
6
] |
Which venue had an extra of Junior Race? | SELECT venue FROM table_name_68 WHERE extra = "junior race" | [
13828,
14359,
550,
281,
3131,
286,
20000,
12588,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
3104,
33411,
3131,
796,
366,
29741,
1504,
3234,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
14359,
550,
281,
3131,
286,
20000,
12588,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
3104,
33411,
3131,
796,
366,
29741,
1504,
3234,
1
] |
Which Surface has a Round of 4th round, and a Player of maria sharapova? | SELECT "Surface" FROM table_33876 WHERE "Round" = '4th round' AND "Player" = 'maria sharapova' | [
13828,
20321,
468,
257,
10485,
286,
604,
400,
2835,
11,
290,
257,
7853,
286,
1667,
544,
13986,
499,
10071,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
28460,
4304,
33411,
366,
22685,
1,
796,
705,
19,
400,
2835,
6,
5357,
366,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
20321,
468,
257,
10485,
286,
604,
400,
2835,
11,
290,
257,
7853,
286,
1667,
544,
13986,
499,
10071,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
28460,
4304,
33411,
366,
22685,
1,
796,
705,
19,
400,
2835,
6,
5357,
366,
14... |
Who is the losing pitcher when the winning pitcher is roy oswalt? | SELECT "Losing Pitcher" FROM table_17442 WHERE "Winning Pitcher" = 'Roy Oswalt' | [
8241,
318,
262,
6078,
18086,
618,
262,
5442,
18086,
318,
10611,
267,
2032,
2501,
30,
46506,
366,
43,
2752,
16889,
2044,
1,
16034,
3084,
62,
1558,
39506,
33411,
366,
16643,
768,
16889,
2044,
1,
796,
705,
32027,
30317,
2501,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
6078,
18086,
618,
262,
5442,
18086,
318,
10611,
267,
2032,
2501,
30,
46506,
366,
43,
2752,
16889,
2044,
1,
16034,
3084,
62,
1558,
39506,
33411,
366,
16643,
768,
16889,
2044,
1,
796,
705,
32027,
30317,
2501,
6
] |
Can you tell me the highest Cargo traffic that has the Airport of barcelona airport, and the Aircraft movements smaller than 290,004? | SELECT MAX(cargo_traffic) FROM table_name_82 WHERE airport = "barcelona airport" AND aircraft_movements < 290 OFFSET 004 | [
6090,
345,
1560,
502,
262,
4511,
41061,
4979,
326,
468,
262,
12690,
286,
2318,
14308,
9003,
11,
290,
262,
30767,
8650,
4833,
621,
26481,
11,
22914,
30,
46506,
25882,
7,
66,
9448,
62,
9535,
2108,
8,
16034,
3084,
62,
3672,
62,
6469,
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
] | [
6090,
345,
1560,
502,
262,
4511,
41061,
4979,
326,
468,
262,
12690,
286,
2318,
14308,
9003,
11,
290,
262,
30767,
8650,
4833,
621,
26481,
11,
22914,
30,
46506,
25882,
7,
66,
9448,
62,
9535,
2108,
8,
16034,
3084,
62,
3672,
62,
6469,
3... |
What is the score [A] of the match at Vanuatu (n) on 5 September 1998? | SELECT "Score [A ]" FROM table_70286 WHERE "Venue" = 'vanuatu (n)' AND "Date" = '5 september 1998' | [
2061,
318,
262,
4776,
685,
32,
60,
286,
262,
2872,
379,
6656,
84,
33419,
357,
77,
8,
319,
642,
2693,
7795,
30,
46506,
366,
26595,
685,
32,
2361,
1,
16034,
3084,
62,
2154,
27033,
33411,
366,
37522,
518,
1,
796,
705,
10438,
84,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
685,
32,
60,
286,
262,
2872,
379,
6656,
84,
33419,
357,
77,
8,
319,
642,
2693,
7795,
30,
46506,
366,
26595,
685,
32,
2361,
1,
16034,
3084,
62,
2154,
27033,
33411,
366,
37522,
518,
1,
796,
705,
10438,
84,
3341... |
What is the number of the series written by Teresa Lin? | SELECT COUNT("No. in series") FROM table_29032 WHERE "Written by" = 'Teresa Lin' | [
2061,
318,
262,
1271,
286,
262,
2168,
3194,
416,
34405,
5164,
30,
46506,
327,
28270,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
24369,
2624,
33411,
366,
25354,
416,
1,
796,
705,
6767,
14625,
5164,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
262,
2168,
3194,
416,
34405,
5164,
30,
46506,
327,
28270,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
24369,
2624,
33411,
366,
25354,
416,
1,
796,
705,
6767,
14625,
5164,
6
] |
When was the average year that the number of floors was greater than 75? | SELECT AVG(year) FROM table_name_78 WHERE floors > 75 | [
2215,
373,
262,
2811,
614,
326,
262,
1271,
286,
18570,
373,
3744,
621,
5441,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
18570,
1875,
5441
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
2811,
614,
326,
262,
1271,
286,
18570,
373,
3744,
621,
5441,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
18570,
1875,
5441
] |
what film did r. padmanaban have as their release ? | SELECT "title" FROM table_204_961 WHERE "director" = 'r. padmanaban' | [
10919,
2646,
750,
374,
13,
14841,
805,
45094,
423,
355,
511,
2650,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
4846,
16,
33411,
366,
35248,
1,
796,
705,
81,
13,
14841,
805,
45094,
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
] | [
10919,
2646,
750,
374,
13,
14841,
805,
45094,
423,
355,
511,
2650,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
4846,
16,
33411,
366,
35248,
1,
796,
705,
81,
13,
14841,
805,
45094,
6
] |
find f# with two other tags. | SELECT DISTINCT p.Id AS "post_link", p.CreationDate AS "date" FROM Posts AS p INNER JOIN Posts AS q ON q.Id = COALESCE(p.ParentId, p.Id) INNER JOIN PostTypes AS pt ON pt.Id = p.PostTypeId INNER JOIN PostTags AS pta ON pta.PostId = q.Id INNER JOIN Tags AS ta ON ta.Id = pta.TagId INNER JOIN PostTags AS pto ON pto.PostId ... | [
19796,
277,
2,
351,
734,
584,
15940,
13,
46506,
360,
8808,
1268,
4177,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
12443,
341,
10430,
7054,
366,
4475,
1,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
12043,
7054,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
277,
2,
351,
734,
584,
15940,
13,
46506,
360,
8808,
1268,
4177,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
12443,
341,
10430,
7054,
366,
4475,
1,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
12043,
7054,
106... |
Which clubs have one or more members from the city with code 'BAL'? Give me the names of the clubs. | SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = "BAL" | [
13828,
9784,
423,
530,
393,
517,
1866,
422,
262,
1748,
351,
2438,
705,
33,
1847,
30960,
13786,
502,
262,
3891,
286,
262,
9784,
13,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
18664,
3672,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9784,
423,
530,
393,
517,
1866,
422,
262,
1748,
351,
2438,
705,
33,
1847,
30960,
13786,
502,
262,
3891,
286,
262,
9784,
13,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
18664,
3672,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
... |
What is the high lap total for mika salo with a grid greater than 17? | SELECT MAX("Laps") FROM table_55741 WHERE "Driver" = 'mika salo' AND "Grid" > '17' | [
2061,
318,
262,
1029,
14779,
2472,
329,
285,
9232,
3664,
78,
351,
257,
10706,
3744,
621,
1596,
30,
46506,
25882,
7203,
43,
1686,
4943,
16034,
3084,
62,
41948,
3901,
33411,
366,
32103,
1,
796,
705,
76,
9232,
3664,
78,
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
] | [
2061,
318,
262,
1029,
14779,
2472,
329,
285,
9232,
3664,
78,
351,
257,
10706,
3744,
621,
1596,
30,
46506,
25882,
7203,
43,
1686,
4943,
16034,
3084,
62,
41948,
3901,
33411,
366,
32103,
1,
796,
705,
76,
9232,
3664,
78,
6,
5357,
366,
4... |
What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*? | SELECT "Population under 1 year-old Censo 2007(hab)" FROM table_49344 WHERE "Population censo 2007(hab)" = '112.054*' | [
2061,
318,
262,
739,
352,
614,
12,
727,
327,
268,
568,
4343,
7,
5976,
8,
3265,
351,
257,
3265,
269,
268,
568,
4343,
7,
5976,
8,
286,
13539,
13,
2713,
19,
9,
30,
46506,
366,
45251,
739,
352,
614,
12,
727,
327,
268,
568,
4343,
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,
318,
262,
739,
352,
614,
12,
727,
327,
268,
568,
4343,
7,
5976,
8,
3265,
351,
257,
3265,
269,
268,
568,
4343,
7,
5976,
8,
286,
13539,
13,
2713,
19,
9,
30,
46506,
366,
45251,
739,
352,
614,
12,
727,
327,
268,
568,
4343,
7... |
Show the number of cards in different card type code in a bar chart, show by the names in desc please. | SELECT card_type_code, COUNT(card_type_code) FROM Customers_Cards GROUP BY card_type_code ORDER BY card_type_code DESC | [
15307,
262,
1271,
286,
4116,
287,
1180,
2657,
2099,
2438,
287,
257,
2318,
8262,
11,
905,
416,
262,
3891,
287,
1715,
3387,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
9517,
62,
4906,
62,
8189,
8,
16034,
36707,
62,
34,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
11,
905,
416,
262,
3891,
287,
1715,
3387,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
9517,
62,
4906,
62,
8189,
8,
16034,
36707,
62,
34,
1... |
What was the location and how many attended when Golden State played? | SELECT "Location Attendance" FROM table_25500 WHERE "Team" = 'Golden State' | [
2061,
373,
262,
4067,
290,
703,
867,
9141,
618,
8407,
1812,
2826,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
1495,
4059,
33411,
366,
15592,
1,
796,
705,
32378,
1812,
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,
373,
262,
4067,
290,
703,
867,
9141,
618,
8407,
1812,
2826,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
1495,
4059,
33411,
366,
15592,
1,
796,
705,
32378,
1812,
6
] |
Game 2 has how much attendance? | SELECT "Attendance" FROM table_14721 WHERE "Game" = '2' | [
8777,
362,
468,
703,
881,
14858,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
20198,
2481,
33411,
366,
8777,
1,
796,
705,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8777,
362,
468,
703,
881,
14858,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
20198,
2481,
33411,
366,
8777,
1,
796,
705,
17,
6
] |
what is maximum age of patients whose gender is m and admission type is emergency? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.admission_type = "EMERGENCY" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
5279,
318,
285,
290,
13938,
2099,
318,
6334,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
324,
3411,
62,
4906,
796,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
5415,
2479,
286,
3871,
3025,
5279,
318,
285,
290,
13938,
2099,
318,
6334,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
324,
3411,
62,
4906,
796,
366... |
what were the four most frequent drugs that were prescribed in the same month to the female patients with age 20s after they were diagnosed with urin tract infection nos, until 2104? | SELECT t3.drug FROM (SELECT t2.drug, 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.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
547,
262,
1440,
749,
10792,
5010,
326,
547,
14798,
287,
262,
976,
1227,
284,
262,
4048,
3871,
351,
2479,
1160,
82,
706,
484,
547,
14641,
351,
2956,
259,
14998,
10280,
43630,
11,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
749,
10792,
5010,
326,
547,
14798,
287,
262,
976,
1227,
284,
262,
4048,
3871,
351,
2479,
1160,
82,
706,
484,
547,
14641,
351,
2956,
259,
14998,
10280,
43630,
11,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
... |
what is the name of the treatment that patient 033-2671 had been given two times since 06/2102? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, COUNT(treatment.treatmenttime) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ... | [
10919,
318,
262,
1438,
286,
262,
3513,
326,
5827,
657,
2091,
12,
2075,
4869,
550,
587,
1813,
734,
1661,
1201,
9130,
14,
17,
15377,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28270,
7,
424... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
3513,
326,
5827,
657,
2091,
12,
2075,
4869,
550,
587,
1813,
734,
1661,
1201,
9130,
14,
17,
15377,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28270,
7,
424... |
Who are all the womens doubles for the year 2008/2009? | SELECT womens_doubles FROM table_14903841_1 WHERE year = "2008/2009" | [
8241,
389,
477,
262,
1116,
641,
21938,
329,
262,
614,
3648,
14,
10531,
30,
46506,
1116,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1415,
3829,
2548,
3901,
62,
16,
33411,
614,
796,
366,
11528,
14,
10531,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
389,
477,
262,
1116,
641,
21938,
329,
262,
614,
3648,
14,
10531,
30,
46506,
1116,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1415,
3829,
2548,
3901,
62,
16,
33411,
614,
796,
366,
11528,
14,
10531,
1
] |
Which Score has a Date of 26 september 2004? | SELECT "Score" FROM table_36035 WHERE "Date" = '26 september 2004' | [
13828,
15178,
468,
257,
7536,
286,
2608,
384,
457,
1491,
5472,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
15277,
2327,
33411,
366,
10430,
1,
796,
705,
2075,
384,
457,
1491,
5472,
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
] | [
13828,
15178,
468,
257,
7536,
286,
2608,
384,
457,
1491,
5472,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
15277,
2327,
33411,
366,
10430,
1,
796,
705,
2075,
384,
457,
1491,
5472,
6
] |
For those employees who did not have any job in the past, give me the comparison about the sum of employee_id over the hire_date bin hire_date by weekday by a bar chart, rank y-axis in asc order. | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(EMPLOYEE_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
6538,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
416,
257,
2318,
8262,
11,
4279,
331,
12,
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,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
6538,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
416,
257,
2318,
8262,
11,
4279,
331,
12,
2... |
Show the proportion of the districts of markets they are on, a pie chart. | SELECT District, COUNT(District) FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID GROUP BY District | [
15307,
262,
9823,
286,
262,
12815,
286,
5939,
484,
389,
319,
11,
257,
2508,
8262,
13,
46506,
5665,
11,
327,
28270,
7,
44857,
8,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
1910,
7054,
309,
17,
6177,
309,
16,
13,
27470,
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... | [
15307,
262,
9823,
286,
262,
12815,
286,
5939,
484,
389,
319,
11,
257,
2508,
8262,
13,
46506,
5665,
11,
327,
28270,
7,
44857,
8,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
1910,
7054,
309,
17,
6177,
309,
16,
13,
27470,
62,
... |
Who is listed under womens singles when year location is 1998 doha? | SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha" | [
8241,
318,
5610,
739,
1116,
641,
25287,
618,
614,
4067,
318,
7795,
466,
3099,
30,
46506,
1116,
641,
62,
12215,
829,
16034,
3084,
62,
2078,
1485,
1795,
2327,
62,
1983,
33411,
614,
62,
24886,
796,
366,
21113,
360,
28083,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
5610,
739,
1116,
641,
25287,
618,
614,
4067,
318,
7795,
466,
3099,
30,
46506,
1116,
641,
62,
12215,
829,
16034,
3084,
62,
2078,
1485,
1795,
2327,
62,
1983,
33411,
614,
62,
24886,
796,
366,
21113,
360,
28083,
1
] |
During which years was the model with the Engine code of m54b25 manufactured? | SELECT years FROM table_name_11 WHERE engine_code = "m54b25" | [
7191,
543,
812,
373,
262,
2746,
351,
262,
7117,
2438,
286,
285,
4051,
65,
1495,
15943,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
1157,
33411,
3113,
62,
8189,
796,
366,
76,
4051,
65,
1495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
2746,
351,
262,
7117,
2438,
286,
285,
4051,
65,
1495,
15943,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
1157,
33411,
3113,
62,
8189,
796,
366,
76,
4051,
65,
1495,
1
] |
What is the 2008 for 2009 heartland high tech? | SELECT "2008" FROM table_76401 WHERE "2009" = 'heartland high tech' | [
2061,
318,
262,
3648,
329,
3717,
2612,
1044,
1029,
7261,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
22,
2414,
486,
33411,
366,
10531,
1,
796,
705,
11499,
1044,
1029,
7261,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3648,
329,
3717,
2612,
1044,
1029,
7261,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
22,
2414,
486,
33411,
366,
10531,
1,
796,
705,
11499,
1044,
1029,
7261,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.