instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
who directed the most cartoons ? | SELECT "directed by" FROM table_201_39 GROUP BY "directed by" ORDER BY COUNT(*) DESC LIMIT 1 | [
8727,
7924,
262,
749,
30070,
5633,
46506,
366,
34762,
416,
1,
16034,
3084,
62,
1264,
62,
2670,
44441,
11050,
366,
34762,
416,
1,
38678,
11050,
327,
28270,
7,
28104,
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
] | [
8727,
7924,
262,
749,
30070,
5633,
46506,
366,
34762,
416,
1,
16034,
3084,
62,
1264,
62,
2670,
44441,
11050,
366,
34762,
416,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
find the flights from BOSTON to SAN FRANCISCO leaving after 1800 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.departure_time > 1800 AND flight.to_airport = AIRPORT_SERVICE_1... | [
19796,
262,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
4305,
706,
21431,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
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... | [
19796,
262,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
4305,
706,
21431,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,... |
Which tracking method supports MySQL databases and is named Open Web Analytics? | SELECT "Tracking Method" FROM table_45900 WHERE "Supported databases" = 'mysql' AND "Name" = 'open web analytics' | [
13828,
9646,
2446,
6971,
33476,
20083,
290,
318,
3706,
4946,
5313,
30437,
30,
46506,
366,
2898,
5430,
11789,
1,
16034,
3084,
62,
2231,
12865,
33411,
366,
48181,
20083,
1,
796,
705,
28744,
13976,
6,
5357,
366,
5376,
1,
796,
705,
9654,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9646,
2446,
6971,
33476,
20083,
290,
318,
3706,
4946,
5313,
30437,
30,
46506,
366,
2898,
5430,
11789,
1,
16034,
3084,
62,
2231,
12865,
33411,
366,
48181,
20083,
1,
796,
705,
28744,
13976,
6,
5357,
366,
5376,
1,
796,
705,
9654,
... |
Show all the faculty ranks and the number of students advised by each rank. Visualize by bar chart. | SELECT Rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.Rank | [
15307,
477,
262,
12829,
9803,
290,
262,
1271,
286,
2444,
13030,
416,
1123,
4279,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
32357,
1268,
13613,
7054,
309,
17,
6177,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
262,
12829,
9803,
290,
262,
1271,
286,
2444,
13030,
416,
1123,
4279,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
32357,
1268,
13613,
7054,
309,
17,
6177,
309,
... |
What was Todd Hamilton's to par? | SELECT "To par" FROM table_71395 WHERE "Player" = 'todd hamilton' | [
2061,
373,
14377,
11582,
338,
284,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
50055,
3865,
33411,
366,
14140,
1,
796,
705,
83,
5088,
8891,
9044,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
14377,
11582,
338,
284,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
50055,
3865,
33411,
366,
14140,
1,
796,
705,
83,
5088,
8891,
9044,
6
] |
What is the score when the date is December 14, 1985? | SELECT "Score" FROM table_68391 WHERE "Date" = 'december 14, 1985' | [
2061,
318,
262,
4776,
618,
262,
3128,
318,
3426,
1478,
11,
12863,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3104,
37710,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
1478,
11,
12863,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
618,
262,
3128,
318,
3426,
1478,
11,
12863,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3104,
37710,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
1478,
11,
12863,
6
] |
What are the winnings for the season where the average finish is 11.1? | SELECT "Winnings" FROM table_20693 WHERE "Avg. Finish" = '11.1' | [
2061,
389,
262,
1592,
23400,
329,
262,
1622,
810,
262,
2811,
5461,
318,
1367,
13,
16,
30,
46506,
366,
54,
3732,
654,
1,
16034,
3084,
62,
1238,
48528,
33411,
366,
48997,
13,
32585,
1,
796,
705,
1157,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1592,
23400,
329,
262,
1622,
810,
262,
2811,
5461,
318,
1367,
13,
16,
30,
46506,
366,
54,
3732,
654,
1,
16034,
3084,
62,
1238,
48528,
33411,
366,
48997,
13,
32585,
1,
796,
705,
1157,
13,
16,
6
] |
what is the average age for each dorm and what are the names of each dorm? | SELECT dorm_name, AVG(T1.Age) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_name | [
10919,
318,
262,
2811,
2479,
329,
1123,
18586,
290,
644,
389,
262,
3891,
286,
1123,
18586,
30,
46506,
18586,
62,
3672,
11,
35224,
7,
51,
16,
13,
23396,
8,
16034,
13613,
7054,
309,
16,
32357,
1268,
18965,
62,
259,
7054,
309,
17,
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... | [
10919,
318,
262,
2811,
2479,
329,
1123,
18586,
290,
644,
389,
262,
3891,
286,
1123,
18586,
30,
46506,
18586,
62,
3672,
11,
35224,
7,
51,
16,
13,
23396,
8,
16034,
13613,
7054,
309,
16,
32357,
1268,
18965,
62,
259,
7054,
309,
17,
6177... |
In what area is torbay school with a state authority? | SELECT area FROM table_name_87 WHERE authority = "state" AND name = "torbay school" | [
818,
644,
1989,
318,
7332,
24406,
1524,
351,
257,
1181,
4934,
30,
46506,
1989,
16034,
3084,
62,
3672,
62,
5774,
33411,
4934,
796,
366,
5219,
1,
5357,
1438,
796,
366,
13165,
24406,
1524,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1989,
318,
7332,
24406,
1524,
351,
257,
1181,
4934,
30,
46506,
1989,
16034,
3084,
62,
3672,
62,
5774,
33411,
4934,
796,
366,
5219,
1,
5357,
1438,
796,
366,
13165,
24406,
1524,
1
] |
Among patients treated with main drug, how many of them had a lab test for ld body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "MAIN" AND lab.label = "LD, Body Fluid" | [
14311,
3871,
5716,
351,
1388,
2563,
11,
703,
867,
286,
606,
550,
257,
2248,
1332,
329,
300,
67,
1767,
11711,
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... | [
14311,
3871,
5716,
351,
1388,
2563,
11,
703,
867,
286,
606,
550,
257,
2248,
1332,
329,
300,
67,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... |
How big was the crowd in game that featured the visiting team of north melbourne? | SELECT "Crowd" FROM table_57825 WHERE "Away team" = 'north melbourne' | [
2437,
1263,
373,
262,
4315,
287,
983,
326,
8096,
262,
10013,
1074,
286,
5093,
7758,
12544,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
38907,
1495,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
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
] | [
2437,
1263,
373,
262,
4315,
287,
983,
326,
8096,
262,
10013,
1074,
286,
5093,
7758,
12544,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
38907,
1495,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
Show the outcome code of mailshots along with the number of mailshots in each outcome code. | SELECT outcome_code, COUNT(*) FROM mailshot_customers GROUP BY outcome_code | [
15307,
262,
8055,
2438,
286,
6920,
20910,
1863,
351,
262,
1271,
286,
6920,
20910,
287,
1123,
8055,
2438,
13,
46506,
8055,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
6920,
9442,
62,
23144,
364,
44441,
11050,
8055,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
8055,
2438,
286,
6920,
20910,
1863,
351,
262,
1271,
286,
6920,
20910,
287,
1123,
8055,
2438,
13,
46506,
8055,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
6920,
9442,
62,
23144,
364,
44441,
11050,
8055,
62,
8189
] |
What's the report on Penske Racing winning while the pole position was Al Unser? | SELECT COUNT(report) FROM table_10527215_3 WHERE pole_position = "Al Unser" AND winning_team = "Penske Racing" | [
2061,
338,
262,
989,
319,
38740,
365,
14954,
5442,
981,
262,
16825,
2292,
373,
978,
791,
2655,
30,
46506,
327,
28270,
7,
13116,
8,
16034,
3084,
62,
13348,
1983,
23349,
62,
18,
33411,
16825,
62,
9150,
796,
366,
2348,
791,
2655,
1,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
989,
319,
38740,
365,
14954,
5442,
981,
262,
16825,
2292,
373,
978,
791,
2655,
30,
46506,
327,
28270,
7,
13116,
8,
16034,
3084,
62,
13348,
1983,
23349,
62,
18,
33411,
16825,
62,
9150,
796,
366,
2348,
791,
2655,
1,
53... |
Which Date has a Competition of pl group b, and Opponents of police, and a Venue of selayang municipal council stadium? | SELECT date FROM table_name_52 WHERE competition = "pl group b" AND opponents = "police" AND venue = "selayang municipal council stadium" | [
13828,
7536,
468,
257,
27348,
286,
458,
1448,
275,
11,
290,
9385,
3906,
286,
1644,
11,
290,
257,
9932,
518,
286,
384,
10724,
648,
13474,
6745,
10308,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4309,
33411,
5449,
796,
366,
489,
1448,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
468,
257,
27348,
286,
458,
1448,
275,
11,
290,
9385,
3906,
286,
1644,
11,
290,
257,
9932,
518,
286,
384,
10724,
648,
13474,
6745,
10308,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4309,
33411,
5449,
796,
366,
489,
1448,
... |
Show the price ranges of hotels with 5 star ratings. | SELECT price_range FROM hotels WHERE star_rating_code = "5" | [
15307,
262,
2756,
16069,
286,
18505,
351,
642,
3491,
10109,
13,
46506,
2756,
62,
9521,
16034,
18505,
33411,
3491,
62,
8821,
62,
8189,
796,
366,
20,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2756,
16069,
286,
18505,
351,
642,
3491,
10109,
13,
46506,
2756,
62,
9521,
16034,
18505,
33411,
3491,
62,
8821,
62,
8189,
796,
366,
20,
1
] |
High-Scoring Questions with Accepted Answers (Tutorial). | SELECT p.Title, p.Id AS "post_link", p.Score, a.Score AS "Accepted Score", u.DisplayName AS "Asker", au.Id AS "user_link" FROM Posts AS p JOIN Posts AS a ON p.AcceptedAnswerId = a.Id JOIN Users AS u ON p.OwnerUserId = u.Id JOIN Users AS au ON a.OwnerUserId = au.Id WHERE p.PostTypeId = 1 AND p.Tags LIKE ('%java%') AND a... | [
11922,
12,
3351,
3255,
20396,
351,
21699,
276,
42612,
357,
51,
44917,
737,
46506,
279,
13,
19160,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
257,
13,
26595,
7054,
366,
38855,
276,
15178,
1600,
334,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
11922,
12,
3351,
3255,
20396,
351,
21699,
276,
42612,
357,
51,
44917,
737,
46506,
279,
13,
19160,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
257,
13,
26595,
7054,
366,
38855,
276,
15178,
1600,
334,
13,
2... |
What's the date when Yelena Isinbayeva for Russia was in Beijing, China? | SELECT "Date" FROM table_66262 WHERE "Nation" = 'russia' AND "Place" = 'beijing, china' AND "Athlete" = 'yelena isinbayeva' | [
2061,
338,
262,
3128,
618,
28876,
8107,
1148,
259,
24406,
48855,
329,
3284,
373,
287,
11618,
11,
2807,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2791,
29119,
33411,
366,
46108,
1,
796,
705,
81,
31269,
6,
5357,
366,
27271,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
338,
262,
3128,
618,
28876,
8107,
1148,
259,
24406,
48855,
329,
3284,
373,
287,
11618,
11,
2807,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2791,
29119,
33411,
366,
46108,
1,
796,
705,
81,
31269,
6,
5357,
366,
27271,
1,
796,
7... |
What's the percentage of EU average GDP (PPP) in the region where per capita is 2519 | SELECT "% of EU average GDP (PPP)" FROM table_25588 WHERE "\u20ac per capita (2005)" = '2519' | [
2061,
338,
262,
5873,
286,
4576,
2811,
12396,
357,
10246,
47,
8,
287,
262,
3814,
810,
583,
21344,
318,
1679,
1129,
46506,
36521,
286,
4576,
2811,
12396,
357,
10246,
47,
16725,
16034,
3084,
62,
1495,
39118,
33411,
37082,
84,
1238,
330,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5873,
286,
4576,
2811,
12396,
357,
10246,
47,
8,
287,
262,
3814,
810,
583,
21344,
318,
1679,
1129,
46506,
36521,
286,
4576,
2811,
12396,
357,
10246,
47,
16725,
16034,
3084,
62,
1495,
39118,
33411,
37082,
84,
1238,
330,
... |
in this year, when did patient 65401 last visit the hospital? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 65401 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime DESC LIMIT 1 | [
259,
428,
614,
11,
618,
750,
5827,
718,
4051,
486,
938,
3187,
262,
4436,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
718,
4051,
486,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
324... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
428,
614,
11,
618,
750,
5827,
718,
4051,
486,
938,
3187,
262,
4436,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
718,
4051,
486,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
324... |
What time has jules croft as the rider? | SELECT time FROM table_name_15 WHERE rider = "jules croft" | [
2061,
640,
468,
474,
5028,
6763,
701,
355,
262,
17876,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
1314,
33411,
17876,
796,
366,
73,
5028,
6763,
701,
1
] | [
1,
1,
1,
1,
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,
468,
474,
5028,
6763,
701,
355,
262,
17876,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
1314,
33411,
17876,
796,
366,
73,
5028,
6763,
701,
1
] |
When was Inki and the Minah Bird released? | SELECT "Release date" FROM table_64289 WHERE "Title" = 'inki and the minah bird' | [
2215,
373,
554,
4106,
290,
262,
1855,
993,
14506,
2716,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
2414,
27693,
33411,
366,
19160,
1,
796,
705,
38799,
290,
262,
949,
993,
6512,
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
] | [
2215,
373,
554,
4106,
290,
262,
1855,
993,
14506,
2716,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
2414,
27693,
33411,
366,
19160,
1,
796,
705,
38799,
290,
262,
949,
993,
6512,
6
] |
Given a line chart about the maximum price of wines for each year. | SELECT Year, MAX(Price) FROM wine GROUP BY Year | [
15056,
257,
1627,
8262,
546,
262,
5415,
2756,
286,
30680,
329,
1123,
614,
13,
46506,
6280,
11,
25882,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15056,
257,
1627,
8262,
546,
262,
5415,
2756,
286,
30680,
329,
1123,
614,
13,
46506,
6280,
11,
25882,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280
] |
What country has an LP format, catalog s 31503? | SELECT "Country" FROM table_64154 WHERE "Format" = 'lp' AND "Catalog" = 's 31503' | [
2061,
1499,
468,
281,
18470,
5794,
11,
18388,
264,
3261,
31938,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2414,
21526,
33411,
366,
26227,
1,
796,
705,
34431,
6,
5357,
366,
49015,
1,
796,
705,
82,
3261,
31938,
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,
1499,
468,
281,
18470,
5794,
11,
18388,
264,
3261,
31938,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2414,
21526,
33411,
366,
26227,
1,
796,
705,
34431,
6,
5357,
366,
49015,
1,
796,
705,
82,
3261,
31938,
6
] |
What was the event with leonardo chocolate in 2009? | SELECT "Event" FROM table_56893 WHERE "Date" = '2009' AND "Opponent" = 'leonardo chocolate' | [
2061,
373,
262,
1785,
351,
443,
261,
13109,
11311,
287,
3717,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
49211,
6052,
33411,
366,
10430,
1,
796,
705,
10531,
6,
5357,
366,
27524,
3471,
1,
796,
705,
38970,
13109,
11311,
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,
373,
262,
1785,
351,
443,
261,
13109,
11311,
287,
3717,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
49211,
6052,
33411,
366,
10430,
1,
796,
705,
10531,
6,
5357,
366,
27524,
3471,
1,
796,
705,
38970,
13109,
11311,
6
] |
Name the lowest Green with a Year larger than 2010, and a Labour larger than 29? Question 3 | SELECT MIN("Green") FROM table_13700 WHERE "Year" > '2010' AND "Labour" > '29' | [
5376,
262,
9016,
3469,
351,
257,
6280,
4025,
621,
3050,
11,
290,
257,
7179,
4025,
621,
2808,
30,
18233,
513,
46506,
20625,
7203,
13719,
4943,
16034,
3084,
62,
1485,
9879,
33411,
366,
17688,
1,
1875,
705,
10333,
6,
5357,
366,
32475,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
3469,
351,
257,
6280,
4025,
621,
3050,
11,
290,
257,
7179,
4025,
621,
2808,
30,
18233,
513,
46506,
20625,
7203,
13719,
4943,
16034,
3084,
62,
1485,
9879,
33411,
366,
17688,
1,
1875,
705,
10333,
6,
5357,
366,
32475,
1,... |
Which result did the Republican have with the incumbent, Billy Tauzin? | SELECT "Result" FROM table_18178 WHERE "Party" = 'Republican' AND "Incumbent" = 'Billy Tauzin' | [
13828,
1255,
750,
262,
3415,
423,
351,
262,
23526,
11,
15890,
36849,
42140,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1507,
23188,
33411,
366,
33553,
1,
796,
705,
25777,
6,
5357,
366,
25517,
2178,
298,
1,
796,
705,
49640,
36849,
4214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
262,
3415,
423,
351,
262,
23526,
11,
15890,
36849,
42140,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1507,
23188,
33411,
366,
33553,
1,
796,
705,
25777,
6,
5357,
366,
25517,
2178,
298,
1,
796,
705,
49640,
36849,
4214... |
when is patient 006-81423's per iv flush: upper arm r 20 gauge intake the first time until 1959 days ago? | SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-81423')) AND intakeoutput.cellpath LIKE '%intake%... | [
12518,
318,
5827,
3571,
21,
12,
23,
1415,
1954,
338,
583,
21628,
24773,
25,
6727,
3211,
374,
1160,
18266,
10337,
262,
717,
640,
1566,
23859,
1528,
2084,
30,
46506,
10337,
22915,
13,
600,
539,
22915,
2435,
16034,
10337,
22915,
33411,
103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
5827,
3571,
21,
12,
23,
1415,
1954,
338,
583,
21628,
24773,
25,
6727,
3211,
374,
1160,
18266,
10337,
262,
717,
640,
1566,
23859,
1528,
2084,
30,
46506,
10337,
22915,
13,
600,
539,
22915,
2435,
16034,
10337,
22915,
33411,
103... |
what is the number of patients whose procedure short title is hemodialysis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Hemodialysis" | [
10919,
318,
262,
1271,
286,
3871,
3025,
8771,
1790,
3670,
318,
339,
4666,
498,
3097,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
8771,
1790,
3670,
318,
339,
4666,
498,
3097,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
7... |
Whati s the format for the catalogno of st 491? | SELECT "Format" FROM table_36550 WHERE "Catalogno" = 'st 491' | [
2061,
72,
264,
262,
5794,
329,
262,
3797,
282,
2360,
78,
286,
336,
5125,
16,
30,
46506,
366,
26227,
1,
16034,
3084,
62,
2623,
22730,
33411,
366,
39075,
2360,
78,
1,
796,
705,
301,
5125,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
72,
264,
262,
5794,
329,
262,
3797,
282,
2360,
78,
286,
336,
5125,
16,
30,
46506,
366,
26227,
1,
16034,
3084,
62,
2623,
22730,
33411,
366,
39075,
2360,
78,
1,
796,
705,
301,
5125,
16,
6
] |
Find the number of departments in each school. Visualize by pie chart. | SELECT SCHOOL_CODE, COUNT(DISTINCT DEPT_NAME) FROM DEPARTMENT | [
16742,
262,
1271,
286,
13346,
287,
1123,
1524,
13,
15612,
1096,
416,
2508,
8262,
13,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
5550,
11571,
62,
20608,
8,
16034,
5550,
30709,
10979
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
13346,
287,
1123,
1524,
13,
15612,
1096,
416,
2508,
8262,
13,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
5550,
11571,
62,
20608,
8,
16034,
5550,
30709,
10979
] |
Which surface had Yew-Ming Si as a partner? | SELECT "Surface" FROM table_57193 WHERE "Partner" = 'yew-ming si' | [
13828,
4417,
550,
575,
413,
12,
44,
278,
15638,
355,
257,
5212,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
3553,
24943,
33411,
366,
7841,
1008,
1,
796,
705,
88,
413,
12,
2229,
33721,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4417,
550,
575,
413,
12,
44,
278,
15638,
355,
257,
5212,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
3553,
24943,
33411,
366,
7841,
1008,
1,
796,
705,
88,
413,
12,
2229,
33721,
6
] |
What is the 2nd leg for the team 2 Milano? | SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano" | [
2061,
318,
262,
362,
358,
1232,
329,
262,
1074,
362,
4460,
5733,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
4761,
33411,
1074,
62,
17,
796,
366,
25433,
5733,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
262,
1074,
362,
4460,
5733,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
4761,
33411,
1074,
62,
17,
796,
366,
25433,
5733,
1
] |
Visualize a bar chart for how many rooms cost more than 120, for each different decor?, show bar from high to low order please. | SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor ORDER BY decor DESC | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
9519,
1575,
517,
621,
7982,
11,
329,
1123,
1180,
11705,
21747,
905,
2318,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
42043,
33411,
2779,
18124,
1875,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
9519,
1575,
517,
621,
7982,
11,
329,
1123,
1180,
11705,
21747,
905,
2318,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
42043,
33411,
2779,
18124,
1875,... |
How tall is the basket ball player lior eliyahu in meters? | SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu" | [
2437,
7331,
318,
262,
7988,
2613,
2137,
300,
1504,
1288,
7745,
12196,
287,
10700,
30,
46506,
6001,
834,
76,
62,
16034,
3084,
62,
1954,
3134,
405,
3553,
62,
19,
33411,
2137,
796,
366,
43,
1504,
2574,
7745,
12196,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7331,
318,
262,
7988,
2613,
2137,
300,
1504,
1288,
7745,
12196,
287,
10700,
30,
46506,
6001,
834,
76,
62,
16034,
3084,
62,
1954,
3134,
405,
3553,
62,
19,
33411,
2137,
796,
366,
43,
1504,
2574,
7745,
12196,
1
] |
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8? | SELECT "Year" FROM table_43568 WHERE "Win %" = '50.00%' AND "Matches" > '14' AND "Wins" > '8' | [
2061,
614,
373,
262,
7178,
5873,
2026,
13,
405,
7441,
351,
517,
621,
1478,
7466,
11,
290,
7864,
517,
621,
807,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
40064,
3104,
33411,
366,
16643,
4064,
1,
796,
705,
1120,
13,
405,
4,
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,
1,
1,
1
] | [
2061,
614,
373,
262,
7178,
5873,
2026,
13,
405,
7441,
351,
517,
621,
1478,
7466,
11,
290,
7864,
517,
621,
807,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
40064,
3104,
33411,
366,
16643,
4064,
1,
796,
705,
1120,
13,
405,
4,
6,
5357... |
how many nations received silver medals ? | SELECT COUNT("nation") FROM table_203_739 WHERE "silver" <> 0 | [
4919,
867,
7027,
2722,
8465,
28057,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
22,
2670,
33411,
366,
40503,
1,
1279,
29,
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
] | [
4919,
867,
7027,
2722,
8465,
28057,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
22,
2670,
33411,
366,
40503,
1,
1279,
29,
657
] |
What period were conscituency contested is aljunied grc? | SELECT period_in_office FROM table_1889233_2 WHERE constituency_contested = "Aljunied GRC" | [
2061,
2278,
547,
762,
66,
34272,
1387,
24163,
318,
435,
29741,
798,
1036,
66,
30,
46506,
2278,
62,
259,
62,
31810,
16034,
3084,
62,
1507,
4531,
25429,
62,
17,
33411,
28280,
62,
3642,
7287,
796,
366,
2348,
29741,
798,
402,
7397,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2278,
547,
762,
66,
34272,
1387,
24163,
318,
435,
29741,
798,
1036,
66,
30,
46506,
2278,
62,
259,
62,
31810,
16034,
3084,
62,
1507,
4531,
25429,
62,
17,
33411,
28280,
62,
3642,
7287,
796,
366,
2348,
29741,
798,
402,
7397,
1
] |
When interplanet janet is the episode title who is the music by? | SELECT "Music by" FROM table_22806 WHERE "Episode title" = 'Interplanet Janet' | [
2215,
987,
47427,
42897,
316,
318,
262,
4471,
3670,
508,
318,
262,
2647,
416,
30,
46506,
366,
22648,
416,
1,
16034,
3084,
62,
1828,
37988,
33411,
366,
23758,
3670,
1,
796,
705,
9492,
47427,
28111,
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
] | [
2215,
987,
47427,
42897,
316,
318,
262,
4471,
3670,
508,
318,
262,
2647,
416,
30,
46506,
366,
22648,
416,
1,
16034,
3084,
62,
1828,
37988,
33411,
366,
23758,
3670,
1,
796,
705,
9492,
47427,
28111,
6
] |
What location had a final score of W 30 5? | SELECT "Location" FROM table_52772 WHERE "Final Score" = 'w 30 – 5' | [
2061,
4067,
550,
257,
2457,
4776,
286,
370,
1542,
642,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
20,
1983,
4761,
33411,
366,
19006,
15178,
1,
796,
705,
86,
1542,
784,
642,
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,
4067,
550,
257,
2457,
4776,
286,
370,
1542,
642,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
20,
1983,
4761,
33411,
366,
19006,
15178,
1,
796,
705,
86,
1542,
784,
642,
6
] |
What date was the score 1-8? | SELECT "Date" FROM table_48681 WHERE "Score" = '1-8' | [
2061,
3128,
373,
262,
4776,
352,
12,
23,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2780,
48564,
33411,
366,
26595,
1,
796,
705,
16,
12,
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
] | [
2061,
3128,
373,
262,
4776,
352,
12,
23,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2780,
48564,
33411,
366,
26595,
1,
796,
705,
16,
12,
23,
6
] |
Who had highest assists in game against Utah? | SELECT high_assists FROM table_28768469_5 WHERE team = "Utah" | [
8241,
550,
4511,
13648,
287,
983,
1028,
10202,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
27800,
41580,
3388,
62,
20,
33411,
1074,
796,
366,
44350,
1
] | [
1,
1,
1,
1,
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,
550,
4511,
13648,
287,
983,
1028,
10202,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
27800,
41580,
3388,
62,
20,
33411,
1074,
796,
366,
44350,
1
] |
What date has a loan expires date of end of the season, and a Position of mf? | SELECT date FROM table_name_87 WHERE loan_expires = "end of the season" AND position = "mf" | [
2061,
3128,
468,
257,
8063,
27396,
3128,
286,
886,
286,
262,
1622,
11,
290,
257,
23158,
286,
285,
69,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5774,
33411,
8063,
62,
11201,
2387,
796,
366,
437,
286,
262,
1622,
1,
5357,
2292,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
468,
257,
8063,
27396,
3128,
286,
886,
286,
262,
1622,
11,
290,
257,
23158,
286,
285,
69,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5774,
33411,
8063,
62,
11201,
2387,
796,
366,
437,
286,
262,
1622,
1,
5357,
2292,
796,... |
for goals less than 48 and 8 games played what is the count of losses? | SELECT MAX(losses) FROM table_name_19 WHERE games_played = 8 AND goals_for < 48 | [
1640,
4661,
1342,
621,
4764,
290,
807,
1830,
2826,
644,
318,
262,
954,
286,
9089,
30,
46506,
25882,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
1830,
62,
21542,
796,
807,
5357,
4661,
62,
1640,
1279,
4764
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1640,
4661,
1342,
621,
4764,
290,
807,
1830,
2826,
644,
318,
262,
954,
286,
9089,
30,
46506,
25882,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
1830,
62,
21542,
796,
807,
5357,
4661,
62,
1640,
1279,
4764
] |
What is the captain's name of team Leeds United? | SELECT "Captain" FROM table_54325 WHERE "Team" = 'leeds united' | [
2061,
318,
262,
10654,
338,
1438,
286,
1074,
29293,
1578,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
20,
3559,
1495,
33411,
366,
15592,
1,
796,
705,
293,
5379,
16503,
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,
318,
262,
10654,
338,
1438,
286,
1074,
29293,
1578,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
20,
3559,
1495,
33411,
366,
15592,
1,
796,
705,
293,
5379,
16503,
6
] |
If the opponent is the Stampeders, what is the record? | SELECT "Record" FROM table_2968 WHERE "Opponent" = 'Stampeders' | [
1532,
262,
6125,
318,
262,
520,
13322,
364,
11,
644,
318,
262,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1959,
3104,
33411,
366,
27524,
3471,
1,
796,
705,
1273,
13322,
364,
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
] | [
1532,
262,
6125,
318,
262,
520,
13322,
364,
11,
644,
318,
262,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1959,
3104,
33411,
366,
27524,
3471,
1,
796,
705,
1273,
13322,
364,
6
] |
tell the score when the times gone was 75 | SELECT points_against FROM table_14070062_4 WHERE tries_against = "75" | [
33331,
262,
4776,
618,
262,
1661,
3750,
373,
5441,
46506,
2173,
62,
32826,
16034,
3084,
62,
1415,
2998,
405,
5237,
62,
19,
33411,
8404,
62,
32826,
796,
366,
2425,
1
] | [
1,
1,
1,
1,
1,
1,
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,
262,
4776,
618,
262,
1661,
3750,
373,
5441,
46506,
2173,
62,
32826,
16034,
3084,
62,
1415,
2998,
405,
5237,
62,
19,
33411,
8404,
62,
32826,
796,
366,
2425,
1
] |
What date had a versus of source: cricinfo.com? | SELECT "Date" FROM table_54709 WHERE "Versus" = 'source: cricinfo.com' | [
2061,
3128,
550,
257,
9051,
286,
2723,
25,
1067,
291,
10951,
13,
785,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4051,
31495,
33411,
366,
34947,
385,
1,
796,
705,
10459,
25,
1067,
291,
10951,
13,
785,
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
] | [
2061,
3128,
550,
257,
9051,
286,
2723,
25,
1067,
291,
10951,
13,
785,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4051,
31495,
33411,
366,
34947,
385,
1,
796,
705,
10459,
25,
1067,
291,
10951,
13,
785,
6
] |
What are the most points for Thomas Morgenstern with a distance less than 123.5 in 2nd and rank over 4? | SELECT MAX("Points") FROM table_39436 WHERE "2nd (m)" < '123.5' AND "Name" = 'thomas morgenstern' AND "Rank" > '4' | [
2061,
389,
262,
749,
2173,
329,
5658,
37417,
268,
301,
1142,
351,
257,
5253,
1342,
621,
17031,
13,
20,
287,
362,
358,
290,
4279,
625,
604,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
34626,
2623,
33411,
366,
17,
358,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
749,
2173,
329,
5658,
37417,
268,
301,
1142,
351,
257,
5253,
1342,
621,
17031,
13,
20,
287,
362,
358,
290,
4279,
625,
604,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
34626,
2623,
33411,
366,
17,
358,
357,
... |
What was the result for the friendly match competition? | SELECT res FROM table_name_49 WHERE competition = "friendly match" | [
2061,
373,
262,
1255,
329,
262,
8030,
2872,
5449,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
2920,
33411,
5449,
796,
366,
13120,
2872,
1
] | [
1,
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,
1255,
329,
262,
8030,
2872,
5449,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
2920,
33411,
5449,
796,
366,
13120,
2872,
1
] |
What position for jj gagiano? | SELECT "Position" FROM table_55641 WHERE "Player" = 'jj gagiano' | [
2061,
2292,
329,
474,
73,
32261,
10115,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2816,
42759,
33411,
366,
14140,
1,
796,
705,
41098,
32261,
10115,
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,
2292,
329,
474,
73,
32261,
10115,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2816,
42759,
33411,
366,
14140,
1,
796,
705,
41098,
32261,
10115,
6
] |
CLEANUP: find furigana that uses curly braces. | SELECT p.Id AS "post_link" FROM Posts AS p WHERE p.Body LIKE '%{ - - %' | [
29931,
1565,
8577,
25,
1064,
9230,
328,
2271,
326,
3544,
45731,
47241,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
33411,
279,
13,
25842,
34178,
705,
4,
90,
532,
532,
4064,
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
] | [
29931,
1565,
8577,
25,
1064,
9230,
328,
2271,
326,
3544,
45731,
47241,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
33411,
279,
13,
25842,
34178,
705,
4,
90,
532,
532,
4064,
6
] |
Name the least tied with games more than 70 and goals for less than 310 with points of 98 | SELECT MIN("Tied") FROM table_15418 WHERE "Games" > '70' AND "Goals for" < '310' AND "Points" = '98' | [
5376,
262,
1551,
8165,
351,
1830,
517,
621,
4317,
290,
4661,
329,
1342,
621,
28947,
351,
2173,
286,
9661,
46506,
20625,
7203,
51,
798,
4943,
16034,
3084,
62,
21526,
1507,
33411,
366,
24474,
1,
1875,
705,
2154,
6,
5357,
366,
5247,
874,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
8165,
351,
1830,
517,
621,
4317,
290,
4661,
329,
1342,
621,
28947,
351,
2173,
286,
9661,
46506,
20625,
7203,
51,
798,
4943,
16034,
3084,
62,
21526,
1507,
33411,
366,
24474,
1,
1875,
705,
2154,
6,
5357,
366,
5247,
874,... |
If the Home team is carlton, what's the lowest Crowd found? | SELECT MIN("Crowd") FROM table_55058 WHERE "Home team" = 'carlton' | [
1532,
262,
5995,
1074,
318,
1097,
75,
1122,
11,
644,
338,
262,
9016,
29452,
1043,
30,
46506,
20625,
7203,
34,
3986,
4943,
16034,
3084,
62,
22730,
3365,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
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
] | [
1532,
262,
5995,
1074,
318,
1097,
75,
1122,
11,
644,
338,
262,
9016,
29452,
1043,
30,
46506,
20625,
7203,
34,
3986,
4943,
16034,
3084,
62,
22730,
3365,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
6
] |
What is the Club of the Player with a Date of Birth of 1977-02-03? | SELECT "Club" FROM table_58910 WHERE "Date of Birth" = '1977-02-03' | [
2061,
318,
262,
6289,
286,
262,
7853,
351,
257,
7536,
286,
17647,
286,
15589,
12,
2999,
12,
3070,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
3365,
43234,
33411,
366,
10430,
286,
17647,
1,
796,
705,
37781,
12,
2999,
12,
3070,
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,
6289,
286,
262,
7853,
351,
257,
7536,
286,
17647,
286,
15589,
12,
2999,
12,
3070,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
3365,
43234,
33411,
366,
10430,
286,
17647,
1,
796,
705,
37781,
12,
2999,
12,
3070,
6
] |
What is the catalog number of Alfa records? | SELECT "Catalog" FROM table_15541 WHERE "Label" = 'alfa records' | [
2061,
318,
262,
18388,
1271,
286,
978,
13331,
4406,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
18742,
3901,
33411,
366,
33986,
1,
796,
705,
1604,
64,
4406,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18388,
1271,
286,
978,
13331,
4406,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
18742,
3901,
33411,
366,
33986,
1,
796,
705,
1604,
64,
4406,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, and order total number in desc order. | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,... |
Find the name and category of the most expensive product. | SELECT product_name, product_category_code FROM products ORDER BY product_price DESC LIMIT 1 | [
16742,
262,
1438,
290,
6536,
286,
262,
749,
5789,
1720,
13,
46506,
1720,
62,
3672,
11,
1720,
62,
22872,
62,
8189,
16034,
3186,
38678,
11050,
1720,
62,
20888,
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
] | [
16742,
262,
1438,
290,
6536,
286,
262,
749,
5789,
1720,
13,
46506,
1720,
62,
3672,
11,
1720,
62,
22872,
62,
8189,
16034,
3186,
38678,
11050,
1720,
62,
20888,
22196,
34,
27564,
2043,
352
] |
Name the nation for 8 june 1983 for marlies gohr | SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr" | [
5376,
262,
3277,
329,
807,
474,
1726,
13540,
329,
1667,
13508,
467,
11840,
46506,
3277,
16034,
3084,
62,
3672,
62,
1983,
33411,
3128,
796,
366,
23,
474,
1726,
13540,
1,
5357,
16076,
796,
366,
3876,
13508,
467,
11840,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3277,
329,
807,
474,
1726,
13540,
329,
1667,
13508,
467,
11840,
46506,
3277,
16034,
3084,
62,
3672,
62,
1983,
33411,
3128,
796,
366,
23,
474,
1726,
13540,
1,
5357,
16076,
796,
366,
3876,
13508,
467,
11840,
1
] |
What is the p max (bar) in the pistol where the chambering is .45 ACP? | SELECT MAX("P max ( bar )") FROM table_29166 WHERE "Chambering" = '.45 ACP' | [
2061,
318,
262,
279,
3509,
357,
5657,
8,
287,
262,
16790,
810,
262,
11847,
278,
318,
764,
2231,
7125,
47,
30,
46506,
25882,
7203,
47,
3509,
357,
2318,
1267,
4943,
16034,
3084,
62,
1959,
23055,
33411,
366,
1925,
7789,
278,
1,
796,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
279,
3509,
357,
5657,
8,
287,
262,
16790,
810,
262,
11847,
278,
318,
764,
2231,
7125,
47,
30,
46506,
25882,
7203,
47,
3509,
357,
2318,
1267,
4943,
16034,
3084,
62,
1959,
23055,
33411,
366,
1925,
7789,
278,
1,
796,
45... |
what were the top four most frequent diagnoses in 2105 with which patients were diagnosed after receiving a drug levels - serum drug levels within 2 months? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'drug levels - serum drug levels' AND STR... | [
10919,
547,
262,
1353,
1440,
749,
10792,
40567,
287,
362,
13348,
351,
543,
3871,
547,
14641,
706,
6464,
257,
2563,
2974,
532,
20502,
2563,
2974,
1626,
362,
1933,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1353,
1440,
749,
10792,
40567,
287,
362,
13348,
351,
543,
3871,
547,
14641,
706,
6464,
257,
2563,
2974,
532,
20502,
2563,
2974,
1626,
362,
1933,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
1... |
What were the San Francisco resident's years in assembly? | SELECT "Years in Assembly" FROM table_59495 WHERE "Residence" = 'san francisco' | [
2061,
547,
262,
2986,
6033,
6623,
338,
812,
287,
10474,
30,
46506,
366,
40630,
287,
10006,
1,
16034,
3084,
62,
3270,
33781,
33411,
366,
4965,
1704,
1,
796,
705,
12807,
46754,
4861,
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,
547,
262,
2986,
6033,
6623,
338,
812,
287,
10474,
30,
46506,
366,
40630,
287,
10006,
1,
16034,
3084,
62,
3270,
33781,
33411,
366,
4965,
1704,
1,
796,
705,
12807,
46754,
4861,
6
] |
Top 20 users in Pune. | SELECT ROW_NUMBER() OVER (ORDER BY Users.Reputation DESC) AS "#", Users.Id AS "user_link", Users.Age, Users.Location, Users.Reputation, Users.Views, Users.UpVotes, Users.DownVotes, (SELECT COUNT(*) FROM Posts AS PQ WHERE PostTypeId = 1 AND PQ.OwnerUserId = Users.Id) AS "questions", (SELECT COUNT(*) FROM Posts AS PA WHE... | [
9126,
1160,
2985,
287,
350,
1726,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
18987,
13,
6207,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
18987,
13,
23396,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1160,
2985,
287,
350,
1726,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
18987,
13,
6207,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
18987,
13,
23396,
... |
provide the number of patients whose age is less than 56 and drug name is insulin human regular? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "56" AND prescriptions.drug = "Insulin Human Regular" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
7265,
290,
2563,
1438,
318,
14588,
1692,
3218,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
7265,
290,
2563,
1438,
318,
14588,
1692,
3218,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... |
what is the City of license that has a 1,400 watts Power | SELECT city_of_license FROM table_name_93 WHERE power = "1,400 watts" | [
10919,
318,
262,
2254,
286,
5964,
326,
468,
257,
352,
11,
7029,
36416,
4333,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
6052,
33411,
1176,
796,
366,
16,
11,
7029,
36416,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2254,
286,
5964,
326,
468,
257,
352,
11,
7029,
36416,
4333,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
6052,
33411,
1176,
796,
366,
16,
11,
7029,
36416,
1
] |
What was the US Peak position of the film that peaked at #21 in the UK? | SELECT "U.S. peak position" FROM table_15008 WHERE "U.K. peak position" = '21' | [
2061,
373,
262,
1294,
23974,
2292,
286,
262,
2646,
326,
33948,
379,
1303,
2481,
287,
262,
3482,
30,
46506,
366,
52,
13,
50,
13,
9103,
2292,
1,
16034,
3084,
62,
1314,
25257,
33411,
366,
52,
13,
42,
13,
9103,
2292,
1,
796,
705,
2481... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1294,
23974,
2292,
286,
262,
2646,
326,
33948,
379,
1303,
2481,
287,
262,
3482,
30,
46506,
366,
52,
13,
50,
13,
9103,
2292,
1,
16034,
3084,
62,
1314,
25257,
33411,
366,
52,
13,
42,
13,
9103,
2292,
1,
796,
705,
2481... |
find the number of patients whose lab test item id is 50935 and age is below 31 years. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "31" AND lab.itemid = "50935" | [
19796,
262,
1271,
286,
3871,
3025,
2248,
1332,
2378,
4686,
318,
2026,
24,
2327,
290,
2479,
318,
2174,
3261,
812,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
224... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
3025,
2248,
1332,
2378,
4686,
318,
2026,
24,
2327,
290,
2479,
318,
2174,
3261,
812,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
224... |
Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )? | SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c" | [
26362,
3128,
286,
3648,
10662,
18,
11,
290,
257,
2142,
1271,
7,
82,
8,
286,
14364,
1795,
41734,
8471,
28694,
66,
468,
644,
13868,
2756,
357,
11403,
1267,
30,
46506,
2650,
62,
20888,
17569,
385,
67,
834,
16034,
3084,
62,
3672,
62,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26362,
3128,
286,
3648,
10662,
18,
11,
290,
257,
2142,
1271,
7,
82,
8,
286,
14364,
1795,
41734,
8471,
28694,
66,
468,
644,
13868,
2756,
357,
11403,
1267,
30,
46506,
2650,
62,
20888,
17569,
385,
67,
834,
16034,
3084,
62,
3672,
62,
18... |
What year is the date when the boiler type is forward topfeed, the built at is Crewe, and lot number is less than 187? | SELECT COUNT("Date") FROM table_50731 WHERE "Boiler type" = 'forward topfeed' AND "Built at" = 'crewe' AND "Lot No." < '187' | [
2061,
614,
318,
262,
3128,
618,
262,
36741,
2099,
318,
2651,
1353,
12363,
11,
262,
3170,
379,
318,
5844,
732,
11,
290,
1256,
1271,
318,
1342,
621,
27649,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
35378,
3132,
33411,
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,
614,
318,
262,
3128,
618,
262,
36741,
2099,
318,
2651,
1353,
12363,
11,
262,
3170,
379,
318,
5844,
732,
11,
290,
1256,
1271,
318,
1342,
621,
27649,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
35378,
3132,
33411,
3... |
What stamp design has a denomination of $1.18? | SELECT design FROM table_name_33 WHERE denomination = "$1.18" | [
2061,
17977,
1486,
468,
257,
47491,
286,
720,
16,
13,
1507,
30,
46506,
1486,
16034,
3084,
62,
3672,
62,
2091,
33411,
47491,
796,
17971,
16,
13,
1507,
1
] | [
1,
1,
1,
1,
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,
17977,
1486,
468,
257,
47491,
286,
720,
16,
13,
1507,
30,
46506,
1486,
16034,
3084,
62,
3672,
62,
2091,
33411,
47491,
796,
17971,
16,
13,
1507,
1
] |
how many constituencies are older than carlow kilkenny ? | SELECT COUNT("constituency") FROM table_203_627 WHERE "created" < (SELECT "created" FROM table_203_627 WHERE "constituency" = 'carlow-kilkenny') | [
4919,
867,
43742,
389,
4697,
621,
1097,
9319,
8769,
74,
11870,
5633,
46506,
327,
28270,
7203,
9979,
34272,
1387,
4943,
16034,
3084,
62,
22416,
62,
49856,
33411,
366,
25598,
1,
1279,
357,
46506,
366,
25598,
1,
16034,
3084,
62,
22416,
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
] | [
4919,
867,
43742,
389,
4697,
621,
1097,
9319,
8769,
74,
11870,
5633,
46506,
327,
28270,
7203,
9979,
34272,
1387,
4943,
16034,
3084,
62,
22416,
62,
49856,
33411,
366,
25598,
1,
1279,
357,
46506,
366,
25598,
1,
16034,
3084,
62,
22416,
62,... |
Which Finalist has a Winner and score of boris becker 7 6(3), 6 3, 3 6, 6 3? | SELECT "Finalist" FROM table_50564 WHERE "Winner and score" = 'boris becker 7–6(3), 6–3, 3–6, 6–3' | [
13828,
8125,
396,
468,
257,
25358,
290,
4776,
286,
275,
37279,
639,
6122,
767,
718,
7,
18,
828,
718,
513,
11,
513,
718,
11,
718,
513,
30,
46506,
366,
19006,
396,
1,
16034,
3084,
62,
31654,
2414,
33411,
366,
48056,
290,
4776,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
8125,
396,
468,
257,
25358,
290,
4776,
286,
275,
37279,
639,
6122,
767,
718,
7,
18,
828,
718,
513,
11,
513,
718,
11,
718,
513,
30,
46506,
366,
19006,
396,
1,
16034,
3084,
62,
31654,
2414,
33411,
366,
48056,
290,
4776,
1,
79... |
i'd like also to book a one way flight from PITTSBURGH to ATLANTA the cheapest one on 7 20 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, fare, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 20 AND date_day.mo... | [
72,
1549,
588,
635,
284,
1492,
257,
530,
835,
5474,
422,
49040,
4694,
38926,
17511,
284,
5161,
25697,
5603,
262,
28918,
530,
319,
767,
1160,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
1549,
588,
635,
284,
1492,
257,
530,
835,
5474,
422,
49040,
4694,
38926,
17511,
284,
5161,
25697,
5603,
262,
28918,
530,
319,
767,
1160,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
... |
What is the Last 10 Meetings when Norman is ou, 18-6? | SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-6" | [
2061,
318,
262,
4586,
838,
21167,
654,
618,
19636,
318,
267,
84,
11,
1248,
12,
21,
30,
46506,
938,
62,
940,
62,
47745,
654,
16034,
3084,
62,
3672,
62,
2780,
33411,
379,
62,
77,
26183,
796,
366,
280,
11,
1248,
12,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4586,
838,
21167,
654,
618,
19636,
318,
267,
84,
11,
1248,
12,
21,
30,
46506,
938,
62,
940,
62,
47745,
654,
16034,
3084,
62,
3672,
62,
2780,
33411,
379,
62,
77,
26183,
796,
366,
280,
11,
1248,
12,
21,
1
] |
What is the best fit (WMAP, extra parameter)when the best fit (all data) is .0224 .0009? | SELECT best_fit__wmap, _extra_parameter_ FROM table_name_92 WHERE best_fit__all_data_ = ".0224 ± .0009" | [
2061,
318,
262,
1266,
4197,
357,
22117,
2969,
11,
3131,
11507,
8,
12518,
262,
1266,
4197,
357,
439,
1366,
8,
318,
764,
2999,
1731,
764,
830,
24,
30,
46506,
1266,
62,
11147,
834,
86,
8899,
11,
4808,
26086,
62,
17143,
2357,
62,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1266,
4197,
357,
22117,
2969,
11,
3131,
11507,
8,
12518,
262,
1266,
4197,
357,
439,
1366,
8,
318,
764,
2999,
1731,
764,
830,
24,
30,
46506,
1266,
62,
11147,
834,
86,
8899,
11,
4808,
26086,
62,
17143,
2357,
62,
16034,... |
Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States? | SELECT "Player" FROM table_44821 WHERE "Nationality" = 'united states' AND "Position" = 'small forward' AND "Years for Grizzlies" = '1999-2002' | [
8241,
373,
262,
7358,
12,
16942,
13212,
329,
40669,
1402,
2651,
7853,
508,
373,
422,
262,
1578,
1829,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
31115,
2481,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
26545,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
7358,
12,
16942,
13212,
329,
40669,
1402,
2651,
7853,
508,
373,
422,
262,
1578,
1829,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
31115,
2481,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
26545,
1,
... |
What is Average Year, when Round is R128 (First Round)? | SELECT AVG("Year") FROM table_10004 WHERE "Round" = 'r128 (first round)' | [
2061,
318,
13475,
6280,
11,
618,
10485,
318,
371,
12762,
357,
5962,
10485,
19427,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
12825,
19,
33411,
366,
22685,
1,
796,
705,
81,
12762,
357,
11085,
2835,
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
] | [
2061,
318,
13475,
6280,
11,
618,
10485,
318,
371,
12762,
357,
5962,
10485,
19427,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
12825,
19,
33411,
366,
22685,
1,
796,
705,
81,
12762,
357,
11085,
2835,
33047
] |
What is the constructor where the circuit is Silverstone? | SELECT constructor FROM table_name_8 WHERE circuit = "silverstone" | [
2061,
318,
262,
23772,
810,
262,
10349,
318,
7698,
6440,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
23,
33411,
10349,
796,
366,
40503,
6440,
1
] | [
1,
1,
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,
23772,
810,
262,
10349,
318,
7698,
6440,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
23,
33411,
10349,
796,
366,
40503,
6440,
1
] |
What was the result fot the UFC 85 event? | SELECT res FROM table_name_69 WHERE event = "ufc 85" | [
2061,
373,
262,
1255,
277,
313,
262,
11448,
7600,
1785,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
3388,
33411,
1785,
796,
366,
3046,
66,
7600,
1
] | [
1,
1,
1,
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,
1255,
277,
313,
262,
11448,
7600,
1785,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
3388,
33411,
1785,
796,
366,
3046,
66,
7600,
1
] |
How many rounds did the match last with Sam Sotello as the opponent? | SELECT AVG(round) FROM table_name_78 WHERE opponent = "sam sotello" | [
2437,
867,
9196,
750,
262,
2872,
938,
351,
3409,
311,
313,
11109,
355,
262,
6125,
30,
46506,
35224,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
6125,
796,
366,
37687,
264,
313,
11109,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9196,
750,
262,
2872,
938,
351,
3409,
311,
313,
11109,
355,
262,
6125,
30,
46506,
35224,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
6125,
796,
366,
37687,
264,
313,
11109,
1
] |
What is the length of the track named michigan international speedway? | SELECT "Length" FROM table_17684 WHERE "Track Name" = 'Michigan International Speedway' | [
2061,
318,
262,
4129,
286,
262,
2610,
3706,
285,
488,
5516,
3230,
2866,
1014,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
1558,
41580,
33411,
366,
24802,
6530,
1,
796,
705,
40610,
4037,
46000,
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,
4129,
286,
262,
2610,
3706,
285,
488,
5516,
3230,
2866,
1014,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
1558,
41580,
33411,
366,
24802,
6530,
1,
796,
705,
40610,
4037,
46000,
6
] |
What position has siim ennemuist as the player? | SELECT position FROM table_name_52 WHERE player = "siim ennemuist" | [
2061,
2292,
468,
33721,
320,
551,
77,
368,
84,
396,
355,
262,
2137,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4309,
33411,
2137,
796,
366,
13396,
320,
551,
77,
368,
84,
396,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
468,
33721,
320,
551,
77,
368,
84,
396,
355,
262,
2137,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4309,
33411,
2137,
796,
366,
13396,
320,
551,
77,
368,
84,
396,
1
] |
What is the top price of $1 with a launch date on February 12, 2008? | SELECT "Top Prize" FROM table_33266 WHERE "Price" = '$1' AND "Launch Date" = 'february 12, 2008' | [
2061,
318,
262,
1353,
2756,
286,
720,
16,
351,
257,
4219,
3128,
319,
3945,
1105,
11,
3648,
30,
46506,
366,
9126,
15895,
1,
16034,
3084,
62,
2091,
25540,
33411,
366,
18124,
1,
796,
705,
3,
16,
6,
5357,
366,
38296,
7536,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1353,
2756,
286,
720,
16,
351,
257,
4219,
3128,
319,
3945,
1105,
11,
3648,
30,
46506,
366,
9126,
15895,
1,
16034,
3084,
62,
2091,
25540,
33411,
366,
18124,
1,
796,
705,
3,
16,
6,
5357,
366,
38296,
7536,
1,
796,
705... |
who was the last driver listed to receive points ? | SELECT "driver" FROM table_203_52 ORDER BY "points" LIMIT 1 | [
8727,
373,
262,
938,
4639,
5610,
284,
3328,
2173,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
22416,
62,
4309,
38678,
11050,
366,
13033,
1,
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
] | [
8727,
373,
262,
938,
4639,
5610,
284,
3328,
2173,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
22416,
62,
4309,
38678,
11050,
366,
13033,
1,
27564,
2043,
352
] |
Who was the senior US senator in the state whose governor was D. Patrick? | SELECT senior_us_senator FROM table_21531764_2 WHERE governor = "D. Patrick" | [
8241,
373,
262,
4664,
1294,
12329,
287,
262,
1181,
3025,
8153,
373,
360,
13,
9925,
30,
46506,
4664,
62,
385,
62,
6248,
1352,
16034,
3084,
62,
17,
21395,
1558,
2414,
62,
17,
33411,
8153,
796,
366,
35,
13,
9925,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
4664,
1294,
12329,
287,
262,
1181,
3025,
8153,
373,
360,
13,
9925,
30,
46506,
4664,
62,
385,
62,
6248,
1352,
16034,
3084,
62,
17,
21395,
1558,
2414,
62,
17,
33411,
8153,
796,
366,
35,
13,
9925,
1
] |
What is Name, when Score is '101'? | SELECT "Name" FROM table_62482 WHERE "Score" = '101' | [
2061,
318,
6530,
11,
618,
15178,
318,
705,
8784,
30960,
46506,
366,
5376,
1,
16034,
3084,
62,
21,
1731,
6469,
33411,
366,
26595,
1,
796,
705,
8784,
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,
318,
6530,
11,
618,
15178,
318,
705,
8784,
30960,
46506,
366,
5376,
1,
16034,
3084,
62,
21,
1731,
6469,
33411,
366,
26595,
1,
796,
705,
8784,
6
] |
A bar chart for what are the number of the descriptions of all the project outcomes?, and could you display in ascending by the Y please? | SELECT outcome_description, COUNT(outcome_description) FROM Research_Outcomes AS T1 JOIN Project_Outcomes AS T2 ON T1.outcome_code = T2.outcome_code GROUP BY outcome_description ORDER BY COUNT(outcome_description) | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
16969,
286,
477,
262,
1628,
10906,
21747,
290,
714,
345,
3359,
287,
41988,
416,
262,
575,
3387,
30,
46506,
8055,
62,
11213,
11,
327,
28270,
7,
448,
2958,
62,
11213,
8,
16034,
4992,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
16969,
286,
477,
262,
1628,
10906,
21747,
290,
714,
345,
3359,
287,
41988,
416,
262,
575,
3387,
30,
46506,
8055,
62,
11213,
11,
327,
28270,
7,
448,
2958,
62,
11213,
8,
16034,
4992,... |
who was the successor for district ohio 15th? | SELECT successor FROM table_1652224_5 WHERE district = "Ohio 15th" | [
8727,
373,
262,
17270,
329,
4783,
11752,
952,
1315,
400,
30,
46506,
17270,
16034,
3084,
62,
20986,
1828,
1731,
62,
20,
33411,
4783,
796,
366,
31274,
1315,
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
] | [
8727,
373,
262,
17270,
329,
4783,
11752,
952,
1315,
400,
30,
46506,
17270,
16034,
3084,
62,
20986,
1828,
1731,
62,
20,
33411,
4783,
796,
366,
31274,
1315,
400,
1
] |
What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 10 losses? | SELECT MAX("Goals For") FROM table_50333 WHERE "Goals Against" < '63' AND "Points 1" > '65' AND "Lost" > '10' | [
2061,
318,
262,
4511,
4661,
329,
1342,
621,
8093,
4661,
1028,
11,
517,
621,
6135,
2173,
352,
11,
290,
517,
621,
838,
9089,
30,
46506,
25882,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
1120,
20370,
33411,
366,
5247,
874,
12914,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
329,
1342,
621,
8093,
4661,
1028,
11,
517,
621,
6135,
2173,
352,
11,
290,
517,
621,
838,
9089,
30,
46506,
25882,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
1120,
20370,
33411,
366,
5247,
874,
12914,
1,
... |
have patient 13536 had any br milk fs ng intake in 05/this year? | 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 = 13536)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'br milk ... | [
14150,
5827,
17501,
2623,
550,
597,
865,
7545,
43458,
23370,
10337,
287,
8870,
14,
5661,
614,
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,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14150,
5827,
17501,
2623,
550,
597,
865,
7545,
43458,
23370,
10337,
287,
8870,
14,
5661,
614,
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,
4... |
what is the discharge location and discharge time of Thomas Nazario? | SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.name = "Thomas Nazario" | [
10919,
318,
262,
17655,
4067,
290,
17655,
640,
286,
5658,
12819,
4982,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
22405,
12819,
4982,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
290,
17655,
640,
286,
5658,
12819,
4982,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
22405,
12819,
4982,
1
] |
what are the top five most frequent lab tests that followed within 2 months of a patient who received a partial hip replacement in the last year? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_i... | [
10919,
389,
262,
1353,
1936,
749,
10792,
2248,
5254,
326,
3940,
1626,
362,
1933,
286,
257,
5827,
508,
2722,
257,
13027,
10359,
9014,
287,
262,
938,
614,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
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... | [
10919,
389,
262,
1353,
1936,
749,
10792,
2248,
5254,
326,
3940,
1626,
362,
1933,
286,
257,
5827,
508,
2722,
257,
13027,
10359,
9014,
287,
262,
938,
614,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
... |
What is the dominate religion in the location with a population of 4831? | SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831 | [
2061,
318,
262,
17863,
5737,
287,
262,
4067,
351,
257,
3265,
286,
4764,
3132,
30,
46506,
11410,
62,
2411,
17035,
834,
16942,
62,
16034,
3084,
62,
11645,
1495,
4761,
62,
1065,
33411,
3265,
834,
9804,
62,
796,
4764,
3132
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17863,
5737,
287,
262,
4067,
351,
257,
3265,
286,
4764,
3132,
30,
46506,
11410,
62,
2411,
17035,
834,
16942,
62,
16034,
3084,
62,
11645,
1495,
4761,
62,
1065,
33411,
3265,
834,
9804,
62,
796,
4764,
3132
] |
retrieve the patient identifications of patients that were diagnosed with long-term use anticoagul during the previous year. | SELECT admissions.subject_id FROM admissions WHERE admissions.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 = 'long-term use anticoagul') AND DATETIME(diagnoses_icd.charttime, 'start of... | [
1186,
30227,
262,
5827,
1852,
6637,
286,
3871,
326,
547,
14641,
351,
890,
12,
4354,
779,
1885,
3713,
363,
377,
1141,
262,
2180,
614,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1186,
30227,
262,
5827,
1852,
6637,
286,
3871,
326,
547,
14641,
351,
890,
12,
4354,
779,
1885,
3713,
363,
377,
1141,
262,
2180,
614,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
... |
What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0? | SELECT rank FROM table_name_71 WHERE run_2 = "1:20.8" AND run_4 = "1:23.0" | [
2061,
373,
262,
4279,
286,
262,
1074,
351,
257,
1057,
362,
286,
352,
25,
1238,
13,
23,
290,
257,
1057,
604,
286,
352,
25,
1954,
13,
15,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
4869,
33411,
1057,
62,
17,
796,
366,
16,
25,
123... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
286,
262,
1074,
351,
257,
1057,
362,
286,
352,
25,
1238,
13,
23,
290,
257,
1057,
604,
286,
352,
25,
1954,
13,
15,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
4869,
33411,
1057,
62,
17,
796,
366,
16,
25,
123... |
For all employees who have the letters D or S in their first name, find job_id and the sum of employee_id , and group by attribute job_id, and visualize them by a bar chart. | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1064,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1064,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506... |
WHAT IS THE POSITION WITH A LOST OF 6, FOR CAERNARFON TOWN? | SELECT SUM(position) FROM table_name_29 WHERE lost = 6 AND team = "caernarfon town" | [
32971,
3180,
3336,
28069,
17941,
13315,
317,
406,
10892,
3963,
718,
11,
7473,
7257,
28778,
1503,
37,
1340,
309,
14165,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
2626,
796,
718,
5357,
1074,
796,
366,
6888,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28069,
17941,
13315,
317,
406,
10892,
3963,
718,
11,
7473,
7257,
28778,
1503,
37,
1340,
309,
14165,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
2626,
796,
718,
5357,
1074,
796,
366,
6888,
1... |
which team name had the most goals in a year -lrb- bulldogs , roosters , tigers -rrb- | SELECT "season" FROM table_203_34 WHERE "season" IN ('bulldogs', 'roosters', 'tigers') GROUP BY "season" ORDER BY SUM("goals") DESC LIMIT 1 | [
4758,
1074,
1438,
550,
262,
749,
4661,
287,
257,
614,
532,
14050,
65,
12,
6473,
22242,
837,
686,
455,
364,
837,
43114,
532,
21062,
65,
12,
46506,
366,
6230,
1,
16034,
3084,
62,
22416,
62,
2682,
33411,
366,
6230,
1,
3268,
19203,
1630... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
1438,
550,
262,
749,
4661,
287,
257,
614,
532,
14050,
65,
12,
6473,
22242,
837,
686,
455,
364,
837,
43114,
532,
21062,
65,
12,
46506,
366,
6230,
1,
16034,
3084,
62,
22416,
62,
2682,
33411,
366,
6230,
1,
3268,
19203,
1630... |
how many times patient 010-27089 has come to the hospital since 5 years ago? | SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '010-27089' AND DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-5 year') | [
4919,
867,
1661,
5827,
5534,
15,
12,
1983,
49352,
468,
1282,
284,
262,
4436,
1201,
642,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
13948,
10057,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
403,
1557,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
5534,
15,
12,
1983,
49352,
468,
1282,
284,
262,
4436,
1201,
642,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
13948,
10057,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
403,
1557,
... |
what is the first game listed on the schedule ? | SELECT "opponent#" FROM table_204_994 WHERE id = 1 | [
10919,
318,
262,
717,
983,
5610,
319,
262,
7269,
5633,
46506,
366,
10365,
3471,
2,
1,
16034,
3084,
62,
18638,
62,
42691,
33411,
4686,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
717,
983,
5610,
319,
262,
7269,
5633,
46506,
366,
10365,
3471,
2,
1,
16034,
3084,
62,
18638,
62,
42691,
33411,
4686,
796,
352
] |
Draw a bar chart for what are the ids and names of the architects who built at least 3 bridges ? | SELECT T1.name, T1.id FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
220,
2340,
290,
3891,
286,
262,
29518,
508,
3170,
379,
1551,
513,
19432,
5633,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
312,
16034,
7068,
7054,
309,
16,
32357,
1268,
7696,
7054,
309,
17,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
389,
262,
220,
2340,
290,
3891,
286,
262,
29518,
508,
3170,
379,
1551,
513,
19432,
5633,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
312,
16034,
7068,
7054,
309,
16,
32357,
1268,
7696,
7054,
309,
17,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.