instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What Partner had a Score of 6 3, 2 6, 6 3? | SELECT partner FROM table_name_31 WHERE score = "6–3, 2–6, 6–3" | [
2061,
35532,
550,
257,
15178,
286,
718,
513,
11,
362,
718,
11,
718,
513,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
3132,
33411,
4776,
796,
366,
21,
1906,
18,
11,
362,
1906,
21,
11,
718,
1906,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
35532,
550,
257,
15178,
286,
718,
513,
11,
362,
718,
11,
718,
513,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
3132,
33411,
4776,
796,
366,
21,
1906,
18,
11,
362,
1906,
21,
11,
718,
1906,
18,
1
] |
Name the school that was founded in 1950 | SELECT institution FROM table_1973648_1 WHERE founded = 1950 | [
5376,
262,
1524,
326,
373,
9393,
287,
11445,
46506,
9901,
16034,
3084,
62,
40220,
34287,
62,
16,
33411,
9393,
796,
11445
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1524,
326,
373,
9393,
287,
11445,
46506,
9901,
16034,
3084,
62,
40220,
34287,
62,
16,
33411,
9393,
796,
11445
] |
For each room, find its the number of times reservations were made for it Visualize them using a bar chart, and display by the the total number from low to high. | SELECT Room, COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY COUNT(*) | [
1890,
1123,
2119,
11,
1064,
663,
262,
1271,
286,
1661,
24722,
547,
925,
329,
340,
15612,
1096,
606,
1262,
257,
2318,
8262,
11,
290,
3359,
416,
262,
262,
2472,
1271,
422,
1877,
284,
1029,
13,
46506,
10096,
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,
1... | [
1890,
1123,
2119,
11,
1064,
663,
262,
1271,
286,
1661,
24722,
547,
925,
329,
340,
15612,
1096,
606,
1262,
257,
2318,
8262,
11,
290,
3359,
416,
262,
262,
2472,
1271,
422,
1877,
284,
1029,
13,
46506,
10096,
11,
327,
28270,
7,
28104,
1... |
baseline hgb < 11.7 g / dl in female , or < 13 g / dl in male ; lymphopenia ( < 1000 lymphocytes / mcl ) or leukopenia ( < 3000 total leukocytes / mcl ) , or an absolute cd4 count < 500 , or platelets < 150000 | SELECT * FROM table_dev_30 WHERE (baseline_hemoglobin_hgb < 11.7 AND gender = 'female') OR (baseline_hemoglobin_hgb < 13 AND gender = 'male') OR lymphopenia < 1000 OR leukopenia < 3000 OR cd4_count < 500 OR platelets < 150000 | [
12093,
4470,
289,
22296,
1279,
1367,
13,
22,
308,
1220,
288,
75,
287,
4048,
837,
393,
1279,
1511,
308,
1220,
288,
75,
287,
4257,
2162,
28837,
9654,
544,
357,
1279,
8576,
28837,
30309,
1220,
285,
565,
1267,
393,
443,
2724,
9654,
544,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12093,
4470,
289,
22296,
1279,
1367,
13,
22,
308,
1220,
288,
75,
287,
4048,
837,
393,
1279,
1511,
308,
1220,
288,
75,
287,
4257,
2162,
28837,
9654,
544,
357,
1279,
8576,
28837,
30309,
1220,
285,
565,
1267,
393,
443,
2724,
9654,
544,
... |
A bar chart showing the number of debates in each venue for those on the affirmative side. | SELECT Venue, COUNT(Venue) FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID GROUP BY Venue | [
32,
2318,
8262,
4478,
262,
1271,
286,
15389,
287,
1123,
14359,
329,
883,
319,
262,
27990,
1735,
13,
46506,
9932,
518,
11,
327,
28270,
7,
37522,
518,
8,
16034,
4384,
62,
15332,
7054,
309,
16,
32357,
1268,
4384,
7054,
309,
17,
6177,
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... | [
32,
2318,
8262,
4478,
262,
1271,
286,
15389,
287,
1123,
14359,
329,
883,
319,
262,
27990,
1735,
13,
46506,
9932,
518,
11,
327,
28270,
7,
37522,
518,
8,
16034,
4384,
62,
15332,
7054,
309,
16,
32357,
1268,
4384,
7054,
309,
17,
6177,
3... |
Show all the distinct institution types. | SELECT DISTINCT type FROM institution | [
15307,
477,
262,
7310,
9901,
3858,
13,
46506,
360,
8808,
1268,
4177,
2099,
16034,
9901
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
262,
7310,
9901,
3858,
13,
46506,
360,
8808,
1268,
4177,
2099,
16034,
9901
] |
in 2103 how many patients were prescribed nicotine 21 mg/24hr td pt24 during the same month after the procedure of vte prophylaxis - low molecular weight heparin. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'vte prophylaxis - low molecular weight heparin' AND STRFTIME('%y', treatment.treatmenttime) = '2103') AS t1 ... | [
259,
362,
15197,
703,
867,
3871,
547,
14798,
21856,
2310,
10527,
14,
1731,
11840,
41560,
42975,
1731,
1141,
262,
976,
1227,
706,
262,
8771,
286,
410,
660,
386,
746,
2645,
22704,
532,
1877,
18955,
3463,
339,
1845,
259,
13,
46506,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
362,
15197,
703,
867,
3871,
547,
14798,
21856,
2310,
10527,
14,
1731,
11840,
41560,
42975,
1731,
1141,
262,
976,
1227,
706,
262,
8771,
286,
410,
660,
386,
746,
2645,
22704,
532,
1877,
18955,
3463,
339,
1845,
259,
13,
46506,
327,
... |
Show me team_id by all road in a histogram | SELECT All_Road, Team_ID FROM basketball_match | [
15307,
502,
1074,
62,
312,
416,
477,
2975,
287,
257,
1554,
21857,
46506,
1439,
62,
29197,
11,
4816,
62,
2389,
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
] | [
15307,
502,
1074,
62,
312,
416,
477,
2975,
287,
257,
1554,
21857,
46506,
1439,
62,
29197,
11,
4816,
62,
2389,
16034,
9669,
62,
15699
] |
how many dead patients had prescription for prapafenone hcl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Propafenone HCl" | [
4919,
867,
2636,
3871,
550,
15077,
329,
279,
2416,
1878,
268,
505,
289,
565,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
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... | [
4919,
867,
2636,
3871,
550,
15077,
329,
279,
2416,
1878,
268,
505,
289,
565,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
... |
What are the total points for the team that averages 17.8? | SELECT "Total points" FROM table_21978 WHERE "Average" = '17.8' | [
2061,
389,
262,
2472,
2173,
329,
262,
1074,
326,
25694,
1596,
13,
23,
30,
46506,
366,
14957,
2173,
1,
16034,
3084,
62,
28896,
3695,
33411,
366,
26287,
1,
796,
705,
1558,
13,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2472,
2173,
329,
262,
1074,
326,
25694,
1596,
13,
23,
30,
46506,
366,
14957,
2173,
1,
16034,
3084,
62,
28896,
3695,
33411,
366,
26287,
1,
796,
705,
1558,
13,
23,
6
] |
What was the score for an n/a location with the odds of p + 1? | SELECT "Result" FROM table_4961 WHERE "Location" = 'n/a' AND "Odds" = 'p + 1' | [
2061,
373,
262,
4776,
329,
281,
299,
14,
64,
4067,
351,
262,
10402,
286,
279,
1343,
352,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2920,
5333,
33411,
366,
14749,
1,
796,
705,
77,
14,
64,
6,
5357,
366,
46,
33714,
1,
796,
705,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
329,
281,
299,
14,
64,
4067,
351,
262,
10402,
286,
279,
1343,
352,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2920,
5333,
33411,
366,
14749,
1,
796,
705,
77,
14,
64,
6,
5357,
366,
46,
33714,
1,
796,
705,
79... |
Bar chart x axis location y axis the average of number of platforms, could you list x-axis in ascending order? | SELECT Location, AVG(Number_of_Platforms) FROM station GROUP BY Location ORDER BY Location | [
10374,
8262,
2124,
16488,
4067,
331,
16488,
262,
2811,
286,
1271,
286,
9554,
11,
714,
345,
1351,
2124,
12,
22704,
287,
41988,
1502,
30,
46506,
13397,
11,
35224,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
44441,
11050,
13397,
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
] | [
10374,
8262,
2124,
16488,
4067,
331,
16488,
262,
2811,
286,
1271,
286,
9554,
11,
714,
345,
1351,
2124,
12,
22704,
287,
41988,
1502,
30,
46506,
13397,
11,
35224,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
44441,
11050,
13397,
3... |
What season had bachelor Byron Velvick? | SELECT MIN("Season") FROM table_9121 WHERE "Bachelor" = 'byron velvick' | [
2061,
1622,
550,
29384,
36719,
17378,
85,
624,
30,
46506,
20625,
7203,
18960,
4943,
16034,
3084,
62,
24,
19244,
33411,
366,
33,
19335,
1,
796,
705,
1525,
1313,
11555,
85,
624,
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,
1622,
550,
29384,
36719,
17378,
85,
624,
30,
46506,
20625,
7203,
18960,
4943,
16034,
3084,
62,
24,
19244,
33411,
366,
33,
19335,
1,
796,
705,
1525,
1313,
11555,
85,
624,
6
] |
what was the first time until 29 months ago patient 30235 received a bilirubin, total lab test? | SELECT labevents.charttime FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'bilirubin, total') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30235) AND DATETIME(labevents.charttime) <= DATETIME(CURRENT_TIME()... | [
10919,
373,
262,
717,
640,
1566,
2808,
1933,
2084,
5827,
1542,
22370,
2722,
257,
47027,
343,
549,
259,
11,
2472,
2248,
1332,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
717,
640,
1566,
2808,
1933,
2084,
5827,
1542,
22370,
2722,
257,
47027,
343,
549,
259,
11,
2472,
2248,
1332,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
4650... |
Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? | SELECT MAX("Lane") FROM table_67245 WHERE "Time" < '49.67' AND "Name" = 'michael klim' AND "Rank" < '1' | [
13828,
11193,
468,
257,
640,
1342,
621,
5125,
13,
3134,
11,
318,
422,
3899,
509,
2475,
290,
1342,
621,
352,
4279,
30,
46506,
25882,
7203,
43,
1531,
4943,
16034,
3084,
62,
3134,
22995,
33411,
366,
7575,
1,
1279,
705,
2920,
13,
3134,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11193,
468,
257,
640,
1342,
621,
5125,
13,
3134,
11,
318,
422,
3899,
509,
2475,
290,
1342,
621,
352,
4279,
30,
46506,
25882,
7203,
43,
1531,
4943,
16034,
3084,
62,
3134,
22995,
33411,
366,
7575,
1,
1279,
705,
2920,
13,
3134,
... |
What club team is Per Gustafsson play for? | SELECT "College/junior/club team" FROM table_15956 WHERE "Player" = 'Per Gustafsson' | [
2061,
3430,
1074,
318,
2448,
26657,
1878,
16528,
711,
329,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
1314,
50148,
33411,
366,
14140,
1,
796,
705,
5990,
26657,
1878,
16528,
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,
3430,
1074,
318,
2448,
26657,
1878,
16528,
711,
329,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
1314,
50148,
33411,
366,
14140,
1,
796,
705,
5990,
26657,
1878,
16528,
6
] |
who was in office after mustapha jaafar | SELECT "menteri besar" FROM table_204_668 WHERE "took office" > (SELECT "took office" FROM table_204_668 WHERE "menteri besar" = 'mustapha jaafar') ORDER BY "took office" LIMIT 1 | [
8727,
373,
287,
2607,
706,
1276,
499,
3099,
45091,
1878,
283,
46506,
366,
434,
33442,
7284,
283,
1,
16034,
3084,
62,
18638,
62,
35809,
33411,
366,
83,
566,
2607,
1,
1875,
357,
46506,
366,
83,
566,
2607,
1,
16034,
3084,
62,
18638,
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... | [
8727,
373,
287,
2607,
706,
1276,
499,
3099,
45091,
1878,
283,
46506,
366,
434,
33442,
7284,
283,
1,
16034,
3084,
62,
18638,
62,
35809,
33411,
366,
83,
566,
2607,
1,
1875,
357,
46506,
366,
83,
566,
2607,
1,
16034,
3084,
62,
18638,
62... |
WHAT IS THE HOME TEAM ON APRIL 25? | SELECT "Home Team" FROM table_76823 WHERE "Date" = 'april 25' | [
32971,
3180,
3336,
41779,
33536,
6177,
40410,
4146,
1679,
30,
46506,
366,
16060,
4816,
1,
16034,
3084,
62,
30610,
1954,
33411,
366,
10430,
1,
796,
705,
499,
22379,
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
] | [
32971,
3180,
3336,
41779,
33536,
6177,
40410,
4146,
1679,
30,
46506,
366,
16060,
4816,
1,
16034,
3084,
62,
30610,
1954,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1679,
6
] |
How many dead patients had sdh as the primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.diagnosis = "SDH" | [
2437,
867,
2636,
3871,
550,
264,
34985,
355,
262,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
16,
1,
5357,
16728,
13,
473... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2636,
3871,
550,
264,
34985,
355,
262,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
16,
1,
5357,
16728,
13,
473... |
what is the feature named bird ridge? | SELECT "Feature" FROM table_62743 WHERE "Name" = 'bird ridge' | [
10919,
318,
262,
3895,
3706,
6512,
32525,
30,
46506,
366,
38816,
1,
16034,
3084,
62,
49856,
3559,
33411,
366,
5376,
1,
796,
705,
16944,
32525,
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
] | [
10919,
318,
262,
3895,
3706,
6512,
32525,
30,
46506,
366,
38816,
1,
16034,
3084,
62,
49856,
3559,
33411,
366,
5376,
1,
796,
705,
16944,
32525,
6
] |
What is the 2nd leg with ldu quito as team 1? | SELECT "2nd leg" FROM table_48894 WHERE "Team #1" = 'ldu quito' | [
2061,
318,
262,
362,
358,
1232,
351,
300,
646,
627,
10094,
355,
1074,
352,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
2780,
4531,
19,
33411,
366,
15592,
1303,
16,
1,
796,
705,
335,
84,
627,
10094,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
362,
358,
1232,
351,
300,
646,
627,
10094,
355,
1074,
352,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
2780,
4531,
19,
33411,
366,
15592,
1303,
16,
1,
796,
705,
335,
84,
627,
10094,
6
] |
How many Picks have a Round larger than 2, and a Name of lawrence sidbury, and an Overall smaller than 125? | SELECT COUNT(pick__number) FROM table_name_69 WHERE round > 2 AND name = "lawrence sidbury" AND overall < 125 | [
2437,
867,
33957,
423,
257,
10485,
4025,
621,
362,
11,
290,
257,
6530,
286,
1099,
6784,
9785,
10711,
11,
290,
281,
14674,
4833,
621,
13151,
30,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2835,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33957,
423,
257,
10485,
4025,
621,
362,
11,
290,
257,
6530,
286,
1099,
6784,
9785,
10711,
11,
290,
281,
14674,
4833,
621,
13151,
30,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2835,
... |
What is the average react of the athlete with a time less than 22.29 and a rank greater than 1? | SELECT AVG("React") FROM table_63056 WHERE "Time" < '22.29' AND "Rank" > '1' | [
2061,
318,
262,
2811,
6324,
286,
262,
16076,
351,
257,
640,
1342,
621,
2534,
13,
1959,
290,
257,
4279,
3744,
621,
352,
30,
46506,
35224,
7203,
3041,
529,
4943,
16034,
3084,
62,
30005,
3980,
33411,
366,
7575,
1,
1279,
705,
1828,
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
] | [
2061,
318,
262,
2811,
6324,
286,
262,
16076,
351,
257,
640,
1342,
621,
2534,
13,
1959,
290,
257,
4279,
3744,
621,
352,
30,
46506,
35224,
7203,
3041,
529,
4943,
16034,
3084,
62,
30005,
3980,
33411,
366,
7575,
1,
1279,
705,
1828,
13,
... |
In what year of school is the player from Fayetteville, NC? | SELECT "Year" FROM table_75919 WHERE "Home Town" = 'fayetteville, nc' | [
818,
644,
614,
286,
1524,
318,
262,
2137,
422,
376,
27067,
4244,
11,
8823,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
38314,
1129,
33411,
366,
16060,
8329,
1,
796,
705,
69,
27067,
4244,
11,
299,
66,
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
] | [
818,
644,
614,
286,
1524,
318,
262,
2137,
422,
376,
27067,
4244,
11,
8823,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
38314,
1129,
33411,
366,
16060,
8329,
1,
796,
705,
69,
27067,
4244,
11,
299,
66,
6
] |
Name the type and dosage of Phenazopyridine HCl. | SELECT prescriptions.drug_type, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Phenazopyridine HCl" | [
5376,
262,
2099,
290,
35997,
286,
34828,
1031,
404,
2417,
39422,
367,
2601,
13,
46506,
34092,
13,
30349,
62,
4906,
11,
34092,
13,
30349,
62,
34436,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
47,
831,
1031,
404,
2417,
39422,
367,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
290,
35997,
286,
34828,
1031,
404,
2417,
39422,
367,
2601,
13,
46506,
34092,
13,
30349,
62,
4906,
11,
34092,
13,
30349,
62,
34436,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
47,
831,
1031,
404,
2417,
39422,
367,
... |
What was the team #1 for the match that had a result of 0-3? | SELECT "Team #1" FROM table_50062 WHERE "Res." = '0-3' | [
2061,
373,
262,
1074,
1303,
16,
329,
262,
2872,
326,
550,
257,
1255,
286,
657,
12,
18,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
4059,
5237,
33411,
366,
4965,
526,
796,
705,
15,
12,
18,
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,
1074,
1303,
16,
329,
262,
2872,
326,
550,
257,
1255,
286,
657,
12,
18,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
4059,
5237,
33411,
366,
4965,
526,
796,
705,
15,
12,
18,
6
] |
provide the number of patients whose primary disease is left colon cancer and year of death is less than or equal to 2133? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LEFT COLON CANCER" AND demographic.dod_year <= "2133.0" | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
1364,
7633,
4890,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
16945,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
318,
1364,
7633,
4890,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
16945,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What country is charley hoffman from? | SELECT country FROM table_28498999_4 WHERE player = "Charley Hoffman" | [
2061,
1499,
318,
1149,
1636,
289,
2364,
805,
422,
30,
46506,
1499,
16034,
3084,
62,
2078,
36260,
17032,
62,
19,
33411,
2137,
796,
366,
12441,
1636,
29010,
1
] | [
1,
1,
1,
1,
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,
318,
1149,
1636,
289,
2364,
805,
422,
30,
46506,
1499,
16034,
3084,
62,
2078,
36260,
17032,
62,
19,
33411,
2137,
796,
366,
12441,
1636,
29010,
1
] |
Which Qual 1 has a Team of team player's, and a Best of 58.405? | SELECT qual_1 FROM table_name_91 WHERE team = "team player's" AND best = "58.405" | [
13828,
9537,
352,
468,
257,
4816,
286,
1074,
2137,
338,
11,
290,
257,
6705,
286,
7618,
13,
26598,
30,
46506,
4140,
62,
16,
16034,
3084,
62,
3672,
62,
6420,
33411,
1074,
796,
366,
15097,
2137,
338,
1,
5357,
1266,
796,
366,
3365,
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
] | [
13828,
9537,
352,
468,
257,
4816,
286,
1074,
2137,
338,
11,
290,
257,
6705,
286,
7618,
13,
26598,
30,
46506,
4140,
62,
16,
16034,
3084,
62,
3672,
62,
6420,
33411,
1074,
796,
366,
15097,
2137,
338,
1,
5357,
1266,
796,
366,
3365,
13,
... |
What was the score when Spennymoor United as the away team? | SELECT score FROM table_name_67 WHERE away_team = "spennymoor united" | [
2061,
373,
262,
4776,
618,
1338,
1697,
4948,
2675,
1578,
355,
262,
1497,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3134,
33411,
1497,
62,
15097,
796,
366,
2777,
1697,
4948,
2675,
16503,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
618,
1338,
1697,
4948,
2675,
1578,
355,
262,
1497,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3134,
33411,
1497,
62,
15097,
796,
366,
2777,
1697,
4948,
2675,
16503,
1
] |
how many patients are diagnosed for ulcer of heel and midfoot with drug route tp? | 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.long_title = "Ulcer of heel and midfoot" AND prescriptions.route = "TP" | [
4919,
867,
3871,
389,
14641,
329,
14856,
2189,
286,
24703,
290,
3095,
5898,
351,
2563,
6339,
256,
79,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
14641,
329,
14856,
2189,
286,
24703,
290,
3095,
5898,
351,
2563,
6339,
256,
79,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
1... |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of job_id and salary , display from low to high by the total number. | SELECT JOB_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
9588,
837,
3359,
422,
1877,
284,
1029,
416,
262,
2472,
1271,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
9588,
837,
3359,
422,
1877,
284,
1029,
416,
262,
2472,
1271,... |
how man c windmills have there been ? | SELECT COUNT(*) FROM table_204_929 | [
4919,
582,
269,
2344,
76,
2171,
423,
612,
587,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
1959
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
582,
269,
2344,
76,
2171,
423,
612,
587,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
1959
] |
Which result has a Date of november 2, 2007? | SELECT result FROM table_name_86 WHERE date = "november 2, 2007" | [
13828,
1255,
468,
257,
7536,
286,
645,
303,
1916,
362,
11,
4343,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4521,
33411,
3128,
796,
366,
77,
3239,
362,
11,
4343,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1255,
468,
257,
7536,
286,
645,
303,
1916,
362,
11,
4343,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4521,
33411,
3128,
796,
366,
77,
3239,
362,
11,
4343,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, return a line chart about the change of manager_id over hire_date , and show X from high to low order. | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
1627,
8262,
546,
262,
1487,
286,
4706,
62,
312,
625,
11078,
62,
4475,
837,
290,
905,
1395,
422,
1029,
284,
1877,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
1627,
8262,
546,
262,
1487,
286,
4706,
62,
312,
625,
11078,
62,
4475,
837,
290,
905,
1395,
422,
1029,
284,
1877,
... |
Which nominating festival did Russia enter? | SELECT "Nominating Festival" FROM table_15365 WHERE "Country" = 'russia' | [
13828,
48833,
10876,
750,
3284,
3802,
30,
46506,
366,
45,
296,
6010,
11117,
1,
16034,
3084,
62,
1314,
24760,
33411,
366,
33921,
1,
796,
705,
81,
31269,
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,
48833,
10876,
750,
3284,
3802,
30,
46506,
366,
45,
296,
6010,
11117,
1,
16034,
3084,
62,
1314,
24760,
33411,
366,
33921,
1,
796,
705,
81,
31269,
6
] |
When 169.182 is the average speed miles per hour what is the chassis? | SELECT chassis FROM table_1771753_3 WHERE average_speed__mph_ = "169.182" | [
2215,
27191,
13,
24294,
318,
262,
2811,
2866,
4608,
583,
1711,
644,
318,
262,
24587,
30,
46506,
24587,
16034,
3084,
62,
22413,
1558,
4310,
62,
18,
33411,
2811,
62,
12287,
834,
23335,
62,
796,
366,
22172,
13,
24294,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27191,
13,
24294,
318,
262,
2811,
2866,
4608,
583,
1711,
644,
318,
262,
24587,
30,
46506,
24587,
16034,
3084,
62,
22413,
1558,
4310,
62,
18,
33411,
2811,
62,
12287,
834,
23335,
62,
796,
366,
22172,
13,
24294,
1
] |
Which team had a year entering the league under 2009, located in Bath? | SELECT "Team" FROM table_41303 WHERE "Year entered league" < '2009' AND "Location" = 'bath' | [
13828,
1074,
550,
257,
614,
8218,
262,
4652,
739,
3717,
11,
5140,
287,
24967,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3901,
22572,
33411,
366,
17688,
5982,
4652,
1,
1279,
705,
10531,
6,
5357,
366,
14749,
1,
796,
705,
37648,
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
] | [
13828,
1074,
550,
257,
614,
8218,
262,
4652,
739,
3717,
11,
5140,
287,
24967,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3901,
22572,
33411,
366,
17688,
5982,
4652,
1,
1279,
705,
10531,
6,
5357,
366,
14749,
1,
796,
705,
37648,
6
] |
What is the modified torque (lb/ft) when the standard hp n/a? | SELECT COUNT(modified_torque__lb_ft_) FROM table_19704392_1 WHERE standard_hp = "n/a" | [
2061,
318,
262,
9518,
26415,
357,
23160,
14,
701,
8,
618,
262,
3210,
27673,
299,
14,
64,
30,
46506,
327,
28270,
7,
41771,
62,
13165,
4188,
834,
23160,
62,
701,
62,
8,
16034,
3084,
62,
30986,
19,
32321,
62,
16,
33411,
3210,
62,
248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9518,
26415,
357,
23160,
14,
701,
8,
618,
262,
3210,
27673,
299,
14,
64,
30,
46506,
327,
28270,
7,
41771,
62,
13165,
4188,
834,
23160,
62,
701,
62,
8,
16034,
3084,
62,
30986,
19,
32321,
62,
16,
33411,
3210,
62,
248... |
on the last intensive care unit visit', what was maximum respiration of patient 007-11182? | SELECT MAX(vitalperiodic.respiration) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-11182') AND NOT patient.unitdischargetime IS N... | [
261,
262,
938,
18590,
1337,
4326,
3187,
3256,
644,
373,
5415,
1217,
15297,
286,
5827,
3571,
22,
12,
1157,
24294,
30,
46506,
25882,
7,
85,
1287,
41007,
291,
13,
411,
10514,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
938,
18590,
1337,
4326,
3187,
3256,
644,
373,
5415,
1217,
15297,
286,
5827,
3571,
22,
12,
1157,
24294,
30,
46506,
25882,
7,
85,
1287,
41007,
291,
13,
411,
10514,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029... |
What is the Status of Mexborough? | SELECT "Status" FROM table_34721 WHERE "Name" = 'mexborough' | [
2061,
318,
262,
12678,
286,
4413,
17913,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
30995,
2481,
33411,
366,
5376,
1,
796,
705,
76,
1069,
17913,
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
] | [
2061,
318,
262,
12678,
286,
4413,
17913,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
30995,
2481,
33411,
366,
5376,
1,
796,
705,
76,
1069,
17913,
6
] |
For those records from the products and each product's manufacturer, give me the comparison about the sum of price over the headquarter , and group by attribute headquarter by a bar chart. | SELECT Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
2756,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
13,
46506,
7123,
24385,
11,
35683... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
2756,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
13,
46506,
7123,
24385,
11,
35683... |
What is the MWEHL Team on Round 2, with player Nicolas Kerdiles? | SELECT mwehl_team FROM table_name_49 WHERE round = "2" AND player = "nicolas kerdiles" | [
2061,
318,
262,
337,
8845,
6581,
4816,
319,
10485,
362,
11,
351,
2137,
29737,
17337,
67,
2915,
30,
46506,
285,
732,
18519,
62,
15097,
16034,
3084,
62,
3672,
62,
2920,
33411,
2835,
796,
366,
17,
1,
5357,
2137,
796,
366,
6988,
12456,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
337,
8845,
6581,
4816,
319,
10485,
362,
11,
351,
2137,
29737,
17337,
67,
2915,
30,
46506,
285,
732,
18519,
62,
15097,
16034,
3084,
62,
3672,
62,
2920,
33411,
2835,
796,
366,
17,
1,
5357,
2137,
796,
366,
6988,
12456,
... |
Find All_Home and the average of School_ID , and group by attribute All_Home, and visualize them by a bar chart, show in asc by the x-axis please. | SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home | [
16742,
1439,
62,
16060,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
1439,
62,
16060,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
905,
287,
10570,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
1439,
62,
16060,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1439,
62,
16060,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
1439,
62,
16060,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
905,
287,
10570,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
1439,
62,
16060,
1... |
What country does the goaltender come from? | SELECT "Nationality" FROM table_17468 WHERE "Position" = 'Goaltender' | [
2061,
1499,
857,
262,
44113,
1282,
422,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
22985,
3104,
33411,
366,
26545,
1,
796,
705,
5247,
2501,
2194,
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,
1499,
857,
262,
44113,
1282,
422,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
22985,
3104,
33411,
366,
26545,
1,
796,
705,
5247,
2501,
2194,
6
] |
How many different countries did the champion Se Ri Pak (2) represent? | SELECT COUNT(country) FROM table_229059_2 WHERE champion = "Se Ri Pak (2)" | [
2437,
867,
1180,
2678,
750,
262,
8783,
1001,
30385,
6162,
357,
17,
8,
2380,
30,
46506,
327,
28270,
7,
19315,
8,
16034,
3084,
62,
23539,
46712,
62,
17,
33411,
8783,
796,
366,
4653,
30385,
6162,
357,
17,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2678,
750,
262,
8783,
1001,
30385,
6162,
357,
17,
8,
2380,
30,
46506,
327,
28270,
7,
19315,
8,
16034,
3084,
62,
23539,
46712,
62,
17,
33411,
8783,
796,
366,
4653,
30385,
6162,
357,
17,
16725
] |
what's the score where year is 2007 | SELECT score FROM table_11214772_1 WHERE year = "2007" | [
10919,
338,
262,
4776,
810,
614,
318,
4343,
46506,
4776,
16034,
3084,
62,
14686,
1415,
43571,
62,
16,
33411,
614,
796,
366,
12726,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
4776,
810,
614,
318,
4343,
46506,
4776,
16034,
3084,
62,
14686,
1415,
43571,
62,
16,
33411,
614,
796,
366,
12726,
1
] |
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time, and list by the sum department id from high to low. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
1351,
416,
262,
2160,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
1351,
416,
262,
2160,
5... |
what is the cost of a medication named dextrose 50 % in water (d50w) iv syringe? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'dextrose 50 % in water (d50w) iv syringe') | [
10919,
318,
262,
1575,
286,
257,
14103,
3706,
390,
742,
13698,
2026,
4064,
287,
1660,
357,
67,
1120,
86,
8,
21628,
827,
38229,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
115... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1575,
286,
257,
14103,
3706,
390,
742,
13698,
2026,
4064,
287,
1660,
357,
67,
1120,
86,
8,
21628,
827,
38229,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
115... |
What's the record after week 12 with a game site of bye? | SELECT record FROM table_name_26 WHERE week > 12 AND game_site = "bye" | [
2061,
338,
262,
1700,
706,
1285,
1105,
351,
257,
983,
2524,
286,
33847,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2075,
33411,
1285,
1875,
1105,
5357,
983,
62,
15654,
796,
366,
16390,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1700,
706,
1285,
1105,
351,
257,
983,
2524,
286,
33847,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2075,
33411,
1285,
1875,
1105,
5357,
983,
62,
15654,
796,
366,
16390,
1
] |
what is the race on 23 october? | SELECT race FROM table_name_81 WHERE date = "23 october" | [
10919,
318,
262,
3234,
319,
2242,
19318,
2023,
30,
46506,
3234,
16034,
3084,
62,
3672,
62,
6659,
33411,
3128,
796,
366,
1954,
19318,
2023,
1
] | [
1,
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,
3234,
319,
2242,
19318,
2023,
30,
46506,
3234,
16034,
3084,
62,
3672,
62,
6659,
33411,
3128,
796,
366,
1954,
19318,
2023,
1
] |
When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there? | SELECT COUNT("Nationality") FROM table_23134 WHERE "College/junior/club team" = 'Sault Ste. Marie Greyhounds (OHA)' | [
2215,
473,
586,
2876,
13,
1667,
494,
13791,
71,
3733,
357,
28083,
8,
318,
262,
4152,
11,
13430,
11,
393,
3430,
1074,
703,
867,
2260,
871,
389,
612,
30,
46506,
327,
28270,
7203,
16186,
414,
4943,
16034,
3084,
62,
1954,
19880,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
473,
586,
2876,
13,
1667,
494,
13791,
71,
3733,
357,
28083,
8,
318,
262,
4152,
11,
13430,
11,
393,
3430,
1074,
703,
867,
2260,
871,
389,
612,
30,
46506,
327,
28270,
7203,
16186,
414,
4943,
16034,
3084,
62,
1954,
19880,
33411,
... |
What occurence has 0.925 listed as the matrix sim? | SELECT MAX("Occurrence") FROM table_28964 WHERE "Matrix Sim" = '0.925' | [
2061,
1609,
495,
1198,
468,
657,
13,
46351,
5610,
355,
262,
17593,
985,
30,
46506,
25882,
7203,
29223,
33928,
4943,
16034,
3084,
62,
27693,
2414,
33411,
366,
46912,
3184,
1,
796,
705,
15,
13,
46351,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1609,
495,
1198,
468,
657,
13,
46351,
5610,
355,
262,
17593,
985,
30,
46506,
25882,
7203,
29223,
33928,
4943,
16034,
3084,
62,
27693,
2414,
33411,
366,
46912,
3184,
1,
796,
705,
15,
13,
46351,
6
] |
How many courses are in the Psychology department for each year? Return a line chart, rank in asc by the X-axis. | SELECT year, COUNT(year) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY year ORDER BY year | [
2437,
867,
10902,
389,
287,
262,
18430,
5011,
329,
1123,
614,
30,
8229,
257,
1627,
8262,
11,
4279,
287,
10570,
416,
262,
1395,
12,
22704,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
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... | [
2437,
867,
10902,
389,
287,
262,
18430,
5011,
329,
1123,
614,
30,
8229,
257,
1627,
8262,
11,
4279,
287,
10570,
416,
262,
1395,
12,
22704,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
705... |
provide the number of patients whose death status is 1 and drug name is hydrocortisone oint 0.5%? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Hydrocortisone Oint 0.5%" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
2563,
1438,
318,
7409,
12204,
419,
271,
505,
267,
600,
657,
13,
20,
4,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1918,
3722,
318,
352,
290,
2563,
1438,
318,
7409,
12204,
419,
271,
505,
267,
600,
657,
13,
20,
4,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
Name the highest Bronze which has a Gold larger than 2 and a Rank of total? | SELECT MAX("Bronze") FROM table_14273 WHERE "Gold" > '2' AND "Rank" = 'total' | [
5376,
262,
4511,
19461,
543,
468,
257,
3561,
4025,
621,
362,
290,
257,
10916,
286,
2472,
30,
46506,
25882,
7203,
18760,
2736,
4943,
16034,
3084,
62,
1415,
27367,
33411,
366,
13306,
1,
1875,
705,
17,
6,
5357,
366,
27520,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4511,
19461,
543,
468,
257,
3561,
4025,
621,
362,
290,
257,
10916,
286,
2472,
30,
46506,
25882,
7203,
18760,
2736,
4943,
16034,
3084,
62,
1415,
27367,
33411,
366,
13306,
1,
1875,
705,
17,
6,
5357,
366,
27520,
1,
796,
705,
... |
blood hemoglobin < 90 g / l; | SELECT * FROM table_test_6 WHERE blood_hemoglobin < 90 | [
18041,
16869,
49835,
1279,
4101,
308,
1220,
300,
26,
46506,
1635,
16034,
3084,
62,
9288,
62,
21,
33411,
2910,
62,
4411,
49835,
1279,
4101
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18041,
16869,
49835,
1279,
4101,
308,
1220,
300,
26,
46506,
1635,
16034,
3084,
62,
9288,
62,
21,
33411,
2910,
62,
4411,
49835,
1279,
4101
] |
What is the average election result for the province of Grosseto from 1766 and prior? | SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766 | [
2061,
318,
262,
2811,
3071,
1255,
329,
262,
8473,
286,
21796,
27206,
422,
1596,
2791,
290,
3161,
30,
46506,
35224,
7,
14300,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
8473,
796,
366,
47181,
27206,
1,
5357,
4920,
1279,
1596,
2791
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
3071,
1255,
329,
262,
8473,
286,
21796,
27206,
422,
1596,
2791,
290,
3161,
30,
46506,
35224,
7,
14300,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
8473,
796,
366,
47181,
27206,
1,
5357,
4920,
1279,
1596,
2791
] |
what is date of birth and admission location of subject id 3343? | SELECT demographic.dob, demographic.admission_location FROM demographic WHERE demographic.subject_id = "3343" | [
10919,
318,
3128,
286,
4082,
290,
13938,
4067,
286,
2426,
4686,
513,
32118,
30,
46506,
16728,
13,
67,
672,
11,
16728,
13,
324,
3411,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
4082,
290,
13938,
4067,
286,
2426,
4686,
513,
32118,
30,
46506,
16728,
13,
67,
672,
11,
16728,
13,
324,
3411,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] |
count the number of patients for whom sodium bicarbonate was prescribed in the same month after having been diagnosed with peritoneal adhesions in 2105. | SELECT COUNT(DISTINCT t1.subject_id) 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 d_icd_diagnoses.short_title = 'peritoneal adhesio... | [
9127,
262,
1271,
286,
3871,
329,
4150,
21072,
275,
291,
42084,
378,
373,
14798,
287,
262,
976,
1227,
706,
1719,
587,
14641,
351,
583,
49644,
282,
512,
956,
507,
287,
362,
13348,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
4150,
21072,
275,
291,
42084,
378,
373,
14798,
287,
262,
976,
1227,
706,
1719,
587,
14641,
351,
583,
49644,
282,
512,
956,
507,
287,
362,
13348,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
1... |
Who is team E when Jason Manning is Team F? | SELECT "Team E" FROM table_47508 WHERE "Team F" = 'jason manning' | [
8241,
318,
1074,
412,
618,
8982,
15281,
318,
4816,
376,
30,
46506,
366,
15592,
412,
1,
16034,
3084,
62,
2857,
33042,
33411,
366,
15592,
376,
1,
796,
705,
73,
888,
582,
768,
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
] | [
8241,
318,
1074,
412,
618,
8982,
15281,
318,
4816,
376,
30,
46506,
366,
15592,
412,
1,
16034,
3084,
62,
2857,
33042,
33411,
366,
15592,
376,
1,
796,
705,
73,
888,
582,
768,
6
] |
What stadium was the game held at on December 23, 2001? | SELECT stadium FROM table_name_2 WHERE date = "december 23, 2001" | [
2061,
10308,
373,
262,
983,
2714,
379,
319,
3426,
2242,
11,
5878,
30,
46506,
10308,
16034,
3084,
62,
3672,
62,
17,
33411,
3128,
796,
366,
2934,
3273,
2242,
11,
5878,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
10308,
373,
262,
983,
2714,
379,
319,
3426,
2242,
11,
5878,
30,
46506,
10308,
16034,
3084,
62,
3672,
62,
17,
33411,
3128,
796,
366,
2934,
3273,
2242,
11,
5878,
1
] |
what are the total number of laps driven by scott pruett ? | SELECT "laps" FROM table_204_468 WHERE "driver" = 'scott pruett' | [
10919,
389,
262,
2472,
1271,
286,
24590,
7986,
416,
629,
1252,
279,
622,
3087,
5633,
46506,
366,
75,
1686,
1,
16034,
3084,
62,
18638,
62,
38472,
33411,
366,
26230,
1,
796,
705,
1416,
1252,
279,
622,
3087,
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
] | [
10919,
389,
262,
2472,
1271,
286,
24590,
7986,
416,
629,
1252,
279,
622,
3087,
5633,
46506,
366,
75,
1686,
1,
16034,
3084,
62,
18638,
62,
38472,
33411,
366,
26230,
1,
796,
705,
1416,
1252,
279,
622,
3087,
6
] |
WHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualification? | SELECT "Score" FROM table_47854 WHERE "Competition" = '1978 world cup qualification' | [
32971,
3180,
3336,
6374,
6965,
42099,
3336,
24301,
2767,
17941,
21725,
15524,
995,
6508,
28587,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29059,
4051,
33411,
366,
7293,
15620,
1,
796,
705,
37950,
995,
6508,
28587,
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,
6374,
6965,
42099,
3336,
24301,
2767,
17941,
21725,
15524,
995,
6508,
28587,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29059,
4051,
33411,
366,
7293,
15620,
1,
796,
705,
37950,
995,
6508,
28587,
6
] |
what was the last time patient 004-86136 has had the minimum respiration on this month/25? | 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 = '004-86136')) AND NOT vitalperiodic.respiration IS N... | [
10919,
373,
262,
938,
640,
5827,
3571,
19,
12,
4521,
20809,
468,
550,
262,
5288,
1217,
15297,
319,
428,
1227,
14,
1495,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
640,
5827,
3571,
19,
12,
4521,
20809,
468,
550,
262,
5288,
1217,
15297,
319,
428,
1227,
14,
1495,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029... |
Name the third district for christine young | SELECT third_district FROM table_15442974_1 WHERE fifth_district = "Christine Young" | [
5376,
262,
2368,
4783,
329,
33826,
500,
1862,
46506,
2368,
62,
17080,
2012,
16034,
3084,
62,
1314,
2598,
1959,
4524,
62,
16,
33411,
8150,
62,
17080,
2012,
796,
366,
10684,
500,
6960,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2368,
4783,
329,
33826,
500,
1862,
46506,
2368,
62,
17080,
2012,
16034,
3084,
62,
1314,
2598,
1959,
4524,
62,
16,
33411,
8150,
62,
17080,
2012,
796,
366,
10684,
500,
6960,
1
] |
which state has the largest amount of judges to serve ? | SELECT "state" FROM table_203_563 GROUP BY "state" ORDER BY COUNT("judge") DESC LIMIT 1 | [
4758,
1181,
468,
262,
4387,
2033,
286,
10266,
284,
4691,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
46572,
44441,
11050,
366,
5219,
1,
38678,
11050,
327,
28270,
7203,
10456,
469,
4943,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1181,
468,
262,
4387,
2033,
286,
10266,
284,
4691,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
46572,
44441,
11050,
366,
5219,
1,
38678,
11050,
327,
28270,
7203,
10456,
469,
4943,
22196,
34,
27564,
2043,
352
] |
What rank is the Silver Bell mine of Pima county? | SELECT "Rank" FROM table_69234 WHERE "County" = 'pima' AND "Mine" = 'silver bell' | [
2061,
4279,
318,
262,
7698,
7459,
6164,
286,
350,
8083,
7968,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
3388,
24409,
33411,
366,
12332,
88,
1,
796,
705,
79,
8083,
6,
5357,
366,
24461,
1,
796,
705,
40503,
8966,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4279,
318,
262,
7698,
7459,
6164,
286,
350,
8083,
7968,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
3388,
24409,
33411,
366,
12332,
88,
1,
796,
705,
79,
8083,
6,
5357,
366,
24461,
1,
796,
705,
40503,
8966,
6
] |
what is the arrival time in SAN FRANCISCO for the 755 flight leaving WASHINGTON | SELECT DISTINCT flight.arrival_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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.departure_time = 755 AND flight.to_airport = AIRPORT_SERVICE... | [
10919,
318,
262,
10325,
640,
287,
37376,
8782,
20940,
1797,
8220,
329,
262,
767,
2816,
5474,
4305,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
283,
43171,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
10325,
640,
287,
37376,
8782,
20940,
1797,
8220,
329,
262,
767,
2816,
5474,
4305,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
283,
43171,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
6... |
What year was the No. 7 charts? | SELECT AVG(year) FROM table_name_32 WHERE charts = "no. 7" | [
2061,
614,
373,
262,
1400,
13,
767,
15907,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
15907,
796,
366,
3919,
13,
767,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
1400,
13,
767,
15907,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
15907,
796,
366,
3919,
13,
767,
1
] |
how many changes in patient 22204's weight last measured on the first hospital visit compared to the value first measured on the first hospital 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 = 22204 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartev... | [
4919,
867,
2458,
287,
5827,
2534,
18638,
338,
3463,
938,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2458,
287,
5827,
2534,
18638,
338,
3463,
938,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
... |
how many albums garnered chart positions ? | SELECT COUNT("album title") FROM table_203_77 WHERE NOT "chart positions" IS NULL | [
4919,
867,
16788,
29588,
8262,
6116,
5633,
46506,
327,
28270,
7203,
40916,
3670,
4943,
16034,
3084,
62,
22416,
62,
3324,
33411,
5626,
366,
40926,
6116,
1,
3180,
15697
] | [
1,
1,
1,
1,
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,
16788,
29588,
8262,
6116,
5633,
46506,
327,
28270,
7203,
40916,
3670,
4943,
16034,
3084,
62,
22416,
62,
3324,
33411,
5626,
366,
40926,
6116,
1,
3180,
15697
] |
Last year , who were the GSI 's for ASTRO 210 ? | SELECT DISTINCT student.firstname, student.lastname FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN gsi ON gsi.course_offering_id = course_offering.offering_id INNER JOIN student ON student.student_id = gsi.student_id INNER JOIN semester ON semester.semester_id = course... | [
5956,
614,
837,
508,
547,
262,
402,
11584,
705,
82,
329,
29273,
13252,
20064,
5633,
46506,
360,
8808,
1268,
4177,
3710,
13,
11085,
3672,
11,
3710,
13,
12957,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5956,
614,
837,
508,
547,
262,
402,
11584,
705,
82,
329,
29273,
13252,
20064,
5633,
46506,
360,
8808,
1268,
4177,
3710,
13,
11085,
3672,
11,
3710,
13,
12957,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,... |
Show minimal age from each job, I want to rank by the minimal age from high to low. | SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY MIN(age) DESC | [
15307,
10926,
2479,
422,
1123,
1693,
11,
314,
765,
284,
4279,
416,
262,
10926,
2479,
422,
1029,
284,
1877,
13,
46506,
1693,
11,
20625,
7,
496,
8,
16034,
7755,
44441,
11050,
1693,
38678,
11050,
20625,
7,
496,
8,
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,
1,
1
] | [
15307,
10926,
2479,
422,
1123,
1693,
11,
314,
765,
284,
4279,
416,
262,
10926,
2479,
422,
1029,
284,
1877,
13,
46506,
1693,
11,
20625,
7,
496,
8,
16034,
7755,
44441,
11050,
1693,
38678,
11050,
20625,
7,
496,
8,
22196,
34
] |
Can I take NERS 673 any semester ? | SELECT COUNT(*) > 0 FROM semester WHERE NOT semester IN (SELECT DISTINCT SEMESTERalias1.semester FROM course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias1 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND COURSEalias0.department = 'NERS' AND COURSEalias0.number =... | [
6090,
314,
1011,
399,
4877,
718,
4790,
597,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24878,
33411,
5626,
24878,
3268,
357,
46506,
360,
8808,
1268,
4177,
48603,
1546,
5781,
26011,
16,
13,
325,
6880,
353,
16034,
1781,
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... | [
6090,
314,
1011,
399,
4877,
718,
4790,
597,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24878,
33411,
5626,
24878,
3268,
357,
46506,
360,
8808,
1268,
4177,
48603,
1546,
5781,
26011,
16,
13,
325,
6880,
353,
16034,
1781,
7... |
what is the diameter (km) of feature of latitude 40.5s | SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S" | [
10919,
318,
262,
14753,
357,
13276,
8,
286,
3895,
286,
32477,
2319,
13,
20,
82,
46506,
14753,
834,
13276,
62,
16034,
3084,
62,
21940,
2079,
37688,
62,
22,
33411,
32477,
796,
366,
1821,
13,
20,
50,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14753,
357,
13276,
8,
286,
3895,
286,
32477,
2319,
13,
20,
82,
46506,
14753,
834,
13276,
62,
16034,
3084,
62,
21940,
2079,
37688,
62,
22,
33411,
32477,
796,
366,
1821,
13,
20,
50,
1
] |
which country has their total gdp as 9.5 billion and their gdp per capita as 1,531 ? | SELECT "country" FROM table_203_296 WHERE "total gdp (nominal)\n(billion us$)" = 9.5 AND "gdp per capita\n(us$, ppp)" = 1531 | [
4758,
1499,
468,
511,
2472,
308,
26059,
355,
860,
13,
20,
2997,
290,
511,
308,
26059,
583,
21344,
355,
352,
11,
20,
3132,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
27137,
33411,
366,
23350,
308,
26059,
357,
26601,
1292,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
468,
511,
2472,
308,
26059,
355,
860,
13,
20,
2997,
290,
511,
308,
26059,
583,
21344,
355,
352,
11,
20,
3132,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
27137,
33411,
366,
23350,
308,
26059,
357,
26601,
1292,
... |
What is the lowest value of Blank Ends when Stolen Ends is 7. | SELECT MIN(blank_ends) FROM table_1505809_2 WHERE stolen_ends = 7 | [
2061,
318,
262,
9016,
1988,
286,
31990,
46756,
618,
520,
8622,
46756,
318,
767,
13,
46506,
20625,
7,
27190,
62,
2412,
8,
16034,
3084,
62,
8628,
20,
34583,
62,
17,
33411,
9909,
62,
2412,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1988,
286,
31990,
46756,
618,
520,
8622,
46756,
318,
767,
13,
46506,
20625,
7,
27190,
62,
2412,
8,
16034,
3084,
62,
8628,
20,
34583,
62,
17,
33411,
9909,
62,
2412,
796,
767
] |
When the tie no was 1, what was the score? | SELECT "Score" FROM table_59470 WHERE "Tie no" = '1' | [
2215,
262,
9839,
645,
373,
352,
11,
644,
373,
262,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3270,
27790,
33411,
366,
51,
494,
645,
1,
796,
705,
16,
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
] | [
2215,
262,
9839,
645,
373,
352,
11,
644,
373,
262,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3270,
27790,
33411,
366,
51,
494,
645,
1,
796,
705,
16,
6
] |
What is the highest labour panel value with a cultural and educational panel greater than 1, a University of Dublin value greater than 0, and a total value less than 60? | SELECT MAX(labour_panel) FROM table_name_43 WHERE cultural_and_educational_panel > 1 AND university_of_dublin > 0 AND total < 60 | [
2061,
318,
262,
4511,
10515,
6103,
1988,
351,
257,
6467,
290,
9856,
6103,
3744,
621,
352,
11,
257,
2059,
286,
18220,
1988,
3744,
621,
657,
11,
290,
257,
2472,
1988,
1342,
621,
3126,
30,
46506,
25882,
7,
23912,
454,
62,
35330,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10515,
6103,
1988,
351,
257,
6467,
290,
9856,
6103,
3744,
621,
352,
11,
257,
2059,
286,
18220,
1988,
3744,
621,
657,
11,
290,
257,
2472,
1988,
1342,
621,
3126,
30,
46506,
25882,
7,
23912,
454,
62,
35330,
8,
160... |
What is the PA when the PF is 73? | SELECT MIN(pa) FROM table_29565601_2 WHERE pf = 73 | [
2061,
318,
262,
8147,
618,
262,
28223,
318,
8854,
30,
46506,
20625,
7,
8957,
8,
16034,
3084,
62,
25710,
37466,
486,
62,
17,
33411,
279,
69,
796,
8854
] | [
1,
1,
1,
1,
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,
8147,
618,
262,
28223,
318,
8854,
30,
46506,
20625,
7,
8957,
8,
16034,
3084,
62,
25710,
37466,
486,
62,
17,
33411,
279,
69,
796,
8854
] |
What's the smallest number of bronze medals that any one if the ensembles has? | SELECT MIN("Bronze Medals") FROM table_624 | [
2061,
338,
262,
18197,
1271,
286,
22101,
28057,
326,
597,
530,
611,
262,
551,
4428,
829,
468,
30,
46506,
20625,
7203,
18760,
2736,
42171,
4943,
16034,
3084,
62,
21,
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
] | [
2061,
338,
262,
18197,
1271,
286,
22101,
28057,
326,
597,
530,
611,
262,
551,
4428,
829,
468,
30,
46506,
20625,
7203,
18760,
2736,
42171,
4943,
16034,
3084,
62,
21,
1731
] |
How many years was lynn muscarella the high school principal and charlie wiltse the superintendent? | SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse" | [
2437,
867,
812,
373,
31432,
77,
1928,
6651,
8466,
262,
1029,
1524,
10033,
290,
1149,
14485,
266,
2326,
325,
262,
32958,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
9031,
22318,
3324,
62,
16,
33411,
1029,
62,
14347,
62,
1050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
373,
31432,
77,
1928,
6651,
8466,
262,
1029,
1524,
10033,
290,
1149,
14485,
266,
2326,
325,
262,
32958,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
9031,
22318,
3324,
62,
16,
33411,
1029,
62,
14347,
62,
1050,
... |
What is Left Office, when Party is Vacant (1999-2001)? | SELECT "Left Office" FROM table_76835 WHERE "Party" = 'vacant (1999-2001)' | [
2061,
318,
9578,
4452,
11,
618,
3615,
318,
25709,
415,
357,
18946,
12,
14585,
19427,
46506,
366,
18819,
4452,
1,
16034,
3084,
62,
30610,
2327,
33411,
366,
33553,
1,
796,
705,
85,
330,
415,
357,
18946,
12,
14585,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
9578,
4452,
11,
618,
3615,
318,
25709,
415,
357,
18946,
12,
14585,
19427,
46506,
366,
18819,
4452,
1,
16034,
3084,
62,
30610,
2327,
33411,
366,
33553,
1,
796,
705,
85,
330,
415,
357,
18946,
12,
14585,
33047
] |
Tags differing only by adding s (pluralization). | SELECT t1.TagName, t2.TagName FROM Tags AS t1 INNER JOIN Tags AS t2 ON (t2.TagName = t1.TagName + 's') | [
36142,
28742,
691,
416,
4375,
264,
357,
489,
1523,
1634,
737,
46506,
256,
16,
13,
24835,
5376,
11,
256,
17,
13,
24835,
5376,
16034,
44789,
7054,
256,
16,
3268,
21479,
32357,
1268,
44789,
7054,
256,
17,
6177,
357,
83,
17,
13,
24835,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36142,
28742,
691,
416,
4375,
264,
357,
489,
1523,
1634,
737,
46506,
256,
16,
13,
24835,
5376,
11,
256,
17,
13,
24835,
5376,
16034,
44789,
7054,
256,
16,
3268,
21479,
32357,
1268,
44789,
7054,
256,
17,
6177,
357,
83,
17,
13,
24835,
... |
When falcons are the nickname what is the type? | SELECT "Type" FROM table_28488 WHERE "Nickname" = 'Falcons' | [
2215,
24215,
5936,
389,
262,
21814,
644,
318,
262,
2099,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
2078,
33646,
33411,
366,
23609,
3672,
1,
796,
705,
41129,
5936,
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
] | [
2215,
24215,
5936,
389,
262,
21814,
644,
318,
262,
2099,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
2078,
33646,
33411,
366,
23609,
3672,
1,
796,
705,
41129,
5936,
6
] |
What is the home team score that played at Kardinia Park? | SELECT "Home team score" FROM table_53060 WHERE "Venue" = 'kardinia park' | [
2061,
318,
262,
1363,
1074,
4776,
326,
2826,
379,
37875,
43168,
3250,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
38612,
1899,
33411,
366,
37522,
518,
1,
796,
705,
74,
446,
43168,
3952,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
1074,
4776,
326,
2826,
379,
37875,
43168,
3250,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
38612,
1899,
33411,
366,
37522,
518,
1,
796,
705,
74,
446,
43168,
3952,
6
] |
How many picks are there for defensive back for rounds larger than 11? | SELECT COUNT(pick) FROM table_name_23 WHERE position = "defensive back" AND round > 11 | [
2437,
867,
11103,
389,
612,
329,
6110,
736,
329,
9196,
4025,
621,
1367,
30,
46506,
327,
28270,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
2292,
796,
366,
4299,
2021,
736,
1,
5357,
2835,
1875,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
11103,
389,
612,
329,
6110,
736,
329,
9196,
4025,
621,
1367,
30,
46506,
327,
28270,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
2292,
796,
366,
4299,
2021,
736,
1,
5357,
2835,
1875,
1367
] |
What is the name of the perpetrator with the biggest weight. | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
33599,
351,
262,
4094,
3463,
13,
46506,
309,
16,
13,
5376,
16034,
661,
7054,
309,
16,
32357,
1268,
33599,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
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,
1
] | [
2061,
318,
262,
1438,
286,
262,
33599,
351,
262,
4094,
3463,
13,
46506,
309,
16,
13,
5376,
16034,
661,
7054,
309,
16,
32357,
1268,
33599,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
38678,
1... |
What is the Winning score in 1965? | SELECT "Winning score" FROM table_39387 WHERE "Year" = '1965' | [
2061,
318,
262,
40983,
4776,
287,
17672,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
2670,
32220,
33411,
366,
17688,
1,
796,
705,
45271,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
40983,
4776,
287,
17672,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
2670,
32220,
33411,
366,
17688,
1,
796,
705,
45271,
6
] |
how did during the last year patient 025-51835 first get admitted to the hospital? | SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '025-51835' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.hospitaladmittime LIMIT 1 | [
4919,
750,
1141,
262,
938,
614,
5827,
657,
1495,
12,
44085,
2327,
717,
651,
6848,
284,
262,
4436,
30,
46506,
5827,
13,
49257,
324,
24883,
1668,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
36629,
12,
44085,
2327,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
750,
1141,
262,
938,
614,
5827,
657,
1495,
12,
44085,
2327,
717,
651,
6848,
284,
262,
4436,
30,
46506,
5827,
13,
49257,
324,
24883,
1668,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
36629,
12,
44085,
2327,
6,
... |
Which years have an Area of rangitoto? | SELECT years FROM table_name_16 WHERE area = "rangitoto" | [
13828,
812,
423,
281,
9498,
286,
28077,
270,
2069,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
1433,
33411,
1989,
796,
366,
36985,
270,
2069,
1
] | [
1,
1,
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,
812,
423,
281,
9498,
286,
28077,
270,
2069,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
1433,
33411,
1989,
796,
366,
36985,
270,
2069,
1
] |
what is the number of medicare patients who had clofarabine intravenous infusion? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicare" AND procedures.short_title = "IV infusion clofarabine" | [
10919,
318,
262,
1271,
286,
6924,
533,
3871,
508,
550,
537,
1659,
283,
397,
500,
45840,
516,
35547,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
1672... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6924,
533,
3871,
508,
550,
537,
1659,
283,
397,
500,
45840,
516,
35547,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
1672... |
Which previous conference is associated with Penn school? | SELECT "Previous Conference" FROM table_71236 WHERE "School" = 'penn' | [
13828,
2180,
4495,
318,
3917,
351,
6595,
1524,
30,
46506,
366,
21448,
8785,
1,
16034,
3084,
62,
49517,
2623,
33411,
366,
26130,
1,
796,
705,
79,
1697,
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,
2180,
4495,
318,
3917,
351,
6595,
1524,
30,
46506,
366,
21448,
8785,
1,
16034,
3084,
62,
49517,
2623,
33411,
366,
26130,
1,
796,
705,
79,
1697,
6
] |
What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? | SELECT "Population (millions, 2011)" FROM table_24458 WHERE "GDP (nominal) (billions USD)" = '4' | [
2061,
318,
262,
3265,
287,
5242,
329,
2813,
810,
262,
12396,
357,
26601,
1292,
8,
357,
35546,
507,
11403,
8,
318,
604,
30,
46506,
366,
45251,
357,
17805,
507,
11,
2813,
16725,
16034,
3084,
62,
1731,
29334,
33411,
366,
38,
6322,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3265,
287,
5242,
329,
2813,
810,
262,
12396,
357,
26601,
1292,
8,
357,
35546,
507,
11403,
8,
318,
604,
30,
46506,
366,
45251,
357,
17805,
507,
11,
2813,
16725,
16034,
3084,
62,
1731,
29334,
33411,
366,
38,
6322,
357,
... |
Show names of technicians who are assigned to repair machines with value point more than 70, and count them by a bar chart, could you order in asc by the bars? | SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id WHERE T2.value_points > 70 GROUP BY Name ORDER BY Name | [
15307,
3891,
286,
33519,
508,
389,
8686,
284,
9185,
8217,
351,
1988,
966,
517,
621,
4317,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1502,
287,
10570,
416,
262,
9210,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
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... | [
15307,
3891,
286,
33519,
508,
389,
8686,
284,
9185,
8217,
351,
1988,
966,
517,
621,
4317,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1502,
287,
10570,
416,
262,
9210,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
... |
what is the maximum cost to the hospital which involves comp-oth vasc dev/graft in this year. | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'comp-oth vasc dev/graft')) AND DATETIME(cost.chargetime, 'start... | [
10919,
318,
262,
5415,
1575,
284,
262,
4436,
543,
9018,
552,
12,
849,
410,
3372,
1614,
14,
70,
1617,
287,
428,
614,
13,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
1575,
284,
262,
4436,
543,
9018,
552,
12,
849,
410,
3372,
1614,
14,
70,
1617,
287,
428,
614,
13,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
160... |
A bar chart about what are the names and number of hours spent training for each player who trains for less than 1500 hours?, and display in descending by the y axis. | SELECT pName, HS FROM Player WHERE HS < 1500 ORDER BY HS DESC | [
32,
2318,
8262,
546,
644,
389,
262,
3891,
290,
1271,
286,
2250,
3377,
3047,
329,
1123,
2137,
508,
13404,
329,
1342,
621,
20007,
2250,
21747,
290,
3359,
287,
31491,
416,
262,
331,
16488,
13,
46506,
279,
5376,
11,
18070,
16034,
7853,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
546,
644,
389,
262,
3891,
290,
1271,
286,
2250,
3377,
3047,
329,
1123,
2137,
508,
13404,
329,
1342,
621,
20007,
2250,
21747,
290,
3359,
287,
31491,
416,
262,
331,
16488,
13,
46506,
279,
5376,
11,
18070,
16034,
7853,
33... |
What's the series number of the episode directed by Skipp Sudduth? | SELECT "No. in series" FROM table_2900 WHERE "Directed by" = 'Skipp Sudduth' | [
2061,
338,
262,
2168,
1271,
286,
262,
4471,
7924,
416,
3661,
3974,
311,
4185,
1071,
30,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
1959,
405,
33411,
366,
13470,
276,
416,
1,
796,
705,
15739,
3974,
311,
4185,
1071,
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,
338,
262,
2168,
1271,
286,
262,
4471,
7924,
416,
3661,
3974,
311,
4185,
1071,
30,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
1959,
405,
33411,
366,
13470,
276,
416,
1,
796,
705,
15739,
3974,
311,
4185,
1071,
6
] |
Which easiest class can I take to fulfill the Core requirement ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co... | [
13828,
16638,
1398,
460,
314,
1011,
284,
14658,
262,
7231,
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,
17319,
13,
1818,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16638,
1398,
460,
314,
1011,
284,
14658,
262,
7231,
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,
17319,
13,
1818,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.