instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what is the 2001 % for the status widowed or surviving partner? | SELECT "2001 %" FROM table_74101 WHERE "Status" = 'Widowed or surviving partner' | [
10919,
318,
262,
5878,
4064,
329,
262,
3722,
9214,
6972,
393,
16997,
5212,
30,
46506,
366,
14585,
4064,
1,
16034,
3084,
62,
22,
3901,
486,
33411,
366,
19580,
1,
796,
705,
54,
312,
6972,
393,
16997,
5212,
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
] | [
10919,
318,
262,
5878,
4064,
329,
262,
3722,
9214,
6972,
393,
16997,
5212,
30,
46506,
366,
14585,
4064,
1,
16034,
3084,
62,
22,
3901,
486,
33411,
366,
19580,
1,
796,
705,
54,
312,
6972,
393,
16997,
5212,
6
] |
What is saint-andr 's population? | SELECT "Population" FROM table_49285 WHERE "Official Name" = 'saint-andré' | [
2061,
318,
32292,
12,
46273,
705,
82,
3265,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
2920,
26279,
33411,
366,
28529,
6530,
1,
796,
705,
82,
2913,
12,
392,
29350,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
32292,
12,
46273,
705,
82,
3265,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
2920,
26279,
33411,
366,
28529,
6530,
1,
796,
705,
82,
2913,
12,
392,
29350,
6
] |
in 11/last year, when did patient 030-64961 get a first lab test? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-64961')) AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TI... | [
259,
1367,
14,
12957,
614,
11,
618,
750,
5827,
657,
1270,
12,
2414,
4846,
16,
651,
257,
717,
2248,
1332,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
1367,
14,
12957,
614,
11,
618,
750,
5827,
657,
1270,
12,
2414,
4846,
16,
651,
257,
717,
2248,
1332,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... |
What are the Other classes for the EECS major ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%EECS%' AND program_course.category LIKE '%Other%' AND program_course.course_id = course.course_id | [
2061,
389,
262,
3819,
6097,
329,
262,
412,
2943,
50,
1688,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
34178,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3819,
6097,
329,
262,
412,
2943,
50,
1688,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
34178,
705,... |
What is the title of the episode that featured Abbud Siddiqui? | SELECT title FROM table_29545336_2 WHERE featured_character_s_ = "Abbud Siddiqui" | [
2061,
318,
262,
3670,
286,
262,
4471,
326,
8096,
2275,
65,
463,
44487,
1557,
72,
30,
46506,
3670,
16034,
3084,
62,
25710,
2231,
29211,
62,
17,
33411,
8096,
62,
22769,
62,
82,
62,
796,
366,
4826,
65,
463,
44487,
1557,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
4471,
326,
8096,
2275,
65,
463,
44487,
1557,
72,
30,
46506,
3670,
16034,
3084,
62,
25710,
2231,
29211,
62,
17,
33411,
8096,
62,
22769,
62,
82,
62,
796,
366,
4826,
65,
463,
44487,
1557,
72,
1
] |
Which college is Jordan Phillips playing for? | SELECT "College" FROM table_78127 WHERE "Player" = 'jordan phillips' | [
13828,
4152,
318,
8078,
17630,
2712,
329,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
3695,
16799,
33411,
366,
14140,
1,
796,
705,
73,
7350,
872,
359,
2419,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4152,
318,
8078,
17630,
2712,
329,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
3695,
16799,
33411,
366,
14140,
1,
796,
705,
73,
7350,
872,
359,
2419,
6
] |
Which Rank has a Reaction of 0.198, and a Time smaller than 46.3? | SELECT MAX("Rank") FROM table_63824 WHERE "React" = '0.198' AND "Time" < '46.3' | [
13828,
10916,
468,
257,
39912,
286,
657,
13,
22337,
11,
290,
257,
3862,
4833,
621,
6337,
13,
18,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
21,
2548,
1731,
33411,
366,
3041,
529,
1,
796,
705,
15,
13,
22337,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10916,
468,
257,
39912,
286,
657,
13,
22337,
11,
290,
257,
3862,
4833,
621,
6337,
13,
18,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
21,
2548,
1731,
33411,
366,
3041,
529,
1,
796,
705,
15,
13,
22337,
6,
5357,
366,
... |
When the game was played at Domnarvsvallen who were the opponents? | SELECT "Opponents" FROM table_43714 WHERE "Venue" = 'domnarvsvallen' | [
2215,
262,
983,
373,
2826,
379,
9666,
23955,
14259,
85,
439,
268,
508,
547,
262,
7691,
30,
46506,
366,
27524,
3906,
1,
16034,
3084,
62,
43284,
1415,
33411,
366,
37522,
518,
1,
796,
705,
3438,
23955,
14259,
85,
439,
268,
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
] | [
2215,
262,
983,
373,
2826,
379,
9666,
23955,
14259,
85,
439,
268,
508,
547,
262,
7691,
30,
46506,
366,
27524,
3906,
1,
16034,
3084,
62,
43284,
1415,
33411,
366,
37522,
518,
1,
796,
705,
3438,
23955,
14259,
85,
439,
268,
6
] |
What are the names of the ships that are not from the United States? | SELECT name FROM ship WHERE nationality <> "United States" | [
2061,
389,
262,
3891,
286,
262,
7937,
326,
389,
407,
422,
262,
1578,
1829,
30,
46506,
1438,
16034,
4074,
33411,
29835,
1279,
29,
366,
17013,
1829,
1
] | [
1,
1,
1,
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,
7937,
326,
389,
407,
422,
262,
1578,
1829,
30,
46506,
1438,
16034,
4074,
33411,
29835,
1279,
29,
366,
17013,
1829,
1
] |
which was delivered earlier , uss lawrence or uss macdonough ? | SELECT "name(s)" FROM table_204_781 WHERE "name(s)" IN ('uss lawrence', 'uss macdonough') ORDER BY "delivered/\ncommissioned" LIMIT 1 | [
4758,
373,
6793,
2961,
837,
514,
82,
1099,
6784,
393,
514,
82,
8352,
9099,
619,
5633,
46506,
366,
3672,
7,
82,
16725,
16034,
3084,
62,
18638,
62,
49703,
33411,
366,
3672,
7,
82,
16725,
3268,
19203,
1046,
1099,
6784,
3256,
705,
1046,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
6793,
2961,
837,
514,
82,
1099,
6784,
393,
514,
82,
8352,
9099,
619,
5633,
46506,
366,
3672,
7,
82,
16725,
16034,
3084,
62,
18638,
62,
49703,
33411,
366,
3672,
7,
82,
16725,
3268,
19203,
1046,
1099,
6784,
3256,
705,
1046,
... |
Which game has a result of 113-106? | SELECT "Game" FROM table_49634 WHERE "Result" = '113-106' | [
13828,
983,
468,
257,
1255,
286,
17318,
12,
15801,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
37747,
2682,
33411,
366,
23004,
1,
796,
705,
16616,
12,
15801,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
983,
468,
257,
1255,
286,
17318,
12,
15801,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
37747,
2682,
33411,
366,
23004,
1,
796,
705,
16616,
12,
15801,
6
] |
What is the attendance with a 45 tie no.? | SELECT "Attendance" FROM table_8172 WHERE "Tie no" = '45' | [
2061,
318,
262,
14858,
351,
257,
4153,
9839,
645,
40791,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
23,
23628,
33411,
366,
51,
494,
645,
1,
796,
705,
2231,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14858,
351,
257,
4153,
9839,
645,
40791,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
23,
23628,
33411,
366,
51,
494,
645,
1,
796,
705,
2231,
6
] |
when patient 006-83902 has left the hospital the first time in 2102? | SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '006-83902' AND STRFTIME('%y', patient.hospitaldischargetime) = '2102' ORDER BY patient.hospitaldischargetime LIMIT 1 | [
12518,
5827,
3571,
21,
12,
23,
2670,
2999,
468,
1364,
262,
4436,
262,
717,
640,
287,
362,
15377,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
28041,
12,
23,
2670,
299... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
3571,
21,
12,
23,
2670,
2999,
468,
1364,
262,
4436,
262,
717,
640,
287,
362,
15377,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
28041,
12,
23,
2670,
299... |
max rep of a user. | SELECT COUNT(*) FROM Posts WHERE PostTypeId = 1 | [
9806,
1128,
286,
257,
2836,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9806,
1128,
286,
257,
2836,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352
] |
What is the highest week for the San Diego Chargers with an attendance that is less than 53,455? | SELECT MAX("Week") FROM table_13171 WHERE "Opponent" = 'san diego chargers' AND "Attendance" < '53,455' | [
2061,
318,
262,
4511,
1285,
329,
262,
2986,
9500,
23559,
351,
281,
14858,
326,
318,
1342,
621,
7192,
11,
30505,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
1485,
27192,
33411,
366,
27524,
3471,
1,
796,
705,
12807,
4656,
2188,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
329,
262,
2986,
9500,
23559,
351,
281,
14858,
326,
318,
1342,
621,
7192,
11,
30505,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
1485,
27192,
33411,
366,
27524,
3471,
1,
796,
705,
12807,
4656,
2188,
... |
count the number of current patients whose age is in their 40s. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.dischtime IS NULL AND admissions.age BETWEEN 40 AND 49 | [
9127,
262,
1271,
286,
1459,
3871,
3025,
2479,
318,
287,
511,
2319,
82,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
6381,
354,
2435,
3180,
15697,
5357,
25349,
13,
496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1459,
3871,
3025,
2479,
318,
287,
511,
2319,
82,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
6381,
354,
2435,
3180,
15697,
5357,
25349,
13,
496,
... |
had patient 24921 excreted any promote 2/3 strength on the first hospital visit? | SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24921 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND outputevents.itemid I... | [
18108,
5827,
34620,
2481,
2859,
1186,
276,
597,
7719,
362,
14,
18,
4202,
319,
262,
717,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
34620,
2481,
2859,
1186,
276,
597,
7719,
362,
14,
18,
4202,
319,
262,
717,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
32... |
What team did they play on april 6? | SELECT "Team" FROM table_29918 WHERE "Date" = 'April 6' | [
2061,
1074,
750,
484,
711,
319,
46593,
346,
718,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
22579,
1507,
33411,
366,
10430,
1,
796,
705,
16784,
718,
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,
1074,
750,
484,
711,
319,
46593,
346,
718,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
22579,
1507,
33411,
366,
10430,
1,
796,
705,
16784,
718,
6
] |
WHAT IS THE LOCATION ATTENDANCE FOR GAME 4? | SELECT "Location Attendance" FROM table_50618 WHERE "Game" = '4' | [
32971,
3180,
3336,
37347,
6234,
26195,
10619,
19240,
7473,
30517,
604,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
35638,
1507,
33411,
366,
8777,
1,
796,
705,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
37347,
6234,
26195,
10619,
19240,
7473,
30517,
604,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
35638,
1507,
33411,
366,
8777,
1,
796,
705,
19,
6
] |
what was the only race won by the jockey charles wood ? | SELECT "race name" FROM table_203_584 WHERE "date" = 'charles wood' | [
10919,
373,
262,
691,
3234,
1839,
416,
262,
474,
8337,
1149,
829,
4898,
5633,
46506,
366,
16740,
1438,
1,
16034,
3084,
62,
22416,
62,
46352,
33411,
366,
4475,
1,
796,
705,
10641,
829,
4898,
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,
373,
262,
691,
3234,
1839,
416,
262,
474,
8337,
1149,
829,
4898,
5633,
46506,
366,
16740,
1438,
1,
16034,
3084,
62,
22416,
62,
46352,
33411,
366,
4475,
1,
796,
705,
10641,
829,
4898,
6
] |
Who is the artist for the song title of ' ...and justice for all '? | SELECT "Artist" FROM table_26446 WHERE "Song title" = ' ...And Justice for All ' | [
8241,
318,
262,
6802,
329,
262,
3496,
3670,
286,
705,
2644,
392,
5316,
329,
477,
705,
30,
46506,
366,
43020,
1,
16034,
3084,
62,
2075,
27260,
33411,
366,
44241,
3670,
1,
796,
705,
2644,
1870,
4796,
329,
1439,
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
] | [
8241,
318,
262,
6802,
329,
262,
3496,
3670,
286,
705,
2644,
392,
5316,
329,
477,
705,
30,
46506,
366,
43020,
1,
16034,
3084,
62,
2075,
27260,
33411,
366,
44241,
3670,
1,
796,
705,
2644,
1870,
4796,
329,
1439,
705
] |
count the number of patients with lab test item id 51259 who had abnormal lab test status. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51259" AND lab.flag = "delta" | [
9127,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
22243,
3270,
508,
550,
18801,
2248,
1332,
3722,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
22243,
3270,
508,
550,
18801,
2248,
1332,
3722,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
which composer produced his title after 2001 ? | SELECT "composer" FROM table_204_969 WHERE "date" > 2001 | [
4758,
26777,
4635,
465,
3670,
706,
5878,
5633,
46506,
366,
785,
1930,
263,
1,
16034,
3084,
62,
18638,
62,
38819,
33411,
366,
4475,
1,
1875,
5878
] | [
1,
1,
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,
26777,
4635,
465,
3670,
706,
5878,
5633,
46506,
366,
785,
1930,
263,
1,
16034,
3084,
62,
18638,
62,
38819,
33411,
366,
4475,
1,
1875,
5878
] |
What was Jim Furyk's score? | SELECT score FROM table_name_23 WHERE player = "jim furyk" | [
2061,
373,
5395,
18427,
74,
338,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1954,
33411,
2137,
796,
366,
73,
320,
26206,
74,
1
] | [
1,
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,
5395,
18427,
74,
338,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1954,
33411,
2137,
796,
366,
73,
320,
26206,
74,
1
] |
What courses meet the ULCS requirement in Spring and Summer ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id... | [
2061,
10902,
1826,
262,
471,
29814,
9079,
287,
8225,
290,
10216,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
10902,
1826,
262,
471,
29814,
9079,
287,
8225,
290,
10216,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
3268,
21479,
32357,
1268,
... |
For those employees who did not have any job in the past, find job_id and the sum of salary , and group by attribute job_id, and visualize them by a bar chart. | SELECT JOB_ID, SUM(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1064,
1693,
62,
312,
290,
262,
2160,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
449,
9864,
62,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1064,
1693,
62,
312,
290,
262,
2160,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
449,
9864,
62,
23... |
Which Rec has Jerel Myers as the Player? | SELECT "Rec." FROM table_11249 WHERE "Player" = 'jerel myers' | [
13828,
3311,
468,
10272,
75,
25434,
355,
262,
7853,
30,
46506,
366,
6690,
526,
16034,
3084,
62,
14686,
2920,
33411,
366,
14140,
1,
796,
705,
73,
567,
75,
616,
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
] | [
13828,
3311,
468,
10272,
75,
25434,
355,
262,
7853,
30,
46506,
366,
6690,
526,
16034,
3084,
62,
14686,
2920,
33411,
366,
14140,
1,
796,
705,
73,
567,
75,
616,
364,
6
] |
What country is the player with a score of 72-72=144 from? | SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144 | [
2061,
1499,
318,
262,
2137,
351,
257,
4776,
286,
7724,
12,
4761,
28,
18444,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
5607,
33411,
4776,
796,
7724,
532,
7724,
796,
20224
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
318,
262,
2137,
351,
257,
4776,
286,
7724,
12,
4761,
28,
18444,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
5607,
33411,
4776,
796,
7724,
532,
7724,
796,
20224
] |
What is the lowest evening score of the contestant with an evening gown less than 8.938, from Texas, and with an average less than 8.846 has? | SELECT MIN("Interview") FROM table_78234 WHERE "Evening Gown" < '8.938' AND "State" = 'texas' AND "Average" < '8.846' | [
2061,
318,
262,
9016,
6180,
4776,
286,
262,
44047,
351,
281,
6180,
33323,
1342,
621,
807,
13,
24,
2548,
11,
422,
3936,
11,
290,
351,
281,
2811,
1342,
621,
807,
13,
23,
3510,
468,
30,
46506,
20625,
7203,
39945,
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... | [
2061,
318,
262,
9016,
6180,
4776,
286,
262,
44047,
351,
281,
6180,
33323,
1342,
621,
807,
13,
24,
2548,
11,
422,
3936,
11,
290,
351,
281,
2811,
1342,
621,
807,
13,
23,
3510,
468,
30,
46506,
20625,
7203,
39945,
4943,
16034,
3084,
62,... |
Which place has points larger than 1, a bmw machine, and a time of 1:18.47.6? | SELECT MIN("Place") FROM table_74789 WHERE "Points" > '1' AND "Machine" = 'bmw' AND "Time" = '1:18.47.6' | [
13828,
1295,
468,
2173,
4025,
621,
352,
11,
257,
275,
76,
86,
4572,
11,
290,
257,
640,
286,
352,
25,
1507,
13,
2857,
13,
21,
30,
46506,
20625,
7203,
27271,
4943,
16034,
3084,
62,
48882,
4531,
33411,
366,
40710,
1,
1875,
705,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
1295,
468,
2173,
4025,
621,
352,
11,
257,
275,
76,
86,
4572,
11,
290,
257,
640,
286,
352,
25,
1507,
13,
2857,
13,
21,
30,
46506,
20625,
7203,
27271,
4943,
16034,
3084,
62,
48882,
4531,
33411,
366,
40710,
1,
1875,
705,
16,
6... |
How many different jockeys ran on 17 Feb 2007? | SELECT COUNT("Jockey") FROM table_19753 WHERE "Date" = '17 Feb 2007' | [
2437,
867,
1180,
474,
420,
13083,
4966,
319,
1596,
3158,
4343,
30,
46506,
327,
28270,
7203,
41,
8337,
4943,
16034,
3084,
62,
38449,
18,
33411,
366,
10430,
1,
796,
705,
1558,
3158,
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
] | [
2437,
867,
1180,
474,
420,
13083,
4966,
319,
1596,
3158,
4343,
30,
46506,
327,
28270,
7203,
41,
8337,
4943,
16034,
3084,
62,
38449,
18,
33411,
366,
10430,
1,
796,
705,
1558,
3158,
4343,
6
] |
the 2001/2002 season and the 1999/2000 season both resulted in what place for this team ? | SELECT "place" FROM table_204_532 WHERE "season" = '2001/02' | [
1169,
5878,
14,
16942,
1622,
290,
262,
7358,
14,
11024,
1622,
1111,
8724,
287,
644,
1295,
329,
428,
1074,
5633,
46506,
366,
5372,
1,
16034,
3084,
62,
18638,
62,
20,
2624,
33411,
366,
6230,
1,
796,
705,
14585,
14,
2999,
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
] | [
1169,
5878,
14,
16942,
1622,
290,
262,
7358,
14,
11024,
1622,
1111,
8724,
287,
644,
1295,
329,
428,
1074,
5633,
46506,
366,
5372,
1,
16034,
3084,
62,
18638,
62,
20,
2624,
33411,
366,
6230,
1,
796,
705,
14585,
14,
2999,
6
] |
What is the To par of Willie MacFarlane from the country of Scotland? | SELECT "To par" FROM table_66784 WHERE "Country" = 'scotland' AND "Name" = 'willie macfarlane' | [
2061,
318,
262,
1675,
1582,
286,
28623,
4100,
37,
49344,
422,
262,
1499,
286,
8838,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2791,
37688,
33411,
366,
33921,
1,
796,
705,
1416,
313,
1044,
6,
5357,
366,
5376,
1,
796,
705,
10594... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
1582,
286,
28623,
4100,
37,
49344,
422,
262,
1499,
286,
8838,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2791,
37688,
33411,
366,
33921,
1,
796,
705,
1416,
313,
1044,
6,
5357,
366,
5376,
1,
796,
705,
10594... |
when did patient 6215 during their last hospital encounter have the maximum asparate aminotransferase (ast) for the last time? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6215 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = '... | [
12518,
750,
5827,
8190,
1314,
1141,
511,
938,
4436,
8791,
423,
262,
5415,
355,
1845,
378,
716,
259,
313,
26084,
2232,
589,
357,
459,
8,
329,
262,
938,
640,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
3153... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8190,
1314,
1141,
511,
938,
4436,
8791,
423,
262,
5415,
355,
1845,
378,
716,
259,
313,
26084,
2232,
589,
357,
459,
8,
329,
262,
938,
640,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
3153... |
Visualize a scatter chart on what is the total amount of grants given by each organisations? Also list the organisation id. | SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id | [
36259,
1096,
257,
41058,
8262,
319,
644,
318,
262,
2472,
2033,
286,
11455,
1813,
416,
1123,
16435,
30,
4418,
1351,
262,
12684,
4686,
13,
46506,
35683,
7,
2164,
415,
62,
17287,
828,
12684,
62,
312,
16034,
40535,
44441,
11050,
12684,
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
] | [
36259,
1096,
257,
41058,
8262,
319,
644,
318,
262,
2472,
2033,
286,
11455,
1813,
416,
1123,
16435,
30,
4418,
1351,
262,
12684,
4686,
13,
46506,
35683,
7,
2164,
415,
62,
17287,
828,
12684,
62,
312,
16034,
40535,
44441,
11050,
12684,
62,
... |
Artificial Intelligence - Users. | SELECT u.Id, u.Reputation, u.DisplayName, u.WebsiteUrl, u.Location, u.AboutMe, u.Views, u.ProfileImageUrl, u.EmailHash FROM Users AS u ORDER BY u.Reputation DESC | [
8001,
9542,
9345,
532,
18987,
13,
46506,
334,
13,
7390,
11,
334,
13,
6207,
7094,
11,
334,
13,
23114,
5376,
11,
334,
13,
33420,
28165,
11,
334,
13,
14749,
11,
334,
13,
8585,
5308,
11,
334,
13,
7680,
82,
11,
334,
13,
37046,
5159,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8001,
9542,
9345,
532,
18987,
13,
46506,
334,
13,
7390,
11,
334,
13,
6207,
7094,
11,
334,
13,
23114,
5376,
11,
334,
13,
33420,
28165,
11,
334,
13,
14749,
11,
334,
13,
8585,
5308,
11,
334,
13,
7680,
82,
11,
334,
13,
37046,
5159,
... |
What is the high grid with 27 laps? | SELECT MAX(grid) FROM table_name_89 WHERE laps = 27 | [
2061,
318,
262,
1029,
10706,
351,
2681,
24590,
30,
46506,
25882,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
24590,
796,
2681
] | [
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,
1029,
10706,
351,
2681,
24590,
30,
46506,
25882,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
24590,
796,
2681
] |
What is the date of death of the duchess born on 30 October 1797? | SELECT death FROM table_name_2 WHERE birth = "30 october 1797" | [
2061,
318,
262,
3128,
286,
1918,
286,
262,
288,
1229,
33979,
4642,
319,
1542,
3267,
1596,
5607,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
17,
33411,
4082,
796,
366,
1270,
19318,
2023,
1596,
5607,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
1918,
286,
262,
288,
1229,
33979,
4642,
319,
1542,
3267,
1596,
5607,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
17,
33411,
4082,
796,
366,
1270,
19318,
2023,
1596,
5607,
1
] |
Find the names of all procedures which cost more than 1000 but which physician John Wen was not trained in? | SELECT name FROM procedures WHERE cost > 1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen" | [
16742,
262,
3891,
286,
477,
9021,
543,
1575,
517,
621,
8576,
475,
543,
14325,
1757,
31164,
373,
407,
8776,
287,
30,
46506,
1438,
16034,
9021,
33411,
1575,
1875,
8576,
7788,
42006,
33493,
309,
18,
13,
3672,
16034,
14325,
7054,
309,
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... | [
16742,
262,
3891,
286,
477,
9021,
543,
1575,
517,
621,
8576,
475,
543,
14325,
1757,
31164,
373,
407,
8776,
287,
30,
46506,
1438,
16034,
9021,
33411,
1575,
1875,
8576,
7788,
42006,
33493,
309,
18,
13,
3672,
16034,
14325,
7054,
309,
16,
... |
When 3 - 1 hughes 64' is the score what is the stadium? | SELECT stadium FROM table_21377473_7 WHERE score = "3 - 1 Hughes 64'" | [
2215,
513,
532,
352,
16225,
956,
5598,
6,
318,
262,
4776,
644,
318,
262,
10308,
30,
46506,
10308,
16034,
3084,
62,
26427,
3324,
37804,
62,
22,
33411,
4776,
796,
366,
18,
532,
352,
19712,
5598,
29653
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
513,
532,
352,
16225,
956,
5598,
6,
318,
262,
4776,
644,
318,
262,
10308,
30,
46506,
10308,
16034,
3084,
62,
26427,
3324,
37804,
62,
22,
33411,
4776,
796,
366,
18,
532,
352,
19712,
5598,
29653
] |
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of job_id and the average of salary , and group by attribute job_id, I want to display X-axis from low to high order. | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
314,
765,
284,
3359,
1395,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
314,
765,
284,
3359,
1395,
12... |
What country is Greg Norman from? | SELECT country FROM table_name_28 WHERE player = "greg norman" | [
2061,
1499,
318,
8547,
19636,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2078,
33411,
2137,
796,
366,
9903,
2593,
272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
318,
8547,
19636,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2078,
33411,
2137,
796,
366,
9903,
2593,
272,
1
] |
Name the points won for 1230 | SELECT points AS won FROM table_23501776_16 WHERE points = 1230 | [
5376,
262,
2173,
1839,
329,
1105,
1270,
46506,
2173,
7054,
1839,
16034,
3084,
62,
22370,
486,
39509,
62,
1433,
33411,
2173,
796,
1105,
1270
] | [
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,
2173,
1839,
329,
1105,
1270,
46506,
2173,
7054,
1839,
16034,
3084,
62,
22370,
486,
39509,
62,
1433,
33411,
2173,
796,
1105,
1270
] |
What are the songs in volumes that have resulted in a nomination at music festivals? | SELECT T2.song FROM music_festival AS T1 JOIN volume AS T2 ON T1.volume = T2.volume_id WHERE T1.result = "Nominated" | [
2061,
389,
262,
7259,
287,
15343,
326,
423,
8724,
287,
257,
11872,
379,
2647,
25575,
30,
46506,
309,
17,
13,
34050,
16034,
2647,
62,
69,
6743,
7054,
309,
16,
32357,
1268,
6115,
7054,
309,
17,
6177,
309,
16,
13,
29048,
796,
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,
7259,
287,
15343,
326,
423,
8724,
287,
257,
11872,
379,
2647,
25575,
30,
46506,
309,
17,
13,
34050,
16034,
2647,
62,
69,
6743,
7054,
309,
16,
32357,
1268,
6115,
7054,
309,
17,
6177,
309,
16,
13,
29048,
796,
309,
17,
... |
When is the air date that demo-ed at 1.6/5? | SELECT air_date FROM table_name_48 WHERE demo = "1.6/5" | [
2215,
318,
262,
1633,
3128,
326,
13605,
12,
276,
379,
352,
13,
21,
14,
20,
30,
46506,
1633,
62,
4475,
16034,
3084,
62,
3672,
62,
2780,
33411,
13605,
796,
366,
16,
13,
21,
14,
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
] | [
2215,
318,
262,
1633,
3128,
326,
13605,
12,
276,
379,
352,
13,
21,
14,
20,
30,
46506,
1633,
62,
4475,
16034,
3084,
62,
3672,
62,
2780,
33411,
13605,
796,
366,
16,
13,
21,
14,
20,
1
] |
What is the number for evening gown in kansas with less than 9.357 interviews? | SELECT SUM("Evening Gown") FROM table_11619 WHERE "State" = 'kansas' AND "Interview" < '9.357' | [
2061,
318,
262,
1271,
329,
6180,
33323,
287,
479,
6618,
351,
1342,
621,
860,
13,
27277,
9299,
30,
46506,
35683,
7203,
6104,
278,
402,
593,
4943,
16034,
3084,
62,
18298,
1129,
33411,
366,
9012,
1,
796,
705,
74,
6618,
6,
5357,
366,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
6180,
33323,
287,
479,
6618,
351,
1342,
621,
860,
13,
27277,
9299,
30,
46506,
35683,
7203,
6104,
278,
402,
593,
4943,
16034,
3084,
62,
18298,
1129,
33411,
366,
9012,
1,
796,
705,
74,
6618,
6,
5357,
366,
39... |
What is the Country of the T8 Place Player with a Score of 70-67-71=208? | SELECT "Country" FROM table_13218 WHERE "Place" = 't8' AND "Score" = '70-67-71=208' | [
2061,
318,
262,
12946,
286,
262,
309,
23,
8474,
7853,
351,
257,
15178,
286,
4317,
12,
3134,
12,
4869,
28,
21315,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
19924,
1507,
33411,
366,
27271,
1,
796,
705,
83,
23,
6,
5357,
366,
26595,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12946,
286,
262,
309,
23,
8474,
7853,
351,
257,
15178,
286,
4317,
12,
3134,
12,
4869,
28,
21315,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
19924,
1507,
33411,
366,
27271,
1,
796,
705,
83,
23,
6,
5357,
366,
26595,
... |
What are the first names for all faculty professors, ordered by first name? | SELECT fname FROM faculty WHERE rank = "Professor" ORDER BY fname | [
2061,
389,
262,
717,
3891,
329,
477,
12829,
20339,
11,
6149,
416,
717,
1438,
30,
46506,
277,
3672,
16034,
12829,
33411,
4279,
796,
366,
25031,
1,
38678,
11050,
277,
3672
] | [
1,
1,
1,
1,
1,
1,
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,
717,
3891,
329,
477,
12829,
20339,
11,
6149,
416,
717,
1438,
30,
46506,
277,
3672,
16034,
12829,
33411,
4279,
796,
366,
25031,
1,
38678,
11050,
277,
3672
] |
which has the least number of people served , black jack or jefferson city ? | SELECT "city/county" FROM table_204_863 WHERE "city/county" IN ('black jack', 'jefferson city') ORDER BY "population served" LIMIT 1 | [
4758,
468,
262,
1551,
1271,
286,
661,
4983,
837,
2042,
14509,
393,
11223,
487,
882,
1748,
5633,
46506,
366,
19205,
14,
9127,
88,
1,
16034,
3084,
62,
18638,
62,
4521,
18,
33411,
366,
19205,
14,
9127,
88,
1,
3268,
19203,
13424,
14509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
262,
1551,
1271,
286,
661,
4983,
837,
2042,
14509,
393,
11223,
487,
882,
1748,
5633,
46506,
366,
19205,
14,
9127,
88,
1,
16034,
3084,
62,
18638,
62,
4521,
18,
33411,
366,
19205,
14,
9127,
88,
1,
3268,
19203,
13424,
14509,
... |
Name the position for the player that is from valparaiso | SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso" | [
5376,
262,
2292,
329,
262,
2137,
326,
318,
422,
1188,
1845,
15152,
78,
46506,
2292,
16034,
3084,
62,
3672,
62,
2075,
33411,
1524,
62,
18664,
62,
15097,
62,
19315,
796,
366,
2100,
1845,
15152,
78,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
329,
262,
2137,
326,
318,
422,
1188,
1845,
15152,
78,
46506,
2292,
16034,
3084,
62,
3672,
62,
2075,
33411,
1524,
62,
18664,
62,
15097,
62,
19315,
796,
366,
2100,
1845,
15152,
78,
1
] |
Which ICAO's IATA is ath? | SELECT icao FROM table_name_63 WHERE iata = "ath" | [
13828,
314,
8141,
46,
338,
314,
13563,
318,
5782,
30,
46506,
220,
3970,
78,
16034,
3084,
62,
3672,
62,
5066,
33411,
1312,
1045,
796,
366,
776,
1
] | [
1,
1,
1,
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,
314,
8141,
46,
338,
314,
13563,
318,
5782,
30,
46506,
220,
3970,
78,
16034,
3084,
62,
3672,
62,
5066,
33411,
1312,
1045,
796,
366,
776,
1
] |
Who is the team when the category is blocks per game? | SELECT team FROM table_28628309_8 WHERE category = "Blocks per game" | [
8241,
318,
262,
1074,
618,
262,
6536,
318,
7021,
583,
983,
30,
46506,
1074,
16034,
3084,
62,
27033,
2078,
26895,
62,
23,
33411,
6536,
796,
366,
45356,
583,
983,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
1074,
618,
262,
6536,
318,
7021,
583,
983,
30,
46506,
1074,
16034,
3084,
62,
27033,
2078,
26895,
62,
23,
33411,
6536,
796,
366,
45356,
583,
983,
1
] |
What Surface had a Rally HQ of salou? | SELECT surface FROM table_name_58 WHERE rally_hq = "salou" | [
2061,
20321,
550,
257,
27752,
25112,
286,
3664,
280,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3365,
33411,
7903,
62,
71,
80,
796,
366,
21680,
280,
1
] | [
1,
1,
1,
1,
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,
20321,
550,
257,
27752,
25112,
286,
3664,
280,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3365,
33411,
7903,
62,
71,
80,
796,
366,
21680,
280,
1
] |
Return a bar chart on how many gymnasts are from each hometown?, display by the x axis in descending. | SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY Hometown DESC | [
13615,
257,
2318,
8262,
319,
703,
867,
38581,
5773,
389,
422,
1123,
20994,
21747,
3359,
416,
262,
2124,
16488,
287,
31491,
13,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
2318,
8262,
319,
703,
867,
38581,
5773,
389,
422,
1123,
20994,
21747,
3359,
416,
262,
2124,
16488,
287,
31491,
13,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
... |
how many patients are admitted under phys referral/normal delivery and procedured with venous cath nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND procedures.short_title = "Venous cath NEC" | [
4919,
867,
3871,
389,
6848,
739,
2281,
31413,
14,
11265,
7585,
290,
5131,
1522,
351,
8710,
516,
32171,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
739,
2281,
31413,
14,
11265,
7585,
290,
5131,
1522,
351,
8710,
516,
32171,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
... |
What was the grid associated with under 26 laps and a Time/Retired of +6.077? | SELECT AVG("Grid") FROM table_52878 WHERE "Time/Retired" = '+6.077' AND "Laps" < '26' | [
2061,
373,
262,
10706,
3917,
351,
739,
2608,
24590,
290,
257,
3862,
14,
9781,
1202,
286,
1343,
21,
13,
2998,
22,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
49351,
3695,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
10706,
3917,
351,
739,
2608,
24590,
290,
257,
3862,
14,
9781,
1202,
286,
1343,
21,
13,
2998,
22,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
49351,
3695,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
2... |
What's the 123kg of the Total world record? | SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total" | [
2061,
338,
262,
17031,
10025,
286,
262,
7472,
995,
1700,
30,
46506,
17031,
7054,
14211,
16034,
3084,
62,
3672,
62,
3901,
33411,
995,
62,
22105,
796,
366,
23350,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
17031,
10025,
286,
262,
7472,
995,
1700,
30,
46506,
17031,
7054,
14211,
16034,
3084,
62,
3672,
62,
3901,
33411,
995,
62,
22105,
796,
366,
23350,
1
] |
Find the name of accounts whose checking balance is below the average checking balance. | SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT AVG(balance) FROM checking) | [
16742,
262,
1438,
286,
5504,
3025,
10627,
5236,
318,
2174,
262,
2811,
10627,
5236,
13,
46506,
309,
16,
13,
3672,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
17,
13,
66,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
286,
5504,
3025,
10627,
5236,
318,
2174,
262,
2811,
10627,
5236,
13,
46506,
309,
16,
13,
3672,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
17,
13,
66,
... |
What type is You from the state of Chen? | SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you" | [
2061,
2099,
318,
921,
422,
262,
1181,
286,
12555,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
6420,
33411,
1181,
796,
366,
6607,
1,
5357,
1438,
796,
366,
5832,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2099,
318,
921,
422,
262,
1181,
286,
12555,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
6420,
33411,
1181,
796,
366,
6607,
1,
5357,
1438,
796,
366,
5832,
1
] |
give me the number of patients whose gender is m and year of birth is less than 2103? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.dob_year < "2103" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
614,
286,
4082,
318,
1342,
621,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
614,
286,
4082,
318,
1342,
621,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
4... |
Who publishes in deep learning ? | SELECT DISTINCT author.authorname FROM author, keyphrase, paperkeyphrase, writes WHERE keyphrase.keyphrasename LIKE 'deep learning' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND writes.authorid = author.authorid AND writes.paperid = paperkeyphrase.paperid | [
8241,
34134,
287,
2769,
4673,
5633,
46506,
360,
8808,
1268,
4177,
1772,
13,
18439,
1211,
480,
16034,
1772,
11,
1994,
34675,
11,
3348,
2539,
34675,
11,
6797,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
34178,
705,
22089,
4673,
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,
1,
1,
1,
1,
1,
1... | [
8241,
34134,
287,
2769,
4673,
5633,
46506,
360,
8808,
1268,
4177,
1772,
13,
18439,
1211,
480,
16034,
1772,
11,
1994,
34675,
11,
3348,
2539,
34675,
11,
6797,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
34178,
705,
22089,
4673,
6,
535... |
What is the last name and office of the professor from the history department? | SELECT T1.emp_lname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T3.dept_name = 'History' | [
2061,
318,
262,
938,
1438,
290,
2607,
286,
262,
6240,
422,
262,
2106,
5011,
30,
46506,
309,
16,
13,
45787,
62,
75,
3672,
11,
309,
17,
13,
5577,
62,
31810,
16034,
6538,
7054,
309,
16,
32357,
1268,
6240,
7054,
309,
17,
6177,
309,
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... | [
2061,
318,
262,
938,
1438,
290,
2607,
286,
262,
6240,
422,
262,
2106,
5011,
30,
46506,
309,
16,
13,
45787,
62,
75,
3672,
11,
309,
17,
13,
5577,
62,
31810,
16034,
6538,
7054,
309,
16,
32357,
1268,
6240,
7054,
309,
17,
6177,
309,
16... |
What won best pc demo when tower power (camelot) won best c64 demo? | SELECT "PC demo" FROM table_27181 WHERE "C64 demo" = 'Tower Power (Camelot)' | [
2061,
1839,
1266,
40653,
13605,
618,
10580,
1176,
357,
66,
17983,
313,
8,
1839,
1266,
269,
2414,
13605,
30,
46506,
366,
5662,
13605,
1,
16034,
3084,
62,
1983,
27057,
33411,
366,
34,
2414,
13605,
1,
796,
705,
51,
789,
4333,
357,
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
] | [
2061,
1839,
1266,
40653,
13605,
618,
10580,
1176,
357,
66,
17983,
313,
8,
1839,
1266,
269,
2414,
13605,
30,
46506,
366,
5662,
13605,
1,
16034,
3084,
62,
1983,
27057,
33411,
366,
34,
2414,
13605,
1,
796,
705,
51,
789,
4333,
357,
34,
... |
WHich Facility ID has a Call sign of wnpr? | SELECT AVG("Facility ID") FROM table_36773 WHERE "Call sign" = 'wnpr' | [
12418,
488,
29118,
4522,
468,
257,
4889,
1051,
286,
266,
77,
1050,
30,
46506,
35224,
7203,
47522,
879,
4522,
4943,
16034,
3084,
62,
2623,
46871,
33411,
366,
14134,
1051,
1,
796,
705,
675,
1050,
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
] | [
12418,
488,
29118,
4522,
468,
257,
4889,
1051,
286,
266,
77,
1050,
30,
46506,
35224,
7203,
47522,
879,
4522,
4943,
16034,
3084,
62,
2623,
46871,
33411,
366,
14134,
1051,
1,
796,
705,
675,
1050,
6
] |
what is the name of the specimen test that patient 031-23605 first got? | SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605')) ORDER BY microlab.culturetakentime LIMIT 1 | [
10919,
318,
262,
1438,
286,
262,
31674,
1332,
326,
5827,
657,
3132,
12,
1954,
32417,
717,
1392,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
31674,
1332,
326,
5827,
657,
3132,
12,
1954,
32417,
717,
1392,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
1... |
What language is the Tematico content with a sky tv package, and Fox Crime television service? | SELECT "Language" FROM table_42863 WHERE "Content" = 'tematico' AND "Package/Option" = 'sky tv' AND "Television service" = 'fox crime' | [
2061,
3303,
318,
262,
5825,
1512,
78,
2695,
351,
257,
6766,
31557,
5301,
11,
290,
5426,
10003,
5581,
2139,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
40173,
5066,
33411,
366,
19746,
1,
796,
705,
11498,
1512,
78,
6,
5357,
366,
27813,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3303,
318,
262,
5825,
1512,
78,
2695,
351,
257,
6766,
31557,
5301,
11,
290,
5426,
10003,
5581,
2139,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
40173,
5066,
33411,
366,
19746,
1,
796,
705,
11498,
1512,
78,
6,
5357,
366,
27813,
... |
What are the number of different course codes? | SELECT COUNT(DISTINCT crs_code) FROM class | [
2061,
389,
262,
1271,
286,
1180,
1781,
12416,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1067,
82,
62,
8189,
8,
16034,
1398
] | [
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,
1271,
286,
1180,
1781,
12416,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1067,
82,
62,
8189,
8,
16034,
1398
] |
All questions tagged HTML and CSS (and nothing else). | SELECT Id AS "post_link", Tags, CreationDate FROM Posts WHERE PostTypeId = 1 AND Tags = '<css><html>' ORDER BY CreationDate DESC LIMIT 100 | [
3237,
2683,
30509,
11532,
290,
17391,
357,
392,
2147,
2073,
737,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
44789,
11,
21582,
10430,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
796,
705,
27,
25471,
6927,
6494,
29,
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
] | [
3237,
2683,
30509,
11532,
290,
17391,
357,
392,
2147,
2073,
737,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
44789,
11,
21582,
10430,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
796,
705,
27,
25471,
6927,
6494,
29,
6... |
How many seasons did Ken Bouchard finish in 38th place? | SELECT COUNT(year) FROM table_2333416_2 WHERE position = "38th" | [
2437,
867,
7028,
750,
7148,
347,
7673,
446,
5461,
287,
4353,
400,
1295,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
1954,
31380,
1433,
62,
17,
33411,
2292,
796,
366,
2548,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7028,
750,
7148,
347,
7673,
446,
5461,
287,
4353,
400,
1295,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
1954,
31380,
1433,
62,
17,
33411,
2292,
796,
366,
2548,
400,
1
] |
Average number of votes on all sites. For each site, show the average number of votes per post (questions and answers alike) | SELECT COUNT(*) * 1.0 / (SELECT COUNT(*) FROM Posts WHERE PostTypeId = 1 OR PostTypeId = 2) AS "votes", COUNT(CASE VoteTypeId WHEN 2 THEN 1 END) * 1.0 / (SELECT COUNT(*) FROM Posts WHERE PostTypeId = 1 OR PostTypeId = 2) AS "upvotes", COUNT(CASE VoteTypeId WHEN 3 THEN 1 END) * 1.0 / (SELECT COUNT(*) FROM Posts WHERE Po... | [
26287,
1271,
286,
5690,
319,
477,
5043,
13,
1114,
1123,
2524,
11,
905,
262,
2811,
1271,
286,
5690,
583,
1281,
357,
6138,
507,
290,
7429,
12936,
8,
46506,
327,
28270,
7,
28104,
1635,
352,
13,
15,
1220,
357,
46506,
327,
28270,
7,
2810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
5690,
319,
477,
5043,
13,
1114,
1123,
2524,
11,
905,
262,
2811,
1271,
286,
5690,
583,
1281,
357,
6138,
507,
290,
7429,
12936,
8,
46506,
327,
28270,
7,
28104,
1635,
352,
13,
15,
1220,
357,
46506,
327,
28270,
7,
2810... |
Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5 | SELECT "NP / NNP" FROM table_68967 WHERE "ACDP" = '1' AND "Others" = '1' AND "DP / DA" = '5' | [
5376,
262,
28498,
14,
6144,
47,
329,
7125,
6322,
286,
352,
290,
1854,
286,
352,
290,
27704,
14,
5631,
286,
642,
46506,
366,
22182,
1220,
399,
22182,
1,
16034,
3084,
62,
40523,
3134,
33411,
366,
2246,
6322,
1,
796,
705,
16,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
28498,
14,
6144,
47,
329,
7125,
6322,
286,
352,
290,
1854,
286,
352,
290,
27704,
14,
5631,
286,
642,
46506,
366,
22182,
1220,
399,
22182,
1,
16034,
3084,
62,
40523,
3134,
33411,
366,
2246,
6322,
1,
796,
705,
16,
6,
5357,
... |
give me the number of patients whose ethnicity is white and days of hospital stay is greater than 5? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.days_stay > "5" | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
642,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
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
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
642,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
... |
give me the number of patients with procedure icd9 code 8856 who have brain mass; intracranial hemorrhage primary disease. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND procedures.icd9_code = "8856" | [
26535,
502,
262,
1271,
286,
3871,
351,
8771,
14158,
67,
24,
2438,
9193,
3980,
508,
423,
3632,
2347,
26,
9913,
330,
2596,
498,
42203,
496,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
8771,
14158,
67,
24,
2438,
9193,
3980,
508,
423,
3632,
2347,
26,
9913,
330,
2596,
498,
42203,
496,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... |
What is Place, when Player is 'Mike Souchak'? | SELECT "Place" FROM table_46583 WHERE "Player" = 'mike souchak' | [
2061,
318,
8474,
11,
618,
7853,
318,
705,
16073,
311,
7673,
461,
30960,
46506,
366,
27271,
1,
16034,
3084,
62,
42018,
5999,
33411,
366,
14140,
1,
796,
705,
76,
522,
264,
7673,
461,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
8474,
11,
618,
7853,
318,
705,
16073,
311,
7673,
461,
30960,
46506,
366,
27271,
1,
16034,
3084,
62,
42018,
5999,
33411,
366,
14140,
1,
796,
705,
76,
522,
264,
7673,
461,
6
] |
Which production company has the year of 2005 listed? | SELECT production_company FROM table_name_45 WHERE year = "2005" | [
13828,
3227,
1664,
468,
262,
614,
286,
5075,
5610,
30,
46506,
3227,
62,
39722,
16034,
3084,
62,
3672,
62,
2231,
33411,
614,
796,
366,
14315,
1
] | [
1,
1,
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,
3227,
1664,
468,
262,
614,
286,
5075,
5610,
30,
46506,
3227,
62,
39722,
16034,
3084,
62,
3672,
62,
2231,
33411,
614,
796,
366,
14315,
1
] |
what flights from PHILADELPHIA to ATLANTA | 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 = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'A... | [
10919,
13956,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
41051,
8643,
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,
15271,
7054,
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,
1,
1,
1... | [
10919,
13956,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
41051,
8643,
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,
15271,
7054,
31... |
Find the name of the project for which a scientist whose name contains Smith is assigned to. | SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name LIKE '%Smith%' | [
16742,
262,
1438,
286,
262,
1628,
329,
543,
257,
11444,
3025,
1438,
4909,
4176,
318,
8686,
284,
13,
46506,
309,
17,
13,
3672,
16034,
8686,
1462,
7054,
309,
16,
32357,
1268,
4493,
7054,
309,
17,
6177,
309,
16,
13,
16302,
796,
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... | [
16742,
262,
1438,
286,
262,
1628,
329,
543,
257,
11444,
3025,
1438,
4909,
4176,
318,
8686,
284,
13,
46506,
309,
17,
13,
3672,
16034,
8686,
1462,
7054,
309,
16,
32357,
1268,
4493,
7054,
309,
17,
6177,
309,
16,
13,
16302,
796,
309,
17... |
does patient 005-77687 produce any rectal tube in 12/2105. | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutpu... | [
22437,
5827,
3571,
20,
12,
3324,
39925,
4439,
597,
13621,
282,
12403,
287,
1105,
14,
17,
13348,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
5827,
3571,
20,
12,
3324,
39925,
4439,
597,
13621,
282,
12403,
287,
1105,
14,
17,
13348,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
... |
what lab tests are the five most commonly ordered until 2100? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE STRFTIME('%y', labevents.charttime) <= '2100' GROUP BY labevents.itemid) AS t1 WHERE t1.c1 <= 5) | [
10919,
2248,
5254,
389,
262,
1936,
749,
8811,
6149,
1566,
38123,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
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... | [
10919,
2248,
5254,
389,
262,
1936,
749,
8811,
6149,
1566,
38123,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
... |
How many entries are there for points for the 6th position? | SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th" | [
2437,
867,
12784,
389,
612,
329,
2173,
329,
262,
718,
400,
2292,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
1983,
5066,
3064,
17,
62,
16,
33411,
2292,
796,
366,
21,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
12784,
389,
612,
329,
2173,
329,
262,
718,
400,
2292,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
1983,
5066,
3064,
17,
62,
16,
33411,
2292,
796,
366,
21,
400,
1
] |
What is the height of the player who currently plays for Alta Gesti n Fuenlabrada? | SELECT height FROM table_name_59 WHERE current_club = "alta gestión fuenlabrada" | [
2061,
318,
262,
6001,
286,
262,
2137,
508,
3058,
5341,
329,
978,
8326,
44641,
72,
299,
13333,
268,
23912,
81,
4763,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
3270,
33411,
1459,
62,
18664,
796,
366,
2501,
64,
10521,
72,
18840,
14035,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6001,
286,
262,
2137,
508,
3058,
5341,
329,
978,
8326,
44641,
72,
299,
13333,
268,
23912,
81,
4763,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
3270,
33411,
1459,
62,
18664,
796,
366,
2501,
64,
10521,
72,
18840,
14035,... |
What party does the incumbent from the Ohio 20 district belong to? | SELECT "Party" FROM table_18554 WHERE "District" = 'Ohio 20' | [
2061,
2151,
857,
262,
23526,
422,
262,
6835,
1160,
4783,
5594,
284,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
1507,
44218,
33411,
366,
44857,
1,
796,
705,
31274,
1160,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2151,
857,
262,
23526,
422,
262,
6835,
1160,
4783,
5594,
284,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
1507,
44218,
33411,
366,
44857,
1,
796,
705,
31274,
1160,
6
] |
Chinese dissidents by keyword AboutMe or DisplayName. | SELECT Id AS "user_link", Reputation, DisplayName, AboutMe FROM Users WHERE LOWER(AboutMe) LIKE '% %' ORDER BY Reputation DESC LIMIT 256 | [
23604,
49913,
416,
21179,
7994,
5308,
393,
16531,
5376,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
16531,
5376,
11,
7994,
5308,
16034,
18987,
33411,
406,
36048,
7,
8585,
5308,
8,
34178,
705,
4,
4064,
6,
38678,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23604,
49913,
416,
21179,
7994,
5308,
393,
16531,
5376,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
16531,
5376,
11,
7994,
5308,
16034,
18987,
33411,
406,
36048,
7,
8585,
5308,
8,
34178,
705,
4,
4064,
6,
38678,
1... |
data.table tagged questions after 2012-01-01. | SELECT * FROM Posts AS p JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = 'data.table' AND p.CreationDate >= '2012-01-01' | [
7890,
13,
11487,
30509,
2683,
706,
2321,
12,
486,
12,
486,
13,
46506,
1635,
16034,
12043,
7054,
279,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
6307,
7390,
796,
279,
13,
7390,
32357,
1268,
44789,
7054,
256,
6177,
256,
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... | [
7890,
13,
11487,
30509,
2683,
706,
2321,
12,
486,
12,
486,
13,
46506,
1635,
16034,
12043,
7054,
279,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
6307,
7390,
796,
279,
13,
7390,
32357,
1268,
44789,
7054,
256,
6177,
256,
13,
... |
Draw a scatter chart about the correlation between Team_ID and ACC_Percent , and group by attribute ACC_Home. | SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Home | [
25302,
257,
41058,
8262,
546,
262,
16096,
1022,
4816,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
13,
46506,
4816,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
16060... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
41058,
8262,
546,
262,
16096,
1022,
4816,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
13,
46506,
4816,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
16060... |
What was the earliest date an institution was founded that joined in 1977? | SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977" | [
2061,
373,
262,
14555,
3128,
281,
9901,
373,
9393,
326,
5399,
287,
15589,
30,
46506,
20625,
7,
27060,
8,
16034,
3084,
62,
2075,
1129,
1485,
62,
16,
33411,
5399,
796,
366,
37781,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
3128,
281,
9901,
373,
9393,
326,
5399,
287,
15589,
30,
46506,
20625,
7,
27060,
8,
16034,
3084,
62,
2075,
1129,
1485,
62,
16,
33411,
5399,
796,
366,
37781,
1
] |
how many attendees were present at the february 11 match against huddersfield town ? | SELECT "attendance" FROM table_204_467 WHERE "date" = 2 AND "date" = 11 AND "opponents" = 'huddersfield town' | [
4919,
867,
21736,
547,
1944,
379,
262,
730,
65,
3728,
1367,
2872,
1028,
289,
4185,
364,
3245,
3240,
5633,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
18638,
62,
24669,
33411,
366,
4475,
1,
796,
362,
5357,
366,
4475,
1,
796,
1367... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21736,
547,
1944,
379,
262,
730,
65,
3728,
1367,
2872,
1028,
289,
4185,
364,
3245,
3240,
5633,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
18638,
62,
24669,
33411,
366,
4475,
1,
796,
362,
5357,
366,
4475,
1,
796,
1367... |
Who was the builder of the ship INS Rana? | SELECT builder FROM table_name_69 WHERE name = "ins rana" | [
8241,
373,
262,
27098,
286,
262,
4074,
29194,
371,
2271,
30,
46506,
27098,
16034,
3084,
62,
3672,
62,
3388,
33411,
1438,
796,
366,
1040,
374,
2271,
1
] | [
1,
1,
1,
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,
27098,
286,
262,
4074,
29194,
371,
2271,
30,
46506,
27098,
16034,
3084,
62,
3672,
62,
3388,
33411,
1438,
796,
366,
1040,
374,
2271,
1
] |
A pie chart for finding the number of the parties associated with the delegates from district 1. Who served as governors of the parties? | SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor | [
32,
2508,
8262,
329,
4917,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
13,
5338,
4983,
355,
26824,
286,
262,
4671,
30,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
7054,
309,
16,
32357,
1268,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2508,
8262,
329,
4917,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
13,
5338,
4983,
355,
26824,
286,
262,
4671,
30,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
7054,
309,
16,
32357,
1268,
21... |
how many patients whose diagnoses icd9 code is 57450 and lab test abnormal status is delta? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "57450" AND lab.flag = "delta" | [
4919,
867,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
642,
4524,
1120,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
642,
4524,
1120,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... |
What are all the positions for the rockets in 2008? | SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008" | [
2061,
389,
477,
262,
6116,
329,
262,
20293,
287,
3648,
30,
46506,
2292,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
22,
33411,
812,
62,
1640,
62,
10823,
1039,
796,
366,
11528,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
6116,
329,
262,
20293,
287,
3648,
30,
46506,
2292,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
22,
33411,
812,
62,
1640,
62,
10823,
1039,
796,
366,
11528,
1
] |
Which Telugu has a Tamil of p r am ? | SELECT "Telugu \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" FROM table_35102 WHERE "Tamil \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'pūrāṭam பூராடம்' | [
13828,
12088,
45284,
468,
257,
32519,
286,
279,
374,
716,
5633,
46506,
366,
33317,
45284,
3467,
84,
15,
66,
1731,
59,
84,
15,
66,
3510,
59,
84,
15,
66,
2624,
59,
84,
15,
66,
3901,
59,
84,
15,
66,
1558,
59,
84,
15,
66,
3901,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12088,
45284,
468,
257,
32519,
286,
279,
374,
716,
5633,
46506,
366,
33317,
45284,
3467,
84,
15,
66,
1731,
59,
84,
15,
66,
3510,
59,
84,
15,
66,
2624,
59,
84,
15,
66,
3901,
59,
84,
15,
66,
1558,
59,
84,
15,
66,
3901,
1,... |
How many television station listings have a ioc code as mas? | SELECT COUNT("Television Station") FROM table_30746 WHERE "IOC Code" = 'MAS' | [
2437,
867,
5581,
4429,
26890,
423,
257,
1312,
420,
2438,
355,
12422,
30,
46506,
327,
28270,
7203,
6767,
5024,
9327,
4943,
16034,
3084,
62,
22996,
3510,
33411,
366,
40,
4503,
6127,
1,
796,
705,
31180,
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,
5581,
4429,
26890,
423,
257,
1312,
420,
2438,
355,
12422,
30,
46506,
327,
28270,
7203,
6767,
5024,
9327,
4943,
16034,
3084,
62,
22996,
3510,
33411,
366,
40,
4503,
6127,
1,
796,
705,
31180,
6
] |
how many people total are there in aberdeen and alameda combined ? | SELECT SUM("population\n(2011)") FROM table_204_43 WHERE "name" IN ('aberdeen', 'alameda') | [
4919,
867,
661,
2472,
389,
612,
287,
42499,
39060,
290,
435,
49637,
5929,
5633,
46506,
35683,
7203,
39748,
59,
77,
7,
9804,
8,
4943,
16034,
3084,
62,
18638,
62,
3559,
33411,
366,
3672,
1,
3268,
19203,
27359,
39060,
3256,
705,
282,
496... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
661,
2472,
389,
612,
287,
42499,
39060,
290,
435,
49637,
5929,
5633,
46506,
35683,
7203,
39748,
59,
77,
7,
9804,
8,
4943,
16034,
3084,
62,
18638,
62,
3559,
33411,
366,
3672,
1,
3268,
19203,
27359,
39060,
3256,
705,
282,
496... |
Show me about the distribution of meter_300 and meter_100 in a bar chart, and I want to show Y from low to high order. | SELECT meter_300, meter_100 FROM swimmer ORDER BY meter_100 | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
6200,
290,
16430,
62,
3064,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
16430,
62,
6200,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
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
] | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
6200,
290,
16430,
62,
3064,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
16430,
62,
6200,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11... |
What week were there 56,023 people in attendance? | SELECT COUNT("Week") FROM table_62056 WHERE "Attendance" = '56,023' | [
2061,
1285,
547,
612,
7265,
11,
45310,
661,
287,
14858,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
38850,
3980,
33411,
366,
8086,
437,
590,
1,
796,
705,
3980,
11,
45310,
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,
1285,
547,
612,
7265,
11,
45310,
661,
287,
14858,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
38850,
3980,
33411,
366,
8086,
437,
590,
1,
796,
705,
3980,
11,
45310,
6
] |
Which Date has an Attendance of 9,535? | SELECT "Date" FROM table_58251 WHERE "Attendance" = '9,535' | [
13828,
7536,
468,
281,
46502,
590,
286,
860,
11,
44465,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
28072,
33411,
366,
8086,
437,
590,
1,
796,
705,
24,
11,
44465,
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
] | [
13828,
7536,
468,
281,
46502,
590,
286,
860,
11,
44465,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
28072,
33411,
366,
8086,
437,
590,
1,
796,
705,
24,
11,
44465,
6
] |
If a team had a percentage of games won recorded as .429, what Championship Game was played? | SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429" | [
1532,
257,
1074,
550,
257,
5873,
286,
1830,
1839,
6264,
355,
764,
11785,
11,
644,
10749,
3776,
373,
2826,
30,
46506,
12184,
62,
6057,
16034,
3084,
62,
3672,
62,
6469,
33411,
1592,
834,
25067,
496,
796,
27071,
11785,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1074,
550,
257,
5873,
286,
1830,
1839,
6264,
355,
764,
11785,
11,
644,
10749,
3776,
373,
2826,
30,
46506,
12184,
62,
6057,
16034,
3084,
62,
3672,
62,
6469,
33411,
1592,
834,
25067,
496,
796,
27071,
11785,
1
] |
Who is the away team that played at punt road oval where the crowd was larger than 12,000? | SELECT "Away team" FROM table_51473 WHERE "Crowd" > '12,000' AND "Venue" = 'punt road oval' | [
8241,
318,
262,
1497,
1074,
326,
2826,
379,
35363,
2975,
41186,
810,
262,
4315,
373,
4025,
621,
1105,
11,
830,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
47396,
4790,
33411,
366,
34,
3986,
1,
1875,
705,
1065,
11,
830,
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
] | [
8241,
318,
262,
1497,
1074,
326,
2826,
379,
35363,
2975,
41186,
810,
262,
4315,
373,
4025,
621,
1105,
11,
830,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
47396,
4790,
33411,
366,
34,
3986,
1,
1875,
705,
1065,
11,
830,
6,
... |
Story-Identification questions asked and answered by the same user. | SELECT Q.Id AS "post_link", Q.OwnerUserId AS "user_link", Q.Score, Q.Title, Q.AnswerCount, Q.ClosedDate, Q.CreationDate, A.CreationDate FROM Posts AS Q, Posts AS A, PostTags AS T WHERE Q.Id = A.ParentId AND T.PostId = Q.Id AND T.PostId = A.ParentId AND T.TagId = 130 AND Q.OwnerUserId = A.OwnerUserId AND Q.PostTypeId = ... | [
11605,
12,
33234,
2649,
2683,
1965,
290,
9373,
416,
262,
976,
2836,
13,
46506,
1195,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
1195,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
1195,
13,
26595,
11,
1195,
13,
19160,
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,
1,
1... | [
11605,
12,
33234,
2649,
2683,
1965,
290,
9373,
416,
262,
976,
2836,
13,
46506,
1195,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
1195,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
1195,
13,
26595,
11,
1195,
13,
19160,
11,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.