instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What champion has north melbourne as the runner-up? | SELECT "Champion" FROM table_12647 WHERE "Runner-Up" = 'north melbourne' | [
2061,
8783,
468,
5093,
7758,
12544,
355,
262,
17490,
12,
929,
30,
46506,
366,
1925,
6734,
1,
16034,
3084,
62,
1065,
33981,
33411,
366,
49493,
12,
4933,
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
] | [
2061,
8783,
468,
5093,
7758,
12544,
355,
262,
17490,
12,
929,
30,
46506,
366,
1925,
6734,
1,
16034,
3084,
62,
1065,
33981,
33411,
366,
49493,
12,
4933,
1,
796,
705,
43588,
7758,
12544,
6
] |
Top Android users in Russia. | WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id =... | [
9126,
5565,
2985,
287,
3284,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
5565,
2985,
287,
3284,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
705... |
Which region has Stanford University as host? | SELECT region FROM table_name_12 WHERE host = "stanford university" | [
13828,
3814,
468,
13863,
2059,
355,
2583,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1065,
33411,
2583,
796,
366,
14192,
3841,
6403,
1
] | [
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,
3814,
468,
13863,
2059,
355,
2583,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1065,
33411,
2583,
796,
366,
14192,
3841,
6403,
1
] |
What is the year of the season if the intermediate (South) winners is Southmead Athletic? | SELECT season FROM table_23014923_1 WHERE intermediate__south__winners = "Southmead Athletic" | [
2061,
318,
262,
614,
286,
262,
1622,
611,
262,
19898,
357,
14942,
8,
14591,
318,
2520,
1326,
324,
29007,
30,
46506,
1622,
16034,
3084,
62,
1954,
486,
2920,
1954,
62,
16,
33411,
19898,
834,
35782,
834,
5404,
2741,
796,
366,
14942,
1326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
614,
286,
262,
1622,
611,
262,
19898,
357,
14942,
8,
14591,
318,
2520,
1326,
324,
29007,
30,
46506,
1622,
16034,
3084,
62,
1954,
486,
2920,
1954,
62,
16,
33411,
19898,
834,
35782,
834,
5404,
2741,
796,
366,
14942,
1326... |
the name of the game and over the hill with the sword of a thousand men were on what page number ? | SELECT "tpb page number" FROM table_203_570 WHERE "title" = 'over the hill with the sword of a thousand men' | [
1169,
1438,
286,
262,
983,
290,
625,
262,
12788,
351,
262,
8429,
286,
257,
7319,
1450,
547,
319,
644,
2443,
1271,
5633,
46506,
366,
34788,
65,
2443,
1271,
1,
16034,
3084,
62,
22416,
62,
39254,
33411,
366,
7839,
1,
796,
705,
2502,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1169,
1438,
286,
262,
983,
290,
625,
262,
12788,
351,
262,
8429,
286,
257,
7319,
1450,
547,
319,
644,
2443,
1271,
5633,
46506,
366,
34788,
65,
2443,
1271,
1,
16034,
3084,
62,
22416,
62,
39254,
33411,
366,
7839,
1,
796,
705,
2502,
26... |
Name the team for 48 game | SELECT team FROM table_name_16 WHERE game = 48 | [
5376,
262,
1074,
329,
4764,
983,
46506,
1074,
16034,
3084,
62,
3672,
62,
1433,
33411,
983,
796,
4764
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1074,
329,
4764,
983,
46506,
1074,
16034,
3084,
62,
3672,
62,
1433,
33411,
983,
796,
4764
] |
what is the average engine type listed ? | SELECT "engine" FROM table_204_939 GROUP BY "engine" ORDER BY COUNT(*) DESC LIMIT 1 | [
10919,
318,
262,
2811,
3113,
2099,
5610,
5633,
46506,
366,
18392,
1,
16034,
3084,
62,
18638,
62,
24,
2670,
44441,
11050,
366,
18392,
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,
1
] | [
10919,
318,
262,
2811,
3113,
2099,
5610,
5633,
46506,
366,
18392,
1,
16034,
3084,
62,
18638,
62,
24,
2670,
44441,
11050,
366,
18392,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives? | SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = "no" AND regulator = "chartered institute of legal executives" | [
2061,
318,
30873,
378,
36270,
11,
618,
33876,
43953,
318,
1400,
11,
290,
618,
3310,
8927,
318,
22086,
1068,
5136,
286,
16027,
8393,
315,
1083,
30,
46506,
1861,
378,
62,
15791,
871,
16034,
3084,
62,
3672,
62,
21,
33411,
10395,
62,
259,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30873,
378,
36270,
11,
618,
33876,
43953,
318,
1400,
11,
290,
618,
3310,
8927,
318,
22086,
1068,
5136,
286,
16027,
8393,
315,
1083,
30,
46506,
1861,
378,
62,
15791,
871,
16034,
3084,
62,
3672,
62,
21,
33411,
10395,
62,
259,... |
find out the number of patients who were discharged from the hospital in 2104. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL AND STRFTIME('%y', admissions.dischtime) = '2104' | [
19796,
503,
262,
1271,
286,
3871,
508,
547,
26476,
422,
262,
4436,
287,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
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
] | [
19796,
503,
262,
1271,
286,
3871,
508,
547,
26476,
422,
262,
4436,
287,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
5357... |
What region has the date of 2005 and Playground Music Scandinavia as a label? | SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia" | [
2061,
3814,
468,
262,
3128,
286,
5075,
290,
3811,
2833,
7849,
29410,
544,
355,
257,
6167,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1433,
33411,
3128,
796,
366,
14315,
1,
5357,
6167,
796,
366,
1759,
2833,
2647,
629,
392,
26802,
544,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3814,
468,
262,
3128,
286,
5075,
290,
3811,
2833,
7849,
29410,
544,
355,
257,
6167,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1433,
33411,
3128,
796,
366,
14315,
1,
5357,
6167,
796,
366,
1759,
2833,
2647,
629,
392,
26802,
544,... |
Name the won for played being 22 and points against 511 and lost being 15 | SELECT won FROM table_27293285_4 WHERE played = "22" AND lost = "15" AND points_against = "511" | [
5376,
262,
1839,
329,
2826,
852,
2534,
290,
2173,
1028,
642,
1157,
290,
2626,
852,
1315,
46506,
1839,
16034,
3084,
62,
1983,
31675,
26279,
62,
19,
33411,
2826,
796,
366,
1828,
1,
5357,
2626,
796,
366,
1314,
1,
5357,
2173,
62,
32826,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1839,
329,
2826,
852,
2534,
290,
2173,
1028,
642,
1157,
290,
2626,
852,
1315,
46506,
1839,
16034,
3084,
62,
1983,
31675,
26279,
62,
19,
33411,
2826,
796,
366,
1828,
1,
5357,
2626,
796,
366,
1314,
1,
5357,
2173,
62,
32826,
... |
how many city with name being providence tower | SELECT COUNT(city) FROM table_13463790_2 WHERE name = "Providence Tower" | [
4919,
867,
1748,
351,
1438,
852,
899,
1704,
10580,
46506,
327,
28270,
7,
19205,
8,
16034,
3084,
62,
1485,
3510,
2718,
3829,
62,
17,
33411,
1438,
796,
366,
15946,
1704,
8765,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
351,
1438,
852,
899,
1704,
10580,
46506,
327,
28270,
7,
19205,
8,
16034,
3084,
62,
1485,
3510,
2718,
3829,
62,
17,
33411,
1438,
796,
366,
15946,
1704,
8765,
1
] |
Name the city of license which has age Watt of 160 watts | SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts" | [
5376,
262,
1748,
286,
5964,
543,
468,
2479,
30263,
286,
13454,
36416,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
3980,
33411,
2479,
62,
86,
1078,
796,
366,
14198,
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
] | [
5376,
262,
1748,
286,
5964,
543,
468,
2479,
30263,
286,
13454,
36416,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
3980,
33411,
2479,
62,
86,
1078,
796,
366,
14198,
36416,
1
] |
What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters? | SELECT MAX("First Elected") FROM table_15823 WHERE "District" = '06.0 6' AND "Committee" = 'economic matters' | [
2061,
318,
262,
41864,
717,
7018,
614,
326,
468,
257,
4783,
286,
9130,
13,
15,
718,
11,
290,
257,
5583,
286,
3034,
6067,
30,
46506,
25882,
7203,
5962,
5903,
276,
4943,
16034,
3084,
62,
21273,
1954,
33411,
366,
44857,
1,
796,
705,
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
] | [
2061,
318,
262,
41864,
717,
7018,
614,
326,
468,
257,
4783,
286,
9130,
13,
15,
718,
11,
290,
257,
5583,
286,
3034,
6067,
30,
46506,
25882,
7203,
5962,
5903,
276,
4943,
16034,
3084,
62,
21273,
1954,
33411,
366,
44857,
1,
796,
705,
33... |
what is the number of patients whose language is engl and age is less than 43? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL" AND demographic.age < "43" | [
10919,
318,
262,
1271,
286,
3871,
3025,
3303,
318,
1786,
75,
290,
2479,
318,
1342,
621,
5946,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3303,
318,
1786,
75,
290,
2479,
318,
1342,
621,
5946,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
... |
Which episode had viewership of 0.296 million? | SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296" | [
13828,
4471,
550,
48347,
286,
657,
13,
27137,
1510,
30,
46506,
4471,
16034,
3084,
62,
1983,
4089,
4304,
1954,
62,
18,
33411,
10209,
834,
17805,
507,
62,
796,
366,
15,
13,
27137,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
550,
48347,
286,
657,
13,
27137,
1510,
30,
46506,
4471,
16034,
3084,
62,
1983,
4089,
4304,
1954,
62,
18,
33411,
10209,
834,
17805,
507,
62,
796,
366,
15,
13,
27137,
1
] |
count the number of patients who since 4 years ago have been prescribed 1 ml vial : heparin sodium (porcine) 5000 unit/ml ij soln. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = '1 ml vial : heparin sodium (porcine) 5000 unit/ml ij soln' AND DATETIME(medication.drugstarttime) >= DATETIME(CURRENT_TIME(), '-4 year')) | [
9127,
262,
1271,
286,
3871,
508,
1201,
604,
812,
2084,
423,
587,
14798,
352,
25962,
410,
498,
1058,
339,
1845,
259,
21072,
357,
1819,
66,
500,
8,
23336,
4326,
14,
4029,
1312,
73,
1540,
77,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
1201,
604,
812,
2084,
423,
587,
14798,
352,
25962,
410,
498,
1058,
339,
1845,
259,
21072,
357,
1819,
66,
500,
8,
23336,
4326,
14,
4029,
1312,
73,
1540,
77,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
... |
Please give me a list of cities whose regional population is over 8000000 or under 5000000. | SELECT city FROM city WHERE regional_population > 10000000 UNION SELECT city FROM city WHERE regional_population < 5000000 | [
5492,
1577,
502,
257,
1351,
286,
4736,
3025,
7915,
3265,
318,
625,
807,
10535,
393,
739,
642,
10535,
13,
46506,
1748,
16034,
1748,
33411,
7915,
62,
39748,
1875,
1802,
20483,
4725,
2849,
33493,
1748,
16034,
1748,
33411,
7915,
62,
39748,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
1577,
502,
257,
1351,
286,
4736,
3025,
7915,
3265,
318,
625,
807,
10535,
393,
739,
642,
10535,
13,
46506,
1748,
16034,
1748,
33411,
7915,
62,
39748,
1875,
1802,
20483,
4725,
2849,
33493,
1748,
16034,
1748,
33411,
7915,
62,
39748,
... |
Name the sum of 2010 for 2000 of 17 and 2005 more than 16 | SELECT SUM(2010) FROM table_name_53 WHERE 2000 = 17 AND 2005 > 16 | [
5376,
262,
2160,
286,
3050,
329,
4751,
286,
1596,
290,
5075,
517,
621,
1467,
46506,
35683,
7,
10333,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
4751,
796,
1596,
5357,
5075,
1875,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
3050,
329,
4751,
286,
1596,
290,
5075,
517,
621,
1467,
46506,
35683,
7,
10333,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
4751,
796,
1596,
5357,
5075,
1875,
1467
] |
What is the average total for countries with under 3 golds and 0 silvers? | SELECT AVG("Total") FROM table_13741 WHERE "Gold" < '3' AND "Silver" < '0' | [
2061,
318,
262,
2811,
2472,
329,
2678,
351,
739,
513,
3869,
82,
290,
657,
3313,
690,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
19708,
3901,
33411,
366,
13306,
1,
1279,
705,
18,
6,
5357,
366,
26766,
1,
1279,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2472,
329,
2678,
351,
739,
513,
3869,
82,
290,
657,
3313,
690,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
19708,
3901,
33411,
366,
13306,
1,
1279,
705,
18,
6,
5357,
366,
26766,
1,
1279,
705,
15,
6
] |
What season was the overall record 24-10? | SELECT season FROM table_14609295_4 WHERE overall = "24-10" | [
2061,
1622,
373,
262,
4045,
1700,
1987,
12,
940,
30,
46506,
1622,
16034,
3084,
62,
1415,
31751,
25710,
62,
19,
33411,
4045,
796,
366,
1731,
12,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1622,
373,
262,
4045,
1700,
1987,
12,
940,
30,
46506,
1622,
16034,
3084,
62,
1415,
31751,
25710,
62,
19,
33411,
4045,
796,
366,
1731,
12,
940,
1
] |
What is the average number of top-5s for the major with 5 top-10s and fewer than 12 cuts made? | SELECT AVG(top_5) FROM table_name_3 WHERE top_10 = 5 AND cuts_made < 12 | [
2061,
318,
262,
2811,
1271,
286,
1353,
12,
20,
82,
329,
262,
1688,
351,
642,
1353,
12,
940,
82,
290,
7380,
621,
1105,
6630,
925,
30,
46506,
35224,
7,
4852,
62,
20,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
1353,
62,
940,
796,
642... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
1353,
12,
20,
82,
329,
262,
1688,
351,
642,
1353,
12,
940,
82,
290,
7380,
621,
1105,
6630,
925,
30,
46506,
35224,
7,
4852,
62,
20,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
1353,
62,
940,
796,
642... |
Which Home team score has an Away team of carlton? | SELECT home_team AS score FROM table_name_72 WHERE away_team = "carlton" | [
13828,
5995,
1074,
4776,
468,
281,
21986,
1074,
286,
1097,
75,
1122,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4761,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5995,
1074,
4776,
468,
281,
21986,
1074,
286,
1097,
75,
1122,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4761,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
What is the English version of Mariusz Szczygie book? | SELECT "English title" FROM table_19461 WHERE "Author" = 'Mariusz Szczygieł' | [
2061,
318,
262,
3594,
2196,
286,
1526,
3754,
89,
27974,
66,
7357,
22699,
1492,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
1129,
40652,
33411,
366,
13838,
1,
796,
705,
44,
19897,
89,
27974,
66,
7357,
22699,
41615,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3594,
2196,
286,
1526,
3754,
89,
27974,
66,
7357,
22699,
1492,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
1129,
40652,
33411,
366,
13838,
1,
796,
705,
44,
19897,
89,
27974,
66,
7357,
22699,
41615,
6
] |
For those employees who did not have any job in the past, find job_id and the average of salary , and group by attribute job_id, and visualize them by a bar chart, and I want to order by the Y in ascending. | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY AVG(SALARY) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1064,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
1502... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1064,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
1502... |
count the number of patients whose admission type is newborn and lab test name is phosphate. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "NEWBORN" AND lab.label = "Phosphate" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
23856,
290,
2248,
1332,
1438,
318,
46926,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
23856,
290,
2248,
1332,
1438,
318,
46926,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... |
How many faculty members participate in each activity? Return the activity names and the number of faculty members. Show bar chart. | SELECT activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_Participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid | [
2437,
867,
12829,
1866,
8277,
287,
1123,
3842,
30,
8229,
262,
3842,
3891,
290,
262,
1271,
286,
12829,
1866,
13,
5438,
2318,
8262,
13,
46506,
3842,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
24641,
7054,
309,
16,
32357,
1268,
35262,
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... | [
2437,
867,
12829,
1866,
8277,
287,
1123,
3842,
30,
8229,
262,
3842,
3891,
290,
262,
1271,
286,
12829,
1866,
13,
5438,
2318,
8262,
13,
46506,
3842,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
24641,
7054,
309,
16,
32357,
1268,
35262,
62... |
How many millions of U.S. viewers watched the episode directed by Rob Bailey and written by Pam Veasey? | SELECT "U.S. viewers (millions)" FROM table_72318 WHERE "Directed by" = 'Rob Bailey' AND "Written by" = 'Pam Veasey' | [
2437,
867,
5242,
286,
471,
13,
50,
13,
10209,
7342,
262,
4471,
7924,
416,
3851,
20330,
290,
3194,
416,
24497,
8016,
589,
88,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
22,
1954,
1507,
33411,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
5242,
286,
471,
13,
50,
13,
10209,
7342,
262,
4471,
7924,
416,
3851,
20330,
290,
3194,
416,
24497,
8016,
589,
88,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
22,
1954,
1507,
33411,
366,... |
What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package? | SELECT "N\u00b0" FROM table_20394 WHERE "Package/Option" = 'Sky Cinema' AND "Content" = 'cinema' AND "Television service" = 'Sky Cinema +24' | [
2061,
389,
262,
3815,
286,
299,
329,
22041,
2695,
2810,
416,
5274,
31535,
1343,
1731,
319,
663,
5274,
31535,
5301,
30,
46506,
366,
45,
59,
84,
405,
65,
15,
1,
16034,
3084,
62,
1238,
34626,
33411,
366,
27813,
14,
19722,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3815,
286,
299,
329,
22041,
2695,
2810,
416,
5274,
31535,
1343,
1731,
319,
663,
5274,
31535,
5301,
30,
46506,
366,
45,
59,
84,
405,
65,
15,
1,
16034,
3084,
62,
1238,
34626,
33411,
366,
27813,
14,
19722,
1,
796,
705,
... |
Who was the team's opponent of October 25, 1970? | SELECT opponent FROM table_14966537_1 WHERE date = "October 25, 1970" | [
8241,
373,
262,
1074,
338,
6125,
286,
3267,
1679,
11,
8069,
30,
46506,
6125,
16034,
3084,
62,
19442,
36879,
2718,
62,
16,
33411,
3128,
796,
366,
18517,
1679,
11,
8069,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1074,
338,
6125,
286,
3267,
1679,
11,
8069,
30,
46506,
6125,
16034,
3084,
62,
19442,
36879,
2718,
62,
16,
33411,
3128,
796,
366,
18517,
1679,
11,
8069,
1
] |
Who is the winner when mark fuller was the runner-up? | SELECT "Winner" FROM table_59739 WHERE "Runner-up" = 'mark fuller' | [
8241,
318,
262,
8464,
618,
1317,
44757,
373,
262,
17490,
12,
929,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
43239,
2670,
33411,
366,
49493,
12,
929,
1,
796,
705,
4102,
44757,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
8464,
618,
1317,
44757,
373,
262,
17490,
12,
929,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
43239,
2670,
33411,
366,
49493,
12,
929,
1,
796,
705,
4102,
44757,
6
] |
how many exposures where there when the total exposure time is 105,000s? | SELECT exposures FROM table_2583036_1 WHERE total_exposure_time = "105,000s" | [
4919,
867,
32185,
810,
612,
618,
262,
2472,
7111,
640,
318,
13343,
11,
830,
82,
30,
46506,
32185,
16034,
3084,
62,
25600,
1270,
2623,
62,
16,
33411,
2472,
62,
1069,
26205,
62,
2435,
796,
366,
13348,
11,
830,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32185,
810,
612,
618,
262,
2472,
7111,
640,
318,
13343,
11,
830,
82,
30,
46506,
32185,
16034,
3084,
62,
25600,
1270,
2623,
62,
16,
33411,
2472,
62,
1069,
26205,
62,
2435,
796,
366,
13348,
11,
830,
82,
1
] |
Find the ids and first names of the 3 teachers that have the most number of assessment notes? | SELECT T1.teacher_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id GROUP BY T1.teacher_id ORDER BY COUNT(*) DESC LIMIT 3 | [
16742,
262,
220,
2340,
290,
717,
3891,
286,
262,
513,
7799,
326,
423,
262,
749,
1271,
286,
8922,
4710,
30,
46506,
309,
16,
13,
660,
3493,
62,
312,
11,
309,
17,
13,
11085,
62,
3672,
16034,
25809,
62,
16130,
7054,
309,
16,
32357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
220,
2340,
290,
717,
3891,
286,
262,
513,
7799,
326,
423,
262,
749,
1271,
286,
8922,
4710,
30,
46506,
309,
16,
13,
660,
3493,
62,
312,
11,
309,
17,
13,
11085,
62,
3672,
16034,
25809,
62,
16130,
7054,
309,
16,
32357,
12... |
What song has 24 votes? | SELECT "Song" FROM table_23292 WHERE "Total votes" = '24' | [
2061,
3496,
468,
1987,
5690,
30,
46506,
366,
44241,
1,
16034,
3084,
62,
1954,
32759,
33411,
366,
14957,
5690,
1,
796,
705,
1731,
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
] | [
2061,
3496,
468,
1987,
5690,
30,
46506,
366,
44241,
1,
16034,
3084,
62,
1954,
32759,
33411,
366,
14957,
5690,
1,
796,
705,
1731,
6
] |
Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament? | SELECT runner_s__up FROM table_name_21 WHERE tournament = "merrill lynch/golf digest commemorative pro-am" | [
8241,
373,
262,
21529,
12,
929,
329,
262,
4017,
20190,
31432,
354,
14,
70,
4024,
16274,
28723,
876,
386,
12,
321,
7756,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
3672,
62,
2481,
33411,
7756,
796,
366,
647,
20190,
31432,
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
] | [
8241,
373,
262,
21529,
12,
929,
329,
262,
4017,
20190,
31432,
354,
14,
70,
4024,
16274,
28723,
876,
386,
12,
321,
7756,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
3672,
62,
2481,
33411,
7756,
796,
366,
647,
20190,
31432,
3... |
KML tag with language tags (rough estimate). | SELECT COUNT(DISTINCT P.Id) FROM Posts AS P INNER JOIN PostTags AS PT ON PT.PostId = P.Id INNER JOIN Tags AS T ON T.Id = PT.TagId INNER JOIN PostTags AS PT2 ON PT2.PostId = P.Id INNER JOIN Tags AS T2 ON T2.Id = PT2.TagId WHERE P.PostTypeId = 1 AND T.TagName = 'xml' AND T2.TagName IN ('javascript', 'android', 'java', 'p... | [
42,
5805,
7621,
351,
3303,
15940,
357,
740,
8636,
737,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
350,
13,
7390,
8,
16034,
12043,
7054,
350,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
19310,
6177,
19310,
13,
6307,
7390,
796,
350,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
42,
5805,
7621,
351,
3303,
15940,
357,
740,
8636,
737,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
350,
13,
7390,
8,
16034,
12043,
7054,
350,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
19310,
6177,
19310,
13,
6307,
7390,
796,
350,
1... |
Badge: Nice Answer, by month (2011). | SELECT DATEADD(m, MONTH(Date), '2010-12-01') AS "month", COUNT(Id) AS "nice_answer" FROM Badges WHERE YEAR(Date) = 2011 AND Name = 'Nice Answer' GROUP BY MONTH(Date) ORDER BY MONTH(Date) | [
22069,
469,
25,
18460,
23998,
11,
416,
1227,
357,
9804,
737,
46506,
360,
6158,
29266,
7,
76,
11,
25000,
4221,
7,
10430,
828,
705,
10333,
12,
1065,
12,
486,
11537,
7054,
366,
8424,
1600,
327,
28270,
7,
7390,
8,
7054,
366,
44460,
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... | [
22069,
469,
25,
18460,
23998,
11,
416,
1227,
357,
9804,
737,
46506,
360,
6158,
29266,
7,
76,
11,
25000,
4221,
7,
10430,
828,
705,
10333,
12,
1065,
12,
486,
11537,
7054,
366,
8424,
1600,
327,
28270,
7,
7390,
8,
7054,
366,
44460,
62,
... |
Which mean rank had a silver number smaller than 0? | SELECT AVG("Rank") FROM table_54982 WHERE "Silver" < '0' | [
13828,
1612,
4279,
550,
257,
8465,
1271,
4833,
621,
657,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
44966,
6469,
33411,
366,
26766,
1,
1279,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1612,
4279,
550,
257,
8465,
1271,
4833,
621,
657,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
44966,
6469,
33411,
366,
26766,
1,
1279,
705,
15,
6
] |
Is it possible for me to take the 100 -level classes , in the Spring or Summer term ? | SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias0 WHERE COURS... | [
3792,
340,
1744,
329,
502,
284,
1011,
262,
1802,
532,
5715,
6097,
837,
287,
262,
8225,
393,
10216,
3381,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
518... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
340,
1744,
329,
502,
284,
1011,
262,
1802,
532,
5715,
6097,
837,
287,
262,
8225,
393,
10216,
3381,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
518... |
What venue is in Long Beach? | SELECT "Venue" FROM table_31694 WHERE "City" = 'long beach' | [
2061,
14359,
318,
287,
5882,
8511,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
33400,
5824,
33411,
366,
14941,
1,
796,
705,
6511,
10481,
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
] | [
2061,
14359,
318,
287,
5882,
8511,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
33400,
5824,
33411,
366,
14941,
1,
796,
705,
6511,
10481,
6
] |
What year was the wheel arrangement 0-6-0 and a class 302? | SELECT "Year made" FROM table_10554 WHERE "Wheel arrangement" = '0-6-0' AND "Class" = '302' | [
2061,
614,
373,
262,
7825,
13888,
657,
12,
21,
12,
15,
290,
257,
1398,
32591,
30,
46506,
366,
17688,
925,
1,
16034,
3084,
62,
940,
44218,
33411,
366,
45307,
13888,
1,
796,
705,
15,
12,
21,
12,
15,
6,
5357,
366,
9487,
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
] | [
2061,
614,
373,
262,
7825,
13888,
657,
12,
21,
12,
15,
290,
257,
1398,
32591,
30,
46506,
366,
17688,
925,
1,
16034,
3084,
62,
940,
44218,
33411,
366,
45307,
13888,
1,
796,
705,
15,
12,
21,
12,
15,
6,
5357,
366,
9487,
1,
796,
705... |
Who is the winner and score during the week of April 22? | SELECT winner_and_score FROM table_name_54 WHERE week = "april 22" | [
8241,
318,
262,
8464,
290,
4776,
1141,
262,
1285,
286,
3035,
2534,
30,
46506,
8464,
62,
392,
62,
26675,
16034,
3084,
62,
3672,
62,
4051,
33411,
1285,
796,
366,
499,
22379,
2534,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
8464,
290,
4776,
1141,
262,
1285,
286,
3035,
2534,
30,
46506,
8464,
62,
392,
62,
26675,
16034,
3084,
62,
3672,
62,
4051,
33411,
1285,
796,
366,
499,
22379,
2534,
1
] |
body _ mass index greater than or equal to 25 | SELECT * FROM table_train_221 WHERE body_mass_index_bmi >= 25 | [
2618,
4808,
2347,
6376,
3744,
621,
393,
4961,
284,
1679,
46506,
1635,
16034,
3084,
62,
27432,
62,
26115,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
18189,
1679
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2618,
4808,
2347,
6376,
3744,
621,
393,
4961,
284,
1679,
46506,
1635,
16034,
3084,
62,
27432,
62,
26115,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
18189,
1679
] |
calculate the number of patients staying in ward 102 the previous year. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 102 AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
9948,
3129,
378,
262,
1271,
286,
3871,
10589,
287,
15305,
15143,
262,
2180,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
15143,
5357,
360,
1404,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1271,
286,
3871,
10589,
287,
15305,
15143,
262,
2180,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
15143,
5357,
360,
1404,
... |
Visualize a bar chart for simply displaying the email address of the employee and the corresponding salary. | SELECT EMAIL, SALARY FROM employees | [
36259,
1096,
257,
2318,
8262,
329,
2391,
19407,
262,
3053,
2209,
286,
262,
6538,
290,
262,
11188,
9588,
13,
46506,
412,
5673,
4146,
11,
42475,
13153,
16034,
4409
] | [
1,
1,
1,
1,
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,
2391,
19407,
262,
3053,
2209,
286,
262,
6538,
290,
262,
11188,
9588,
13,
46506,
412,
5673,
4146,
11,
42475,
13153,
16034,
4409
] |
how many singles games did she win before 2003 ? | SELECT COUNT(*) FROM table_203_220 WHERE "outcome" = 'winner' AND "date" < 2003 | [
4919,
867,
25287,
1830,
750,
673,
1592,
878,
5816,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
17572,
33411,
366,
448,
2958,
1,
796,
705,
39791,
6,
5357,
366,
4475,
1,
1279,
5816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25287,
1830,
750,
673,
1592,
878,
5816,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
17572,
33411,
366,
448,
2958,
1,
796,
705,
39791,
6,
5357,
366,
4475,
1,
1279,
5816
] |
Which Median family income has a Median household income of $43,125? | SELECT "Median family income" FROM table_5755 WHERE "Median household income" = '$43,125' | [
13828,
26178,
1641,
3739,
468,
257,
26178,
6641,
3739,
286,
720,
3559,
11,
11623,
30,
46506,
366,
9921,
666,
1641,
3739,
1,
16034,
3084,
62,
36189,
20,
33411,
366,
9921,
666,
6641,
3739,
1,
796,
705,
3,
3559,
11,
11623,
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
] | [
13828,
26178,
1641,
3739,
468,
257,
26178,
6641,
3739,
286,
720,
3559,
11,
11623,
30,
46506,
366,
9921,
666,
1641,
3739,
1,
16034,
3084,
62,
36189,
20,
33411,
366,
9921,
666,
6641,
3739,
1,
796,
705,
3,
3559,
11,
11623,
6
] |
how many times did debbie black block | SELECT "Blocks" FROM table_23173 WHERE "Player" = 'Debbie Black' | [
4919,
867,
1661,
750,
1915,
12590,
2042,
2512,
46506,
366,
45356,
1,
16034,
3084,
62,
1954,
25399,
33411,
366,
14140,
1,
796,
705,
16587,
12590,
2619,
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
] | [
4919,
867,
1661,
750,
1915,
12590,
2042,
2512,
46506,
366,
45356,
1,
16034,
3084,
62,
1954,
25399,
33411,
366,
14140,
1,
796,
705,
16587,
12590,
2619,
6
] |
calculate the number of patients who have stayed in the 54 ward since 2 years ago. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 54 AND DATETIME(transfers.intime) >= DATETIME(CURRENT_TIME(), '-2 year')) | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
423,
9658,
287,
262,
7175,
15305,
1201,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
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... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
423,
9658,
287,
262,
7175,
15305,
1201,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
32... |
What region has a 2002 date, and a Catalog dos 195? | SELECT region FROM table_name_70 WHERE date = "2002" AND catalog = "dos 195" | [
2061,
3814,
468,
257,
6244,
3128,
11,
290,
257,
44515,
23430,
24793,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
2154,
33411,
3128,
796,
366,
16942,
1,
5357,
18388,
796,
366,
37427,
24793,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3814,
468,
257,
6244,
3128,
11,
290,
257,
44515,
23430,
24793,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
2154,
33411,
3128,
796,
366,
16942,
1,
5357,
18388,
796,
366,
37427,
24793,
1
] |
How many players had overall 78? | SELECT COUNT(player) FROM table_11803648_22 WHERE overall = "78" | [
2437,
867,
1938,
550,
4045,
8699,
30,
46506,
327,
28270,
7,
7829,
8,
16034,
3084,
62,
1157,
1795,
26780,
23,
62,
1828,
33411,
4045,
796,
366,
3695,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1938,
550,
4045,
8699,
30,
46506,
327,
28270,
7,
7829,
8,
16034,
3084,
62,
1157,
1795,
26780,
23,
62,
1828,
33411,
4045,
796,
366,
3695,
1
] |
List the number of the description of the outcomes for all projects, and list in desc by the the number of outcome description. | 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) DESC | [
8053,
262,
1271,
286,
262,
6764,
286,
262,
10906,
329,
477,
4493,
11,
290,
1351,
287,
1715,
416,
262,
262,
1271,
286,
8055,
6764,
13,
46506,
8055,
62,
11213,
11,
327,
28270,
7,
448,
2958,
62,
11213,
8,
16034,
4992,
62,
7975,
8988,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
1271,
286,
262,
6764,
286,
262,
10906,
329,
477,
4493,
11,
290,
1351,
287,
1715,
416,
262,
262,
1271,
286,
8055,
6764,
13,
46506,
8055,
62,
11213,
11,
327,
28270,
7,
448,
2958,
62,
11213,
8,
16034,
4992,
62,
7975,
8988,
... |
count the number of patients with lab test item id 51221 who have abnormal lab test status. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51221" AND lab.flag = "abnormal" | [
9127,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
22243,
2481,
508,
423,
18801,
2248,
1332,
3722,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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... | [
9127,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
22243,
2481,
508,
423,
18801,
2248,
1332,
3722,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
What was Johnnie Parsons rank when he completed over 200 laps? | SELECT "Rank" FROM table_67063 WHERE "Laps" > '200' | [
2061,
373,
1757,
11952,
35925,
4279,
618,
339,
5668,
625,
939,
24590,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
43798,
5066,
33411,
366,
43,
1686,
1,
1875,
705,
2167,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
1757,
11952,
35925,
4279,
618,
339,
5668,
625,
939,
24590,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
43798,
5066,
33411,
366,
43,
1686,
1,
1875,
705,
2167,
6
] |
what was the name of the team opponent to elfsborg | SELECT team FROM table_29261823_10 WHERE opponent = "Elfsborg" | [
10919,
373,
262,
1438,
286,
262,
1074,
6125,
284,
1288,
9501,
23297,
46506,
1074,
16034,
3084,
62,
1959,
2075,
1507,
1954,
62,
940,
33411,
6125,
796,
366,
46995,
82,
23297,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
1438,
286,
262,
1074,
6125,
284,
1288,
9501,
23297,
46506,
1074,
16034,
3084,
62,
1959,
2075,
1507,
1954,
62,
940,
33411,
6125,
796,
366,
46995,
82,
23297,
1
] |
Draw a pie chart about the proportion of All_Road and ACC_Percent. | SELECT All_Road, ACC_Percent FROM basketball_match | [
25302,
257,
2508,
8262,
546,
262,
9823,
286,
1439,
62,
29197,
290,
15859,
62,
31905,
13,
46506,
1439,
62,
29197,
11,
15859,
62,
31905,
16034,
9669,
62,
15699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2508,
8262,
546,
262,
9823,
286,
1439,
62,
29197,
290,
15859,
62,
31905,
13,
46506,
1439,
62,
29197,
11,
15859,
62,
31905,
16034,
9669,
62,
15699
] |
What was the high assists for game 31? | SELECT "High assists" FROM table_55376 WHERE "Game" = '31' | [
2061,
373,
262,
1029,
13648,
329,
983,
3261,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2816,
32128,
33411,
366,
8777,
1,
796,
705,
3132,
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,
373,
262,
1029,
13648,
329,
983,
3261,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2816,
32128,
33411,
366,
8777,
1,
796,
705,
3132,
6
] |
What away team played Collingwood? | SELECT "Away team" FROM table_32340 WHERE "Home team" = 'collingwood' | [
2061,
1497,
1074,
2826,
7778,
278,
3822,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
32637,
1821,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
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,
1497,
1074,
2826,
7778,
278,
3822,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
32637,
1821,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628? | SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628 | [
13828,
10916,
318,
262,
4511,
530,
326,
468,
257,
9794,
4833,
621,
5846,
11,
290,
257,
9072,
286,
809,
28380,
257,
2387,
11,
290,
257,
12028,
4025,
621,
718,
2078,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
17,
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
] | [
13828,
10916,
318,
262,
4511,
530,
326,
468,
257,
9794,
4833,
621,
5846,
11,
290,
257,
9072,
286,
809,
28380,
257,
2387,
11,
290,
257,
12028,
4025,
621,
718,
2078,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
17,
33411,... |
find out the admission location and time of discharge for patient with patient id 17787. | SELECT demographic.admission_location, demographic.dischtime FROM demographic WHERE demographic.subject_id = "17787" | [
19796,
503,
262,
13938,
4067,
290,
640,
286,
17655,
329,
5827,
351,
5827,
4686,
1596,
41019,
13,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
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
] | [
19796,
503,
262,
13938,
4067,
290,
640,
286,
17655,
329,
5827,
351,
5827,
4686,
1596,
41019,
13,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
4... |
What is the average Year, when Start is '11'? | SELECT AVG(year) FROM table_name_42 WHERE start = 11 | [
2061,
318,
262,
2811,
6280,
11,
618,
7253,
318,
705,
1157,
30960,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
923,
796,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
6280,
11,
618,
7253,
318,
705,
1157,
30960,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
923,
796,
1367
] |
when was the site partially deleted when the cerclis id is az7570028582? | SELECT "Partially deleted" FROM table_77867 WHERE "CERCLIS ID" = 'az7570028582' | [
12518,
373,
262,
2524,
12387,
13140,
618,
262,
26074,
565,
271,
4686,
318,
35560,
2425,
9879,
2078,
46044,
30,
46506,
366,
7841,
1927,
13140,
1,
16034,
3084,
62,
39761,
3134,
33411,
366,
34,
1137,
5097,
1797,
4522,
1,
796,
705,
1031,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
373,
262,
2524,
12387,
13140,
618,
262,
26074,
565,
271,
4686,
318,
35560,
2425,
9879,
2078,
46044,
30,
46506,
366,
7841,
1927,
13140,
1,
16034,
3084,
62,
39761,
3134,
33411,
366,
34,
1137,
5097,
1797,
4522,
1,
796,
705,
1031,
... |
When yakup ener is the athlete what is the round of 32? | SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Yakup Şener" | [
2215,
46251,
929,
2400,
318,
262,
16076,
644,
318,
262,
2835,
286,
3933,
30,
46506,
2835,
62,
1659,
62,
2624,
16034,
3084,
62,
1983,
27696,
15982,
62,
1157,
33411,
16076,
796,
366,
56,
461,
929,
25370,
252,
877,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
46251,
929,
2400,
318,
262,
16076,
644,
318,
262,
2835,
286,
3933,
30,
46506,
2835,
62,
1659,
62,
2624,
16034,
3084,
62,
1983,
27696,
15982,
62,
1157,
33411,
16076,
796,
366,
56,
461,
929,
25370,
252,
877,
1
] |
Which Points have a Visitor of montreal canadiens, and an Attendance larger than 18,568, and a Record of 2 0 1? | SELECT MAX("Points") FROM table_50041 WHERE "Visitor" = 'montreal canadiens' AND "Attendance" > '18,568' AND "Record" = '2–0–1' | [
13828,
11045,
423,
257,
6911,
2072,
286,
40689,
5305,
460,
9189,
641,
11,
290,
281,
46502,
590,
4025,
621,
1248,
11,
49211,
11,
290,
257,
13266,
286,
362,
657,
352,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
4059,
3901,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
11045,
423,
257,
6911,
2072,
286,
40689,
5305,
460,
9189,
641,
11,
290,
281,
46502,
590,
4025,
621,
1248,
11,
49211,
11,
290,
257,
13266,
286,
362,
657,
352,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
4059,
3901,
334... |
Name the judges for 4 public | SELECT "Judges" FROM table_28648 WHERE "Public" = '4' | [
5376,
262,
10266,
329,
604,
1171,
46506,
366,
26141,
3212,
1,
16034,
3084,
62,
2078,
34287,
33411,
366,
15202,
1,
796,
705,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
10266,
329,
604,
1171,
46506,
366,
26141,
3212,
1,
16034,
3084,
62,
2078,
34287,
33411,
366,
15202,
1,
796,
705,
19,
6
] |
What is the lowest silver that has 1 for the bronze, 1 as the total, 17 as the rank, with a gold less than 0? | SELECT MIN("Silver") FROM table_64832 WHERE "Bronze" = '1' AND "Total" = '1' AND "Rank" = '17' AND "Gold" < '0' | [
2061,
318,
262,
9016,
8465,
326,
468,
352,
329,
262,
22101,
11,
352,
355,
262,
2472,
11,
1596,
355,
262,
4279,
11,
351,
257,
3869,
1342,
621,
657,
30,
46506,
20625,
7203,
26766,
4943,
16034,
3084,
62,
34287,
2624,
33411,
366,
18760,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9016,
8465,
326,
468,
352,
329,
262,
22101,
11,
352,
355,
262,
2472,
11,
1596,
355,
262,
4279,
11,
351,
257,
3869,
1342,
621,
657,
30,
46506,
20625,
7203,
26766,
4943,
16034,
3084,
62,
34287,
2624,
33411,
366,
18760,
... |
Find the name and checking balance of the account with the lowest savings balance. | SELECT T1.name, T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1 | [
16742,
262,
1438,
290,
10627,
5236,
286,
262,
1848,
351,
262,
9016,
10653,
5236,
13,
46506,
309,
16,
13,
3672,
11,
309,
17,
13,
20427,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
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... | [
16742,
262,
1438,
290,
10627,
5236,
286,
262,
1848,
351,
262,
9016,
10653,
5236,
13,
46506,
309,
16,
13,
3672,
11,
309,
17,
13,
20427,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
... |
How many HC climbs had 1 visit more recently than 1984, a first HC climb before 1994, and a height of 1900? | SELECT "No. of HC climbs" FROM table_53082 WHERE "No. of times visited" = '1' AND "Most recent" > '1984' AND "First time as HC climb" < '1994' AND "Height (m.)" = '1900' | [
2437,
867,
27327,
34332,
550,
352,
3187,
517,
2904,
621,
12844,
11,
257,
717,
27327,
12080,
878,
9162,
11,
290,
257,
6001,
286,
21489,
30,
46506,
366,
2949,
13,
286,
27327,
34332,
1,
16034,
3084,
62,
38612,
6469,
33411,
366,
2949,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
27327,
34332,
550,
352,
3187,
517,
2904,
621,
12844,
11,
257,
717,
27327,
12080,
878,
9162,
11,
290,
257,
6001,
286,
21489,
30,
46506,
366,
2949,
13,
286,
27327,
34332,
1,
16034,
3084,
62,
38612,
6469,
33411,
366,
2949,
13,... |
What is the sum of cuts made when the top-5 is 2, and there are 12 events? | SELECT COUNT(cuts_made) FROM table_name_45 WHERE top_5 = 2 AND events = 12 | [
2061,
318,
262,
2160,
286,
6630,
925,
618,
262,
1353,
12,
20,
318,
362,
11,
290,
612,
389,
1105,
2995,
30,
46506,
327,
28270,
7,
23779,
62,
9727,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1353,
62,
20,
796,
362,
5357,
2995,
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
] | [
2061,
318,
262,
2160,
286,
6630,
925,
618,
262,
1353,
12,
20,
318,
362,
11,
290,
612,
389,
1105,
2995,
30,
46506,
327,
28270,
7,
23779,
62,
9727,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1353,
62,
20,
796,
362,
5357,
2995,
796,
... |
What is the time for the second qualification where the best time was 1:20.772? | SELECT "Qual 2" FROM table_10355 WHERE "Best" = '1:20.772' | [
2061,
318,
262,
640,
329,
262,
1218,
28587,
810,
262,
1266,
640,
373,
352,
25,
1238,
13,
43571,
30,
46506,
366,
46181,
362,
1,
16034,
3084,
62,
940,
28567,
33411,
366,
13014,
1,
796,
705,
16,
25,
1238,
13,
43571,
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
] | [
2061,
318,
262,
640,
329,
262,
1218,
28587,
810,
262,
1266,
640,
373,
352,
25,
1238,
13,
43571,
30,
46506,
366,
46181,
362,
1,
16034,
3084,
62,
940,
28567,
33411,
366,
13014,
1,
796,
705,
16,
25,
1238,
13,
43571,
6
] |
what is average days of hospital stay of patients whose primary disease is copd exacerbation? | SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "COPD EXACERBATION" | [
10919,
318,
2811,
1528,
286,
4436,
2652,
286,
3871,
3025,
4165,
4369,
318,
2243,
67,
22907,
341,
30,
46506,
35224,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
34,
3185,
35,
7788,
2246... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
1528,
286,
4436,
2652,
286,
3871,
3025,
4165,
4369,
318,
2243,
67,
22907,
341,
30,
46506,
35224,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
34,
3185,
35,
7788,
2246... |
What is Teleplay, when Season is greater than 1.1, and when First Broadcast is 'February 20, 1981'? | SELECT "Teleplay" FROM table_48775 WHERE "Season" > '1.1' AND "First Broadcast" = 'february 20, 1981' | [
2061,
318,
14318,
1759,
11,
618,
7369,
318,
3744,
621,
352,
13,
16,
11,
290,
618,
3274,
44244,
318,
705,
21816,
1160,
11,
14745,
30960,
46506,
366,
31709,
1759,
1,
16034,
3084,
62,
2780,
34483,
33411,
366,
18960,
1,
1875,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
14318,
1759,
11,
618,
7369,
318,
3744,
621,
352,
13,
16,
11,
290,
618,
3274,
44244,
318,
705,
21816,
1160,
11,
14745,
30960,
46506,
366,
31709,
1759,
1,
16034,
3084,
62,
2780,
34483,
33411,
366,
18960,
1,
1875,
705,
16,
1... |
In games where the opponent was the San Francisco 49ers what was the minimum amount of points scored? | SELECT MIN("Falcons points") FROM table_20982 WHERE "Opponent" = 'San Francisco 49ers' | [
818,
1830,
810,
262,
6125,
373,
262,
2986,
6033,
5125,
364,
644,
373,
262,
5288,
2033,
286,
2173,
7781,
30,
46506,
20625,
7203,
41129,
5936,
2173,
4943,
16034,
3084,
62,
1238,
4089,
17,
33411,
366,
27524,
3471,
1,
796,
705,
15017,
603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
810,
262,
6125,
373,
262,
2986,
6033,
5125,
364,
644,
373,
262,
5288,
2033,
286,
2173,
7781,
30,
46506,
20625,
7203,
41129,
5936,
2173,
4943,
16034,
3084,
62,
1238,
4089,
17,
33411,
366,
27524,
3471,
1,
796,
705,
15017,
603... |
how many hours have been elapsed since patient 95057 was admitted to the icu? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', icustays.intime)) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95057) AND icustays.outtime IS NULL | [
4919,
867,
2250,
423,
587,
42118,
1201,
5827,
38384,
3553,
373,
6848,
284,
262,
14158,
84,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2250,
423,
587,
42118,
1201,
5827,
38384,
3553,
373,
6848,
284,
262,
14158,
84,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
... |
What are the results for the game with 82,113 attending? | SELECT result FROM table_name_41 WHERE attendance = "82,113" | [
2061,
389,
262,
2482,
329,
262,
983,
351,
9415,
11,
16616,
11969,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3901,
33411,
14858,
796,
366,
6469,
11,
16616,
1
] | [
1,
1,
1,
1,
1,
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,
2482,
329,
262,
983,
351,
9415,
11,
16616,
11969,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3901,
33411,
14858,
796,
366,
6469,
11,
16616,
1
] |
What is the score when york city was the home team? | SELECT score FROM table_name_91 WHERE home_team = "york city" | [
2061,
318,
262,
4776,
618,
331,
967,
1748,
373,
262,
1363,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
1363,
62,
15097,
796,
366,
88,
967,
1748,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
331,
967,
1748,
373,
262,
1363,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
1363,
62,
15097,
796,
366,
88,
967,
1748,
1
] |
How many countries has a gdp (nominal) of $29.9 billion? | SELECT COUNT("GDP per capita (nominal)") FROM table_17188 WHERE "GDP (nominal)" = '$29.9 billion' | [
2437,
867,
2678,
468,
257,
308,
26059,
357,
26601,
1292,
8,
286,
720,
1959,
13,
24,
2997,
30,
46506,
327,
28270,
7203,
38,
6322,
583,
21344,
357,
26601,
1292,
8,
4943,
16034,
3084,
62,
1558,
20356,
33411,
366,
38,
6322,
357,
26601,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2678,
468,
257,
308,
26059,
357,
26601,
1292,
8,
286,
720,
1959,
13,
24,
2997,
30,
46506,
327,
28270,
7203,
38,
6322,
583,
21344,
357,
26601,
1292,
8,
4943,
16034,
3084,
62,
1558,
20356,
33411,
366,
38,
6322,
357,
26601,
... |
What's the HPO4 2 that has less than 89.3 as an H2PO 4 and 3.02 10 5 as the PO4 3? | SELECT "[HPO 4 2\u2212 ]/[A] (%)" FROM table_13627 WHERE "[H 2 PO 4 \u2212 ]/[A] (%)" < '89.3' AND "[PO 4 3\u2212 ]/[A] (%)" = '3.02×10 −5' | [
2061,
338,
262,
6574,
46,
19,
362,
326,
468,
1342,
621,
9919,
13,
18,
355,
281,
367,
17,
16402,
604,
290,
513,
13,
2999,
838,
642,
355,
262,
19922,
19,
513,
30,
46506,
12878,
14082,
46,
604,
362,
59,
84,
1828,
1065,
2361,
14,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6574,
46,
19,
362,
326,
468,
1342,
621,
9919,
13,
18,
355,
281,
367,
17,
16402,
604,
290,
513,
13,
2999,
838,
642,
355,
262,
19922,
19,
513,
30,
46506,
12878,
14082,
46,
604,
362,
59,
84,
1828,
1065,
2361,
14,
58... |
What is the adjusted GDP when the population is 5.141 million? | SELECT "GDP Adjusted ($ billions)" FROM table_20567 WHERE "Population (millions)" = '5.141' | [
2061,
318,
262,
12328,
12396,
618,
262,
3265,
318,
642,
13,
23756,
1510,
30,
46506,
366,
38,
6322,
45624,
7198,
13188,
16725,
16034,
3084,
62,
21261,
3134,
33411,
366,
45251,
357,
17805,
507,
16725,
796,
705,
20,
13,
23756,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
12328,
12396,
618,
262,
3265,
318,
642,
13,
23756,
1510,
30,
46506,
366,
38,
6322,
45624,
7198,
13188,
16725,
16034,
3084,
62,
21261,
3134,
33411,
366,
45251,
357,
17805,
507,
16725,
796,
705,
20,
13,
23756,
6
] |
what's the computing mechanbeingm with first operational being february 1944 | SELECT "Computing mechanism" FROM table_72467 WHERE "First operational" = 'February 1944' | [
10919,
338,
262,
14492,
3962,
11873,
76,
351,
717,
13919,
852,
730,
65,
3728,
16994,
46506,
366,
5377,
48074,
9030,
1,
16034,
3084,
62,
22,
1731,
3134,
33411,
366,
5962,
13919,
1,
796,
705,
21816,
16994,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
14492,
3962,
11873,
76,
351,
717,
13919,
852,
730,
65,
3728,
16994,
46506,
366,
5377,
48074,
9030,
1,
16034,
3084,
62,
22,
1731,
3134,
33411,
366,
5962,
13919,
1,
796,
705,
21816,
16994,
6
] |
For all employees who have the letters D or S in their first name, draw a scatter chart about the correlation between employee_id and commission_pct . | SELECT EMPLOYEE_ID, COMMISSION_PCT FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
5810,
62,
79,
310,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
22240,
40373,
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... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
5810,
62,
79,
310,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
22240,
40373,
62... |
If the record is 5-8, what is the team name? | SELECT team FROM table_23285805_4 WHERE record = "5-8" | [
1532,
262,
1700,
318,
642,
12,
23,
11,
644,
318,
262,
1074,
1438,
30,
46506,
1074,
16034,
3084,
62,
1954,
26279,
28256,
62,
19,
33411,
1700,
796,
366,
20,
12,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
318,
642,
12,
23,
11,
644,
318,
262,
1074,
1438,
30,
46506,
1074,
16034,
3084,
62,
1954,
26279,
28256,
62,
19,
33411,
1700,
796,
366,
20,
12,
23,
1
] |
what did patient 12367 receive for his or her last procedure since 1 year ago? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12367) AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TI... | [
10919,
750,
5827,
1105,
27824,
3328,
329,
465,
393,
607,
938,
8771,
1201,
352,
614,
2084,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1105,
27824,
3328,
329,
465,
393,
607,
938,
8771,
1201,
352,
614,
2084,
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,
... |
What is the points for of Club of penallta rfc? | SELECT points_for FROM table_name_17 WHERE club = "penallta rfc" | [
2061,
318,
262,
2173,
329,
286,
6289,
286,
3112,
439,
8326,
374,
16072,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
1558,
33411,
3430,
796,
366,
3617,
439,
8326,
374,
16072,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
329,
286,
6289,
286,
3112,
439,
8326,
374,
16072,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
1558,
33411,
3430,
796,
366,
3617,
439,
8326,
374,
16072,
1
] |
how many patients whose diagnoses short title is dysphagia nec and lab test category is blood gas? | 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.short_title = "Dysphagia NEC" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
50111,
363,
544,
27576,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
1790,
3670,
318,
50111,
363,
544,
27576,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
Which Game has a March smaller than 12, and a Score of 10 1? | SELECT MIN("Game") FROM table_36379 WHERE "March" < '12' AND "Score" = '10–1' | [
13828,
3776,
468,
257,
2805,
4833,
621,
1105,
11,
290,
257,
15178,
286,
838,
352,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
2623,
29088,
33411,
366,
16192,
1,
1279,
705,
1065,
6,
5357,
366,
26595,
1,
796,
705,
940,
1906,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3776,
468,
257,
2805,
4833,
621,
1105,
11,
290,
257,
15178,
286,
838,
352,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
2623,
29088,
33411,
366,
16192,
1,
1279,
705,
1065,
6,
5357,
366,
26595,
1,
796,
705,
940,
1906,
... |
Who was the Manchester performer of Lisa Davina Phillip's character? | SELECT "Original Manchester Performer" FROM table_25007 WHERE "Original West End Performer" = 'Lisa Davina Phillip' | [
8241,
373,
262,
9502,
26960,
286,
15378,
2544,
1437,
29470,
338,
2095,
30,
46506,
366,
20556,
9502,
2448,
16354,
1,
16034,
3084,
62,
1495,
25816,
33411,
366,
20556,
2688,
5268,
2448,
16354,
1,
796,
705,
44203,
2544,
1437,
29470,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
9502,
26960,
286,
15378,
2544,
1437,
29470,
338,
2095,
30,
46506,
366,
20556,
9502,
2448,
16354,
1,
16034,
3084,
62,
1495,
25816,
33411,
366,
20556,
2688,
5268,
2448,
16354,
1,
796,
705,
44203,
2544,
1437,
29470,
6
] |
What was the weight of the jockey at Sandown Park? | SELECT "Weight" FROM table_3144 WHERE "Venue" = 'Sandown Park' | [
2061,
373,
262,
3463,
286,
262,
474,
8337,
379,
3837,
593,
3250,
30,
46506,
366,
25844,
1,
16034,
3084,
62,
18,
18444,
33411,
366,
37522,
518,
1,
796,
705,
18471,
593,
3250,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3463,
286,
262,
474,
8337,
379,
3837,
593,
3250,
30,
46506,
366,
25844,
1,
16034,
3084,
62,
18,
18444,
33411,
366,
37522,
518,
1,
796,
705,
18471,
593,
3250,
6
] |
For the player finishing at +8, what is his nationality? | SELECT "Country" FROM table_69773 WHERE "To par" = '+8' | [
1890,
262,
2137,
12848,
379,
1343,
23,
11,
644,
318,
465,
29835,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3388,
46871,
33411,
366,
2514,
1582,
1,
796,
705,
10,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
262,
2137,
12848,
379,
1343,
23,
11,
644,
318,
465,
29835,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
3388,
46871,
33411,
366,
2514,
1582,
1,
796,
705,
10,
23,
6
] |
What was the attendance of the game that had a loss of Wolf (3-4)? | SELECT "Attendance" FROM table_70804 WHERE "Loss" = 'wolf (3-4)' | [
2061,
373,
262,
14858,
286,
262,
983,
326,
550,
257,
2994,
286,
8662,
357,
18,
12,
19,
19427,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2154,
36088,
33411,
366,
43,
793,
1,
796,
705,
18829,
357,
18,
12,
19,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
286,
262,
983,
326,
550,
257,
2994,
286,
8662,
357,
18,
12,
19,
19427,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2154,
36088,
33411,
366,
43,
793,
1,
796,
705,
18829,
357,
18,
12,
19,
33047
] |
what is the top company that has the most employees ? | SELECT "plant name" FROM table_204_614 ORDER BY "employees" DESC LIMIT 1 | [
10919,
318,
262,
1353,
1664,
326,
468,
262,
749,
4409,
5633,
46506,
366,
15060,
1438,
1,
16034,
3084,
62,
18638,
62,
46841,
38678,
11050,
366,
7033,
2841,
1,
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
] | [
10919,
318,
262,
1353,
1664,
326,
468,
262,
749,
4409,
5633,
46506,
366,
15060,
1438,
1,
16034,
3084,
62,
18638,
62,
46841,
38678,
11050,
366,
7033,
2841,
1,
22196,
34,
27564,
2043,
352
] |
What is the average rank of Great Britain when their total is over 4? | SELECT AVG("Rank") FROM table_57342 WHERE "Total" > '4' AND "Nation" = 'great britain' | [
2061,
318,
262,
2811,
4279,
286,
3878,
5491,
618,
511,
2472,
318,
625,
604,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
3553,
31575,
33411,
366,
14957,
1,
1875,
705,
19,
6,
5357,
366,
46108,
1,
796,
705,
18223,
275,
799,
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
] | [
2061,
318,
262,
2811,
4279,
286,
3878,
5491,
618,
511,
2472,
318,
625,
604,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
3553,
31575,
33411,
366,
14957,
1,
1875,
705,
19,
6,
5357,
366,
46108,
1,
796,
705,
18223,
275,
799,
3... |
Who is the captain of the team in Southampton? | SELECT "Captain" FROM table_1870 WHERE "Location" = 'Southampton' | [
8241,
318,
262,
10654,
286,
262,
1074,
287,
30035,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
1507,
2154,
33411,
366,
14749,
1,
796,
705,
14942,
23427,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
10654,
286,
262,
1074,
287,
30035,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
1507,
2154,
33411,
366,
14749,
1,
796,
705,
14942,
23427,
6
] |
WHAT IS THE ROUND FOR ZACH BOYCHUK? | SELECT COUNT("Round") FROM table_49926 WHERE "Player" = 'zach boychuk' | [
32971,
3180,
3336,
371,
15919,
7473,
1168,
16219,
16494,
56,
3398,
15039,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
28324,
2075,
33411,
366,
14140,
1,
796,
705,
89,
620,
2933,
46019,
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
] | [
32971,
3180,
3336,
371,
15919,
7473,
1168,
16219,
16494,
56,
3398,
15039,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
28324,
2075,
33411,
366,
14140,
1,
796,
705,
89,
620,
2933,
46019,
6
] |
What PBA team is the player from Ateneo college and a pick of 17? | SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17 | [
2061,
350,
4339,
1074,
318,
262,
2137,
422,
317,
1452,
68,
78,
4152,
290,
257,
2298,
286,
1596,
30,
46506,
279,
7012,
62,
15097,
16034,
3084,
62,
3672,
62,
940,
33411,
4152,
796,
366,
265,
1734,
78,
1,
5357,
2298,
796,
1596
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
4339,
1074,
318,
262,
2137,
422,
317,
1452,
68,
78,
4152,
290,
257,
2298,
286,
1596,
30,
46506,
279,
7012,
62,
15097,
16034,
3084,
62,
3672,
62,
940,
33411,
4152,
796,
366,
265,
1734,
78,
1,
5357,
2298,
796,
1596
] |
what is the percentile of 4.23 in a creatinine lab test conducted at the same age of patient 027-77260 on the last hospital visit? | SELECT DISTINCT t1.c1 FROM (SELECT lab.labresult, PERCENT_RANK() OVER (ORDER BY lab.labresult) AS c1 FROM lab WHERE lab.labname = 'creatinine' AND lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age = (SELECT patient.age FROM patient WHERE patient.uniquepid = '027-77260' AND NOT pa... | [
10919,
318,
262,
37894,
286,
604,
13,
1954,
287,
257,
1827,
259,
500,
2248,
1332,
5952,
379,
262,
976,
2479,
286,
5827,
657,
1983,
12,
3324,
21719,
319,
262,
938,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
37894,
286,
604,
13,
1954,
287,
257,
1827,
259,
500,
2248,
1332,
5952,
379,
262,
976,
2479,
286,
5827,
657,
1983,
12,
3324,
21719,
319,
262,
938,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
... |
How many headquarters are there listed for HSBC? | SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC" | [
2437,
867,
10043,
389,
612,
5610,
329,
43841,
30,
46506,
327,
28270,
7,
2256,
8230,
8,
16034,
3084,
62,
14656,
1238,
2075,
62,
22,
33411,
1664,
796,
366,
7998,
2749,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
10043,
389,
612,
5610,
329,
43841,
30,
46506,
327,
28270,
7,
2256,
8230,
8,
16034,
3084,
62,
14656,
1238,
2075,
62,
22,
33411,
1664,
796,
366,
7998,
2749,
1
] |
Can you tell me who the AEROSP 533 teacher is ? | SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'AEROSP' AND course.number = 533 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering... | [
6090,
345,
1560,
502,
508,
262,
317,
1137,
47053,
642,
2091,
4701,
318,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
13,
17319,
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... | [
6090,
345,
1560,
502,
508,
262,
317,
1137,
47053,
642,
2091,
4701,
318,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
13,
17319,
62,
... |
When madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament? | SELECT conference AS Tournament FROM table_24160890_3 WHERE tournament_venue__city_ = "Madison Square Garden ( New York City, New York )" | [
2215,
8805,
1653,
6616,
11376,
357,
649,
331,
967,
1748,
11,
649,
331,
967,
1267,
318,
262,
7756,
14359,
357,
19205,
8,
644,
318,
262,
4495,
7756,
30,
46506,
4495,
7054,
9595,
16034,
3084,
62,
1731,
1433,
2919,
3829,
62,
18,
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
] | [
2215,
8805,
1653,
6616,
11376,
357,
649,
331,
967,
1748,
11,
649,
331,
967,
1267,
318,
262,
7756,
14359,
357,
19205,
8,
644,
318,
262,
4495,
7756,
30,
46506,
4495,
7054,
9595,
16034,
3084,
62,
1731,
1433,
2919,
3829,
62,
18,
33411,
... |
How many members did Europe have the year that America had 403892? | SELECT "Europe" FROM table_22852 WHERE "America" = '403892' | [
2437,
867,
1866,
750,
2031,
423,
262,
614,
326,
2253,
550,
2319,
2548,
5892,
30,
46506,
366,
16112,
1,
16034,
3084,
62,
23815,
4309,
33411,
366,
18165,
1,
796,
705,
1821,
2548,
5892,
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
] | [
2437,
867,
1866,
750,
2031,
423,
262,
614,
326,
2253,
550,
2319,
2548,
5892,
30,
46506,
366,
16112,
1,
16034,
3084,
62,
23815,
4309,
33411,
366,
18165,
1,
796,
705,
1821,
2548,
5892,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.