instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the longitude of Carmenta Farra in 1994? | SELECT "Longitude" FROM table_43787 WHERE "Year named" = '1994' AND "Name" = 'carmenta farra' | [
2061,
318,
262,
890,
3984,
286,
1879,
434,
64,
6755,
430,
287,
9162,
30,
46506,
366,
14617,
3984,
1,
16034,
3084,
62,
43284,
5774,
33411,
366,
17688,
3706,
1,
796,
705,
22666,
6,
5357,
366,
5376,
1,
796,
705,
7718,
434,
64,
1290,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
3984,
286,
1879,
434,
64,
6755,
430,
287,
9162,
30,
46506,
366,
14617,
3984,
1,
16034,
3084,
62,
43284,
5774,
33411,
366,
17688,
3706,
1,
796,
705,
22666,
6,
5357,
366,
5376,
1,
796,
705,
7718,
434,
64,
1290,
... |
What is the number of instructors who taught GEOSCI 503 during the Summer 2011 semester ? | SELECT COUNT(DISTINCT instructor.instructor_id) FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'GEOSCI' AND course.number = 503 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.off... | [
2061,
318,
262,
1271,
286,
33667,
508,
7817,
22319,
2640,
25690,
44541,
1141,
262,
10216,
2813,
24878,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
21187,
13,
259,
7249,
273,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
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... | [
2061,
318,
262,
1271,
286,
33667,
508,
7817,
22319,
2640,
25690,
44541,
1141,
262,
10216,
2813,
24878,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
21187,
13,
259,
7249,
273,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,... |
Which series number had the production code of 116 | SELECT "No. in series" FROM table_1376 WHERE "Production code" = '116' | [
13828,
2168,
1271,
550,
262,
3227,
2438,
286,
18693,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
1485,
4304,
33411,
366,
35027,
2438,
1,
796,
705,
18298,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2168,
1271,
550,
262,
3227,
2438,
286,
18693,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
1485,
4304,
33411,
366,
35027,
2438,
1,
796,
705,
18298,
6
] |
Name the US dance when the year is more than 1985 | SELECT "U.S. Dance" FROM table_70901 WHERE "Year" > '1985' | [
5376,
262,
1294,
9280,
618,
262,
614,
318,
517,
621,
12863,
46506,
366,
52,
13,
50,
13,
17349,
1,
16034,
3084,
62,
31495,
486,
33411,
366,
17688,
1,
1875,
705,
29110,
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
] | [
5376,
262,
1294,
9280,
618,
262,
614,
318,
517,
621,
12863,
46506,
366,
52,
13,
50,
13,
17349,
1,
16034,
3084,
62,
31495,
486,
33411,
366,
17688,
1,
1875,
705,
29110,
6
] |
What is the record of Jeremija Sanders' opponent? | SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders" | [
2061,
318,
262,
1700,
286,
10272,
76,
34655,
5831,
6,
6125,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2718,
33411,
6125,
796,
366,
73,
567,
76,
34655,
6450,
364,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1700,
286,
10272,
76,
34655,
5831,
6,
6125,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2718,
33411,
6125,
796,
366,
73,
567,
76,
34655,
6450,
364,
1
] |
What position did Luca Sbisa play for the Philadelphia Flyers? | SELECT position FROM table_name_53 WHERE player = "luca sbisa" | [
2061,
2292,
750,
7598,
64,
311,
65,
9160,
711,
329,
262,
8857,
30652,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4310,
33411,
2137,
796,
366,
75,
43120,
264,
65,
9160,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
750,
7598,
64,
311,
65,
9160,
711,
329,
262,
8857,
30652,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4310,
33411,
2137,
796,
366,
75,
43120,
264,
65,
9160,
1
] |
provide the number of patients whose admission location is trsf within this facility and year of birth is less than 2137? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "2137" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
614,
286,
4082,
318,
1342,
621,
362,
19708,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
614,
286,
4082,
318,
1342,
621,
362,
19708,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... |
is capella 's current magnitude more than vega 's current magnitude ? | SELECT (SELECT "current\nmagnitude" FROM table_203_56 WHERE "star" = 'capella') > (SELECT "current\nmagnitude" FROM table_203_56 WHERE "star" = 'vega') | [
271,
36023,
8466,
705,
82,
1459,
14735,
517,
621,
1569,
4908,
705,
82,
1459,
14735,
5633,
46506,
357,
46506,
366,
14421,
59,
21533,
4660,
3984,
1,
16034,
3084,
62,
22416,
62,
3980,
33411,
366,
7364,
1,
796,
705,
36435,
8466,
11537,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
36023,
8466,
705,
82,
1459,
14735,
517,
621,
1569,
4908,
705,
82,
1459,
14735,
5633,
46506,
357,
46506,
366,
14421,
59,
21533,
4660,
3984,
1,
16034,
3084,
62,
22416,
62,
3980,
33411,
366,
7364,
1,
796,
705,
36435,
8466,
11537,
18... |
What Team had 40 Laps in C1 Class? | SELECT "Team" FROM table_45654 WHERE "Class" = 'c1' AND "Laps" = '40' | [
2061,
4816,
550,
2319,
406,
1686,
287,
327,
16,
5016,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2231,
39111,
33411,
366,
9487,
1,
796,
705,
66,
16,
6,
5357,
366,
43,
1686,
1,
796,
705,
1821,
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,
4816,
550,
2319,
406,
1686,
287,
327,
16,
5016,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2231,
39111,
33411,
366,
9487,
1,
796,
705,
66,
16,
6,
5357,
366,
43,
1686,
1,
796,
705,
1821,
6
] |
What was the attendance at Corio Oval? | SELECT crowd FROM table_name_9 WHERE venue = "corio oval" | [
2061,
373,
262,
14858,
379,
2744,
952,
25165,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
24,
33411,
14359,
796,
366,
10215,
952,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
379,
2744,
952,
25165,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
24,
33411,
14359,
796,
366,
10215,
952,
41186,
1
] |
Which city had the charleston area convention center as its callback location | SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center" | [
13828,
1748,
550,
262,
1149,
75,
19115,
1989,
9831,
3641,
355,
663,
23838,
4067,
46506,
31678,
62,
19205,
16034,
3084,
62,
1157,
18741,
10163,
62,
16,
33411,
23838,
62,
4080,
796,
366,
24453,
19115,
9498,
11680,
3337,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
550,
262,
1149,
75,
19115,
1989,
9831,
3641,
355,
663,
23838,
4067,
46506,
31678,
62,
19205,
16034,
3084,
62,
1157,
18741,
10163,
62,
16,
33411,
23838,
62,
4080,
796,
366,
24453,
19115,
9498,
11680,
3337,
1
] |
count the number of patients whose procedure long title is arthrocentesis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Arthrocentesis" | [
9127,
262,
1271,
286,
3871,
3025,
8771,
890,
3670,
318,
610,
26110,
1087,
9339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
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
] | [
9127,
262,
1271,
286,
3871,
3025,
8771,
890,
3670,
318,
610,
26110,
1087,
9339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62... |
what was the first protein-calorie malnutrition diagnosis time of patient 008-22202 in their first hospital encounter? | SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '008-22202' AND NOT patient.hospitaldischargetime IS NULL ORDER BY... | [
10919,
373,
262,
717,
7532,
12,
9948,
19257,
49290,
13669,
640,
286,
5827,
3571,
23,
12,
1828,
19004,
287,
511,
717,
4436,
8791,
30,
46506,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
7532,
12,
9948,
19257,
49290,
13669,
640,
286,
5827,
3571,
23,
12,
1828,
19004,
287,
511,
717,
4436,
8791,
30,
46506,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,... |
What tournament is in katowice? | SELECT "Tournament" FROM table_73145 WHERE "City" = 'Katowice' | [
2061,
7756,
318,
287,
479,
265,
322,
501,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
4790,
18781,
33411,
366,
14941,
1,
796,
705,
25881,
322,
501,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7756,
318,
287,
479,
265,
322,
501,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
4790,
18781,
33411,
366,
14941,
1,
796,
705,
25881,
322,
501,
6
] |
What player is from Fiji? | SELECT "Player" FROM table_43219 WHERE "Country" = 'fiji' | [
2061,
2137,
318,
422,
43676,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
45331,
1129,
33411,
366,
33921,
1,
796,
705,
69,
20770,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
318,
422,
43676,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
45331,
1129,
33411,
366,
33921,
1,
796,
705,
69,
20770,
6
] |
provide the number of patients whose admission year is less than 2110 and diagnoses short title is cholelith/ac gb inf-obst? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2110" AND diagnoses.short_title = "Cholelith/ac gb inf-obst" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
2310,
940,
290,
40567,
1790,
3670,
318,
1727,
293,
75,
342,
14,
330,
308,
65,
1167,
12,
672,
301,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
2310,
940,
290,
40567,
1790,
3670,
318,
1727,
293,
75,
342,
14,
330,
308,
65,
1167,
12,
672,
301,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... |
what is the maximum age of pateints with married marital status and with primary disease posterior communicating aneurysm/sda? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA" | [
10919,
318,
262,
5415,
2479,
286,
279,
378,
29503,
351,
6405,
29555,
3722,
290,
351,
4165,
4369,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2479,
286,
279,
378,
29503,
351,
6405,
29555,
3722,
290,
351,
4165,
4369,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,... |
How many directors were there for the film with the original title of The Moises Padilla Story? | SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story" | [
2437,
867,
13445,
547,
612,
329,
262,
2646,
351,
262,
2656,
3670,
286,
383,
4270,
2696,
15744,
5049,
8362,
30,
46506,
327,
28270,
7,
35248,
8,
16034,
3084,
62,
21738,
1129,
31575,
62,
16,
33411,
2656,
62,
7839,
796,
366,
464,
4270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13445,
547,
612,
329,
262,
2646,
351,
262,
2656,
3670,
286,
383,
4270,
2696,
15744,
5049,
8362,
30,
46506,
327,
28270,
7,
35248,
8,
16034,
3084,
62,
21738,
1129,
31575,
62,
16,
33411,
2656,
62,
7839,
796,
366,
464,
4270,
... |
How many average gold medals for provinces higher than rank 9 with 25 bronzes? | SELECT AVG("Gold") FROM table_63375 WHERE "Bronze" = '25' AND "Rank" < '9' | [
2437,
867,
2811,
3869,
28057,
329,
17812,
2440,
621,
4279,
860,
351,
1679,
18443,
12271,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
21,
2091,
2425,
33411,
366,
18760,
2736,
1,
796,
705,
1495,
6,
5357,
366,
27520,
1,
1279,
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
] | [
2437,
867,
2811,
3869,
28057,
329,
17812,
2440,
621,
4279,
860,
351,
1679,
18443,
12271,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
21,
2091,
2425,
33411,
366,
18760,
2736,
1,
796,
705,
1495,
6,
5357,
366,
27520,
1,
1279,
7... |
On which week was the attendance 74303? | SELECT MAX("Week") FROM table_19718 WHERE "Attendance" = '74303' | [
2202,
543,
1285,
373,
262,
14858,
8915,
22572,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
24991,
1507,
33411,
366,
8086,
437,
590,
1,
796,
705,
4524,
22572,
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
] | [
2202,
543,
1285,
373,
262,
14858,
8915,
22572,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
24991,
1507,
33411,
366,
8086,
437,
590,
1,
796,
705,
4524,
22572,
6
] |
Show the number of documents for each location code in a bar chart, and could you rank from low to high by the X? | SELECT Location_Code, COUNT(Location_Code) FROM Document_Locations GROUP BY Location_Code ORDER BY Location_Code | [
15307,
262,
1271,
286,
4963,
329,
1123,
4067,
2438,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
422,
1877,
284,
1029,
416,
262,
1395,
30,
46506,
13397,
62,
10669,
11,
327,
28270,
7,
14749,
62,
10669,
8,
16034,
16854,
62,
43,
2096... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4963,
329,
1123,
4067,
2438,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
422,
1877,
284,
1029,
416,
262,
1395,
30,
46506,
13397,
62,
10669,
11,
327,
28270,
7,
14749,
62,
10669,
8,
16034,
16854,
62,
43,
2096... |
history of seizure or head trauma with disturbance of consciousness within the past two years | SELECT * FROM table_train_129 WHERE seizure_disorder = 1 OR head_injury = 1 OR disturbance_of_consciousness = 1 | [
23569,
286,
22338,
393,
1182,
14649,
351,
30497,
286,
10510,
1626,
262,
1613,
734,
812,
46506,
1635,
16034,
3084,
62,
27432,
62,
18741,
33411,
22338,
62,
6381,
2875,
796,
352,
6375,
1182,
62,
259,
21871,
796,
352,
6375,
30497,
62,
1659,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23569,
286,
22338,
393,
1182,
14649,
351,
30497,
286,
10510,
1626,
262,
1613,
734,
812,
46506,
1635,
16034,
3084,
62,
27432,
62,
18741,
33411,
22338,
62,
6381,
2875,
796,
352,
6375,
1182,
62,
259,
21871,
796,
352,
6375,
30497,
62,
1659,... |
A scatter chart shows the correlation between Team_ID and ACC_Percent , and group by attribute Team_Name. | SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY Team_Name | [
32,
41058,
8262,
2523,
262,
16096,
1022,
4816,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
4816,
62,
5376,
13,
46506,
4816,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
4816,
62,
5376
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41058,
8262,
2523,
262,
16096,
1022,
4816,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
4816,
62,
5376,
13,
46506,
4816,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
4816,
62,
5376
] |
When brive is the proceed to quarter final how many were eliminated from competition? | SELECT COUNT("Eliminated from competition") FROM table_30177 WHERE "Proceed to Quarter-final" = 'Brive' | [
2215,
275,
11590,
318,
262,
5120,
284,
3860,
2457,
703,
867,
547,
15254,
422,
5449,
30,
46506,
327,
28270,
7203,
36,
2475,
3898,
422,
5449,
4943,
16034,
3084,
62,
18938,
3324,
33411,
366,
2964,
2707,
284,
17264,
12,
20311,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
275,
11590,
318,
262,
5120,
284,
3860,
2457,
703,
867,
547,
15254,
422,
5449,
30,
46506,
327,
28270,
7203,
36,
2475,
3898,
422,
5449,
4943,
16034,
3084,
62,
18938,
3324,
33411,
366,
2964,
2707,
284,
17264,
12,
20311,
1,
796,
705... |
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of email and department_id , and order by the bar from low to high please. | SELECT EMAIL, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
3053,
290,
5011,
62,
312,
837,
290,
1502,
416,
262,
2318,
422,
1877,
284,
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,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
3053,
290,
5011,
62,
312,
837,
290,
1502,
416,
262,
2318,
422,
1877,
284,
1029,
... |
how many times did patient 14154 go to the hospital during this year? | SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 14154 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
4919,
867,
1661,
750,
5827,
1478,
21526,
467,
284,
262,
4436,
1141,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
18108,
76,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1478,
21526,
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,
1,
1,
1,
1... | [
4919,
867,
1661,
750,
5827,
1478,
21526,
467,
284,
262,
4436,
1141,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
18108,
76,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1478,
21526,
5357,
... |
what is maximum age of patients whose ethnicity is white - russian and days of hospital stay is 30? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.days_stay = "30" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
1528,
286,
4436,
2652,
318,
1542,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
532,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
5415,
2479,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
1528,
286,
4436,
2652,
318,
1542,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
532,
3... |
i would like to travel from INDIANAPOLIS to HOUSTON | 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 = 'INDIANAPOLIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'H... | [
72,
561,
588,
284,
3067,
422,
24413,
16868,
2969,
3535,
1797,
284,
29068,
41924,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
3067,
422,
24413,
16868,
2969,
3535,
1797,
284,
29068,
41924,
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,
... |
What are the names and ids of the different albums, and how many tracks are on each? | SELECT T1.title, T2.albumid, COUNT(*) FROM album AS T1 JOIN track AS T2 ON T1.albumid = T2.albumid GROUP BY T2.albumid | [
2061,
389,
262,
3891,
290,
220,
2340,
286,
262,
1180,
16788,
11,
290,
703,
867,
8339,
389,
319,
1123,
30,
46506,
309,
16,
13,
7839,
11,
309,
17,
13,
40916,
312,
11,
327,
28270,
7,
28104,
16034,
5062,
7054,
309,
16,
32357,
1268,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
290,
220,
2340,
286,
262,
1180,
16788,
11,
290,
703,
867,
8339,
389,
319,
1123,
30,
46506,
309,
16,
13,
7839,
11,
309,
17,
13,
40916,
312,
11,
327,
28270,
7,
28104,
16034,
5062,
7054,
309,
16,
32357,
1268,
26... |
Which Plautdietsch has Dutch of maken? | SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken" | [
13828,
1345,
2306,
10989,
1039,
354,
468,
10914,
286,
285,
1685,
30,
46506,
458,
2306,
10989,
1039,
354,
16034,
3084,
62,
3672,
62,
5333,
33411,
288,
7140,
796,
366,
76,
1685,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1345,
2306,
10989,
1039,
354,
468,
10914,
286,
285,
1685,
30,
46506,
458,
2306,
10989,
1039,
354,
16034,
3084,
62,
3672,
62,
5333,
33411,
288,
7140,
796,
366,
76,
1685,
1
] |
What is the Result with a Location of brussels? | SELECT COUNT(result) FROM table_name_96 WHERE location = "brussels" | [
2061,
318,
262,
25414,
351,
257,
13397,
286,
865,
385,
14002,
30,
46506,
327,
28270,
7,
20274,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
4067,
796,
366,
1671,
385,
14002,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
25414,
351,
257,
13397,
286,
865,
385,
14002,
30,
46506,
327,
28270,
7,
20274,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
4067,
796,
366,
1671,
385,
14002,
1
] |
In 1975, what was the final round? | SELECT "Final round" FROM table_31828 WHERE "Year" = '1975' | [
818,
15231,
11,
644,
373,
262,
2457,
2835,
30,
46506,
366,
19006,
2835,
1,
16034,
3084,
62,
36042,
2078,
33411,
366,
17688,
1,
796,
705,
38449,
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
] | [
818,
15231,
11,
644,
373,
262,
2457,
2835,
30,
46506,
366,
19006,
2835,
1,
16034,
3084,
62,
36042,
2078,
33411,
366,
17688,
1,
796,
705,
38449,
6
] |
Name the winning driver for 20 april | SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April" | [
5376,
262,
5442,
4639,
329,
1160,
46593,
346,
46506,
5442,
62,
26230,
16034,
3084,
62,
28592,
1828,
12952,
62,
18,
33411,
3128,
796,
366,
1238,
3035,
1
] | [
1,
1,
1,
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,
5442,
4639,
329,
1160,
46593,
346,
46506,
5442,
62,
26230,
16034,
3084,
62,
28592,
1828,
12952,
62,
18,
33411,
3128,
796,
366,
1238,
3035,
1
] |
which location comes after kfar yona ? | SELECT "location" FROM table_203_108 WHERE id = (SELECT id FROM table_203_108 WHERE "location" = 'kfar yona' ORDER BY id DESC LIMIT 1) + 1 | [
4758,
4067,
2058,
706,
479,
16370,
331,
4450,
5633,
46506,
366,
24886,
1,
16034,
3084,
62,
22416,
62,
15711,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
15711,
33411,
366,
24886,
1,
796,
705,
74,
16370,
331,
4450,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
2058,
706,
479,
16370,
331,
4450,
5633,
46506,
366,
24886,
1,
16034,
3084,
62,
22416,
62,
15711,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
15711,
33411,
366,
24886,
1,
796,
705,
74,
16370,
331,
4450,
... |
For those records from the products and each product's manufacturer, show me about the distribution of name and code , and group by attribute headquarter in a bar chart, and sort by the Name in asc. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
290,
3297,
416,
262,
6530,
287,
10570,
13,
46506,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
290,
3297,
416,
262,
6530,
287,
10570,
13,
46506,
3... |
What is the first and last name of the students who are not in the largest major?, and order names from high to low order. | SELECT Fname, COUNT(Fname) FROM Student WHERE Major <> (SELECT Major FROM Student) GROUP BY Fname ORDER BY Fname DESC | [
2061,
318,
262,
717,
290,
938,
1438,
286,
262,
2444,
508,
389,
407,
287,
262,
4387,
1688,
21747,
290,
1502,
3891,
422,
1029,
284,
1877,
1502,
13,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
13613,
33411,
8386,
1279,
29,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
290,
938,
1438,
286,
262,
2444,
508,
389,
407,
287,
262,
4387,
1688,
21747,
290,
1502,
3891,
422,
1029,
284,
1877,
1502,
13,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
13613,
33411,
8386,
1279,
29,... |
What's the class when the identifier is cbf-fm-14? | SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-14" | [
2061,
338,
262,
1398,
618,
262,
27421,
318,
269,
19881,
12,
38353,
12,
1415,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
5824,
33411,
27421,
796,
366,
66,
19881,
12,
38353,
12,
1415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1398,
618,
262,
27421,
318,
269,
19881,
12,
38353,
12,
1415,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
5824,
33411,
27421,
796,
366,
66,
19881,
12,
38353,
12,
1415,
1
] |
Questions with tag1 but not tag2. | SELECT q.Id AS "post_link", q.Tags, q.CreationDate, q.LastActivityDate FROM Posts AS q INNER JOIN PostTags AS pt ON q.Id = pt.PostId INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = '##tag1:string?geometry##' AND NOT (q.Tags LIKE '%<##tag2?mg.metric-geometry##>%') ORDER BY q.CreationDate DESC | [
35741,
351,
7621,
16,
475,
407,
7621,
17,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
36142,
11,
10662,
13,
12443,
341,
10430,
11,
10662,
13,
5956,
16516,
10430,
16034,
12043,
7054,
10662,
3268,
21479,
32357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
351,
7621,
16,
475,
407,
7621,
17,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
36142,
11,
10662,
13,
12443,
341,
10430,
11,
10662,
13,
5956,
16516,
10430,
16034,
12043,
7054,
10662,
3268,
21479,
32357,... |
show me the airlines that fly from DENVER to SAN FRANCISCO | SELECT DISTINCT airline.airline_code FROM airline, 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_na... | [
12860,
502,
262,
26225,
326,
6129,
422,
37692,
5959,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
26225,
326,
6129,
422,
37692,
5959,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
1... |
Who was the developer of Resident Evil 4? | SELECT "Developer(s)" FROM table_64753 WHERE "Game" = 'resident evil 4' | [
8241,
373,
262,
8517,
286,
22373,
10461,
604,
30,
46506,
366,
45351,
7,
82,
16725,
16034,
3084,
62,
2414,
44550,
33411,
366,
8777,
1,
796,
705,
8154,
6181,
604,
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
] | [
8241,
373,
262,
8517,
286,
22373,
10461,
604,
30,
46506,
366,
45351,
7,
82,
16725,
16034,
3084,
62,
2414,
44550,
33411,
366,
8777,
1,
796,
705,
8154,
6181,
604,
6
] |
as of october 25 , 2005 , how many voters are either democratic or republican ? | SELECT SUM("total voters") FROM table_200_35 WHERE "party" IN ('democratic', 'republican') | [
292,
286,
19318,
2023,
1679,
837,
5075,
837,
703,
867,
4446,
389,
2035,
10518,
393,
41477,
5633,
46506,
35683,
7203,
23350,
4446,
4943,
16034,
3084,
62,
2167,
62,
2327,
33411,
366,
10608,
1,
3268,
19203,
41232,
3256,
705,
7856,
841,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
292,
286,
19318,
2023,
1679,
837,
5075,
837,
703,
867,
4446,
389,
2035,
10518,
393,
41477,
5633,
46506,
35683,
7203,
23350,
4446,
4943,
16034,
3084,
62,
2167,
62,
2327,
33411,
366,
10608,
1,
3268,
19203,
41232,
3256,
705,
7856,
841,
272... |
For the course where Richard Dean is the GSI , what are the prerequisites ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.pre_course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.course_id INNER JOIN course_offering ON COURSE_1.course_id = cour... | [
1890,
262,
1781,
810,
6219,
11325,
318,
262,
402,
11584,
837,
644,
389,
262,
662,
34075,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1781,
810,
6219,
11325,
318,
262,
402,
11584,
837,
644,
389,
262,
662,
34075,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618... |
list all the businesses which Niloofar rated 5 | SELECT business.name FROM business, review, user WHERE review.business_id = business.business_id AND review.rating = 5 AND user.name = 'Niloofar' AND user.user_id = review.user_id | [
4868,
477,
262,
5692,
543,
399,
18526,
1659,
283,
13178,
642,
46506,
1597,
13,
3672,
16034,
1597,
11,
2423,
11,
2836,
33411,
2423,
13,
22680,
62,
312,
796,
1597,
13,
22680,
62,
312,
5357,
2423,
13,
8821,
796,
642,
5357,
2836,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
477,
262,
5692,
543,
399,
18526,
1659,
283,
13178,
642,
46506,
1597,
13,
3672,
16034,
1597,
11,
2423,
11,
2836,
33411,
2423,
13,
22680,
62,
312,
796,
1597,
13,
22680,
62,
312,
5357,
2423,
13,
8821,
796,
642,
5357,
2836,
13,
36... |
Which contact channel codes were used less than 5 times? | SELECT channel_code FROM customer_contact_channels GROUP BY channel_code HAVING COUNT(customer_id) < 5 | [
13828,
2800,
6518,
12416,
547,
973,
1342,
621,
642,
1661,
30,
46506,
6518,
62,
8189,
16034,
6491,
62,
32057,
62,
354,
8961,
44441,
11050,
6518,
62,
8189,
367,
10116,
2751,
327,
28270,
7,
23144,
263,
62,
312,
8,
1279,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2800,
6518,
12416,
547,
973,
1342,
621,
642,
1661,
30,
46506,
6518,
62,
8189,
16034,
6491,
62,
32057,
62,
354,
8961,
44441,
11050,
6518,
62,
8189,
367,
10116,
2751,
327,
28270,
7,
23144,
263,
62,
312,
8,
1279,
642
] |
Who had the lowest Best time that also had a Qual 2 of 49.887? | SELECT MIN(best) FROM table_name_13 WHERE qual_2 = "49.887" | [
8241,
550,
262,
9016,
6705,
640,
326,
635,
550,
257,
9537,
362,
286,
5125,
13,
46660,
30,
46506,
20625,
7,
13466,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
4140,
62,
17,
796,
366,
2920,
13,
46660,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
262,
9016,
6705,
640,
326,
635,
550,
257,
9537,
362,
286,
5125,
13,
46660,
30,
46506,
20625,
7,
13466,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
4140,
62,
17,
796,
366,
2920,
13,
46660,
1
] |
What is the division record of Sussex Central? | SELECT "Division Record" FROM table_15403 WHERE "School" = 'sussex central' | [
2061,
318,
262,
7297,
1700,
286,
41588,
5694,
30,
46506,
366,
24095,
1166,
13266,
1,
16034,
3084,
62,
1314,
31552,
33411,
366,
26130,
1,
796,
705,
82,
385,
8044,
4318,
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,
7297,
1700,
286,
41588,
5694,
30,
46506,
366,
24095,
1166,
13266,
1,
16034,
3084,
62,
1314,
31552,
33411,
366,
26130,
1,
796,
705,
82,
385,
8044,
4318,
6
] |
Which player is it that has a pick of 147? | SELECT "Player" FROM table_75580 WHERE "Pick" = '147' | [
13828,
2137,
318,
340,
326,
468,
257,
2298,
286,
22909,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
38172,
1795,
33411,
366,
31686,
1,
796,
705,
20198,
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
] | [
13828,
2137,
318,
340,
326,
468,
257,
2298,
286,
22909,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
38172,
1795,
33411,
366,
31686,
1,
796,
705,
20198,
6
] |
what is the total number of women executed between 2000 and 2010 ? | SELECT COUNT("name") FROM table_204_867 WHERE "date" >= 2000 AND "date" <= 2010 | [
10919,
318,
262,
2472,
1271,
286,
1466,
10945,
1022,
4751,
290,
3050,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
23,
3134,
33411,
366,
4475,
1,
18189,
4751,
5357,
366,
4475,
1,
19841,
3050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
1466,
10945,
1022,
4751,
290,
3050,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
23,
3134,
33411,
366,
4475,
1,
18189,
4751,
5357,
366,
4475,
1,
19841,
3050
] |
For those employees who was hired before 2002-06-21, draw a scatter chart about the correlation between salary and department_id . | SELECT SALARY, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
9588,
290,
5011,
62,
312,
764,
46506,
42475,
13153,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
33411,
36210,
2200,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
9588,
290,
5011,
62,
312,
764,
46506,
42475,
13153,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
33411,
36210,
2200,
... |
What's the average L/km combines when the L/100km Urban is 13.9, the mpg-UK combined is more than 28.5 and the mpg-UK extra urban is less than 38.7? | SELECT AVG(l_100km_combined) FROM table_name_81 WHERE l_100km_urban__cold_ = 13.9 AND mpg_uk_combined > 28.5 AND mpg_uk_extra_urban < 38.7 | [
2061,
338,
262,
2811,
406,
14,
13276,
21001,
618,
262,
406,
14,
3064,
13276,
14665,
318,
1511,
13,
24,
11,
262,
285,
6024,
12,
15039,
5929,
318,
517,
621,
2579,
13,
20,
290,
262,
285,
6024,
12,
15039,
3131,
7876,
318,
1342,
621,
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... | [
2061,
338,
262,
2811,
406,
14,
13276,
21001,
618,
262,
406,
14,
3064,
13276,
14665,
318,
1511,
13,
24,
11,
262,
285,
6024,
12,
15039,
5929,
318,
517,
621,
2579,
13,
20,
290,
262,
285,
6024,
12,
15039,
3131,
7876,
318,
1342,
621,
4... |
Give me the comparison about School_ID over the Team_Name , order X-axis from high to low order. | SELECT Team_Name, School_ID FROM basketball_match ORDER BY Team_Name DESC | [
23318,
502,
262,
7208,
546,
3961,
62,
2389,
625,
262,
4816,
62,
5376,
837,
1502,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
4816,
62,
5376,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
5376,
22196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
3961,
62,
2389,
625,
262,
4816,
62,
5376,
837,
1502,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
4816,
62,
5376,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
5376,
22196,
... |
List the types of competition and the number of competitions of each type Visualize by bar chart, and order in asc by the the total number please. | SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type ORDER BY COUNT(*) | [
8053,
262,
3858,
286,
5449,
290,
262,
1271,
286,
24174,
286,
1123,
2099,
15612,
1096,
416,
2318,
8262,
11,
290,
1502,
287,
10570,
416,
262,
262,
2472,
1271,
3387,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
5449,
4444... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3858,
286,
5449,
290,
262,
1271,
286,
24174,
286,
1123,
2099,
15612,
1096,
416,
2318,
8262,
11,
290,
1502,
287,
10570,
416,
262,
262,
2472,
1271,
3387,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
5449,
4444... |
What is Bernie Germain's nationality? | SELECT "Nationality" FROM table_1093 WHERE "Player" = 'Bernie Germain' | [
2061,
318,
10477,
14164,
391,
338,
29835,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
940,
6052,
33411,
366,
14140,
1,
796,
705,
33433,
14164,
391,
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,
10477,
14164,
391,
338,
29835,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
940,
6052,
33411,
366,
14140,
1,
796,
705,
33433,
14164,
391,
6
] |
give me the flights from MIAMI to NEW YORK using FF | 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 = 'NEW YORK' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MIAM... | [
26535,
502,
262,
13956,
422,
15789,
43870,
284,
12682,
28154,
1262,
18402,
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,
1... | [
26535,
502,
262,
13956,
422,
15789,
43870,
284,
12682,
28154,
1262,
18402,
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... |
how was the only player to have a transfer fee of 0.67 m ? | SELECT "name" FROM table_203_237 WHERE "transfer\nfee" = 0.67 | [
4919,
373,
262,
691,
2137,
284,
423,
257,
4351,
6838,
286,
657,
13,
3134,
285,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
24693,
33411,
366,
39437,
59,
77,
39071,
1,
796,
657,
13,
3134
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
691,
2137,
284,
423,
257,
4351,
6838,
286,
657,
13,
3134,
285,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
24693,
33411,
366,
39437,
59,
77,
39071,
1,
796,
657,
13,
3134
] |
which katyusha launcher has the best range ? | SELECT "weapon name" FROM table_202_82 ORDER BY "range (max)" DESC LIMIT 1 | [
4758,
479,
265,
88,
46213,
24008,
468,
262,
1266,
2837,
5633,
46506,
366,
28741,
1438,
1,
16034,
3084,
62,
19004,
62,
6469,
38678,
11050,
366,
9521,
357,
9806,
16725,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
479,
265,
88,
46213,
24008,
468,
262,
1266,
2837,
5633,
46506,
366,
28741,
1438,
1,
16034,
3084,
62,
19004,
62,
6469,
38678,
11050,
366,
9521,
357,
9806,
16725,
22196,
34,
27564,
2043,
352
] |
With a club that has 400 Points against, what are the points? | SELECT points_for FROM table_name_50 WHERE points_against = "400" | [
3152,
257,
3430,
326,
468,
7337,
11045,
1028,
11,
644,
389,
262,
2173,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
1120,
33411,
2173,
62,
32826,
796,
366,
7029,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3152,
257,
3430,
326,
468,
7337,
11045,
1028,
11,
644,
389,
262,
2173,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
1120,
33411,
2173,
62,
32826,
796,
366,
7029,
1
] |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of price , and group by attribute name, and could you rank total number of price in asc order? | SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
1438,
11,
290,
714,
345,
4279,
2472,
1271,
286,
2756,
287,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
1438,
11,
290,
714,
345,
4279,
2472,
1271,
286,
2756,
287,
10... |
Return a bar chart showing how many members have visited for each college location, show from high to low by the y axis. | SELECT College_Location, COUNT(College_Location) FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID GROUP BY College_Location ORDER BY COUNT(College_Location) DESC | [
13615,
257,
2318,
8262,
4478,
703,
867,
1866,
423,
8672,
329,
1123,
4152,
4067,
11,
905,
422,
1029,
284,
1877,
416,
262,
331,
16488,
13,
46506,
5535,
62,
14749,
11,
327,
28270,
7,
38951,
62,
14749,
8,
16034,
4152,
7054,
309,
16,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4478,
703,
867,
1866,
423,
8672,
329,
1123,
4152,
4067,
11,
905,
422,
1029,
284,
1877,
416,
262,
331,
16488,
13,
46506,
5535,
62,
14749,
11,
327,
28270,
7,
38951,
62,
14749,
8,
16034,
4152,
7054,
309,
16,
323... |
When was the most recent year that kathy whitworth was the runner-up? | SELECT MAX("Year") FROM table_50001 WHERE "Runner(s)-up" = 'kathy whitworth' | [
2215,
373,
262,
749,
2274,
614,
326,
479,
10036,
20542,
9268,
373,
262,
17490,
12,
929,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
4059,
486,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
74,
10036,
20542,
9268,
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
] | [
2215,
373,
262,
749,
2274,
614,
326,
479,
10036,
20542,
9268,
373,
262,
17490,
12,
929,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
4059,
486,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
74,
10036,
20542,
9268,
6
] |
What digital reaction has hot 100 reaction of 2 (+1)? | SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)" | [
2061,
4875,
6317,
468,
3024,
1802,
6317,
286,
362,
11502,
16,
19427,
46506,
3024,
62,
34725,
62,
82,
28079,
62,
260,
2673,
16034,
3084,
62,
3672,
62,
4531,
33411,
3024,
62,
3064,
62,
260,
2673,
796,
366,
17,
11502,
16,
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
] | [
2061,
4875,
6317,
468,
3024,
1802,
6317,
286,
362,
11502,
16,
19427,
46506,
3024,
62,
34725,
62,
82,
28079,
62,
260,
2673,
16034,
3084,
62,
3672,
62,
4531,
33411,
3024,
62,
3064,
62,
260,
2673,
796,
366,
17,
11502,
16,
16725
] |
Who is the leading lady in The Lonely Trail? | SELECT "Leading lady" FROM table_70878 WHERE "Title" = 'the lonely trail' | [
8241,
318,
262,
3756,
10846,
287,
383,
46501,
13069,
30,
46506,
366,
20451,
278,
10846,
1,
16034,
3084,
62,
32583,
3695,
33411,
366,
19160,
1,
796,
705,
1169,
21757,
8025,
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
] | [
8241,
318,
262,
3756,
10846,
287,
383,
46501,
13069,
30,
46506,
366,
20451,
278,
10846,
1,
16034,
3084,
62,
32583,
3695,
33411,
366,
19160,
1,
796,
705,
1169,
21757,
8025,
6
] |
Stacked bar of took office and how many took office colored by Minister, and sort Y from low to high order. | SELECT Took_office, COUNT(Took_office) FROM party GROUP BY Minister ORDER BY COUNT(Took_office) | [
1273,
6021,
2318,
286,
1718,
2607,
290,
703,
867,
1718,
2607,
16396,
416,
4139,
11,
290,
3297,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
566,
62,
31810,
11,
327,
28270,
7,
51,
566,
62,
31810,
8,
16034,
2151,
44441,
11050,
413... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1273,
6021,
2318,
286,
1718,
2607,
290,
703,
867,
1718,
2607,
16396,
416,
4139,
11,
290,
3297,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
566,
62,
31810,
11,
327,
28270,
7,
51,
566,
62,
31810,
8,
16034,
2151,
44441,
11050,
413... |
Which teachers will be teaching Other next Winter ? | SELECT DISTINCT instructor.name 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 INNER JOIN offering_instructor ON offering_instr... | [
13828,
7799,
481,
307,
7743,
3819,
1306,
10633,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
7799,
481,
307,
7743,
3819,
1306,
10633,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
... |
For the teams that had fewer than 1 Byes, what was the lowest number of Draws? | SELECT MIN("Draws") FROM table_43367 WHERE "Byes" < '1' | [
1890,
262,
3466,
326,
550,
7380,
621,
352,
2750,
274,
11,
644,
373,
262,
9016,
1271,
286,
15315,
82,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
42117,
3134,
33411,
366,
3886,
274,
1,
1279,
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
] | [
1890,
262,
3466,
326,
550,
7380,
621,
352,
2750,
274,
11,
644,
373,
262,
9016,
1271,
286,
15315,
82,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
42117,
3134,
33411,
366,
3886,
274,
1,
1279,
705,
16,
6
] |
Name province of 1936 viana do castelo | SELECT "Province of 1936" FROM table_24800 WHERE "District" = 'Viana do Castelo' | [
5376,
8473,
286,
27653,
410,
7484,
466,
3350,
22126,
46506,
366,
15946,
924,
286,
27653,
1,
16034,
3084,
62,
1731,
7410,
33411,
366,
44857,
1,
796,
705,
53,
7484,
466,
5833,
22126,
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
] | [
5376,
8473,
286,
27653,
410,
7484,
466,
3350,
22126,
46506,
366,
15946,
924,
286,
27653,
1,
16034,
3084,
62,
1731,
7410,
33411,
366,
44857,
1,
796,
705,
53,
7484,
466,
5833,
22126,
6
] |
Bar chart of department_id from each first name, and show in ascending by the y-axis. | SELECT FIRST_NAME, DEPARTMENT_ID FROM employees ORDER BY DEPARTMENT_ID | [
10374,
8262,
286,
5011,
62,
312,
422,
1123,
717,
1438,
11,
290,
905,
287,
41988,
416,
262,
331,
12,
22704,
13,
46506,
31328,
62,
20608,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
38678,
11050,
5550,
30709,
10979,
62,
2389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
5011,
62,
312,
422,
1123,
717,
1438,
11,
290,
905,
287,
41988,
416,
262,
331,
12,
22704,
13,
46506,
31328,
62,
20608,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
38678,
11050,
5550,
30709,
10979,
62,
2389
] |
R Answered Posts Since 2015. | SELECT p.Id, p.CreationDate, p.Score, p.ViewCount, p.OwnerUserId, p.Title, p.Tags, p.AnswerCount, CONCAT('https://stackoverflow.com/questions/', CAST(p.Id AS TEXT(30))) AS url FROM Posts AS p JOIN PostTags AS pt ON p.Id = pt.PostId JOIN Tags AS t ON t.Id = pt.TagId AND t.TagName = 'r' WHERE NOT p.AcceptedAnswerId IS NU... | [
49,
28038,
8279,
12043,
4619,
1853,
13,
46506,
279,
13,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
26595,
11,
279,
13,
7680,
12332,
11,
279,
13,
42419,
12982,
7390,
11,
279,
13,
19160,
11,
279,
13,
36142,
11,
279,
13,
3370... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
49,
28038,
8279,
12043,
4619,
1853,
13,
46506,
279,
13,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
26595,
11,
279,
13,
7680,
12332,
11,
279,
13,
42419,
12982,
7390,
11,
279,
13,
19160,
11,
279,
13,
36142,
11,
279,
13,
3370... |
How many episodes had the series number of 38? | SELECT COUNT(directed_by) FROM table_19925114_1 WHERE no_in_series = 38 | [
2437,
867,
8640,
550,
262,
2168,
1271,
286,
4353,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
19104,
1495,
16562,
62,
16,
33411,
645,
62,
259,
62,
25076,
796,
4353
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8640,
550,
262,
2168,
1271,
286,
4353,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
19104,
1495,
16562,
62,
16,
33411,
645,
62,
259,
62,
25076,
796,
4353
] |
What's the type that ends in 2009? | SELECT type FROM table_name_60 WHERE ends = "2009" | [
2061,
338,
262,
2099,
326,
5645,
287,
3717,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
1899,
33411,
5645,
796,
366,
10531,
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,
2099,
326,
5645,
287,
3717,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
1899,
33411,
5645,
796,
366,
10531,
1
] |
Show me the frequency of those years (bin year into year interval) that the team Boston Red Stockings won in the postseasons with a bar chart. | SELECT year, COUNT(year) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' | [
15307,
502,
262,
8373,
286,
883,
812,
357,
8800,
614,
656,
614,
16654,
8,
326,
262,
1074,
6182,
2297,
10500,
654,
1839,
287,
262,
1281,
325,
2812,
351,
257,
2318,
8262,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
22905,
7054,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
8373,
286,
883,
812,
357,
8800,
614,
656,
614,
16654,
8,
326,
262,
1074,
6182,
2297,
10500,
654,
1839,
287,
262,
1281,
325,
2812,
351,
257,
2318,
8262,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
22905,
7054,... |
What was the date of vacancy when Viorel Moldovan replaced a manager? | SELECT date_of_vacancy FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan" | [
2061,
373,
262,
3128,
286,
39836,
618,
16049,
382,
75,
29684,
22590,
6928,
257,
4706,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
1558,
1157,
3270,
1120,
62,
17,
33411,
6928,
62,
1525,
796,
366,
38432,
382,
75,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
39836,
618,
16049,
382,
75,
29684,
22590,
6928,
257,
4706,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
1558,
1157,
3270,
1120,
62,
17,
33411,
6928,
62,
1525,
796,
366,
38432,
382,
75,
29... |
What is the value for 2007 when 2008 is Q1? | SELECT 2007 FROM table_name_68 WHERE 2008 = "q1" | [
2061,
318,
262,
1988,
329,
4343,
618,
3648,
318,
1195,
16,
30,
46506,
4343,
16034,
3084,
62,
3672,
62,
3104,
33411,
3648,
796,
366,
80,
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
] | [
2061,
318,
262,
1988,
329,
4343,
618,
3648,
318,
1195,
16,
30,
46506,
4343,
16034,
3084,
62,
3672,
62,
3104,
33411,
3648,
796,
366,
80,
16,
1
] |
Who was everyone first elected when incumbent was John J. Hemphill? | SELECT "First elected" FROM table_19246 WHERE "Incumbent" = 'John J. Hemphill' | [
8241,
373,
2506,
717,
7018,
618,
23526,
373,
1757,
449,
13,
15617,
746,
359,
30,
46506,
366,
5962,
7018,
1,
16034,
3084,
62,
1129,
26912,
33411,
366,
25517,
2178,
298,
1,
796,
705,
7554,
449,
13,
15617,
746,
359,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
2506,
717,
7018,
618,
23526,
373,
1757,
449,
13,
15617,
746,
359,
30,
46506,
366,
5962,
7018,
1,
16034,
3084,
62,
1129,
26912,
33411,
366,
25517,
2178,
298,
1,
796,
705,
7554,
449,
13,
15617,
746,
359,
6
] |
List the hardware model name for the phones that have screen mode type 'Text' or RAM size greater than 32. | SELECT T2.hardware_model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.graphics_mode WHERE T3.type = "Text" OR T1.ram_mib > 32 | [
8053,
262,
6890,
2746,
1438,
329,
262,
9512,
326,
423,
3159,
4235,
2099,
705,
8206,
6,
393,
13931,
2546,
3744,
621,
3933,
13,
46506,
309,
17,
13,
10424,
1574,
62,
19849,
62,
3672,
16034,
11594,
62,
19849,
7054,
309,
16,
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... | [
8053,
262,
6890,
2746,
1438,
329,
262,
9512,
326,
423,
3159,
4235,
2099,
705,
8206,
6,
393,
13931,
2546,
3744,
621,
3933,
13,
46506,
309,
17,
13,
10424,
1574,
62,
19849,
62,
3672,
16034,
11594,
62,
19849,
7054,
309,
16,
32357,
1268,
... |
What was the score when the away team was Collingwood? | SELECT away_team AS score FROM table_name_56 WHERE away_team = "collingwood" | [
2061,
373,
262,
4776,
618,
262,
1497,
1074,
373,
7778,
278,
3822,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3980,
33411,
1497,
62,
15097,
796,
366,
26000,
278,
3822,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
1497,
1074,
373,
7778,
278,
3822,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3980,
33411,
1497,
62,
15097,
796,
366,
26000,
278,
3822,
1
] |
What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type? | SELECT class FROM table_name_16 WHERE quantity_made = "1" AND type = "0-6-0t" | [
2061,
318,
262,
1398,
286,
262,
33334,
19138,
351,
257,
12040,
925,
286,
352,
290,
257,
657,
12,
21,
12,
15,
83,
2099,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
1433,
33411,
12040,
62,
9727,
796,
366,
16,
1,
5357,
2099,
796,
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
] | [
2061,
318,
262,
1398,
286,
262,
33334,
19138,
351,
257,
12040,
925,
286,
352,
290,
257,
657,
12,
21,
12,
15,
83,
2099,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
1433,
33411,
12040,
62,
9727,
796,
366,
16,
1,
5357,
2099,
796,
366... |
what is admission time and discharge time of subject name francis baseler? | SELECT demographic.admittime, demographic.dischtime FROM demographic WHERE demographic.name = "Francis Baseler" | [
10919,
318,
13938,
640,
290,
17655,
640,
286,
2426,
1438,
46754,
271,
1615,
417,
263,
30,
46506,
16728,
13,
324,
20124,
524,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
42885,
271,
6455,
417,
263,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
640,
290,
17655,
640,
286,
2426,
1438,
46754,
271,
1615,
417,
263,
30,
46506,
16728,
13,
324,
20124,
524,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
42885,
271,
6455,
417,
263,
1... |
What is the U.S. Christian with a Year that is 1989? | SELECT us AS Christian FROM table_name_92 WHERE year = 1989 | [
2061,
318,
262,
471,
13,
50,
13,
4302,
351,
257,
6280,
326,
318,
11104,
30,
46506,
514,
7054,
4302,
16034,
3084,
62,
3672,
62,
5892,
33411,
614,
796,
11104
] | [
1,
1,
1,
1,
1,
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,
471,
13,
50,
13,
4302,
351,
257,
6280,
326,
318,
11104,
30,
46506,
514,
7054,
4302,
16034,
3084,
62,
3672,
62,
5892,
33411,
614,
796,
11104
] |
What is the release date for the model with sspec number sla4h(m0)? | SELECT "Release date" FROM table_16910 WHERE "sSpec number" = 'SLA4H(M0)' | [
2061,
318,
262,
2650,
3128,
329,
262,
2746,
351,
264,
16684,
1271,
1017,
64,
19,
71,
7,
76,
15,
19427,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
22172,
940,
33411,
366,
82,
22882,
1271,
1,
796,
705,
8634,
32,
19,
39,
7,
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
] | [
2061,
318,
262,
2650,
3128,
329,
262,
2746,
351,
264,
16684,
1271,
1017,
64,
19,
71,
7,
76,
15,
19427,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
22172,
940,
33411,
366,
82,
22882,
1271,
1,
796,
705,
8634,
32,
19,
39,
7,
44,
1... |
In how many districts was the incumbent Estes Kefauver? | SELECT COUNT("District") FROM table_18626 WHERE "Incumbent" = 'Estes Kefauver' | [
818,
703,
867,
12815,
373,
262,
23526,
10062,
274,
509,
891,
559,
332,
30,
46506,
327,
28270,
7203,
44857,
4943,
16034,
3084,
62,
25096,
2075,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22362,
274,
509,
891,
559,
332,
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
] | [
818,
703,
867,
12815,
373,
262,
23526,
10062,
274,
509,
891,
559,
332,
30,
46506,
327,
28270,
7203,
44857,
4943,
16034,
3084,
62,
25096,
2075,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22362,
274,
509,
891,
559,
332,
6
] |
How many buildings are there? | SELECT COUNT(*) FROM building | [
2437,
867,
6832,
389,
612,
30,
46506,
327,
28270,
7,
28104,
16034,
2615
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
6832,
389,
612,
30,
46506,
327,
28270,
7,
28104,
16034,
2615
] |
Which character first appeared in Amazing Fantasy #15? | SELECT "Character(s)" FROM table_80248 WHERE "First Appearance" = 'amazing fantasy #15' | [
13828,
2095,
717,
4120,
287,
23181,
10982,
1303,
1314,
30,
46506,
366,
27275,
7,
82,
16725,
16034,
3084,
62,
1795,
23045,
33411,
366,
5962,
43436,
1,
796,
705,
321,
4070,
8842,
1303,
1314,
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
] | [
13828,
2095,
717,
4120,
287,
23181,
10982,
1303,
1314,
30,
46506,
366,
27275,
7,
82,
16725,
16034,
3084,
62,
1795,
23045,
33411,
366,
5962,
43436,
1,
796,
705,
321,
4070,
8842,
1303,
1314,
6
] |
When was there a Time of 18:00, and a Set 1 of 22 25? | SELECT "Date" FROM table_60575 WHERE "Time" = '18:00' AND "Set 1" = '22–25' | [
2215,
373,
612,
257,
3862,
286,
1248,
25,
405,
11,
290,
257,
5345,
352,
286,
2534,
1679,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
32417,
2425,
33411,
366,
7575,
1,
796,
705,
1507,
25,
405,
6,
5357,
366,
7248,
352,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
612,
257,
3862,
286,
1248,
25,
405,
11,
290,
257,
5345,
352,
286,
2534,
1679,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
32417,
2425,
33411,
366,
7575,
1,
796,
705,
1507,
25,
405,
6,
5357,
366,
7248,
352,
1,
796,
705,
... |
Which Location has an Event of king of the cage: flash point? | SELECT "Location" FROM table_5033 WHERE "Event" = 'king of the cage: flash point' | [
13828,
13397,
468,
281,
8558,
286,
5822,
286,
262,
17186,
25,
7644,
966,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
1120,
2091,
33411,
366,
9237,
1,
796,
705,
3364,
286,
262,
17186,
25,
7644,
966,
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
] | [
13828,
13397,
468,
281,
8558,
286,
5822,
286,
262,
17186,
25,
7644,
966,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
1120,
2091,
33411,
366,
9237,
1,
796,
705,
3364,
286,
262,
17186,
25,
7644,
966,
6
] |
What is the affiliation when the institution was ohio christian university? | SELECT "Affiliation" FROM table_73631 WHERE "Institution" = 'Ohio Christian University' | [
2061,
318,
262,
26218,
618,
262,
9901,
373,
11752,
952,
33826,
666,
6403,
30,
46506,
366,
35191,
15547,
1,
16034,
3084,
62,
49150,
3132,
33411,
366,
6310,
2738,
1,
796,
705,
31274,
4302,
2059,
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
] | [
2061,
318,
262,
26218,
618,
262,
9901,
373,
11752,
952,
33826,
666,
6403,
30,
46506,
366,
35191,
15547,
1,
16034,
3084,
62,
49150,
3132,
33411,
366,
6310,
2738,
1,
796,
705,
31274,
4302,
2059,
6
] |
what is the number of medicaid patients who have procedure icd9 code 7761? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicaid" AND procedures.icd9_code = "7761" | [
10919,
318,
262,
1271,
286,
6924,
1698,
3871,
508,
423,
8771,
14158,
67,
24,
2438,
767,
4304,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6924,
1698,
3871,
508,
423,
8771,
14158,
67,
24,
2438,
767,
4304,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,... |
Who was the highest drafted player that attended college at Virginia? | SELECT MAX("Pick") FROM table_7903 WHERE "College" = 'virginia' | [
8241,
373,
262,
4511,
15937,
2137,
326,
9141,
4152,
379,
6025,
30,
46506,
25882,
7203,
31686,
4943,
16034,
3084,
62,
3720,
3070,
33411,
366,
38951,
1,
796,
705,
85,
4672,
544,
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
] | [
8241,
373,
262,
4511,
15937,
2137,
326,
9141,
4152,
379,
6025,
30,
46506,
25882,
7203,
31686,
4943,
16034,
3084,
62,
3720,
3070,
33411,
366,
38951,
1,
796,
705,
85,
4672,
544,
6
] |
What was the date when Troy Murphy (15), got high rebounds? | SELECT "Date" FROM table_1667 WHERE "High rebounds" = 'Troy Murphy (15)' | [
2061,
373,
262,
3128,
618,
21439,
14424,
357,
1314,
828,
1392,
1029,
18841,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1433,
3134,
33411,
366,
11922,
18841,
1,
796,
705,
51,
3287,
14424,
357,
1314,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
618,
21439,
14424,
357,
1314,
828,
1392,
1029,
18841,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1433,
3134,
33411,
366,
11922,
18841,
1,
796,
705,
51,
3287,
14424,
357,
1314,
33047
] |
The PreMajor classes are ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
464,
3771,
24206,
6097,
389,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
6719,
24206... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3771,
24206,
6097,
389,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
6719,
24206... |
What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? | SELECT AVG("Lost") FROM table_8225 WHERE "Name" = 'ec amberg (n)' AND "Position" < '4' | [
2061,
318,
262,
2811,
9164,
326,
468,
257,
6530,
286,
9940,
716,
3900,
357,
77,
828,
290,
257,
23158,
4833,
621,
604,
30,
46506,
35224,
7203,
31042,
4943,
16034,
3084,
62,
6469,
1495,
33411,
366,
5376,
1,
796,
705,
721,
716,
3900,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
9164,
326,
468,
257,
6530,
286,
9940,
716,
3900,
357,
77,
828,
290,
257,
23158,
4833,
621,
604,
30,
46506,
35224,
7203,
31042,
4943,
16034,
3084,
62,
6469,
1495,
33411,
366,
5376,
1,
796,
705,
721,
716,
3900,
3... |
What are asashio's years? | SELECT "Years" FROM table_59243 WHERE "Name" = 'asashio' | [
2061,
389,
355,
1077,
952,
338,
812,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
3270,
26660,
33411,
366,
5376,
1,
796,
705,
292,
1077,
952,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
355,
1077,
952,
338,
812,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
3270,
26660,
33411,
366,
5376,
1,
796,
705,
292,
1077,
952,
6
] |
give me the number of patients whose religion is greek orthodox and diagnoses long title is physical restraints status? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "GREEK ORTHODOX" AND diagnoses.long_title = "Physical restraints status" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5737,
318,
308,
10316,
28299,
290,
40567,
890,
3670,
318,
3518,
45369,
3722,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
5737,
318,
308,
10316,
28299,
290,
40567,
890,
3670,
318,
3518,
45369,
3722,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
What is the TV Station of the episode with a Romaji Title of Tokkyuu Tanaka Sangou? | SELECT tv_station FROM table_name_84 WHERE romaji_title = "tokkyuu tanaka sangou" | [
2061,
318,
262,
3195,
9327,
286,
262,
4471,
351,
257,
3570,
26436,
11851,
286,
9453,
2584,
12303,
47825,
30043,
280,
30,
46506,
31557,
62,
17529,
16034,
3084,
62,
3672,
62,
5705,
33411,
9267,
26436,
62,
7839,
796,
366,
83,
482,
2584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3195,
9327,
286,
262,
4471,
351,
257,
3570,
26436,
11851,
286,
9453,
2584,
12303,
47825,
30043,
280,
30,
46506,
31557,
62,
17529,
16034,
3084,
62,
3672,
62,
5705,
33411,
9267,
26436,
62,
7839,
796,
366,
83,
482,
2584,
... |
Which team has a rank of 6? | SELECT team FROM table_name_43 WHERE rank = 6 | [
13828,
1074,
468,
257,
4279,
286,
718,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3559,
33411,
4279,
796,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
257,
4279,
286,
718,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3559,
33411,
4279,
796,
718
] |
What was the score when Stefan Edberg won? | SELECT score FROM table_name_64 WHERE winner = "stefan edberg" | [
2061,
373,
262,
4776,
618,
28842,
1717,
3900,
1839,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2414,
33411,
8464,
796,
366,
301,
891,
272,
1225,
3900,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
28842,
1717,
3900,
1839,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2414,
33411,
8464,
796,
366,
301,
891,
272,
1225,
3900,
1
] |
If the year is 2007, what is the top ten? | SELECT "Top 10s" FROM table_25431 WHERE "Year" = '2007' | [
1532,
262,
614,
318,
4343,
11,
644,
318,
262,
1353,
3478,
30,
46506,
366,
9126,
838,
82,
1,
16034,
3084,
62,
24970,
3132,
33411,
366,
17688,
1,
796,
705,
12726,
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
] | [
1532,
262,
614,
318,
4343,
11,
644,
318,
262,
1353,
3478,
30,
46506,
366,
9126,
838,
82,
1,
16034,
3084,
62,
24970,
3132,
33411,
366,
17688,
1,
796,
705,
12726,
6
] |
What is the fewest number of wins when he has 3 poles in 2010? | SELECT MIN(wins) FROM table_name_51 WHERE poles = 3 AND season = "2010" | [
2061,
318,
262,
1178,
395,
1271,
286,
7864,
618,
339,
468,
513,
24971,
287,
3050,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
24971,
796,
513,
5357,
1622,
796,
366,
10333,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1178,
395,
1271,
286,
7864,
618,
339,
468,
513,
24971,
287,
3050,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
24971,
796,
513,
5357,
1622,
796,
366,
10333,
1
] |
What is the average gold medals for countries with more than 0 bronze, more than 0 silver, rank over 2 and total over 3? | SELECT AVG("Gold") FROM table_74893 WHERE "Bronze" > '0' AND "Silver" > '0' AND "Rank" > '2' AND "Total" > '3' | [
2061,
318,
262,
2811,
3869,
28057,
329,
2678,
351,
517,
621,
657,
22101,
11,
517,
621,
657,
8465,
11,
4279,
625,
362,
290,
2472,
625,
513,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
48246,
6052,
33411,
366,
18760,
2736,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2811,
3869,
28057,
329,
2678,
351,
517,
621,
657,
22101,
11,
517,
621,
657,
8465,
11,
4279,
625,
362,
290,
2472,
625,
513,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
48246,
6052,
33411,
366,
18760,
2736,
1,
... |
Which Nationality has a Player of rudy poeschek? | SELECT nationality FROM table_name_51 WHERE player = "rudy poeschek" | [
13828,
2351,
414,
468,
257,
7853,
286,
28906,
88,
745,
274,
2395,
74,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
4349,
33411,
2137,
796,
366,
81,
463,
88,
745,
274,
2395,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2351,
414,
468,
257,
7853,
286,
28906,
88,
745,
274,
2395,
74,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
4349,
33411,
2137,
796,
366,
81,
463,
88,
745,
274,
2395,
74,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.