instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Show ids for all employees who don't have a certificate. | SELECT eid FROM employee EXCEPT SELECT eid FROM certificate | [
15307,
220,
2340,
329,
477,
4409,
508,
836,
470,
423,
257,
10703,
13,
46506,
304,
312,
16034,
6538,
7788,
42006,
33493,
304,
312,
16034,
10703
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
220,
2340,
329,
477,
4409,
508,
836,
470,
423,
257,
10703,
13,
46506,
304,
312,
16034,
6538,
7788,
42006,
33493,
304,
312,
16034,
10703
] |
What is the weekly rank of the episode with a 14 share whose original airdate was April 20, 2010? | SELECT "Weekly Rank" FROM table_3271 WHERE "Share" = '14' AND "Original Airdate" = 'April 20, 2010' | [
2061,
318,
262,
10273,
4279,
286,
262,
4471,
351,
257,
1478,
2648,
3025,
2656,
257,
1447,
378,
373,
3035,
1160,
11,
3050,
30,
46506,
366,
20916,
306,
10916,
1,
16034,
3084,
62,
18,
28977,
33411,
366,
11649,
1,
796,
705,
1415,
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
] | [
2061,
318,
262,
10273,
4279,
286,
262,
4471,
351,
257,
1478,
2648,
3025,
2656,
257,
1447,
378,
373,
3035,
1160,
11,
3050,
30,
46506,
366,
20916,
306,
10916,
1,
16034,
3084,
62,
18,
28977,
33411,
366,
11649,
1,
796,
705,
1415,
6,
535... |
Find new questions with no answers. | SELECT Posts.CreationDate, Posts.Id, Posts.Title, Posts.Tags, Posts.ViewCount, Posts.Body, Posts.OwnerUserId, Posts.OwnerDisplayName, Posts.Score, Posts.FavoriteCount, Posts.PostTypeId, Posts.LastEditDate, Posts.LastActivityDate, Posts.FavoriteCount, Posts.ClosedDate, Users.Reputation, Users.UpVotes, Users.DownVotes, U... | [
16742,
649,
2683,
351,
645,
7429,
13,
46506,
12043,
13,
12443,
341,
10430,
11,
12043,
13,
7390,
11,
12043,
13,
19160,
11,
12043,
13,
36142,
11,
12043,
13,
7680,
12332,
11,
12043,
13,
25842,
11,
12043,
13,
42419,
12982,
7390,
11,
12043... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
649,
2683,
351,
645,
7429,
13,
46506,
12043,
13,
12443,
341,
10430,
11,
12043,
13,
7390,
11,
12043,
13,
19160,
11,
12043,
13,
36142,
11,
12043,
13,
7680,
12332,
11,
12043,
13,
25842,
11,
12043,
13,
42419,
12982,
7390,
11,
12043... |
what was the first opponent oxford united f.c. defeated during the season ? | SELECT "opponent" FROM table_204_441 WHERE "result" > "result" ORDER BY "date" LIMIT 1 | [
10919,
373,
262,
717,
6125,
12018,
3841,
16503,
277,
13,
66,
13,
9772,
1141,
262,
1622,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
39710,
33411,
366,
20274,
1,
1875,
366,
20274,
1,
38678,
11050,
366,
4475,
1,
27564,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
12018,
3841,
16503,
277,
13,
66,
13,
9772,
1141,
262,
1622,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
39710,
33411,
366,
20274,
1,
1875,
366,
20274,
1,
38678,
11050,
366,
4475,
1,
27564,... |
provide the number of patients whose age is less than 80 and item id is 51108? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "80" AND lab.itemid = "51108" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
4019,
290,
2378,
4686,
318,
6885,
15711,
30,
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,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
4019,
290,
2378,
4686,
318,
6885,
15711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
1... |
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
13,
46506,
36210,
2200,
62,
35,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
13,
46506,
36210,
2200,
62,
35,... |
What is the Away team at the game with a Score of 1 0 and Attendance of 1,791? | SELECT "Away team" FROM table_63659 WHERE "Score" = '1 – 0' AND "Attendance" = '1,791' | [
2061,
318,
262,
21986,
1074,
379,
262,
983,
351,
257,
15178,
286,
352,
657,
290,
46502,
590,
286,
352,
11,
3720,
16,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
21,
2623,
3270,
33411,
366,
26595,
1,
796,
705,
16,
784,
657,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
21986,
1074,
379,
262,
983,
351,
257,
15178,
286,
352,
657,
290,
46502,
590,
286,
352,
11,
3720,
16,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
21,
2623,
3270,
33411,
366,
26595,
1,
796,
705,
16,
784,
657,... |
provide the number of patients whose drug code is rosi8 and lab test fluid is urine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "ROSI8" AND lab.fluid = "Urine" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
686,
13396,
23,
290,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
318,
686,
13396,
23,
290,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... |
Get answered questions per Tag. | SELECT COUNT(*) FROM Posts AS P WHERE P.Id IN (SELECT DISTINCT (PostId) FROM PostTags WHERE PostTags.TagId IN (SELECT Id FROM Tags WHERE TagName LIKE @TagName)) AND NOT P.AcceptedAnswerId IS NULL | [
3855,
9373,
2683,
583,
17467,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
7054,
350,
33411,
350,
13,
7390,
3268,
357,
46506,
360,
8808,
1268,
4177,
357,
6307,
7390,
8,
16034,
2947,
36142,
33411,
2947,
36142,
13,
24835,
7390,
3268,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
9373,
2683,
583,
17467,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
7054,
350,
33411,
350,
13,
7390,
3268,
357,
46506,
360,
8808,
1268,
4177,
357,
6307,
7390,
8,
16034,
2947,
36142,
33411,
2947,
36142,
13,
24835,
7390,
3268,
35... |
please list all flights tuesday DALLAS 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, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 22 AND date_day.month_number = 3 AND d... | [
29688,
1351,
477,
13956,
256,
3322,
360,
7036,
1921,
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,
31600,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
477,
13956,
256,
3322,
360,
7036,
1921,
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,
31600,
154... |
What year was the total 9? | SELECT year FROM table_name_9 WHERE total = "9" | [
2061,
614,
373,
262,
2472,
860,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
24,
33411,
2472,
796,
366,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
2472,
860,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
24,
33411,
2472,
796,
366,
24,
1
] |
Who is , was , or will be teaching Information Industry ? | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN course ON course.course_id = course_offering.course_id WHERE course.name L... | [
8241,
318,
837,
373,
837,
393,
481,
307,
7743,
6188,
17420,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
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... | [
8241,
318,
837,
373,
837,
393,
481,
307,
7743,
6188,
17420,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
62,... |
On what Date was the Venue in Carson? | SELECT "Date" FROM table_33894 WHERE "Venue" = 'carson' | [
2202,
644,
7536,
373,
262,
9932,
518,
287,
16787,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
4531,
19,
33411,
366,
37522,
518,
1,
796,
705,
66,
12613,
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,
644,
7536,
373,
262,
9932,
518,
287,
16787,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
4531,
19,
33411,
366,
37522,
518,
1,
796,
705,
66,
12613,
6
] |
how many patients whose days of hospital stay is greater than 2 and lab test fluid is other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "2" AND lab.fluid = "Other Body Fluid" | [
4919,
867,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
362,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
286,
4436,
2652,
318,
3744,
621,
362,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
22... |
did patient 032-3281 receive a diagnostic for s/p thoracoscopic procedure since 6 years ago? | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-3281')) AND diagnosis.diagnosisname = 's/p thoracoscopic procedure' AND ... | [
20839,
5827,
657,
2624,
12,
18,
30368,
3328,
257,
23584,
329,
264,
14,
79,
41899,
330,
48228,
8771,
1201,
718,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
657,
2624,
12,
18,
30368,
3328,
257,
23584,
329,
264,
14,
79,
41899,
330,
48228,
8771,
1201,
718,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
... |
who has written the most papers on syntactic parsing ? | SELECT DISTINCT COUNT(paper.paperid), writes.authorid FROM keyphrase, paper, paperkeyphrase, writes WHERE keyphrase.keyphrasename = 'syntactic parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY C... | [
8727,
468,
3194,
262,
749,
9473,
319,
7419,
12009,
32096,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
828,
6797,
13,
9800,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33411,
1994,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8727,
468,
3194,
262,
749,
9473,
319,
7419,
12009,
32096,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
828,
6797,
13,
9800,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33411,
1994,
... |
What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap? | SELECT "Report" FROM table_52283 WHERE "Pole Position" = 'mario andretti' AND "Fastest Lap" = 'jean-pierre jarier' | [
2061,
373,
262,
989,
618,
10682,
10948,
35671,
2714,
16825,
2292,
290,
11320,
12,
36910,
15374,
959,
550,
262,
14162,
14779,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
49542,
5999,
33411,
366,
47,
2305,
23158,
1,
796,
705,
3876,
952,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
989,
618,
10682,
10948,
35671,
2714,
16825,
2292,
290,
11320,
12,
36910,
15374,
959,
550,
262,
14162,
14779,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
49542,
5999,
33411,
366,
47,
2305,
23158,
1,
796,
705,
3876,
952,
... |
how many more years did d. v. graves serve compared to j. f. jenkins ? | SELECT (SELECT "years" FROM table_203_577 WHERE "coach" = 'd. v. graves') - (SELECT "years" FROM table_203_577 WHERE "coach" = 'j. f. jenkins') | [
4919,
867,
517,
812,
750,
288,
13,
410,
13,
30055,
4691,
3688,
284,
474,
13,
277,
13,
474,
268,
5331,
5633,
46506,
357,
46506,
366,
19002,
1,
16034,
3084,
62,
22416,
62,
49447,
33411,
366,
1073,
620,
1,
796,
705,
67,
13,
410,
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... | [
4919,
867,
517,
812,
750,
288,
13,
410,
13,
30055,
4691,
3688,
284,
474,
13,
277,
13,
474,
268,
5331,
5633,
46506,
357,
46506,
366,
19002,
1,
16034,
3084,
62,
22416,
62,
49447,
33411,
366,
1073,
620,
1,
796,
705,
67,
13,
410,
13,
... |
Draw a bar chart for how many players played each position?, display by the y-axis in ascending. | SELECT Position, COUNT(*) FROM match_season GROUP BY Position ORDER BY COUNT(*) | [
25302,
257,
2318,
8262,
329,
703,
867,
1938,
2826,
1123,
2292,
21747,
3359,
416,
262,
331,
12,
22704,
287,
41988,
13,
46506,
23158,
11,
327,
28270,
7,
28104,
16034,
2872,
62,
6230,
44441,
11050,
23158,
38678,
11050,
327,
28270,
7,
28104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
329,
703,
867,
1938,
2826,
1123,
2292,
21747,
3359,
416,
262,
331,
12,
22704,
287,
41988,
13,
46506,
23158,
11,
327,
28270,
7,
28104,
16034,
2872,
62,
6230,
44441,
11050,
23158,
38678,
11050,
327,
28270,
7,
28104... |
Which Against is the highest one that has a Drawn larger than 1, and a Team of corinthians, and a Played smaller than 7? | SELECT MAX(against) FROM table_name_31 WHERE drawn > 1 AND team = "corinthians" AND played < 7 | [
13828,
12914,
318,
262,
4511,
530,
326,
468,
257,
50061,
4025,
621,
352,
11,
290,
257,
4816,
286,
1162,
9304,
1547,
11,
290,
257,
33101,
4833,
621,
767,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
7428,
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
] | [
13828,
12914,
318,
262,
4511,
530,
326,
468,
257,
50061,
4025,
621,
352,
11,
290,
257,
4816,
286,
1162,
9304,
1547,
11,
290,
257,
33101,
4833,
621,
767,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
7428,
18... |
Question Views by Hour (last 2 years). | SELECT DATEPART(hour, CreationDate) AS Hour, AVG(CAST(ViewCount AS FLOAT)) AS "average_views" FROM Posts WHERE PostTypeId = 1 AND CreationDate > DATEADD(year, -2, GETUTCDATE()) GROUP BY DATEPART(hour, CreationDate) ORDER BY Hour | [
24361,
29978,
416,
19123,
357,
12957,
362,
812,
737,
46506,
360,
6158,
30709,
7,
9769,
11,
21582,
10430,
8,
7054,
19123,
11,
35224,
7,
44647,
7,
7680,
12332,
7054,
9977,
46,
1404,
4008,
7054,
366,
23913,
62,
33571,
1,
16034,
12043,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24361,
29978,
416,
19123,
357,
12957,
362,
812,
737,
46506,
360,
6158,
30709,
7,
9769,
11,
21582,
10430,
8,
7054,
19123,
11,
35224,
7,
44647,
7,
7680,
12332,
7054,
9977,
46,
1404,
4008,
7054,
366,
23913,
62,
33571,
1,
16034,
12043,
33... |
Find users by exact location. | SELECT * FROM Users WHERE UPPER(Location) = UPPER('##location##') AND (Reputation BETWEEN 100 AND 10000) AND AboutMe LIKE '%20 year%' | [
16742,
2985,
416,
2748,
4067,
13,
46506,
1635,
16034,
18987,
33411,
471,
10246,
1137,
7,
14749,
8,
796,
471,
10246,
1137,
10786,
2235,
24886,
2235,
11537,
5357,
357,
6207,
7094,
38651,
8845,
1677,
1802,
5357,
33028,
8,
5357,
7994,
5308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2985,
416,
2748,
4067,
13,
46506,
1635,
16034,
18987,
33411,
471,
10246,
1137,
7,
14749,
8,
796,
471,
10246,
1137,
10786,
2235,
24886,
2235,
11537,
5357,
357,
6207,
7094,
38651,
8845,
1677,
1802,
5357,
33028,
8,
5357,
7994,
5308,
... |
Lista de respostas positivas em perguntas negativas. | SELECT p.Id AS "post_link", p.Score AS "score_pergunta", r.Score AS "score_resposta", r.CreationDate AS "data_resposta" FROM Posts AS p INNER JOIN Posts AS r ON p.Id = r.ParentId WHERE p.PostTypeId = 1 AND p.Score < 0 AND r.Score > 0 AND NOT p.ClosedDate IS NULL ORDER BY r.CreationDate DESC, r.Score DESC | [
8053,
64,
390,
1217,
455,
292,
46436,
38630,
795,
583,
70,
2797,
292,
2469,
265,
38630,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
7054,
366,
26675,
62,
525,
70,
44424,
1600,
374,
13,
26595,
7054,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
64,
390,
1217,
455,
292,
46436,
38630,
795,
583,
70,
2797,
292,
2469,
265,
38630,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
7054,
366,
26675,
62,
525,
70,
44424,
1600,
374,
13,
26595,
7054,
366... |
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9? | SELECT SUM("Final") FROM table_60944 WHERE "Place" > '2' AND "Nation" = 'finland' AND "All Around" > '18.9' | [
2061,
318,
262,
2160,
286,
262,
2457,
329,
957,
1044,
11,
508,
4624,
3744,
621,
362,
290,
550,
281,
477,
1088,
4025,
621,
1248,
13,
24,
30,
46506,
35683,
7203,
19006,
4943,
16034,
3084,
62,
31751,
2598,
33411,
366,
27271,
1,
1875,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2160,
286,
262,
2457,
329,
957,
1044,
11,
508,
4624,
3744,
621,
362,
290,
550,
281,
477,
1088,
4025,
621,
1248,
13,
24,
30,
46506,
35683,
7203,
19006,
4943,
16034,
3084,
62,
31751,
2598,
33411,
366,
27271,
1,
1875,
7... |
Name the segment d for s cufflink | SELECT segment_d FROM table_15187735_18 WHERE segment_a = "s Cufflink" | [
5376,
262,
10618,
288,
329,
264,
47291,
8726,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1507,
33411,
10618,
62,
64,
796,
366,
82,
327,
1648,
8726,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
10618,
288,
329,
264,
47291,
8726,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1507,
33411,
10618,
62,
64,
796,
366,
82,
327,
1648,
8726,
1
] |
What were the high points on june 20? | SELECT high_points FROM table_name_36 WHERE date = "june 20" | [
2061,
547,
262,
1029,
2173,
319,
474,
1726,
1160,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
73,
1726,
1160,
1
] | [
1,
1,
1,
1,
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,
547,
262,
1029,
2173,
319,
474,
1726,
1160,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
73,
1726,
1160,
1
] |
On what Date was the Record 9 6 4? | SELECT "Date" FROM table_37198 WHERE "Record" = '9–6–4' | [
2202,
644,
7536,
373,
262,
13266,
860,
718,
604,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2718,
22337,
33411,
366,
23739,
1,
796,
705,
24,
1906,
21,
1906,
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
] | [
2202,
644,
7536,
373,
262,
13266,
860,
718,
604,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2718,
22337,
33411,
366,
23739,
1,
796,
705,
24,
1906,
21,
1906,
19,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the email , display names in ascending order. | SELECT EMAIL, EMPLOYEE_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,
1577,
502,
262,
7208,
546,
6538,
62,
312,
625,
262,
3053,
837,
3359,
3891,
287,
41988,
1502,
13,
46506,
412,
5673,
4146,
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... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
6538,
62,
312,
625,
262,
3053,
837,
3359,
3891,
287,
41988,
1502,
13,
46506,
412,
5673,
4146,
11,... |
how many patients whose age is less than 58 and procedure short title is atrial cardioversion? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "58" AND procedures.short_title = "Atrial cardioversion" | [
4919,
867,
3871,
3025,
2479,
318,
1342,
621,
7618,
290,
8771,
1790,
3670,
318,
379,
4454,
47926,
9641,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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,
1... | [
4919,
867,
3871,
3025,
2479,
318,
1342,
621,
7618,
290,
8771,
1790,
3670,
318,
379,
4454,
47926,
9641,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
1... |
how many office admitted patients have aortic valve insufficiency/aortic valve replacement/sda primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "AORTIC VALVE INSUFFIENCY\AORTIC VALVE REPLACEMENT /SDA" | [
4919,
867,
2607,
6848,
3871,
423,
257,
419,
291,
22580,
1035,
1648,
19777,
14,
64,
419,
291,
22580,
9014,
14,
82,
6814,
4165,
4369,
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,
1... | [
4919,
867,
2607,
6848,
3871,
423,
257,
419,
291,
22580,
1035,
1648,
19777,
14,
64,
419,
291,
22580,
9014,
14,
82,
6814,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
1... |
How many assists did the player who had 121 rebounds have? | SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121 | [
2437,
867,
13648,
750,
262,
2137,
508,
550,
20416,
18841,
423,
30,
46506,
25882,
7,
562,
1023,
8,
16034,
3084,
62,
23045,
1120,
35133,
62,
20,
33411,
18841,
796,
20416
] | [
1,
1,
1,
1,
1,
1,
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,
13648,
750,
262,
2137,
508,
550,
20416,
18841,
423,
30,
46506,
25882,
7,
562,
1023,
8,
16034,
3084,
62,
23045,
1120,
35133,
62,
20,
33411,
18841,
796,
20416
] |
What are the number of the completion dates of all the tests that have result 'Fail'?, show from high to low by the Y. | SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" ORDER BY COUNT(date_of_completion) DESC | [
2061,
389,
262,
1271,
286,
262,
11939,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
39044,
6,
21747,
905,
422,
1029,
284,
1877,
416,
262,
575,
13,
46506,
3128,
62,
1659,
62,
785,
24547,
11,
327,
28270,
7,
4475,
62,
1659,
62,
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,
1,
1,
1,
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,
262,
11939,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
39044,
6,
21747,
905,
422,
1029,
284,
1877,
416,
262,
575,
13,
46506,
3128,
62,
1659,
62,
785,
24547,
11,
327,
28270,
7,
4475,
62,
1659,
62,
78... |
What is the nickname of the boy who weighed 810g (26.0 oz.) at birth? | SELECT nickname FROM table_name_64 WHERE gender = "boy" AND weight_at_birth = "810g (26.0 oz.)" | [
2061,
318,
262,
21814,
286,
262,
2933,
508,
20261,
807,
940,
70,
357,
2075,
13,
15,
15649,
2014,
379,
4082,
30,
46506,
21814,
16034,
3084,
62,
3672,
62,
2414,
33411,
5279,
796,
366,
7081,
1,
5357,
3463,
62,
265,
62,
24280,
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,
1
] | [
2061,
318,
262,
21814,
286,
262,
2933,
508,
20261,
807,
940,
70,
357,
2075,
13,
15,
15649,
2014,
379,
4082,
30,
46506,
21814,
16034,
3084,
62,
3672,
62,
2414,
33411,
5279,
796,
366,
7081,
1,
5357,
3463,
62,
265,
62,
24280,
796,
366,... |
What is the full name and id of the customer who has the lowest total amount of payment? | SELECT T1.first_name, T1.last_name, T1.customer_id FROM customer AS T1 JOIN payment AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY SUM(amount) LIMIT 1 | [
2061,
318,
262,
1336,
1438,
290,
4686,
286,
262,
6491,
508,
468,
262,
9016,
2472,
2033,
286,
6074,
30,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
11,
309,
16,
13,
23144,
263,
62,
312,
16034,
6491,
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... | [
2061,
318,
262,
1336,
1438,
290,
4686,
286,
262,
6491,
508,
468,
262,
9016,
2472,
2033,
286,
6074,
30,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
11,
309,
16,
13,
23144,
263,
62,
312,
16034,
6491,
7054,... |
When did the venue of round 3 happen? | SELECT date FROM table_name_23 WHERE venue = "round 3" | [
2215,
750,
262,
14359,
286,
2835,
513,
1645,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
744,
513,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
262,
14359,
286,
2835,
513,
1645,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
744,
513,
1
] |
which event lasted the longest time ? | SELECT "event" FROM table_204_53 ORDER BY "time" DESC LIMIT 1 | [
4758,
1785,
15436,
262,
14069,
640,
5633,
46506,
366,
15596,
1,
16034,
3084,
62,
18638,
62,
4310,
38678,
11050,
366,
2435,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1785,
15436,
262,
14069,
640,
5633,
46506,
366,
15596,
1,
16034,
3084,
62,
18638,
62,
4310,
38678,
11050,
366,
2435,
1,
22196,
34,
27564,
2043,
352
] |
Can you tell me the sum of Pick # that has the Position of sb, and the College of minnesota? | SELECT SUM(pick__number) FROM table_name_20 WHERE position = "sb" AND college = "minnesota" | [
6090,
345,
1560,
502,
262,
2160,
286,
12346,
1303,
326,
468,
262,
23158,
286,
264,
65,
11,
290,
262,
5535,
286,
949,
8360,
30,
46506,
35683,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
2292,
796,
366,
36299,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2160,
286,
12346,
1303,
326,
468,
262,
23158,
286,
264,
65,
11,
290,
262,
5535,
286,
949,
8360,
30,
46506,
35683,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
2292,
796,
366,
36299,
1,
... |
What was the attendance when their record stood at 0-2-2? | SELECT SUM(attendance) FROM table_name_5 WHERE record = "0-2-2" | [
2061,
373,
262,
14858,
618,
511,
1700,
6204,
379,
657,
12,
17,
12,
17,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
20,
33411,
1700,
796,
366,
15,
12,
17,
12,
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
] | [
2061,
373,
262,
14858,
618,
511,
1700,
6204,
379,
657,
12,
17,
12,
17,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
20,
33411,
1700,
796,
366,
15,
12,
17,
12,
17,
1
] |
whats the minimum systemicdiastolic since 28 days ago for patient 005-87465. | SELECT MIN(vitalperiodic.systemicdiastolic) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-87465')) AND NOT vitalperiodic.systemicd... | [
1929,
1381,
262,
5288,
21971,
10989,
459,
4160,
1201,
2579,
1528,
2084,
329,
5827,
3571,
20,
12,
23,
4524,
2996,
13,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
8,
16034,
9204,
41007,
291,
33411,
9204,
410... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1929,
1381,
262,
5288,
21971,
10989,
459,
4160,
1201,
2579,
1528,
2084,
329,
5827,
3571,
20,
12,
23,
4524,
2996,
13,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
8,
16034,
9204,
41007,
291,
33411,
9204,
410... |
How many patients on urgent admission had morbid obesity/sda as their primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.diagnosis = "MORBID OBESITY/SDA" | [
2437,
867,
3871,
319,
18039,
13938,
550,
34813,
13825,
14,
82,
6814,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
3871,
319,
18039,
13938,
550,
34813,
13825,
14,
82,
6814,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
... |
I would like to know the names of courses that are worth 16 credits . | SELECT DISTINCT name, number FROM course WHERE credits = 16 AND department = 'EECS' | [
40,
561,
588,
284,
760,
262,
3891,
286,
10902,
326,
389,
2861,
1467,
10824,
764,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
1467,
5357,
5011,
796,
705,
36,
2943,
50,
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
] | [
40,
561,
588,
284,
760,
262,
3891,
286,
10902,
326,
389,
2861,
1467,
10824,
764,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
1467,
5357,
5011,
796,
705,
36,
2943,
50,
6
] |
what is the earliest flight leaving BOSTON and arriving in ATLANTA on 11 7 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 7 AND date_day.month_number = 11 AND ... | [
10919,
318,
262,
14555,
5474,
4305,
347,
10892,
1340,
290,
14820,
287,
5161,
25697,
5603,
319,
1367,
767,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
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... | [
10919,
318,
262,
14555,
5474,
4305,
347,
10892,
1340,
290,
14820,
287,
5161,
25697,
5603,
319,
1367,
767,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... |
Name the high points for march 30 | SELECT high_points FROM table_27723526_12 WHERE date = "March 30" | [
5376,
262,
1029,
2173,
329,
9960,
1542,
46506,
1029,
62,
13033,
16034,
3084,
62,
27019,
22370,
2075,
62,
1065,
33411,
3128,
796,
366,
16192,
1542,
1
] | [
1,
1,
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,
1029,
2173,
329,
9960,
1542,
46506,
1029,
62,
13033,
16034,
3084,
62,
27019,
22370,
2075,
62,
1065,
33411,
3128,
796,
366,
16192,
1542,
1
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a line chart about the change of manager_id over hire_date . | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
4706,
62,
312,
625,
11078,
62,
4475... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
4706,
62,
312,
625,
11078,
62,
4475... |
What is the rank of the team having 3 bronzes and 0 silver? | SELECT "Rank" FROM table_6352 WHERE "Bronze" = '3' AND "Silver" = '0' | [
2061,
318,
262,
4279,
286,
262,
1074,
1719,
513,
18443,
12271,
290,
657,
8465,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
21,
33394,
33411,
366,
18760,
2736,
1,
796,
705,
18,
6,
5357,
366,
26766,
1,
796,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
286,
262,
1074,
1719,
513,
18443,
12271,
290,
657,
8465,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
21,
33394,
33411,
366,
18760,
2736,
1,
796,
705,
18,
6,
5357,
366,
26766,
1,
796,
705,
15,
6
] |
display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M. | SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%' | [
13812,
262,
1336,
1438,
357,
11085,
290,
938,
828,
11078,
3128,
11,
9588,
11,
290,
5011,
1271,
329,
883,
4409,
3025,
717,
1438,
857,
407,
7268,
262,
3850,
337,
13,
46506,
717,
62,
3672,
11,
938,
62,
3672,
11,
11078,
62,
4475,
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
] | [
13812,
262,
1336,
1438,
357,
11085,
290,
938,
828,
11078,
3128,
11,
9588,
11,
290,
5011,
1271,
329,
883,
4409,
3025,
717,
1438,
857,
407,
7268,
262,
3850,
337,
13,
46506,
717,
62,
3672,
11,
938,
62,
3672,
11,
11078,
62,
4475,
11,
... |
Count the average age of patients who are still living with a known history of st elevation myocardial infarction/cardiac catheterization as the primary disease. | SELECT AVG(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" | [
12332,
262,
2811,
2479,
286,
3871,
508,
389,
991,
2877,
351,
257,
1900,
2106,
286,
336,
22910,
616,
44412,
498,
1167,
283,
596,
14,
9517,
9607,
3797,
43332,
1634,
355,
262,
4165,
4369,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
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... | [
12332,
262,
2811,
2479,
286,
3871,
508,
389,
991,
2877,
351,
257,
1900,
2106,
286,
336,
22910,
616,
44412,
498,
1167,
283,
596,
14,
9517,
9607,
3797,
43332,
1634,
355,
262,
4165,
4369,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16... |
Can you tell me the Score that has the High assists of rafer alston (8)? | SELECT score FROM table_name_41 WHERE high_assists = "rafer alston (8)" | [
6090,
345,
1560,
502,
262,
15178,
326,
468,
262,
3334,
13648,
286,
374,
34659,
435,
3743,
357,
23,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
3901,
33411,
1029,
62,
562,
1023,
796,
366,
430,
2232,
435,
3743,
357,
23,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
15178,
326,
468,
262,
3334,
13648,
286,
374,
34659,
435,
3743,
357,
23,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
3901,
33411,
1029,
62,
562,
1023,
796,
366,
430,
2232,
435,
3743,
357,
23,
16725
] |
What is the tyres for Didier pironi? | SELECT "Tyres" FROM table_52991 WHERE "Driver" = 'didier pironi' | [
2061,
318,
262,
40498,
329,
7731,
959,
279,
1934,
72,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
49721,
6420,
33411,
366,
32103,
1,
796,
705,
20839,
959,
279,
1934,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
40498,
329,
7731,
959,
279,
1934,
72,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
49721,
6420,
33411,
366,
32103,
1,
796,
705,
20839,
959,
279,
1934,
72,
6
] |
What was the least attendance when the time was 3:15? | SELECT MIN(attendance) FROM table_name_10 WHERE time = "3:15" | [
2061,
373,
262,
1551,
14858,
618,
262,
640,
373,
513,
25,
1314,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
640,
796,
366,
18,
25,
1314,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
14858,
618,
262,
640,
373,
513,
25,
1314,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
640,
796,
366,
18,
25,
1314,
1
] |
indicate the daily average arterial bp [systolic] of patient 9566 on the current icu visit. | SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 9566) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items... | [
521,
5344,
262,
4445,
2811,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
6957,
2791,
319,
262,
1459,
14158,
84,
3187,
13,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
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... | [
521,
5344,
262,
4445,
2811,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
6957,
2791,
319,
262,
1459,
14158,
84,
3187,
13,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
... |
Round 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place? | SELECT COUNT(place) FROM table_name_40 WHERE round_1 = "beat lee janzen 3&2" AND year < 1998 | [
22685,
352,
286,
4405,
443,
68,
42897,
4801,
513,
5,
17,
11,
290,
257,
6280,
4833,
621,
7795,
468,
644,
2472,
1271,
286,
1295,
30,
46506,
327,
28270,
7,
5372,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2835,
62,
16,
796,
366,
1294... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22685,
352,
286,
4405,
443,
68,
42897,
4801,
513,
5,
17,
11,
290,
257,
6280,
4833,
621,
7795,
468,
644,
2472,
1271,
286,
1295,
30,
46506,
327,
28270,
7,
5372,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2835,
62,
16,
796,
366,
1294... |
Pie chart. how old is the youngest person for each job? | SELECT job, MIN(age) FROM Person GROUP BY job | [
48223,
8262,
13,
703,
1468,
318,
262,
18887,
1048,
329,
1123,
1693,
30,
46506,
1693,
11,
20625,
7,
496,
8,
16034,
7755,
44441,
11050,
1693
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
48223,
8262,
13,
703,
1468,
318,
262,
18887,
1048,
329,
1123,
1693,
30,
46506,
1693,
11,
20625,
7,
496,
8,
16034,
7755,
44441,
11050,
1693
] |
How many games for keith j. miller, who debuted after 1974 with less than 1 goal? | SELECT AVG("Games") FROM table_56791 WHERE "Goals" < '1' AND "Player" = 'keith j. miller' AND "Debut year" > '1974' | [
2437,
867,
1830,
329,
885,
342,
474,
13,
3939,
263,
11,
508,
26376,
706,
16489,
351,
1342,
621,
352,
3061,
30,
46506,
35224,
7203,
24474,
4943,
16034,
3084,
62,
20,
3134,
6420,
33411,
366,
5247,
874,
1,
1279,
705,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
1830,
329,
885,
342,
474,
13,
3939,
263,
11,
508,
26376,
706,
16489,
351,
1342,
621,
352,
3061,
30,
46506,
35224,
7203,
24474,
4943,
16034,
3084,
62,
20,
3134,
6420,
33411,
366,
5247,
874,
1,
1279,
705,
16,
6,
5357,
366,
... |
how many times is the rank less than 6, certification 2x platinum and the peak position 2? | SELECT COUNT("Sales") FROM table_14042 WHERE "Rank" < '6' AND "Certification" = '2x platinum' AND "Peak position" = '2' | [
4919,
867,
1661,
318,
262,
4279,
1342,
621,
718,
11,
18094,
362,
87,
36516,
290,
262,
9103,
2292,
362,
30,
46506,
327,
28270,
7203,
44490,
4943,
16034,
3084,
62,
1415,
3023,
17,
33411,
366,
27520,
1,
1279,
705,
21,
6,
5357,
366,
376... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
4279,
1342,
621,
718,
11,
18094,
362,
87,
36516,
290,
262,
9103,
2292,
362,
30,
46506,
327,
28270,
7203,
44490,
4943,
16034,
3084,
62,
1415,
3023,
17,
33411,
366,
27520,
1,
1279,
705,
21,
6,
5357,
366,
376... |
What is the total attendance in a week less than 5 when the result was l 24-20? | SELECT COUNT("Attendance") FROM table_48710 WHERE "Result" = 'l 24-20' AND "Week" < '5' | [
2061,
318,
262,
2472,
14858,
287,
257,
1285,
1342,
621,
642,
618,
262,
1255,
373,
300,
1987,
12,
1238,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
35133,
940,
33411,
366,
23004,
1,
796,
705,
75,
1987,
12,
123... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
14858,
287,
257,
1285,
1342,
621,
642,
618,
262,
1255,
373,
300,
1987,
12,
1238,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
35133,
940,
33411,
366,
23004,
1,
796,
705,
75,
1987,
12,
123... |
when was the first time that liposomal cytarabine (depocyt) was prescribed to patient 64538? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64538) AND prescriptions.drug = 'liposomal cytarabine (depocyt)' ORDER BY prescriptions.startdate LIMIT 1 | [
12518,
373,
262,
717,
640,
326,
10645,
418,
18048,
3075,
18870,
397,
500,
357,
10378,
13733,
83,
8,
373,
14798,
284,
5827,
718,
2231,
2548,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
717,
640,
326,
10645,
418,
18048,
3075,
18870,
397,
500,
357,
10378,
13733,
83,
8,
373,
14798,
284,
5827,
718,
2231,
2548,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
35... |
What is the Translated Title of Steinulven? | SELECT "Translated title" FROM table_10455 WHERE "Norwegian title" = 'steinulven' | [
2061,
318,
262,
3602,
17249,
11851,
286,
15215,
377,
574,
30,
46506,
366,
8291,
17249,
3670,
1,
16034,
3084,
62,
940,
30505,
33411,
366,
21991,
20684,
3670,
1,
796,
705,
5714,
377,
574,
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,
262,
3602,
17249,
11851,
286,
15215,
377,
574,
30,
46506,
366,
8291,
17249,
3670,
1,
16034,
3084,
62,
940,
30505,
33411,
366,
21991,
20684,
3670,
1,
796,
705,
5714,
377,
574,
6
] |
which episode was Transmitted on wednesday if the episode of '438 magic: the gathering mini masters tournament' was transmitted on thursday? | SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering Mini Masters Tournament" | [
4758,
4471,
373,
3602,
3291,
319,
29445,
3462,
611,
262,
4471,
286,
705,
43704,
5536,
25,
262,
11228,
9927,
18159,
7756,
6,
373,
18307,
319,
294,
3479,
30,
46506,
29445,
3462,
16034,
3084,
62,
1507,
1558,
2670,
1433,
62,
23,
33411,
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
] | [
4758,
4471,
373,
3602,
3291,
319,
29445,
3462,
611,
262,
4471,
286,
705,
43704,
5536,
25,
262,
11228,
9927,
18159,
7756,
6,
373,
18307,
319,
294,
3479,
30,
46506,
29445,
3462,
16034,
3084,
62,
1507,
1558,
2670,
1433,
62,
23,
33411,
29... |
how many patients are taking indomethacin medication? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Indomethacin" | [
4919,
867,
3871,
389,
2263,
773,
908,
71,
330,
259,
14103,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2263,
773,
908,
71,
330,
259,
14103,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
... |
what is the number of patients whose year of birth is less than 2043 and lab test fluid is urine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2043" AND lab.fluid = "Urine" | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
3559,
290,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
3559,
290,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... |
What was the tries against when the drawn was 2? | SELECT tries_against FROM table_12792876_3 WHERE drawn = "2" | [
2061,
373,
262,
8404,
1028,
618,
262,
7428,
373,
362,
30,
46506,
8404,
62,
32826,
16034,
3084,
62,
1065,
3720,
2078,
4304,
62,
18,
33411,
7428,
796,
366,
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
] | [
2061,
373,
262,
8404,
1028,
618,
262,
7428,
373,
362,
30,
46506,
8404,
62,
32826,
16034,
3084,
62,
1065,
3720,
2078,
4304,
62,
18,
33411,
7428,
796,
366,
17,
1
] |
Name the segment d for bowling balls | SELECT segment_d FROM table_15187735_13 WHERE segment_a = "Bowling Balls" | [
5376,
262,
10618,
288,
329,
33564,
11333,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1485,
33411,
10618,
62,
64,
796,
366,
39961,
1359,
39332,
1
] | [
1,
1,
1,
1,
1,
1,
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,
10618,
288,
329,
33564,
11333,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1485,
33411,
10618,
62,
64,
796,
366,
39961,
1359,
39332,
1
] |
What's the total against for opposing team scotland at twickenham, london venue with a status of five nations? | SELECT COUNT(against) FROM table_name_6 WHERE status = "five nations" AND venue = "twickenham, london" AND opposing_teams = "scotland" | [
2061,
338,
262,
2472,
1028,
329,
12330,
1074,
629,
313,
1044,
379,
665,
5973,
2763,
11,
300,
3391,
14359,
351,
257,
3722,
286,
1936,
7027,
30,
46506,
327,
28270,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3722,
796,
366,
132... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1028,
329,
12330,
1074,
629,
313,
1044,
379,
665,
5973,
2763,
11,
300,
3391,
14359,
351,
257,
3722,
286,
1936,
7027,
30,
46506,
327,
28270,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3722,
796,
366,
132... |
Catalog Nebdj068 was released when? | SELECT date FROM table_name_26 WHERE catalog = "nebdj068" | [
49015,
29837,
28241,
15,
3104,
373,
2716,
618,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2075,
33411,
18388,
796,
366,
710,
17457,
73,
15,
3104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
49015,
29837,
28241,
15,
3104,
373,
2716,
618,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2075,
33411,
18388,
796,
366,
710,
17457,
73,
15,
3104,
1
] |
provide the number of patients whose diagnoses long title is candidiasis of mouth and lab test fluid is blood? | 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.long_title = "Candidiasis of mouth" AND lab.fluid = "Blood" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
2960,
48455,
286,
5422,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
2960,
48455,
286,
5422,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
Name the sum of year for olimpija ljubljana with height less than 2.04 | SELECT SUM("Year born") FROM table_70323 WHERE "Current Club" = 'olimpija ljubljana' AND "Height" < '2.04' | [
5376,
262,
2160,
286,
614,
329,
267,
2475,
79,
34655,
300,
73,
549,
75,
73,
2271,
351,
6001,
1342,
621,
362,
13,
3023,
46506,
35683,
7203,
17688,
4642,
4943,
16034,
3084,
62,
2154,
32637,
33411,
366,
11297,
6289,
1,
796,
705,
349,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2160,
286,
614,
329,
267,
2475,
79,
34655,
300,
73,
549,
75,
73,
2271,
351,
6001,
1342,
621,
362,
13,
3023,
46506,
35683,
7203,
17688,
4642,
4943,
16034,
3084,
62,
2154,
32637,
33411,
366,
11297,
6289,
1,
796,
705,
349,
1... |
How many days did Morgan Mcgee stay in the hospital? | SELECT demographic.days_stay FROM demographic WHERE demographic.name = "Morgan Mcgee" | [
2437,
867,
1528,
750,
10805,
1982,
29622,
2652,
287,
262,
4436,
30,
46506,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
47184,
1982,
29622,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1528,
750,
10805,
1982,
29622,
2652,
287,
262,
4436,
30,
46506,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
47184,
1982,
29622,
1
] |
What IATA has queensland as the state/territory and an ICAO of ybrk? | SELECT "IATA" FROM table_36857 WHERE "State/Territory" = 'queensland' AND "ICAO" = 'ybrk' | [
2061,
314,
13563,
468,
38771,
1044,
355,
262,
1181,
14,
353,
799,
652,
290,
281,
314,
8141,
46,
286,
331,
1671,
74,
30,
46506,
366,
40,
13563,
1,
16034,
3084,
62,
27412,
3553,
33411,
366,
9012,
14,
15156,
799,
652,
1,
796,
705,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
314,
13563,
468,
38771,
1044,
355,
262,
1181,
14,
353,
799,
652,
290,
281,
314,
8141,
46,
286,
331,
1671,
74,
30,
46506,
366,
40,
13563,
1,
16034,
3084,
62,
27412,
3553,
33411,
366,
9012,
14,
15156,
799,
652,
1,
796,
705,
41... |
Visualize a bar chart for how many authors submit to the workshop, and list bars in asc order. | SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY Author | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
7035,
9199,
284,
262,
20243,
11,
290,
1351,
9210,
287,
10570,
1502,
13,
46506,
6434,
11,
327,
28270,
7,
13838,
8,
16034,
14498,
44441,
11050,
6434,
38678,
11050,
6434
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
7035,
9199,
284,
262,
20243,
11,
290,
1351,
9210,
287,
10570,
1502,
13,
46506,
6434,
11,
327,
28270,
7,
13838,
8,
16034,
14498,
44441,
11050,
6434,
38678,
11050,
6434
] |
What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma? | SELECT MIN(attendance) FROM table_name_67 WHERE h___a = "h" AND opponents = "roma" | [
2061,
318,
262,
18197,
1271,
286,
661,
284,
5262,
257,
983,
351,
281,
367,
14,
32,
286,
289,
290,
262,
6125,
373,
29600,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
289,
17569,
64,
796,
366,
71,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18197,
1271,
286,
661,
284,
5262,
257,
983,
351,
281,
367,
14,
32,
286,
289,
290,
262,
6125,
373,
29600,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
289,
17569,
64,
796,
366,
71,... |
When the production (mt) is 650000, what is the total number of rank? | SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000 | [
2215,
262,
3227,
357,
16762,
8,
318,
6135,
2388,
11,
644,
318,
262,
2472,
1271,
286,
4279,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
2481,
940,
4089,
5892,
62,
16,
33411,
3227,
834,
16762,
62,
796,
6135,
2388
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
357,
16762,
8,
318,
6135,
2388,
11,
644,
318,
262,
2472,
1271,
286,
4279,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
2481,
940,
4089,
5892,
62,
16,
33411,
3227,
834,
16762,
62,
796,
6135,
2388
] |
Show the shipping charge and customer id for customer orders with order status Cancelled or Paid. | SELECT order_shipping_charges, customer_id FROM customer_orders WHERE order_status_code = 'Cancelled' OR order_status_code = 'Paid' | [
15307,
262,
8440,
3877,
290,
6491,
4686,
329,
6491,
6266,
351,
1502,
3722,
43780,
3353,
393,
47355,
13,
46506,
1502,
62,
1477,
4501,
62,
34948,
11,
6491,
62,
312,
16034,
6491,
62,
6361,
33411,
1502,
62,
13376,
62,
8189,
796,
705,
34,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
8440,
3877,
290,
6491,
4686,
329,
6491,
6266,
351,
1502,
3722,
43780,
3353,
393,
47355,
13,
46506,
1502,
62,
1477,
4501,
62,
34948,
11,
6491,
62,
312,
16034,
6491,
62,
6361,
33411,
1502,
62,
13376,
62,
8189,
796,
705,
34,
... |
What was the location of the competition with a Rank-Final of 1st and a Score-Qualifying under 28.975? | SELECT "Location" FROM table_13729 WHERE "Rank-Final" = '1st' AND "Score-Qualifying" < '28.975' | [
2061,
373,
262,
4067,
286,
262,
5449,
351,
257,
10916,
12,
19006,
286,
352,
301,
290,
257,
15178,
12,
46181,
4035,
739,
2579,
13,
42716,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
19708,
1959,
33411,
366,
27520,
12,
19006,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4067,
286,
262,
5449,
351,
257,
10916,
12,
19006,
286,
352,
301,
290,
257,
15178,
12,
46181,
4035,
739,
2579,
13,
42716,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
19708,
1959,
33411,
366,
27520,
12,
19006,
1,
796,
7... |
What was the surface for the opponent Marcos Baghdatis? | SELECT "Surface" FROM table_50980 WHERE "Opponent" = 'marcos baghdatis' | [
2061,
373,
262,
4417,
329,
262,
6125,
37033,
18706,
37749,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
29022,
1795,
33411,
366,
27524,
3471,
1,
796,
705,
3876,
6966,
6131,
71,
19608,
271,
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,
373,
262,
4417,
329,
262,
6125,
37033,
18706,
37749,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
29022,
1795,
33411,
366,
27524,
3471,
1,
796,
705,
3876,
6966,
6131,
71,
19608,
271,
6
] |
What was the venue when the away team scored 14.9 (93)? | SELECT "Venue" FROM table_74687 WHERE "Away team score" = '14.9 (93)' | [
2061,
373,
262,
14359,
618,
262,
1497,
1074,
7781,
1478,
13,
24,
357,
6052,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4524,
39925,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
24,
357,
6052,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14359,
618,
262,
1497,
1074,
7781,
1478,
13,
24,
357,
6052,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4524,
39925,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
24,
357,
6052,
33047
] |
Who directed the episode with 6.37 million viewers? | SELECT "Directed by" FROM table_30120 WHERE "Viewers (millions)" = '6.37' | [
8241,
7924,
262,
4471,
351,
718,
13,
2718,
1510,
10209,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
18938,
1238,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
21,
13,
2718,
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
] | [
8241,
7924,
262,
4471,
351,
718,
13,
2718,
1510,
10209,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
18938,
1238,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
21,
13,
2718,
6
] |
What is the sum of Year, when Role is 'himself', and when Notes is 'celebrity guest alongside yg family'? | SELECT SUM(year) FROM table_name_39 WHERE role = "himself" AND notes = "celebrity guest alongside yg family" | [
2061,
318,
262,
2160,
286,
6280,
11,
618,
20934,
318,
705,
38400,
944,
3256,
290,
618,
11822,
318,
705,
49840,
1671,
414,
8319,
7848,
331,
70,
1641,
30960,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2670,
33411,
2597,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
6280,
11,
618,
20934,
318,
705,
38400,
944,
3256,
290,
618,
11822,
318,
705,
49840,
1671,
414,
8319,
7848,
331,
70,
1641,
30960,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2670,
33411,
2597,
796,
... |
Find the component amounts and names of all furnitures that have more than 10 components. | SELECT Num_of_Component, name FROM furniture WHERE Num_of_Component > 10 | [
16742,
262,
7515,
6867,
290,
3891,
286,
477,
8926,
20686,
326,
423,
517,
621,
838,
6805,
13,
46506,
31835,
62,
1659,
62,
21950,
11,
1438,
16034,
13091,
33411,
31835,
62,
1659,
62,
21950,
1875,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7515,
6867,
290,
3891,
286,
477,
8926,
20686,
326,
423,
517,
621,
838,
6805,
13,
46506,
31835,
62,
1659,
62,
21950,
11,
1438,
16034,
13091,
33411,
31835,
62,
1659,
62,
21950,
1875,
838
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, for employee_id, hire_date, visualize the trend. | SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
329,
6538,
62,
312,
11,
11078,
62,
4475,
11,
38350,
262,
5182,
13,
46506,
36210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
329,
6538,
62,
312,
11,
11078,
62,
4475,
11,
38350,
262,
5182,
13,
46506,
36210... |
Does the Winter term offer any PreMajor or MDE courses ? | SELECT DISTINCT course.department, course.name, course.number, program_course.category FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND program_course.category IN ('PreMajor', 'MDE') AND program_course.course_id = course.course_id AND semester.semester = 'Win... | [
13921,
262,
10633,
3381,
2897,
597,
3771,
24206,
393,
337,
7206,
10902,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
22872,
16034,
1781,
11,
1781,
62,
236... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13921,
262,
10633,
3381,
2897,
597,
3771,
24206,
393,
337,
7206,
10902,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
22872,
16034,
1781,
11,
1781,
62,
236... |
What is Date, when Opponent is 'Philadelphia 76ers'? | SELECT date FROM table_name_6 WHERE opponent = "philadelphia 76ers" | [
2061,
318,
7536,
11,
618,
9385,
3471,
318,
705,
42349,
8684,
364,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
21,
33411,
6125,
796,
366,
28864,
8273,
8684,
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
] | [
2061,
318,
7536,
11,
618,
9385,
3471,
318,
705,
42349,
8684,
364,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
21,
33411,
6125,
796,
366,
28864,
8273,
8684,
364,
1
] |
What was the record for the game where the opponent was the Carolina Hurricanes? | SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes" | [
2061,
373,
262,
1700,
329,
262,
983,
810,
262,
6125,
373,
262,
5913,
39419,
30,
46506,
1700,
16034,
3084,
62,
1983,
4310,
2425,
1507,
62,
24,
33411,
6125,
796,
366,
9914,
47196,
39419,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
329,
262,
983,
810,
262,
6125,
373,
262,
5913,
39419,
30,
46506,
1700,
16034,
3084,
62,
1983,
4310,
2425,
1507,
62,
24,
33411,
6125,
796,
366,
9914,
47196,
39419,
1
] |
What is the group B region with a Group E region of Georgia? | SELECT "Group B" FROM table_75158 WHERE "Group E" = 'georgia' | [
2061,
318,
262,
1448,
347,
3814,
351,
257,
4912,
412,
3814,
286,
7859,
30,
46506,
366,
13247,
347,
1,
16034,
3084,
62,
2425,
21273,
33411,
366,
13247,
412,
1,
796,
705,
469,
2398,
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,
1,
1,
1
] | [
2061,
318,
262,
1448,
347,
3814,
351,
257,
4912,
412,
3814,
286,
7859,
30,
46506,
366,
13247,
347,
1,
16034,
3084,
62,
2425,
21273,
33411,
366,
13247,
412,
1,
796,
705,
469,
2398,
544,
6
] |
what do you know about RENTAL CAR in DENVER | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DENVER' AND ground_service.city_code = city.city_code AND ground_service.transport_type = 'RENTAL CAR' | [
10919,
466,
345,
760,
546,
371,
3525,
1847,
17368,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
41819,
595... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
345,
760,
546,
371,
3525,
1847,
17368,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
41819,
595... |
For a release price of $72, what is the TDP of the microprocessor? | SELECT tdp FROM table_16729930_18 WHERE release_price___usd__ = "$72" | [
1890,
257,
2650,
2756,
286,
720,
4761,
11,
644,
318,
262,
309,
6322,
286,
262,
4580,
41341,
30,
46506,
256,
26059,
16034,
3084,
62,
21940,
22579,
1270,
62,
1507,
33411,
2650,
62,
20888,
17569,
385,
67,
834,
796,
17971,
4761,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2650,
2756,
286,
720,
4761,
11,
644,
318,
262,
309,
6322,
286,
262,
4580,
41341,
30,
46506,
256,
26059,
16034,
3084,
62,
21940,
22579,
1270,
62,
1507,
33411,
2650,
62,
20888,
17569,
385,
67,
834,
796,
17971,
4761,
1
] |
What was the result of the game that was attended by 16,000 people? | SELECT result FROM table_name_47 WHERE attendance = "16,000" | [
2061,
373,
262,
1255,
286,
262,
983,
326,
373,
9141,
416,
1467,
11,
830,
661,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2857,
33411,
14858,
796,
366,
1433,
11,
830,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
983,
326,
373,
9141,
416,
1467,
11,
830,
661,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2857,
33411,
14858,
796,
366,
1433,
11,
830,
1
] |
what is the series number where the date of first broadcast is 16 october 2008? | SELECT "Series number" FROM table_17906 WHERE "Date of first broadcast" = '16 October 2008' | [
10919,
318,
262,
2168,
1271,
810,
262,
3128,
286,
717,
7025,
318,
1467,
19318,
2023,
3648,
30,
46506,
366,
27996,
1271,
1,
16034,
3084,
62,
21738,
3312,
33411,
366,
10430,
286,
717,
7025,
1,
796,
705,
1433,
3267,
3648,
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
] | [
10919,
318,
262,
2168,
1271,
810,
262,
3128,
286,
717,
7025,
318,
1467,
19318,
2023,
3648,
30,
46506,
366,
27996,
1271,
1,
16034,
3084,
62,
21738,
3312,
33411,
366,
10430,
286,
717,
7025,
1,
796,
705,
1433,
3267,
3648,
6
] |
What position(s) do players from bowling green play? | SELECT position FROM table_16494599_4 WHERE school_club_team = "Bowling Green" | [
2061,
2292,
7,
82,
8,
466,
1938,
422,
33564,
4077,
711,
30,
46506,
2292,
16034,
3084,
62,
1433,
2920,
2231,
2079,
62,
19,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
39961,
1359,
3469,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7,
82,
8,
466,
1938,
422,
33564,
4077,
711,
30,
46506,
2292,
16034,
3084,
62,
1433,
2920,
2231,
2079,
62,
19,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
39961,
1359,
3469,
1
] |
On what day did the home team score 18.12 (120)? | SELECT "Date" FROM table_4601 WHERE "Home team score" = '18.12 (120)' | [
2202,
644,
1110,
750,
262,
1363,
1074,
4776,
1248,
13,
1065,
357,
10232,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3510,
486,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1507,
13,
1065,
357,
10232,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
1110,
750,
262,
1363,
1074,
4776,
1248,
13,
1065,
357,
10232,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3510,
486,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1507,
13,
1065,
357,
10232,
33047
] |
Which team has a car # before 99, a Toyota, and is driven by Mike Skinner? | SELECT "Team" FROM table_35210 WHERE "Car #" < '99' AND "Make" = 'toyota' AND "Driver" = 'mike skinner' | [
13828,
1074,
468,
257,
1097,
1303,
878,
7388,
11,
257,
20182,
11,
290,
318,
7986,
416,
4995,
42899,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2327,
21536,
33411,
366,
9914,
1303,
1,
1279,
705,
2079,
6,
5357,
366,
12050,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
257,
1097,
1303,
878,
7388,
11,
257,
20182,
11,
290,
318,
7986,
416,
4995,
42899,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2327,
21536,
33411,
366,
9914,
1303,
1,
1279,
705,
2079,
6,
5357,
366,
12050,
1,
796,
705... |
When did the first staff for the projects started working? | SELECT date_from FROM project_staff ORDER BY date_from LIMIT 1 | [
2215,
750,
262,
717,
3085,
329,
262,
4493,
2067,
1762,
30,
46506,
3128,
62,
6738,
16034,
1628,
62,
28120,
38678,
11050,
3128,
62,
6738,
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
] | [
2215,
750,
262,
717,
3085,
329,
262,
4493,
2067,
1762,
30,
46506,
3128,
62,
6738,
16034,
1628,
62,
28120,
38678,
11050,
3128,
62,
6738,
27564,
2043,
352
] |
Name the least transfers out when transfers is 21 | SELECT MIN("Transfers Out") FROM table_21860 WHERE "Total Transfers" = '21' | [
5376,
262,
1551,
16395,
503,
618,
16395,
318,
2310,
46506,
20625,
7203,
8291,
69,
364,
3806,
4943,
16034,
3084,
62,
28727,
1899,
33411,
366,
14957,
3602,
69,
364,
1,
796,
705,
2481,
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,
262,
1551,
16395,
503,
618,
16395,
318,
2310,
46506,
20625,
7203,
8291,
69,
364,
3806,
4943,
16034,
3084,
62,
28727,
1899,
33411,
366,
14957,
3602,
69,
364,
1,
796,
705,
2481,
6
] |
What is the English translation of ? | SELECT "English translation" FROM table_22132 WHERE "Traditional Chinese" = '哀郢' | [
2061,
318,
262,
3594,
11059,
286,
5633,
46506,
366,
15823,
11059,
1,
16034,
3084,
62,
1828,
19924,
33411,
366,
48485,
3999,
1,
796,
705,
161,
241,
222,
32849,
95,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3594,
11059,
286,
5633,
46506,
366,
15823,
11059,
1,
16034,
3084,
62,
1828,
19924,
33411,
366,
48485,
3999,
1,
796,
705,
161,
241,
222,
32849,
95,
6
] |
Plot how many minister by grouped by minister as a bar graph, and order by the Minister in ascending. | SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY Minister | [
43328,
703,
867,
5342,
416,
32824,
416,
5342,
355,
257,
2318,
4823,
11,
290,
1502,
416,
262,
4139,
287,
41988,
13,
46506,
4139,
11,
327,
28270,
7,
9452,
1694,
8,
16034,
2151,
44441,
11050,
4139,
38678,
11050,
4139
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
703,
867,
5342,
416,
32824,
416,
5342,
355,
257,
2318,
4823,
11,
290,
1502,
416,
262,
4139,
287,
41988,
13,
46506,
4139,
11,
327,
28270,
7,
9452,
1694,
8,
16034,
2151,
44441,
11050,
4139,
38678,
11050,
4139
] |
Top questions with zero answers since Jan 2016. | SELECT p.Id AS "post_link", Title, p.Tags AS Tags, p.ViewCount AS "Views", p.Score AS "Score", p.AnswerCount AS "Answers", DATEDIFF(day, p.CreationDate, GETDATE()) AS "Age (days)", p.AcceptedAnswerId AS "Answer Accepted?" FROM Posts AS p WHERE p.AcceptedAnswerId IS NULL AND p.CreationDate >= '20160101' AND p.AnswerCoun... | [
9126,
2683,
351,
6632,
7429,
1201,
2365,
1584,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
11851,
11,
279,
13,
36142,
7054,
44789,
11,
279,
13,
7680,
12332,
7054,
366,
7680,
82,
1600,
279,
13,
26595,
7054,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
2683,
351,
6632,
7429,
1201,
2365,
1584,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
11851,
11,
279,
13,
36142,
7054,
44789,
11,
279,
13,
7680,
12332,
7054,
366,
7680,
82,
1600,
279,
13,
26595,
7054,
366,
26595,
... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the sum of revenue , and group by attribute founder, and display Y-axis in desc order. | SELECT Founder, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Revenue) DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
9119,
11,
290,
3359,
575,
12,
22704,
287,
1715,
1502,
13,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9119,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
9119,
11,
290,
3359,
575,
12,
22704,
287,
1715,
1502,
13,
465... |
which airline can fly me from ATLANTA to DENVER to SAN FRANCISCO | SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANC... | [
4758,
18091,
460,
6129,
502,
422,
5161,
25697,
5603,
284,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18091,
460,
6129,
502,
422,
5161,
25697,
5603,
284,
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,
... |
provide the number of patients whose death status is 0 and who were given the drug erythromycin. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "0" AND prescriptions.drug = "Erythromycin" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
508,
547,
1813,
262,
2563,
220,
1924,
400,
50228,
17879,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
508,
547,
1813,
262,
2563,
220,
1924,
400,
50228,
17879,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357... |
If the team is Rubio , what is the 08 points? | SELECT 08 AS _pts FROM table_22011138_7 WHERE team = "Rubio Ñú" | [
1532,
262,
1074,
318,
15476,
837,
644,
318,
262,
8487,
2173,
30,
46506,
8487,
7054,
4808,
457,
82,
16034,
3084,
62,
17,
1264,
1157,
2548,
62,
22,
33411,
1074,
796,
366,
21312,
952,
6184,
239,
21356,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
318,
15476,
837,
644,
318,
262,
8487,
2173,
30,
46506,
8487,
7054,
4808,
457,
82,
16034,
3084,
62,
17,
1264,
1157,
2548,
62,
22,
33411,
1074,
796,
366,
21312,
952,
6184,
239,
21356,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.