instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
WHAT DID HAWTHORN SCORE AT ITS AWAY GAME? | SELECT "Away team score" FROM table_33674 WHERE "Away team" = 'hawthorn' | [
32971,
35697,
367,
12298,
4221,
30649,
6374,
6965,
5161,
42437,
14356,
4792,
30517,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2091,
45385,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
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
] | [
32971,
35697,
367,
12298,
4221,
30649,
6374,
6965,
5161,
42437,
14356,
4792,
30517,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2091,
45385,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
6
] |
Which surface has a Date of 5 november 2011? | SELECT surface FROM table_name_40 WHERE date = "5 november 2011" | [
13828,
4417,
468,
257,
7536,
286,
642,
645,
303,
1916,
2813,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
20,
645,
303,
1916,
2813,
1
] | [
1,
1,
1,
1,
1,
1,
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,
468,
257,
7536,
286,
642,
645,
303,
1916,
2813,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
20,
645,
303,
1916,
2813,
1
] |
count the number of patients whose primary disease is s/p fall and year of death is less than or equal to 2133? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dod_year <= "2133.0" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
264,
14,
79,
2121,
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,
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... | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
264,
14,
79,
2121,
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,
33411... |
Show the number of documents. | SELECT COUNT(*) FROM Documents | [
15307,
262,
1271,
286,
4963,
13,
46506,
327,
28270,
7,
28104,
16034,
33267
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
4963,
13,
46506,
327,
28270,
7,
28104,
16034,
33267
] |
Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying group stage? | SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying – group stage" | [
5376,
262,
6910,
929,
326,
468,
281,
43627,
14,
6603,
286,
1097,
4528,
32660,
12192,
11,
64,
27348,
286,
3050,
1673,
330,
1878,
995,
6508,
18677,
1448,
3800,
30,
46506,
12750,
16034,
3084,
62,
3672,
62,
3559,
33411,
3342,
62,
6603,
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
] | [
5376,
262,
6910,
929,
326,
468,
281,
43627,
14,
6603,
286,
1097,
4528,
32660,
12192,
11,
64,
27348,
286,
3050,
1673,
330,
1878,
995,
6508,
18677,
1448,
3800,
30,
46506,
12750,
16034,
3084,
62,
3672,
62,
3559,
33411,
3342,
62,
6603,
79... |
Users who answered specific questions. | SELECT q.Id AS "Question ID", q.OwnerUserId AS "Owner User ID", ou.DisplayName AS "Owner Name", ou.Reputation AS "Owner Reputation", ou.Location AS "Owner Location", ou.Views AS "Owner Views", ou.UpVotes AS "Owner UpVotes", ou.DownVotes AS "Owner DownVotes", aa.Id AS "AcceptedAnswerID", aa.OwnerUserId AS "User Who Answ... | [
14490,
508,
9373,
2176,
2683,
13,
46506,
10662,
13,
7390,
7054,
366,
24361,
4522,
1600,
10662,
13,
42419,
12982,
7390,
7054,
366,
42419,
11787,
4522,
1600,
267,
84,
13,
23114,
5376,
7054,
366,
42419,
6530,
1600,
267,
84,
13,
6207,
7094,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
508,
9373,
2176,
2683,
13,
46506,
10662,
13,
7390,
7054,
366,
24361,
4522,
1600,
10662,
13,
42419,
12982,
7390,
7054,
366,
42419,
11787,
4522,
1600,
267,
84,
13,
23114,
5376,
7054,
366,
42419,
6530,
1600,
267,
84,
13,
6207,
7094,... |
male and female ages >= 18 years old | SELECT * FROM table_train_26 WHERE (gender = 'male' OR gender = 'female') AND age >= 18 | [
22606,
290,
4048,
9337,
18189,
1248,
812,
1468,
46506,
1635,
16034,
3084,
62,
27432,
62,
2075,
33411,
357,
8388,
796,
705,
22606,
6,
6375,
5279,
796,
705,
24724,
11537,
5357,
2479,
18189,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22606,
290,
4048,
9337,
18189,
1248,
812,
1468,
46506,
1635,
16034,
3084,
62,
27432,
62,
2075,
33411,
357,
8388,
796,
705,
22606,
6,
6375,
5279,
796,
705,
24724,
11537,
5357,
2479,
18189,
1248
] |
Return the completion date for all the tests that have 'Fail' result, and count them by a bar chart, and I want to show in descending by the y axis. | SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" ORDER BY COUNT(date_of_completion) DESC | [
13615,
262,
11939,
3128,
329,
477,
262,
5254,
326,
423,
705,
39044,
6,
1255,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
287,
31491,
416,
262,
331,
16488,
13,
46506,
3128,
62,
1659,
62,
785,
24547,
11,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
262,
11939,
3128,
329,
477,
262,
5254,
326,
423,
705,
39044,
6,
1255,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
287,
31491,
416,
262,
331,
16488,
13,
46506,
3128,
62,
1659,
62,
785,
24547,
11,
32... |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the sum of code , and group by attribute headquarter, and display in asc by the Headquarter. | SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T2.Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
3359,
287,
10570,
416,
262,
7123,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
3359,
287,
10570,
416,
262,
7123,
... |
Who was the opponent when they played after Game 26 and their record was 23-4? | SELECT "Opponent" FROM table_47343 WHERE "Game" > '26' AND "Record" = '23-4' | [
8241,
373,
262,
6125,
618,
484,
2826,
706,
3776,
2608,
290,
511,
1700,
373,
2242,
12,
19,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2857,
32118,
33411,
366,
8777,
1,
1875,
705,
2075,
6,
5357,
366,
23739,
1,
796,
705,
1954,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
618,
484,
2826,
706,
3776,
2608,
290,
511,
1700,
373,
2242,
12,
19,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2857,
32118,
33411,
366,
8777,
1,
1875,
705,
2075,
6,
5357,
366,
23739,
1,
796,
705,
1954,
... |
What was the location of the Havaianas Beachley Classic, held in Australia? | SELECT location FROM table_name_99 WHERE country = "australia" AND event = "havaianas beachley classic" | [
2061,
373,
262,
4067,
286,
262,
367,
4170,
666,
292,
8511,
1636,
13449,
11,
2714,
287,
4505,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2079,
33411,
1499,
796,
366,
64,
436,
1373,
544,
1,
5357,
1785,
796,
366,
71,
4170,
666,
292,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4067,
286,
262,
367,
4170,
666,
292,
8511,
1636,
13449,
11,
2714,
287,
4505,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2079,
33411,
1499,
796,
366,
64,
436,
1373,
544,
1,
5357,
1785,
796,
366,
71,
4170,
666,
292,
... |
When the School is Bishop Luers High School, what is the Hometown? | SELECT "Hometown" FROM table_58335 WHERE "School" = 'bishop luers high school' | [
2215,
262,
3961,
318,
16559,
6026,
364,
3334,
3961,
11,
644,
318,
262,
367,
19191,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
3365,
27326,
33411,
366,
26130,
1,
796,
705,
27832,
300,
42178,
1029,
1524,
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
] | [
2215,
262,
3961,
318,
16559,
6026,
364,
3334,
3961,
11,
644,
318,
262,
367,
19191,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
3365,
27326,
33411,
366,
26130,
1,
796,
705,
27832,
300,
42178,
1029,
1524,
6
] |
Top 50 users from Turkey. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%turkey' ORDER BY Reputation DESC LIMIT 50 | [
9126,
2026,
2985,
422,
7137,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
16034,
18987,
33411,
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
] | [
9126,
2026,
2985,
422,
7137,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
16034,
18987,
33411,
4... |
How many gold medals were awarded to teams ranked higher than 19? | SELECT COUNT(gold) FROM table_name_8 WHERE rank > 19 | [
2437,
867,
3869,
28057,
547,
11343,
284,
3466,
10307,
2440,
621,
678,
30,
46506,
327,
28270,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
4279,
1875,
678
] | [
1,
1,
1,
1,
1,
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,
3869,
28057,
547,
11343,
284,
3466,
10307,
2440,
621,
678,
30,
46506,
327,
28270,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
4279,
1875,
678
] |
A bar chart shows the distribution of meter_400 and ID , and order by the total number from high to low. | SELECT meter_400, ID FROM swimmer ORDER BY ID DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
16430,
62,
7029,
290,
4522,
837,
290,
1502,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
13,
46506,
16430,
62,
7029,
11,
4522,
16034,
9422,
647,
38678,
11050,
4522,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
16430,
62,
7029,
290,
4522,
837,
290,
1502,
416,
262,
2472,
1271,
422,
1029,
284,
1877,
13,
46506,
16430,
62,
7029,
11,
4522,
16034,
9422,
647,
38678,
11050,
4522,
22196,
34
] |
How many titles have the product number SCUS-97330? | SELECT COUNT("Title") FROM table_118 WHERE "Product No." = 'SCUS-97330' | [
2437,
867,
8714,
423,
262,
1720,
1271,
6374,
2937,
12,
24,
4790,
1270,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
16817,
33411,
366,
15667,
1400,
526,
796,
705,
6173,
2937,
12,
24,
4790,
1270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8714,
423,
262,
1720,
1271,
6374,
2937,
12,
24,
4790,
1270,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
16817,
33411,
366,
15667,
1400,
526,
796,
705,
6173,
2937,
12,
24,
4790,
1270,
6
] |
Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15? | SELECT "Record" FROM table_5949 WHERE "Kickoff" = '12:00pm cst' AND "Game site" = 'arrowhead stadium' AND "Week" = '15' | [
13828,
13266,
468,
257,
10279,
2364,
286,
1105,
25,
405,
4426,
269,
301,
11,
290,
257,
3776,
2524,
286,
15452,
2256,
10308,
11,
290,
257,
6119,
286,
1315,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3270,
2920,
33411,
366,
45390,
2364,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13266,
468,
257,
10279,
2364,
286,
1105,
25,
405,
4426,
269,
301,
11,
290,
257,
3776,
2524,
286,
15452,
2256,
10308,
11,
290,
257,
6119,
286,
1315,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3270,
2920,
33411,
366,
45390,
2364,... |
How many different industries are the companies in? | SELECT COUNT(DISTINCT industry) FROM companies | [
2437,
867,
1180,
11798,
389,
262,
2706,
287,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2831,
8,
16034,
2706
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
11798,
389,
262,
2706,
287,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2831,
8,
16034,
2706
] |
Where is the transmitter located for the station voice of vietnam | SELECT transmitter_location FROM table_name_87 WHERE station = "voice of vietnam" | [
8496,
318,
262,
35099,
5140,
329,
262,
4429,
3809,
286,
410,
1155,
7402,
46506,
35099,
62,
24886,
16034,
3084,
62,
3672,
62,
5774,
33411,
4429,
796,
366,
38888,
286,
410,
1155,
7402,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
318,
262,
35099,
5140,
329,
262,
4429,
3809,
286,
410,
1155,
7402,
46506,
35099,
62,
24886,
16034,
3084,
62,
3672,
62,
5774,
33411,
4429,
796,
366,
38888,
286,
410,
1155,
7402,
1
] |
what are the three most commonly performed procedures in this year? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of ye... | [
10919,
389,
262,
1115,
749,
8811,
6157,
9021,
287,
428,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1115,
749,
8811,
6157,
9021,
287,
428,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291... |
A bar chart shows the distribution of ACC_Road and Team_ID , and group by attribute ACC_Home, and list x axis from high to low order. | SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY ACC_Home, ACC_Road ORDER BY ACC_Road DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
15859,
62,
29197,
290,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
11,
290,
1351,
2124,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
15859,
62,
29197,
11,
4816,
62,
2389,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
15859,
62,
29197,
290,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
11,
290,
1351,
2124,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
15859,
62,
29197,
11,
4816,
62,
2389,
16034,... |
When hale irwin is the winner what is the margin of victory? | SELECT "Margin of victory" FROM table_73626 WHERE "Winner" = 'Hale Irwin' | [
2215,
289,
1000,
4173,
5404,
318,
262,
8464,
644,
318,
262,
10330,
286,
5373,
30,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
49150,
2075,
33411,
366,
48056,
1,
796,
705,
39,
1000,
48470,
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
] | [
2215,
289,
1000,
4173,
5404,
318,
262,
8464,
644,
318,
262,
10330,
286,
5373,
30,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
49150,
2075,
33411,
366,
48056,
1,
796,
705,
39,
1000,
48470,
6
] |
fraction of upvotes from 101-rep users. | SELECT CAST(SUM(CASE WHEN Reputation = 101 THEN UpVotes ELSE 0 END) AS FLOAT) / SUM(UpVotes) FROM Users | [
69,
7861,
286,
510,
29307,
422,
8949,
12,
7856,
2985,
13,
46506,
327,
11262,
7,
50,
5883,
7,
34,
11159,
42099,
1432,
7094,
796,
8949,
42243,
3205,
53,
6421,
17852,
5188,
657,
23578,
8,
7054,
9977,
46,
1404,
8,
1220,
35683,
7,
4933,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
69,
7861,
286,
510,
29307,
422,
8949,
12,
7856,
2985,
13,
46506,
327,
11262,
7,
50,
5883,
7,
34,
11159,
42099,
1432,
7094,
796,
8949,
42243,
3205,
53,
6421,
17852,
5188,
657,
23578,
8,
7054,
9977,
46,
1404,
8,
1220,
35683,
7,
4933,
... |
How man fans showed up to watch the game versus the raleigh-durham skyhawks? | SELECT MAX(attendance) FROM table_24481478_1 WHERE opponent = "Raleigh-Durham Skyhawks" | [
2437,
582,
3296,
3751,
510,
284,
2342,
262,
983,
9051,
262,
374,
30729,
12,
67,
333,
2763,
6766,
27221,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
1731,
2780,
1415,
3695,
62,
16,
33411,
6125,
796,
366,
49,
30729,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
582,
3296,
3751,
510,
284,
2342,
262,
983,
9051,
262,
374,
30729,
12,
67,
333,
2763,
6766,
27221,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
1731,
2780,
1415,
3695,
62,
16,
33411,
6125,
796,
366,
49,
30729,
12,
... |
Which campus was opened between 1935 and 1939? | SELECT campus FROM campuses WHERE year >= 1935 AND year <= 1939 | [
13828,
7611,
373,
4721,
1022,
30704,
290,
24414,
30,
46506,
7611,
16034,
23003,
33411,
614,
18189,
30704,
5357,
614,
19841,
24414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7611,
373,
4721,
1022,
30704,
290,
24414,
30,
46506,
7611,
16034,
23003,
33411,
614,
18189,
30704,
5357,
614,
19841,
24414
] |
flights from DENVER to PITTSBURGH on wednesday | 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, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND date_day.day_number = 23 AND date_day.month_number = 4 AN... | [
2704,
2337,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
319,
29445,
3462,
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,
15271,
7054,
316... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2704,
2337,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
319,
29445,
3462,
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,
15271,
7054,
316... |
Saint-Blaise-Sur-Richelieu is smaller than 68.42 km^2, what is the population of this type M municipality? | SELECT MIN("Population") FROM table_78143 WHERE "Type" = 'm' AND "Name" = 'saint-blaise-sur-richelieu' AND "Area (km 2 )" < '68.42' | [
48615,
12,
3629,
64,
786,
12,
14214,
12,
49,
291,
2978,
22304,
318,
4833,
621,
8257,
13,
3682,
10571,
61,
17,
11,
644,
318,
262,
3265,
286,
428,
2099,
337,
27264,
30,
46506,
20625,
7203,
45251,
4943,
16034,
3084,
62,
3695,
21139,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
48615,
12,
3629,
64,
786,
12,
14214,
12,
49,
291,
2978,
22304,
318,
4833,
621,
8257,
13,
3682,
10571,
61,
17,
11,
644,
318,
262,
3265,
286,
428,
2099,
337,
27264,
30,
46506,
20625,
7203,
45251,
4943,
16034,
3084,
62,
3695,
21139,
33... |
In the race with a winning time of 4:17:18, how many laps were run? | SELECT "Laps" FROM table_24995 WHERE "Race Time" = '4:17:18' | [
818,
262,
3234,
351,
257,
5442,
640,
286,
604,
25,
1558,
25,
1507,
11,
703,
867,
24590,
547,
1057,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
1731,
33438,
33411,
366,
35157,
3862,
1,
796,
705,
19,
25,
1558,
25,
1507,
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
] | [
818,
262,
3234,
351,
257,
5442,
640,
286,
604,
25,
1558,
25,
1507,
11,
703,
867,
24590,
547,
1057,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
1731,
33438,
33411,
366,
35157,
3862,
1,
796,
705,
19,
25,
1558,
25,
1507,
6
] |
What is the total number of games for the opponent in Washington? | SELECT COUNT("Game") FROM table_45204 WHERE "Opponent" = 'washington' | [
2061,
318,
262,
2472,
1271,
286,
1830,
329,
262,
6125,
287,
2669,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
2231,
18638,
33411,
366,
27524,
3471,
1,
796,
705,
86,
2542,
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,
2472,
1271,
286,
1830,
329,
262,
6125,
287,
2669,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
2231,
18638,
33411,
366,
27524,
3471,
1,
796,
705,
86,
2542,
6
] |
What is the power of the Baguio station? | SELECT "Power (kW)" FROM table_1768 WHERE "Location" = 'Baguio' | [
2061,
318,
262,
1176,
286,
262,
347,
11433,
952,
4429,
30,
46506,
366,
13434,
357,
74,
54,
16725,
16034,
3084,
62,
1558,
3104,
33411,
366,
14749,
1,
796,
705,
33,
11433,
952,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1176,
286,
262,
347,
11433,
952,
4429,
30,
46506,
366,
13434,
357,
74,
54,
16725,
16034,
3084,
62,
1558,
3104,
33411,
366,
14749,
1,
796,
705,
33,
11433,
952,
6
] |
Which Season has a Year of 2005 06? | SELECT season FROM table_name_63 WHERE year = "2005–06" | [
13828,
7369,
468,
257,
6280,
286,
5075,
9130,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
5066,
33411,
614,
796,
366,
14315,
1906,
3312,
1
] | [
1,
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,
7369,
468,
257,
6280,
286,
5075,
9130,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
5066,
33411,
614,
796,
366,
14315,
1906,
3312,
1
] |
What year is Winter Olympics when Holmenkollen is 1957, 1960? | SELECT winter_olympics FROM table_174491_2 WHERE holmenkollen = "1957, 1960" | [
2061,
614,
318,
10633,
14935,
618,
6479,
3653,
74,
29952,
318,
25177,
11,
9507,
30,
46506,
7374,
62,
3366,
3149,
873,
16034,
3084,
62,
1558,
2598,
6420,
62,
17,
33411,
6039,
3653,
74,
29952,
796,
366,
1129,
3553,
11,
9507,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10633,
14935,
618,
6479,
3653,
74,
29952,
318,
25177,
11,
9507,
30,
46506,
7374,
62,
3366,
3149,
873,
16034,
3084,
62,
1558,
2598,
6420,
62,
17,
33411,
6039,
3653,
74,
29952,
796,
366,
1129,
3553,
11,
9507,
1
] |
how many drivers placed below tony stewart ? | SELECT COUNT("driver") FROM table_203_529 WHERE "fin" > (SELECT "fin" FROM table_203_529 WHERE "driver" = 'tony stewart') | [
4919,
867,
6643,
4624,
2174,
256,
1647,
20798,
433,
5633,
46506,
327,
28270,
7203,
26230,
4943,
16034,
3084,
62,
22416,
62,
49721,
33411,
366,
15643,
1,
1875,
357,
46506,
366,
15643,
1,
16034,
3084,
62,
22416,
62,
49721,
33411,
366,
262... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6643,
4624,
2174,
256,
1647,
20798,
433,
5633,
46506,
327,
28270,
7203,
26230,
4943,
16034,
3084,
62,
22416,
62,
49721,
33411,
366,
15643,
1,
1875,
357,
46506,
366,
15643,
1,
16034,
3084,
62,
22416,
62,
49721,
33411,
366,
262... |
Search for comments that prevent roomba deletion. | SELECT c.Id AS "comment_link" FROM Comments AS C INNER JOIN Posts AS p ON p.Id = c.PostId WHERE p.AnswerCount = 0 AND p.Score = 0 AND p.CommentCount = 3 AND p.CreationDate < (DATEADD(d, -365, GETDATE())) AND LOWER(c.Text) LIKE LOWER('##search##%') ORDER BY LEN(Text) | [
18243,
329,
3651,
326,
2948,
2119,
7012,
39948,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1,
16034,
19502,
7054,
327,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
7390,
796,
269,
13,
6307,
7390,
33411,
279,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18243,
329,
3651,
326,
2948,
2119,
7012,
39948,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1,
16034,
19502,
7054,
327,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
7390,
796,
269,
13,
6307,
7390,
33411,
279,
1... |
Where is the player with a pick smaller than 12 and a college of UV from? | SELECT "Country of origin*" FROM table_54450 WHERE "Pick" < '12' AND "College" = 'uv' | [
8496,
318,
262,
2137,
351,
257,
2298,
4833,
621,
1105,
290,
257,
4152,
286,
22033,
422,
30,
46506,
366,
33921,
286,
8159,
9,
1,
16034,
3084,
62,
47576,
1120,
33411,
366,
31686,
1,
1279,
705,
1065,
6,
5357,
366,
38951,
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
] | [
8496,
318,
262,
2137,
351,
257,
2298,
4833,
621,
1105,
290,
257,
4152,
286,
22033,
422,
30,
46506,
366,
33921,
286,
8159,
9,
1,
16034,
3084,
62,
47576,
1120,
33411,
366,
31686,
1,
1279,
705,
1065,
6,
5357,
366,
38951,
1,
796,
705,
... |
What is Record, when High Points is 'Ray Allen (27)'? | SELECT "Record" FROM table_9011 WHERE "High points" = 'ray allen (27)' | [
2061,
318,
13266,
11,
618,
3334,
11045,
318,
705,
19591,
9659,
357,
1983,
8,
30960,
46506,
366,
23739,
1,
16034,
3084,
62,
24,
28555,
33411,
366,
11922,
2173,
1,
796,
705,
2433,
477,
268,
357,
1983,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
13266,
11,
618,
3334,
11045,
318,
705,
19591,
9659,
357,
1983,
8,
30960,
46506,
366,
23739,
1,
16034,
3084,
62,
24,
28555,
33411,
366,
11922,
2173,
1,
796,
705,
2433,
477,
268,
357,
1983,
33047
] |
What was the fastest lap in the Belgian Grand Prix? | SELECT "Fastest lap" FROM table_53578 WHERE "Race" = 'belgian grand prix' | [
2061,
373,
262,
14162,
14779,
287,
262,
21402,
5675,
23832,
30,
46506,
366,
22968,
395,
14779,
1,
16034,
3084,
62,
44465,
3695,
33411,
366,
35157,
1,
796,
705,
6667,
18299,
4490,
1293,
87,
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,
373,
262,
14162,
14779,
287,
262,
21402,
5675,
23832,
30,
46506,
366,
22968,
395,
14779,
1,
16034,
3084,
62,
44465,
3695,
33411,
366,
35157,
1,
796,
705,
6667,
18299,
4490,
1293,
87,
6
] |
Users who want the 404 polyglot back. | SELECT Id AS "user_link", AboutMe FROM Users WHERE (AboutMe LIKE '%404 polyglot%' OR AboutMe LIKE '%back the polyglot%') | [
14490,
508,
765,
262,
32320,
7514,
4743,
313,
736,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
7994,
5308,
16034,
18987,
33411,
357,
8585,
5308,
34178,
705,
4,
26429,
7514,
4743,
313,
4,
6,
6375,
7994,
5308,
34178,
705,
4,
1891,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14490,
508,
765,
262,
32320,
7514,
4743,
313,
736,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
7994,
5308,
16034,
18987,
33411,
357,
8585,
5308,
34178,
705,
4,
26429,
7514,
4743,
313,
4,
6,
6375,
7994,
5308,
34178,
705,
4,
1891,... |
Which Country has a To par of 13? | SELECT country FROM table_name_12 WHERE to_par = "–13" | [
13828,
12946,
468,
257,
1675,
1582,
286,
1511,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1065,
33411,
284,
62,
1845,
796,
366,
1906,
1485,
1
] | [
1,
1,
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,
12946,
468,
257,
1675,
1582,
286,
1511,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1065,
33411,
284,
62,
1845,
796,
366,
1906,
1485,
1
] |
with lola t86/50 chassis and less than 7 points what is the entrant? | SELECT "Entrant" FROM table_34603 WHERE "Points" < '7' AND "Chassis" = 'lola t86/50' | [
4480,
300,
5708,
256,
4521,
14,
1120,
24587,
290,
1342,
621,
767,
2173,
644,
318,
262,
920,
5250,
30,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
2682,
35642,
33411,
366,
40710,
1,
1279,
705,
22,
6,
5357,
366,
1925,
20297,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4480,
300,
5708,
256,
4521,
14,
1120,
24587,
290,
1342,
621,
767,
2173,
644,
318,
262,
920,
5250,
30,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
2682,
35642,
33411,
366,
40710,
1,
1279,
705,
22,
6,
5357,
366,
1925,
20297,
1,
796,
... |
what is the greatest number of points this team has won by ? | SELECT MAX("score" - "score") FROM table_204_933 | [
10919,
318,
262,
6000,
1271,
286,
2173,
428,
1074,
468,
1839,
416,
5633,
46506,
25882,
7203,
26675,
1,
532,
366,
26675,
4943,
16034,
3084,
62,
18638,
62,
24,
2091
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
6000,
1271,
286,
2173,
428,
1074,
468,
1839,
416,
5633,
46506,
25882,
7203,
26675,
1,
532,
366,
26675,
4943,
16034,
3084,
62,
18638,
62,
24,
2091
] |
What is the First Publisher prior to 1999? | SELECT first_publisher FROM table_name_31 WHERE year < 1999 | [
2061,
318,
262,
3274,
28045,
3161,
284,
7358,
30,
46506,
717,
62,
12984,
8191,
16034,
3084,
62,
3672,
62,
3132,
33411,
614,
1279,
7358
] | [
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,
3274,
28045,
3161,
284,
7358,
30,
46506,
717,
62,
12984,
8191,
16034,
3084,
62,
3672,
62,
3132,
33411,
614,
1279,
7358
] |
has patient 005-4471 excreted output (ml)-chest tube #2 midaxillary left mid;lateral today? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-4471')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput... | [
10134,
5827,
3571,
20,
12,
2598,
4869,
2859,
1186,
276,
5072,
357,
4029,
13219,
46713,
12403,
1303,
17,
3095,
897,
15856,
1364,
3095,
26,
75,
10534,
1909,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
3571,
20,
12,
2598,
4869,
2859,
1186,
276,
5072,
357,
4029,
13219,
46713,
12403,
1303,
17,
3095,
897,
15856,
1364,
3095,
26,
75,
10534,
1909,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22... |
how many patients whose ethnicity is hispanic/latino - puerto rican and drug name is syringe? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.drug = "Syringe" | [
4919,
867,
3871,
3025,
26289,
318,
465,
35843,
14,
15460,
2879,
532,
47574,
13806,
374,
7490,
290,
2563,
1438,
318,
827,
38229,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
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... | [
4919,
867,
3871,
3025,
26289,
318,
465,
35843,
14,
15460,
2879,
532,
47574,
13806,
374,
7490,
290,
2563,
1438,
318,
827,
38229,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
list DAILY flights from BOSTON to OAKLAND using CO | 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_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLA... | [
4868,
17051,
33340,
13956,
422,
347,
10892,
1340,
284,
440,
10206,
28182,
1262,
327,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1527... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
17051,
33340,
13956,
422,
347,
10892,
1340,
284,
440,
10206,
28182,
1262,
327,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1527... |
What is the birthdate of Robert Esche? | SELECT "Birthdate" FROM table_40358 WHERE "Name" = 'robert esche' | [
2061,
318,
262,
4082,
4475,
286,
5199,
412,
15952,
30,
46506,
366,
38480,
4475,
1,
16034,
3084,
62,
1821,
31128,
33411,
366,
5376,
1,
796,
705,
305,
4835,
42833,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4082,
4475,
286,
5199,
412,
15952,
30,
46506,
366,
38480,
4475,
1,
16034,
3084,
62,
1821,
31128,
33411,
366,
5376,
1,
796,
705,
305,
4835,
42833,
6
] |
What is the Score of the Fifa World Cup 1986 Qualifying Competition? | SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying" | [
2061,
318,
262,
15178,
286,
262,
49142,
2159,
5454,
12113,
9537,
4035,
27348,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4521,
33411,
5449,
796,
366,
69,
19215,
995,
6508,
12113,
18677,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15178,
286,
262,
49142,
2159,
5454,
12113,
9537,
4035,
27348,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4521,
33411,
5449,
796,
366,
69,
19215,
995,
6508,
12113,
18677,
1
] |
Show different builders of railways, along with the corresponding number of railways using each builder by a bar chart, could you order from high to low by the y axis? | SELECT Builder, COUNT(*) FROM railway GROUP BY Builder ORDER BY COUNT(*) DESC | [
15307,
1180,
31606,
286,
45247,
11,
1863,
351,
262,
11188,
1271,
286,
45247,
1262,
1123,
27098,
416,
257,
2318,
8262,
11,
714,
345,
1502,
422,
1029,
284,
1877,
416,
262,
331,
16488,
30,
46506,
35869,
11,
327,
28270,
7,
28104,
16034,
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
] | [
15307,
1180,
31606,
286,
45247,
11,
1863,
351,
262,
11188,
1271,
286,
45247,
1262,
1123,
27098,
416,
257,
2318,
8262,
11,
714,
345,
1502,
422,
1029,
284,
1877,
416,
262,
331,
16488,
30,
46506,
35869,
11,
327,
28270,
7,
28104,
16034,
2... |
What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325? | SELECT earpads FROM table_name_43 WHERE construction = "plastic" AND sensitivity__db_ = "unknown" AND succeeded_by = "sr325" | [
2061,
389,
262,
1027,
79,
5643,
286,
262,
36769,
351,
257,
7309,
5103,
11,
281,
6439,
14233,
11,
290,
373,
14131,
416,
19677,
26582,
30,
46506,
1027,
79,
5643,
16034,
3084,
62,
3672,
62,
3559,
33411,
5103,
796,
366,
489,
3477,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1027,
79,
5643,
286,
262,
36769,
351,
257,
7309,
5103,
11,
281,
6439,
14233,
11,
290,
373,
14131,
416,
19677,
26582,
30,
46506,
1027,
79,
5643,
16034,
3084,
62,
3672,
62,
3559,
33411,
5103,
796,
366,
489,
3477,
1,
53... |
among those with age 40s until 2102, what are the top three most frequent lab tests? | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 40 AND 49) AND STRFTIME('%y', lab.labresulttime) <= '2102' GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 3 | [
35131,
883,
351,
2479,
2319,
82,
1566,
362,
15377,
11,
644,
389,
262,
1353,
1115,
749,
10792,
2248,
5254,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
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... | [
35131,
883,
351,
2479,
2319,
82,
1566,
362,
15377,
11,
644,
389,
262,
1353,
1115,
749,
10792,
2248,
5254,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
... |
What is the Latin letter for the Tibetan of ? | SELECT latin FROM table_name_13 WHERE tibetan = "ས" | [
2061,
318,
262,
9133,
3850,
329,
262,
31877,
286,
5633,
46506,
3042,
259,
16034,
3084,
62,
3672,
62,
1485,
33411,
256,
571,
316,
272,
796,
366,
156,
121,
99,
1
] | [
1,
1,
1,
1,
1,
1,
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,
9133,
3850,
329,
262,
31877,
286,
5633,
46506,
3042,
259,
16034,
3084,
62,
3672,
62,
1485,
33411,
256,
571,
316,
272,
796,
366,
156,
121,
99,
1
] |
What is the Home on december 10? | SELECT home FROM table_name_33 WHERE date = "december 10" | [
2061,
318,
262,
5995,
319,
390,
3273,
838,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
2934,
3273,
838,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5995,
319,
390,
3273,
838,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
2934,
3273,
838,
1
] |
tell me the duration of patient 035-22706's last stay in the intensive care unit. | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-22706') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 | [
33331,
502,
262,
9478,
286,
5827,
657,
2327,
12,
1828,
35402,
338,
938,
2652,
287,
262,
18590,
1337,
4326,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
10786,
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... | [
33331,
502,
262,
9478,
286,
5827,
657,
2327,
12,
1828,
35402,
338,
938,
2652,
287,
262,
18590,
1337,
4326,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
10786,
4,... |
Visualize the average experience working length of journalists working on different role type using a pie chart. | SELECT Work_Type, AVG(Years_working) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type | [
36259,
1096,
262,
2811,
1998,
1762,
4129,
286,
9046,
1762,
319,
1180,
2597,
2099,
1262,
257,
2508,
8262,
13,
46506,
5521,
62,
6030,
11,
35224,
7,
40630,
62,
16090,
8,
16034,
10099,
7054,
256,
16,
32357,
1268,
1705,
62,
13116,
7054,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
36259,
1096,
262,
2811,
1998,
1762,
4129,
286,
9046,
1762,
319,
1180,
2597,
2099,
1262,
257,
2508,
8262,
13,
46506,
5521,
62,
6030,
11,
35224,
7,
40630,
62,
16090,
8,
16034,
10099,
7054,
256,
16,
32357,
1268,
1705,
62,
13116,
7054,
25... |
How many patients are younger than 31 years of age and procedured with icd9 code 17? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "31" AND procedures.icd9_code = "17" | [
2437,
867,
3871,
389,
7099,
621,
3261,
812,
286,
2479,
290,
5131,
1522,
351,
14158,
67,
24,
2438,
1596,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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... | [
2437,
867,
3871,
389,
7099,
621,
3261,
812,
286,
2479,
290,
5131,
1522,
351,
14158,
67,
24,
2438,
1596,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
... |
who was their last opponent in the uefa cup in the 2007-2008 season ? | SELECT "opponent" FROM table_204_885 WHERE "competition" = 'uefa cup' AND "season" = '2007-08' ORDER BY id DESC LIMIT 1 | [
8727,
373,
511,
938,
6125,
287,
262,
334,
891,
64,
6508,
287,
262,
4343,
12,
11528,
1622,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
44230,
33411,
366,
5589,
15620,
1,
796,
705,
518,
13331,
6508,
6,
5357,
366,
623... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
511,
938,
6125,
287,
262,
334,
891,
64,
6508,
287,
262,
4343,
12,
11528,
1622,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
44230,
33411,
366,
5589,
15620,
1,
796,
705,
518,
13331,
6508,
6,
5357,
366,
623... |
What is the result when the time is 1:13? | SELECT res FROM table_name_11 WHERE time = "1:13" | [
2061,
318,
262,
1255,
618,
262,
640,
318,
352,
25,
1485,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
1157,
33411,
640,
796,
366,
16,
25,
1485,
1
] | [
1,
1,
1,
1,
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,
1255,
618,
262,
640,
318,
352,
25,
1485,
30,
46506,
581,
16034,
3084,
62,
3672,
62,
1157,
33411,
640,
796,
366,
16,
25,
1485,
1
] |
What is the wheel arrangement of cf-16-4, and 16 produced? | SELECT wheel_arrangement FROM table_name_5 WHERE builder’s_model = "cf-16-4" AND total_produced = 16 | [
2061,
318,
262,
7825,
13888,
286,
30218,
12,
1433,
12,
19,
11,
290,
1467,
4635,
30,
46506,
7825,
62,
3258,
648,
972,
16034,
3084,
62,
3672,
62,
20,
33411,
27098,
447,
247,
82,
62,
19849,
796,
366,
12993,
12,
1433,
12,
19,
1,
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
] | [
2061,
318,
262,
7825,
13888,
286,
30218,
12,
1433,
12,
19,
11,
290,
1467,
4635,
30,
46506,
7825,
62,
3258,
648,
972,
16034,
3084,
62,
3672,
62,
20,
33411,
27098,
447,
247,
82,
62,
19849,
796,
366,
12993,
12,
1433,
12,
19,
1,
5357,... |
What's the name of the competition where the nationality is Brazil and the voting percentage is n/a? | SELECT "Competition" FROM table_27087 WHERE "Vote percentage" = 'N/A' AND "Nationality" = 'Brazil' | [
2061,
338,
262,
1438,
286,
262,
5449,
810,
262,
29835,
318,
7595,
290,
262,
6709,
5873,
318,
299,
14,
64,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
1983,
2919,
22,
33411,
366,
37394,
5873,
1,
796,
705,
45,
14,
32,
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
] | [
2061,
338,
262,
1438,
286,
262,
5449,
810,
262,
29835,
318,
7595,
290,
262,
6709,
5873,
318,
299,
14,
64,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
1983,
2919,
22,
33411,
366,
37394,
5873,
1,
796,
705,
45,
14,
32,
6,
5357,
... |
What is the current club of the Forward who was born after 1983 and who has a height under 2.12? | SELECT "Current Club" FROM table_67451 WHERE "Year born" > '1983' AND "Height" < '2.12' AND "Position" = 'forward' | [
2061,
318,
262,
1459,
3430,
286,
262,
19530,
508,
373,
4642,
706,
13540,
290,
508,
468,
257,
6001,
739,
362,
13,
1065,
30,
46506,
366,
11297,
6289,
1,
16034,
3084,
62,
3134,
36330,
33411,
366,
17688,
4642,
1,
1875,
705,
29279,
6,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1459,
3430,
286,
262,
19530,
508,
373,
4642,
706,
13540,
290,
508,
468,
257,
6001,
739,
362,
13,
1065,
30,
46506,
366,
11297,
6289,
1,
16034,
3084,
62,
3134,
36330,
33411,
366,
17688,
4642,
1,
1875,
705,
29279,
6,
53... |
Bar chart, the-axis is the state, and the Y axis is each state's the smallest enrollment, rank by the Y in ascending. | SELECT state, MIN(enr) FROM College GROUP BY state ORDER BY MIN(enr) | [
10374,
8262,
11,
262,
12,
22704,
318,
262,
1181,
11,
290,
262,
575,
16488,
318,
1123,
1181,
338,
262,
18197,
20753,
11,
4279,
416,
262,
575,
287,
41988,
13,
46506,
1181,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181,
386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11,
262,
12,
22704,
318,
262,
1181,
11,
290,
262,
575,
16488,
318,
1123,
1181,
338,
262,
18197,
20753,
11,
4279,
416,
262,
575,
287,
41988,
13,
46506,
1181,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181,
386... |
What is the frequency for the Christian Kawz-fm Translator station? | SELECT "Frequency" FROM table_18756 WHERE "Format" = 'Christian KAWZ-FM translator' | [
2061,
318,
262,
8373,
329,
262,
4302,
23043,
89,
12,
38353,
3602,
41880,
4429,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
1507,
38219,
33411,
366,
26227,
1,
796,
705,
20298,
509,
12298,
57,
12,
23264,
33417,
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,
318,
262,
8373,
329,
262,
4302,
23043,
89,
12,
38353,
3602,
41880,
4429,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
1507,
38219,
33411,
366,
26227,
1,
796,
705,
20298,
509,
12298,
57,
12,
23264,
33417,
6
] |
Which driver is older than 24 and has more than 0 licence test attempts? | SELECT "Learner driver" FROM table_74589 WHERE "Licence test attempts" > '0' AND "Driver's Age" > '24' | [
13828,
4639,
318,
4697,
621,
1987,
290,
468,
517,
621,
657,
17098,
1332,
6370,
30,
46506,
366,
14961,
1008,
4639,
1,
16034,
3084,
62,
50150,
4531,
33411,
366,
26656,
594,
1332,
6370,
1,
1875,
705,
15,
6,
5357,
366,
32103,
338,
7129,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4639,
318,
4697,
621,
1987,
290,
468,
517,
621,
657,
17098,
1332,
6370,
30,
46506,
366,
14961,
1008,
4639,
1,
16034,
3084,
62,
50150,
4531,
33411,
366,
26656,
594,
1332,
6370,
1,
1875,
705,
15,
6,
5357,
366,
32103,
338,
7129,
... |
Usu rios com reputa o suficiente para fechar perguntas que acessaram o site em 2019. | SELECT COUNT(*) FROM Users AS u WHERE u.Reputation >= 3000 AND YEAR(u.LastAccessDate) >= 2019 | [
52,
2385,
374,
4267,
401,
1128,
29822,
267,
424,
69,
11373,
68,
31215,
730,
10641,
583,
70,
2797,
292,
8358,
257,
919,
41158,
267,
2524,
795,
13130,
13,
46506,
327,
28270,
7,
28104,
16034,
18987,
7054,
334,
33411,
334,
13,
6207,
7094,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
52,
2385,
374,
4267,
401,
1128,
29822,
267,
424,
69,
11373,
68,
31215,
730,
10641,
583,
70,
2797,
292,
8358,
257,
919,
41158,
267,
2524,
795,
13130,
13,
46506,
327,
28270,
7,
28104,
16034,
18987,
7054,
334,
33411,
334,
13,
6207,
7094,... |
Which season had a result of 1 0 (aet)? | SELECT "season" FROM table_3716 WHERE "result" = '1–0 (aet)' | [
13828,
1622,
550,
257,
1255,
286,
352,
657,
357,
64,
316,
19427,
46506,
366,
6230,
1,
16034,
3084,
62,
2718,
1433,
33411,
366,
20274,
1,
796,
705,
16,
1906,
15,
357,
64,
316,
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
] | [
13828,
1622,
550,
257,
1255,
286,
352,
657,
357,
64,
316,
19427,
46506,
366,
6230,
1,
16034,
3084,
62,
2718,
1433,
33411,
366,
20274,
1,
796,
705,
16,
1906,
15,
357,
64,
316,
33047
] |
What is the Result of the game with an Attendance of 64,104? | SELECT result FROM table_name_25 WHERE attendance = "64,104" | [
2061,
318,
262,
25414,
286,
262,
983,
351,
281,
46502,
590,
286,
5598,
11,
13464,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1495,
33411,
14858,
796,
366,
2414,
11,
13464,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
25414,
286,
262,
983,
351,
281,
46502,
590,
286,
5598,
11,
13464,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1495,
33411,
14858,
796,
366,
2414,
11,
13464,
1
] |
What driver(s) had over 65 stag wins? | SELECT driver FROM table_23385853_19 WHERE stage_wins = 65 | [
2061,
4639,
7,
82,
8,
550,
625,
6135,
35251,
7864,
30,
46506,
4639,
16034,
3084,
62,
1954,
2548,
3365,
4310,
62,
1129,
33411,
3800,
62,
86,
1040,
796,
6135
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4639,
7,
82,
8,
550,
625,
6135,
35251,
7864,
30,
46506,
4639,
16034,
3084,
62,
1954,
2548,
3365,
4310,
62,
1129,
33411,
3800,
62,
86,
1040,
796,
6135
] |
How many courses are in the Psychology department in each building? Draw a bar chart. | SELECT building, COUNT(building) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY building | [
2437,
867,
10902,
389,
287,
262,
18430,
5011,
287,
1123,
2615,
30,
15315,
257,
2318,
8262,
13,
46506,
2615,
11,
327,
28270,
7,
16894,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
7054,
309,
17,
6177,
309,
16,
13,
17319,
62,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
10902,
389,
287,
262,
18430,
5011,
287,
1123,
2615,
30,
15315,
257,
2318,
8262,
13,
46506,
2615,
11,
327,
28270,
7,
16894,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
7054,
309,
17,
6177,
309,
16,
13,
17319,
62,
312... |
What is No. 3, when No. 7 is Abigail, and when No. 2 is Olivia? | SELECT "No. 3" FROM table_45953 WHERE "No. 7" = 'abigail' AND "No. 2" = 'olivia' | [
2061,
318,
1400,
13,
513,
11,
618,
1400,
13,
767,
318,
2275,
328,
603,
11,
290,
618,
1400,
13,
362,
318,
33911,
30,
46506,
366,
2949,
13,
513,
1,
16034,
3084,
62,
2231,
49649,
33411,
366,
2949,
13,
767,
1,
796,
705,
397,
328,
60... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1400,
13,
513,
11,
618,
1400,
13,
767,
318,
2275,
328,
603,
11,
290,
618,
1400,
13,
362,
318,
33911,
30,
46506,
366,
2949,
13,
513,
1,
16034,
3084,
62,
2231,
49649,
33411,
366,
2949,
13,
767,
1,
796,
705,
397,
328,
60... |
What is Lijsttrekker, when Cabinet is 'Hans Van Mierlo', and when Fractievoorzitter is 'Thom De Graaf'? | SELECT "Lijsttrekker" FROM table_9584 WHERE "Cabinet" = 'hans van mierlo' AND "Fractievoorzitter" = 'thom de graaf' | [
2061,
318,
406,
2926,
301,
33945,
74,
6122,
11,
618,
20384,
318,
705,
39,
504,
6656,
337,
959,
5439,
3256,
290,
618,
40548,
11203,
2675,
89,
1967,
318,
705,
37582,
1024,
7037,
1878,
30960,
46506,
366,
43,
2926,
301,
33945,
74,
6122,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
406,
2926,
301,
33945,
74,
6122,
11,
618,
20384,
318,
705,
39,
504,
6656,
337,
959,
5439,
3256,
290,
618,
40548,
11203,
2675,
89,
1967,
318,
705,
37582,
1024,
7037,
1878,
30960,
46506,
366,
43,
2926,
301,
33945,
74,
6122,
... |
what does a treatment of hyperkalemia - intravenous diuretics cost? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'treatment of hyperkalemia - intravenous diuretics') | [
10919,
857,
257,
3513,
286,
8718,
74,
282,
22859,
532,
45840,
516,
2566,
495,
14094,
1575,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
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... | [
10919,
857,
257,
3513,
286,
8718,
74,
282,
22859,
532,
45840,
516,
2566,
495,
14094,
1575,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
3... |
count the number of patients whose diagnoses long title is long-term (current) use of steroids and lab test abnormal status is delta? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Long-term (current) use of steroids" AND lab.flag = "delta" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
890,
12,
4354,
357,
14421,
8,
779,
286,
31397,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
890,
12,
4354,
357,
14421,
8,
779,
286,
31397,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
1... |
in total , how many times were they promoted ? | SELECT COUNT(*) FROM table_204_117 WHERE "movements" = 'promoted' | [
259,
2472,
837,
703,
867,
1661,
547,
484,
13722,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
17657,
33411,
366,
21084,
902,
1,
796,
705,
16963,
5191,
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
] | [
259,
2472,
837,
703,
867,
1661,
547,
484,
13722,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
17657,
33411,
366,
21084,
902,
1,
796,
705,
16963,
5191,
6
] |
Find the organisation ids and details of the organisations which are involved i Visualize by bar chart, and sort in ascending by the organisation_details. | SELECT T2.organisation_details, T1.organisation_id FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_details ORDER BY T2.organisation_details | [
16742,
262,
12684,
220,
2340,
290,
3307,
286,
262,
16435,
543,
389,
2950,
1312,
15612,
1096,
416,
2318,
8262,
11,
290,
3297,
287,
41988,
416,
262,
12684,
62,
36604,
13,
46506,
309,
17,
13,
9971,
5612,
62,
36604,
11,
309,
16,
13,
997... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12684,
220,
2340,
290,
3307,
286,
262,
16435,
543,
389,
2950,
1312,
15612,
1096,
416,
2318,
8262,
11,
290,
3297,
287,
41988,
416,
262,
12684,
62,
36604,
13,
46506,
309,
17,
13,
9971,
5612,
62,
36604,
11,
309,
16,
13,
997... |
what is the date when the away team is melbourne? | SELECT "Date" FROM table_57255 WHERE "Away team" = 'melbourne' | [
10919,
318,
262,
3128,
618,
262,
1497,
1074,
318,
7758,
12544,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3553,
13381,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
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
] | [
10919,
318,
262,
3128,
618,
262,
1497,
1074,
318,
7758,
12544,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3553,
13381,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
12544,
6
] |
how long between the operations first commenced and the last airline to commence operations ? | SELECT (SELECT "commenced\noperations" FROM table_204_163 ORDER BY "commenced\noperations" DESC LIMIT 1) - (SELECT "commenced\noperations" FROM table_204_163 ORDER BY "commenced\noperations" LIMIT 1) | [
4919,
890,
1022,
262,
4560,
717,
32400,
290,
262,
938,
18091,
284,
23038,
4560,
5633,
46506,
357,
46506,
366,
785,
3653,
771,
59,
77,
3575,
602,
1,
16034,
3084,
62,
18638,
62,
24136,
38678,
11050,
366,
785,
3653,
771,
59,
77,
3575,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
1022,
262,
4560,
717,
32400,
290,
262,
938,
18091,
284,
23038,
4560,
5633,
46506,
357,
46506,
366,
785,
3653,
771,
59,
77,
3575,
602,
1,
16034,
3084,
62,
18638,
62,
24136,
38678,
11050,
366,
785,
3653,
771,
59,
77,
3575,
... |
did ito take 1st in the 10,000 m before or after he took 28th in the 10,000 m ? | SELECT (SELECT "year" FROM table_203_215 WHERE "position" = 1 AND "event" = '10,000m') < (SELECT "year" FROM table_203_215 WHERE "position" = 28 AND "event" = '10,000m') | [
20839,
340,
78,
1011,
352,
301,
287,
262,
838,
11,
830,
285,
878,
393,
706,
339,
1718,
2579,
400,
287,
262,
838,
11,
830,
285,
5633,
46506,
357,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
23349,
33411,
366,
9150,
1,
796,
352... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
340,
78,
1011,
352,
301,
287,
262,
838,
11,
830,
285,
878,
393,
706,
339,
1718,
2579,
400,
287,
262,
838,
11,
830,
285,
5633,
46506,
357,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
23349,
33411,
366,
9150,
1,
796,
352... |
What 2012 has q2 as the 2010, and wimbledon as the tournament? | SELECT "2012" FROM table_40311 WHERE "2010" = 'q2' AND "Tournament" = 'wimbledon' | [
2061,
2321,
468,
10662,
17,
355,
262,
3050,
11,
290,
266,
320,
49258,
355,
262,
7756,
30,
46506,
366,
6999,
1,
16034,
3084,
62,
31552,
1157,
33411,
366,
10333,
1,
796,
705,
80,
17,
6,
5357,
366,
51,
5138,
1,
796,
705,
86,
320,
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
] | [
2061,
2321,
468,
10662,
17,
355,
262,
3050,
11,
290,
266,
320,
49258,
355,
262,
7756,
30,
46506,
366,
6999,
1,
16034,
3084,
62,
31552,
1157,
33411,
366,
10333,
1,
796,
705,
80,
17,
6,
5357,
366,
51,
5138,
1,
796,
705,
86,
320,
4... |
What is the height of the player from Benetton Treviso, Italy? | SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy" | [
2061,
318,
262,
6001,
286,
262,
2137,
422,
3932,
316,
1122,
4700,
4703,
78,
11,
8031,
30,
46506,
6001,
62,
259,
62,
701,
16034,
3084,
62,
3672,
62,
17,
33411,
1524,
62,
18664,
62,
15097,
62,
19315,
796,
366,
11722,
316,
1122,
2054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6001,
286,
262,
2137,
422,
3932,
316,
1122,
4700,
4703,
78,
11,
8031,
30,
46506,
6001,
62,
259,
62,
701,
16034,
3084,
62,
3672,
62,
17,
33411,
1524,
62,
18664,
62,
15097,
62,
19315,
796,
366,
11722,
316,
1122,
2054,
... |
What is the leg for c. atkinson | SELECT "Leg" FROM table_623 WHERE "Rally leader" = 'C. Atkinson' | [
2061,
318,
262,
1232,
329,
269,
13,
379,
26030,
46506,
366,
11484,
1,
16034,
3084,
62,
46872,
33411,
366,
49,
453,
3554,
1,
796,
705,
34,
13,
49042,
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,
1232,
329,
269,
13,
379,
26030,
46506,
366,
11484,
1,
16034,
3084,
62,
46872,
33411,
366,
49,
453,
3554,
1,
796,
705,
34,
13,
49042,
6
] |
what is the minimum total cost of a hospital involving a laboratory test for esr this year? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'esr')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CUR... | [
10919,
318,
262,
5288,
2472,
1575,
286,
257,
4436,
7411,
257,
14010,
1332,
329,
1658,
81,
428,
614,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
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,
1... | [
10919,
318,
262,
5288,
2472,
1575,
286,
257,
4436,
7411,
257,
14010,
1332,
329,
1658,
81,
428,
614,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1... |
What country scored 71-69=140? | SELECT "Country" FROM table_60496 WHERE "Score" = '71-69=140' | [
2061,
1499,
7781,
9166,
12,
3388,
28,
15187,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
1899,
37747,
33411,
366,
26595,
1,
796,
705,
4869,
12,
3388,
28,
15187,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
7781,
9166,
12,
3388,
28,
15187,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
1899,
37747,
33411,
366,
26595,
1,
796,
705,
4869,
12,
3388,
28,
15187,
6
] |
In what year did Kin-fung Leung get 2nd prize? | SELECT "Year" FROM table_77136 WHERE "2nd Prize" = 'kin-fung leung' | [
818,
644,
614,
750,
16645,
12,
69,
2150,
1004,
2150,
651,
362,
358,
11596,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3324,
20809,
33411,
366,
17,
358,
15895,
1,
796,
705,
5116,
12,
69,
2150,
443,
2150,
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
] | [
818,
644,
614,
750,
16645,
12,
69,
2150,
1004,
2150,
651,
362,
358,
11596,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3324,
20809,
33411,
366,
17,
358,
15895,
1,
796,
705,
5116,
12,
69,
2150,
443,
2150,
6
] |
what did patient 033-40636 pay for their hospital stay since 4 years ago? | SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-40636') AND DATETIME(cost.chargetime) >= DATETIME(CURRENT_TIME(), '-4 year') | [
10919,
750,
5827,
657,
2091,
12,
29703,
2623,
1414,
329,
511,
4436,
2652,
1201,
604,
812,
2084,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
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,
750,
5827,
657,
2091,
12,
29703,
2623,
1414,
329,
511,
4436,
2652,
1201,
604,
812,
2084,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... |
Which Date has a Visitor of edmonton? | SELECT "Date" FROM table_49084 WHERE "Visitor" = 'edmonton' | [
13828,
7536,
468,
257,
6911,
2072,
286,
1225,
19729,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2920,
2919,
19,
33411,
366,
15854,
2072,
1,
796,
705,
276,
19729,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
6911,
2072,
286,
1225,
19729,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2920,
2919,
19,
33411,
366,
15854,
2072,
1,
796,
705,
276,
19729,
6
] |
based on the table , which locomotive was built first ? | SELECT "name" FROM table_203_223 ORDER BY "date" LIMIT 1 | [
3106,
319,
262,
3084,
837,
543,
33334,
19138,
373,
3170,
717,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
22047,
38678,
11050,
366,
4475,
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,
1,
1
] | [
3106,
319,
262,
3084,
837,
543,
33334,
19138,
373,
3170,
717,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
22047,
38678,
11050,
366,
4475,
1,
27564,
2043,
352
] |
Which series was on May 16? | SELECT "Series" FROM table_39287 WHERE "Date" = 'may 16' | [
13828,
2168,
373,
319,
1737,
1467,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
2670,
27800,
33411,
366,
10430,
1,
796,
705,
11261,
1467,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2168,
373,
319,
1737,
1467,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
2670,
27800,
33411,
366,
10430,
1,
796,
705,
11261,
1467,
6
] |
Which season has Losses of 30? | SELECT season FROM table_name_65 WHERE losses = "30" | [
13828,
1622,
468,
22014,
274,
286,
1542,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
2996,
33411,
9089,
796,
366,
1270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1622,
468,
22014,
274,
286,
1542,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
2996,
33411,
9089,
796,
366,
1270,
1
] |
Show me a bar chart for what is minimum hours of the students playing in different position?, and show names in ascending order. | SELECT pPos, MIN(T2.HS) FROM Tryout AS T1 JOIN Player AS T2 ON T1.pID = T2.pID GROUP BY pPos ORDER BY pPos | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
5288,
2250,
286,
262,
2444,
2712,
287,
1180,
2292,
21747,
290,
905,
3891,
287,
41988,
1502,
13,
46506,
279,
21604,
11,
20625,
7,
51,
17,
13,
7998,
8,
16034,
9993,
448,
7054,
309,
16,
32357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
5288,
2250,
286,
262,
2444,
2712,
287,
1180,
2292,
21747,
290,
905,
3891,
287,
41988,
1502,
13,
46506,
279,
21604,
11,
20625,
7,
51,
17,
13,
7998,
8,
16034,
9993,
448,
7054,
309,
16,
32357... |
which stage had the most cyclists withdraw ? | SELECT "stage" FROM table_204_530 GROUP BY "stage" ORDER BY COUNT("cyclist") DESC LIMIT 1 | [
4758,
3800,
550,
262,
749,
23390,
8399,
5633,
46506,
366,
14247,
1,
16034,
3084,
62,
18638,
62,
38612,
44441,
11050,
366,
14247,
1,
38678,
11050,
327,
28270,
7203,
15539,
396,
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
] | [
4758,
3800,
550,
262,
749,
23390,
8399,
5633,
46506,
366,
14247,
1,
16034,
3084,
62,
18638,
62,
38612,
44441,
11050,
366,
14247,
1,
38678,
11050,
327,
28270,
7203,
15539,
396,
4943,
22196,
34,
27564,
2043,
352
] |
Name the least mister international | SELECT MIN(mister_international) FROM table_30007505_1 | [
5376,
262,
1551,
285,
1694,
3230,
46506,
20625,
7,
76,
1694,
62,
45609,
8,
16034,
3084,
62,
23924,
15426,
20,
62,
16
] | [
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,
285,
1694,
3230,
46506,
20625,
7,
76,
1694,
62,
45609,
8,
16034,
3084,
62,
23924,
15426,
20,
62,
16
] |
What event is 200m larger than 922? | SELECT "Event" FROM table_44497 WHERE "200 m" > '922' | [
2061,
1785,
318,
939,
76,
4025,
621,
860,
1828,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
2598,
38073,
33411,
366,
2167,
285,
1,
1875,
705,
24,
1828,
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,
1785,
318,
939,
76,
4025,
621,
860,
1828,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
2598,
38073,
33411,
366,
2167,
285,
1,
1875,
705,
24,
1828,
6
] |
What were the events in the 1976 Innsbruck Games? | SELECT "Event" FROM table_6071 WHERE "Games" = '1976 innsbruck' | [
2061,
547,
262,
2995,
287,
262,
15408,
554,
5907,
65,
30915,
5776,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
1899,
4869,
33411,
366,
24474,
1,
796,
705,
38108,
3527,
36299,
30915,
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,
2995,
287,
262,
15408,
554,
5907,
65,
30915,
5776,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
1899,
4869,
33411,
366,
24474,
1,
796,
705,
38108,
3527,
36299,
30915,
6
] |
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24? | SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24 | [
10919,
318,
262,
1551,
6382,
78,
618,
599,
433,
461,
318,
517,
621,
860,
11,
5449,
318,
26310,
290,
3197,
318,
517,
621,
1987,
30,
46506,
20625,
7,
67,
4989,
78,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
599,
433,
461,
1875,
860,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
6382,
78,
618,
599,
433,
461,
318,
517,
621,
860,
11,
5449,
318,
26310,
290,
3197,
318,
517,
621,
1987,
30,
46506,
20625,
7,
67,
4989,
78,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
599,
433,
461,
1875,
860,... |
what are the five most commonly used procedures for patients that have previously received abscess drainage procedure - percutaneous within 2 months, in a year before? | SELECT t3.treatmentname FROM (SELECT t2.treatmentname, 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 = 'abscess drainage procedure - percutaneou... | [
10919,
389,
262,
1936,
749,
8811,
973,
9021,
329,
3871,
326,
423,
4271,
2722,
2352,
919,
37664,
8771,
532,
583,
8968,
11655,
1626,
362,
1933,
11,
287,
257,
614,
878,
30,
46506,
256,
18,
13,
42487,
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,
389,
262,
1936,
749,
8811,
973,
9021,
329,
3871,
326,
423,
4271,
2722,
2352,
919,
37664,
8771,
532,
583,
8968,
11655,
1626,
362,
1933,
11,
287,
257,
614,
878,
30,
46506,
256,
18,
13,
42487,
3672,
16034,
357,
46506,
256,
17,
1... |
provide the number of black/cape verdean ethnic background patients who have diagnoses icd9 code 7810. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND diagnoses.icd9_code = "7810" | [
15234,
485,
262,
1271,
286,
2042,
14,
36435,
3326,
2934,
272,
9450,
4469,
3871,
508,
423,
40567,
14158,
67,
24,
2438,
8699,
940,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
2042,
14,
36435,
3326,
2934,
272,
9450,
4469,
3871,
508,
423,
40567,
14158,
67,
24,
2438,
8699,
940,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
When the venue is victoria park, what's the largest Crowd that attended? | SELECT MAX("Crowd") FROM table_77871 WHERE "Venue" = 'victoria park' | [
2215,
262,
14359,
318,
2210,
7661,
3952,
11,
644,
338,
262,
4387,
29452,
326,
9141,
30,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
39761,
4869,
33411,
366,
37522,
518,
1,
796,
705,
32433,
7661,
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,
1,
1
] | [
2215,
262,
14359,
318,
2210,
7661,
3952,
11,
644,
338,
262,
4387,
29452,
326,
9141,
30,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
39761,
4869,
33411,
366,
37522,
518,
1,
796,
705,
32433,
7661,
3952,
6
] |
Comments that are 600 characters long. | SELECT c.Id AS "comment_link", u.Id AS "user_link" FROM Comments AS c JOIN Users AS u ON (u.Id = UserId) WHERE LENGTH(Text) = 600 | [
23903,
326,
389,
10053,
3435,
890,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
19502,
7054,
269,
32357,
1268,
18987,
7054,
334,
6177,
357,
84,
13,
7390,
796,
11787,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23903,
326,
389,
10053,
3435,
890,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
19502,
7054,
269,
32357,
1268,
18987,
7054,
334,
6177,
357,
84,
13,
7390,
796,
11787,
... |
What was the score on 31 January 1987 with tie number 1? | SELECT "Score" FROM table_62223 WHERE "Date" = '31 january 1987' AND "Tie no" = '1' | [
2061,
373,
262,
4776,
319,
3261,
3269,
12923,
351,
9839,
1271,
352,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
21,
1828,
1954,
33411,
366,
10430,
1,
796,
705,
3132,
42897,
2838,
12923,
6,
5357,
366,
51,
494,
645,
1,
796,
705,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
319,
3261,
3269,
12923,
351,
9839,
1271,
352,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
21,
1828,
1954,
33411,
366,
10430,
1,
796,
705,
3132,
42897,
2838,
12923,
6,
5357,
366,
51,
494,
645,
1,
796,
705,
16,
... |
What was the placing when the weight in kg was 58.0? | SELECT "Placing" FROM table_3163 WHERE "Weight (kg)" = '58.0' | [
2061,
373,
262,
12560,
618,
262,
3463,
287,
14211,
373,
7618,
13,
15,
30,
46506,
366,
3646,
4092,
1,
16034,
3084,
62,
18,
24136,
33411,
366,
25844,
357,
10025,
16725,
796,
705,
3365,
13,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
12560,
618,
262,
3463,
287,
14211,
373,
7618,
13,
15,
30,
46506,
366,
3646,
4092,
1,
16034,
3084,
62,
18,
24136,
33411,
366,
25844,
357,
10025,
16725,
796,
705,
3365,
13,
15,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.