instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which airport is in Xinjiang province in the city Kuqa? | SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa" | [
13828,
9003,
318,
287,
25426,
39598,
8473,
287,
262,
1748,
12554,
20402,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
2231,
33411,
8473,
796,
366,
87,
259,
39598,
1,
5357,
1748,
796,
366,
23063,
20402,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9003,
318,
287,
25426,
39598,
8473,
287,
262,
1748,
12554,
20402,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
2231,
33411,
8473,
796,
366,
87,
259,
39598,
1,
5357,
1748,
796,
366,
23063,
20402,
1
] |
which star has the highest distance at maximum ? | SELECT "star" FROM table_203_56 ORDER BY "distance at\nmaximum (ly)" DESC LIMIT 1 | [
4758,
3491,
468,
262,
4511,
5253,
379,
5415,
5633,
46506,
366,
7364,
1,
16034,
3084,
62,
22416,
62,
3980,
38678,
11050,
366,
30246,
379,
59,
77,
47033,
357,
306,
16725,
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
] | [
4758,
3491,
468,
262,
4511,
5253,
379,
5415,
5633,
46506,
366,
7364,
1,
16034,
3084,
62,
22416,
62,
3980,
38678,
11050,
366,
30246,
379,
59,
77,
47033,
357,
306,
16725,
22196,
34,
27564,
2043,
352
] |
What was the record when the high rebounds was david lee (8) | SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (8)" | [
2061,
373,
262,
1700,
618,
262,
1029,
18841,
373,
21970,
443,
68,
357,
23,
8,
46506,
1700,
16034,
3084,
62,
1954,
1731,
3459,
3388,
62,
23,
33411,
1029,
62,
34806,
3733,
796,
366,
11006,
5741,
357,
23,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
618,
262,
1029,
18841,
373,
21970,
443,
68,
357,
23,
8,
46506,
1700,
16034,
3084,
62,
1954,
1731,
3459,
3388,
62,
23,
33411,
1029,
62,
34806,
3733,
796,
366,
11006,
5741,
357,
23,
16725
] |
Average daily score per month. | SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, AVG(CAST(Posts.Score AS FLOAT)) AS Score FROM Posts LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE PostTypes.Name IN ('Question') GROUP BY YEAR(Posts.CreationDate), MONTH(Posts.CreationDate) ORDER BY YE... | [
26287,
4445,
4776,
583,
1227,
13,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
352,
11,
657,
8,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
4445,
4776,
583,
1227,
13,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
352,
11,
657,
8,
70... |
What is the attendance number later than week 9 on November 20, 1983? | SELECT COUNT(attendance) FROM table_name_45 WHERE week > 9 AND date = "november 20, 1983" | [
2061,
318,
262,
14858,
1271,
1568,
621,
1285,
860,
319,
3389,
1160,
11,
13540,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1285,
1875,
860,
5357,
3128,
796,
366,
77,
3239,
1160,
11,
13540,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
1271,
1568,
621,
1285,
860,
319,
3389,
1160,
11,
13540,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1285,
1875,
860,
5357,
3128,
796,
366,
77,
3239,
1160,
11,
13540,
1
... |
what does fare code QX mean | SELECT DISTINCT fare_basis_code FROM fare_basis WHERE fare_basis_code = 'QX' | [
10919,
857,
14505,
2438,
1195,
55,
1612,
46506,
360,
8808,
1268,
4177,
14505,
62,
12093,
271,
62,
8189,
16034,
14505,
62,
12093,
271,
33411,
14505,
62,
12093,
271,
62,
8189,
796,
705,
48,
55,
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
] | [
10919,
857,
14505,
2438,
1195,
55,
1612,
46506,
360,
8808,
1268,
4177,
14505,
62,
12093,
271,
62,
8189,
16034,
14505,
62,
12093,
271,
33411,
14505,
62,
12093,
271,
62,
8189,
796,
705,
48,
55,
6
] |
were there any results of the microbiology tests for patient 24921 in 09/last year? | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24921) AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', microbiologyevents.chartti... | [
22474,
612,
597,
2482,
286,
262,
24559,
1435,
5254,
329,
5827,
34620,
2481,
287,
7769,
14,
12957,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22474,
612,
597,
2482,
286,
262,
24559,
1435,
5254,
329,
5827,
34620,
2481,
287,
7769,
14,
12957,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
... |
Pie. what are the different parties of representative? Show the party name and the number of representatives in each party. | SELECT Party, COUNT(*) FROM representative GROUP BY Party | [
48223,
13,
644,
389,
262,
1180,
4671,
286,
8852,
30,
5438,
262,
2151,
1438,
290,
262,
1271,
286,
10826,
287,
1123,
2151,
13,
46506,
3615,
11,
327,
28270,
7,
28104,
16034,
8852,
44441,
11050,
3615
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
48223,
13,
644,
389,
262,
1180,
4671,
286,
8852,
30,
5438,
262,
2151,
1438,
290,
262,
1271,
286,
10826,
287,
1123,
2151,
13,
46506,
3615,
11,
327,
28270,
7,
28104,
16034,
8852,
44441,
11050,
3615
] |
Who was the republican candidate in 2013 when Staten Island was 451? | SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = "451" | [
8241,
373,
262,
41477,
4540,
287,
2211,
618,
46034,
5451,
373,
49356,
30,
46506,
2211,
7054,
4808,
7856,
841,
272,
62,
39754,
16034,
3084,
62,
11442,
23,
34626,
62,
21,
33411,
1185,
268,
62,
271,
1044,
796,
366,
36330,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41477,
4540,
287,
2211,
618,
46034,
5451,
373,
49356,
30,
46506,
2211,
7054,
4808,
7856,
841,
272,
62,
39754,
16034,
3084,
62,
11442,
23,
34626,
62,
21,
33411,
1185,
268,
62,
271,
1044,
796,
366,
36330,
1
] |
Name the number of locations for geneva college | SELECT COUNT(location) FROM table_262476_1 WHERE institution = "Geneva College" | [
5376,
262,
1271,
286,
7064,
329,
9779,
6862,
4152,
46506,
327,
28270,
7,
24886,
8,
16034,
3084,
62,
2075,
1731,
4304,
62,
16,
33411,
9901,
796,
366,
39358,
6862,
5535,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
7064,
329,
9779,
6862,
4152,
46506,
327,
28270,
7,
24886,
8,
16034,
3084,
62,
2075,
1731,
4304,
62,
16,
33411,
9901,
796,
366,
39358,
6862,
5535,
1
] |
How many runtimes does episode 53 have? | SELECT COUNT(network_tv_run_time) FROM table_26032940_2 WHERE episode__number = 53 | [
2437,
867,
1057,
22355,
857,
4471,
7192,
423,
30,
46506,
327,
28270,
7,
27349,
62,
14981,
62,
5143,
62,
2435,
8,
16034,
3084,
62,
21719,
37967,
1821,
62,
17,
33411,
4471,
834,
17618,
796,
7192
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1057,
22355,
857,
4471,
7192,
423,
30,
46506,
327,
28270,
7,
27349,
62,
14981,
62,
5143,
62,
2435,
8,
16034,
3084,
62,
21719,
37967,
1821,
62,
17,
33411,
4471,
834,
17618,
796,
7192
] |
What is the year when they did not qualify for the playoff and the Regular Season shows as 10th? | SELECT COUNT(year) FROM table_name_17 WHERE playoffs = "did not qualify" AND regular_season = "10th" | [
2061,
318,
262,
614,
618,
484,
750,
407,
12780,
329,
262,
13119,
290,
262,
23603,
7369,
2523,
355,
838,
400,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
12980,
796,
366,
20839,
407,
12780,
1,
5357,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
618,
484,
750,
407,
12780,
329,
262,
13119,
290,
262,
23603,
7369,
2523,
355,
838,
400,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
12980,
796,
366,
20839,
407,
12780,
1,
5357,
321... |
Who was the team who played home team woking? | SELECT away_team FROM table_name_16 WHERE home_team = "woking" | [
8241,
373,
262,
1074,
508,
2826,
1363,
1074,
266,
5730,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1433,
33411,
1363,
62,
15097,
796,
366,
86,
5730,
1
] | [
1,
1,
1,
1,
1,
1,
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,
508,
2826,
1363,
1074,
266,
5730,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1433,
33411,
1363,
62,
15097,
796,
366,
86,
5730,
1
] |
subject with serum potassium between 5 _ 5.5 meq / l | SELECT * FROM table_train_162 WHERE serum_potassium >= 5 AND serum_potassium <= 5.5 | [
32796,
351,
20502,
33156,
1022,
642,
4808,
642,
13,
20,
502,
80,
1220,
300,
46506,
1635,
16034,
3084,
62,
27432,
62,
25061,
33411,
20502,
62,
13059,
26663,
18189,
642,
5357,
20502,
62,
13059,
26663,
19841,
642,
13,
20
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32796,
351,
20502,
33156,
1022,
642,
4808,
642,
13,
20,
502,
80,
1220,
300,
46506,
1635,
16034,
3084,
62,
27432,
62,
25061,
33411,
20502,
62,
13059,
26663,
18189,
642,
5357,
20502,
62,
13059,
26663,
19841,
642,
13,
20
] |
What was Richmond's highest attendance? | SELECT MAX("Crowd") FROM table_58572 WHERE "Home team" = 'richmond' | [
2061,
373,
16940,
338,
4511,
14858,
30,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
3365,
48724,
33411,
366,
16060,
1074,
1,
796,
705,
7527,
6327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
16940,
338,
4511,
14858,
30,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
3365,
48724,
33411,
366,
16060,
1074,
1,
796,
705,
7527,
6327,
6
] |
What is the name of the home captain when the result was Aus by 32 runs? | SELECT home_captain FROM table_name_55 WHERE result = "aus by 32 runs" | [
2061,
318,
262,
1438,
286,
262,
1363,
10654,
618,
262,
1255,
373,
27545,
416,
3933,
4539,
30,
46506,
1363,
62,
27144,
391,
16034,
3084,
62,
3672,
62,
2816,
33411,
1255,
796,
366,
8717,
416,
3933,
4539,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
1363,
10654,
618,
262,
1255,
373,
27545,
416,
3933,
4539,
30,
46506,
1363,
62,
27144,
391,
16034,
3084,
62,
3672,
62,
2816,
33411,
1255,
796,
366,
8717,
416,
3933,
4539,
1
] |
dialysis dependent renal failure; | SELECT * FROM table_train_30 WHERE renal_disease = 1 | [
38969,
3097,
10795,
44375,
5287,
26,
46506,
1635,
16034,
3084,
62,
27432,
62,
1270,
33411,
44375,
62,
67,
786,
589,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
38969,
3097,
10795,
44375,
5287,
26,
46506,
1635,
16034,
3084,
62,
27432,
62,
1270,
33411,
44375,
62,
67,
786,
589,
796,
352
] |
When did the atv-002 launch? | SELECT "Launch date" FROM table_44447 WHERE "Designation" = 'atv-002' | [
2215,
750,
262,
379,
85,
12,
21601,
4219,
30,
46506,
366,
38296,
3128,
1,
16034,
3084,
62,
2598,
34825,
33411,
366,
23067,
341,
1,
796,
705,
265,
85,
12,
21601,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
262,
379,
85,
12,
21601,
4219,
30,
46506,
366,
38296,
3128,
1,
16034,
3084,
62,
2598,
34825,
33411,
366,
23067,
341,
1,
796,
705,
265,
85,
12,
21601,
6
] |
What is the college when the over is larger than 15 in round 7? | SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7 | [
2061,
318,
262,
4152,
618,
262,
625,
318,
4025,
621,
1315,
287,
2835,
767,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
3901,
33411,
4045,
1875,
1315,
5357,
2835,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4152,
618,
262,
625,
318,
4025,
621,
1315,
287,
2835,
767,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
3901,
33411,
4045,
1875,
1315,
5357,
2835,
796,
767
] |
How many wins, on average, were defeated by furuichi? | SELECT AVG("Wins") FROM table_78898 WHERE "Defeated by" = 'furuichi' | [
2437,
867,
7864,
11,
319,
2811,
11,
547,
9772,
416,
9230,
84,
16590,
30,
46506,
35224,
7203,
54,
1040,
4943,
16034,
3084,
62,
22,
3459,
4089,
33411,
366,
7469,
68,
515,
416,
1,
796,
705,
69,
14717,
16590,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7864,
11,
319,
2811,
11,
547,
9772,
416,
9230,
84,
16590,
30,
46506,
35224,
7203,
54,
1040,
4943,
16034,
3084,
62,
22,
3459,
4089,
33411,
366,
7469,
68,
515,
416,
1,
796,
705,
69,
14717,
16590,
6
] |
count the number of patients whose gender is m and diagnoses long title is other preterm infants, 1,750-1,999 grams? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Other preterm infants, 1,750-1,999 grams" | [
9127,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
40567,
890,
3670,
318,
584,
662,
4354,
18775,
11,
352,
11,
15426,
12,
16,
11,
17032,
16379,
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... | [
9127,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
40567,
890,
3670,
318,
584,
662,
4354,
18775,
11,
352,
11,
15426,
12,
16,
11,
17032,
16379,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
... |
What is the total number of McCain vote totals where Obama percentages was 17.34%? | SELECT COUNT(mccain_number) FROM table_20684390_1 WHERE obama_percentage = "17.34%" | [
2061,
318,
262,
2472,
1271,
286,
14264,
3015,
26310,
810,
2486,
28071,
373,
1596,
13,
2682,
4,
30,
46506,
327,
28270,
7,
76,
535,
391,
62,
17618,
8,
16034,
3084,
62,
1238,
41580,
25964,
62,
16,
33411,
909,
1689,
62,
25067,
496,
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
] | [
2061,
318,
262,
2472,
1271,
286,
14264,
3015,
26310,
810,
2486,
28071,
373,
1596,
13,
2682,
4,
30,
46506,
327,
28270,
7,
76,
535,
391,
62,
17618,
8,
16034,
3084,
62,
1238,
41580,
25964,
62,
16,
33411,
909,
1689,
62,
25067,
496,
796,... |
Name the tyre for hb bewaking team ensign with rounds of 13 | SELECT tyre FROM table_name_31 WHERE entrant = "hb bewaking team ensign" AND rounds = "13" | [
5376,
262,
48216,
329,
289,
65,
307,
86,
868,
1074,
3140,
570,
351,
9196,
286,
1511,
46506,
48216,
16034,
3084,
62,
3672,
62,
3132,
33411,
920,
5250,
796,
366,
71,
65,
307,
86,
868,
1074,
3140,
570,
1,
5357,
9196,
796,
366,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
48216,
329,
289,
65,
307,
86,
868,
1074,
3140,
570,
351,
9196,
286,
1511,
46506,
48216,
16034,
3084,
62,
3672,
62,
3132,
33411,
920,
5250,
796,
366,
71,
65,
307,
86,
868,
1074,
3140,
570,
1,
5357,
9196,
796,
366,
1485,
... |
In which district is the incumbent Marcia C. Kaptur? | SELECT "District" FROM table_685 WHERE "Incumbent" = 'Marcia C. Kaptur' | [
818,
543,
4783,
318,
262,
23526,
13067,
544,
327,
13,
509,
2373,
333,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
35978,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22697,
544,
327,
13,
509,
2373,
333,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
543,
4783,
318,
262,
23526,
13067,
544,
327,
13,
509,
2373,
333,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
35978,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22697,
544,
327,
13,
509,
2373,
333,
6
] |
What is the number of each allergie type the girl named Lisa has? Show bar chart. | SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type AS T1 JOIN Has_Allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" GROUP BY AllergyType | [
2061,
318,
262,
1271,
286,
1123,
30975,
494,
2099,
262,
2576,
3706,
15378,
468,
30,
5438,
2318,
8262,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
3237,
26079,
6030,
8,
16034,
1439,
26079,
62,
6030,
7054,
309,
16,
32357,
1268,
787... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
1123,
30975,
494,
2099,
262,
2576,
3706,
15378,
468,
30,
5438,
2318,
8262,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
3237,
26079,
6030,
8,
16034,
1439,
26079,
62,
6030,
7054,
309,
16,
32357,
1268,
787... |
What did the Home team score when they were in MCG? | SELECT "Home team score" FROM table_32656 WHERE "Venue" = 'mcg' | [
2061,
750,
262,
5995,
1074,
4776,
618,
484,
547,
287,
13122,
38,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
39195,
3980,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
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,
750,
262,
5995,
1074,
4776,
618,
484,
547,
287,
13122,
38,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
39195,
3980,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
6
] |
Which game has houston as the road team, and june 15 as the date? | SELECT "Game" FROM table_34425 WHERE "Road Team" = 'houston' AND "Date" = 'june 15' | [
13828,
983,
468,
289,
6526,
355,
262,
2975,
1074,
11,
290,
474,
1726,
1315,
355,
262,
3128,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
33535,
1495,
33411,
366,
29197,
4816,
1,
796,
705,
71,
6526,
6,
5357,
366,
10430,
1,
796,
705,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
983,
468,
289,
6526,
355,
262,
2975,
1074,
11,
290,
474,
1726,
1315,
355,
262,
3128,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
33535,
1495,
33411,
366,
29197,
4816,
1,
796,
705,
71,
6526,
6,
5357,
366,
10430,
1,
796,
705,
7... |
Show me mean age by born state in a histogram | SELECT born_state, AVG(age) FROM head GROUP BY born_state | [
15307,
502,
1612,
2479,
416,
4642,
1181,
287,
257,
1554,
21857,
46506,
4642,
62,
5219,
11,
35224,
7,
496,
8,
16034,
1182,
44441,
11050,
4642,
62,
5219
] | [
1,
1,
1,
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,
1612,
2479,
416,
4642,
1181,
287,
257,
1554,
21857,
46506,
4642,
62,
5219,
11,
35224,
7,
496,
8,
16034,
1182,
44441,
11050,
4642,
62,
5219
] |
what is the fate when the nationality is french and the ship is pierre lott? | SELECT fate FROM table_name_97 WHERE nationality = "french" AND ship = "pierre lott" | [
10919,
318,
262,
10030,
618,
262,
29835,
318,
48718,
290,
262,
4074,
318,
17748,
260,
300,
1252,
30,
46506,
10030,
16034,
3084,
62,
3672,
62,
5607,
33411,
29835,
796,
366,
69,
3532,
1,
5357,
4074,
796,
366,
79,
31058,
300,
1252,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10030,
618,
262,
29835,
318,
48718,
290,
262,
4074,
318,
17748,
260,
300,
1252,
30,
46506,
10030,
16034,
3084,
62,
3672,
62,
5607,
33411,
29835,
796,
366,
69,
3532,
1,
5357,
4074,
796,
366,
79,
31058,
300,
1252,
1
] |
Give me the comparison about meter_100 over the meter_500 by a bar chart. | SELECT meter_500, meter_100 FROM swimmer | [
23318,
502,
262,
7208,
546,
16430,
62,
3064,
625,
262,
16430,
62,
4059,
416,
257,
2318,
8262,
13,
46506,
16430,
62,
4059,
11,
16430,
62,
3064,
16034,
9422,
647
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
16430,
62,
3064,
625,
262,
16430,
62,
4059,
416,
257,
2318,
8262,
13,
46506,
16430,
62,
4059,
11,
16430,
62,
3064,
16034,
9422,
647
] |
How many month names are there for the tenth numbered month? | SELECT COUNT("Month Name") FROM table_30894 WHERE "Numbered Month" = 'Tenth' | [
2437,
867,
1227,
3891,
389,
612,
329,
262,
24395,
25840,
1227,
30,
46506,
327,
28270,
7203,
31948,
6530,
4943,
16034,
3084,
62,
1270,
4531,
19,
33411,
366,
45,
26584,
16061,
1,
796,
705,
51,
7944,
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
] | [
2437,
867,
1227,
3891,
389,
612,
329,
262,
24395,
25840,
1227,
30,
46506,
327,
28270,
7203,
31948,
6530,
4943,
16034,
3084,
62,
1270,
4531,
19,
33411,
366,
45,
26584,
16061,
1,
796,
705,
51,
7944,
6
] |
In the district of Pennsylvania 1, what is the total number of political parties? | SELECT COUNT("Party") FROM table_22113 WHERE "District" = 'Pennsylvania 1' | [
818,
262,
4783,
286,
9589,
352,
11,
644,
318,
262,
2472,
1271,
286,
1964,
4671,
30,
46506,
327,
28270,
7203,
33553,
4943,
16034,
3084,
62,
1828,
16616,
33411,
366,
44857,
1,
796,
705,
39899,
9270,
352,
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
] | [
818,
262,
4783,
286,
9589,
352,
11,
644,
318,
262,
2472,
1271,
286,
1964,
4671,
30,
46506,
327,
28270,
7203,
33553,
4943,
16034,
3084,
62,
1828,
16616,
33411,
366,
44857,
1,
796,
705,
39899,
9270,
352,
6
] |
What is Res., when Round is greater than 2, and when Event is 'Midwest Cage Championships 25: Inferno'? | SELECT res FROM table_name_92 WHERE round > 2 AND event = "midwest cage championships 25: inferno" | [
2061,
318,
1874,
1539,
618,
10485,
318,
3744,
621,
362,
11,
290,
618,
8558,
318,
705,
22622,
7038,
27577,
24782,
1679,
25,
32458,
30960,
46506,
581,
16034,
3084,
62,
3672,
62,
5892,
33411,
2835,
1875,
362,
5357,
1785,
796,
366,
13602,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1874,
1539,
618,
10485,
318,
3744,
621,
362,
11,
290,
618,
8558,
318,
705,
22622,
7038,
27577,
24782,
1679,
25,
32458,
30960,
46506,
581,
16034,
3084,
62,
3672,
62,
5892,
33411,
2835,
1875,
362,
5357,
1785,
796,
366,
13602,
... |
Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names. | SELECT T2.Name, T1.College_Location FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID ORDER BY T2.Name | [
15307,
262,
3891,
286,
1866,
290,
262,
7064,
286,
15273,
484,
467,
284,
287,
41988,
24830,
605,
1502,
286,
2888,
3891,
13,
46506,
309,
17,
13,
5376,
11,
309,
16,
13,
38951,
62,
14749,
16034,
4152,
7054,
309,
16,
32357,
1268,
2888,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
3891,
286,
1866,
290,
262,
7064,
286,
15273,
484,
467,
284,
287,
41988,
24830,
605,
1502,
286,
2888,
3891,
13,
46506,
309,
17,
13,
5376,
11,
309,
16,
13,
38951,
62,
14749,
16034,
4152,
7054,
309,
16,
32357,
1268,
2888,
7... |
In football league one, what coach was hired as a replacement on 8 October 2007 | SELECT "Replaced by" FROM table_30375 WHERE "Date of vacancy" = '8 October 2007' | [
818,
4346,
4652,
530,
11,
644,
3985,
373,
9657,
355,
257,
9014,
319,
807,
3267,
4343,
46506,
366,
3041,
21820,
416,
1,
16034,
3084,
62,
1270,
22318,
33411,
366,
10430,
286,
39836,
1,
796,
705,
23,
3267,
4343,
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,
4346,
4652,
530,
11,
644,
3985,
373,
9657,
355,
257,
9014,
319,
807,
3267,
4343,
46506,
366,
3041,
21820,
416,
1,
16034,
3084,
62,
1270,
22318,
33411,
366,
10430,
286,
39836,
1,
796,
705,
23,
3267,
4343,
6
] |
Where did Geelong play as the away team? | SELECT venue FROM table_name_9 WHERE away_team = "geelong" | [
8496,
750,
2269,
21537,
711,
355,
262,
1497,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
24,
33411,
1497,
62,
15097,
796,
366,
469,
21537,
1
] | [
1,
1,
1,
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,
750,
2269,
21537,
711,
355,
262,
1497,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
24,
33411,
1497,
62,
15097,
796,
366,
469,
21537,
1
] |
Whose Runner-up has a Semifinalist of guillermo p rez-rold n andrea gaudenzi? | SELECT runners_up FROM table_name_68 WHERE semifinalists = "guillermo pérez-roldán andrea gaudenzi" | [
1199,
577,
21529,
12,
929,
468,
257,
12449,
361,
1292,
396,
286,
915,
4665,
5908,
279,
302,
89,
12,
305,
335,
299,
290,
21468,
308,
3885,
268,
17027,
30,
46506,
19323,
62,
929,
16034,
3084,
62,
3672,
62,
3104,
33411,
32948,
1292,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1199,
577,
21529,
12,
929,
468,
257,
12449,
361,
1292,
396,
286,
915,
4665,
5908,
279,
302,
89,
12,
305,
335,
299,
290,
21468,
308,
3885,
268,
17027,
30,
46506,
19323,
62,
929,
16034,
3084,
62,
3672,
62,
3104,
33411,
32948,
1292,
10... |
had patient 007-2001 undergone anticonvulsant - phenytoin? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-2001')) AND treatment.treatmentname = 'anticonvulsant - phenytoin' | [
18108,
5827,
3571,
22,
12,
14585,
29900,
1885,
4749,
85,
5753,
415,
532,
6566,
88,
1462,
259,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
3571,
22,
12,
14585,
29900,
1885,
4749,
85,
5753,
415,
532,
6566,
88,
1462,
259,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
... |
period between 1985 - 1990 have minimum infant mortality rate of what. | SELECT MIN("Infant Mortality Rate") FROM table_2430 WHERE "Period" = '1985 - 1990' | [
41007,
1022,
12863,
532,
6303,
423,
5288,
11212,
12430,
2494,
286,
644,
13,
46506,
20625,
7203,
18943,
415,
10788,
1483,
14806,
4943,
16034,
3084,
62,
1731,
1270,
33411,
366,
5990,
2101,
1,
796,
705,
29110,
532,
6303,
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
] | [
41007,
1022,
12863,
532,
6303,
423,
5288,
11212,
12430,
2494,
286,
644,
13,
46506,
20625,
7203,
18943,
415,
10788,
1483,
14806,
4943,
16034,
3084,
62,
1731,
1270,
33411,
366,
5990,
2101,
1,
796,
705,
29110,
532,
6303,
6
] |
All my questions and answers. | SELECT Posts.Body FROM Posts WHERE Posts.OwnerUserId = @UserId | [
3237,
616,
2683,
290,
7429,
13,
46506,
12043,
13,
25842,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3237,
616,
2683,
290,
7429,
13,
46506,
12043,
13,
25842,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390
] |
until 1 year ago what were the top five most frequent specimen tests ordered for patients in the same hospital visit after being diagnosed with pleural effusion? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pleural e... | [
28446,
352,
614,
2084,
644,
547,
262,
1353,
1936,
749,
10792,
31674,
5254,
6149,
329,
3871,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
3339,
1523,
914,
4241,
30,
46506,
256,
18,
13,
40820,
942,
578,
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... | [
28446,
352,
614,
2084,
644,
547,
262,
1353,
1936,
749,
10792,
31674,
5254,
6149,
329,
3871,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
3339,
1523,
914,
4241,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
... |
who appears more often , christiano citron or philip cloostermans ? | SELECT "winning driver" FROM table_204_63 WHERE "winning driver" IN ('christiano citron', 'philip cloostermans') GROUP BY "winning driver" ORDER BY COUNT(*) DESC LIMIT 1 | [
8727,
3568,
517,
1690,
837,
33826,
10115,
15433,
1313,
393,
5206,
541,
28050,
6197,
16221,
5633,
46506,
366,
14463,
4639,
1,
16034,
3084,
62,
18638,
62,
5066,
33411,
366,
14463,
4639,
1,
3268,
19203,
43533,
10115,
15433,
1313,
3256,
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
] | [
8727,
3568,
517,
1690,
837,
33826,
10115,
15433,
1313,
393,
5206,
541,
28050,
6197,
16221,
5633,
46506,
366,
14463,
4639,
1,
16034,
3084,
62,
18638,
62,
5066,
33411,
366,
14463,
4639,
1,
3268,
19203,
43533,
10115,
15433,
1313,
3256,
705,
... |
what is the latest year when the venue is berlin, germany? | SELECT MAX(year) FROM table_name_35 WHERE venue = "berlin, germany" | [
10919,
318,
262,
3452,
614,
618,
262,
14359,
318,
18157,
2815,
11,
308,
2224,
88,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
14359,
796,
366,
527,
2815,
11,
308,
2224,
88,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
614,
618,
262,
14359,
318,
18157,
2815,
11,
308,
2224,
88,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
14359,
796,
366,
527,
2815,
11,
308,
2224,
88,
1
] |
what is the to par for $242,813 with score 68-72-74-66=280 | SELECT "To par" FROM table_66296 WHERE "Money ( $ )" = '242,813' AND "Score" = '68-72-74-66=280' | [
10919,
318,
262,
284,
1582,
329,
720,
27877,
11,
23,
1485,
351,
4776,
8257,
12,
4761,
12,
4524,
12,
2791,
28,
21033,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2791,
27137,
33411,
366,
26788,
357,
720,
1267,
1,
796,
705,
27877,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
284,
1582,
329,
720,
27877,
11,
23,
1485,
351,
4776,
8257,
12,
4761,
12,
4524,
12,
2791,
28,
21033,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2791,
27137,
33411,
366,
26788,
357,
720,
1267,
1,
796,
705,
27877,
11,... |
HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE? | SELECT COUNT(cover_model) FROM table_1566852_7 WHERE centerfold_model = "Stephanie Larimore" | [
37181,
17254,
56,
19164,
37142,
370,
9338,
6177,
3336,
47902,
3963,
3336,
33805,
8924,
33411,
3336,
33269,
1137,
37,
15173,
21725,
49154,
39,
1565,
10008,
47211,
3955,
6965,
30,
46506,
327,
28270,
7,
9631,
62,
19849,
8,
16034,
3084,
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
] | [
37181,
17254,
56,
19164,
37142,
370,
9338,
6177,
3336,
47902,
3963,
3336,
33805,
8924,
33411,
3336,
33269,
1137,
37,
15173,
21725,
49154,
39,
1565,
10008,
47211,
3955,
6965,
30,
46506,
327,
28270,
7,
9631,
62,
19849,
8,
16034,
3084,
62,
... |
What is the first election year listed? | SELECT MIN("First elected") FROM table_18180 | [
2061,
318,
262,
717,
3071,
614,
5610,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
15259
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
717,
3071,
614,
5610,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
15259
] |
how many records are on the table ? | SELECT COUNT("record") FROM table_203_843 | [
4919,
867,
4406,
389,
319,
262,
3084,
5633,
46506,
327,
28270,
7203,
22105,
4943,
16034,
3084,
62,
22416,
62,
23,
3559
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
4406,
389,
319,
262,
3084,
5633,
46506,
327,
28270,
7203,
22105,
4943,
16034,
3084,
62,
22416,
62,
23,
3559
] |
Who are the drivers with 133 laps in OC class? | SELECT "Drivers" FROM table_60962 WHERE "Laps" = '133' AND "Class" = 'oc' | [
8241,
389,
262,
6643,
351,
22169,
24590,
287,
24775,
1398,
30,
46506,
366,
20564,
690,
1,
16034,
3084,
62,
1899,
4846,
17,
33411,
366,
43,
1686,
1,
796,
705,
16945,
6,
5357,
366,
9487,
1,
796,
705,
420,
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
] | [
8241,
389,
262,
6643,
351,
22169,
24590,
287,
24775,
1398,
30,
46506,
366,
20564,
690,
1,
16034,
3084,
62,
1899,
4846,
17,
33411,
366,
43,
1686,
1,
796,
705,
16945,
6,
5357,
366,
9487,
1,
796,
705,
420,
6
] |
What size was the crowd when Hawthorn was the home team? | SELECT COUNT(crowd) FROM table_name_62 WHERE home_team = "hawthorn" | [
2061,
2546,
373,
262,
4315,
618,
41457,
1211,
373,
262,
1363,
1074,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1363,
62,
15097,
796,
366,
26615,
400,
1211,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2546,
373,
262,
4315,
618,
41457,
1211,
373,
262,
1363,
1074,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1363,
62,
15097,
796,
366,
26615,
400,
1211,
1
] |
What is the headphone model which was succeeded by sr325? | SELECT "Headphone Model" FROM table_41551 WHERE "Succeeded by" = 'sr325' | [
2061,
318,
262,
36769,
2746,
543,
373,
14131,
416,
19677,
26582,
30,
46506,
366,
13847,
4862,
9104,
1,
16034,
3084,
62,
35038,
4349,
33411,
366,
50,
1229,
2707,
276,
416,
1,
796,
705,
27891,
26582,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
36769,
2746,
543,
373,
14131,
416,
19677,
26582,
30,
46506,
366,
13847,
4862,
9104,
1,
16034,
3084,
62,
35038,
4349,
33411,
366,
50,
1229,
2707,
276,
416,
1,
796,
705,
27891,
26582,
6
] |
What are the laws against homosexuality in Malaysia? | SELECT laws_against_homosexuality FROM table_name_34 WHERE country = "malaysia" | [
2061,
389,
262,
3657,
1028,
19822,
287,
15336,
30,
46506,
3657,
62,
32826,
62,
26452,
8542,
414,
16034,
3084,
62,
3672,
62,
2682,
33411,
1499,
796,
366,
7617,
592,
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
] | [
2061,
389,
262,
3657,
1028,
19822,
287,
15336,
30,
46506,
3657,
62,
32826,
62,
26452,
8542,
414,
16034,
3084,
62,
3672,
62,
2682,
33411,
1499,
796,
366,
7617,
592,
544,
1
] |
did patient 70516 have any tests for phosphate since 3 years ago? | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'phosphate') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 70516) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-3 year') | [
20839,
5827,
767,
2713,
1433,
423,
597,
5254,
329,
46926,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
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... | [
20839,
5827,
767,
2713,
1433,
423,
597,
5254,
329,
46926,
1201,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
... |
What was the average number of members Nominated by the Taoiseach, when the Agricultural Panel had less than 1 member, and when the Administrative Panel had fewer than 0 members? | SELECT AVG(nominated_by_the_taoiseach) FROM table_name_10 WHERE agricultural_panel < 1 AND administrative_panel < 0 | [
2061,
373,
262,
2811,
1271,
286,
1866,
21198,
3898,
416,
262,
32120,
786,
620,
11,
618,
262,
36694,
18810,
550,
1342,
621,
352,
2888,
11,
290,
618,
262,
30048,
18810,
550,
7380,
621,
657,
1866,
30,
46506,
35224,
7,
26601,
3898,
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... | [
2061,
373,
262,
2811,
1271,
286,
1866,
21198,
3898,
416,
262,
32120,
786,
620,
11,
618,
262,
36694,
18810,
550,
1342,
621,
352,
2888,
11,
290,
618,
262,
30048,
18810,
550,
7380,
621,
657,
1866,
30,
46506,
35224,
7,
26601,
3898,
62,
... |
Which U.S. Hot has 13 as the U.S. R&B? | SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13" | [
13828,
471,
13,
50,
13,
6964,
468,
1511,
355,
262,
471,
13,
50,
13,
371,
5,
33,
30,
46506,
514,
62,
8940,
62,
3064,
16034,
3084,
62,
3672,
62,
3865,
33411,
514,
62,
81,
1222,
275,
796,
366,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
471,
13,
50,
13,
6964,
468,
1511,
355,
262,
471,
13,
50,
13,
371,
5,
33,
30,
46506,
514,
62,
8940,
62,
3064,
16034,
3084,
62,
3672,
62,
3865,
33411,
514,
62,
81,
1222,
275,
796,
366,
1485,
1
] |
what is the total number of patients who had a lab test for ascites? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.fluid = "Ascites" | [
10919,
318,
262,
2472,
1271,
286,
3871,
508,
550,
257,
2248,
1332,
329,
10570,
2737,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
3871,
508,
550,
257,
2248,
1332,
329,
10570,
2737,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
7... |
Of the courses being offered this Fall , which are upper-level CHEMBIO classes ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.department = 'CHEMBIO' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Fal... | [
5189,
262,
10902,
852,
4438,
428,
7218,
837,
543,
389,
6727,
12,
5715,
5870,
3620,
3483,
46,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
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... | [
5189,
262,
10902,
852,
4438,
428,
7218,
837,
543,
389,
6727,
12,
5715,
5870,
3620,
3483,
46,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
... |
What are the names of the clients who do not have any booking? | SELECT customer_name FROM clients EXCEPT SELECT T2.customer_name FROM bookings AS T1 JOIN clients AS T2 ON T1.customer_id = T2.client_id | [
2061,
389,
262,
3891,
286,
262,
7534,
508,
466,
407,
423,
597,
25452,
30,
46506,
6491,
62,
3672,
16034,
7534,
7788,
42006,
33493,
309,
17,
13,
23144,
263,
62,
3672,
16034,
1492,
654,
7054,
309,
16,
32357,
1268,
7534,
7054,
309,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
286,
262,
7534,
508,
466,
407,
423,
597,
25452,
30,
46506,
6491,
62,
3672,
16034,
7534,
7788,
42006,
33493,
309,
17,
13,
23144,
263,
62,
3672,
16034,
1492,
654,
7054,
309,
16,
32357,
1268,
7534,
7054,
309,
17,
... |
What is the event that is in 8th position? | SELECT event FROM table_name_70 WHERE position = "8th" | [
2061,
318,
262,
1785,
326,
318,
287,
807,
400,
2292,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2154,
33411,
2292,
796,
366,
23,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1785,
326,
318,
287,
807,
400,
2292,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2154,
33411,
2292,
796,
366,
23,
400,
1
] |
What types of ships were made at the Froemming Brothers ship yard? | SELECT ship_types_delivered FROM table_name_32 WHERE yard_name = "froemming brothers" | [
2061,
3858,
286,
7937,
547,
925,
379,
262,
9734,
368,
2229,
16055,
4074,
12699,
30,
46506,
4074,
62,
19199,
62,
12381,
6396,
16034,
3084,
62,
3672,
62,
2624,
33411,
12699,
62,
3672,
796,
366,
69,
305,
368,
2229,
9397,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3858,
286,
7937,
547,
925,
379,
262,
9734,
368,
2229,
16055,
4074,
12699,
30,
46506,
4074,
62,
19199,
62,
12381,
6396,
16034,
3084,
62,
3672,
62,
2624,
33411,
12699,
62,
3672,
796,
366,
69,
305,
368,
2229,
9397,
1
] |
How many weeks total did the New York Jets face the Pittsburgh Steelers? | SELECT COUNT("Week") FROM table_32659 WHERE "Opponent" = 'pittsburgh steelers' | [
2437,
867,
2745,
2472,
750,
262,
968,
1971,
14728,
1986,
262,
12767,
21323,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
39195,
3270,
33411,
366,
27524,
3471,
1,
796,
705,
79,
715,
11931,
7771,
364,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2745,
2472,
750,
262,
968,
1971,
14728,
1986,
262,
12767,
21323,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
39195,
3270,
33411,
366,
27524,
3471,
1,
796,
705,
79,
715,
11931,
7771,
364,
6
] |
Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261. | SELECT T1.emp_fname FROM employee AS T1 JOIN class AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN class AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'QM-261' | [
16742,
262,
717,
1438,
286,
262,
6240,
508,
318,
7743,
734,
10902,
351,
2438,
36159,
12,
17572,
290,
1195,
44,
12,
30057,
13,
46506,
309,
16,
13,
45787,
62,
69,
3672,
16034,
6538,
7054,
309,
16,
32357,
1268,
1398,
7054,
309,
17,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
717,
1438,
286,
262,
6240,
508,
318,
7743,
734,
10902,
351,
2438,
36159,
12,
17572,
290,
1195,
44,
12,
30057,
13,
46506,
309,
16,
13,
45787,
62,
69,
3672,
16034,
6538,
7054,
309,
16,
32357,
1268,
1398,
7054,
309,
17,
617... |
when did patient 15107 last receive a prescription in 11/2104? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15107) AND STRFTIME('%y-%m', prescriptions.startdate) = '2104-11' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
750,
5827,
1315,
15982,
938,
3328,
257,
15077,
287,
1367,
14,
17,
13464,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
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... | [
12518,
750,
5827,
1315,
15982,
938,
3328,
257,
15077,
287,
1367,
14,
17,
13464,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
... |
SELECT * FROM Comments. | SELECT * FROM Comments | [
46506,
1635,
16034,
19502,
13,
46506,
1635,
16034,
19502
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
46506,
1635,
16034,
19502,
13,
46506,
1635,
16034,
19502
] |
Number of Top Users (Reputation >1000) by Country. | SELECT (CASE WHEN LOWER(Location) LIKE '%united kingdom%' OR LOWER(Location) LIKE '%britain%' OR Location LIKE '%UK%' THEN 'United Kingdom' END) AS country, AVG(Reputation) FROM Users WHERE Reputation >= 1000 GROUP BY (CASE WHEN LOWER(Location) LIKE '%united kingdom%' OR LOWER(Location) LIKE '%britain%' OR Location LIK... | [
15057,
286,
5849,
18987,
357,
6207,
7094,
1875,
12825,
8,
416,
12946,
13,
46506,
357,
34,
11159,
42099,
406,
36048,
7,
14749,
8,
34178,
705,
4,
41187,
13239,
4,
6,
6375,
406,
36048,
7,
14749,
8,
34178,
705,
4,
65,
799,
391,
4,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15057,
286,
5849,
18987,
357,
6207,
7094,
1875,
12825,
8,
416,
12946,
13,
46506,
357,
34,
11159,
42099,
406,
36048,
7,
14749,
8,
34178,
705,
4,
41187,
13239,
4,
6,
6375,
406,
36048,
7,
14749,
8,
34178,
705,
4,
65,
799,
391,
4,
6,
... |
how many consecutive years did pavel loskutov run in the joongang seoul marathon ? | SELECT COUNT("year") FROM table_203_270 WHERE "competition" = 'joongang seoul marathon' | [
4919,
867,
12785,
812,
750,
14187,
626,
22346,
74,
315,
709,
1057,
287,
262,
2525,
506,
648,
384,
2852,
22336,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
20233,
33411,
366,
5589,
15620,
1,
796,
705,
7639,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
12785,
812,
750,
14187,
626,
22346,
74,
315,
709,
1057,
287,
262,
2525,
506,
648,
384,
2852,
22336,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
20233,
33411,
366,
5589,
15620,
1,
796,
705,
7639,
5... |
What is the highest Wins, when Percent is 0.000, when School is Oklahoma State, and when Appearances is less than 1? | SELECT MAX(wins) FROM table_name_67 WHERE percent = "0.000" AND school = "oklahoma state" AND appearances < 1 | [
2061,
318,
262,
4511,
24423,
11,
618,
22512,
318,
657,
13,
830,
11,
618,
3961,
318,
10433,
1812,
11,
290,
618,
2034,
35630,
318,
1342,
621,
352,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
1411,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
24423,
11,
618,
22512,
318,
657,
13,
830,
11,
618,
3961,
318,
10433,
1812,
11,
290,
618,
2034,
35630,
318,
1342,
621,
352,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
1411,
796,
... |
Name the time for entries being 907 | SELECT "Time (ET)" FROM table_3258 WHERE "Entries" = '907' | [
5376,
262,
640,
329,
12784,
852,
860,
2998,
46506,
366,
7575,
357,
2767,
16725,
16034,
3084,
62,
18,
25600,
33411,
366,
14539,
1678,
1,
796,
705,
24,
2998,
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
] | [
5376,
262,
640,
329,
12784,
852,
860,
2998,
46506,
366,
7575,
357,
2767,
16725,
16034,
3084,
62,
18,
25600,
33411,
366,
14539,
1678,
1,
796,
705,
24,
2998,
6
] |
What is Player, when Figures is source: . last updated: 28 june 2007.? | SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007." | [
2061,
318,
7853,
11,
618,
36574,
318,
2723,
25,
764,
938,
6153,
25,
2579,
474,
1726,
4343,
40791,
46506,
2137,
16034,
3084,
62,
3672,
62,
4309,
33411,
5538,
796,
366,
10459,
25,
764,
938,
6153,
25,
2579,
474,
1726,
4343,
526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7853,
11,
618,
36574,
318,
2723,
25,
764,
938,
6153,
25,
2579,
474,
1726,
4343,
40791,
46506,
2137,
16034,
3084,
62,
3672,
62,
4309,
33411,
5538,
796,
366,
10459,
25,
764,
938,
6153,
25,
2579,
474,
1726,
4343,
526
] |
What is the release date of the CD by EG Records in the UK? | SELECT SUM(release_date) FROM table_name_32 WHERE media = "cd" AND country = "uk" AND music_label = "eg records" | [
2061,
318,
262,
2650,
3128,
286,
262,
6458,
416,
41513,
13407,
287,
262,
3482,
30,
46506,
35683,
7,
20979,
62,
4475,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
2056,
796,
366,
10210,
1,
5357,
1499,
796,
366,
2724,
1,
5357,
2647,
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
] | [
2061,
318,
262,
2650,
3128,
286,
262,
6458,
416,
41513,
13407,
287,
262,
3482,
30,
46506,
35683,
7,
20979,
62,
4475,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
2056,
796,
366,
10210,
1,
5357,
1499,
796,
366,
2724,
1,
5357,
2647,
62,... |
Give me a histogram for how many climbers are from each country? | SELECT Country, COUNT(*) FROM climber GROUP BY Country | [
23318,
502,
257,
1554,
21857,
329,
703,
867,
39311,
389,
422,
1123,
1499,
30,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
5424,
527,
44441,
11050,
12946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
1554,
21857,
329,
703,
867,
39311,
389,
422,
1123,
1499,
30,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
5424,
527,
44441,
11050,
12946
] |
How much is the GDP for a population density of 254.7? | SELECT "GDP (PPP) $M USD" FROM table_43015 WHERE "Population density (per km\u00b2)" = '254.7' | [
2437,
881,
318,
262,
12396,
329,
257,
3265,
12109,
286,
35360,
13,
22,
30,
46506,
366,
38,
6322,
357,
10246,
47,
8,
720,
44,
11403,
1,
16034,
3084,
62,
3559,
25150,
33411,
366,
45251,
12109,
357,
525,
10571,
59,
84,
405,
65,
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
] | [
2437,
881,
318,
262,
12396,
329,
257,
3265,
12109,
286,
35360,
13,
22,
30,
46506,
366,
38,
6322,
357,
10246,
47,
8,
720,
44,
11403,
1,
16034,
3084,
62,
3559,
25150,
33411,
366,
45251,
12109,
357,
525,
10571,
59,
84,
405,
65,
17,
1... |
Who moved from Northampton Town? | SELECT "Name" FROM table_25313 WHERE "Moving from" = 'Northampton Town' | [
8241,
3888,
422,
2258,
23427,
8329,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1495,
25838,
33411,
366,
33622,
422,
1,
796,
705,
14157,
23427,
8329,
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
] | [
8241,
3888,
422,
2258,
23427,
8329,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1495,
25838,
33411,
366,
33622,
422,
1,
796,
705,
14157,
23427,
8329,
6
] |
Show the relationship between customer id and account id in a scatter chart. | SELECT account_id, customer_id FROM Accounts | [
15307,
262,
2776,
1022,
6491,
4686,
290,
1848,
4686,
287,
257,
41058,
8262,
13,
46506,
1848,
62,
312,
11,
6491,
62,
312,
16034,
35584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2776,
1022,
6491,
4686,
290,
1848,
4686,
287,
257,
41058,
8262,
13,
46506,
1848,
62,
312,
11,
6491,
62,
312,
16034,
35584
] |
How many distinct types of accounts are there? | SELECT COUNT(DISTINCT acc_type) FROM customer | [
2437,
867,
7310,
3858,
286,
5504,
389,
612,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
697,
62,
4906,
8,
16034,
6491
] | [
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,
7310,
3858,
286,
5504,
389,
612,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
697,
62,
4906,
8,
16034,
6491
] |
Top RDBMS for Hibernate tag. | SELECT SUM(CASE WHEN (STR_POSITION(Tags, 'oracle') > 0) THEN 1 ELSE 0 END) AS "Oracle" FROM Posts WHERE Tags LIKE '%hibernate%' UNION SELECT SUM(CASE WHEN (STR_POSITION(Tags, '<sql-server>') > 0) THEN 1 ELSE 0 END) AS "SQL Server" FROM Posts WHERE Tags LIKE '%hibernate%' UNION SELECT SUM(CASE WHEN (STR_POSITION(Tags, '... | [
9126,
371,
11012,
5653,
329,
367,
1856,
77,
378,
7621,
13,
46506,
35683,
7,
34,
11159,
42099,
357,
18601,
62,
37997,
17941,
7,
36142,
11,
705,
273,
6008,
11537,
1875,
657,
8,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
366,
48625,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
371,
11012,
5653,
329,
367,
1856,
77,
378,
7621,
13,
46506,
35683,
7,
34,
11159,
42099,
357,
18601,
62,
37997,
17941,
7,
36142,
11,
705,
273,
6008,
11537,
1875,
657,
8,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
366,
48625,
... |
For those records from the products and each product's manufacturer, find headquarter and the amount of headquarter , and group by attribute headquarter, and visualize them by a bar chart, display y axis in asc order. | SELECT Headquarter, COUNT(Headquarter) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY COUNT(Headquarter) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1182,
24385,
290,
262,
2033,
286,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
331,
16488,
287,
1057... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
1182,
24385,
290,
262,
2033,
286,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
331,
16488,
287,
1057... |
Favorite Users By Question SO. | SELECT a.Id AS "user_link", a.Reputation, b.CreationDate AS DateFavorited FROM Users AS a, Votes AS b WHERE b.UserId = a.Id AND b.VoteTypeId = 5 AND b.PostId = @PostId ORDER BY b.CreationDate DESC | [
49434,
18987,
2750,
18233,
12809,
13,
46506,
257,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
257,
13,
6207,
7094,
11,
275,
13,
12443,
341,
10430,
7054,
7536,
37,
5570,
863,
16034,
18987,
7054,
257,
11,
39584,
7054,
275,
33411,
275,
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... | [
49434,
18987,
2750,
18233,
12809,
13,
46506,
257,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
257,
13,
6207,
7094,
11,
275,
13,
12443,
341,
10430,
7054,
7536,
37,
5570,
863,
16034,
18987,
7054,
257,
11,
39584,
7054,
275,
33411,
275,
13... |
What was the latest round that Derek Pagel was selected with a pick higher than 50? | SELECT MAX("Round") FROM table_77984 WHERE "Pick" > '50' AND "Player" = 'derek pagel' | [
2061,
373,
262,
3452,
2835,
326,
20893,
31525,
417,
373,
6163,
351,
257,
2298,
2440,
621,
2026,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
3324,
4089,
19,
33411,
366,
31686,
1,
1875,
705,
1120,
6,
5357,
366,
14140,
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
] | [
2061,
373,
262,
3452,
2835,
326,
20893,
31525,
417,
373,
6163,
351,
257,
2298,
2440,
621,
2026,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
3324,
4089,
19,
33411,
366,
31686,
1,
1875,
705,
1120,
6,
5357,
366,
14140,
1,
796,
... |
which map or catalog was created last ? | SELECT "map or catalog" FROM table_204_281 ORDER BY id DESC LIMIT 1 | [
4758,
3975,
393,
18388,
373,
2727,
938,
5633,
46506,
366,
8899,
393,
18388,
1,
16034,
3084,
62,
18638,
62,
30368,
38678,
11050,
4686,
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
] | [
4758,
3975,
393,
18388,
373,
2727,
938,
5633,
46506,
366,
8899,
393,
18388,
1,
16034,
3084,
62,
18638,
62,
30368,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
Bar chart x axis crs code y axis the total number, and sort Y-axis from high to low order please. | SELECT CRS_CODE, COUNT(*) FROM CLASS GROUP BY CRS_CODE ORDER BY COUNT(*) DESC | [
10374,
8262,
2124,
16488,
1067,
82,
2438,
331,
16488,
262,
2472,
1271,
11,
290,
3297,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
327,
6998,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
42715,
44441,
11050,
327,
69... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
1067,
82,
2438,
331,
16488,
262,
2472,
1271,
11,
290,
3297,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
327,
6998,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
42715,
44441,
11050,
327,
69... |
What is the score for Todd Hamilton? | SELECT "Score" FROM table_13810 WHERE "Player" = 'todd hamilton' | [
2061,
318,
262,
4776,
329,
14377,
11582,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
20107,
940,
33411,
366,
14140,
1,
796,
705,
83,
5088,
8891,
9044,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
329,
14377,
11582,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
20107,
940,
33411,
366,
14140,
1,
796,
705,
83,
5088,
8891,
9044,
6
] |
how many patients are admitted urgently and followed the procedure icd9 code 5771? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.icd9_code = "5771" | [
4919,
867,
3871,
389,
6848,
37788,
290,
3940,
262,
8771,
14158,
67,
24,
2438,
642,
46761,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
181... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
6848,
37788,
290,
3940,
262,
8771,
14158,
67,
24,
2438,
642,
46761,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
181... |
WHAT IS THE TRIES AGAINST WITH PLAYED 22, POINTS AGAINST 784? | SELECT tries_against FROM table_name_1 WHERE played = "22" AND points_against = "784" | [
32971,
3180,
3336,
37679,
1546,
36218,
38604,
13315,
28180,
1961,
2534,
11,
19922,
1268,
4694,
36218,
38604,
767,
5705,
30,
46506,
8404,
62,
32826,
16034,
3084,
62,
3672,
62,
16,
33411,
2826,
796,
366,
1828,
1,
5357,
2173,
62,
32826,
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
] | [
32971,
3180,
3336,
37679,
1546,
36218,
38604,
13315,
28180,
1961,
2534,
11,
19922,
1268,
4694,
36218,
38604,
767,
5705,
30,
46506,
8404,
62,
32826,
16034,
3084,
62,
3672,
62,
16,
33411,
2826,
796,
366,
1828,
1,
5357,
2173,
62,
32826,
79... |
What is the highest Shooting Total with a Bronze less than 0? | SELECT MAX("Total") FROM table_55379 WHERE "Sport" = 'shooting' AND "Bronze" < '0' | [
2061,
318,
262,
4511,
25360,
7472,
351,
257,
19461,
1342,
621,
657,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
2816,
29088,
33411,
366,
42576,
1,
796,
705,
1477,
12494,
6,
5357,
366,
18760,
2736,
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
] | [
2061,
318,
262,
4511,
25360,
7472,
351,
257,
19461,
1342,
621,
657,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
2816,
29088,
33411,
366,
42576,
1,
796,
705,
1477,
12494,
6,
5357,
366,
18760,
2736,
1,
1279,
705,
15,
6
] |
What is the drug type and drug code of Amaryl? | SELECT prescriptions.drug_type, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Amaryl" | [
2061,
318,
262,
2563,
2099,
290,
2563,
2438,
286,
1703,
36822,
30,
46506,
34092,
13,
30349,
62,
4906,
11,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
5840,
36822,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2099,
290,
2563,
2438,
286,
1703,
36822,
30,
46506,
34092,
13,
30349,
62,
4906,
11,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
5840,
36822,
1
] |
give me the number of patients whose death status is 0 and procedure short title is arterial catheterization? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Arterial catheterization" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
8771,
1790,
3670,
318,
30675,
498,
3797,
43332,
1634,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
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,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
8771,
1790,
3670,
318,
30675,
498,
3797,
43332,
1634,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... |
tell me the name of the drug that patient 26262 was prescribed for within 2 days after having been diagnosed with hyperlipidemia nec/nos since 97 months ago? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 26262 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hyperl... | [
33331,
502,
262,
1438,
286,
262,
2563,
326,
5827,
2608,
29119,
373,
14798,
329,
1626,
362,
1528,
706,
1719,
587,
14641,
351,
8718,
40712,
312,
22859,
27576,
14,
39369,
1201,
10111,
1933,
2084,
30,
46506,
256,
17,
13,
30349,
16034,
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... | [
33331,
502,
262,
1438,
286,
262,
2563,
326,
5827,
2608,
29119,
373,
14798,
329,
1626,
362,
1528,
706,
1719,
587,
14641,
351,
8718,
40712,
312,
22859,
27576,
14,
39369,
1201,
10111,
1933,
2084,
30,
46506,
256,
17,
13,
30349,
16034,
357,
... |
list all flights from PITTSBURGH to PHILADELPHIA | 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 = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHI... | [
4868,
477,
13956,
422,
49040,
4694,
38926,
17511,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
13956,
422,
49040,
4694,
38926,
17511,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
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,... |
what was the difference in r & b ranking between come go with me and dance 4 me . ? | SELECT ABS((SELECT "us r&b" FROM table_204_438 WHERE "title" = '"come go with me"') - (SELECT "us r&b" FROM table_204_438 WHERE "title" = '"dance 4 me"')) | [
10919,
373,
262,
3580,
287,
374,
1222,
275,
12759,
1022,
1282,
467,
351,
502,
290,
9280,
604,
502,
764,
5633,
46506,
29950,
19510,
46506,
366,
385,
374,
5,
65,
1,
16034,
3084,
62,
18638,
62,
43704,
33411,
366,
7839,
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,
1... | [
10919,
373,
262,
3580,
287,
374,
1222,
275,
12759,
1022,
1282,
467,
351,
502,
290,
9280,
604,
502,
764,
5633,
46506,
29950,
19510,
46506,
366,
385,
374,
5,
65,
1,
16034,
3084,
62,
18638,
62,
43704,
33411,
366,
7839,
1,
796,
705,
1,
... |
What is the average Top-10 when there were 17 cuts made with less than 0 wins? | SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0 | [
2061,
318,
262,
2811,
5849,
12,
940,
618,
612,
547,
1596,
6630,
925,
351,
1342,
621,
657,
7864,
30,
46506,
35224,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
6630,
62,
9727,
796,
1596,
5357,
7864,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
5849,
12,
940,
618,
612,
547,
1596,
6630,
925,
351,
1342,
621,
657,
7864,
30,
46506,
35224,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
6630,
62,
9727,
796,
1596,
5357,
7864,
1279,
657
] |
Name the period for uruguay | SELECT period FROM table_24565004_19 WHERE nationality² = "Uruguay" | [
5376,
262,
2278,
329,
2956,
1018,
30106,
46506,
2278,
16034,
3084,
62,
22995,
2996,
22914,
62,
1129,
33411,
29835,
31185,
796,
366,
52,
2143,
30106,
1
] | [
1,
1,
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,
2278,
329,
2956,
1018,
30106,
46506,
2278,
16034,
3084,
62,
22995,
2996,
22914,
62,
1129,
33411,
29835,
31185,
796,
366,
52,
2143,
30106,
1
] |
Show the name of colleges that have at least two players in descending alphabetical order. | SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC | [
15307,
262,
1438,
286,
15273,
326,
423,
379,
1551,
734,
1938,
287,
31491,
24830,
605,
1502,
13,
46506,
5535,
16034,
2872,
62,
6230,
44441,
11050,
5535,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362,
38678,
11050,
5535,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1438,
286,
15273,
326,
423,
379,
1551,
734,
1938,
287,
31491,
24830,
605,
1502,
13,
46506,
5535,
16034,
2872,
62,
6230,
44441,
11050,
5535,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362,
38678,
11050,
5535,
22196,
34
] |
What is average Overall, when Pick is 19? | SELECT AVG(overall) FROM table_name_80 WHERE pick = 19 | [
2061,
318,
2811,
14674,
11,
618,
12346,
318,
678,
30,
46506,
35224,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
2298,
796,
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
] | [
2061,
318,
2811,
14674,
11,
618,
12346,
318,
678,
30,
46506,
35224,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
2298,
796,
678
] |
SELECT TOP 100 DisplayName FROM Users WHERE Location='Russia' and Reputation=(select max(Reputation. | SELECT DisplayName, LastAccessDate, WebsiteUrl, AboutMe FROM Users WHERE Location = 'Russia' ORDER BY Reputation LIMIT 100 | [
46506,
28662,
1802,
16531,
5376,
16034,
18987,
33411,
13397,
11639,
16347,
6,
290,
1432,
7094,
16193,
19738,
3509,
7,
6207,
7094,
13,
46506,
16531,
5376,
11,
4586,
15457,
10430,
11,
15887,
28165,
11,
7994,
5308,
16034,
18987,
33411,
13397,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
46506,
28662,
1802,
16531,
5376,
16034,
18987,
33411,
13397,
11639,
16347,
6,
290,
1432,
7094,
16193,
19738,
3509,
7,
6207,
7094,
13,
46506,
16531,
5376,
11,
4586,
15457,
10430,
11,
15887,
28165,
11,
7994,
5308,
16034,
18987,
33411,
13397,
... |
Name the number of rank for season 6 | SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6 | [
5376,
262,
1271,
286,
4279,
329,
1622,
718,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
17,
17657,
1415,
62,
17,
33411,
1622,
796,
718
] | [
1,
1,
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,
1271,
286,
4279,
329,
1622,
718,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
17,
17657,
1415,
62,
17,
33411,
1622,
796,
718
] |
calculate the number of patients who were admitted via emergency hospital room and hospitalized for more than 3 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.days_stay > "3" | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
547,
6848,
2884,
6334,
4436,
2119,
290,
31736,
329,
517,
621,
513,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
547,
6848,
2884,
6334,
4436,
2119,
290,
31736,
329,
517,
621,
513,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
... |
What is the Record that has a Nationality of new zealand? | SELECT record FROM table_name_35 WHERE nationality = "new zealand" | [
2061,
318,
262,
13266,
326,
468,
257,
2351,
414,
286,
649,
27689,
392,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2327,
33411,
29835,
796,
366,
3605,
27689,
392,
1
] | [
1,
1,
1,
1,
1,
1,
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,
13266,
326,
468,
257,
2351,
414,
286,
649,
27689,
392,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2327,
33411,
29835,
796,
366,
3605,
27689,
392,
1
] |
Name the sepal lengh when sepal width is 2.9 and petal width 1.3 | SELECT "Sepal length" FROM table_16139 WHERE "Sepal width" = '2.9' AND "Petal width" = '1.3' | [
5376,
262,
384,
18596,
18896,
456,
618,
384,
18596,
9647,
318,
362,
13,
24,
290,
4273,
282,
9647,
352,
13,
18,
46506,
366,
19117,
282,
4129,
1,
16034,
3084,
62,
1433,
20219,
33411,
366,
19117,
282,
9647,
1,
796,
705,
17,
13,
24,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
384,
18596,
18896,
456,
618,
384,
18596,
9647,
318,
362,
13,
24,
290,
4273,
282,
9647,
352,
13,
18,
46506,
366,
19117,
282,
4129,
1,
16034,
3084,
62,
1433,
20219,
33411,
366,
19117,
282,
9647,
1,
796,
705,
17,
13,
24,
6... |
Who were the scorers in the game with final score 0 4 7 1 0 3? | SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–3" | [
8241,
547,
262,
4776,
3808,
287,
262,
983,
351,
2457,
4776,
657,
604,
767,
352,
657,
513,
30,
46506,
4776,
3808,
16034,
3084,
62,
1983,
2996,
2920,
3459,
62,
16,
33411,
1255,
796,
366,
15,
1906,
19,
767,
1906,
16,
657,
1906,
18,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
4776,
3808,
287,
262,
983,
351,
2457,
4776,
657,
604,
767,
352,
657,
513,
30,
46506,
4776,
3808,
16034,
3084,
62,
1983,
2996,
2920,
3459,
62,
16,
33411,
1255,
796,
366,
15,
1906,
19,
767,
1906,
16,
657,
1906,
18,
1... |
What is the lowest after when the player is adam scott? | SELECT MIN("After") FROM table_30541 WHERE "Player" = 'Adam Scott' | [
2061,
318,
262,
9016,
706,
618,
262,
2137,
318,
23197,
629,
1252,
30,
46506,
20625,
7203,
3260,
4943,
16034,
3084,
62,
22515,
3901,
33411,
366,
14140,
1,
796,
705,
23159,
4746,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
706,
618,
262,
2137,
318,
23197,
629,
1252,
30,
46506,
20625,
7203,
3260,
4943,
16034,
3084,
62,
22515,
3901,
33411,
366,
14140,
1,
796,
705,
23159,
4746,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.