instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
How many eliminations did each team have? | SELECT team, COUNT(*) FROM elimination GROUP BY team | [
2437,
867,
5687,
7352,
750,
1123,
1074,
423,
30,
46506,
1074,
11,
327,
28270,
7,
28104,
16034,
21472,
44441,
11050,
1074
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5687,
7352,
750,
1123,
1074,
423,
30,
46506,
1074,
11,
327,
28270,
7,
28104,
16034,
21472,
44441,
11050,
1074
] |
What college/junior/club team had a player selected in round 6? | SELECT "College/Junior/Club Team (League)" FROM table_45704 WHERE "Round" = '6' | [
2061,
4152,
14,
29741,
1504,
14,
18664,
1074,
550,
257,
2137,
6163,
287,
2835,
718,
30,
46506,
366,
38951,
14,
22396,
1504,
14,
42350,
4816,
357,
24623,
16725,
16034,
3084,
62,
2231,
32869,
33411,
366,
22685,
1,
796,
705,
21,
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,
4152,
14,
29741,
1504,
14,
18664,
1074,
550,
257,
2137,
6163,
287,
2835,
718,
30,
46506,
366,
38951,
14,
22396,
1504,
14,
42350,
4816,
357,
24623,
16725,
16034,
3084,
62,
2231,
32869,
33411,
366,
22685,
1,
796,
705,
21,
6
] |
What is the record of the match at 6:00? | SELECT "Record" FROM table_15514 WHERE "Time" = '6:00' | [
2061,
318,
262,
1700,
286,
262,
2872,
379,
718,
25,
405,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
18742,
1415,
33411,
366,
7575,
1,
796,
705,
21,
25,
405,
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,
1700,
286,
262,
2872,
379,
718,
25,
405,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
18742,
1415,
33411,
366,
7575,
1,
796,
705,
21,
25,
405,
6
] |
Return a histogram on what are the titles and ids for albums containing tracks with unit price greater than 1?, list by the x axis in ascending. | SELECT T1.Title, T1.AlbumId FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 ORDER BY T1.Title | [
13615,
257,
1554,
21857,
319,
644,
389,
262,
8714,
290,
220,
2340,
329,
16788,
7268,
8339,
351,
4326,
2756,
3744,
621,
352,
21747,
1351,
416,
262,
2124,
16488,
287,
41988,
13,
46506,
309,
16,
13,
19160,
11,
309,
16,
13,
2348,
4435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1554,
21857,
319,
644,
389,
262,
8714,
290,
220,
2340,
329,
16788,
7268,
8339,
351,
4326,
2756,
3744,
621,
352,
21747,
1351,
416,
262,
2124,
16488,
287,
41988,
13,
46506,
309,
16,
13,
19160,
11,
309,
16,
13,
2348,
4435,
... |
How many engines were built with a cylinder size of 20 x 26 , firebox is belpaire and valve gear is from Stephenson? | SELECT number_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Belpaire" AND valve_gear = "Stephenson" | [
2437,
867,
11874,
547,
3170,
351,
257,
24911,
2546,
286,
1160,
2124,
2608,
837,
2046,
3524,
318,
894,
79,
7626,
290,
22580,
7733,
318,
422,
42838,
30,
46506,
1271,
62,
18780,
16034,
3084,
62,
1495,
3388,
1120,
1983,
62,
16,
33411,
249... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11874,
547,
3170,
351,
257,
24911,
2546,
286,
1160,
2124,
2608,
837,
2046,
3524,
318,
894,
79,
7626,
290,
22580,
7733,
318,
422,
42838,
30,
46506,
1271,
62,
18780,
16034,
3084,
62,
1495,
3388,
1120,
1983,
62,
16,
33411,
249... |
this year was there any microbiology test result for patient 025-19271? | SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-19271')) AND DATETIME(microlab.culturetakentime, 'start of year') = DATETI... | [
5661,
614,
373,
612,
597,
24559,
1435,
1332,
1255,
329,
5827,
657,
1495,
12,
1129,
28977,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5661,
614,
373,
612,
597,
24559,
1435,
1332,
1255,
329,
5827,
657,
1495,
12,
1129,
28977,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... |
Return the city with the customer type code 'Good Credit Rating' that had the fewest customers. | SELECT town_city FROM customers WHERE customer_type_code = "Good Credit Rating" GROUP BY town_city ORDER BY COUNT(*) LIMIT 1 | [
13615,
262,
1748,
351,
262,
6491,
2099,
2438,
705,
10248,
10504,
12028,
6,
326,
550,
262,
1178,
395,
4297,
13,
46506,
3240,
62,
19205,
16034,
4297,
33411,
6491,
62,
4906,
62,
8189,
796,
366,
10248,
10504,
12028,
1,
44441,
11050,
3240,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1748,
351,
262,
6491,
2099,
2438,
705,
10248,
10504,
12028,
6,
326,
550,
262,
1178,
395,
4297,
13,
46506,
3240,
62,
19205,
16034,
4297,
33411,
6491,
62,
4906,
62,
8189,
796,
366,
10248,
10504,
12028,
1,
44441,
11050,
3240,
... |
Tell me the total number of attendance for week of 16 | SELECT COUNT(attendance) FROM table_name_12 WHERE week = 16 | [
24446,
502,
262,
2472,
1271,
286,
14858,
329,
1285,
286,
1467,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
1285,
796,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
2472,
1271,
286,
14858,
329,
1285,
286,
1467,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
1285,
796,
1467
] |
what is patient 033-29268's minimum value of bedside glucose in 06/last year? | SELECT MIN(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-29268')) AND lab.labname = 'bedside glucose' AND DATETIME(lab.labresulttime, '... | [
10919,
318,
5827,
657,
2091,
12,
1959,
25022,
338,
5288,
1988,
286,
3996,
1589,
15701,
287,
9130,
14,
12957,
614,
30,
46506,
20625,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
657,
2091,
12,
1959,
25022,
338,
5288,
1988,
286,
3996,
1589,
15701,
287,
9130,
14,
12957,
614,
30,
46506,
20625,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,... |
Are there MDE or PreMajor course offered in the Spring ? | 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 ('MDE', 'PreMajor') AND program_course.course_id = course.course_id AND semester.semester = 'Spr... | [
8491,
612,
337,
7206,
393,
3771,
24206,
1781,
4438,
287,
262,
8225,
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,
2364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8491,
612,
337,
7206,
393,
3771,
24206,
1781,
4438,
287,
262,
8225,
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,
2364,
... |
How many prizes were available when Jenny Shin became the champion? | SELECT COUNT("Purse ($)") FROM table_20006 WHERE "Champion" = 'Jenny Shin' | [
2437,
867,
21740,
547,
1695,
618,
28437,
11466,
2627,
262,
8783,
30,
46506,
327,
28270,
7203,
47,
12321,
45491,
4943,
16034,
3084,
62,
11024,
21,
33411,
366,
1925,
6734,
1,
796,
705,
41,
11870,
11466,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
21740,
547,
1695,
618,
28437,
11466,
2627,
262,
8783,
30,
46506,
327,
28270,
7203,
47,
12321,
45491,
4943,
16034,
3084,
62,
11024,
21,
33411,
366,
1925,
6734,
1,
796,
705,
41,
11870,
11466,
6
] |
Average score question:score highest-voted answer ratio. | SELECT Score / (SELECT Score FROM Posts WHERE PostTypeId = 2 AND ParentId = Question.Id AND Score > 0 ORDER BY Score DESC LIMIT 1) FROM Posts AS Question WHERE PostTypeId = 1 AND Score > 0 | [
26287,
4776,
1808,
25,
26675,
4511,
12,
85,
5191,
3280,
8064,
13,
46506,
15178,
1220,
357,
46506,
15178,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
16774,
7390,
796,
18233,
13,
7390,
5357,
15178,
1875,
657,
38678,
11050,
15178... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26287,
4776,
1808,
25,
26675,
4511,
12,
85,
5191,
3280,
8064,
13,
46506,
15178,
1220,
357,
46506,
15178,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
16774,
7390,
796,
18233,
13,
7390,
5357,
15178,
1875,
657,
38678,
11050,
15178... |
what is the last ward id of patient 031-17834 since 3 years ago? | SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-17834') AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY patient.unitadmittime DESC LIMIT 1 | [
10919,
318,
262,
938,
15305,
4686,
286,
5827,
657,
3132,
12,
23188,
2682,
1201,
513,
812,
2084,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
1005... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
15305,
4686,
286,
5827,
657,
3132,
12,
23188,
2682,
1201,
513,
812,
2084,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
1005... |
After 10:00 , does PEDDENT 598 have any sections ? | SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '10:00' AND course.course_id = course_offering.course_id AND course.department = 'PEDDENT' AND course.number = 598 AND semester.semester = 'WN' A... | [
3260,
838,
25,
405,
837,
857,
350,
1961,
35,
3525,
642,
4089,
423,
597,
9004,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
11,
1781,
62,
2364,
1586,
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... | [
3260,
838,
25,
405,
837,
857,
350,
1961,
35,
3525,
642,
4089,
423,
597,
9004,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
11,
1781,
62,
2364,
1586,
13... |
What is the name of the building in Bucharest with a rank of less than 12? | SELECT "Building" FROM table_35776 WHERE "City" = 'bucharest' AND "Rank" < '12' | [
2061,
318,
262,
1438,
286,
262,
2615,
287,
23670,
12423,
351,
257,
4279,
286,
1342,
621,
1105,
30,
46506,
366,
25954,
1,
16034,
3084,
62,
2327,
39509,
33411,
366,
14941,
1,
796,
705,
65,
794,
12423,
6,
5357,
366,
27520,
1,
1279,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
2615,
287,
23670,
12423,
351,
257,
4279,
286,
1342,
621,
1105,
30,
46506,
366,
25954,
1,
16034,
3084,
62,
2327,
39509,
33411,
366,
14941,
1,
796,
705,
65,
794,
12423,
6,
5357,
366,
27520,
1,
1279,
705... |
Which home team had a score of 85-101? | SELECT "Home team" FROM table_49867 WHERE "Score" = '85-101' | [
13828,
1363,
1074,
550,
257,
4776,
286,
7600,
12,
8784,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
36260,
3134,
33411,
366,
26595,
1,
796,
705,
5332,
12,
8784,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1363,
1074,
550,
257,
4776,
286,
7600,
12,
8784,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
36260,
3134,
33411,
366,
26595,
1,
796,
705,
5332,
12,
8784,
6
] |
Who was the visiting team at the Chicago home game? | SELECT "Visitor" FROM table_6083 WHERE "Home" = 'chicago' | [
8241,
373,
262,
10013,
1074,
379,
262,
4842,
1363,
983,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
1899,
5999,
33411,
366,
16060,
1,
796,
705,
354,
4549,
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,
10013,
1074,
379,
262,
4842,
1363,
983,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
1899,
5999,
33411,
366,
16060,
1,
796,
705,
354,
4549,
6
] |
What is the Language when the Reteconomy is the television service? | SELECT "Language" FROM table_76125 WHERE "Television service" = 'reteconomy' | [
2061,
318,
262,
15417,
618,
262,
4990,
13926,
88,
318,
262,
5581,
2139,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
4304,
11623,
33411,
366,
6767,
5024,
2139,
1,
796,
705,
8374,
1519,
88,
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,
15417,
618,
262,
4990,
13926,
88,
318,
262,
5581,
2139,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
4304,
11623,
33411,
366,
6767,
5024,
2139,
1,
796,
705,
8374,
1519,
88,
6
] |
Questions entered in the review queue (in the date range). | SELECT PostId AS "post_link", url = 'site://review/' + CASE '##type?2##' WHEN 1 THEN 'suggested-edits' WHEN 2 THEN 'close' WHEN 3 THEN 'low-quality-posts' WHEN 4 THEN 'first-posts' WHEN 5 THEN 'late-answers' WHEN 6 THEN 'reopen' END + '/' + CAST(Id AS TEXT), CreationDate FROM ReviewTasks WHERE (ReviewTaskTypeId = '##ty... | [
35741,
5982,
287,
262,
2423,
16834,
357,
259,
262,
3128,
2837,
737,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
19016,
796,
705,
15654,
1378,
19023,
14,
6,
1343,
42001,
705,
2235,
4906,
30,
17,
2235,
6,
42099,
352,
42243,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
5982,
287,
262,
2423,
16834,
357,
259,
262,
3128,
2837,
737,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
19016,
796,
705,
15654,
1378,
19023,
14,
6,
1343,
42001,
705,
2235,
4906,
30,
17,
2235,
6,
42099,
352,
42243,
705,... |
How many questions have been asked on July 18, 2013?. | SELECT COUNT(Id) AS "questions_posted" FROM Posts WHERE CreationDate > '2013-12-18 00:00' AND CreationDate < '2013-12-18 23:59:59' AND PostTypeId = 1 | [
2437,
867,
2683,
423,
587,
1965,
319,
2901,
1248,
11,
2211,
30,
13,
46506,
327,
28270,
7,
7390,
8,
7054,
366,
6138,
507,
62,
40578,
1,
16034,
12043,
33411,
21582,
10430,
1875,
705,
6390,
12,
1065,
12,
1507,
3571,
25,
405,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
2683,
423,
587,
1965,
319,
2901,
1248,
11,
2211,
30,
13,
46506,
327,
28270,
7,
7390,
8,
7054,
366,
6138,
507,
62,
40578,
1,
16034,
12043,
33411,
21582,
10430,
1875,
705,
6390,
12,
1065,
12,
1507,
3571,
25,
405,
6,
5357,
... |
What is the name of the winner when Goran Ivani evi was in third place? | SELECT winner FROM table_name_65 WHERE third_place = "goran ivanišević" | [
2061,
318,
262,
1438,
286,
262,
8464,
618,
19097,
272,
16975,
3216,
819,
72,
373,
287,
2368,
1295,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
2996,
33411,
2368,
62,
5372,
796,
366,
7053,
272,
21628,
3216,
32790,
1990,
72,
38325,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
8464,
618,
19097,
272,
16975,
3216,
819,
72,
373,
287,
2368,
1295,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
2996,
33411,
2368,
62,
5372,
796,
366,
7053,
272,
21628,
3216,
32790,
1990,
72,
38325,
1
] |
Show the number of assets and group by asset make in a bar chart. | SELECT asset_make, COUNT(asset_make) FROM Assets GROUP BY asset_make | [
15307,
262,
1271,
286,
6798,
290,
1448,
416,
11171,
787,
287,
257,
2318,
8262,
13,
46506,
11171,
62,
15883,
11,
327,
28270,
7,
562,
316,
62,
15883,
8,
16034,
41059,
44441,
11050,
11171,
62,
15883
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6798,
290,
1448,
416,
11171,
787,
287,
257,
2318,
8262,
13,
46506,
11171,
62,
15883,
11,
327,
28270,
7,
562,
316,
62,
15883,
8,
16034,
41059,
44441,
11050,
11171,
62,
15883
] |
what is religion of subject name paul edwards? | SELECT demographic.religion FROM demographic WHERE demographic.name = "Paul Edwards" | [
10919,
318,
5737,
286,
2426,
1438,
279,
2518,
1225,
2017,
30,
46506,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
12041,
17381,
1
] | [
1,
1,
1,
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,
5737,
286,
2426,
1438,
279,
2518,
1225,
2017,
30,
46506,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
12041,
17381,
1
] |
how many hours have elapsed since patient 006-133605 received a first intake of 0.9 ns_c on the current intensive care unit visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ... | [
4919,
867,
2250,
423,
42118,
1201,
5827,
3571,
21,
12,
1485,
15277,
20,
2722,
257,
717,
10337,
286,
657,
13,
24,
36545,
62,
66,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
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... | [
4919,
867,
2250,
423,
42118,
1201,
5827,
3571,
21,
12,
1485,
15277,
20,
2722,
257,
717,
10337,
286,
657,
13,
24,
36545,
62,
66,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3... |
Who were the candidates when Sid Simpson was the incumbent? | SELECT "Candidates" FROM table_18589 WHERE "Incumbent" = 'Sid Simpson' | [
8241,
547,
262,
5871,
618,
15686,
20531,
373,
262,
23526,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
44169,
33411,
366,
25517,
2178,
298,
1,
796,
705,
50,
312,
20531,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
5871,
618,
15686,
20531,
373,
262,
23526,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
44169,
33411,
366,
25517,
2178,
298,
1,
796,
705,
50,
312,
20531,
6
] |
known hypersensitivity to hydrocortisone and additives | SELECT * FROM table_train_34 WHERE allergy_to_hydrocortisone = 1 OR allergy_to_adhesive = 1 | [
4002,
45086,
40545,
284,
7409,
12204,
419,
271,
505,
290,
48348,
46506,
1635,
16034,
3084,
62,
27432,
62,
2682,
33411,
36197,
62,
1462,
62,
15511,
12204,
419,
271,
505,
796,
352,
6375,
36197,
62,
1462,
62,
324,
25938,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4002,
45086,
40545,
284,
7409,
12204,
419,
271,
505,
290,
48348,
46506,
1635,
16034,
3084,
62,
27432,
62,
2682,
33411,
36197,
62,
1462,
62,
15511,
12204,
419,
271,
505,
796,
352,
6375,
36197,
62,
1462,
62,
324,
25938,
796,
352
] |
Which driver has 45 laps? | SELECT driver FROM table_name_92 WHERE laps = 45 | [
13828,
4639,
468,
4153,
24590,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
5892,
33411,
24590,
796,
4153
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4639,
468,
4153,
24590,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
5892,
33411,
24590,
796,
4153
] |
what is the number of patients whose days of hospital stay is greater than 20 and diagnoses icd9 code is 49320? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "20" AND diagnoses.icd9_code = "49320" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1160,
290,
40567,
14158,
67,
24,
2438,
318,
5125,
19504,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1160,
290,
40567,
14158,
67,
24,
2438,
318,
5125,
19504,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
in a year before how many patients were prescribed phenylephrine in the same month after the procedure of venous cath nec. | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'venous cath... | [
259,
257,
614,
878,
703,
867,
3871,
547,
14798,
6566,
2349,
47723,
287,
262,
976,
1227,
706,
262,
8771,
286,
8710,
516,
32171,
27576,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
257,
614,
878,
703,
867,
3871,
547,
14798,
6566,
2349,
47723,
287,
262,
976,
1227,
706,
262,
8771,
286,
8710,
516,
32171,
27576,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,... |
how many times was durrant a scorer between 1992 and 1993 ? | SELECT COUNT(*) FROM table_204_691 WHERE "scorers" = 'durrant' | [
4919,
867,
1661,
373,
22365,
5250,
257,
30664,
1022,
9768,
290,
9656,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49541,
33411,
366,
26675,
3808,
1,
796,
705,
67,
333,
5250,
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
] | [
4919,
867,
1661,
373,
22365,
5250,
257,
30664,
1022,
9768,
290,
9656,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49541,
33411,
366,
26675,
3808,
1,
796,
705,
67,
333,
5250,
6
] |
What is the id of the event with the most participants? | SELECT event_id FROM participants_in_events GROUP BY event_id ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
4686,
286,
262,
1785,
351,
262,
749,
6809,
30,
46506,
1785,
62,
312,
16034,
6809,
62,
259,
62,
31534,
44441,
11050,
1785,
62,
312,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4686,
286,
262,
1785,
351,
262,
749,
6809,
30,
46506,
1785,
62,
312,
16034,
6809,
62,
259,
62,
31534,
44441,
11050,
1785,
62,
312,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
Find the total checkins in Sunday | SELECT SUM(count) FROM checkin WHERE day = 'Sunday' | [
16742,
262,
2472,
2198,
1040,
287,
3502,
46506,
35683,
7,
9127,
8,
16034,
2198,
259,
33411,
1110,
796,
705,
21934,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2472,
2198,
1040,
287,
3502,
46506,
35683,
7,
9127,
8,
16034,
2198,
259,
33411,
1110,
796,
705,
21934,
6
] |
what is date of birth and religion of subject name jerry deberry? | SELECT demographic.dob, demographic.religion FROM demographic WHERE demographic.name = "Jerry Deberry" | [
10919,
318,
3128,
286,
4082,
290,
5737,
286,
2426,
1438,
474,
6996,
390,
8396,
30,
46506,
16728,
13,
67,
672,
11,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
43462,
1024,
8396,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
4082,
290,
5737,
286,
2426,
1438,
474,
6996,
390,
8396,
30,
46506,
16728,
13,
67,
672,
11,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
43462,
1024,
8396,
1
] |
In which championship was the partner Jie Zheng? | SELECT championship FROM table_2516282_3 WHERE partner = "Jie Zheng" | [
818,
543,
12184,
373,
262,
5212,
449,
494,
44583,
30,
46506,
12184,
16034,
3084,
62,
1495,
1433,
32568,
62,
18,
33411,
5212,
796,
366,
41,
494,
44583,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
543,
12184,
373,
262,
5212,
449,
494,
44583,
30,
46506,
12184,
16034,
3084,
62,
1495,
1433,
32568,
62,
18,
33411,
5212,
796,
366,
41,
494,
44583,
1
] |
What was the conference matchup for the bowl game played in Glendale, Arizona? | SELECT "Conference Matchups" FROM table_41014 WHERE "City" = 'glendale, arizona' | [
2061,
373,
262,
4495,
18406,
329,
262,
9396,
983,
2826,
287,
2671,
41147,
11,
7943,
30,
46506,
366,
3103,
4288,
13225,
4739,
1,
16034,
3084,
62,
3901,
28645,
33411,
366,
14941,
1,
796,
705,
4743,
41147,
11,
257,
380,
7551,
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,
373,
262,
4495,
18406,
329,
262,
9396,
983,
2826,
287,
2671,
41147,
11,
7943,
30,
46506,
366,
3103,
4288,
13225,
4739,
1,
16034,
3084,
62,
3901,
28645,
33411,
366,
14941,
1,
796,
705,
4743,
41147,
11,
257,
380,
7551,
6
] |
What rank does the Singapore Cup of 0 (1) have? | SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (1)" | [
2061,
4279,
857,
262,
12551,
5454,
286,
657,
357,
16,
8,
423,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
1702,
11656,
62,
25244,
796,
366,
15,
357,
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
] | [
2061,
4279,
857,
262,
12551,
5454,
286,
657,
357,
16,
8,
423,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
1702,
11656,
62,
25244,
796,
366,
15,
357,
16,
16725
] |
If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number? | SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats" | [
1532,
262,
1524,
318,
5694,
49727,
286,
262,
13316,
37963,
5811,
24619,
11,
644,
318,
262,
49772,
1271,
30,
46506,
49772,
16034,
3084,
62,
17,
21908,
27211,
62,
24,
33411,
1524,
796,
366,
30645,
49727,
286,
262,
13316,
37963,
5811,
2461... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
318,
5694,
49727,
286,
262,
13316,
37963,
5811,
24619,
11,
644,
318,
262,
49772,
1271,
30,
46506,
49772,
16034,
3084,
62,
17,
21908,
27211,
62,
24,
33411,
1524,
796,
366,
30645,
49727,
286,
262,
13316,
37963,
5811,
2461... |
What is the highest league cup appearances for the player with league cup goals of 0, and FA cup appearances of 2, and 4 league goals? | SELECT MAX(league_cup_apps) FROM table_name_81 WHERE league_cup_goals = 0 AND fa_cup_apps = 2 AND league_goals = 4 | [
2061,
318,
262,
4511,
4652,
6508,
11057,
329,
262,
2137,
351,
4652,
6508,
4661,
286,
657,
11,
290,
9677,
6508,
11057,
286,
362,
11,
290,
604,
4652,
4661,
30,
46506,
25882,
7,
19316,
62,
25244,
62,
18211,
8,
16034,
3084,
62,
3672,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4511,
4652,
6508,
11057,
329,
262,
2137,
351,
4652,
6508,
4661,
286,
657,
11,
290,
9677,
6508,
11057,
286,
362,
11,
290,
604,
4652,
4661,
30,
46506,
25882,
7,
19316,
62,
25244,
62,
18211,
8,
16034,
3084,
62,
3672,
62... |
What city is fuhlsb ttel airport in? | SELECT "City" FROM table_80190 WHERE "Airport" = 'fuhlsbüttel airport' | [
2061,
1748,
318,
277,
7456,
7278,
65,
256,
37524,
9003,
287,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
41531,
3829,
33411,
366,
16170,
634,
1,
796,
705,
69,
7456,
7278,
65,
9116,
926,
417,
9003,
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
] | [
2061,
1748,
318,
277,
7456,
7278,
65,
256,
37524,
9003,
287,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
41531,
3829,
33411,
366,
16170,
634,
1,
796,
705,
69,
7456,
7278,
65,
9116,
926,
417,
9003,
6
] |
what were the three most common diagnoses for patients who had been previously diagnosed with acute respiratry failure within 2 months, during a year before? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions... | [
10919,
547,
262,
1115,
749,
2219,
40567,
329,
3871,
508,
550,
587,
4271,
14641,
351,
14352,
21483,
265,
563,
5287,
1626,
362,
1933,
11,
1141,
257,
614,
878,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1115,
749,
2219,
40567,
329,
3871,
508,
550,
587,
4271,
14641,
351,
14352,
21483,
265,
563,
5287,
1626,
362,
1933,
11,
1141,
257,
614,
878,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
2... |
What is the pinyin for the English name Wuping County? | SELECT "Pinyin" FROM table_17395 WHERE "English Name" = 'Wuping County' | [
2061,
318,
262,
279,
3541,
259,
329,
262,
3594,
1438,
370,
929,
278,
3418,
30,
46506,
366,
47,
3541,
259,
1,
16034,
3084,
62,
1558,
31010,
33411,
366,
15823,
6530,
1,
796,
705,
54,
929,
278,
3418,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
279,
3541,
259,
329,
262,
3594,
1438,
370,
929,
278,
3418,
30,
46506,
366,
47,
3541,
259,
1,
16034,
3084,
62,
1558,
31010,
33411,
366,
15823,
6530,
1,
796,
705,
54,
929,
278,
3418,
6
] |
What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games? | SELECT MAX(goals_for) FROM table_name_71 WHERE position > 8 AND losses = 12 AND played < 30 | [
2061,
318,
262,
4511,
2033,
286,
4661,
287,
262,
2292,
706,
807,
11,
1105,
9089,
11,
290,
2826,
1342,
621,
1542,
1830,
30,
46506,
25882,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
2292,
1875,
807,
5357,
9089,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2033,
286,
4661,
287,
262,
2292,
706,
807,
11,
1105,
9089,
11,
290,
2826,
1342,
621,
1542,
1830,
30,
46506,
25882,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
2292,
1875,
807,
5357,
9089,... |
What's the score in 1990? | SELECT score FROM table_name_29 WHERE year = "1990" | [
2061,
338,
262,
4776,
287,
6303,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1959,
33411,
614,
796,
366,
19891,
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,
4776,
287,
6303,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1959,
33411,
614,
796,
366,
19891,
1
] |
what 's the cost of a FIRST class fare from PHILADELPHIA to SAN FRANCISCO | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_cod... | [
10919,
705,
82,
262,
1575,
286,
257,
31328,
1398,
14505,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
82,
262,
1575,
286,
257,
31328,
1398,
14505,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
... |
hi could i get a one way ticket from MILWAUKEE to ORLANDO | 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, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ORLANDO' AND fare.round_trip_required = 'NO' AND flight_fare.fare_id =... | [
5303,
714,
1312,
651,
257,
530,
835,
7846,
422,
31515,
15543,
15039,
6500,
284,
6375,
28182,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5303,
714,
1312,
651,
257,
530,
835,
7846,
422,
31515,
15543,
15039,
6500,
284,
6375,
28182,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... |
How many moderators have the 'Sportsmanship' badge?. Note: SEDE currently does not have a good way to determine if a user is a moderator. | SELECT u.Id AS "user_link", CASE WHEN b.Name IS NULL THEN ' Not sporting' ELSE ' Sporting' END AS "good_sport?" FROM Users AS u LEFT JOIN Badges AS b ON (u.Id = b.UserId AND (b.Name IS NULL OR LOWER(b.Name) = 'sportsmanship')) WHERE u.Id IN (105971, 1288, 106224, 50776, 54680, 419, 267, 13531, 396458, 102937, 50049, 12... | [
2437,
867,
37265,
423,
262,
705,
18153,
25428,
6,
23009,
30,
13,
5740,
25,
311,
1961,
36,
3058,
857,
407,
423,
257,
922,
835,
284,
5004,
611,
257,
2836,
318,
257,
31847,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
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... | [
2437,
867,
37265,
423,
262,
705,
18153,
25428,
6,
23009,
30,
13,
5740,
25,
311,
1961,
36,
3058,
857,
407,
423,
257,
922,
835,
284,
5004,
611,
257,
2836,
318,
257,
31847,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
4... |
what is the number of patients whose admission type is emergency and procedure long title is laryngoscopy and other tracheoscopy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Laryngoscopy and other tracheoscopy" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
8771,
890,
3670,
318,
300,
560,
782,
17500,
11081,
290,
584,
491,
4891,
17500,
11081,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
6334,
290,
8771,
890,
3670,
318,
300,
560,
782,
17500,
11081,
290,
584,
491,
4891,
17500,
11081,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
What is the latest season where Al Ahly is the runners-up? | SELECT MAX("Season") FROM table_70020 WHERE "Runners-up" = 'al ahly' | [
2061,
318,
262,
3452,
1622,
810,
978,
7900,
306,
318,
262,
19323,
12,
929,
30,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
9879,
1238,
33411,
366,
10987,
2741,
12,
929,
1,
796,
705,
282,
29042,
306,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3452,
1622,
810,
978,
7900,
306,
318,
262,
19323,
12,
929,
30,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
9879,
1238,
33411,
366,
10987,
2741,
12,
929,
1,
796,
705,
282,
29042,
306,
6
] |
what is the name when the heat is less than 3, the rank is less than 18, the nationality is east germany and the time is 2:35.31? | SELECT "Name" FROM table_46300 WHERE "Heat" < '3' AND "Rank" < '18' AND "Nationality" = 'east germany' AND "Time" = '2:35.31' | [
10919,
318,
262,
1438,
618,
262,
4894,
318,
1342,
621,
513,
11,
262,
4279,
318,
1342,
621,
1248,
11,
262,
29835,
318,
7627,
308,
2224,
88,
290,
262,
640,
318,
362,
25,
2327,
13,
3132,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3510... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1438,
618,
262,
4894,
318,
1342,
621,
513,
11,
262,
4279,
318,
1342,
621,
1248,
11,
262,
29835,
318,
7627,
308,
2224,
88,
290,
262,
640,
318,
362,
25,
2327,
13,
3132,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3510... |
Who was the Human Resources & Operations person between 2003-2004? | SELECT "Human Resources & Operations" FROM table_68322 WHERE "Year" = '2003-2004' | [
8241,
373,
262,
5524,
13864,
1222,
16205,
1048,
1022,
5816,
12,
15724,
30,
46506,
366,
20490,
13864,
1222,
16205,
1,
16034,
3084,
62,
3104,
37283,
33411,
366,
17688,
1,
796,
705,
16088,
12,
15724,
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
] | [
8241,
373,
262,
5524,
13864,
1222,
16205,
1048,
1022,
5816,
12,
15724,
30,
46506,
366,
20490,
13864,
1222,
16205,
1,
16034,
3084,
62,
3104,
37283,
33411,
366,
17688,
1,
796,
705,
16088,
12,
15724,
6
] |
What country has OF-1 Locotenent? | SELECT "Country" FROM table_52036 WHERE "OF-1" = 'locotenent' | [
2061,
1499,
468,
3963,
12,
16,
15181,
313,
268,
298,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
31211,
2623,
33411,
366,
19238,
12,
16,
1,
796,
705,
17946,
313,
268,
298,
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,
1499,
468,
3963,
12,
16,
15181,
313,
268,
298,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
31211,
2623,
33411,
366,
19238,
12,
16,
1,
796,
705,
17946,
313,
268,
298,
6
] |
What was the score for the match where the home team was Leicester City? | SELECT "Score" FROM table_77276 WHERE "Home team" = 'leicester city' | [
2061,
373,
262,
4776,
329,
262,
2872,
810,
262,
1363,
1074,
373,
29224,
2254,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3324,
27988,
33411,
366,
16060,
1074,
1,
796,
705,
293,
26382,
1748,
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,
4776,
329,
262,
2872,
810,
262,
1363,
1074,
373,
29224,
2254,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3324,
27988,
33411,
366,
16060,
1074,
1,
796,
705,
293,
26382,
1748,
6
] |
In how many different games did Luke Ridnour (5) did the most high assists? | SELECT COUNT(game) FROM table_27756314_11 WHERE high_assists = "Luke Ridnour (5)" | [
818,
703,
867,
1180,
1830,
750,
11336,
23223,
77,
454,
357,
20,
8,
750,
262,
749,
1029,
13648,
30,
46506,
327,
28270,
7,
6057,
8,
16034,
3084,
62,
1983,
2425,
5066,
1415,
62,
1157,
33411,
1029,
62,
562,
1023,
796,
366,
30730,
23223,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
1830,
750,
11336,
23223,
77,
454,
357,
20,
8,
750,
262,
749,
1029,
13648,
30,
46506,
327,
28270,
7,
6057,
8,
16034,
3084,
62,
1983,
2425,
5066,
1415,
62,
1157,
33411,
1029,
62,
562,
1023,
796,
366,
30730,
23223,... |
percentage questions by month for select DB techs. | SELECT DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS Month, COUNT(*) AS Count FROM Posts WHERE PostTypeId = 1 GROUP BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) ORDER BY DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) | [
25067,
496,
2683,
416,
1227,
329,
2922,
20137,
7261,
82,
13,
46506,
360,
6158,
29266,
7,
8424,
11,
360,
11617,
29267,
7,
8424,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
16061,
11,
327,
28270,
7,
28104,
7054,
2764,
16034,
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... | [
25067,
496,
2683,
416,
1227,
329,
2922,
20137,
7261,
82,
13,
46506,
360,
6158,
29266,
7,
8424,
11,
360,
11617,
29267,
7,
8424,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
16061,
11,
327,
28270,
7,
28104,
7054,
2764,
16034,
12043,
... |
how many other appearance did this artist make in 2005 ? | SELECT COUNT(*) FROM table_204_643 WHERE "release" = 2005 | [
4919,
867,
584,
5585,
750,
428,
6802,
787,
287,
5075,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
41813,
33411,
366,
20979,
1,
796,
5075
] | [
1,
1,
1,
1,
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,
584,
5585,
750,
428,
6802,
787,
287,
5075,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
41813,
33411,
366,
20979,
1,
796,
5075
] |
What is the original air date of the episode titled 'Mom at the Bar/Train Buddy' that was written b Adrienne Carter? | SELECT "Original air date" FROM table_25346 WHERE "Written by" = 'Adrienne Carter' AND "Title" = 'Mom at the Bar/Train Buddy' | [
2061,
318,
262,
2656,
1633,
3128,
286,
262,
4471,
11946,
705,
29252,
379,
262,
2409,
14,
44077,
36896,
6,
326,
373,
3194,
275,
1215,
15355,
710,
10831,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
1495,
30557,
33411,
366,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
1633,
3128,
286,
262,
4471,
11946,
705,
29252,
379,
262,
2409,
14,
44077,
36896,
6,
326,
373,
3194,
275,
1215,
15355,
710,
10831,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
1495,
30557,
33411,
366,
25... |
Show the number of documents created in each day and bin document date by weekday and group by document type description with a stacked bar chart, could you display in asc by the y-axis? | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY COUNT(Document_Date) | [
15307,
262,
1271,
286,
4963,
2727,
287,
1123,
1110,
290,
9874,
3188,
3128,
416,
28269,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
24167,
2318,
8262,
11,
714,
345,
3359,
287,
10570,
416,
262,
331,
12,
22704,
30,
46506,
16854,
62,
1043... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2727,
287,
1123,
1110,
290,
9874,
3188,
3128,
416,
28269,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
24167,
2318,
8262,
11,
714,
345,
3359,
287,
10570,
416,
262,
331,
12,
22704,
30,
46506,
16854,
62,
1043... |
Who is the vocal percussionist for Sex Bomb? | SELECT "Vocal Percussionist" FROM table_74314 WHERE "Track" = 'Sex Bomb' | [
8241,
318,
262,
12435,
48388,
396,
329,
14419,
14476,
30,
46506,
366,
53,
4374,
2448,
36262,
396,
1,
16034,
3084,
62,
22,
3559,
1415,
33411,
366,
24802,
1,
796,
705,
23398,
14476,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
12435,
48388,
396,
329,
14419,
14476,
30,
46506,
366,
53,
4374,
2448,
36262,
396,
1,
16034,
3084,
62,
22,
3559,
1415,
33411,
366,
24802,
1,
796,
705,
23398,
14476,
6
] |
Which Score is the lowest one that has a Year of 1868? | SELECT MIN(score) FROM table_name_75 WHERE year = 1868 | [
13828,
15178,
318,
262,
9016,
530,
326,
468,
257,
6280,
286,
1248,
3104,
30,
46506,
20625,
7,
26675,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
614,
796,
1248,
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,
1,
1
] | [
13828,
15178,
318,
262,
9016,
530,
326,
468,
257,
6280,
286,
1248,
3104,
30,
46506,
20625,
7,
26675,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
614,
796,
1248,
3104
] |
calculate the number of times that patient 57050 had produced peg tail flush in 12/this year. | SELECT COUNT(*) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 57050)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'peg tail flush' AN... | [
9948,
3129,
378,
262,
1271,
286,
1661,
326,
5827,
44626,
1120,
550,
4635,
41350,
7894,
24773,
287,
1105,
14,
5661,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
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... | [
9948,
3129,
378,
262,
1271,
286,
1661,
326,
5827,
44626,
1120,
550,
4635,
41350,
7894,
24773,
287,
1105,
14,
5661,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
... |
When is the arabic title when is the year (ceremony)? | SELECT year__ceremony_ FROM table_26555737_1 WHERE arabic_title = "موسم زيتون" | [
2215,
318,
262,
610,
397,
291,
3670,
618,
318,
262,
614,
357,
344,
2787,
1647,
19427,
46506,
614,
834,
344,
2787,
1647,
62,
16034,
3084,
62,
2075,
2816,
3553,
2718,
62,
16,
33411,
610,
397,
291,
62,
7839,
796,
366,
25405,
30335,
456... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
318,
262,
610,
397,
291,
3670,
618,
318,
262,
614,
357,
344,
2787,
1647,
19427,
46506,
614,
834,
344,
2787,
1647,
62,
16034,
3084,
62,
2075,
2816,
3553,
2718,
62,
16,
33411,
610,
397,
291,
62,
7839,
796,
366,
25405,
30335,
456... |
Which Relation has a Year larger than 2000, and a Length of 8 x 20 mins? | SELECT relation FROM table_name_12 WHERE year > 2000 AND length = "8 x 20 mins" | [
13828,
4718,
341,
468,
257,
6280,
4025,
621,
4751,
11,
290,
257,
22313,
286,
807,
2124,
1160,
23550,
30,
46506,
8695,
16034,
3084,
62,
3672,
62,
1065,
33411,
614,
1875,
4751,
5357,
4129,
796,
366,
23,
2124,
1160,
23550,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4718,
341,
468,
257,
6280,
4025,
621,
4751,
11,
290,
257,
22313,
286,
807,
2124,
1160,
23550,
30,
46506,
8695,
16034,
3084,
62,
3672,
62,
1065,
33411,
614,
1875,
4751,
5357,
4129,
796,
366,
23,
2124,
1160,
23550,
1
] |
top-k results containing post count, view count, view/post ratio per day. | COMMIT | [
4852,
12,
74,
2482,
7268,
1281,
954,
11,
1570,
954,
11,
1570,
14,
7353,
8064,
583,
1110,
13,
9858,
36393
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4852,
12,
74,
2482,
7268,
1281,
954,
11,
1570,
954,
11,
1570,
14,
7353,
8064,
583,
1110,
13,
9858,
36393
] |
When does Stephen Rassi teach 841 again ? | SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.number = 841 AND course_offering.semester = semester.semester_id AND instructor.name LIKE '%Stephen Rassi%' AND offering_instructor.instr... | [
2215,
857,
7970,
371,
46527,
4545,
807,
3901,
757,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
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... | [
2215,
857,
7970,
371,
46527,
4545,
807,
3901,
757,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
33411,
... |
Who was the opponent in the September 20, 2010 match? | SELECT opponent FROM table_name_49 WHERE date = "september 20, 2010" | [
8241,
373,
262,
6125,
287,
262,
2693,
1160,
11,
3050,
2872,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2920,
33411,
3128,
796,
366,
325,
457,
1491,
1160,
11,
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
] | [
8241,
373,
262,
6125,
287,
262,
2693,
1160,
11,
3050,
2872,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2920,
33411,
3128,
796,
366,
325,
457,
1491,
1160,
11,
3050,
1
] |
What is the class of facility ID 150935? | SELECT "Class" FROM table_42401 WHERE "Facility ID" = '150935' | [
2061,
318,
262,
1398,
286,
6841,
4522,
6640,
24,
2327,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
40090,
486,
33411,
366,
47522,
879,
4522,
1,
796,
705,
8628,
24,
2327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1398,
286,
6841,
4522,
6640,
24,
2327,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
40090,
486,
33411,
366,
47522,
879,
4522,
1,
796,
705,
8628,
24,
2327,
6
] |
Which Placings have a Nation of west germany, and Points larger than 303.72? | SELECT SUM(placings) FROM table_name_31 WHERE nation = "west germany" AND points > 303.72 | [
13828,
1345,
330,
654,
423,
257,
8741,
286,
7421,
308,
2224,
88,
11,
290,
11045,
4025,
621,
30727,
13,
4761,
30,
46506,
35683,
7,
489,
330,
654,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
3277,
796,
366,
7038,
308,
2224,
88,
1,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
330,
654,
423,
257,
8741,
286,
7421,
308,
2224,
88,
11,
290,
11045,
4025,
621,
30727,
13,
4761,
30,
46506,
35683,
7,
489,
330,
654,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
3277,
796,
366,
7038,
308,
2224,
88,
1,
53... |
Which Record label has an Album of tera roop? | SELECT record_label FROM table_name_84 WHERE album = "tera roop" | [
13828,
13266,
6167,
468,
281,
23999,
286,
1059,
64,
686,
404,
30,
46506,
1700,
62,
18242,
16034,
3084,
62,
3672,
62,
5705,
33411,
5062,
796,
366,
49600,
686,
404,
1
] | [
1,
1,
1,
1,
1,
1,
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,
13266,
6167,
468,
281,
23999,
286,
1059,
64,
686,
404,
30,
46506,
1700,
62,
18242,
16034,
3084,
62,
3672,
62,
5705,
33411,
5062,
796,
366,
49600,
686,
404,
1
] |
When Regions center has a rank less than 11, what is the greatest number o floors? | SELECT MAX("Floors") FROM table_71945 WHERE "Name" = 'regions center' AND "Rank" < '11' | [
2215,
47089,
3641,
468,
257,
4279,
1342,
621,
1367,
11,
644,
318,
262,
6000,
1271,
267,
18570,
30,
46506,
25882,
7203,
33574,
669,
4943,
16034,
3084,
62,
22,
41931,
33411,
366,
5376,
1,
796,
705,
2301,
507,
3641,
6,
5357,
366,
27520,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
47089,
3641,
468,
257,
4279,
1342,
621,
1367,
11,
644,
318,
262,
6000,
1271,
267,
18570,
30,
46506,
25882,
7203,
33574,
669,
4943,
16034,
3084,
62,
22,
41931,
33411,
366,
5376,
1,
796,
705,
2301,
507,
3641,
6,
5357,
366,
27520,
... |
what flights from MIAMI to INDIANAPOLIS on sunday | 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 = 'INDIANAPOLIS' AND date_day.day_number = 27 AND date_day.month_number = 8 ... | [
10919,
13956,
422,
15789,
43870,
284,
24413,
16868,
2969,
3535,
1797,
319,
37437,
323,
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,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
422,
15789,
43870,
284,
24413,
16868,
2969,
3535,
1797,
319,
37437,
323,
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,
70... |
How many games have been played when there are 13 wins and 45 goals were conceded? | SELECT games_played FROM table_name_58 WHERE wins = 13 AND goals_conceded = 45 | [
2437,
867,
1830,
423,
587,
2826,
618,
612,
389,
1511,
7864,
290,
4153,
4661,
547,
24684,
30,
46506,
1830,
62,
21542,
16034,
3084,
62,
3672,
62,
3365,
33411,
7864,
796,
1511,
5357,
4661,
62,
1102,
771,
276,
796,
4153
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
587,
2826,
618,
612,
389,
1511,
7864,
290,
4153,
4661,
547,
24684,
30,
46506,
1830,
62,
21542,
16034,
3084,
62,
3672,
62,
3365,
33411,
7864,
796,
1511,
5357,
4661,
62,
1102,
771,
276,
796,
4153
] |
Bar chart x axis color y axis the number of color, and I want to sort how many color from high to low order. | SELECT color, COUNT(color) FROM photos GROUP BY color ORDER BY COUNT(color) DESC | [
10374,
8262,
2124,
16488,
3124,
331,
16488,
262,
1271,
286,
3124,
11,
290,
314,
765,
284,
3297,
703,
867,
3124,
422,
1029,
284,
1877,
1502,
13,
46506,
3124,
11,
327,
28270,
7,
8043,
8,
16034,
5205,
44441,
11050,
3124,
38678,
11050,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
3124,
331,
16488,
262,
1271,
286,
3124,
11,
290,
314,
765,
284,
3297,
703,
867,
3124,
422,
1029,
284,
1877,
1502,
13,
46506,
3124,
11,
327,
28270,
7,
8043,
8,
16034,
5205,
44441,
11050,
3124,
38678,
11050,
32... |
What is the record of the game on 13 May? | SELECT "Record" FROM table_67447 WHERE "Date" = '13 may' | [
2061,
318,
262,
1700,
286,
262,
983,
319,
1511,
1737,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3134,
34825,
33411,
366,
10430,
1,
796,
705,
1485,
743,
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,
318,
262,
1700,
286,
262,
983,
319,
1511,
1737,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3134,
34825,
33411,
366,
10430,
1,
796,
705,
1485,
743,
6
] |
What was the region when the label was the universal music group? | SELECT region FROM table_name_92 WHERE label = "universal music group" | [
2061,
373,
262,
3814,
618,
262,
6167,
373,
262,
10112,
2647,
1448,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
5892,
33411,
6167,
796,
366,
40082,
2647,
1448,
1
] | [
1,
1,
1,
1,
1,
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,
3814,
618,
262,
6167,
373,
262,
10112,
2647,
1448,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
5892,
33411,
6167,
796,
366,
40082,
2647,
1448,
1
] |
What Round has the Method of Submission (Single Wing Choke)? | SELECT "Round" FROM table_38567 WHERE "Method" = 'submission (single wing choke)' | [
2061,
10485,
468,
262,
11789,
286,
42641,
357,
28008,
13405,
609,
2088,
19427,
46506,
366,
22685,
1,
16034,
3084,
62,
27203,
3134,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
29762,
8539,
28504,
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
] | [
2061,
10485,
468,
262,
11789,
286,
42641,
357,
28008,
13405,
609,
2088,
19427,
46506,
366,
22685,
1,
16034,
3084,
62,
27203,
3134,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
29762,
8539,
28504,
33047
] |
What aircraft is located at S of Avion? | SELECT "Aircraft" FROM table_60759 WHERE "Location" = 's of avion' | [
2061,
6215,
318,
5140,
379,
311,
286,
5184,
295,
30,
46506,
366,
32,
27002,
1,
16034,
3084,
62,
1899,
38314,
33411,
366,
14749,
1,
796,
705,
82,
286,
1196,
295,
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,
6215,
318,
5140,
379,
311,
286,
5184,
295,
30,
46506,
366,
32,
27002,
1,
16034,
3084,
62,
1899,
38314,
33411,
366,
14749,
1,
796,
705,
82,
286,
1196,
295,
6
] |
Which Score has a Place of 3? | SELECT score FROM table_name_18 WHERE place = "3" | [
13828,
15178,
468,
257,
8474,
286,
513,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
1295,
796,
366,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
468,
257,
8474,
286,
513,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
1295,
796,
366,
18,
1
] |
A bar chart for finding the number of the name of the project for which a scientist whose name contains Smith is assigned to, could you rank by the Y-axis from high to low? | SELECT T2.Name, COUNT(T2.Name) FROM AssignedTo AS T1 JOIN Projects AS T2 ON T1.Project = T2.Code JOIN Scientists AS T3 ON T1.Scientist = T3.SSN WHERE T3.Name LIKE '%Smith%' GROUP BY T2.Name ORDER BY COUNT(T2.Name) DESC | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
1438,
286,
262,
1628,
329,
543,
257,
11444,
3025,
1438,
4909,
4176,
318,
8686,
284,
11,
714,
345,
4279,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
30,
46506,
309,
17,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
1438,
286,
262,
1628,
329,
543,
257,
11444,
3025,
1438,
4909,
4176,
318,
8686,
284,
11,
714,
345,
4279,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
30,
46506,
309,
17,
13,
5376,
... |
What was the date of vacancy when Viorel Moldovan replaced a manager? | SELECT "Date of vacancy" FROM table_1606 WHERE "Replaced by" = 'Viorel Moldovan' | [
2061,
373,
262,
3128,
286,
39836,
618,
16049,
382,
75,
29684,
22590,
6928,
257,
4706,
30,
46506,
366,
10430,
286,
39836,
1,
16034,
3084,
62,
1433,
3312,
33411,
366,
3041,
21820,
416,
1,
796,
705,
38432,
382,
75,
29684,
22590,
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,
373,
262,
3128,
286,
39836,
618,
16049,
382,
75,
29684,
22590,
6928,
257,
4706,
30,
46506,
366,
10430,
286,
39836,
1,
16034,
3084,
62,
1433,
3312,
33411,
366,
3041,
21820,
416,
1,
796,
705,
38432,
382,
75,
29684,
22590,
6
] |
Return the name of the member who is in charge of the most events. | SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY COUNT(*) DESC LIMIT 1 | [
13615,
262,
1438,
286,
262,
2888,
508,
318,
287,
3877,
286,
262,
749,
2995,
13,
46506,
309,
16,
13,
19522,
62,
3672,
16034,
2888,
7054,
309,
16,
32357,
1268,
2151,
62,
31534,
7054,
309,
17,
6177,
309,
16,
13,
19522,
62,
312,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
262,
1438,
286,
262,
2888,
508,
318,
287,
3877,
286,
262,
749,
2995,
13,
46506,
309,
16,
13,
19522,
62,
3672,
16034,
2888,
7054,
309,
16,
32357,
1268,
2151,
62,
31534,
7054,
309,
17,
6177,
309,
16,
13,
19522,
62,
312,
796,
... |
tell me what patient 90663's or out ebl output was on this month/30. | SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 90663)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'or ... | [
33331,
502,
644,
5827,
4101,
45791,
338,
393,
503,
304,
2436,
5072,
373,
319,
428,
1227,
14,
1270,
13,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
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... | [
33331,
502,
644,
5827,
4101,
45791,
338,
393,
503,
304,
2436,
5072,
373,
319,
428,
1227,
14,
1270,
13,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
3... |
What is the position elected in 2011 from the Country of Algeria? | SELECT "Position" FROM table_8396 WHERE "Elected" = '2011' AND "Country of Origin" = 'algeria' | [
2061,
318,
262,
2292,
7018,
287,
2813,
422,
262,
12946,
286,
36498,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
23,
34107,
33411,
366,
36,
12609,
1,
796,
705,
9804,
6,
5357,
366,
33921,
286,
19349,
1,
796,
705,
282,
1362,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2292,
7018,
287,
2813,
422,
262,
12946,
286,
36498,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
23,
34107,
33411,
366,
36,
12609,
1,
796,
705,
9804,
6,
5357,
366,
33921,
286,
19349,
1,
796,
705,
282,
1362,
544,
6
] |
Who is the leading scorer for the game on March 22, 2008 with a visitor of Magic? | SELECT "Leading scorer" FROM table_10099 WHERE "Visitor" = 'magic' AND "Date" = 'march 22, 2008' | [
8241,
318,
262,
3756,
30664,
329,
262,
983,
319,
2805,
2534,
11,
3648,
351,
257,
21493,
286,
6139,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
3064,
2079,
33411,
366,
15854,
2072,
1,
796,
705,
32707,
6,
5357,
366,
10430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
3756,
30664,
329,
262,
983,
319,
2805,
2534,
11,
3648,
351,
257,
21493,
286,
6139,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
3064,
2079,
33411,
366,
15854,
2072,
1,
796,
705,
32707,
6,
5357,
366,
10430,
... |
Show the number of fate from each fate, and rank by the y axis in desc please. | SELECT Fate, COUNT(Fate) FROM mission GROUP BY Fate ORDER BY COUNT(Fate) DESC | [
15307,
262,
1271,
286,
10030,
422,
1123,
10030,
11,
290,
4279,
416,
262,
331,
16488,
287,
1715,
3387,
13,
46506,
20341,
11,
327,
28270,
7,
37,
378,
8,
16034,
4365,
44441,
11050,
20341,
38678,
11050,
327,
28270,
7,
37,
378,
8,
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
] | [
15307,
262,
1271,
286,
10030,
422,
1123,
10030,
11,
290,
4279,
416,
262,
331,
16488,
287,
1715,
3387,
13,
46506,
20341,
11,
327,
28270,
7,
37,
378,
8,
16034,
4365,
44441,
11050,
20341,
38678,
11050,
327,
28270,
7,
37,
378,
8,
22196,
... |
How many u.s. viewers (million) have the number 16? | SELECT us_viewers__million_ FROM table_19229713_6 WHERE _number = 16 | [
2437,
867,
334,
13,
82,
13,
10209,
357,
14100,
8,
423,
262,
1271,
1467,
30,
46506,
514,
62,
1177,
364,
834,
14100,
62,
16034,
3084,
62,
1129,
1828,
5607,
1485,
62,
21,
33411,
4808,
17618,
796,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
334,
13,
82,
13,
10209,
357,
14100,
8,
423,
262,
1271,
1467,
30,
46506,
514,
62,
1177,
364,
834,
14100,
62,
16034,
3084,
62,
1129,
1828,
5607,
1485,
62,
21,
33411,
4808,
17618,
796,
1467
] |
find the number of patients with lab test item id 51006 who were born before 1846. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "1846" AND lab.itemid = "51006" | [
19796,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
642,
3064,
21,
508,
547,
4642,
878,
1248,
3510,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
351,
2248,
1332,
2378,
4686,
642,
3064,
21,
508,
547,
4642,
878,
1248,
3510,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177... |
How many events did clay win? | SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay" | [
2437,
867,
2995,
750,
21558,
1592,
30,
46506,
5626,
327,
28270,
7054,
1785,
16034,
3084,
62,
3672,
62,
3682,
33411,
8464,
796,
366,
565,
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
] | [
2437,
867,
2995,
750,
21558,
1592,
30,
46506,
5626,
327,
28270,
7054,
1785,
16034,
3084,
62,
3672,
62,
3682,
33411,
8464,
796,
366,
565,
323,
1
] |
What is the amount of assists for richmond kickers and points larger than 24 | SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24 | [
2061,
318,
262,
2033,
286,
13648,
329,
5527,
6327,
4829,
364,
290,
2173,
4025,
621,
1987,
46506,
35683,
7,
562,
1023,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
3430,
796,
366,
7527,
6327,
4829,
364,
1,
5357,
2173,
1875,
1987
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
13648,
329,
5527,
6327,
4829,
364,
290,
2173,
4025,
621,
1987,
46506,
35683,
7,
562,
1023,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
3430,
796,
366,
7527,
6327,
4829,
364,
1,
5357,
2173,
1875,
1987
] |
What was the 18 to 49 rating when 9.50 million watched? | SELECT "Rating (18\u201349)" FROM table_27044 WHERE "Viewers (millions)" = '9.50' | [
2061,
373,
262,
1248,
284,
5125,
7955,
618,
860,
13,
1120,
1510,
7342,
30,
46506,
366,
29321,
357,
1507,
59,
84,
1264,
27371,
16725,
16034,
3084,
62,
20233,
2598,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
24,
13,
1120,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1248,
284,
5125,
7955,
618,
860,
13,
1120,
1510,
7342,
30,
46506,
366,
29321,
357,
1507,
59,
84,
1264,
27371,
16725,
16034,
3084,
62,
20233,
2598,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
24,
13,
1120,
... |
please book for me a flight on TW from WASHINGTON to SAN FRANCISCO earliest possible time | 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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'S... | [
29688,
1492,
329,
502,
257,
5474,
319,
17306,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
14555,
1744,
640,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1492,
329,
502,
257,
5474,
319,
17306,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
14555,
1744,
640,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... |
Show the transaction type code that occurs the most frequently. | SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1 | [
15307,
262,
8611,
2099,
2438,
326,
8833,
262,
749,
6777,
13,
46506,
8611,
62,
4906,
62,
8189,
16034,
44069,
10659,
11053,
44441,
11050,
8611,
62,
4906,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
8611,
2099,
2438,
326,
8833,
262,
749,
6777,
13,
46506,
8611,
62,
4906,
62,
8189,
16034,
44069,
10659,
11053,
44441,
11050,
8611,
62,
4906,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
i'd like to go from BOSTON to SAN FRANCISCO | 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA... | [
72,
1549,
588,
284,
467,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
37719,
14058,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1549,
588,
284,
467,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
37719,
14058,
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,
... |
tell me the number of newborn admitted patients who have self pay insurance. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.insurance = "Self Pay" | [
33331,
502,
262,
1271,
286,
23856,
6848,
3871,
508,
423,
2116,
1414,
5096,
13,
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,
13965,
33,
30649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33331,
502,
262,
1271,
286,
23856,
6848,
3871,
508,
423,
2116,
1414,
5096,
13,
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,
13965,
33,
30649,
... |
For each film, show the price and group them by cinema name in a stacked bar chart, sort x axis from low to high order. | SELECT Name, Price FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Title, Name ORDER BY Name | [
1890,
1123,
2646,
11,
905,
262,
2756,
290,
1448,
606,
416,
22041,
1438,
287,
257,
24167,
2318,
8262,
11,
3297,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
6530,
11,
7886,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
2646,
11,
905,
262,
2756,
290,
1448,
606,
416,
22041,
1438,
287,
257,
24167,
2318,
8262,
11,
3297,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
6530,
11,
7886,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
30... |
which county had the same number of points as latvia ? | SELECT "country" FROM table_204_954 WHERE "country" <> 'latvia' AND "points" = (SELECT "points" FROM table_204_954 WHERE "country" = 'latvia') | [
4758,
7968,
550,
262,
976,
1271,
286,
2173,
355,
3042,
8869,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
18638,
62,
48372,
33411,
366,
19315,
1,
1279,
29,
705,
15460,
8869,
6,
5357,
366,
13033,
1,
796,
357,
46506,
366,
13033,
1,
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
] | [
4758,
7968,
550,
262,
976,
1271,
286,
2173,
355,
3042,
8869,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
18638,
62,
48372,
33411,
366,
19315,
1,
1279,
29,
705,
15460,
8869,
6,
5357,
366,
13033,
1,
796,
357,
46506,
366,
13033,
1,
16... |
provide the number of patients whose death status is 1 and drug name is diphenhydramine hcl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "DiphenhydrAMINE HCl" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
2563,
1438,
318,
19550,
831,
15511,
859,
500,
289,
565,
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,
1918,
3722,
318,
352,
290,
2563,
1438,
318,
19550,
831,
15511,
859,
500,
289,
565,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,... |
What is the average hoop when the all around is less than 9.7? | SELECT AVG("Hoop") FROM table_60724 WHERE "All Around" < '9.7' | [
2061,
318,
262,
2811,
44792,
618,
262,
477,
1088,
318,
1342,
621,
860,
13,
22,
30,
46506,
35224,
7203,
39,
11224,
4943,
16034,
3084,
62,
31980,
1731,
33411,
366,
3237,
16824,
1,
1279,
705,
24,
13,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
44792,
618,
262,
477,
1088,
318,
1342,
621,
860,
13,
22,
30,
46506,
35224,
7203,
39,
11224,
4943,
16034,
3084,
62,
31980,
1731,
33411,
366,
3237,
16824,
1,
1279,
705,
24,
13,
22,
6
] |
how many songs are more than four minutes long ? | SELECT COUNT("title") FROM table_204_573 WHERE "length" >= 4 | [
4919,
867,
7259,
389,
517,
621,
1440,
2431,
890,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
48638,
33411,
366,
13664,
1,
18189,
604
] | [
1,
1,
1,
1,
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,
7259,
389,
517,
621,
1440,
2431,
890,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
48638,
33411,
366,
13664,
1,
18189,
604
] |
Who is the author for the malasaurus? | SELECT "Authors" FROM table_7025 WHERE "Name" = 'malasaurus' | [
8241,
318,
262,
1772,
329,
262,
6428,
292,
22302,
30,
46506,
366,
30515,
669,
1,
16034,
3084,
62,
2154,
1495,
33411,
366,
5376,
1,
796,
705,
7617,
292,
22302,
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,
318,
262,
1772,
329,
262,
6428,
292,
22302,
30,
46506,
366,
30515,
669,
1,
16034,
3084,
62,
2154,
1495,
33411,
366,
5376,
1,
796,
705,
7617,
292,
22302,
6
] |
What is the number of points for the vehicle with a mp4-17d chassis earlier than 2003? | SELECT SUM("Points") FROM table_10296 WHERE "Chassis" = 'mp4-17d' AND "Year" < '2003' | [
2061,
318,
262,
1271,
286,
2173,
329,
262,
4038,
351,
257,
29034,
19,
12,
1558,
67,
24587,
2961,
621,
5816,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
940,
27137,
33411,
366,
1925,
20297,
1,
796,
705,
3149,
19,
12,
1558,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
329,
262,
4038,
351,
257,
29034,
19,
12,
1558,
67,
24587,
2961,
621,
5816,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
940,
27137,
33411,
366,
1925,
20297,
1,
796,
705,
3149,
19,
12,
1558,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.