instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
When was the ship tecumseh launched? | SELECT launched FROM table_12592074_1 WHERE ship = "Tecumseh" | [
2215,
373,
262,
4074,
573,
36340,
325,
71,
5611,
30,
46506,
5611,
16034,
3084,
62,
1065,
3270,
1238,
4524,
62,
16,
33411,
4074,
796,
366,
51,
721,
388,
325,
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
] | [
2215,
373,
262,
4074,
573,
36340,
325,
71,
5611,
30,
46506,
5611,
16034,
3084,
62,
1065,
3270,
1238,
4524,
62,
16,
33411,
4074,
796,
366,
51,
721,
388,
325,
71,
1
] |
Which 7:00 has an 8:00 of la soir e du hockey? | SELECT "7:00" FROM table_37294 WHERE "8:00" = 'la soirée du hockey' | [
13828,
767,
25,
405,
468,
281,
807,
25,
405,
286,
8591,
523,
343,
304,
7043,
12217,
30,
46506,
366,
22,
25,
405,
1,
16034,
3084,
62,
2718,
27696,
33411,
366,
23,
25,
405,
1,
796,
705,
5031,
523,
343,
22161,
7043,
12217,
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
] | [
13828,
767,
25,
405,
468,
281,
807,
25,
405,
286,
8591,
523,
343,
304,
7043,
12217,
30,
46506,
366,
22,
25,
405,
1,
16034,
3084,
62,
2718,
27696,
33411,
366,
23,
25,
405,
1,
796,
705,
5031,
523,
343,
22161,
7043,
12217,
6
] |
When did the atv-002 launch? | SELECT launch_date FROM table_name_22 WHERE designation = "atv-002" | [
2215,
750,
262,
379,
85,
12,
21601,
4219,
30,
46506,
4219,
62,
4475,
16034,
3084,
62,
3672,
62,
1828,
33411,
22566,
796,
366,
265,
85,
12,
21601,
1
] | [
1,
1,
1,
1,
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,
379,
85,
12,
21601,
4219,
30,
46506,
4219,
62,
4475,
16034,
3084,
62,
3672,
62,
1828,
33411,
22566,
796,
366,
265,
85,
12,
21601,
1
] |
how much does it cost for a diagnosis of mixed acid-base bal dis? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'diagnoses_icd' AND cost.event_id IN (SELECT diagnoses_icd.row_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'mixed acid-base bal dis')) | [
4919,
881,
857,
340,
1575,
329,
257,
13669,
286,
7668,
7408,
12,
8692,
3652,
595,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
857,
340,
1575,
329,
257,
13669,
286,
7668,
7408,
12,
8692,
3652,
595,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
1... |
on the last icu visit, was patient 26156's heart rate ever less than 83.0? | SELECT COUNT(*) > 0 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 = 26156) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.itemid IN (SELE... | [
261,
262,
938,
14158,
84,
3187,
11,
373,
5827,
2608,
21599,
338,
2612,
2494,
1683,
1342,
621,
9698,
13,
15,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
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... | [
261,
262,
938,
14158,
84,
3187,
11,
373,
5827,
2608,
21599,
338,
2612,
2494,
1683,
1342,
621,
9698,
13,
15,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
4... |
Who retired at lap 77 and was grid 11? | SELECT "Time/Retired" FROM table_11191 WHERE "Laps" = '77' AND "Grid" = '11' | [
8241,
9880,
379,
14779,
8541,
290,
373,
10706,
1367,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
1157,
26492,
33411,
366,
43,
1686,
1,
796,
705,
3324,
6,
5357,
366,
41339,
1,
796,
705,
1157,
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
] | [
8241,
9880,
379,
14779,
8541,
290,
373,
10706,
1367,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
1157,
26492,
33411,
366,
43,
1686,
1,
796,
705,
3324,
6,
5357,
366,
41339,
1,
796,
705,
1157,
6
] |
Find the name of the stadium that has the maximum capacity. | SELECT name FROM stadium ORDER BY capacity DESC LIMIT 1 | [
16742,
262,
1438,
286,
262,
10308,
326,
468,
262,
5415,
5339,
13,
46506,
1438,
16034,
10308,
38678,
11050,
5339,
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
] | [
16742,
262,
1438,
286,
262,
10308,
326,
468,
262,
5415,
5339,
13,
46506,
1438,
16034,
10308,
38678,
11050,
5339,
22196,
34,
27564,
2043,
352
] |
Who had the pole position at the German Grand Prix? | SELECT pole_position FROM table_1137718_2 WHERE grand_prix = "German grand_prix" | [
8241,
550,
262,
16825,
2292,
379,
262,
2679,
5675,
23832,
30,
46506,
16825,
62,
9150,
16034,
3084,
62,
1157,
26514,
1507,
62,
17,
33411,
4490,
62,
3448,
87,
796,
366,
16010,
4490,
62,
3448,
87,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
262,
16825,
2292,
379,
262,
2679,
5675,
23832,
30,
46506,
16825,
62,
9150,
16034,
3084,
62,
1157,
26514,
1507,
62,
17,
33411,
4490,
62,
3448,
87,
796,
366,
16010,
4490,
62,
3448,
87,
1
] |
What was the earliest release-year of the first charted record of Abba? | SELECT MIN(release_year_of_first_charted_record) FROM table_name_88 WHERE artist = "abba" | [
2061,
373,
262,
14555,
2650,
12,
1941,
286,
262,
717,
8262,
276,
1700,
286,
2275,
7012,
30,
46506,
20625,
7,
20979,
62,
1941,
62,
1659,
62,
11085,
62,
354,
19112,
62,
22105,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
6802,
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
] | [
2061,
373,
262,
14555,
2650,
12,
1941,
286,
262,
717,
8262,
276,
1700,
286,
2275,
7012,
30,
46506,
20625,
7,
20979,
62,
1941,
62,
1659,
62,
11085,
62,
354,
19112,
62,
22105,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
6802,
796,
366,... |
provide the number of patients with the diagnoses of ostium secundum type atrial septal defect who were hospitalized for more than 8 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "8" AND diagnoses.long_title = "Ostium secundum type atrial septal defect" | [
15234,
485,
262,
1271,
286,
3871,
351,
262,
40567,
286,
23619,
1505,
792,
917,
388,
2099,
379,
4454,
384,
457,
282,
11855,
508,
547,
31736,
329,
517,
621,
807,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
351,
262,
40567,
286,
23619,
1505,
792,
917,
388,
2099,
379,
4454,
384,
457,
282,
11855,
508,
547,
31736,
329,
517,
621,
807,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... |
who was the next transfer after maico on may 30 , 2009 ? | SELECT "name" FROM table_204_539 WHERE "date" > (SELECT "date" FROM table_204_539 WHERE "name" = 'maicon') ORDER BY "date" LIMIT 1 | [
8727,
373,
262,
1306,
4351,
706,
17266,
3713,
319,
743,
1542,
837,
3717,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
33411,
366,
4475,
1,
1875,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
1306,
4351,
706,
17266,
3713,
319,
743,
1542,
837,
3717,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
33411,
366,
4475,
1,
1875,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
334... |
What shows for 2010 when 2007 is a and 2004 is 2r? | SELECT 2010 FROM table_name_97 WHERE 2007 = "a" AND 2004 = "2r" | [
2061,
2523,
329,
3050,
618,
4343,
318,
257,
290,
5472,
318,
362,
81,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
5607,
33411,
4343,
796,
366,
64,
1,
5357,
5472,
796,
366,
17,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2523,
329,
3050,
618,
4343,
318,
257,
290,
5472,
318,
362,
81,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
5607,
33411,
4343,
796,
366,
64,
1,
5357,
5472,
796,
366,
17,
81,
1
] |
Tell me the average attendance for week of 11 | SELECT AVG("Attendance") FROM table_31714 WHERE "Week" = '11' | [
24446,
502,
262,
2811,
14858,
329,
1285,
286,
1367,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
34125,
1415,
33411,
366,
20916,
1,
796,
705,
1157,
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
] | [
24446,
502,
262,
2811,
14858,
329,
1285,
286,
1367,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
34125,
1415,
33411,
366,
20916,
1,
796,
705,
1157,
6
] |
Between EECS 477 and EECS 570 which is easier than the other ? | SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 477 OR course.number = 570) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ... | [
25262,
412,
2943,
50,
604,
3324,
290,
412,
2943,
50,
44626,
543,
318,
4577,
621,
262,
584,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
25262,
412,
2943,
50,
604,
3324,
290,
412,
2943,
50,
44626,
543,
318,
4577,
621,
262,
584,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
... |
How many different locations does each school have? | SELECT COUNT(DISTINCT dept_address), school_code FROM department GROUP BY school_code | [
2437,
867,
1180,
7064,
857,
1123,
1524,
423,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
390,
457,
62,
21975,
828,
1524,
62,
8189,
16034,
5011,
44441,
11050,
1524,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
7064,
857,
1123,
1524,
423,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
390,
457,
62,
21975,
828,
1524,
62,
8189,
16034,
5011,
44441,
11050,
1524,
62,
8189
] |
how many patients had been released until 4 years ago from the hospital? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime) <= DATETIME(CURRENT_TIME(), '-4 year') | [
4919,
867,
3871,
550,
587,
2716,
1566,
604,
812,
2084,
422,
262,
4436,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
587,
2716,
1566,
604,
812,
2084,
422,
262,
4436,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
5... |
Bizarre question stats by Tag. | WITH TaggedPosts(PostId) AS (SELECT pt.PostId AS PostId FROM PostTags AS pt INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName LIKE '%' + '##tag:string##' + '%' GROUP BY pt.PostId) SELECT Id AS "post_link", * FROM Posts WHERE Id IN (SELECT PostId FROM TaggedPosts) AND PostTypeId = 1 AND AnswerCount = 0 AND NOT Acc... | [
33,
12474,
1808,
9756,
416,
17467,
13,
54,
10554,
309,
14655,
21496,
7,
6307,
7390,
8,
7054,
357,
46506,
42975,
13,
6307,
7390,
7054,
2947,
7390,
16034,
2947,
36142,
7054,
42975,
3268,
21479,
32357,
1268,
44789,
7054,
256,
6177,
256,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33,
12474,
1808,
9756,
416,
17467,
13,
54,
10554,
309,
14655,
21496,
7,
6307,
7390,
8,
7054,
357,
46506,
42975,
13,
6307,
7390,
7054,
2947,
7390,
16034,
2947,
36142,
7054,
42975,
3268,
21479,
32357,
1268,
44789,
7054,
256,
6177,
256,
13... |
Are any other requirements fulfilled for POLISH 432 besides general elective ? | SELECT DISTINCT program_course.category FROM course, program_course WHERE course.department = 'POLISH' AND course.number = 432 AND program_course.course_id = course.course_id | [
8491,
597,
584,
5359,
23085,
329,
20634,
18422,
46393,
13769,
2276,
1742,
425,
5633,
46506,
360,
8808,
1268,
4177,
1430,
62,
17319,
13,
22872,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
45472,
18422,
6,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8491,
597,
584,
5359,
23085,
329,
20634,
18422,
46393,
13769,
2276,
1742,
425,
5633,
46506,
360,
8808,
1268,
4177,
1430,
62,
17319,
13,
22872,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
45472,
18422,
6,
53... |
had patient 006-2586 received a diagnosis in 2105? | 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 = '006-2586')) AND STRFTIME('%y', diagnosis.diagnosistime) = '2105' | [
18108,
5827,
3571,
21,
12,
1495,
4521,
2722,
257,
13669,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
3571,
21,
12,
1495,
4521,
2722,
257,
13669,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
... |
How many where killed under Major-General Jean Victor de Constant Rebecque's command? | SELECT "Killed" FROM table_17185 WHERE "Commander" = 'Major-General Jean Victor de Constant Rebecque' | [
2437,
867,
810,
2923,
739,
8386,
12,
12218,
11320,
12622,
390,
20217,
797,
9423,
4188,
338,
3141,
30,
46506,
366,
42,
2967,
1,
16034,
3084,
62,
1558,
21652,
33411,
366,
6935,
4066,
1,
796,
705,
24206,
12,
12218,
11320,
12622,
390,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
810,
2923,
739,
8386,
12,
12218,
11320,
12622,
390,
20217,
797,
9423,
4188,
338,
3141,
30,
46506,
366,
42,
2967,
1,
16034,
3084,
62,
1558,
21652,
33411,
366,
6935,
4066,
1,
796,
705,
24206,
12,
12218,
11320,
12622,
390,
202... |
what college has nhl team chicago black hawks? | SELECT college_junior_club_team FROM table_1213511_5 WHERE nhl_team = "Chicago Black Hawks" | [
10919,
4152,
468,
299,
18519,
1074,
442,
4549,
2042,
23185,
591,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
1065,
17059,
1157,
62,
20,
33411,
299,
18519,
62,
15097,
796,
366,
25705,
2619,
23445,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4152,
468,
299,
18519,
1074,
442,
4549,
2042,
23185,
591,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
1065,
17059,
1157,
62,
20,
33411,
299,
18519,
62,
15097,
796,
366,
25705,
2619,
23445,
1
] |
Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when the Result is 42-3? | SELECT winner FROM table_name_33 WHERE loser = "baltimore colts" AND location = "schaefer stadium" AND result = "42-3" | [
8241,
318,
262,
25358,
11,
618,
262,
5401,
263,
318,
262,
10346,
20464,
11,
618,
262,
13397,
318,
35756,
41027,
10499,
11,
290,
618,
262,
25414,
318,
5433,
12,
18,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
2091,
33411,
30256,
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... | [
8241,
318,
262,
25358,
11,
618,
262,
5401,
263,
318,
262,
10346,
20464,
11,
618,
262,
13397,
318,
35756,
41027,
10499,
11,
290,
618,
262,
25414,
318,
5433,
12,
18,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
2091,
33411,
30256,
796,
... |
when was the last time that patient 23237 was measured / taken a measurement of arterial bp [systolic] since 337 days ago? | SELECT chartevents.charttime 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 = 23237)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial... | [
12518,
373,
262,
938,
640,
326,
5827,
2242,
24693,
373,
8630,
1220,
2077,
257,
15558,
286,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
1201,
42294,
1528,
2084,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
640,
326,
5827,
2242,
24693,
373,
8630,
1220,
2077,
257,
15558,
286,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
1201,
42294,
1528,
2084,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,... |
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of hire_date and the sum of employee_id bin hire_date by time, and rank by the y axis from low to high. | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(EMPLOYEE_ID) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
4279,
416,
262,
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... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
4279,
416,
262,
33... |
What are the ids and names of all start stations that were the beginning of at least 200 trips Show bar chart, list by the X-axis in descending. | SELECT start_station_name, start_station_id FROM trip ORDER BY start_station_name DESC | [
2061,
389,
262,
220,
2340,
290,
3891,
286,
477,
923,
8985,
326,
547,
262,
3726,
286,
379,
1551,
939,
13229,
5438,
2318,
8262,
11,
1351,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
923,
62,
17529,
62,
3672,
11,
923,
62,
17529,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
2340,
290,
3891,
286,
477,
923,
8985,
326,
547,
262,
3726,
286,
379,
1551,
939,
13229,
5438,
2318,
8262,
11,
1351,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
923,
62,
17529,
62,
3672,
11,
923,
62,
17529,
... |
WHAT IS THE NUMBER OF VIEWERS WITH EPISODE LARGER THAN 10, RATING SMALLER THAN 2? | SELECT MAX(viewers__millions_) FROM table_name_78 WHERE episode_number > 10 AND rating < 2 | [
32971,
3180,
3336,
36871,
13246,
3963,
49880,
4877,
13315,
14724,
1797,
16820,
47211,
30373,
2320,
1565,
838,
11,
371,
33881,
9447,
7036,
1137,
2320,
1565,
362,
30,
46506,
25882,
7,
1177,
364,
834,
17805,
507,
62,
8,
16034,
3084,
62,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
36871,
13246,
3963,
49880,
4877,
13315,
14724,
1797,
16820,
47211,
30373,
2320,
1565,
838,
11,
371,
33881,
9447,
7036,
1137,
2320,
1565,
362,
30,
46506,
25882,
7,
1177,
364,
834,
17805,
507,
62,
8,
16034,
3084,
62,
36... |
What was the outcome for Newcombe in the matches he played against Jan Kode ? | SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš" | [
2061,
373,
262,
8055,
329,
968,
49325,
287,
262,
7466,
339,
2826,
1028,
2365,
509,
1098,
5633,
46506,
8055,
16034,
3084,
62,
1954,
25191,
2998,
22,
62,
16,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
12128,
509,
1098,
32790,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8055,
329,
968,
49325,
287,
262,
7466,
339,
2826,
1028,
2365,
509,
1098,
5633,
46506,
8055,
16034,
3084,
62,
1954,
25191,
2998,
22,
62,
16,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
12128,
509,
1098,
32790,
... |
What is the largest round number for Dan Connor, the player? | SELECT MAX(round) FROM table_name_87 WHERE player = "dan connor" | [
2061,
318,
262,
4387,
2835,
1271,
329,
6035,
27599,
11,
262,
2137,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
2137,
796,
366,
25604,
369,
13099,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4387,
2835,
1271,
329,
6035,
27599,
11,
262,
2137,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
2137,
796,
366,
25604,
369,
13099,
1
] |
What is the original air date of the episode with 908000 viewers? | SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000 | [
2061,
318,
262,
2656,
1633,
3128,
286,
262,
4471,
351,
860,
2919,
830,
10209,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
23195,
2857,
35809,
62,
17,
33411,
10209,
796,
860,
2919,
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,
1
] | [
2061,
318,
262,
2656,
1633,
3128,
286,
262,
4471,
351,
860,
2919,
830,
10209,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
23195,
2857,
35809,
62,
17,
33411,
10209,
796,
860,
2919,
830
] |
What year had more than 2 goals and 11 (2) games? | SELECT "Years" FROM table_64598 WHERE "Goals" > '2' AND "Games" = '11 (2)' | [
2061,
614,
550,
517,
621,
362,
4661,
290,
1367,
357,
17,
8,
1830,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
49259,
4089,
33411,
366,
5247,
874,
1,
1875,
705,
17,
6,
5357,
366,
24474,
1,
796,
705,
1157,
357,
17,
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,
1,
1
] | [
2061,
614,
550,
517,
621,
362,
4661,
290,
1367,
357,
17,
8,
1830,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
49259,
4089,
33411,
366,
5247,
874,
1,
1875,
705,
17,
6,
5357,
366,
24474,
1,
796,
705,
1157,
357,
17,
33047
] |
Which Reigns has 92 days held? | SELECT reigns FROM table_name_53 WHERE days_held = 92 | [
13828,
29297,
82,
468,
10190,
1528,
2714,
30,
46506,
13580,
82,
16034,
3084,
62,
3672,
62,
4310,
33411,
1528,
62,
10217,
796,
10190
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
29297,
82,
468,
10190,
1528,
2714,
30,
46506,
13580,
82,
16034,
3084,
62,
3672,
62,
4310,
33411,
1528,
62,
10217,
796,
10190
] |
What is the height of the Tenth Presbyterian Church? | SELECT "Height ft (m)" FROM table_71242 WHERE "Name" = 'tenth presbyterian church' | [
2061,
318,
262,
6001,
286,
262,
44519,
44150,
4564,
30,
46506,
366,
23106,
10117,
357,
76,
16725,
16034,
3084,
62,
49517,
3682,
33411,
366,
5376,
1,
796,
705,
83,
7944,
906,
36204,
666,
4928,
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,
6001,
286,
262,
44519,
44150,
4564,
30,
46506,
366,
23106,
10117,
357,
76,
16725,
16034,
3084,
62,
49517,
3682,
33411,
366,
5376,
1,
796,
705,
83,
7944,
906,
36204,
666,
4928,
6
] |
Which Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses? | SELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 9 | [
13828,
28510,
1028,
468,
24423,
286,
1511,
11,
290,
28510,
329,
4025,
621,
5433,
11,
290,
517,
621,
860,
22014,
274,
30,
46506,
35224,
7,
2188,
874,
62,
32826,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
7864,
796,
1511,
5357,
4661,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28510,
1028,
468,
24423,
286,
1511,
11,
290,
28510,
329,
4025,
621,
5433,
11,
290,
517,
621,
860,
22014,
274,
30,
46506,
35224,
7,
2188,
874,
62,
32826,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
7864,
796,
1511,
5357,
4661,
... |
what is the total number of different builders in the table ? | SELECT COUNT(DISTINCT "builder") FROM table_204_882 | [
10919,
318,
262,
2472,
1271,
286,
1180,
31606,
287,
262,
3084,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
38272,
4943,
16034,
3084,
62,
18638,
62,
42980
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
1180,
31606,
287,
262,
3084,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
38272,
4943,
16034,
3084,
62,
18638,
62,
42980
] |
Bar chart of how many building from each building, and could you rank by the X in asc? | SELECT building, COUNT(building) FROM department GROUP BY building ORDER BY building | [
10374,
8262,
286,
703,
867,
2615,
422,
1123,
2615,
11,
290,
714,
345,
4279,
416,
262,
1395,
287,
10570,
30,
46506,
2615,
11,
327,
28270,
7,
16894,
8,
16034,
5011,
44441,
11050,
2615,
38678,
11050,
2615
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
703,
867,
2615,
422,
1123,
2615,
11,
290,
714,
345,
4279,
416,
262,
1395,
287,
10570,
30,
46506,
2615,
11,
327,
28270,
7,
16894,
8,
16034,
5011,
44441,
11050,
2615,
38678,
11050,
2615
] |
what were the three most commonly given procedures for patients who had previously received a aortocor bypas-1 cor art within 2 months, during a year before? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.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, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admi... | [
10919,
547,
262,
1115,
749,
8811,
1813,
9021,
329,
3871,
508,
550,
4271,
2722,
257,
257,
419,
420,
273,
416,
44429,
12,
16,
1162,
1242,
1626,
362,
1933,
11,
1141,
257,
614,
878,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1115,
749,
8811,
1813,
9021,
329,
3871,
508,
550,
4271,
2722,
257,
257,
419,
420,
273,
416,
44429,
12,
16,
1162,
1242,
1626,
362,
1933,
11,
1141,
257,
614,
878,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,... |
how many days have it taken since the last time patient 016-9636 received a procedure in their current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-9636' ... | [
4919,
867,
1528,
423,
340,
2077,
1201,
262,
938,
640,
5827,
5534,
21,
12,
4846,
2623,
2722,
257,
8771,
287,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
423,
340,
2077,
1201,
262,
938,
640,
5827,
5534,
21,
12,
4846,
2623,
2722,
257,
8771,
287,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... |
In the Central region, what was the infiltration (km 3 /year)? | SELECT "Infiltration (km 3 /year)" FROM table_28224 WHERE "Region" = 'Central' | [
818,
262,
5694,
3814,
11,
644,
373,
262,
45106,
357,
13276,
513,
1220,
1941,
19427,
46506,
366,
18943,
36055,
357,
13276,
513,
1220,
1941,
16725,
16034,
3084,
62,
2078,
24137,
33411,
366,
47371,
1,
796,
705,
30645,
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
] | [
818,
262,
5694,
3814,
11,
644,
373,
262,
45106,
357,
13276,
513,
1220,
1941,
19427,
46506,
366,
18943,
36055,
357,
13276,
513,
1220,
1941,
16725,
16034,
3084,
62,
2078,
24137,
33411,
366,
47371,
1,
796,
705,
30645,
6
] |
shows for the artist Santana featuring the product g&b? | SELECT volume AS :issue FROM table_name_78 WHERE artist = "santana featuring the product g&b" | [
49596,
329,
262,
6802,
49067,
9593,
262,
1720,
308,
5,
65,
30,
46506,
6115,
7054,
1058,
21949,
16034,
3084,
62,
3672,
62,
3695,
33411,
6802,
796,
366,
82,
415,
2271,
9593,
262,
1720,
308,
5,
65,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
49596,
329,
262,
6802,
49067,
9593,
262,
1720,
308,
5,
65,
30,
46506,
6115,
7054,
1058,
21949,
16034,
3084,
62,
3672,
62,
3695,
33411,
6802,
796,
366,
82,
415,
2271,
9593,
262,
1720,
308,
5,
65,
1
] |
Bar graph to show the total number from different party | SELECT Party, COUNT(*) FROM people GROUP BY Party | [
10374,
4823,
284,
905,
262,
2472,
1271,
422,
1180,
2151,
46506,
3615,
11,
327,
28270,
7,
28104,
16034,
661,
44441,
11050,
3615
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
4823,
284,
905,
262,
2472,
1271,
422,
1180,
2151,
46506,
3615,
11,
327,
28270,
7,
28104,
16034,
661,
44441,
11050,
3615
] |
when was the first tour date of 2010 ? | SELECT "date" FROM table_203_855 ORDER BY "date" LIMIT 1 | [
12518,
373,
262,
717,
4205,
3128,
286,
3050,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
45432,
38678,
11050,
366,
4475,
1,
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
] | [
12518,
373,
262,
717,
4205,
3128,
286,
3050,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
45432,
38678,
11050,
366,
4475,
1,
27564,
2043,
352
] |
What is the result when 13 is the week? | SELECT result FROM table_name_64 WHERE week = 13 | [
2061,
318,
262,
1255,
618,
1511,
318,
262,
1285,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2414,
33411,
1285,
796,
1511
] | [
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,
1255,
618,
1511,
318,
262,
1285,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2414,
33411,
1285,
796,
1511
] |
What is the total amount of all payments? | SELECT SUM(amount) FROM payment | [
2061,
318,
262,
2472,
2033,
286,
477,
7524,
30,
46506,
35683,
7,
17287,
8,
16034,
6074
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
2033,
286,
477,
7524,
30,
46506,
35683,
7,
17287,
8,
16034,
6074
] |
name a country that won more than one silver medal but no bronze medals . | SELECT "nation" FROM table_204_725 WHERE "silver" > 1 AND "bronze" = 0 | [
3672,
257,
1499,
326,
1839,
517,
621,
530,
8465,
18279,
475,
645,
22101,
28057,
764,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
45151,
33411,
366,
40503,
1,
1875,
352,
5357,
366,
65,
1313,
2736,
1,
796,
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
] | [
3672,
257,
1499,
326,
1839,
517,
621,
530,
8465,
18279,
475,
645,
22101,
28057,
764,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
45151,
33411,
366,
40503,
1,
1875,
352,
5357,
366,
65,
1313,
2736,
1,
796,
657
] |
Which club has 77 points? | SELECT "Club" FROM table_12141 WHERE "Points" = '77' | [
13828,
3430,
468,
8541,
2173,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
1065,
23756,
33411,
366,
40710,
1,
796,
705,
3324,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3430,
468,
8541,
2173,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
1065,
23756,
33411,
366,
40710,
1,
796,
705,
3324,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, and could you order in asc by the mean employee id please? | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(EMPLOYEE_ID) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,... |
To declare a major in PHARMSCI , which classes are required ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%PHARMSCI%' AND program_course.category LIKE 'PreMajor' AND program_course.course_id = course.course_id | [
2514,
13627,
257,
1688,
287,
9370,
1503,
5653,
25690,
837,
543,
6097,
389,
2672,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2514,
13627,
257,
1688,
287,
9370,
1503,
5653,
25690,
837,
543,
6097,
389,
2672,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10... |
provide the number of patients whose item id is 50915? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50915" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
2026,
40248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
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
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
2026,
40248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796... |
Ignore movies whose director is NULL. For each director, what are the titles and ratings for all the movies they reviewed? Show the result by a pie chart. | SELECT title, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" | [
32916,
382,
6918,
3025,
3437,
318,
15697,
13,
1114,
1123,
3437,
11,
644,
389,
262,
8714,
290,
10109,
329,
477,
262,
6918,
484,
11765,
30,
5438,
262,
1255,
416,
257,
2508,
8262,
13,
46506,
3670,
11,
5788,
16034,
12028,
7054,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32916,
382,
6918,
3025,
3437,
318,
15697,
13,
1114,
1123,
3437,
11,
644,
389,
262,
8714,
290,
10109,
329,
477,
262,
6918,
484,
11765,
30,
5438,
262,
1255,
416,
257,
2508,
8262,
13,
46506,
3670,
11,
5788,
16034,
12028,
7054,
309,
16,
... |
What is the highest amount of gold medals awarded to a team with more than 9 silver, 7 bronze and more than 13 medals total? | SELECT MAX("Gold") FROM table_7332 WHERE "Total" > '13' AND "Silver" > '9' AND "Bronze" = '7' | [
2061,
318,
262,
4511,
2033,
286,
3869,
28057,
11343,
284,
257,
1074,
351,
517,
621,
860,
8465,
11,
767,
22101,
290,
517,
621,
1511,
28057,
2472,
30,
46506,
25882,
7203,
13306,
4943,
16034,
3084,
62,
22,
32148,
33411,
366,
14957,
1,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2033,
286,
3869,
28057,
11343,
284,
257,
1074,
351,
517,
621,
860,
8465,
11,
767,
22101,
290,
517,
621,
1511,
28057,
2472,
30,
46506,
25882,
7203,
13306,
4943,
16034,
3084,
62,
22,
32148,
33411,
366,
14957,
1,
18... |
Who was the winner with the loser being russia-2? | SELECT "Winner" FROM table_32853 WHERE "Loser" = 'russia-2' | [
8241,
373,
262,
8464,
351,
262,
30256,
852,
374,
31269,
12,
17,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
34256,
4310,
33411,
366,
43,
13416,
1,
796,
705,
81,
31269,
12,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
8464,
351,
262,
30256,
852,
374,
31269,
12,
17,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
34256,
4310,
33411,
366,
43,
13416,
1,
796,
705,
81,
31269,
12,
17,
6
] |
2001 of 2 4 was in which tournament? | SELECT "Tournament" FROM table_39110 WHERE "2001" = '2–4' | [
14585,
286,
362,
604,
373,
287,
543,
7756,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2670,
11442,
33411,
366,
14585,
1,
796,
705,
17,
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
] | [
14585,
286,
362,
604,
373,
287,
543,
7756,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2670,
11442,
33411,
366,
14585,
1,
796,
705,
17,
1906,
19,
6
] |
how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi | SELECT COUNT("Voice Actor (English 1998 / Pioneer)") FROM table_19133 WHERE "Voice Actor (Japanese)" = 'Shinobu Satouchi' | [
4919,
867,
3809,
8674,
357,
1516,
75,
11873,
71,
7795,
1220,
29570,
8,
351,
3809,
8674,
357,
73,
2674,
2771,
8,
852,
40465,
672,
84,
3332,
7673,
72,
46506,
327,
28270,
7203,
35708,
27274,
357,
15823,
7795,
1220,
31437,
8,
4943,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3809,
8674,
357,
1516,
75,
11873,
71,
7795,
1220,
29570,
8,
351,
3809,
8674,
357,
73,
2674,
2771,
8,
852,
40465,
672,
84,
3332,
7673,
72,
46506,
327,
28270,
7203,
35708,
27274,
357,
15823,
7795,
1220,
31437,
8,
4943,
16034,... |
Show the height of the mountain climbed by the climber with the maximum points. | SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1 | [
15307,
262,
6001,
286,
262,
8598,
19952,
416,
262,
5424,
527,
351,
262,
5415,
2173,
13,
46506,
309,
17,
13,
23106,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
44,
18635,
62,
2389,
796,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
6001,
286,
262,
8598,
19952,
416,
262,
5424,
527,
351,
262,
5415,
2173,
13,
46506,
309,
17,
13,
23106,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
44,
18635,
62,
2389,
796,
309,
... |
What was the score of the game against Minnesota? | SELECT "Score" FROM table_67221 WHERE "Opponent" = 'minnesota' | [
2061,
373,
262,
4776,
286,
262,
983,
1028,
8919,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3134,
26115,
33411,
366,
27524,
3471,
1,
796,
705,
1084,
8360,
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,
373,
262,
4776,
286,
262,
983,
1028,
8919,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3134,
26115,
33411,
366,
27524,
3471,
1,
796,
705,
1084,
8360,
6
] |
what 's the fare from WASHINGTON to BOSTON | 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, flight, flight_fare 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.c... | [
10919,
705,
82,
262,
14505,
422,
370,
19436,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
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,
14505,
422,
370,
19436,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
... |
Draw a bar chart for what are the hometowns of gymnasts and the corresponding number of gymnasts?, could you show in asc by the X? | SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY Hometown | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
20994,
82,
286,
38581,
5773,
290,
262,
11188,
1271,
286,
38581,
5773,
21747,
714,
345,
905,
287,
10570,
416,
262,
1395,
30,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
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... | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
20994,
82,
286,
38581,
5773,
290,
262,
11188,
1271,
286,
38581,
5773,
21747,
714,
345,
905,
287,
10570,
416,
262,
1395,
30,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
70... |
GitHub users who have answered at least one question. | WITH GitHubUsers AS (SELECT u.Id, COUNT(a.Id) AS answersCount, SUM(a.Score) AS answersScore FROM Users AS u LEFT JOIN Posts AS a ON a.PostTypeId = 2 AND a.OwnerUserId = u.Id WHERE u.WebsiteUrl LIKE '%github%' GROUP BY u.Id) SELECT u.Id, u.WebsiteUrl, u.UpVotes, u.Reputation, u.AboutMe, g.answersCount, g.answersScore FR... | [
38,
270,
16066,
2985,
508,
423,
9373,
379,
1551,
530,
1808,
13,
54,
10554,
21722,
14490,
7054,
357,
46506,
334,
13,
7390,
11,
327,
28270,
7,
64,
13,
7390,
8,
7054,
7429,
12332,
11,
35683,
7,
64,
13,
26595,
8,
7054,
7429,
26595,
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... | [
38,
270,
16066,
2985,
508,
423,
9373,
379,
1551,
530,
1808,
13,
54,
10554,
21722,
14490,
7054,
357,
46506,
334,
13,
7390,
11,
327,
28270,
7,
64,
13,
7390,
8,
7054,
7429,
12332,
11,
35683,
7,
64,
13,
26595,
8,
7054,
7429,
26595,
16... |
What is the Location/Attendance on Dec 14? | SELECT location_attendance FROM table_name_66 WHERE date = "dec 14" | [
2061,
318,
262,
13397,
14,
8086,
437,
590,
319,
4280,
1478,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
2791,
33411,
3128,
796,
366,
12501,
1478,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
13397,
14,
8086,
437,
590,
319,
4280,
1478,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
2791,
33411,
3128,
796,
366,
12501,
1478,
1
] |
Age of tweeted questions (hours). | SELECT CAST((JULIANDAY(CreationDate) - JULIANDAY(p.CreationDate)) * 24.0 AS INT), COUNT(*) FROM PostHistory AS h INNER JOIN Posts AS p ON h.PostId = p.Id WHERE h.PostHistoryTypeId = 25 GROUP BY CAST((JULIANDAY(CreationDate) - JULIANDAY(p.CreationDate)) * 24.0 AS INT) ORDER BY CAST((JULIANDAY(CreationDate) - JULIANDAY(p... | [
23396,
286,
10830,
2683,
357,
24425,
737,
46506,
327,
11262,
19510,
41,
6239,
40,
6981,
4792,
7,
12443,
341,
10430,
8,
532,
49349,
40,
6981,
4792,
7,
79,
13,
12443,
341,
10430,
4008,
1635,
1987,
13,
15,
7054,
17828,
828,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23396,
286,
10830,
2683,
357,
24425,
737,
46506,
327,
11262,
19510,
41,
6239,
40,
6981,
4792,
7,
12443,
341,
10430,
8,
532,
49349,
40,
6981,
4792,
7,
79,
13,
12443,
341,
10430,
4008,
1635,
1987,
13,
15,
7054,
17828,
828,
327,
28270,
... |
Which City has a Lead of tyler forrest? | SELECT city FROM table_name_95 WHERE lead = "tyler forrest" | [
13828,
2254,
468,
257,
20116,
286,
1259,
1754,
329,
2118,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
3865,
33411,
1085,
796,
366,
774,
1754,
329,
2118,
1
] | [
1,
1,
1,
1,
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,
2254,
468,
257,
20116,
286,
1259,
1754,
329,
2118,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
3865,
33411,
1085,
796,
366,
774,
1754,
329,
2118,
1
] |
what score did tiger woods achieve in his third round ? | SELECT "score" FROM table_203_230 WHERE "player" = 'tiger woods' | [
10919,
4776,
750,
26241,
16479,
4620,
287,
465,
2368,
2835,
5633,
46506,
366,
26675,
1,
16034,
3084,
62,
22416,
62,
19214,
33411,
366,
7829,
1,
796,
705,
83,
8254,
16479,
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
] | [
10919,
4776,
750,
26241,
16479,
4620,
287,
465,
2368,
2835,
5633,
46506,
366,
26675,
1,
16034,
3084,
62,
22416,
62,
19214,
33411,
366,
7829,
1,
796,
705,
83,
8254,
16479,
6
] |
show me the flights from DENVER to WESTCHESTER COUNTY | 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WESTCHE... | [
12860,
502,
262,
13956,
422,
37692,
5959,
284,
370,
6465,
3398,
1546,
5781,
41012,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
13956,
422,
37692,
5959,
284,
370,
6465,
3398,
1546,
5781,
41012,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
... |
What name is associated with League 142? | SELECT name FROM table_14962287_2 WHERE league = 142 | [
2061,
1438,
318,
3917,
351,
4041,
25181,
30,
46506,
1438,
16034,
3084,
62,
1415,
4846,
1828,
5774,
62,
17,
33411,
4652,
796,
25181
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1438,
318,
3917,
351,
4041,
25181,
30,
46506,
1438,
16034,
3084,
62,
1415,
4846,
1828,
5774,
62,
17,
33411,
4652,
796,
25181
] |
What was the date of vacancy where the replacement was Albert Cartier and the manager was fired? | SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier" | [
2061,
373,
262,
3128,
286,
39836,
810,
262,
9014,
373,
9966,
13690,
959,
290,
262,
4706,
373,
6294,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
3672,
62,
24,
33411,
5642,
62,
1659,
62,
10378,
433,
495,
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
] | [
2061,
373,
262,
3128,
286,
39836,
810,
262,
9014,
373,
9966,
13690,
959,
290,
262,
4706,
373,
6294,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
3672,
62,
24,
33411,
5642,
62,
1659,
62,
10378,
433,
495,
796,
366,
... |
Name the golden ticket for invesco field | SELECT "Golden Tickets" FROM table_73469 WHERE "Audition Venue" = 'Invesco Field' | [
5376,
262,
10861,
7846,
329,
800,
274,
1073,
2214,
46506,
366,
32378,
26878,
1,
16034,
3084,
62,
22,
2682,
3388,
33411,
366,
16353,
653,
9932,
518,
1,
796,
705,
818,
1158,
1073,
7663,
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
] | [
5376,
262,
10861,
7846,
329,
800,
274,
1073,
2214,
46506,
366,
32378,
26878,
1,
16034,
3084,
62,
22,
2682,
3388,
33411,
366,
16353,
653,
9932,
518,
1,
796,
705,
818,
1158,
1073,
7663,
6
] |
What is the pick number of the DB? | SELECT COUNT(pick__number) FROM table_name_46 WHERE position = "db" | [
2061,
318,
262,
2298,
1271,
286,
262,
20137,
30,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
2292,
796,
366,
9945,
1
] | [
1,
1,
1,
1,
1,
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,
2298,
1271,
286,
262,
20137,
30,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
2292,
796,
366,
9945,
1
] |
Answers with the most bounty points.. | SELECT CURRENT_TIMESTAMP() | [
2025,
37848,
351,
262,
749,
24180,
2173,
492,
46506,
327,
39237,
62,
51,
3955,
6465,
23518,
3419
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2025,
37848,
351,
262,
749,
24180,
2173,
492,
46506,
327,
39237,
62,
51,
3955,
6465,
23518,
3419
] |
For those employees who did not have any job in the past, show me the trend about manager_id over hire_date with a line chart, rank by the HIRE_DATE in ascending. | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
262,
5182,
546,
4706,
62,
312,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
4279,
416,
262,
36210,
2200,
62,
35,
6158,
287,
41988,
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,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
262,
5182,
546,
4706,
62,
312,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
4279,
416,
262,
36210,
2200,
62,
35,
6158,
287,
41988,
13,
46506,
36210,
... |
What is the qualifying end date when the qualifying start date is qualifying start date? | SELECT "Qualifying end date" FROM table_26464 WHERE "Qualifying start date" = 'Qualifying start date' | [
2061,
318,
262,
18677,
886,
3128,
618,
262,
18677,
923,
3128,
318,
18677,
923,
3128,
30,
46506,
366,
46181,
4035,
886,
3128,
1,
16034,
3084,
62,
18897,
2414,
33411,
366,
46181,
4035,
923,
3128,
1,
796,
705,
46181,
4035,
923,
3128,
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
] | [
2061,
318,
262,
18677,
886,
3128,
618,
262,
18677,
923,
3128,
318,
18677,
923,
3128,
30,
46506,
366,
46181,
4035,
886,
3128,
1,
16034,
3084,
62,
18897,
2414,
33411,
366,
46181,
4035,
923,
3128,
1,
796,
705,
46181,
4035,
923,
3128,
6
] |
What is Stop No., when Destination is Perth, and when Line is Midland? | SELECT stop_no FROM table_name_23 WHERE destination = "perth" AND line = "midland" | [
2061,
318,
13707,
1400,
1539,
618,
45657,
318,
29913,
11,
290,
618,
6910,
318,
7215,
1044,
30,
46506,
2245,
62,
3919,
16034,
3084,
62,
3672,
62,
1954,
33411,
10965,
796,
366,
525,
400,
1,
5357,
1627,
796,
366,
13602,
1044,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13707,
1400,
1539,
618,
45657,
318,
29913,
11,
290,
618,
6910,
318,
7215,
1044,
30,
46506,
2245,
62,
3919,
16034,
3084,
62,
3672,
62,
1954,
33411,
10965,
796,
366,
525,
400,
1,
5357,
1627,
796,
366,
13602,
1044,
1
] |
How many tries for does the team with 263 points against have? | SELECT tries_for FROM table_name_13 WHERE points_against = "263" | [
2437,
867,
8404,
329,
857,
262,
1074,
351,
39135,
2173,
1028,
423,
30,
46506,
8404,
62,
1640,
16034,
3084,
62,
3672,
62,
1485,
33411,
2173,
62,
32826,
796,
366,
29558,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
8404,
329,
857,
262,
1074,
351,
39135,
2173,
1028,
423,
30,
46506,
8404,
62,
1640,
16034,
3084,
62,
3672,
62,
1485,
33411,
2173,
62,
32826,
796,
366,
29558,
1
] |
Show the number of documents for different document name in a bar chart, rank Document_Name in desc order please. | SELECT Document_Name, COUNT(Document_Name) FROM Documents GROUP BY Document_Name ORDER BY Document_Name DESC | [
15307,
262,
1271,
286,
4963,
329,
1180,
3188,
1438,
287,
257,
2318,
8262,
11,
4279,
16854,
62,
5376,
287,
1715,
1502,
3387,
13,
46506,
16854,
62,
5376,
11,
327,
28270,
7,
24941,
62,
5376,
8,
16034,
33267,
44441,
11050,
16854,
62,
5376... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
4963,
329,
1180,
3188,
1438,
287,
257,
2318,
8262,
11,
4279,
16854,
62,
5376,
287,
1715,
1502,
3387,
13,
46506,
16854,
62,
5376,
11,
327,
28270,
7,
24941,
62,
5376,
8,
16034,
33267,
44441,
11050,
16854,
62,
5376... |
how many patients have undergone cholecystectomy until 3 years ago within the same month after the first procedure of a tooth extraction 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 = 'tooth extra... | [
4919,
867,
3871,
423,
29900,
1727,
293,
948,
301,
42505,
1566,
513,
812,
2084,
1626,
262,
976,
1227,
706,
262,
717,
8771,
286,
257,
16162,
22236,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
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... | [
4919,
867,
3871,
423,
29900,
1727,
293,
948,
301,
42505,
1566,
513,
812,
2084,
1626,
262,
976,
1227,
706,
262,
717,
8771,
286,
257,
16162,
22236,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,... |
which us technological university has the top enrollment numbers ? | SELECT "school" FROM table_203_721 ORDER BY "enrollment" DESC LIMIT 1 | [
4758,
514,
14614,
6403,
468,
262,
1353,
20753,
3146,
5633,
46506,
366,
14347,
1,
16034,
3084,
62,
22416,
62,
22,
2481,
38678,
11050,
366,
268,
48108,
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,
1,
1,
1,
1,
1
] | [
4758,
514,
14614,
6403,
468,
262,
1353,
20753,
3146,
5633,
46506,
366,
14347,
1,
16034,
3084,
62,
22416,
62,
22,
2481,
38678,
11050,
366,
268,
48108,
1,
22196,
34,
27564,
2043,
352
] |
what is the average population when the regional county municipality is le domaine-du-roy, the type is m and the region is less than 2? | SELECT AVG("Population") FROM table_11046 WHERE "Regional County Municipality" = 'le domaine-du-roy' AND "Type" = 'm' AND "Region" < '2' | [
10919,
318,
262,
2811,
3265,
618,
262,
7915,
7968,
27264,
318,
443,
2401,
5718,
12,
646,
12,
3287,
11,
262,
2099,
318,
285,
290,
262,
3814,
318,
1342,
621,
362,
30,
46506,
35224,
7203,
45251,
4943,
16034,
3084,
62,
11442,
3510,
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... | [
10919,
318,
262,
2811,
3265,
618,
262,
7915,
7968,
27264,
318,
443,
2401,
5718,
12,
646,
12,
3287,
11,
262,
2099,
318,
285,
290,
262,
3814,
318,
1342,
621,
362,
30,
46506,
35224,
7203,
45251,
4943,
16034,
3084,
62,
11442,
3510,
33411,... |
What is the decision when Buffalo was the visitor? | SELECT decision FROM table_name_20 WHERE visitor = "buffalo" | [
2061,
318,
262,
2551,
618,
14905,
373,
262,
21493,
30,
46506,
2551,
16034,
3084,
62,
3672,
62,
1238,
33411,
21493,
796,
366,
36873,
7335,
1
] | [
1,
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,
2551,
618,
14905,
373,
262,
21493,
30,
46506,
2551,
16034,
3084,
62,
3672,
62,
1238,
33411,
21493,
796,
366,
36873,
7335,
1
] |
What is the record on august 18? | SELECT record FROM table_name_23 WHERE date = "august 18" | [
2061,
318,
262,
1700,
319,
16339,
436,
1248,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
7493,
436,
1248,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
319,
16339,
436,
1248,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
7493,
436,
1248,
1
] |
Show how many flights each pilot has flied in a pie chart. | SELECT Pilot, COUNT(Pilot) FROM flight GROUP BY Pilot | [
15307,
703,
867,
13956,
1123,
8022,
468,
781,
798,
287,
257,
2508,
8262,
13,
46506,
21697,
11,
327,
28270,
7,
47,
23439,
8,
16034,
5474,
44441,
11050,
21697
] | [
1,
1,
1,
1,
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,
703,
867,
13956,
1123,
8022,
468,
781,
798,
287,
257,
2508,
8262,
13,
46506,
21697,
11,
327,
28270,
7,
47,
23439,
8,
16034,
5474,
44441,
11050,
21697
] |
Return a scatter chart about the correlation between student_id and monthly_rental , and group by attribute other_details. | SELECT student_id, monthly_rental FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC | [
13615,
257,
41058,
8262,
546,
262,
16096,
1022,
3710,
62,
312,
290,
9651,
62,
1156,
282,
837,
290,
1448,
416,
11688,
584,
62,
36604,
13,
46506,
3710,
62,
312,
11,
9651,
62,
1156,
282,
16034,
13613,
62,
4550,
16746,
44441,
11050,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41058,
8262,
546,
262,
16096,
1022,
3710,
62,
312,
290,
9651,
62,
1156,
282,
837,
290,
1448,
416,
11688,
584,
62,
36604,
13,
46506,
3710,
62,
312,
11,
9651,
62,
1156,
282,
16034,
13613,
62,
4550,
16746,
44441,
11050,
584,
... |
which bridge is longer - old youngs bay bridge or oregon city bridge ? | SELECT "bridge name" FROM table_204_507 WHERE "bridge name" IN ('old youngs bay bridge', 'oregon city bridge') ORDER BY "total length" DESC LIMIT 1 | [
4758,
7696,
318,
2392,
532,
1468,
1862,
82,
15489,
7696,
393,
267,
8285,
1748,
7696,
5633,
46506,
366,
9458,
1438,
1,
16034,
3084,
62,
18638,
62,
35378,
33411,
366,
9458,
1438,
1,
3268,
19203,
727,
1862,
82,
15489,
7696,
3256,
705,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7696,
318,
2392,
532,
1468,
1862,
82,
15489,
7696,
393,
267,
8285,
1748,
7696,
5633,
46506,
366,
9458,
1438,
1,
16034,
3084,
62,
18638,
62,
35378,
33411,
366,
9458,
1438,
1,
3268,
19203,
727,
1862,
82,
15489,
7696,
3256,
705,
38... |
On which date did a home team score 6.17 (53)? | SELECT "Date" FROM table_58579 WHERE "Home team score" = '6.17 (53)' | [
2202,
543,
3128,
750,
257,
1363,
1074,
4776,
718,
13,
1558,
357,
4310,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
41734,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
21,
13,
1558,
357,
4310,
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,
543,
3128,
750,
257,
1363,
1074,
4776,
718,
13,
1558,
357,
4310,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
41734,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
21,
13,
1558,
357,
4310,
33047
] |
How many medications are prescribed for each brand Visualize by bar chart, and could you list Y-axis in asc order? | SELECT Name, COUNT(*) FROM Medication AS T1 JOIN Prescribes AS T2 ON T1.Code = T2.Medication GROUP BY T1.Brand ORDER BY COUNT(*) | [
2437,
867,
17638,
389,
14798,
329,
1123,
4508,
15612,
1096,
416,
2318,
8262,
11,
290,
714,
345,
1351,
575,
12,
22704,
287,
10570,
1502,
30,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
2019,
3299,
7054,
309,
16,
32357,
1268,
1763,
66... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
17638,
389,
14798,
329,
1123,
4508,
15612,
1096,
416,
2318,
8262,
11,
290,
714,
345,
1351,
575,
12,
22704,
287,
10570,
1502,
30,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
2019,
3299,
7054,
309,
16,
32357,
1268,
1763,
66... |
What is Time, when Composer(s) is 'Kyriakos Papadopoulos'? | SELECT time FROM table_name_32 WHERE composer_s_ = "kyriakos papadopoulos" | [
2061,
318,
3862,
11,
618,
29936,
263,
7,
82,
8,
318,
705,
30630,
380,
461,
418,
14185,
324,
20338,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
2624,
33411,
26777,
62,
82,
62,
796,
366,
2584,
380,
461,
418,
20461,
324,
20338,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
3862,
11,
618,
29936,
263,
7,
82,
8,
318,
705,
30630,
380,
461,
418,
14185,
324,
20338,
30960,
46506,
640,
16034,
3084,
62,
3672,
62,
2624,
33411,
26777,
62,
82,
62,
796,
366,
2584,
380,
461,
418,
20461,
324,
20338,
1
] |
What Aggregate has a 0-0 1st leg, and a 0-1 second leg? | SELECT "Aggregate" FROM table_36087 WHERE "1st Leg" = '0-0' AND "2nd leg" = '0-1' | [
2061,
19015,
49373,
468,
257,
657,
12,
15,
352,
301,
1232,
11,
290,
257,
657,
12,
16,
1218,
1232,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
15277,
5774,
33411,
366,
16,
301,
3564,
1,
796,
705,
15,
12,
15,
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
] | [
2061,
19015,
49373,
468,
257,
657,
12,
15,
352,
301,
1232,
11,
290,
257,
657,
12,
16,
1218,
1232,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
15277,
5774,
33411,
366,
16,
301,
3564,
1,
796,
705,
15,
12,
15,
6,
5357,
366,
1... |
Language Trends (# Questions per Tag per Month). | SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ... | [
32065,
34308,
17426,
20396,
583,
17467,
583,
16061,
737,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32065,
34308,
17426,
20396,
583,
17467,
583,
16061,
737,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
... |
what is the game when the opponent is new york knickerbockers? | SELECT SUM("Game") FROM table_8873 WHERE "Opponent" = 'new york knickerbockers' | [
10919,
318,
262,
983,
618,
262,
6125,
318,
649,
331,
967,
638,
15799,
65,
735,
364,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
3459,
4790,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
638,
15799,
65,
735,
364,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
983,
618,
262,
6125,
318,
649,
331,
967,
638,
15799,
65,
735,
364,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
3459,
4790,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
638,
15799,
65,
735,
364,
6
] |
cheapest fare from INDIANAPOLIS to SEATTLE | 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, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'INDIANAPOLIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1... | [
2395,
35746,
14505,
422,
24413,
16868,
2969,
3535,
1797,
284,
7946,
1404,
14990,
33635,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
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... | [
2395,
35746,
14505,
422,
24413,
16868,
2969,
3535,
1797,
284,
7946,
1404,
14990,
33635,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7... |
What was the number of nominations for natalia raskokoha? | SELECT COUNT(nomination) FROM table_10236830_1 WHERE actors_name = "Natalia Raskokoha" | [
2061,
373,
262,
1271,
286,
30994,
329,
34664,
9752,
374,
2093,
482,
28083,
30,
46506,
327,
28270,
7,
26601,
1883,
8,
16034,
3084,
62,
940,
1954,
3104,
1270,
62,
16,
33411,
10544,
62,
3672,
796,
366,
47849,
9752,
371,
2093,
482,
28083,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
30994,
329,
34664,
9752,
374,
2093,
482,
28083,
30,
46506,
327,
28270,
7,
26601,
1883,
8,
16034,
3084,
62,
940,
1954,
3104,
1270,
62,
16,
33411,
10544,
62,
3672,
796,
366,
47849,
9752,
371,
2093,
482,
28083,... |
What is the total number of Rank with 100 goals, and less than 300 matches? | SELECT COUNT("Rank") FROM table_43329 WHERE "Goals" = '100' AND "Matches" < '300' | [
2061,
318,
262,
2472,
1271,
286,
10916,
351,
1802,
4661,
11,
290,
1342,
621,
5867,
7466,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
42117,
1959,
33411,
366,
5247,
874,
1,
796,
705,
3064,
6,
5357,
366,
19044,
2052,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
10916,
351,
1802,
4661,
11,
290,
1342,
621,
5867,
7466,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
42117,
1959,
33411,
366,
5247,
874,
1,
796,
705,
3064,
6,
5357,
366,
19044,
2052,
1,
... |
who built the car driven by eric brandon? | SELECT constructor FROM table_name_21 WHERE driver = "eric brandon" | [
8727,
3170,
262,
1097,
7986,
416,
1931,
291,
4508,
261,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2481,
33411,
4639,
796,
366,
35626,
4508,
261,
1
] | [
1,
1,
1,
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,
3170,
262,
1097,
7986,
416,
1931,
291,
4508,
261,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2481,
33411,
4639,
796,
366,
35626,
4508,
261,
1
] |
What is the platform of the game from 2007? | SELECT "Platform(s)" FROM table_64752 WHERE "Year" = '2007' | [
2061,
318,
262,
3859,
286,
262,
983,
422,
4343,
30,
46506,
366,
37148,
7,
82,
16725,
16034,
3084,
62,
2414,
43665,
33411,
366,
17688,
1,
796,
705,
12726,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3859,
286,
262,
983,
422,
4343,
30,
46506,
366,
37148,
7,
82,
16725,
16034,
3084,
62,
2414,
43665,
33411,
366,
17688,
1,
796,
705,
12726,
6
] |
What is the English title of the film Directed by Jayme Monjardim? | SELECT english_title FROM table_name_21 WHERE director = "jayme monjardim" | [
2061,
318,
262,
3594,
3670,
286,
262,
2646,
4128,
276,
416,
9180,
1326,
2892,
73,
446,
320,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
3672,
62,
2481,
33411,
3437,
796,
366,
33708,
1326,
937,
73,
446,
320,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
286,
262,
2646,
4128,
276,
416,
9180,
1326,
2892,
73,
446,
320,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
3672,
62,
2481,
33411,
3437,
796,
366,
33708,
1326,
937,
73,
446,
320,
1
] |
What is the publication date of the book that is narrated by Michael Maloney? | SELECT "Published" FROM table_74394 WHERE "Audiobook narrator" = 'Michael Maloney' | [
2061,
318,
262,
9207,
3128,
286,
262,
1492,
326,
318,
46190,
416,
3899,
4434,
1419,
30,
46506,
366,
24492,
1,
16034,
3084,
62,
4524,
34626,
33411,
366,
16353,
72,
49776,
32339,
1,
796,
705,
13256,
4434,
1419,
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,
9207,
3128,
286,
262,
1492,
326,
318,
46190,
416,
3899,
4434,
1419,
30,
46506,
366,
24492,
1,
16034,
3084,
62,
4524,
34626,
33411,
366,
16353,
72,
49776,
32339,
1,
796,
705,
13256,
4434,
1419,
6
] |
Top 500 Indian Rank by Reputation. | SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%India%' ORDER BY Reputation DESC LIMIT 5000000 | [
9126,
5323,
3942,
10916,
416,
1432,
7094,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
11,
15887,
28165,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
21569,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2043,
642,
1053... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5323,
3942,
10916,
416,
1432,
7094,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
11,
15887,
28165,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
21569,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2043,
642,
1053... |
Top 250 users from BD. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, LastAccessDate FROM Users WHERE LOWER(Location) LIKE '%bangladesh%' OR LOWER(Location) LIKE '%bd%' ORDER BY Reputation DESC LIMIT 250 | [
9126,
8646,
2985,
422,
28023,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
4586,
15457,
10430,
16034,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
8646,
2985,
422,
28023,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
4586,
15457,
10430,
16034,
1... |
what is the top four most frequent diagnoses given to patients after packed cell transfusion within the same hospital visit in 2104? | 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, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_i... | [
10919,
318,
262,
1353,
1440,
749,
10792,
40567,
1813,
284,
3871,
706,
11856,
2685,
13501,
4241,
1626,
262,
976,
4436,
3187,
287,
362,
13464,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1440,
749,
10792,
40567,
1813,
284,
3871,
706,
11856,
2685,
13501,
4241,
1626,
262,
976,
4436,
3187,
287,
362,
13464,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
... |
How many golds for the nation with 14 total? | SELECT "Gold" FROM table_78324 WHERE "Total" = '14' | [
2437,
867,
3869,
82,
329,
262,
3277,
351,
1478,
2472,
30,
46506,
366,
13306,
1,
16034,
3084,
62,
3695,
33916,
33411,
366,
14957,
1,
796,
705,
1415,
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
] | [
2437,
867,
3869,
82,
329,
262,
3277,
351,
1478,
2472,
30,
46506,
366,
13306,
1,
16034,
3084,
62,
3695,
33916,
33411,
366,
14957,
1,
796,
705,
1415,
6
] |
when was the first time the attendance was below 20,000 ? | SELECT "date" FROM table_204_513 WHERE "attendance" < 20000 ORDER BY "date" LIMIT 1 | [
12518,
373,
262,
717,
640,
262,
14858,
373,
2174,
1160,
11,
830,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
48645,
33411,
366,
1078,
437,
590,
1,
1279,
939,
405,
38678,
11050,
366,
4475,
1,
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,
1
] | [
12518,
373,
262,
717,
640,
262,
14858,
373,
2174,
1160,
11,
830,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
48645,
33411,
366,
1078,
437,
590,
1,
1279,
939,
405,
38678,
11050,
366,
4475,
1,
27564,
2043,
352
] |
what is the frequency of part number tmn550dcr23gm? | SELECT frequency FROM table_name_4 WHERE order_part_number = "tmn550dcr23gm" | [
10919,
318,
262,
8373,
286,
636,
1271,
256,
10295,
22730,
67,
6098,
1954,
39870,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
19,
33411,
1502,
62,
3911,
62,
17618,
796,
366,
83,
10295,
22730,
67,
6098,
1954,
39870,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
8373,
286,
636,
1271,
256,
10295,
22730,
67,
6098,
1954,
39870,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
19,
33411,
1502,
62,
3911,
62,
17618,
796,
366,
83,
10295,
22730,
67,
6098,
1954,
39870,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.