instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the number of the rank for the name of Chen Yan in a lane less than 2? | SELECT COUNT("Rank") FROM table_67601 WHERE "Name" = 'chen yan' AND "Lane" < '2' | [
2061,
318,
262,
1271,
286,
262,
4279,
329,
262,
1438,
286,
12555,
10642,
287,
257,
11193,
1342,
621,
362,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
3134,
41706,
33411,
366,
5376,
1,
796,
705,
6607,
331,
272,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
262,
4279,
329,
262,
1438,
286,
12555,
10642,
287,
257,
11193,
1342,
621,
362,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
3134,
41706,
33411,
366,
5376,
1,
796,
705,
6607,
331,
272,
6,
5357,
... |
Who has a total of the Bronze less than 4, gold more than 0, and no silver? | SELECT SUM("Bronze") FROM table_38992 WHERE "Total" < '4' AND "Gold" > '0' AND "Silver" = '0' | [
8241,
468,
257,
2472,
286,
262,
19461,
1342,
621,
604,
11,
3869,
517,
621,
657,
11,
290,
645,
8465,
30,
46506,
35683,
7203,
18760,
2736,
4943,
16034,
3084,
62,
2548,
41561,
33411,
366,
14957,
1,
1279,
705,
19,
6,
5357,
366,
13306,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
468,
257,
2472,
286,
262,
19461,
1342,
621,
604,
11,
3869,
517,
621,
657,
11,
290,
645,
8465,
30,
46506,
35683,
7203,
18760,
2736,
4943,
16034,
3084,
62,
2548,
41561,
33411,
366,
14957,
1,
1279,
705,
19,
6,
5357,
366,
13306,
1... |
Which visitor has a Los Angeles home? | SELECT "Visitor" FROM table_75430 WHERE "Home" = 'los angeles' | [
13828,
21493,
468,
257,
5401,
5652,
1363,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2425,
31794,
33411,
366,
16060,
1,
796,
705,
33280,
18304,
274,
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
] | [
13828,
21493,
468,
257,
5401,
5652,
1363,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2425,
31794,
33411,
366,
16060,
1,
796,
705,
33280,
18304,
274,
6
] |
What gender is allowed to attend the school that has a decile of 6 and a roll that is less than 179? | SELECT gender FROM table_name_69 WHERE decile = 6 AND roll < 179 | [
2061,
5279,
318,
3142,
284,
5262,
262,
1524,
326,
468,
257,
875,
576,
286,
718,
290,
257,
4836,
326,
318,
1342,
621,
27228,
30,
46506,
5279,
16034,
3084,
62,
3672,
62,
3388,
33411,
875,
576,
796,
718,
5357,
4836,
1279,
27228
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5279,
318,
3142,
284,
5262,
262,
1524,
326,
468,
257,
875,
576,
286,
718,
290,
257,
4836,
326,
318,
1342,
621,
27228,
30,
46506,
5279,
16034,
3084,
62,
3672,
62,
3388,
33411,
875,
576,
796,
718,
5357,
4836,
1279,
27228
] |
which two shows appeared on the zee network ? | SELECT "show" FROM table_203_543 WHERE "channel" = 'zee network' | [
4758,
734,
2523,
4120,
319,
262,
1976,
1453,
3127,
5633,
46506,
366,
12860,
1,
16034,
3084,
62,
22416,
62,
20,
3559,
33411,
366,
17620,
1,
796,
705,
42871,
3127,
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
] | [
4758,
734,
2523,
4120,
319,
262,
1976,
1453,
3127,
5633,
46506,
366,
12860,
1,
16034,
3084,
62,
22416,
62,
20,
3559,
33411,
366,
17620,
1,
796,
705,
42871,
3127,
6
] |
Top users from Hanover, Germany. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE (LOWER(Location) LIKE '%hanover%' OR UPPER(Location) LIKE '%HANOVER%' OR Location LIKE '%Hanover%' OR LOWER(Location) LIKE '%hannover%' OR UPPER(Location) LIKE '%HANNOVER%' OR Location LIKE '%Hannover%') AND Reput... | [
9126,
2985,
422,
9530,
2502,
11,
4486,
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,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2985,
422,
9530,
2502,
11,
4486,
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,
35... |
How many points did the opponent score on Sept. 14? | SELECT MAX("Opponents") FROM table_20948 WHERE "Date" = 'Sept. 14' | [
2437,
867,
2173,
750,
262,
6125,
4776,
319,
2362,
13,
1478,
30,
46506,
25882,
7203,
27524,
3906,
4943,
16034,
3084,
62,
22567,
2780,
33411,
366,
10430,
1,
796,
705,
14635,
13,
1478,
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,
2173,
750,
262,
6125,
4776,
319,
2362,
13,
1478,
30,
46506,
25882,
7203,
27524,
3906,
4943,
16034,
3084,
62,
22567,
2780,
33411,
366,
10430,
1,
796,
705,
14635,
13,
1478,
6
] |
Find the address of the location named 'UK Gallery'. | SELECT address FROM locations WHERE location_name = "UK Gallery" | [
16742,
262,
2209,
286,
262,
4067,
3706,
705,
15039,
12917,
4458,
46506,
2209,
16034,
7064,
33411,
4067,
62,
3672,
796,
366,
15039,
12917,
1
] | [
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,
2209,
286,
262,
4067,
3706,
705,
15039,
12917,
4458,
46506,
2209,
16034,
7064,
33411,
4067,
62,
3672,
796,
366,
15039,
12917,
1
] |
What is the easiest class I can do to meet the MDE requirement ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou... | [
2061,
318,
262,
16638,
1398,
314,
460,
466,
284,
1826,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
1731... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16638,
1398,
314,
460,
466,
284,
1826,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
1731... |
Lost larger than 4 is what highest drawn? | SELECT MAX("Drawn") FROM table_5709 WHERE "Lost" > '4' | [
31042,
4025,
621,
604,
318,
644,
4511,
7428,
30,
46506,
25882,
7203,
35,
5791,
4943,
16034,
3084,
62,
20,
31495,
33411,
366,
31042,
1,
1875,
705,
19,
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
] | [
31042,
4025,
621,
604,
318,
644,
4511,
7428,
30,
46506,
25882,
7203,
35,
5791,
4943,
16034,
3084,
62,
20,
31495,
33411,
366,
31042,
1,
1875,
705,
19,
6
] |
What time or retired does Scott Dixon have? | SELECT "Time/Retired" FROM table_41607 WHERE "Driver" = 'scott dixon' | [
2061,
640,
393,
9880,
857,
4746,
31178,
423,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
35218,
2998,
33411,
366,
32103,
1,
796,
705,
1416,
1252,
288,
12305,
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,
640,
393,
9880,
857,
4746,
31178,
423,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
35218,
2998,
33411,
366,
32103,
1,
796,
705,
1416,
1252,
288,
12305,
6
] |
Which visitors have a leading scorer of roy : 25 | SELECT "Visitor" FROM table_72242 WHERE "Leading scorer" = 'Roy : 25' | [
13828,
9692,
423,
257,
3756,
30664,
286,
10611,
1058,
1679,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
4761,
27877,
33411,
366,
20451,
278,
30664,
1,
796,
705,
32027,
1058,
1679,
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,
9692,
423,
257,
3756,
30664,
286,
10611,
1058,
1679,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
4761,
27877,
33411,
366,
20451,
278,
30664,
1,
796,
705,
32027,
1058,
1679,
6
] |
when was the first time a egd with closed biopsy procedure was given to patient 26757? | SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'egd with closed biopsy') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26757) ORDER... | [
12518,
373,
262,
717,
640,
257,
304,
21287,
351,
4838,
3182,
44522,
8771,
373,
1813,
284,
5827,
2608,
39251,
30,
46506,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
717,
640,
257,
304,
21287,
351,
4838,
3182,
44522,
8771,
373,
1813,
284,
5827,
2608,
39251,
30,
46506,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8... |
What is the highest Best score for the Dance Mambo? | SELECT MAX(best_score) FROM table_name_47 WHERE dance = "mambo" | [
2061,
318,
262,
4511,
6705,
4776,
329,
262,
17349,
337,
22651,
30,
46506,
25882,
7,
13466,
62,
26675,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
9280,
796,
366,
76,
22651,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
6705,
4776,
329,
262,
17349,
337,
22651,
30,
46506,
25882,
7,
13466,
62,
26675,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
9280,
796,
366,
76,
22651,
1
] |
Which IHSAA Class has a School of taylor? | SELECT "IHSAA Class" FROM table_13293 WHERE "School" = 'taylor' | [
13828,
314,
7998,
3838,
5016,
468,
257,
3961,
286,
256,
7167,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
1485,
31675,
33411,
366,
26130,
1,
796,
705,
83,
7167,
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,
314,
7998,
3838,
5016,
468,
257,
3961,
286,
256,
7167,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
1485,
31675,
33411,
366,
26130,
1,
796,
705,
83,
7167,
6
] |
Show the number of documents in different starting date and group by starting date with a line chart, list by the X in descending. | SELECT Date_in_Location_From, COUNT(Date_in_Location_From) FROM Document_Locations GROUP BY Date_in_Location_From ORDER BY Date_in_Location_From DESC | [
15307,
262,
1271,
286,
4963,
287,
1180,
3599,
3128,
290,
1448,
416,
3599,
3128,
351,
257,
1627,
8262,
11,
1351,
416,
262,
1395,
287,
31491,
13,
46506,
7536,
62,
259,
62,
14749,
62,
4863,
11,
327,
28270,
7,
10430,
62,
259,
62,
14749,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4963,
287,
1180,
3599,
3128,
290,
1448,
416,
3599,
3128,
351,
257,
1627,
8262,
11,
1351,
416,
262,
1395,
287,
31491,
13,
46506,
7536,
62,
259,
62,
14749,
62,
4863,
11,
327,
28270,
7,
10430,
62,
259,
62,
14749,... |
What is the name of the home team when the away team was Melbourne? | SELECT home_team FROM table_name_70 WHERE away_team = "melbourne" | [
2061,
318,
262,
1438,
286,
262,
1363,
1074,
618,
262,
1497,
1074,
373,
14819,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2154,
33411,
1497,
62,
15097,
796,
366,
17694,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
1363,
1074,
618,
262,
1497,
1074,
373,
14819,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2154,
33411,
1497,
62,
15097,
796,
366,
17694,
12544,
1
] |
What round did he win rof 29: aftershock in? | SELECT round FROM table_name_3 WHERE res = "win" AND event = "rof 29: aftershock" | [
2061,
2835,
750,
339,
1592,
686,
69,
2808,
25,
706,
39563,
287,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
18,
33411,
581,
796,
366,
5404,
1,
5357,
1785,
796,
366,
305,
69,
2808,
25,
706,
39563,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
750,
339,
1592,
686,
69,
2808,
25,
706,
39563,
287,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
18,
33411,
581,
796,
366,
5404,
1,
5357,
1785,
796,
366,
305,
69,
2808,
25,
706,
39563,
1
] |
What is the Jersey Number(s) from Norfolk State? | SELECT "Jersey Number(s)" FROM table_43677 WHERE "From" = 'norfolk state' | [
2061,
318,
262,
8221,
7913,
7,
82,
8,
422,
32134,
1812,
30,
46506,
366,
36134,
4397,
7913,
7,
82,
16725,
16034,
3084,
62,
43690,
3324,
33411,
366,
4863,
1,
796,
705,
13099,
19956,
1181,
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,
262,
8221,
7913,
7,
82,
8,
422,
32134,
1812,
30,
46506,
366,
36134,
4397,
7913,
7,
82,
16725,
16034,
3084,
62,
43690,
3324,
33411,
366,
4863,
1,
796,
705,
13099,
19956,
1181,
6
] |
which player is taller , brown or olmeda ? | SELECT "name" FROM table_204_602 WHERE "name" IN ('bobby brown', 'jose olmeda') ORDER BY "height" DESC LIMIT 1 | [
4758,
2137,
318,
25242,
837,
7586,
393,
25776,
1150,
64,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31418,
33411,
366,
3672,
1,
3268,
19203,
65,
11369,
7586,
3256,
705,
73,
577,
25776,
1150,
64,
11537,
38678,
11050,
366,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2137,
318,
25242,
837,
7586,
393,
25776,
1150,
64,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31418,
33411,
366,
3672,
1,
3268,
19203,
65,
11369,
7586,
3256,
705,
73,
577,
25776,
1150,
64,
11537,
38678,
11050,
366,
1... |
Which settlement has the cyrillic and other name of (romanian: locve)? | SELECT settlement FROM table_2562572_44 WHERE cyrillic_name_other_names = "Локве (Romanian: Locve)" | [
13828,
9443,
468,
262,
269,
2417,
359,
291,
290,
584,
1438,
286,
357,
398,
38336,
25,
1179,
303,
19427,
46506,
9443,
16034,
3084,
62,
11645,
1495,
4761,
62,
2598,
33411,
269,
2417,
359,
291,
62,
3672,
62,
847,
62,
14933,
796,
366,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9443,
468,
262,
269,
2417,
359,
291,
290,
584,
1438,
286,
357,
398,
38336,
25,
1179,
303,
19427,
46506,
9443,
16034,
3084,
62,
11645,
1495,
4761,
62,
2598,
33411,
269,
2417,
359,
291,
62,
3672,
62,
847,
62,
14933,
796,
366,
1... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the average of price , and group by attribute founder, order by the the average of price in asc please. | SELECT Founder, AVG(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY AVG(Price) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2811,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
1502,
416,
262,
262,
2811,
286,
2756,
287,
10570,
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,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2811,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
1502,
416,
262,
262,
2811,
286,
2756,
287,
10570,
3... |
Draw a bar chart for how many people are under 40 for each gender?, display Y in desc order. | SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender ORDER BY COUNT(*) DESC | [
25302,
257,
2318,
8262,
329,
703,
867,
661,
389,
739,
2319,
329,
1123,
5279,
21747,
3359,
575,
287,
1715,
1502,
13,
46506,
5279,
11,
327,
28270,
7,
28104,
16034,
7755,
33411,
2479,
1279,
2319,
44441,
11050,
5279,
38678,
11050,
327,
2827... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
329,
703,
867,
661,
389,
739,
2319,
329,
1123,
5279,
21747,
3359,
575,
287,
1715,
1502,
13,
46506,
5279,
11,
327,
28270,
7,
28104,
16034,
7755,
33411,
2479,
1279,
2319,
44441,
11050,
5279,
38678,
11050,
327,
2827... |
what number of games did new zealand win in 2010 ? | SELECT COUNT(*) FROM table_203_634 WHERE "victor" = 'new zealand' AND "date" = 2010 | [
10919,
1271,
286,
1830,
750,
649,
27689,
392,
1592,
287,
3050,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
21,
2682,
33411,
366,
32433,
273,
1,
796,
705,
3605,
27689,
392,
6,
5357,
366,
4475,
1,
796,
3050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1830,
750,
649,
27689,
392,
1592,
287,
3050,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
21,
2682,
33411,
366,
32433,
273,
1,
796,
705,
3605,
27689,
392,
6,
5357,
366,
4475,
1,
796,
3050
] |
What is the area when the Iga name is Ahoada East? | SELECT MAX("Area (km 2 )") FROM table_74343 WHERE "LGA Name" = 'Ahoada East' | [
2061,
318,
262,
1989,
618,
262,
314,
4908,
1438,
318,
7900,
1170,
64,
3687,
30,
46506,
25882,
7203,
30547,
357,
13276,
362,
1267,
4943,
16034,
3084,
62,
4524,
32118,
33411,
366,
43,
9273,
6530,
1,
796,
705,
10910,
1170,
64,
3687,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1989,
618,
262,
314,
4908,
1438,
318,
7900,
1170,
64,
3687,
30,
46506,
25882,
7203,
30547,
357,
13276,
362,
1267,
4943,
16034,
3084,
62,
4524,
32118,
33411,
366,
43,
9273,
6530,
1,
796,
705,
10910,
1170,
64,
3687,
6
] |
how many patients whose admission type is urgent and primary disease is ventricular tachycardia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.diagnosis = "VENTRICULAR TACHYCARDIA" | [
4919,
867,
3871,
3025,
13938,
2099,
318,
18039,
290,
4165,
4369,
318,
7435,
41001,
256,
35586,
9517,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
318,
18039,
290,
4165,
4369,
318,
7435,
41001,
256,
35586,
9517,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
490... |
Name the license for e-on vue | SELECT "License" FROM table_23034 WHERE "Application" = 'E-on Vue' | [
5376,
262,
5964,
329,
304,
12,
261,
410,
518,
46506,
366,
34156,
1,
16034,
3084,
62,
19214,
2682,
33411,
366,
23416,
1,
796,
705,
36,
12,
261,
569,
518,
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
] | [
5376,
262,
5964,
329,
304,
12,
261,
410,
518,
46506,
366,
34156,
1,
16034,
3084,
62,
19214,
2682,
33411,
366,
23416,
1,
796,
705,
36,
12,
261,
569,
518,
6
] |
Give me the number of patients who were diagnosed for aftercare for healing traumatic fracture of lower leg and whose lab test fluid was pleural. | 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.long_title = "Aftercare for healing traumatic fracture of lower leg" AND lab.fluid = "Pleural" | [
23318,
502,
262,
1271,
286,
3871,
508,
547,
14641,
329,
706,
6651,
329,
11516,
25115,
31846,
286,
2793,
1232,
290,
3025,
2248,
1332,
11711,
373,
3339,
1523,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
508,
547,
14641,
329,
706,
6651,
329,
11516,
25115,
31846,
286,
2793,
1232,
290,
3025,
2248,
1332,
11711,
373,
3339,
1523,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,... |
Who directed the episode 'Escape'? | SELECT "Directed by" FROM table_16332 WHERE "Title" = 'Escape' | [
8241,
7924,
262,
4471,
705,
36,
6794,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1433,
32148,
33411,
366,
19160,
1,
796,
705,
36,
6794,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7924,
262,
4471,
705,
36,
6794,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1433,
32148,
33411,
366,
19160,
1,
796,
705,
36,
6794,
6
] |
When did the elections take place in district Maryland 2? | SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2" | [
2215,
750,
262,
7024,
1011,
1295,
287,
4783,
10769,
362,
30,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1415,
4310,
62,
1828,
33411,
4783,
796,
366,
24119,
1044,
362,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
262,
7024,
1011,
1295,
287,
4783,
10769,
362,
30,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1415,
4310,
62,
1828,
33411,
4783,
796,
366,
24119,
1044,
362,
1
] |
What was the name for the row with Date From of 2008-02-21? | SELECT "Name" FROM table_76255 WHERE "Date From" = '2008-02-21' | [
2061,
373,
262,
1438,
329,
262,
5752,
351,
7536,
3574,
286,
3648,
12,
2999,
12,
2481,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
4304,
13381,
33411,
366,
10430,
3574,
1,
796,
705,
11528,
12,
2999,
12,
2481,
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,
373,
262,
1438,
329,
262,
5752,
351,
7536,
3574,
286,
3648,
12,
2999,
12,
2481,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
4304,
13381,
33411,
366,
10430,
3574,
1,
796,
705,
11528,
12,
2999,
12,
2481,
6
] |
What is the Australian open in 2010? | SELECT australian_open FROM table_name_71 WHERE year = 2010 | [
2061,
318,
262,
6638,
1280,
287,
3050,
30,
46506,
38132,
1373,
666,
62,
9654,
16034,
3084,
62,
3672,
62,
4869,
33411,
614,
796,
3050
] | [
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,
6638,
1280,
287,
3050,
30,
46506,
38132,
1373,
666,
62,
9654,
16034,
3084,
62,
3672,
62,
4869,
33411,
614,
796,
3050
] |
What does American have if Australia has ? | SELECT "American" FROM table_61411 WHERE "Australian" = 'əʉ' | [
2061,
857,
1605,
423,
611,
4505,
468,
5633,
46506,
366,
7437,
1,
16034,
3084,
62,
46841,
1157,
33411,
366,
38036,
1,
796,
705,
133,
247,
134,
231,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
857,
1605,
423,
611,
4505,
468,
5633,
46506,
366,
7437,
1,
16034,
3084,
62,
46841,
1157,
33411,
366,
38036,
1,
796,
705,
133,
247,
134,
231,
6
] |
How many games have Points smaller than 4, and an October smaller than 5? | SELECT COUNT("Game") FROM table_39154 WHERE "Points" < '4' AND "October" < '5' | [
2437,
867,
1830,
423,
11045,
4833,
621,
604,
11,
290,
281,
3267,
4833,
621,
642,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
2670,
21526,
33411,
366,
40710,
1,
1279,
705,
19,
6,
5357,
366,
18517,
1,
1279,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1830,
423,
11045,
4833,
621,
604,
11,
290,
281,
3267,
4833,
621,
642,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
2670,
21526,
33411,
366,
40710,
1,
1279,
705,
19,
6,
5357,
366,
18517,
1,
1279,
705,
20,
6
] |
Show the number of products with price higher than 1000 or lower than 500 for each product name in a bar chart, and display from high to low by the x axis please. | SELECT product_name, COUNT(product_name) FROM Products WHERE product_price > 1000 OR product_price < 500 GROUP BY product_name ORDER BY product_name DESC | [
15307,
262,
1271,
286,
3186,
351,
2756,
2440,
621,
8576,
393,
2793,
621,
5323,
329,
1123,
1720,
1438,
287,
257,
2318,
8262,
11,
290,
3359,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
3387,
13,
46506,
1720,
62,
3672,
11,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3186,
351,
2756,
2440,
621,
8576,
393,
2793,
621,
5323,
329,
1123,
1720,
1438,
287,
257,
2318,
8262,
11,
290,
3359,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
3387,
13,
46506,
1720,
62,
3672,
11,
327,
28270,
... |
How many different roles are there in the club 'Bootup Baltimore'? | SELECT COUNT(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore" | [
2437,
867,
1180,
9176,
389,
612,
287,
262,
3430,
705,
36476,
929,
10346,
30960,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
9150,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
1180,
9176,
389,
612,
287,
262,
3430,
705,
36476,
929,
10346,
30960,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
9150,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
617... |
What are the top 10 tags associated with posts created in 2017?. | SELECT Tags.TagName, Tags.Count FROM Tags WHERE Tags.Id IN (SELECT PostTags.TagId FROM PostTags WHERE PostTags.PostId IN (SELECT Posts.Id FROM Posts WHERE YEAR(Posts.CreationDate) = 2017)) ORDER BY (Tags.Count) DESC LIMIT 10 | [
2061,
389,
262,
1353,
838,
15940,
3917,
351,
6851,
2727,
287,
2177,
30,
13,
46506,
44789,
13,
24835,
5376,
11,
44789,
13,
12332,
16034,
44789,
33411,
44789,
13,
7390,
3268,
357,
46506,
2947,
36142,
13,
24835,
7390,
16034,
2947,
36142,
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... | [
2061,
389,
262,
1353,
838,
15940,
3917,
351,
6851,
2727,
287,
2177,
30,
13,
46506,
44789,
13,
24835,
5376,
11,
44789,
13,
12332,
16034,
44789,
33411,
44789,
13,
7390,
3268,
357,
46506,
2947,
36142,
13,
24835,
7390,
16034,
2947,
36142,
3... |
what are the three most common diagnoses since 2102 in which patients are diagnosed in the same month after being diagnosed with headache? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'headache' AND STRFTIME('%y', diagnosis.d... | [
10919,
389,
262,
1115,
749,
2219,
40567,
1201,
362,
15377,
287,
543,
3871,
389,
14641,
287,
262,
976,
1227,
706,
852,
14641,
351,
24902,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
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,
389,
262,
1115,
749,
2219,
40567,
1201,
362,
15377,
287,
543,
3871,
389,
14641,
287,
262,
976,
1227,
706,
852,
14641,
351,
24902,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
11,... |
Which Meet has a Club of centro de natacon carabobo? | SELECT meet FROM table_name_67 WHERE club = "centro de natacon carabobo" | [
13828,
21167,
468,
257,
6289,
286,
1247,
305,
390,
34664,
7807,
1097,
397,
20391,
30,
46506,
1826,
16034,
3084,
62,
3672,
62,
3134,
33411,
3430,
796,
366,
1087,
305,
390,
34664,
7807,
1097,
397,
20391,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21167,
468,
257,
6289,
286,
1247,
305,
390,
34664,
7807,
1097,
397,
20391,
30,
46506,
1826,
16034,
3084,
62,
3672,
62,
3134,
33411,
3430,
796,
366,
1087,
305,
390,
34664,
7807,
1097,
397,
20391,
1
] |
What is the year of the first appearance of the Black Knights, who had less than 1 finals appearances? | SELECT COUNT(year_of_first_appearance) FROM table_name_38 WHERE corps_name = "black knights" AND number_of_finals_appearances < 1 | [
2061,
318,
262,
614,
286,
262,
717,
5585,
286,
262,
2619,
15188,
11,
508,
550,
1342,
621,
352,
18576,
11057,
30,
46506,
327,
28270,
7,
1941,
62,
1659,
62,
11085,
62,
1324,
23435,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
16812,
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
] | [
2061,
318,
262,
614,
286,
262,
717,
5585,
286,
262,
2619,
15188,
11,
508,
550,
1342,
621,
352,
18576,
11057,
30,
46506,
327,
28270,
7,
1941,
62,
1659,
62,
11085,
62,
1324,
23435,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
16812,
62,... |
Provide the number of patients with sepsis as their primary disease. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SEPSIS" | [
15946,
485,
262,
1271,
286,
3871,
351,
384,
862,
271,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
5188,
3705,
1797,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15946,
485,
262,
1271,
286,
3871,
351,
384,
862,
271,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
5188,
3705,
1797,
1
] |
List the position of players with average number of points scored by players of that position bigger than 20. | SELECT position FROM player GROUP BY name HAVING AVG(points) >= 20 | [
8053,
262,
2292,
286,
1938,
351,
2811,
1271,
286,
2173,
7781,
416,
1938,
286,
326,
2292,
5749,
621,
1160,
13,
46506,
2292,
16034,
2137,
44441,
11050,
1438,
367,
10116,
2751,
35224,
7,
13033,
8,
18189,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
2292,
286,
1938,
351,
2811,
1271,
286,
2173,
7781,
416,
1938,
286,
326,
2292,
5749,
621,
1160,
13,
46506,
2292,
16034,
2137,
44441,
11050,
1438,
367,
10116,
2751,
35224,
7,
13033,
8,
18189,
1160
] |
on 12/26/last year, when was the first time that the sao2 of patient 030-8973 was less than 99.0? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-8973')) AND vitalperiodic.sao2 < 99.0 AND NOT v... | [
261,
1105,
14,
2075,
14,
12957,
614,
11,
618,
373,
262,
717,
640,
326,
262,
473,
78,
17,
286,
5827,
657,
1270,
12,
4531,
4790,
373,
1342,
621,
7388,
13,
15,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
261,
1105,
14,
2075,
14,
12957,
614,
11,
618,
373,
262,
717,
640,
326,
262,
473,
78,
17,
286,
5827,
657,
1270,
12,
4531,
4790,
373,
1342,
621,
7388,
13,
15,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007... |
For those employees who was hired before 2002-06-21, find hire_date and the sum of manager_id bin hire_date by weekday, and visualize them by a bar chart, could you list y axis in desc order? | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(MANAGER_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
714,
345,
1351,
331,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
714,
345,
1351,
331,
... |
what is the average hospital cost that would involve a rdw lab test last year? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'rdw')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CUR... | [
10919,
318,
262,
2811,
4436,
1575,
326,
561,
6211,
257,
374,
67,
86,
2248,
1332,
938,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2811,
4436,
1575,
326,
561,
6211,
257,
374,
67,
86,
2248,
1332,
938,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
... |
the green bay packers after miami dolphins chose which player ? | SELECT "player" FROM table_203_229 WHERE "nfl team" = 'green bay packers' AND "pick #" = (SELECT "pick #" FROM table_203_229 WHERE "nfl team" = 'miami dolphins') + 1 | [
1169,
4077,
15489,
2353,
364,
706,
285,
7871,
36798,
7690,
543,
2137,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
23539,
33411,
366,
77,
2704,
1074,
1,
796,
705,
14809,
15489,
2353,
364,
6,
5357,
366,
27729,
1303,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1169,
4077,
15489,
2353,
364,
706,
285,
7871,
36798,
7690,
543,
2137,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
23539,
33411,
366,
77,
2704,
1074,
1,
796,
705,
14809,
15489,
2353,
364,
6,
5357,
366,
27729,
1303,
1,
796,
... |
How many Againsts have Points larger than 31 and a Drawn larger than 6? | SELECT COUNT("Against") FROM table_6800 WHERE "Points" > '31' AND "Drawn" > '6' | [
2437,
867,
6521,
6448,
423,
11045,
4025,
621,
3261,
290,
257,
50061,
4025,
621,
718,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
3104,
405,
33411,
366,
40710,
1,
1875,
705,
3132,
6,
5357,
366,
35,
5791,
1,
1875,
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
] | [
2437,
867,
6521,
6448,
423,
11045,
4025,
621,
3261,
290,
257,
50061,
4025,
621,
718,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
3104,
405,
33411,
366,
40710,
1,
1875,
705,
3132,
6,
5357,
366,
35,
5791,
1,
1875,
705,
... |
Gold Java Badge Ranking in South Africa. This query retrieves all the gold java badge users and ranks them according to their gold badge date received. | SELECT b.UserId, MAX(b.Date) AS DateReceived, u.DisplayName FROM Users AS u, Badges AS b WHERE b.Name = 'java' AND u.Id = b.UserId AND LOWER(u.Location) LIKE '%russia%' GROUP BY b.UserId, u.DisplayName HAVING COUNT(*) > 2 ORDER BY DateReceived | [
13306,
7349,
44308,
45407,
287,
2520,
5478,
13,
770,
12405,
13236,
1158,
477,
262,
3869,
20129,
23009,
2985,
290,
9803,
606,
1864,
284,
511,
3869,
23009,
3128,
2722,
13,
46506,
275,
13,
12982,
7390,
11,
25882,
7,
65,
13,
10430,
8,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13306,
7349,
44308,
45407,
287,
2520,
5478,
13,
770,
12405,
13236,
1158,
477,
262,
3869,
20129,
23009,
2985,
290,
9803,
606,
1864,
284,
511,
3869,
23009,
3128,
2722,
13,
46506,
275,
13,
12982,
7390,
11,
25882,
7,
65,
13,
10430,
8,
705... |
how many times did patient 30307 had received a umbilical vein cath since 2101? | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'umbilical vein cath') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30307) AND STRFTIME('%y', proce... | [
4919,
867,
1661,
750,
5827,
1542,
22996,
550,
2722,
257,
20810,
346,
605,
27208,
32171,
1201,
2310,
486,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1661,
750,
5827,
1542,
22996,
550,
2722,
257,
20810,
346,
605,
27208,
32171,
1201,
2310,
486,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506... |
papers that are coauthored by mayank goel and shwetak patel | SELECT DISTINCT WRITES_0.paperid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'mayank goel' AND AUTHOR_1.authorname = 'shwetak patel' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.pap... | [
40491,
326,
389,
763,
39351,
416,
743,
962,
467,
417,
290,
427,
86,
316,
461,
279,
25791,
46506,
360,
8808,
1268,
4177,
11342,
2043,
1546,
62,
15,
13,
20189,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
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,
1,
1,
1,
1,
1,
1... | [
40491,
326,
389,
763,
39351,
416,
743,
962,
467,
417,
290,
427,
86,
316,
461,
279,
25791,
46506,
360,
8808,
1268,
4177,
11342,
2043,
1546,
62,
15,
13,
20189,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
... |
A scatter chart shows the correlation between Snatch and Total . | SELECT Snatch, Total FROM body_builder | [
32,
41058,
8262,
2523,
262,
16096,
1022,
5489,
963,
290,
7472,
764,
46506,
5489,
963,
11,
7472,
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
] | [
32,
41058,
8262,
2523,
262,
16096,
1022,
5489,
963,
290,
7472,
764,
46506,
5489,
963,
11,
7472,
16034,
1767,
62,
38272
] |
Name the head of household that has married filing separately of $104,426 $186,475 | SELECT head_of_household FROM table_name_89 WHERE married_filing_separately = "$104,426–$186,475" | [
5376,
262,
1182,
286,
6641,
326,
468,
6405,
12180,
13869,
286,
720,
13464,
11,
42780,
720,
25096,
11,
32576,
46506,
1182,
62,
1659,
62,
4803,
2946,
16034,
3084,
62,
3672,
62,
4531,
33411,
6405,
62,
69,
4386,
62,
25512,
1286,
796,
1797... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1182,
286,
6641,
326,
468,
6405,
12180,
13869,
286,
720,
13464,
11,
42780,
720,
25096,
11,
32576,
46506,
1182,
62,
1659,
62,
4803,
2946,
16034,
3084,
62,
3672,
62,
4531,
33411,
6405,
62,
69,
4386,
62,
25512,
1286,
796,
1797... |
Name the total number of races for 15th position | SELECT COUNT(races) FROM table_24466191_1 WHERE position = "15th" | [
5376,
262,
2472,
1271,
286,
9558,
329,
1315,
400,
2292,
46506,
327,
28270,
7,
81,
2114,
8,
16034,
3084,
62,
25707,
2791,
26492,
62,
16,
33411,
2292,
796,
366,
1314,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
9558,
329,
1315,
400,
2292,
46506,
327,
28270,
7,
81,
2114,
8,
16034,
3084,
62,
25707,
2791,
26492,
62,
16,
33411,
2292,
796,
366,
1314,
400,
1
] |
is the heart rate of patient 25300 last measured on the first icu visit less than second to last measured on the first icu 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 = 25300) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.item... | [
271,
262,
2612,
2494,
286,
5827,
1679,
6200,
938,
8630,
319,
262,
717,
14158,
84,
3187,
1342,
621,
1218,
284,
938,
8630,
319,
262,
717,
14158,
84,
3187,
13,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
262,
2612,
2494,
286,
5827,
1679,
6200,
938,
8630,
319,
262,
717,
14158,
84,
3187,
1342,
621,
1218,
284,
938,
8630,
319,
262,
717,
14158,
84,
3187,
13,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
3341... |
What year was the tournament first held in Italy? | SELECT MIN(began) FROM table_14903081_1 WHERE country = "Italy" | [
2061,
614,
373,
262,
7756,
717,
2714,
287,
8031,
30,
46506,
20625,
7,
1350,
1030,
8,
16034,
3084,
62,
1415,
3829,
1270,
6659,
62,
16,
33411,
1499,
796,
366,
45001,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
7756,
717,
2714,
287,
8031,
30,
46506,
20625,
7,
1350,
1030,
8,
16034,
3084,
62,
1415,
3829,
1270,
6659,
62,
16,
33411,
1499,
796,
366,
45001,
1
] |
Tell me the province of 1941-1946 | SELECT province FROM table_name_49 WHERE period = "1941-1946" | [
24446,
502,
262,
8473,
286,
23234,
12,
1129,
3510,
46506,
8473,
16034,
3084,
62,
3672,
62,
2920,
33411,
2278,
796,
366,
1129,
3901,
12,
1129,
3510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
8473,
286,
23234,
12,
1129,
3510,
46506,
8473,
16034,
3084,
62,
3672,
62,
2920,
33411,
2278,
796,
366,
1129,
3901,
12,
1129,
3510,
1
] |
how many of these parties currently have no councillors ? | SELECT COUNT("party") FROM table_203_316 WHERE "diet representation\ncouncillors" = 0 | [
4919,
867,
286,
777,
4671,
3058,
423,
645,
43321,
5633,
46506,
327,
28270,
7203,
10608,
4943,
16034,
3084,
62,
22416,
62,
33400,
33411,
366,
67,
1155,
10552,
59,
10782,
977,
20346,
669,
1,
796,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
286,
777,
4671,
3058,
423,
645,
43321,
5633,
46506,
327,
28270,
7203,
10608,
4943,
16034,
3084,
62,
22416,
62,
33400,
33411,
366,
67,
1155,
10552,
59,
10782,
977,
20346,
669,
1,
796,
657
] |
What is the average number of top-25s for events with less than 2 top-10s? | SELECT AVG(top_25) FROM table_name_93 WHERE top_10 < 2 | [
2061,
318,
262,
2811,
1271,
286,
1353,
12,
1495,
82,
329,
2995,
351,
1342,
621,
362,
1353,
12,
940,
82,
30,
46506,
35224,
7,
4852,
62,
1495,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
1353,
62,
940,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1353,
12,
1495,
82,
329,
2995,
351,
1342,
621,
362,
1353,
12,
940,
82,
30,
46506,
35224,
7,
4852,
62,
1495,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
1353,
62,
940,
1279,
362
] |
what is the number of patients who died in or before 2122 and with drug code pred5sm? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2122.0" AND prescriptions.formulary_drug_cd = "PRED5SM" | [
10919,
318,
262,
1271,
286,
3871,
508,
3724,
287,
393,
878,
362,
18376,
290,
351,
2563,
2438,
2747,
20,
5796,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
508,
3724,
287,
393,
878,
362,
18376,
290,
351,
2563,
2438,
2747,
20,
5796,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,... |
Who was in lane 6 with a mark of 2:05.58 SB? | SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb" | [
8241,
373,
287,
11193,
718,
351,
257,
1317,
286,
362,
25,
2713,
13,
3365,
18056,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
5705,
33411,
11193,
796,
718,
5357,
1317,
796,
366,
17,
25,
2713,
13,
3365,
264,
65,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
287,
11193,
718,
351,
257,
1317,
286,
362,
25,
2713,
13,
3365,
18056,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
5705,
33411,
11193,
796,
718,
5357,
1317,
796,
366,
17,
25,
2713,
13,
3365,
264,
65,
1
] |
What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up? | SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 1990 | [
2061,
373,
5027,
265,
42391,
323,
4776,
618,
618,
339,
1839,
287,
6303,
290,
833,
397,
89,
684,
1819,
373,
262,
17490,
12,
929,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1731,
33411,
14591,
796,
366,
13528,
265,
42391,
323,
1,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
5027,
265,
42391,
323,
4776,
618,
618,
339,
1839,
287,
6303,
290,
833,
397,
89,
684,
1819,
373,
262,
17490,
12,
929,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1731,
33411,
14591,
796,
366,
13528,
265,
42391,
323,
1,
535... |
what is the code of each location and the number of documents in that location? | SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code | [
10919,
318,
262,
2438,
286,
1123,
4067,
290,
262,
1271,
286,
4963,
287,
326,
4067,
30,
46506,
13397,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
16854,
62,
43,
20968,
44441,
11050,
13397,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2438,
286,
1123,
4067,
290,
262,
1271,
286,
4963,
287,
326,
4067,
30,
46506,
13397,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
16854,
62,
43,
20968,
44441,
11050,
13397,
62,
10669
] |
What circuit was on the date 4 May? | SELECT circuit FROM table_12186237_1 WHERE date = "4 May" | [
2061,
10349,
373,
319,
262,
3128,
604,
1737,
30,
46506,
10349,
16034,
3084,
62,
1065,
25096,
24693,
62,
16,
33411,
3128,
796,
366,
19,
1737,
1
] | [
1,
1,
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,
10349,
373,
319,
262,
3128,
604,
1737,
30,
46506,
10349,
16034,
3084,
62,
1065,
25096,
24693,
62,
16,
33411,
3128,
796,
366,
19,
1737,
1
] |
What are the first name and gender of the students who have allergy to milk but can put up with cats? | SELECT fname, sex FROM student WHERE stuid IN (SELECT stuid FROM has_allergy WHERE allergy = "Milk" EXCEPT SELECT stuid FROM has_allergy WHERE allergy = "Cat") | [
2061,
389,
262,
717,
1438,
290,
5279,
286,
262,
2444,
508,
423,
36197,
284,
7545,
475,
460,
1234,
510,
351,
11875,
30,
46506,
277,
3672,
11,
1714,
16034,
3710,
33411,
336,
27112,
3268,
357,
46506,
336,
27112,
16034,
468,
62,
439,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
717,
1438,
290,
5279,
286,
262,
2444,
508,
423,
36197,
284,
7545,
475,
460,
1234,
510,
351,
11875,
30,
46506,
277,
3672,
11,
1714,
16034,
3710,
33411,
336,
27112,
3268,
357,
46506,
336,
27112,
16034,
468,
62,
439,
2607... |
Which player went to the College of Wyoming? | SELECT player FROM table_name_99 WHERE college = "wyoming" | [
13828,
2137,
1816,
284,
262,
5535,
286,
24533,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2079,
33411,
4152,
796,
366,
21768,
3383,
1
] | [
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,
2137,
1816,
284,
262,
5535,
286,
24533,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2079,
33411,
4152,
796,
366,
21768,
3383,
1
] |
tell me the maximum heart rate for patient 6705's body on 09/19/last year? | SELECT MAX(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 = 6705)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart... | [
33331,
502,
262,
5415,
2612,
2494,
329,
5827,
718,
34801,
338,
1767,
319,
7769,
14,
1129,
14,
12957,
614,
30,
46506,
25882,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
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... | [
33331,
502,
262,
5415,
2612,
2494,
329,
5827,
718,
34801,
338,
1767,
319,
7769,
14,
1129,
14,
12957,
614,
30,
46506,
25882,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
... |
A bar chart shows the distribution of Nationality and the average of ID , and group by attribute Nationality. | SELECT Nationality, AVG(ID) FROM swimmer GROUP BY Nationality | [
32,
2318,
8262,
2523,
262,
6082,
286,
2351,
414,
290,
262,
2811,
286,
4522,
837,
290,
1448,
416,
11688,
2351,
414,
13,
46506,
2351,
414,
11,
35224,
7,
2389,
8,
16034,
9422,
647,
44441,
11050,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
2351,
414,
290,
262,
2811,
286,
4522,
837,
290,
1448,
416,
11688,
2351,
414,
13,
46506,
2351,
414,
11,
35224,
7,
2389,
8,
16034,
9422,
647,
44441,
11050,
2351,
414
] |
Which IHSAA Class has a School of mitchell? | SELECT "IHSAA Class" FROM table_65536 WHERE "School" = 'mitchell' | [
13828,
314,
7998,
3838,
5016,
468,
257,
3961,
286,
10255,
12398,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
35916,
2623,
33411,
366,
26130,
1,
796,
705,
2781,
12398,
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,
314,
7998,
3838,
5016,
468,
257,
3961,
286,
10255,
12398,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
35916,
2623,
33411,
366,
26130,
1,
796,
705,
2781,
12398,
6
] |
What is the gayndah when perry is 304? | SELECT MAX("Gayndah") FROM table_17706 WHERE "Perry" = '304' | [
2061,
318,
262,
5650,
358,
993,
618,
583,
563,
318,
31672,
30,
46506,
25882,
7203,
41787,
358,
993,
4943,
16034,
3084,
62,
1558,
35402,
33411,
366,
5990,
563,
1,
796,
705,
21288,
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,
5650,
358,
993,
618,
583,
563,
318,
31672,
30,
46506,
25882,
7203,
41787,
358,
993,
4943,
16034,
3084,
62,
1558,
35402,
33411,
366,
5990,
563,
1,
796,
705,
21288,
6
] |
Which country had a total of 282? | SELECT "Country" FROM table_78740 WHERE "Total" = '282' | [
13828,
1499,
550,
257,
2472,
286,
41810,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
41019,
1821,
33411,
366,
14957,
1,
796,
705,
32568,
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
] | [
13828,
1499,
550,
257,
2472,
286,
41810,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
41019,
1821,
33411,
366,
14957,
1,
796,
705,
32568,
6
] |
has d5/.45ns been given on this month/28 to patient 5828? | SELECT COUNT(*) > 0 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 = 5828)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'd5/.45ns'... | [
10134,
288,
20,
11757,
2231,
5907,
587,
1813,
319,
428,
1227,
14,
2078,
284,
5827,
7618,
2078,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
288,
20,
11757,
2231,
5907,
587,
1813,
319,
428,
1227,
14,
2078,
284,
5827,
7618,
2078,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
... |
how many patients had the diagnosis icd9 code 53190? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "53190" | [
4919,
867,
3871,
550,
262,
13669,
14158,
67,
24,
2438,
7192,
19782,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
550,
262,
13669,
14158,
67,
24,
2438,
7192,
19782,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,... |
what was the only grand prix to be won by benneton ford ? | SELECT "grand prix" FROM table_204_455 WHERE "constructor" = 'benetton-ford' | [
10919,
373,
262,
691,
4490,
1293,
87,
284,
307,
1839,
416,
275,
1697,
18483,
329,
67,
5633,
46506,
366,
23936,
1293,
87,
1,
16034,
3084,
62,
18638,
62,
30505,
33411,
366,
41571,
273,
1,
796,
705,
11722,
316,
1122,
12,
3841,
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
] | [
10919,
373,
262,
691,
4490,
1293,
87,
284,
307,
1839,
416,
275,
1697,
18483,
329,
67,
5633,
46506,
366,
23936,
1293,
87,
1,
16034,
3084,
62,
18638,
62,
30505,
33411,
366,
41571,
273,
1,
796,
705,
11722,
316,
1122,
12,
3841,
6
] |
What was the team's playoff status in 2011? | SELECT "Playoffs" FROM table_20941 WHERE "Year" = '2011' | [
2061,
373,
262,
1074,
338,
13119,
3722,
287,
2813,
30,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
22567,
3901,
33411,
366,
17688,
1,
796,
705,
9804,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1074,
338,
13119,
3722,
287,
2813,
30,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
22567,
3901,
33411,
366,
17688,
1,
796,
705,
9804,
6
] |
Stacked bar chart of how many nationality for with each Type in each nationality | SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Type, Nationality | [
1273,
6021,
2318,
8262,
286,
703,
867,
29835,
329,
351,
1123,
5994,
287,
1123,
29835,
46506,
2351,
414,
11,
327,
28270,
7,
16186,
414,
8,
16034,
4074,
44441,
11050,
5994,
11,
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
] | [
1273,
6021,
2318,
8262,
286,
703,
867,
29835,
329,
351,
1123,
5994,
287,
1123,
29835,
46506,
2351,
414,
11,
327,
28270,
7,
16186,
414,
8,
16034,
4074,
44441,
11050,
5994,
11,
2351,
414
] |
Mention all the applicable team who are replaced by gianluca atzori | SELECT "Team" FROM table_3700 WHERE "Replaced by" = 'Gianluca Atzori' | [
44,
1463,
477,
262,
9723,
1074,
508,
389,
6928,
416,
308,
666,
75,
43120,
379,
89,
10145,
46506,
366,
15592,
1,
16034,
3084,
62,
2718,
405,
33411,
366,
3041,
21820,
416,
1,
796,
705,
38,
666,
75,
43120,
1629,
89,
10145,
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
] | [
44,
1463,
477,
262,
9723,
1074,
508,
389,
6928,
416,
308,
666,
75,
43120,
379,
89,
10145,
46506,
366,
15592,
1,
16034,
3084,
62,
2718,
405,
33411,
366,
3041,
21820,
416,
1,
796,
705,
38,
666,
75,
43120,
1629,
89,
10145,
6
] |
what kind of ground transportation is available in DENVER | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DENVER' AND ground_service.city_code = city.city_code | [
10919,
1611,
286,
2323,
9358,
318,
1695,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1611,
286,
2323,
9358,
318,
1695,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357... |
Where was the game played with a 2013 left and Royals nickname? | SELECT "Location" FROM table_6783 WHERE "Left" = '2013' AND "Nickname" = 'royals' | [
8496,
373,
262,
983,
2826,
351,
257,
2211,
1364,
290,
30245,
21814,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3134,
5999,
33411,
366,
18819,
1,
796,
705,
6390,
6,
5357,
366,
23609,
3672,
1,
796,
705,
3287,
874,
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
] | [
8496,
373,
262,
983,
2826,
351,
257,
2211,
1364,
290,
30245,
21814,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3134,
5999,
33411,
366,
18819,
1,
796,
705,
6390,
6,
5357,
366,
23609,
3672,
1,
796,
705,
3287,
874,
6
] |
Name the year for sammo hung for ip man 2 | SELECT year FROM table_15301258_1 WHERE best_supporting_actor = "Sammo Hung for Ip Man 2" | [
5376,
262,
614,
329,
6072,
5908,
9174,
329,
20966,
582,
362,
46506,
614,
16034,
3084,
62,
1314,
18938,
25600,
62,
16,
33411,
1266,
62,
11284,
278,
62,
11218,
796,
366,
16305,
5908,
12149,
329,
314,
79,
1869,
362,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
329,
6072,
5908,
9174,
329,
20966,
582,
362,
46506,
614,
16034,
3084,
62,
1314,
18938,
25600,
62,
16,
33411,
1266,
62,
11284,
278,
62,
11218,
796,
366,
16305,
5908,
12149,
329,
314,
79,
1869,
362,
1
] |
what is the first state after delhi ? | SELECT "state" FROM table_203_562 WHERE id = (SELECT id FROM table_203_562 WHERE "state" = 'delhi') + 1 | [
10919,
318,
262,
717,
1181,
706,
1619,
5303,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
43918,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
43918,
33411,
366,
5219,
1,
796,
705,
12381,
5303,
11537,
1343,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
1181,
706,
1619,
5303,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
43918,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
43918,
33411,
366,
5219,
1,
796,
705,
12381,
5303,
11537,
1343,
... |
Show me about the correlation between ACC_Percent and All_Games_Percent in a scatter chart. | SELECT ACC_Percent, All_Games_Percent FROM basketball_match | [
15307,
502,
546,
262,
16096,
1022,
15859,
62,
31905,
290,
1439,
62,
24474,
62,
31905,
287,
257,
41058,
8262,
13,
46506,
15859,
62,
31905,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
16096,
1022,
15859,
62,
31905,
290,
1439,
62,
24474,
62,
31905,
287,
257,
41058,
8262,
13,
46506,
15859,
62,
31905,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699
] |
What is the average Goals for team Kairat, in the 2002 season with more than 29 apps? | SELECT AVG("Goals") FROM table_43033 WHERE "Team" = 'kairat' AND "Season" = '2002' AND "Apps" > '29' | [
2061,
318,
262,
2811,
28510,
329,
1074,
509,
958,
265,
11,
287,
262,
6244,
1622,
351,
517,
621,
2808,
6725,
30,
46506,
35224,
7203,
5247,
874,
4943,
16034,
3084,
62,
31794,
2091,
33411,
366,
15592,
1,
796,
705,
74,
958,
265,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
28510,
329,
1074,
509,
958,
265,
11,
287,
262,
6244,
1622,
351,
517,
621,
2808,
6725,
30,
46506,
35224,
7203,
5247,
874,
4943,
16034,
3084,
62,
31794,
2091,
33411,
366,
15592,
1,
796,
705,
74,
958,
265,
6,
5357... |
What was the method of the bout lasting 4:15? | SELECT "Method" FROM table_36508 WHERE "Time" = '4:15' | [
2061,
373,
262,
2446,
286,
262,
18222,
15727,
604,
25,
1314,
30,
46506,
366,
17410,
1,
16034,
3084,
62,
2623,
33042,
33411,
366,
7575,
1,
796,
705,
19,
25,
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
] | [
2061,
373,
262,
2446,
286,
262,
18222,
15727,
604,
25,
1314,
30,
46506,
366,
17410,
1,
16034,
3084,
62,
2623,
33042,
33411,
366,
7575,
1,
796,
705,
19,
25,
1314,
6
] |
Who led the metas volantes classification for stage 4? | SELECT metas_volantes_classification FROM table_name_36 WHERE stage = 4 | [
8241,
2957,
262,
1138,
292,
2322,
39781,
17923,
329,
3800,
604,
30,
46506,
1138,
292,
62,
10396,
39781,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
2623,
33411,
3800,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
2957,
262,
1138,
292,
2322,
39781,
17923,
329,
3800,
604,
30,
46506,
1138,
292,
62,
10396,
39781,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
2623,
33411,
3800,
796,
604
] |
what is the age and gender of the patient id 2560? | SELECT demographic.age, demographic.gender FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
262,
2479,
290,
5279,
286,
262,
5827,
4686,
1679,
1899,
30,
46506,
16728,
13,
496,
11,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
290,
5279,
286,
262,
5827,
4686,
1679,
1899,
30,
46506,
16728,
13,
496,
11,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Tell me the home team score for essendon | SELECT "Home team score" FROM table_11608 WHERE "Home team" = 'essendon' | [
24446,
502,
262,
1363,
1074,
4776,
329,
3209,
43153,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
1157,
28688,
33411,
366,
16060,
1074,
1,
796,
705,
408,
43153,
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
] | [
24446,
502,
262,
1363,
1074,
4776,
329,
3209,
43153,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
1157,
28688,
33411,
366,
16060,
1074,
1,
796,
705,
408,
43153,
6
] |
age >= 50 | SELECT * FROM table_train_76 WHERE age >= 50 | [
496,
18189,
2026,
46506,
1635,
16034,
3084,
62,
27432,
62,
4304,
33411,
2479,
18189,
2026
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
496,
18189,
2026,
46506,
1635,
16034,
3084,
62,
27432,
62,
4304,
33411,
2479,
18189,
2026
] |
what was the first height of patient 3242 on their first hospital encounter. | 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 = 3242 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartevents.item... | [
10919,
373,
262,
717,
6001,
286,
5827,
513,
27877,
319,
511,
717,
4436,
8791,
13,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
6001,
286,
5827,
513,
27877,
319,
511,
717,
4436,
8791,
13,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,... |
when was the last time patient 030-44598 had a lab test, this month? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-44598')) AND DATETIME(lab.labresulttime, 'start of month') = DATETIME(CURRENT_T... | [
12518,
373,
262,
938,
640,
5827,
657,
1270,
12,
43489,
4089,
550,
257,
2248,
1332,
11,
428,
1227,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
5827,
657,
1270,
12,
43489,
4089,
550,
257,
2248,
1332,
11,
428,
1227,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,... |
what is the cpu for the calculator with 28 kb of ram and display size 128 64 pixels 21 8 characters? | SELECT cpu FROM table_11703336_1 WHERE ram = "28 KB of ram" AND display_size = "128×64 pixels 21×8 characters" | [
10919,
318,
262,
42804,
329,
262,
28260,
351,
2579,
47823,
286,
15770,
290,
3359,
2546,
13108,
5598,
17848,
2310,
807,
3435,
30,
46506,
42804,
16034,
3084,
62,
1157,
2154,
2091,
2623,
62,
16,
33411,
15770,
796,
366,
2078,
14204,
286,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
42804,
329,
262,
28260,
351,
2579,
47823,
286,
15770,
290,
3359,
2546,
13108,
5598,
17848,
2310,
807,
3435,
30,
46506,
42804,
16034,
3084,
62,
1157,
2154,
2091,
2623,
62,
16,
33411,
15770,
796,
366,
2078,
14204,
286,
15... |
who are the writer of the series episode number 170? | SELECT written_by FROM table_22580855_1 WHERE series_no = 170 | [
8727,
389,
262,
6260,
286,
262,
2168,
4471,
1271,
16677,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
18182,
28362,
2816,
62,
16,
33411,
2168,
62,
3919,
796,
16677
] | [
1,
1,
1,
1,
1,
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,
389,
262,
6260,
286,
262,
2168,
4471,
1271,
16677,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
18182,
28362,
2816,
62,
16,
33411,
2168,
62,
3919,
796,
16677
] |
Stack bar chart of the number of headquarters vs Industry based on headquarters, and I want to display in asc by the Y-axis. | SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Industry, Headquarters ORDER BY COUNT(Headquarters) | [
25896,
2318,
8262,
286,
262,
1271,
286,
10043,
3691,
17420,
1912,
319,
10043,
11,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
575,
12,
22704,
13,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
17420,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25896,
2318,
8262,
286,
262,
1271,
286,
10043,
3691,
17420,
1912,
319,
10043,
11,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
575,
12,
22704,
13,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
17420,
1... |
Which Notes have a Competition of world championships, and a Position of 2nd? | SELECT notes FROM table_name_74 WHERE competition = "world championships" AND position = "2nd" | [
13828,
11822,
423,
257,
27348,
286,
995,
27459,
11,
290,
257,
23158,
286,
362,
358,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
4524,
33411,
5449,
796,
366,
6894,
27459,
1,
5357,
2292,
796,
366,
17,
358,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11822,
423,
257,
27348,
286,
995,
27459,
11,
290,
257,
23158,
286,
362,
358,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
4524,
33411,
5449,
796,
366,
6894,
27459,
1,
5357,
2292,
796,
366,
17,
358,
1
] |
Name the team number 1 for san lorenzo | SELECT team__number1 FROM table_23812628_1 WHERE team__number2 = "San Lorenzo" | [
5376,
262,
1074,
1271,
352,
329,
5336,
24044,
77,
10872,
46506,
1074,
834,
17618,
16,
16034,
3084,
62,
23721,
19420,
2078,
62,
16,
33411,
1074,
834,
17618,
17,
796,
366,
15017,
41721,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
1271,
352,
329,
5336,
24044,
77,
10872,
46506,
1074,
834,
17618,
16,
16034,
3084,
62,
23721,
19420,
2078,
62,
16,
33411,
1074,
834,
17618,
17,
796,
366,
15017,
41721,
1
] |
Which Team has a Date of appointment on sep. 20, 2008? | SELECT team FROM table_name_14 WHERE date_of_appointment = "sep. 20, 2008" | [
13828,
4816,
468,
257,
7536,
286,
12557,
319,
41767,
13,
1160,
11,
3648,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
62,
1659,
62,
1324,
49805,
796,
366,
325,
79,
13,
1160,
11,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4816,
468,
257,
7536,
286,
12557,
319,
41767,
13,
1160,
11,
3648,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
62,
1659,
62,
1324,
49805,
796,
366,
325,
79,
13,
1160,
11,
3648,
1
] |
what is the only year that did not qualify appears under the playoffs column ? | SELECT "year" FROM table_203_521 WHERE "playoffs" = 'did not qualify' | [
10919,
318,
262,
691,
614,
326,
750,
407,
12780,
3568,
739,
262,
12980,
5721,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
20,
2481,
33411,
366,
1759,
8210,
1,
796,
705,
20839,
407,
12780,
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
] | [
10919,
318,
262,
691,
614,
326,
750,
407,
12780,
3568,
739,
262,
12980,
5721,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
20,
2481,
33411,
366,
1759,
8210,
1,
796,
705,
20839,
407,
12780,
6
] |
What was the surface for the game that was played with partner Tiya Rolle? | SELECT surface FROM table_name_35 WHERE partner = "tiya rolle" | [
2061,
373,
262,
4417,
329,
262,
983,
326,
373,
2826,
351,
5212,
16953,
3972,
371,
349,
293,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
2327,
33411,
5212,
796,
366,
20259,
3972,
686,
75,
293,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4417,
329,
262,
983,
326,
373,
2826,
351,
5212,
16953,
3972,
371,
349,
293,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
2327,
33411,
5212,
796,
366,
20259,
3972,
686,
75,
293,
1
] |
which nation won the same number of gold medals as hungary ? | SELECT "nation" FROM table_204_822 WHERE "nation" <> 'hungary' AND "gold" = (SELECT "gold" FROM table_204_822 WHERE "nation" = 'hungary') | [
4758,
3277,
1839,
262,
976,
1271,
286,
3869,
28057,
355,
9174,
560,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
23,
1828,
33411,
366,
25729,
1,
1279,
29,
705,
43274,
560,
6,
5357,
366,
24267,
1,
796,
357,
46506,
366,
242... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
3277,
1839,
262,
976,
1271,
286,
3869,
28057,
355,
9174,
560,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
23,
1828,
33411,
366,
25729,
1,
1279,
29,
705,
43274,
560,
6,
5357,
366,
24267,
1,
796,
357,
46506,
366,
242... |
If the working force of HK is 32.8%, what are the Pakistanis' %? | SELECT "Pakistanis" FROM table_74074 WHERE "Working force of HK" = '32.8%' | [
1532,
262,
1762,
2700,
286,
31440,
318,
3933,
13,
23,
7441,
644,
389,
262,
7648,
271,
6,
4064,
30,
46506,
366,
38485,
271,
1,
16034,
3084,
62,
45598,
4524,
33411,
366,
28516,
2700,
286,
31440,
1,
796,
705,
2624,
13,
23,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
1762,
2700,
286,
31440,
318,
3933,
13,
23,
7441,
644,
389,
262,
7648,
271,
6,
4064,
30,
46506,
366,
38485,
271,
1,
16034,
3084,
62,
45598,
4524,
33411,
366,
28516,
2700,
286,
31440,
1,
796,
705,
2624,
13,
23,
4,
6
] |
What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? | SELECT memory FROM table_name_32 WHERE turbo = "2/2/4/5" AND release_date = "may 2010" | [
2061,
14059,
468,
257,
22278,
286,
362,
14,
17,
14,
19,
14,
20,
290,
262,
13868,
3128,
286,
1737,
3050,
30,
46506,
4088,
16034,
3084,
62,
3672,
62,
2624,
33411,
29292,
796,
366,
17,
14,
17,
14,
19,
14,
20,
1,
5357,
2650,
62,
447... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14059,
468,
257,
22278,
286,
362,
14,
17,
14,
19,
14,
20,
290,
262,
13868,
3128,
286,
1737,
3050,
30,
46506,
4088,
16034,
3084,
62,
3672,
62,
2624,
33411,
29292,
796,
366,
17,
14,
17,
14,
19,
14,
20,
1,
5357,
2650,
62,
447... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.