instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999? | SELECT SUM(years_played) FROM table_name_28 WHERE singles_win_loss = "4-9" AND first_year_played < 1999 | [
2437,
867,
812,
750,
262,
1074,
326,
468,
257,
5573,
829,
1592,
12,
43,
793,
286,
604,
12,
24,
290,
717,
2826,
878,
7358,
30,
46506,
35683,
7,
19002,
62,
21542,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
25287,
62,
5404,
62,
22462... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
812,
750,
262,
1074,
326,
468,
257,
5573,
829,
1592,
12,
43,
793,
286,
604,
12,
24,
290,
717,
2826,
878,
7358,
30,
46506,
35683,
7,
19002,
62,
21542,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
25287,
62,
5404,
62,
22462... |
count the number of patients whose drug name is pantoprazole? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Pantoprazole" | [
9127,
262,
1271,
286,
3871,
3025,
2563,
1438,
318,
15857,
404,
3247,
2305,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
1438,
318,
15857,
404,
3247,
2305,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
31... |
What are the draft pick numbers and draft classes for players who play the Defender position Show bar chart, show by the bar in ascending. | SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" ORDER BY Draft_Class | [
2061,
389,
262,
4538,
2298,
3146,
290,
4538,
6097,
329,
1938,
508,
711,
262,
25533,
2292,
5438,
2318,
8262,
11,
905,
416,
262,
2318,
287,
41988,
13,
46506,
13650,
62,
9487,
11,
13650,
62,
31686,
62,
15057,
16034,
2872,
62,
6230,
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
] | [
2061,
389,
262,
4538,
2298,
3146,
290,
4538,
6097,
329,
1938,
508,
711,
262,
25533,
2292,
5438,
2318,
8262,
11,
905,
416,
262,
2318,
287,
41988,
13,
46506,
13650,
62,
9487,
11,
13650,
62,
31686,
62,
15057,
16034,
2872,
62,
6230,
33411... |
What papers were published during the conference ACL 2016 ? | SELECT DISTINCT paper.paperid FROM paper, venue WHERE paper.year = 2016 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' | [
2061,
9473,
547,
3199,
1141,
262,
4495,
17382,
1584,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
3348,
11,
14359,
33411,
3348,
13,
1941,
796,
1584,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
547,
3199,
1141,
262,
4495,
17382,
1584,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
3348,
11,
14359,
33411,
3348,
13,
1941,
796,
1584,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
... |
severe renal, lung and liver disease | SELECT * FROM table_test_5 WHERE renal_disease = 1 OR lung_disease = 1 OR liver_disease = 1 | [
43070,
44375,
11,
12317,
290,
14383,
4369,
46506,
1635,
16034,
3084,
62,
9288,
62,
20,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
12317,
62,
67,
786,
589,
796,
352,
6375,
14383,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43070,
44375,
11,
12317,
290,
14383,
4369,
46506,
1635,
16034,
3084,
62,
9288,
62,
20,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
12317,
62,
67,
786,
589,
796,
352,
6375,
14383,
62,
67,
786,
589,
796,
352
] |
Which network has Marty Reid as host and lap-by-lap broadcaster? | SELECT "Network" FROM table_16268 WHERE "Lap-by-lap" = 'Marty Reid' AND "Host" = 'Marty Reid' | [
13828,
3127,
468,
29876,
16095,
355,
2583,
290,
14779,
12,
1525,
12,
37796,
26661,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
1433,
25022,
33411,
366,
43,
499,
12,
1525,
12,
37796,
1,
796,
705,
13143,
88,
16095,
6,
5357,
366,
17932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3127,
468,
29876,
16095,
355,
2583,
290,
14779,
12,
1525,
12,
37796,
26661,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
1433,
25022,
33411,
366,
43,
499,
12,
1525,
12,
37796,
1,
796,
705,
13143,
88,
16095,
6,
5357,
366,
17932,
... |
Which airport is in Saudi Arabia when the ICAO is oejn? | SELECT airport FROM table_name_20 WHERE country = "saudi arabia" AND icao = "oejn" | [
13828,
9003,
318,
287,
7420,
9671,
618,
262,
314,
8141,
46,
318,
267,
68,
73,
77,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
1238,
33411,
1499,
796,
366,
82,
31330,
610,
397,
544,
1,
5357,
220,
3970,
78,
796,
366,
2577,
73,
77,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7420,
9671,
618,
262,
314,
8141,
46,
318,
267,
68,
73,
77,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
1238,
33411,
1499,
796,
366,
82,
31330,
610,
397,
544,
1,
5357,
220,
3970,
78,
796,
366,
2577,
73,
77,
... |
Up vs Down votes by hour of week of Accepted Answer. | SELECT TIME_TO_STR(p.CreationDate, 'WEEKDA%Y') AS "day", TIME_TO_STR(p.CreationDate, '%-HOUR') AS "hour", COUNT(*) AS Amount, SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) AS UpVotes, SUM(CASE WHEN VoteTypeId = 3 THEN 1 ELSE 0 END) AS DownVotes, (CAST(SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) AS FLOAT) / CAST(S... | [
4933,
3691,
5588,
5690,
416,
1711,
286,
1285,
286,
21699,
276,
23998,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,
705,
54,
33823,
5631,
4,
56,
11537,
7054,
366,
820,
1600,
20460,
62,
10468,
62,
18601,
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... | [
4933,
3691,
5588,
5690,
416,
1711,
286,
1285,
286,
21699,
276,
23998,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,
705,
54,
33823,
5631,
4,
56,
11537,
7054,
366,
820,
1600,
20460,
62,
10468,
62,
18601,
7... |
What is the name of the race when Lineth Chepkurui is the athlete? | SELECT "Race" FROM table_44348 WHERE "Athlete" = 'lineth chepkurui' | [
2061,
318,
262,
1438,
286,
262,
3234,
618,
5164,
2788,
2580,
79,
74,
333,
9019,
318,
262,
16076,
30,
46506,
366,
35157,
1,
16034,
3084,
62,
2598,
28978,
33411,
366,
32,
400,
5807,
1,
796,
705,
2815,
2788,
1125,
79,
74,
333,
9019,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
618,
5164,
2788,
2580,
79,
74,
333,
9019,
318,
262,
16076,
30,
46506,
366,
35157,
1,
16034,
3084,
62,
2598,
28978,
33411,
366,
32,
400,
5807,
1,
796,
705,
2815,
2788,
1125,
79,
74,
333,
9019,
... |
What is Score, when Player is 'Bill Rogers'? | SELECT score FROM table_name_80 WHERE player = "bill rogers" | [
2061,
318,
15178,
11,
618,
7853,
318,
705,
17798,
15372,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
1795,
33411,
2137,
796,
366,
35546,
686,
5355,
1
] | [
1,
1,
1,
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,
15178,
11,
618,
7853,
318,
705,
17798,
15372,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
1795,
33411,
2137,
796,
366,
35546,
686,
5355,
1
] |
if you lined the contestants up by height with shortest first and tallest last , which contestant would be next after carolina ayala cromen ? | SELECT "contestant" FROM table_203_791 WHERE "height" > (SELECT "height" FROM table_203_791 WHERE "contestant" = 'carolina ayala cromen') ORDER BY "height" LIMIT 1 | [
361,
345,
16566,
262,
37851,
510,
416,
6001,
351,
35581,
717,
290,
38760,
938,
837,
543,
44047,
561,
307,
1306,
706,
1097,
47196,
38762,
6081,
269,
398,
268,
5633,
46506,
366,
3642,
395,
415,
1,
16034,
3084,
62,
22416,
62,
3720,
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... | [
361,
345,
16566,
262,
37851,
510,
416,
6001,
351,
35581,
717,
290,
38760,
938,
837,
543,
44047,
561,
307,
1306,
706,
1097,
47196,
38762,
6081,
269,
398,
268,
5633,
46506,
366,
3642,
395,
415,
1,
16034,
3084,
62,
22416,
62,
3720,
16,
... |
calculate the total number of patients who had mild degree malnutrition | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Malnutrition mild degree" | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
508,
550,
11607,
4922,
49290,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
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
] | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
508,
550,
11607,
4922,
49290,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
7... |
how many patients whose gender is m and lab test name is heparin, lmw? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "M" AND lab.label = "Heparin, LMW" | [
4919,
867,
3871,
3025,
5279,
318,
285,
290,
2248,
1332,
1438,
318,
339,
1845,
259,
11,
300,
76,
86,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
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... | [
4919,
867,
3871,
3025,
5279,
318,
285,
290,
2248,
1332,
1438,
318,
339,
1845,
259,
11,
300,
76,
86,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16... |
What is the name of each aircraft and how many flights does each one complete. Show bar chart. | SELECT name, COUNT(*) FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid | [
2061,
318,
262,
1438,
286,
1123,
6215,
290,
703,
867,
13956,
857,
1123,
530,
1844,
13,
5438,
2318,
8262,
13,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
5474,
7054,
309,
16,
32357,
1268,
6215,
7054,
309,
17,
6177,
309,
16,
13,
169... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
6215,
290,
703,
867,
13956,
857,
1123,
530,
1844,
13,
5438,
2318,
8262,
13,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
5474,
7054,
309,
16,
32357,
1268,
6215,
7054,
309,
17,
6177,
309,
16,
13,
169... |
What was the total number of weeks with a date of bye? | SELECT COUNT(week) FROM table_name_14 WHERE date = "bye" | [
2061,
373,
262,
2472,
1271,
286,
2745,
351,
257,
3128,
286,
33847,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
796,
366,
16390,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2472,
1271,
286,
2745,
351,
257,
3128,
286,
33847,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
796,
366,
16390,
1
] |
For the United States, with greater than 2 bronze metals, greater than 3 silver medals, and a rank higher than 3, what is the highest total number of medals? | SELECT MAX("Total") FROM table_57076 WHERE "Bronze" > '2' AND "Rank" > '3' AND "Nation" = 'united states' AND "Silver" > '3' | [
1890,
262,
1578,
1829,
11,
351,
3744,
621,
362,
22101,
21782,
11,
3744,
621,
513,
8465,
28057,
11,
290,
257,
4279,
2440,
621,
513,
11,
644,
318,
262,
4511,
2472,
1271,
286,
28057,
30,
46506,
25882,
7203,
14957,
4943,
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,
1,
1,
1,
1,
1,
1... | [
1890,
262,
1578,
1829,
11,
351,
3744,
621,
362,
22101,
21782,
11,
3744,
621,
513,
8465,
28057,
11,
290,
257,
4279,
2440,
621,
513,
11,
644,
318,
262,
4511,
2472,
1271,
286,
28057,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
... |
Who was the winner in the match that had John Higgins as runner-up? | SELECT winner FROM table_name_63 WHERE runner_up = "john higgins" | [
8241,
373,
262,
8464,
287,
262,
2872,
326,
550,
1757,
39043,
355,
17490,
12,
929,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
5066,
33411,
17490,
62,
929,
796,
366,
30686,
1880,
29878,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
287,
262,
2872,
326,
550,
1757,
39043,
355,
17490,
12,
929,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
5066,
33411,
17490,
62,
929,
796,
366,
30686,
1880,
29878,
1
] |
Show all calendar dates and day Numbers Plot them as line chart, list by the X-axis in asc please. | SELECT Calendar_Date, Day_Number FROM Ref_Calendar ORDER BY Calendar_Date | [
15307,
477,
11845,
9667,
290,
1110,
27797,
28114,
606,
355,
1627,
8262,
11,
1351,
416,
262,
1395,
12,
22704,
287,
10570,
3387,
13,
46506,
26506,
62,
10430,
11,
3596,
62,
15057,
16034,
6524,
62,
9771,
9239,
38678,
11050,
26506,
62,
10430... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
11845,
9667,
290,
1110,
27797,
28114,
606,
355,
1627,
8262,
11,
1351,
416,
262,
1395,
12,
22704,
287,
10570,
3387,
13,
46506,
26506,
62,
10430,
11,
3596,
62,
15057,
16034,
6524,
62,
9771,
9239,
38678,
11050,
26506,
62,
10430... |
how many of the patients with item id 51222 had abnormal lab test results? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51222" AND lab.flag = "abnormal" | [
4919,
867,
286,
262,
3871,
351,
2378,
4686,
22243,
1828,
550,
18801,
2248,
1332,
2482,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3871,
351,
2378,
4686,
22243,
1828,
550,
18801,
2248,
1332,
2482,
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,
... |
When did the DC Comics title that debuted in 1937 end? | SELECT last_year FROM table_name_65 WHERE first_year = "1937" AND publisher = "dc comics" | [
2215,
750,
262,
6257,
15650,
3670,
326,
26376,
287,
28684,
886,
30,
46506,
938,
62,
1941,
16034,
3084,
62,
3672,
62,
2996,
33411,
717,
62,
1941,
796,
366,
1129,
2718,
1,
5357,
9991,
796,
366,
17896,
12770,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6257,
15650,
3670,
326,
26376,
287,
28684,
886,
30,
46506,
938,
62,
1941,
16034,
3084,
62,
3672,
62,
2996,
33411,
717,
62,
1941,
796,
366,
1129,
2718,
1,
5357,
9991,
796,
366,
17896,
12770,
1
] |
A bar chart for what are the number of the titles of all movies that have rating star is between 3 and 5? | SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
8714,
286,
477,
6918,
326,
423,
7955,
3491,
318,
1022,
513,
290,
642,
30,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
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,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
8714,
286,
477,
6918,
326,
423,
7955,
3491,
318,
1022,
513,
290,
642,
30,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
... |
Which event is in round 1 with a record at 5-1? | SELECT "Event" FROM table_6345 WHERE "Round" = '1' AND "Record" = '5-1' | [
13828,
1785,
318,
287,
2835,
352,
351,
257,
1700,
379,
642,
12,
16,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
5066,
2231,
33411,
366,
22685,
1,
796,
705,
16,
6,
5357,
366,
23739,
1,
796,
705,
20,
12,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1785,
318,
287,
2835,
352,
351,
257,
1700,
379,
642,
12,
16,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
5066,
2231,
33411,
366,
22685,
1,
796,
705,
16,
6,
5357,
366,
23739,
1,
796,
705,
20,
12,
16,
6
] |
Name the total number of platforms that waddon railway station has | SELECT COUNT(platforms) FROM table_name_41 WHERE stations = "waddon railway station" | [
5376,
262,
2472,
1271,
286,
9554,
326,
266,
48078,
20515,
4429,
468,
46506,
327,
28270,
7,
24254,
82,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
8985,
796,
366,
86,
48078,
20515,
4429,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
9554,
326,
266,
48078,
20515,
4429,
468,
46506,
327,
28270,
7,
24254,
82,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
8985,
796,
366,
86,
48078,
20515,
4429,
1
] |
Show ids, customer ids, card type codes, card numbers for all cards. | SELECT card_id, customer_id, card_type_code, card_number FROM Customers_cards | [
15307,
220,
2340,
11,
6491,
220,
2340,
11,
2657,
2099,
12416,
11,
2657,
3146,
329,
477,
4116,
13,
46506,
2657,
62,
312,
11,
6491,
62,
312,
11,
2657,
62,
4906,
62,
8189,
11,
2657,
62,
17618,
16034,
36707,
62,
27761
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
2340,
11,
6491,
220,
2340,
11,
2657,
2099,
12416,
11,
2657,
3146,
329,
477,
4116,
13,
46506,
2657,
62,
312,
11,
6491,
62,
312,
11,
2657,
62,
4906,
62,
8189,
11,
2657,
62,
17618,
16034,
36707,
62,
27761
] |
How many dates have a Match number of 5? | SELECT COUNT("Date") FROM table_21305 WHERE "Match Number" = '5' | [
2437,
867,
9667,
423,
257,
13225,
1271,
286,
642,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
2481,
22515,
33411,
366,
23850,
7913,
1,
796,
705,
20,
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
] | [
2437,
867,
9667,
423,
257,
13225,
1271,
286,
642,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
2481,
22515,
33411,
366,
23850,
7913,
1,
796,
705,
20,
6
] |
In how many games did Terrence Williams (9) have High assists? | SELECT COUNT(score) FROM table_27700375_6 WHERE high_assists = "Terrence Williams (9)" | [
818,
703,
867,
1830,
750,
3813,
6784,
6484,
357,
24,
8,
423,
3334,
13648,
30,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
1983,
9879,
22318,
62,
21,
33411,
1029,
62,
562,
1023,
796,
366,
15156,
6784,
6484,
357,
24,
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,
1,
1,
1,
1
] | [
818,
703,
867,
1830,
750,
3813,
6784,
6484,
357,
24,
8,
423,
3334,
13648,
30,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
1983,
9879,
22318,
62,
21,
33411,
1029,
62,
562,
1023,
796,
366,
15156,
6784,
6484,
357,
24,
16725
] |
what is the number of tournaments in which jim mcmanus was the partner ? | SELECT COUNT("tournament") FROM table_204_335 WHERE "partner" = 'jim mcmanus' | [
10919,
318,
262,
1271,
286,
18130,
287,
543,
474,
320,
36650,
805,
385,
373,
262,
5212,
5633,
46506,
327,
28270,
7203,
83,
5138,
4943,
16034,
3084,
62,
18638,
62,
27326,
33411,
366,
3911,
1008,
1,
796,
705,
73,
320,
36650,
805,
385,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18130,
287,
543,
474,
320,
36650,
805,
385,
373,
262,
5212,
5633,
46506,
327,
28270,
7203,
83,
5138,
4943,
16034,
3084,
62,
18638,
62,
27326,
33411,
366,
3911,
1008,
1,
796,
705,
73,
320,
36650,
805,
385,
... |
What was the result of the game when the attendance was 43,279? | SELECT result FROM table_name_8 WHERE attendance = "43,279" | [
2061,
373,
262,
1255,
286,
262,
983,
618,
262,
14858,
373,
5946,
11,
26050,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
23,
33411,
14858,
796,
366,
3559,
11,
26050,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
983,
618,
262,
14858,
373,
5946,
11,
26050,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
23,
33411,
14858,
796,
366,
3559,
11,
26050,
1
] |
what is the average total cost of the hospital that includes the laboratory crp test the previous year? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'crp')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CUR... | [
10919,
318,
262,
2811,
2472,
1575,
286,
262,
4436,
326,
3407,
262,
14010,
1067,
79,
1332,
262,
2180,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2811,
2472,
1575,
286,
262,
4436,
326,
3407,
262,
14010,
1067,
79,
1332,
262,
2180,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33... |
count the number of patients whose primary disease is rash and year of death is less than or equal to 2131? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RASH" AND demographic.dod_year <= "2131.0" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
28509,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
22042,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
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
] | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
28509,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
22042,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
... |
What schools are accredited by COE? | SELECT location_s_ FROM table_2064747_1 WHERE accreditation = "COE" | [
2061,
4266,
389,
37237,
416,
7375,
36,
30,
46506,
4067,
62,
82,
62,
16034,
3084,
62,
1238,
33981,
2857,
62,
16,
33411,
697,
42845,
796,
366,
8220,
36,
1
] | [
1,
1,
1,
1,
1,
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,
4266,
389,
37237,
416,
7375,
36,
30,
46506,
4067,
62,
82,
62,
16034,
3084,
62,
1238,
33981,
2857,
62,
16,
33411,
697,
42845,
796,
366,
8220,
36,
1
] |
If the average is 1.2803, what is the total points maximum? | SELECT MAX("Total Pts") FROM table_24710 WHERE "Avg" = '1.2803' | [
1532,
262,
2811,
318,
352,
13,
21033,
18,
11,
644,
318,
262,
2472,
2173,
5415,
30,
46506,
25882,
7203,
14957,
350,
912,
4943,
16034,
3084,
62,
23753,
940,
33411,
366,
48997,
1,
796,
705,
16,
13,
21033,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
2811,
318,
352,
13,
21033,
18,
11,
644,
318,
262,
2472,
2173,
5415,
30,
46506,
25882,
7203,
14957,
350,
912,
4943,
16034,
3084,
62,
23753,
940,
33411,
366,
48997,
1,
796,
705,
16,
13,
21033,
18,
6
] |
What shows for gold when the rank is less than 3, and silver less than 1? | SELECT SUM("Gold") FROM table_62487 WHERE "Rank" < '3' AND "Silver" < '1' | [
2061,
2523,
329,
3869,
618,
262,
4279,
318,
1342,
621,
513,
11,
290,
8465,
1342,
621,
352,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
21,
1731,
5774,
33411,
366,
27520,
1,
1279,
705,
18,
6,
5357,
366,
26766,
1,
1279,
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
] | [
2061,
2523,
329,
3869,
618,
262,
4279,
318,
1342,
621,
513,
11,
290,
8465,
1342,
621,
352,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
21,
1731,
5774,
33411,
366,
27520,
1,
1279,
705,
18,
6,
5357,
366,
26766,
1,
1279,
705,... |
List the name of musicals that do not have actors. | SELECT Name FROM musical WHERE NOT Musical_ID IN (SELECT Musical_ID FROM actor) | [
8053,
262,
1438,
286,
10530,
82,
326,
466,
407,
423,
10544,
13,
46506,
6530,
16034,
10530,
33411,
5626,
33375,
62,
2389,
3268,
357,
46506,
33375,
62,
2389,
16034,
8674,
8
] | [
1,
1,
1,
1,
1,
1,
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,
1438,
286,
10530,
82,
326,
466,
407,
423,
10544,
13,
46506,
6530,
16034,
10530,
33411,
5626,
33375,
62,
2389,
3268,
357,
46506,
33375,
62,
2389,
16034,
8674,
8
] |
What was the away team's score when the crowd was larger than 16,500 and the home team scored 15.15 (105)? | SELECT "Away team score" FROM table_32870 WHERE "Crowd" > '16,500' AND "Home team score" = '15.15 (105)' | [
2061,
373,
262,
1497,
1074,
338,
4776,
618,
262,
4315,
373,
4025,
621,
1467,
11,
4059,
290,
262,
1363,
1074,
7781,
1315,
13,
1314,
357,
13348,
19427,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
34256,
2154,
33411,
366,
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,
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,
1497,
1074,
338,
4776,
618,
262,
4315,
373,
4025,
621,
1467,
11,
4059,
290,
262,
1363,
1074,
7781,
1315,
13,
1314,
357,
13348,
19427,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
34256,
2154,
33411,
366,
34,
... |
What is the nationality of the player who has a pick lower than 33 and a School/Club Team of Vanderbilt? | SELECT nationality FROM table_name_94 WHERE pick < 33 AND school_club_team = "vanderbilt" | [
2061,
318,
262,
29835,
286,
262,
2137,
508,
468,
257,
2298,
2793,
621,
4747,
290,
257,
3961,
14,
42350,
4816,
286,
38684,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
5824,
33411,
2298,
1279,
4747,
5357,
1524,
62,
18664,
62,
15097,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
29835,
286,
262,
2137,
508,
468,
257,
2298,
2793,
621,
4747,
290,
257,
3961,
14,
42350,
4816,
286,
38684,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
5824,
33411,
2298,
1279,
4747,
5357,
1524,
62,
18664,
62,
15097,
79... |
What score did Leonard Thompson have when he won $9,000? | SELECT "Score" FROM table_45965 WHERE "Money ( $ )" = '9,000' AND "Player" = 'leonard thompson' | [
2061,
4776,
750,
20131,
11654,
423,
618,
339,
1839,
720,
24,
11,
830,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
33459,
2996,
33411,
366,
26788,
357,
720,
1267,
1,
796,
705,
24,
11,
830,
6,
5357,
366,
14140,
1,
796,
705,
38970,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
750,
20131,
11654,
423,
618,
339,
1839,
720,
24,
11,
830,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
33459,
2996,
33411,
366,
26788,
357,
720,
1267,
1,
796,
705,
24,
11,
830,
6,
5357,
366,
14140,
1,
796,
705,
38970,
44... |
What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? | SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots" | [
2061,
318,
262,
34614,
1271,
329,
2650,
9667,
286,
3446,
5075,
290,
2716,
416,
383,
11459,
1338,
1747,
30,
46506,
34614,
62,
17618,
16034,
3084,
62,
1983,
6052,
1954,
2079,
62,
16,
33411,
2650,
62,
4475,
796,
5075,
5357,
6802,
796,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
34614,
1271,
329,
2650,
9667,
286,
3446,
5075,
290,
2716,
416,
383,
11459,
1338,
1747,
30,
46506,
34614,
62,
17618,
16034,
3084,
62,
1983,
6052,
1954,
2079,
62,
16,
33411,
2650,
62,
4475,
796,
5075,
5357,
6802,
796,
36... |
How many Podiums have a Class of 250cc, and an F laps of 0? | SELECT SUM(podiums) FROM table_name_18 WHERE class = "250cc" AND f_laps = 0 | [
2437,
867,
350,
12664,
82,
423,
257,
5016,
286,
8646,
535,
11,
290,
281,
376,
24590,
286,
657,
30,
46506,
35683,
7,
79,
12664,
82,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
1398,
796,
366,
9031,
535,
1,
5357,
277,
62,
75,
1686,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
12664,
82,
423,
257,
5016,
286,
8646,
535,
11,
290,
281,
376,
24590,
286,
657,
30,
46506,
35683,
7,
79,
12664,
82,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
1398,
796,
366,
9031,
535,
1,
5357,
277,
62,
75,
1686,
... |
what is the frequency of visits to elmanana.com.mx | SELECT "Frequency" FROM table_39707 WHERE "Website" = 'elmanana.com.mx' | [
10919,
318,
262,
8373,
286,
11864,
284,
1288,
805,
2271,
13,
785,
13,
36802,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
2670,
24038,
33411,
366,
33420,
1,
796,
705,
32370,
2271,
13,
785,
13,
36802,
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,
318,
262,
8373,
286,
11864,
284,
1288,
805,
2271,
13,
785,
13,
36802,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
2670,
24038,
33411,
366,
33420,
1,
796,
705,
32370,
2271,
13,
785,
13,
36802,
6
] |
Who was the Alabama player associated with Walt Harris? | SELECT "Alabama" FROM table_80221 WHERE "Mississippi St." = 'walt harris' | [
8241,
373,
262,
9266,
2137,
3917,
351,
18935,
10026,
30,
46506,
366,
49177,
1,
16034,
3084,
62,
1795,
26115,
33411,
366,
17140,
747,
12715,
520,
526,
796,
705,
86,
2501,
3971,
2442,
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,
373,
262,
9266,
2137,
3917,
351,
18935,
10026,
30,
46506,
366,
49177,
1,
16034,
3084,
62,
1795,
26115,
33411,
366,
17140,
747,
12715,
520,
526,
796,
705,
86,
2501,
3971,
2442,
6
] |
Explain to me all the requirements of the CS-LSA degree . | SELECT DISTINCT program_requirement.additional_req, program_requirement.category, program_requirement.min_credit, program.name FROM program, program_requirement WHERE program.name LIKE '%CS-LSA%' AND program.program_id = program_requirement.program_id | [
18438,
391,
284,
502,
477,
262,
5359,
286,
262,
9429,
12,
43,
4090,
4922,
764,
46506,
360,
8808,
1268,
4177,
1430,
62,
8897,
24615,
13,
2860,
1859,
62,
42180,
11,
1430,
62,
8897,
24615,
13,
22872,
11,
1430,
62,
8897,
24615,
13,
1084... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18438,
391,
284,
502,
477,
262,
5359,
286,
262,
9429,
12,
43,
4090,
4922,
764,
46506,
360,
8808,
1268,
4177,
1430,
62,
8897,
24615,
13,
2860,
1859,
62,
42180,
11,
1430,
62,
8897,
24615,
13,
22872,
11,
1430,
62,
8897,
24615,
13,
1084... |
Name the result for 1980s | SELECT result FROM table_19508635_1 WHERE theme = "1980s" | [
5376,
262,
1255,
329,
7169,
82,
46506,
1255,
16034,
3084,
62,
42751,
4521,
2327,
62,
16,
33411,
7505,
796,
366,
23664,
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
] | [
5376,
262,
1255,
329,
7169,
82,
46506,
1255,
16034,
3084,
62,
42751,
4521,
2327,
62,
16,
33411,
7505,
796,
366,
23664,
82,
1
] |
What is the name of the cornerback from 1997? | SELECT "Player name" FROM table_54140 WHERE "Position" = 'cornerback' AND "Year" = '1997' | [
2061,
318,
262,
1438,
286,
262,
26683,
422,
8309,
30,
46506,
366,
14140,
1438,
1,
16034,
3084,
62,
4051,
15187,
33411,
366,
26545,
1,
796,
705,
10215,
1008,
1891,
6,
5357,
366,
17688,
1,
796,
705,
21498,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
26683,
422,
8309,
30,
46506,
366,
14140,
1438,
1,
16034,
3084,
62,
4051,
15187,
33411,
366,
26545,
1,
796,
705,
10215,
1008,
1891,
6,
5357,
366,
17688,
1,
796,
705,
21498,
6
] |
Find the employee id for all employees who earn more than the average salary. | SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees) | [
16742,
262,
6538,
4686,
329,
477,
4409,
508,
5160,
517,
621,
262,
2811,
9588,
13,
46506,
6538,
62,
312,
16034,
4409,
33411,
9588,
1875,
357,
46506,
35224,
7,
21680,
560,
8,
16034,
4409,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6538,
4686,
329,
477,
4409,
508,
5160,
517,
621,
262,
2811,
9588,
13,
46506,
6538,
62,
312,
16034,
4409,
33411,
9588,
1875,
357,
46506,
35224,
7,
21680,
560,
8,
16034,
4409,
8
] |
Return a bar chart on what are the ids and details of events that have more than one participants? | SELECT T1.Event_Details, T1.Event_ID FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_Details | [
13615,
257,
2318,
8262,
319,
644,
389,
262,
220,
2340,
290,
3307,
286,
2995,
326,
423,
517,
621,
530,
6809,
30,
46506,
309,
16,
13,
9237,
62,
24259,
11,
309,
16,
13,
9237,
62,
2389,
16034,
18715,
7054,
309,
16,
32357,
1268,
26122,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
2318,
8262,
319,
644,
389,
262,
220,
2340,
290,
3307,
286,
2995,
326,
423,
517,
621,
530,
6809,
30,
46506,
309,
16,
13,
9237,
62,
24259,
11,
309,
16,
13,
9237,
62,
2389,
16034,
18715,
7054,
309,
16,
32357,
1268,
26122,
... |
What is the smallest silver with a Gold of 1, and a Nation of lithuania? | SELECT MIN(silver) FROM table_name_7 WHERE gold = 1 AND nation = "lithuania" | [
2061,
318,
262,
18197,
8465,
351,
257,
3561,
286,
352,
11,
290,
257,
8741,
286,
24491,
29743,
30,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
3869,
796,
352,
5357,
3277,
796,
366,
75,
342,
29743,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18197,
8465,
351,
257,
3561,
286,
352,
11,
290,
257,
8741,
286,
24491,
29743,
30,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
3869,
796,
352,
5357,
3277,
796,
366,
75,
342,
29743,
1
] |
What was the result of the match on December 1, 1963? | SELECT "Result" FROM table_32929 WHERE "Date" = 'december 1, 1963' | [
2061,
373,
262,
1255,
286,
262,
2872,
319,
3426,
352,
11,
19342,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
37967,
1959,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
352,
11,
19342,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
2872,
319,
3426,
352,
11,
19342,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
37967,
1959,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
352,
11,
19342,
6
] |
Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000. | SELECT date_of_transaction FROM transactions WHERE share_count > 100 OR amount_of_transaction > 1000 | [
15307,
262,
9667,
286,
8945,
611,
262,
2648,
954,
318,
5749,
621,
1802,
393,
262,
2033,
318,
5749,
621,
8576,
13,
46506,
3128,
62,
1659,
62,
7645,
2673,
16034,
8945,
33411,
2648,
62,
9127,
1875,
1802,
6375,
2033,
62,
1659,
62,
7645,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9667,
286,
8945,
611,
262,
2648,
954,
318,
5749,
621,
1802,
393,
262,
2033,
318,
5749,
621,
8576,
13,
46506,
3128,
62,
1659,
62,
7645,
2673,
16034,
8945,
33411,
2648,
62,
9127,
1875,
1802,
6375,
2033,
62,
1659,
62,
7645,
... |
Give the score when high rebounds was zaza pachulia (8) | SELECT score FROM table_17311759_4 WHERE high_rebounds = "Zaza Pachulia (8)" | [
23318,
262,
4776,
618,
1029,
18841,
373,
1976,
7056,
279,
620,
43640,
357,
23,
8,
46506,
4776,
16034,
3084,
62,
25399,
1157,
38314,
62,
19,
33411,
1029,
62,
34806,
3733,
796,
366,
57,
7056,
350,
620,
43640,
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,
1,
1
] | [
23318,
262,
4776,
618,
1029,
18841,
373,
1976,
7056,
279,
620,
43640,
357,
23,
8,
46506,
4776,
16034,
3084,
62,
25399,
1157,
38314,
62,
19,
33411,
1029,
62,
34806,
3733,
796,
366,
57,
7056,
350,
620,
43640,
357,
23,
16725
] |
Name the total with finish of t22 | SELECT total FROM table_name_24 WHERE finish = "t22" | [
5376,
262,
2472,
351,
5461,
286,
256,
1828,
46506,
2472,
16034,
3084,
62,
3672,
62,
1731,
33411,
5461,
796,
366,
83,
1828,
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,
2472,
351,
5461,
286,
256,
1828,
46506,
2472,
16034,
3084,
62,
3672,
62,
1731,
33411,
5461,
796,
366,
83,
1828,
1
] |
what is discharge location and procedure icd9 code of subject id 65759? | SELECT demographic.discharge_location, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "65759" | [
10919,
318,
17655,
4067,
290,
8771,
14158,
67,
24,
2438,
286,
2426,
4686,
6135,
38314,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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
] | [
10919,
318,
17655,
4067,
290,
8771,
14158,
67,
24,
2438,
286,
2426,
4686,
6135,
38314,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
1... |
What is the title of season 2? | SELECT title FROM table_2409041_6 WHERE no_in_season = 2 | [
2061,
318,
262,
3670,
286,
1622,
362,
30,
46506,
3670,
16034,
3084,
62,
1731,
2931,
50049,
62,
21,
33411,
645,
62,
259,
62,
6230,
796,
362
] | [
1,
1,
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,
3670,
286,
1622,
362,
30,
46506,
3670,
16034,
3084,
62,
1731,
2931,
50049,
62,
21,
33411,
645,
62,
259,
62,
6230,
796,
362
] |
Which Body Length/mm has a Lead Pitch/mm smaller than 0.5? | SELECT AVG("Body Length/mm") FROM table_65819 WHERE "Lead Pitch/mm" < '0.5' | [
13828,
12290,
22313,
14,
3020,
468,
257,
20116,
33517,
14,
3020,
4833,
621,
657,
13,
20,
30,
46506,
35224,
7203,
25842,
22313,
14,
3020,
4943,
16034,
3084,
62,
38431,
1129,
33411,
366,
20451,
33517,
14,
3020,
1,
1279,
705,
15,
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,
1,
1,
1,
1,
1
] | [
13828,
12290,
22313,
14,
3020,
468,
257,
20116,
33517,
14,
3020,
4833,
621,
657,
13,
20,
30,
46506,
35224,
7203,
25842,
22313,
14,
3020,
4943,
16034,
3084,
62,
38431,
1129,
33411,
366,
20451,
33517,
14,
3020,
1,
1279,
705,
15,
13,
20,... |
Find the file format that is used by the most files. | SELECT formats FROM files GROUP BY formats ORDER BY COUNT(*) DESC LIMIT 1 | [
16742,
262,
2393,
5794,
326,
318,
973,
416,
262,
749,
3696,
13,
46506,
17519,
16034,
3696,
44441,
11050,
17519,
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
] | [
16742,
262,
2393,
5794,
326,
318,
973,
416,
262,
749,
3696,
13,
46506,
17519,
16034,
3696,
44441,
11050,
17519,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
When there was a draw, what was the time? | SELECT "Time" FROM table_32025 WHERE "Res." = 'draw' | [
2215,
612,
373,
257,
3197,
11,
644,
373,
262,
640,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
19504,
1495,
33411,
366,
4965,
526,
796,
705,
19334,
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
] | [
2215,
612,
373,
257,
3197,
11,
644,
373,
262,
640,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
19504,
1495,
33411,
366,
4965,
526,
796,
705,
19334,
6
] |
The Milford School has what Division Record? | SELECT division_record FROM table_name_79 WHERE school = "milford" | [
464,
4460,
3841,
3961,
468,
644,
7458,
13266,
30,
46506,
7297,
62,
22105,
16034,
3084,
62,
3672,
62,
3720,
33411,
1524,
796,
366,
25433,
3841,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
4460,
3841,
3961,
468,
644,
7458,
13266,
30,
46506,
7297,
62,
22105,
16034,
3084,
62,
3672,
62,
3720,
33411,
1524,
796,
366,
25433,
3841,
1
] |
What candidate was re-elected and was first elected in 1942? | SELECT candidates FROM table_1342218_35 WHERE result = "Re-elected" AND first_elected = 1942 | [
2061,
4540,
373,
302,
12,
28604,
290,
373,
717,
7018,
287,
22458,
30,
46506,
5871,
16034,
3084,
62,
19880,
1828,
1507,
62,
2327,
33411,
1255,
796,
366,
3041,
12,
28604,
1,
5357,
717,
62,
28604,
796,
22458
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4540,
373,
302,
12,
28604,
290,
373,
717,
7018,
287,
22458,
30,
46506,
5871,
16034,
3084,
62,
19880,
1828,
1507,
62,
2327,
33411,
1255,
796,
366,
3041,
12,
28604,
1,
5357,
717,
62,
28604,
796,
22458
] |
What is the name of the artist, for each language, that has the most songs with a higher resolution than 500? | SELECT artist_name FROM song WHERE resolution > 500 GROUP BY languages ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
6802,
11,
329,
1123,
3303,
11,
326,
468,
262,
749,
7259,
351,
257,
2440,
6323,
621,
5323,
30,
46506,
6802,
62,
3672,
16034,
3496,
33411,
6323,
1875,
5323,
44441,
11050,
8950,
38678,
11050,
327,
28270,
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
] | [
2061,
318,
262,
1438,
286,
262,
6802,
11,
329,
1123,
3303,
11,
326,
468,
262,
749,
7259,
351,
257,
2440,
6323,
621,
5323,
30,
46506,
6802,
62,
3672,
16034,
3496,
33411,
6323,
1875,
5323,
44441,
11050,
8950,
38678,
11050,
327,
28270,
7... |
provide the procedure long title and icu stay id of subject id 74032. | SELECT procedures.long_title, prescriptions.icustay_id FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "74032" | [
15234,
485,
262,
8771,
890,
3670,
290,
14158,
84,
2652,
4686,
286,
2426,
4686,
767,
1821,
2624,
13,
46506,
9021,
13,
6511,
62,
7839,
11,
34092,
13,
291,
436,
323,
62,
312,
16034,
9021,
3268,
21479,
32357,
1268,
34092,
6177,
9021,
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... | [
15234,
485,
262,
8771,
890,
3670,
290,
14158,
84,
2652,
4686,
286,
2426,
4686,
767,
1821,
2624,
13,
46506,
9021,
13,
6511,
62,
7839,
11,
34092,
13,
291,
436,
323,
62,
312,
16034,
9021,
3268,
21479,
32357,
1268,
34092,
6177,
9021,
13,
... |
Can you tell me the total number of Laps that has the Team of wps racing? | SELECT COUNT(laps) FROM table_name_94 WHERE team = "wps racing" | [
6090,
345,
1560,
502,
262,
2472,
1271,
286,
406,
1686,
326,
468,
262,
4816,
286,
266,
862,
11717,
30,
46506,
327,
28270,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
1074,
796,
366,
86,
862,
11717,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
2472,
1271,
286,
406,
1686,
326,
468,
262,
4816,
286,
266,
862,
11717,
30,
46506,
327,
28270,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
1074,
796,
366,
86,
862,
11717,
1
] |
What classifications does Fish Rap live! has? | SELECT "Classification" FROM table_25236 WHERE "Title" = 'Fish Rap Live!' | [
2061,
1398,
6637,
857,
13388,
12281,
2107,
0,
468,
30,
46506,
366,
9487,
2649,
1,
16034,
3084,
62,
1495,
24940,
33411,
366,
19160,
1,
796,
705,
39428,
12281,
7547,
13679
] | [
1,
1,
1,
1,
1,
1,
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,
1398,
6637,
857,
13388,
12281,
2107,
0,
468,
30,
46506,
366,
9487,
2649,
1,
16034,
3084,
62,
1495,
24940,
33411,
366,
19160,
1,
796,
705,
39428,
12281,
7547,
13679
] |
what is the record when the opponent is jeff williams? | SELECT record FROM table_name_37 WHERE opponent = "jeff williams" | [
10919,
318,
262,
1700,
618,
262,
6125,
318,
11223,
487,
481,
1789,
82,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2718,
33411,
6125,
796,
366,
73,
14822,
481,
1789,
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
] | [
10919,
318,
262,
1700,
618,
262,
6125,
318,
11223,
487,
481,
1789,
82,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2718,
33411,
6125,
796,
366,
73,
14822,
481,
1789,
82,
1
] |
what is gender and admission time of subject id 5027? | SELECT demographic.gender, demographic.admittime FROM demographic WHERE demographic.subject_id = "5027" | [
10919,
318,
5279,
290,
13938,
640,
286,
2426,
4686,
2026,
1983,
30,
46506,
16728,
13,
8388,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1120,
1983,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5279,
290,
13938,
640,
286,
2426,
4686,
2026,
1983,
30,
46506,
16728,
13,
8388,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1120,
1983,
1
] |
WHo has a Position of end and a School/Club Team of oregon state? | SELECT player FROM table_name_22 WHERE position = "end" AND school_club_team = "oregon state" | [
12418,
78,
468,
257,
23158,
286,
886,
290,
257,
3961,
14,
42350,
4816,
286,
267,
8285,
1181,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1828,
33411,
2292,
796,
366,
437,
1,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
382,
14520,
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
] | [
12418,
78,
468,
257,
23158,
286,
886,
290,
257,
3961,
14,
42350,
4816,
286,
267,
8285,
1181,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1828,
33411,
2292,
796,
366,
437,
1,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
382,
14520,
11... |
630 flight on 8 27 from ATLANTA to DALLAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 27 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time... | [
30005,
5474,
319,
807,
2681,
422,
5161,
25697,
5603,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
30005,
5474,
319,
807,
2681,
422,
5161,
25697,
5603,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... |
Who was the radio 1 presenter for the broadcast that had 9.73 million viewers? | SELECT radio_1_presenter FROM table_24212608_1 WHERE viewers__millions_ = "9.73" | [
8241,
373,
262,
5243,
352,
39597,
329,
262,
7025,
326,
550,
860,
13,
4790,
1510,
10209,
30,
46506,
5243,
62,
16,
62,
25579,
263,
16034,
3084,
62,
1731,
21777,
28688,
62,
16,
33411,
10209,
834,
17805,
507,
62,
796,
366,
24,
13,
4790,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5243,
352,
39597,
329,
262,
7025,
326,
550,
860,
13,
4790,
1510,
10209,
30,
46506,
5243,
62,
16,
62,
25579,
263,
16034,
3084,
62,
1731,
21777,
28688,
62,
16,
33411,
10209,
834,
17805,
507,
62,
796,
366,
24,
13,
4790,... |
What is the name of the claim processing stage that most of the claims are on? | SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id = t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
1624,
7587,
3800,
326,
749,
286,
262,
3667,
389,
319,
30,
46506,
256,
17,
13,
6604,
62,
13376,
62,
3672,
16034,
3667,
62,
36948,
7054,
256,
16,
32357,
1268,
3667,
62,
36948,
62,
301,
1095,
7054,
256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1438,
286,
262,
1624,
7587,
3800,
326,
749,
286,
262,
3667,
389,
319,
30,
46506,
256,
17,
13,
6604,
62,
13376,
62,
3672,
16034,
3667,
62,
36948,
7054,
256,
16,
32357,
1268,
3667,
62,
36948,
62,
301,
1095,
7054,
256,
... |
Most common display names. | SELECT DisplayName, COUNT(DisplayName) AS N FROM Users GROUP BY DisplayName ORDER BY N DESC LIMIT 100 | [
6943,
2219,
3359,
3891,
13,
46506,
16531,
5376,
11,
327,
28270,
7,
23114,
5376,
8,
7054,
399,
16034,
18987,
44441,
11050,
16531,
5376,
38678,
11050,
399,
22196,
34,
27564,
2043,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6943,
2219,
3359,
3891,
13,
46506,
16531,
5376,
11,
327,
28270,
7,
23114,
5376,
8,
7054,
399,
16034,
18987,
44441,
11050,
16531,
5376,
38678,
11050,
399,
22196,
34,
27564,
2043,
1802
] |
Which nation had a time of 48.38? | SELECT nation FROM table_name_9 WHERE time__sec_ = 48.38 | [
13828,
3277,
550,
257,
640,
286,
4764,
13,
2548,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
24,
33411,
640,
834,
2363,
62,
796,
4764,
13,
2548
] | [
1,
1,
1,
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,
3277,
550,
257,
640,
286,
4764,
13,
2548,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
24,
33411,
640,
834,
2363,
62,
796,
4764,
13,
2548
] |
Select all posts from a single tag. | SELECT CreationDate, t.TagName FROM Posts AS p JOIN PostTags AS pt ON p.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id WHERE t.TagName = 'numpy' | [
17563,
477,
6851,
422,
257,
2060,
7621,
13,
46506,
21582,
10430,
11,
256,
13,
24835,
5376,
16034,
12043,
7054,
279,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
32357,
1268,
44789,
7054,
256,
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
] | [
17563,
477,
6851,
422,
257,
2060,
7621,
13,
46506,
21582,
10430,
11,
256,
13,
24835,
5376,
16034,
12043,
7054,
279,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
32357,
1268,
44789,
7054,
256,
6... |
What is the highest number of matches? | SELECT MAX(matches) FROM table_16570286_2 | [
2061,
318,
262,
4511,
1271,
286,
7466,
30,
46506,
25882,
7,
6759,
2052,
8,
16034,
3084,
62,
20986,
2154,
27033,
62,
17
] | [
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,
1271,
286,
7466,
30,
46506,
25882,
7,
6759,
2052,
8,
16034,
3084,
62,
20986,
2154,
27033,
62,
17
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of first_name and employee_id in a bar chart, and sort by the total number in desc. | SELECT FIRST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMPLOYEE_ID DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
717,
62,
3672,
290,
6538,
62,
312,
287,
257,
2318,
8262,
11,
290,
3297,
416,
262,
2472,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
717,
62,
3672,
290,
6538,
62,
312,
287,
257,
2318,
8262,
11,
290,
3297,
416,
262,
2472,
127... |
What network is working in 2014? | SELECT network FROM table_name_19 WHERE year = 2014 | [
2061,
3127,
318,
1762,
287,
1946,
30,
46506,
3127,
16034,
3084,
62,
3672,
62,
1129,
33411,
614,
796,
1946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3127,
318,
1762,
287,
1946,
30,
46506,
3127,
16034,
3084,
62,
3672,
62,
1129,
33411,
614,
796,
1946
] |
What date was the location attendance at&t center 18,797, and a game earlier than 57? | SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 57 | [
2061,
3128,
373,
262,
4067,
14858,
379,
5,
83,
3641,
1248,
11,
44673,
11,
290,
257,
983,
2961,
621,
7632,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
4067,
62,
1078,
437,
590,
796,
366,
265,
5,
83,
3641,
1248,
11,
446... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
373,
262,
4067,
14858,
379,
5,
83,
3641,
1248,
11,
44673,
11,
290,
257,
983,
2961,
621,
7632,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
4067,
62,
1078,
437,
590,
796,
366,
265,
5,
83,
3641,
1248,
11,
446... |
What is the Set 1 with a Score with 3 2? | SELECT "Set 1" FROM table_52872 WHERE "Score" = '3–2' | [
2061,
318,
262,
5345,
352,
351,
257,
15178,
351,
513,
362,
30,
46506,
366,
7248,
352,
1,
16034,
3084,
62,
49351,
4761,
33411,
366,
26595,
1,
796,
705,
18,
1906,
17,
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,
5345,
352,
351,
257,
15178,
351,
513,
362,
30,
46506,
366,
7248,
352,
1,
16034,
3084,
62,
49351,
4761,
33411,
366,
26595,
1,
796,
705,
18,
1906,
17,
6
] |
What is the party of Richard Simpson? | SELECT "Party" FROM table_68224 WHERE "Name" = 'richard simpson' | [
2061,
318,
262,
2151,
286,
6219,
20531,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
3104,
24137,
33411,
366,
5376,
1,
796,
705,
7527,
446,
985,
8430,
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,
2151,
286,
6219,
20531,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
3104,
24137,
33411,
366,
5376,
1,
796,
705,
7527,
446,
985,
8430,
6
] |
what is the number of patients whose insurance is private and admission location is emergency room admit? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.admission_location = "EMERGENCY ROOM ADMIT" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
13938,
4067,
318,
6334,
2119,
9159,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
2906... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
318,
2839,
290,
13938,
4067,
318,
6334,
2119,
9159,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
2906... |
What is the total score received by the couple that danced to ' ymca ' village people? | SELECT MAX("Total") FROM table_30672 WHERE "Music" = ' YMCA "— Village People' | [
2061,
318,
262,
2472,
4776,
2722,
416,
262,
3155,
326,
39480,
284,
705,
331,
76,
6888,
705,
7404,
661,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
1270,
43864,
33411,
366,
22648,
1,
796,
705,
575,
44,
8141,
366,
960,
14812,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
2722,
416,
262,
3155,
326,
39480,
284,
705,
331,
76,
6888,
705,
7404,
661,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
1270,
43864,
33411,
366,
22648,
1,
796,
705,
575,
44,
8141,
366,
960,
14812,
... |
What themed area opened in 2010 as an animal show? | SELECT "Themed area" FROM table_49274 WHERE "Type" = 'animal show' AND "Opened" = '2010' | [
2061,
31892,
1989,
4721,
287,
3050,
355,
281,
5044,
905,
30,
46506,
366,
464,
1150,
1989,
1,
16034,
3084,
62,
2920,
28857,
33411,
366,
6030,
1,
796,
705,
41607,
905,
6,
5357,
366,
18257,
2945,
1,
796,
705,
10333,
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,
31892,
1989,
4721,
287,
3050,
355,
281,
5044,
905,
30,
46506,
366,
464,
1150,
1989,
1,
16034,
3084,
62,
2920,
28857,
33411,
366,
6030,
1,
796,
705,
41607,
905,
6,
5357,
366,
18257,
2945,
1,
796,
705,
10333,
6
] |
Which round status is in with this song: - ? | SELECT "Round" FROM table_68910 WHERE "Status" = 'in' AND "Song" = '叶良俊 - 爱你不是爱给别人看' | [
13828,
2835,
3722,
318,
287,
351,
428,
3496,
25,
532,
5633,
46506,
366,
22685,
1,
16034,
3084,
62,
40523,
940,
33411,
366,
19580,
1,
796,
705,
259,
6,
5357,
366,
44241,
1,
796,
705,
20998,
114,
164,
231,
107,
46479,
232,
532,
13328,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
3722,
318,
287,
351,
428,
3496,
25,
532,
5633,
46506,
366,
22685,
1,
16034,
3084,
62,
40523,
940,
33411,
366,
19580,
1,
796,
705,
259,
6,
5357,
366,
44241,
1,
796,
705,
20998,
114,
164,
231,
107,
46479,
232,
532,
13328,... |
What was the crowd when the VFL played Windy Hill? | SELECT SUM(crowd) FROM table_name_49 WHERE venue = "windy hill" | [
2061,
373,
262,
4315,
618,
262,
569,
3697,
2826,
3086,
88,
3327,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4315,
618,
262,
569,
3697,
2826,
3086,
88,
3327,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] |
In what competition was the score reported as 12.8 (80) - 8.7 (55)? | SELECT competition FROM table_name_30 WHERE score = "12.8 (80) - 8.7 (55)" | [
818,
644,
5449,
373,
262,
4776,
2098,
355,
1105,
13,
23,
357,
1795,
8,
532,
807,
13,
22,
357,
2816,
19427,
46506,
5449,
16034,
3084,
62,
3672,
62,
1270,
33411,
4776,
796,
366,
1065,
13,
23,
357,
1795,
8,
532,
807,
13,
22,
357,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
5449,
373,
262,
4776,
2098,
355,
1105,
13,
23,
357,
1795,
8,
532,
807,
13,
22,
357,
2816,
19427,
46506,
5449,
16034,
3084,
62,
3672,
62,
1270,
33411,
4776,
796,
366,
1065,
13,
23,
357,
1795,
8,
532,
807,
13,
22,
357,
2... |
What is the nationality of the guard/forward who began playing in 1977? | SELECT "Nationality" FROM table_33640 WHERE "Position" = 'guard/forward' AND "From" = '1977' | [
2061,
318,
262,
29835,
286,
262,
4860,
14,
11813,
508,
2540,
2712,
287,
15589,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
29211,
1821,
33411,
366,
26545,
1,
796,
705,
14864,
14,
11813,
6,
5357,
366,
4863,
1,
796,
705,
37781,
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,
29835,
286,
262,
4860,
14,
11813,
508,
2540,
2712,
287,
15589,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
29211,
1821,
33411,
366,
26545,
1,
796,
705,
14864,
14,
11813,
6,
5357,
366,
4863,
1,
796,
705,
37781,
6
... |
patients greater than 18 years of age who present to the emergency department with the diagnosis of severe sepsis / septic shock. | SELECT * FROM table_train_21 WHERE age > 18 AND (severe_sepsis = 1 OR septic_shock = 1) | [
8071,
2334,
3744,
621,
1248,
812,
286,
2479,
508,
1944,
284,
262,
6334,
5011,
351,
262,
13669,
286,
6049,
384,
862,
271,
1220,
384,
17459,
6380,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
2481,
33411,
2479,
1875,
1248,
5357,
357,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8071,
2334,
3744,
621,
1248,
812,
286,
2479,
508,
1944,
284,
262,
6334,
5011,
351,
262,
13669,
286,
6049,
384,
862,
271,
1220,
384,
17459,
6380,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
2481,
33411,
2479,
1875,
1248,
5357,
357,
43... |
What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released? | SELECT release_date FROM table_name_37 WHERE director = "friz freleng" AND production_number > 1496 AND series = "mm" AND title = "apes of wrath" | [
2061,
3128,
373,
5949,
274,
286,
28258,
3194,
416,
19480,
89,
376,
2411,
1516,
11,
3227,
1271,
2440,
621,
1478,
4846,
422,
2168,
8085,
2716,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
2718,
33411,
3437,
796,
366,
69,
47847,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
3128,
373,
5949,
274,
286,
28258,
3194,
416,
19480,
89,
376,
2411,
1516,
11,
3227,
1271,
2440,
621,
1478,
4846,
422,
2168,
8085,
2716,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
2718,
33411,
3437,
796,
366,
69,
47847,... |
Questions with best score created within 3 month range. | SELECT Q.Id AS "post_link", Users.Id AS "user_link", Q.CreationDate, Q.Score AS "question_score", MAX(A.Score) AS "max_answer_score", Q.ViewCount AS Views, Q.FavoriteCount AS Favorited FROM Posts AS Q INNER JOIN Users ON Q.OwnerUserId = Users.Id LEFT JOIN Posts AS A ON A.ParentId = Q.Id WHERE Q.ClosedDate IS NULL AND Q... | [
35741,
351,
1266,
4776,
2727,
1626,
513,
1227,
2837,
13,
46506,
1195,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
1195,
13,
12443,
341,
10430,
11,
1195,
13,
26595,
7054,
366,
25652,
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... | [
35741,
351,
1266,
4776,
2727,
1626,
513,
1227,
2837,
13,
46506,
1195,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
1195,
13,
12443,
341,
10430,
11,
1195,
13,
26595,
7054,
366,
25652,
62,... |
papers coauthored by X Jiang and Frantzen | SELECT DISTINCT WRITES_0.paperid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'X Jiang' AND AUTHOR_1.authorname = 'Frantzen' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid | [
40491,
763,
39351,
416,
1395,
32294,
290,
1305,
415,
4801,
46506,
360,
8808,
1268,
4177,
11342,
2043,
1546,
62,
15,
13,
20189,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
6797,
7054,
11342,
2043,
1546,
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... | [
40491,
763,
39351,
416,
1395,
32294,
290,
1305,
415,
4801,
46506,
360,
8808,
1268,
4177,
11342,
2043,
1546,
62,
15,
13,
20189,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
6797,
7054,
11342,
2043,
1546,
62... |
WHo is the Visitor on april 14? | SELECT "Visitor" FROM table_36125 WHERE "Date" = 'april 14' | [
12418,
78,
318,
262,
6911,
2072,
319,
46593,
346,
1478,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2623,
11623,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1478,
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
] | [
12418,
78,
318,
262,
6911,
2072,
319,
46593,
346,
1478,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2623,
11623,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1478,
6
] |
What is Time, when Year is greater than 2011, and when Event is '800 Freestyle Relay'? | SELECT time FROM table_name_98 WHERE year > 2011 AND event = "800 freestyle relay" | [
2061,
318,
3862,
11,
618,
6280,
318,
3744,
621,
2813,
11,
290,
618,
8558,
318,
705,
7410,
4848,
10992,
4718,
323,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
4089,
33411,
614,
1875,
2813,
5357,
1785,
796,
366,
7410,
2030,
10992,
242... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3862,
11,
618,
6280,
318,
3744,
621,
2813,
11,
290,
618,
8558,
318,
705,
7410,
4848,
10992,
4718,
323,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
4089,
33411,
614,
1875,
2813,
5357,
1785,
796,
366,
7410,
2030,
10992,
242... |
Which Away has a Competition of uefa cup, and an Opponent of anderlecht? | SELECT away FROM table_name_93 WHERE competition = "uefa cup" AND opponent = "anderlecht" | [
13828,
21986,
468,
257,
27348,
286,
334,
891,
64,
6508,
11,
290,
281,
9385,
3471,
286,
290,
263,
293,
21474,
30,
46506,
1497,
16034,
3084,
62,
3672,
62,
6052,
33411,
5449,
796,
366,
518,
13331,
6508,
1,
5357,
6125,
796,
366,
4066,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
21986,
468,
257,
27348,
286,
334,
891,
64,
6508,
11,
290,
281,
9385,
3471,
286,
290,
263,
293,
21474,
30,
46506,
1497,
16034,
3084,
62,
3672,
62,
6052,
33411,
5449,
796,
366,
518,
13331,
6508,
1,
5357,
6125,
796,
366,
4066,
2... |
calculate the number of patients who had received the enteral feeds procedure two times since 4 years ago. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'enteral feeds' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-4 year')) GROUP BY pati... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
550,
2722,
262,
920,
1691,
21318,
8771,
734,
1661,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
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... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
550,
2722,
262,
920,
1691,
21318,
8771,
734,
1661,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
... |
Which currency has a central rate of 0.702804? | SELECT currency FROM table_name_12 WHERE central_rate = "0.702804" | [
13828,
7395,
468,
257,
4318,
2494,
286,
657,
13,
2154,
21033,
19,
30,
46506,
7395,
16034,
3084,
62,
3672,
62,
1065,
33411,
4318,
62,
4873,
796,
366,
15,
13,
2154,
21033,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7395,
468,
257,
4318,
2494,
286,
657,
13,
2154,
21033,
19,
30,
46506,
7395,
16034,
3084,
62,
3672,
62,
1065,
33411,
4318,
62,
4873,
796,
366,
15,
13,
2154,
21033,
19,
1
] |
What percentage of closed questions are reopened. | SELECT (SELECT COUNT(*) FROM PostHistory WHERE PostHistoryTypeId = 10) AS closed, (SELECT COUNT(*) FROM PostHistory WHERE PostHistoryTypeId = 11) AS reopened | [
2061,
5873,
286,
4838,
2683,
389,
37415,
13,
46506,
357,
46506,
327,
28270,
7,
28104,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
838,
8,
7054,
4838,
11,
357,
46506,
327,
28270,
7,
28104,
16034,
2947,
18122,
33411,
2947,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5873,
286,
4838,
2683,
389,
37415,
13,
46506,
357,
46506,
327,
28270,
7,
28104,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
838,
8,
7054,
4838,
11,
357,
46506,
327,
28270,
7,
28104,
16034,
2947,
18122,
33411,
2947,
18... |
On what flight day was U2 played? | SELECT flight_day FROM table_name_2 WHERE artist = "u2" | [
2202,
644,
5474,
1110,
373,
471,
17,
2826,
30,
46506,
5474,
62,
820,
16034,
3084,
62,
3672,
62,
17,
33411,
6802,
796,
366,
84,
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
] | [
2202,
644,
5474,
1110,
373,
471,
17,
2826,
30,
46506,
5474,
62,
820,
16034,
3084,
62,
3672,
62,
17,
33411,
6802,
796,
366,
84,
17,
1
] |
what was the last time in this month patient 40707 had the maximum anion gap. | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 40707) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'anion gap') AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURR... | [
10919,
373,
262,
938,
640,
287,
428,
1227,
5827,
2319,
24038,
550,
262,
5415,
281,
295,
7625,
13,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
938,
640,
287,
428,
1227,
5827,
2319,
24038,
550,
262,
5415,
281,
295,
7625,
13,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
... |
What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010? | SELECT "Board (cm)" FROM table_50305 WHERE "Start" = '1940' AND "Type" = 'theater' AND "Release" > '2010' | [
2061,
318,
262,
15225,
287,
48829,
286,
257,
13766,
3096,
508,
2067,
287,
16236,
11,
508,
373,
2716,
706,
3050,
30,
46506,
366,
29828,
357,
11215,
16725,
16034,
3084,
62,
1120,
22515,
33411,
366,
10434,
1,
796,
705,
1129,
1821,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15225,
287,
48829,
286,
257,
13766,
3096,
508,
2067,
287,
16236,
11,
508,
373,
2716,
706,
3050,
30,
46506,
366,
29828,
357,
11215,
16725,
16034,
3084,
62,
1120,
22515,
33411,
366,
10434,
1,
796,
705,
1129,
1821,
6,
535... |
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of job_id and the average of salary , and group by attribute job_id, show Y from high to low order. | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(SALARY) DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
905,
575,
422,
1029... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
905,
575,
422,
1029... |
What is every value for location attendance on date of November 18? | SELECT location_attendance FROM table_23248940_6 WHERE date = "November 18" | [
2061,
318,
790,
1988,
329,
4067,
14858,
319,
3128,
286,
3389,
1248,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
1954,
1731,
4531,
1821,
62,
21,
33411,
3128,
796,
366,
21159,
1248,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
1988,
329,
4067,
14858,
319,
3128,
286,
3389,
1248,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
1954,
1731,
4531,
1821,
62,
21,
33411,
3128,
796,
366,
21159,
1248,
1
] |
What is the att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0? | SELECT "Att-Cmp-Int" FROM table_35441 WHERE "Effic" < '117.88' AND "GP-GS" = '10-0' | [
2061,
318,
262,
708,
12,
48991,
12,
600,
351,
281,
4396,
4833,
621,
19048,
13,
3459,
290,
257,
27809,
12,
14542,
286,
838,
12,
15,
30,
46506,
366,
8086,
12,
34,
3149,
12,
5317,
1,
16034,
3084,
62,
2327,
39710,
33411,
366,
36,
2108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
708,
12,
48991,
12,
600,
351,
281,
4396,
4833,
621,
19048,
13,
3459,
290,
257,
27809,
12,
14542,
286,
838,
12,
15,
30,
46506,
366,
8086,
12,
34,
3149,
12,
5317,
1,
16034,
3084,
62,
2327,
39710,
33411,
366,
36,
2108... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.