instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the lowest overall of the wide receiver player from a round higher than 5 and a pick lower than 7? | SELECT MIN(overall) FROM table_name_19 WHERE position = "wide receiver" AND round < 5 AND pick__number > 7 | [
2061,
318,
262,
9016,
4045,
286,
262,
3094,
9733,
2137,
422,
257,
2835,
2440,
621,
642,
290,
257,
2298,
2793,
621,
767,
30,
46506,
20625,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2292,
796,
366,
4421,
9733,
1,
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
] | [
2061,
318,
262,
9016,
4045,
286,
262,
3094,
9733,
2137,
422,
257,
2835,
2440,
621,
642,
290,
257,
2298,
2793,
621,
767,
30,
46506,
20625,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2292,
796,
366,
4421,
9733,
1,
5357,
... |
tell me what are the top five most commonly prescribed drugs for patients with 50s the previous year? | SELECT t1.drug FROM (SELECT prescriptions.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 50 AND 59) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start o... | [
33331,
502,
644,
389,
262,
1353,
1936,
749,
8811,
14798,
5010,
329,
3871,
351,
2026,
82,
262,
2180,
614,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
1353,
1936,
749,
8811,
14798,
5010,
329,
3871,
351,
2026,
82,
262,
2180,
614,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,... |
Which Term end has a Political Party of balli komb tar, and a Born-Died of 1905 1972? | SELECT term_end FROM table_name_23 WHERE political_party = "balli kombëtar" AND born_died = "1905–1972" | [
13828,
35118,
886,
468,
257,
14611,
3615,
286,
2613,
72,
479,
2381,
13422,
11,
290,
257,
18889,
12,
35,
798,
286,
37166,
16101,
30,
46506,
3381,
62,
437,
16034,
3084,
62,
3672,
62,
1954,
33411,
1964,
62,
10608,
796,
366,
1894,
72,
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
] | [
13828,
35118,
886,
468,
257,
14611,
3615,
286,
2613,
72,
479,
2381,
13422,
11,
290,
257,
18889,
12,
35,
798,
286,
37166,
16101,
30,
46506,
3381,
62,
437,
16034,
3084,
62,
3672,
62,
1954,
33411,
1964,
62,
10608,
796,
366,
1894,
72,
4... |
In 2010, how many 1st venue cities were there? | SELECT COUNT(1 AS st_venue) FROM table_22482077_1 WHERE year = 2010 | [
818,
3050,
11,
703,
867,
352,
301,
14359,
4736,
547,
612,
30,
46506,
327,
28270,
7,
16,
7054,
336,
62,
4080,
8,
16034,
3084,
62,
17,
23045,
1238,
3324,
62,
16,
33411,
614,
796,
3050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
3050,
11,
703,
867,
352,
301,
14359,
4736,
547,
612,
30,
46506,
327,
28270,
7,
16,
7054,
336,
62,
4080,
8,
16034,
3084,
62,
17,
23045,
1238,
3324,
62,
16,
33411,
614,
796,
3050
] |
which was the longest running ? | SELECT "english title\n(chinese title)" FROM table_204_671 ORDER BY "airing\ndate" - "airing\ndate" DESC LIMIT 1 | [
4758,
373,
262,
14069,
2491,
5633,
46506,
366,
39126,
3670,
59,
77,
7,
354,
3762,
3670,
16725,
16034,
3084,
62,
18638,
62,
46250,
38678,
11050,
366,
958,
278,
59,
358,
378,
1,
532,
366,
958,
278,
59,
358,
378,
1,
22196,
34,
27564,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
373,
262,
14069,
2491,
5633,
46506,
366,
39126,
3670,
59,
77,
7,
354,
3762,
3670,
16725,
16034,
3084,
62,
18638,
62,
46250,
38678,
11050,
366,
958,
278,
59,
358,
378,
1,
532,
366,
958,
278,
59,
358,
378,
1,
22196,
34,
27564,
... |
fasting plasma glucose < 240 mg / dl at screening | SELECT * FROM table_train_200 WHERE fasting_plasma_glucose < 240 | [
7217,
278,
16074,
15701,
1279,
14956,
10527,
1220,
288,
75,
379,
14135,
46506,
1635,
16034,
3084,
62,
27432,
62,
2167,
33411,
24845,
62,
489,
11797,
62,
4743,
1229,
577,
1279,
14956
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7217,
278,
16074,
15701,
1279,
14956,
10527,
1220,
288,
75,
379,
14135,
46506,
1635,
16034,
3084,
62,
27432,
62,
2167,
33411,
24845,
62,
489,
11797,
62,
4743,
1229,
577,
1279,
14956
] |
what is the number of patients whose ethnicity is hispanic/latino - puerto rican and age is less than 67? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND demographic.age < "67" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
465,
35843,
14,
15460,
2879,
532,
47574,
13806,
374,
7490,
290,
2479,
318,
1342,
621,
8275,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
465,
35843,
14,
15460,
2879,
532,
47574,
13806,
374,
7490,
290,
2479,
318,
1342,
621,
8275,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728... |
Where the ship is Dahlgren what is the build as? | SELECT "Built As" FROM table_33833 WHERE "Ship" = 'dahlgren' | [
8496,
262,
4074,
318,
41471,
32762,
644,
318,
262,
1382,
355,
30,
46506,
366,
39582,
1081,
1,
16034,
3084,
62,
28460,
2091,
33411,
366,
25586,
1,
796,
705,
67,
15668,
32762,
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
] | [
8496,
262,
4074,
318,
41471,
32762,
644,
318,
262,
1382,
355,
30,
46506,
366,
39582,
1081,
1,
16034,
3084,
62,
28460,
2091,
33411,
366,
25586,
1,
796,
705,
67,
15668,
32762,
6
] |
What is the largest overall rank for a center drafted before round 10? | SELECT MAX(overall) FROM table_name_22 WHERE position = "center" AND round < 10 | [
2061,
318,
262,
4387,
4045,
4279,
329,
257,
3641,
15937,
878,
2835,
838,
30,
46506,
25882,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2292,
796,
366,
16159,
1,
5357,
2835,
1279,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
4045,
4279,
329,
257,
3641,
15937,
878,
2835,
838,
30,
46506,
25882,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
2292,
796,
366,
16159,
1,
5357,
2835,
1279,
838
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of job_id and manager_id , list by the Y from high to low. | SELECT JOB_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY MANAGER_ID DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
4706,
62,
312,
837,
1351,
416,
262,
575,
422,
1029,
284,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
4706,
62,
312,
837,
1351,
416,
262,
575,
422,
1029,
284,
... |
What was the record as of September 1? | SELECT record FROM table_name_72 WHERE date = "september 1" | [
2061,
373,
262,
1700,
355,
286,
2693,
352,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4761,
33411,
3128,
796,
366,
325,
457,
1491,
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
] | [
2061,
373,
262,
1700,
355,
286,
2693,
352,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4761,
33411,
3128,
796,
366,
325,
457,
1491,
352,
1
] |
calculate the maximum age of black/african american patients who died before 2138. | SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.dod_year < "2138.0" | [
9948,
3129,
378,
262,
5415,
2479,
286,
2042,
14,
1878,
37189,
45630,
272,
3871,
508,
3724,
878,
362,
20107,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
9148,
8120,
14,
8579,
41132... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2479,
286,
2042,
14,
1878,
37189,
45630,
272,
3871,
508,
3724,
878,
362,
20107,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
9148,
8120,
14,
8579,
41132... |
Drupal 8: Most popular answers 2015. | SELECT Answers.Id AS "post_link", Questions.Tags, Answers.Score FROM Posts AS Answers, Posts AS Questions, PostTags, Tags WHERE Answers.ParentId = Questions.Id AND Questions.Id = PostTags.PostId AND PostTags.TagId = Tags.Id AND Tags.TagName = '8' AND YEAR(Answers.CreationDate) >= 2015 ORDER BY Answers.Score DESC LIMIT ... | [
35,
34585,
807,
25,
4042,
2968,
7429,
1853,
13,
46506,
42612,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
20396,
13,
36142,
11,
42612,
13,
26595,
16034,
12043,
7054,
42612,
11,
12043,
7054,
20396,
11,
2947,
36142,
11,
44789,
33411,
42612... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35,
34585,
807,
25,
4042,
2968,
7429,
1853,
13,
46506,
42612,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
20396,
13,
36142,
11,
42612,
13,
26595,
16034,
12043,
7054,
42612,
11,
12043,
7054,
20396,
11,
2947,
36142,
11,
44789,
33411,
42612... |
What is the relationship between card number and card id? Return a scatter chart. | SELECT card_id, card_number FROM Customers_Cards | [
2061,
318,
262,
2776,
1022,
2657,
1271,
290,
2657,
4686,
30,
8229,
257,
41058,
8262,
13,
46506,
2657,
62,
312,
11,
2657,
62,
17618,
16034,
36707,
62,
34,
1371
] | [
1,
1,
1,
1,
1,
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,
2776,
1022,
2657,
1271,
290,
2657,
4686,
30,
8229,
257,
41058,
8262,
13,
46506,
2657,
62,
312,
11,
2657,
62,
17618,
16034,
36707,
62,
34,
1371
] |
What is the duration of the commissioner from the zeeland province? | SELECT duration FROM table_name_47 WHERE province = "zeeland" | [
2061,
318,
262,
9478,
286,
262,
16248,
422,
262,
41271,
8822,
8473,
30,
46506,
9478,
16034,
3084,
62,
3672,
62,
2857,
33411,
8473,
796,
366,
2736,
8822,
1
] | [
1,
1,
1,
1,
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,
9478,
286,
262,
16248,
422,
262,
41271,
8822,
8473,
30,
46506,
9478,
16034,
3084,
62,
3672,
62,
2857,
33411,
8473,
796,
366,
2736,
8822,
1
] |
When the Total is less than 1, how many Bronze medals are won? | SELECT MIN("Bronze") FROM table_51382 WHERE "Total" < '1' | [
2215,
262,
7472,
318,
1342,
621,
352,
11,
703,
867,
19461,
28057,
389,
1839,
30,
46506,
20625,
7203,
18760,
2736,
4943,
16034,
3084,
62,
48645,
6469,
33411,
366,
14957,
1,
1279,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
7472,
318,
1342,
621,
352,
11,
703,
867,
19461,
28057,
389,
1839,
30,
46506,
20625,
7203,
18760,
2736,
4943,
16034,
3084,
62,
48645,
6469,
33411,
366,
14957,
1,
1279,
705,
16,
6
] |
what is the procedure icd9 code for the patient id 3343? | SELECT procedures.icd9_code FROM procedures WHERE procedures.subject_id = "3343" | [
10919,
318,
262,
8771,
14158,
67,
24,
2438,
329,
262,
5827,
4686,
513,
32118,
30,
46506,
9021,
13,
291,
67,
24,
62,
8189,
16034,
9021,
33411,
9021,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
14158,
67,
24,
2438,
329,
262,
5827,
4686,
513,
32118,
30,
46506,
9021,
13,
291,
67,
24,
62,
8189,
16034,
9021,
33411,
9021,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] |
has patient 021-95970 had any allergies in their current hospital visit? | SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-95970' AND patient.hospitaldischargetime IS NULL)) | [
10134,
5827,
657,
2481,
12,
24,
3270,
2154,
550,
597,
36665,
287,
511,
1459,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
317... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
657,
2481,
12,
24,
3270,
2154,
550,
597,
36665,
287,
511,
1459,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
317... |
Name the number of villages for mituo | SELECT "No. of villages" FROM table_21209 WHERE "Hanyu" = 'Mituo' | [
5376,
262,
1271,
286,
15425,
329,
10255,
20895,
46506,
366,
2949,
13,
286,
15425,
1,
16034,
3084,
62,
21777,
2931,
33411,
366,
39,
1092,
84,
1,
796,
705,
43339,
20895,
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
] | [
5376,
262,
1271,
286,
15425,
329,
10255,
20895,
46506,
366,
2949,
13,
286,
15425,
1,
16034,
3084,
62,
21777,
2931,
33411,
366,
39,
1092,
84,
1,
796,
705,
43339,
20895,
6
] |
how many patients admitted on an urgent basis have been prescribed with diphenhydramine hcl drug? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.drug = "DiphenhydrAMINE HCl" | [
4919,
867,
3871,
6848,
319,
281,
18039,
4308,
423,
587,
14798,
351,
19550,
831,
15511,
859,
500,
289,
565,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
340... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6848,
319,
281,
18039,
4308,
423,
587,
14798,
351,
19550,
831,
15511,
859,
500,
289,
565,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
340... |
Find the oldest age for students with different sex in a bar chart, and I want to list y-axis from high to low order. | SELECT Sex, MAX(Age) FROM Student GROUP BY Sex ORDER BY MAX(Age) DESC | [
16742,
262,
13325,
2479,
329,
2444,
351,
1180,
1714,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
1351,
331,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
14419,
11,
25882,
7,
23396,
8,
16034,
13613,
44441,
11050,
14419,
38678,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
13325,
2479,
329,
2444,
351,
1180,
1714,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
1351,
331,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
14419,
11,
25882,
7,
23396,
8,
16034,
13613,
44441,
11050,
14419,
38678,
1... |
Which is the highest ranked building with more than 15 floors? | SELECT MAX(rank) FROM table_name_45 WHERE floors__stories_ > 15 | [
13828,
318,
262,
4511,
10307,
2615,
351,
517,
621,
1315,
18570,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
18570,
834,
50164,
62,
1875,
1315
] | [
1,
1,
1,
1,
1,
1,
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,
318,
262,
4511,
10307,
2615,
351,
517,
621,
1315,
18570,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
18570,
834,
50164,
62,
1875,
1315
] |
How many times did the sounddock series II aux in? | SELECT COUNT(aux_in) FROM table_24384861_1 WHERE version = "SoundDock series II" | [
2437,
867,
1661,
750,
262,
2128,
67,
735,
2168,
2873,
27506,
287,
30,
46506,
327,
28270,
7,
14644,
62,
259,
8,
16034,
3084,
62,
1731,
2548,
2780,
5333,
62,
16,
33411,
2196,
796,
366,
21369,
35,
735,
2168,
2873,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
750,
262,
2128,
67,
735,
2168,
2873,
27506,
287,
30,
46506,
327,
28270,
7,
14644,
62,
259,
8,
16034,
3084,
62,
1731,
2548,
2780,
5333,
62,
16,
33411,
2196,
796,
366,
21369,
35,
735,
2168,
2873,
1
] |
In which game number was Chris Andersen (12) the high rebounds scorer? | SELECT "Game" FROM table_48465 WHERE "High rebounds" = 'chris andersen (12)' | [
818,
543,
983,
1271,
373,
5180,
42356,
357,
1065,
8,
262,
1029,
18841,
30664,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
34137,
2996,
33411,
366,
11922,
18841,
1,
796,
705,
354,
2442,
290,
46516,
357,
1065,
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
] | [
818,
543,
983,
1271,
373,
5180,
42356,
357,
1065,
8,
262,
1029,
18841,
30664,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
34137,
2996,
33411,
366,
11922,
18841,
1,
796,
705,
354,
2442,
290,
46516,
357,
1065,
33047
] |
What is the away team score where the crowd is greater than 25,000 and the Away team is south melbourne? | SELECT "Away team score" FROM table_53562 WHERE "Crowd" > '25,000' AND "Away team" = 'south melbourne' | [
2061,
318,
262,
1497,
1074,
4776,
810,
262,
4315,
318,
3744,
621,
1679,
11,
830,
290,
262,
21986,
1074,
318,
5366,
7758,
12544,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
44465,
5237,
33411,
366,
34,
3986,
1,
1875,
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
] | [
2061,
318,
262,
1497,
1074,
4776,
810,
262,
4315,
318,
3744,
621,
1679,
11,
830,
290,
262,
21986,
1074,
318,
5366,
7758,
12544,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
44465,
5237,
33411,
366,
34,
3986,
1,
1875,
70... |
Show id and location of railways that are associated with more than one train by a bar chart, sort by the X-axis in desc. | SELECT T1.Location, T1.Railway_ID FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID ORDER BY T1.Location DESC | [
15307,
4686,
290,
4067,
286,
45247,
326,
389,
3917,
351,
517,
621,
530,
4512,
416,
257,
2318,
8262,
11,
3297,
416,
262,
1395,
12,
22704,
287,
1715,
13,
46506,
309,
16,
13,
14749,
11,
309,
16,
13,
44631,
1014,
62,
2389,
16034,
20515,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
290,
4067,
286,
45247,
326,
389,
3917,
351,
517,
621,
530,
4512,
416,
257,
2318,
8262,
11,
3297,
416,
262,
1395,
12,
22704,
287,
1715,
13,
46506,
309,
16,
13,
14749,
11,
309,
16,
13,
44631,
1014,
62,
2389,
16034,
20515,... |
What is the smallest amount sampled of product ? | SELECT MIN(samples_taken) FROM table_18943444_1 WHERE product = "蒙牛牌嬰幼兒配方乳粉" | [
2061,
318,
262,
18197,
2033,
35846,
286,
1720,
5633,
46506,
20625,
7,
82,
12629,
62,
83,
1685,
8,
16034,
3084,
62,
23362,
3559,
30272,
62,
16,
33411,
1720,
796,
366,
164,
240,
247,
31965,
249,
31965,
234,
161,
105,
108,
33176,
120,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18197,
2033,
35846,
286,
1720,
5633,
46506,
20625,
7,
82,
12629,
62,
83,
1685,
8,
16034,
3084,
62,
23362,
3559,
30272,
62,
16,
33411,
1720,
796,
366,
164,
240,
247,
31965,
249,
31965,
234,
161,
105,
108,
33176,
120,
... |
For ranks over 2 with Golds over 6 and Silvers over 5 what would be the lowest qualifying Total? | SELECT MIN("Total") FROM table_10122 WHERE "Gold" > '6' AND "Rank" > '2' AND "Silver" > '5' | [
1890,
9803,
625,
362,
351,
3561,
82,
625,
718,
290,
4243,
690,
625,
642,
644,
561,
307,
262,
9016,
18677,
7472,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
8784,
1828,
33411,
366,
13306,
1,
1875,
705,
21,
6,
5357,
366,
275... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9803,
625,
362,
351,
3561,
82,
625,
718,
290,
4243,
690,
625,
642,
644,
561,
307,
262,
9016,
18677,
7472,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
8784,
1828,
33411,
366,
13306,
1,
1875,
705,
21,
6,
5357,
366,
275... |
provide the number of patients whose ethnicity is black/cape verdean and drug name is 5% dextrose (excel bag)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND prescriptions.drug = "5% Dextrose (EXCEL BAG)" | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
36435,
3326,
2934,
272,
290,
2563,
1438,
318,
642,
4,
390,
742,
13698,
357,
1069,
5276,
6131,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26289,
318,
2042,
14,
36435,
3326,
2934,
272,
290,
2563,
1438,
318,
642,
4,
390,
742,
13698,
357,
1069,
5276,
6131,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... |
What is the score of the game with Falkirk as the runner-up? | SELECT score FROM table_name_48 WHERE runner_up = "falkirk" | [
2061,
318,
262,
4776,
286,
262,
983,
351,
32164,
14232,
355,
262,
17490,
12,
929,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2780,
33411,
17490,
62,
929,
796,
366,
69,
971,
14232,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
286,
262,
983,
351,
32164,
14232,
355,
262,
17490,
12,
929,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2780,
33411,
17490,
62,
929,
796,
366,
69,
971,
14232,
1
] |
What is the salary and name of the employee who has the most number of certificates on aircrafts with distance more than 5000? | SELECT T1.name FROM employee AS T1 JOIN certificate AS T2 ON T1.eid = T2.eid JOIN aircraft AS T3 ON T3.aid = T2.aid WHERE T3.distance > 5000 GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
9588,
290,
1438,
286,
262,
6538,
508,
468,
262,
749,
1271,
286,
20835,
319,
6215,
82,
351,
5253,
517,
621,
23336,
30,
46506,
309,
16,
13,
3672,
16034,
6538,
7054,
309,
16,
32357,
1268,
10703,
7054,
309,
17,
6177,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9588,
290,
1438,
286,
262,
6538,
508,
468,
262,
749,
1271,
286,
20835,
319,
6215,
82,
351,
5253,
517,
621,
23336,
30,
46506,
309,
16,
13,
3672,
16034,
6538,
7054,
309,
16,
32357,
1268,
10703,
7054,
309,
17,
6177,
309... |
What home has Philadelphia as the visitor, and december 4 as the date? | SELECT home FROM table_name_1 WHERE visitor = "philadelphia" AND date = "december 4" | [
2061,
1363,
468,
8857,
355,
262,
21493,
11,
290,
390,
3273,
604,
355,
262,
3128,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
16,
33411,
21493,
796,
366,
28864,
8273,
1,
5357,
3128,
796,
366,
2934,
3273,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1363,
468,
8857,
355,
262,
21493,
11,
290,
390,
3273,
604,
355,
262,
3128,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
16,
33411,
21493,
796,
366,
28864,
8273,
1,
5357,
3128,
796,
366,
2934,
3273,
604,
1
] |
When in the morning is the LAW 438 course ? | SELECT DISTINCT course_offering.end_time, course_offering.start_time, semester.semester, semester.year FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'LAW' AND cour... | [
2215,
287,
262,
3329,
318,
262,
38675,
604,
2548,
1781,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
11,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
262,
3329,
318,
262,
38675,
604,
2548,
1781,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
11,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
... |
Which authors have first name 'Amal'? List their last names. | SELECT lname FROM authors WHERE fname = "Amal" | [
13828,
7035,
423,
717,
1438,
705,
5840,
282,
30960,
7343,
511,
938,
3891,
13,
46506,
300,
3672,
16034,
7035,
33411,
277,
3672,
796,
366,
5840,
282,
1
] | [
1,
1,
1,
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,
7035,
423,
717,
1438,
705,
5840,
282,
30960,
7343,
511,
938,
3891,
13,
46506,
300,
3672,
16034,
7035,
33411,
277,
3672,
796,
366,
5840,
282,
1
] |
Find all users who reviewed restaurant ' Mesa Grill | SELECT user.name FROM business, category, review, user WHERE business.name = 'Mesa Grill' AND category.business_id = business.business_id AND category.category_name = 'restaurant' AND review.business_id = business.business_id AND user.user_id = review.user_id | [
16742,
477,
2985,
508,
11765,
7072,
705,
26670,
34814,
46506,
2836,
13,
3672,
16034,
1597,
11,
6536,
11,
2423,
11,
2836,
33411,
1597,
13,
3672,
796,
705,
44,
49183,
34814,
6,
5357,
6536,
13,
22680,
62,
312,
796,
1597,
13,
22680,
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... | [
16742,
477,
2985,
508,
11765,
7072,
705,
26670,
34814,
46506,
2836,
13,
3672,
16034,
1597,
11,
6536,
11,
2423,
11,
2836,
33411,
1597,
13,
3672,
796,
705,
44,
49183,
34814,
6,
5357,
6536,
13,
22680,
62,
312,
796,
1597,
13,
22680,
62,
... |
what other album did eddie harris & les mccain had besides swiss movement | SELECT "album" FROM table_204_193 WHERE "artist" = 'eddie harris & les mccann' AND "album" <> 'swiss movement' | [
10919,
584,
5062,
750,
1225,
11979,
3971,
2442,
1222,
10287,
285,
535,
391,
550,
13769,
1509,
747,
3356,
46506,
366,
40916,
1,
16034,
3084,
62,
18638,
62,
24943,
33411,
366,
49016,
1,
796,
705,
6048,
494,
3971,
2442,
1222,
10287,
285,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
584,
5062,
750,
1225,
11979,
3971,
2442,
1222,
10287,
285,
535,
391,
550,
13769,
1509,
747,
3356,
46506,
366,
40916,
1,
16034,
3084,
62,
18638,
62,
24943,
33411,
366,
49016,
1,
796,
705,
6048,
494,
3971,
2442,
1222,
10287,
285,
... |
What was the date of the game with the record of 18 10 2? | SELECT "Date" FROM table_67695 WHERE "Record" = '18–10–2' | [
2061,
373,
262,
3128,
286,
262,
983,
351,
262,
1700,
286,
1248,
838,
362,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3134,
37381,
33411,
366,
23739,
1,
796,
705,
1507,
1906,
940,
1906,
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,
1,
1
] | [
2061,
373,
262,
3128,
286,
262,
983,
351,
262,
1700,
286,
1248,
838,
362,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3134,
37381,
33411,
366,
23739,
1,
796,
705,
1507,
1906,
940,
1906,
17,
6
] |
What was the date of game #3? | SELECT "Date" FROM table_29758 WHERE "Game" = '3' | [
2061,
373,
262,
3128,
286,
983,
1303,
18,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1959,
38569,
33411,
366,
8777,
1,
796,
705,
18,
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
] | [
2061,
373,
262,
3128,
286,
983,
1303,
18,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1959,
38569,
33411,
366,
8777,
1,
796,
705,
18,
6
] |
Tell me the 1st leg for asfa rabat | SELECT "1st leg" FROM table_56561 WHERE "Team #1" = 'asfa rabat' | [
24446,
502,
262,
352,
301,
1232,
329,
355,
13331,
27998,
265,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
47372,
5333,
33411,
366,
15592,
1303,
16,
1,
796,
705,
292,
13331,
27998,
265,
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
] | [
24446,
502,
262,
352,
301,
1232,
329,
355,
13331,
27998,
265,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
47372,
5333,
33411,
366,
15592,
1303,
16,
1,
796,
705,
292,
13331,
27998,
265,
6
] |
Show me about the correlation between author_id and gender_mf in a scatter chart. | SELECT author_id, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name | [
15307,
502,
546,
262,
16096,
1022,
1772,
62,
312,
290,
5279,
62,
76,
69,
287,
257,
41058,
8262,
13,
46506,
1772,
62,
312,
11,
5279,
62,
76,
69,
16034,
20537,
62,
30515,
669,
62,
392,
62,
51,
315,
669,
38678,
11050,
2614,
62,
3672
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
546,
262,
16096,
1022,
1772,
62,
312,
290,
5279,
62,
76,
69,
287,
257,
41058,
8262,
13,
46506,
1772,
62,
312,
11,
5279,
62,
76,
69,
16034,
20537,
62,
30515,
669,
62,
392,
62,
51,
315,
669,
38678,
11050,
2614,
62,
3672
... |
How many where killed under Major-General Jean Victor de Constant Rebecque's command? | SELECT killed FROM table_11793221_2 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,
2923,
16034,
3084,
62,
1157,
44750,
26115,
62,
17,
33411,
11561,
796,
366,
24206,
12,
12218,
11320,
12622,
390,
20217,
797,
942... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2923,
16034,
3084,
62,
1157,
44750,
26115,
62,
17,
33411,
11561,
796,
366,
24206,
12,
12218,
11320,
12622,
390,
20217,
797,
942... |
Tell me the right ascensuon for object type of globular cluster and apparent magnitude of 8.5 and NGC number of 6273 | SELECT "Right ascension ( J2000 )" FROM table_57244 WHERE "Object type" = 'globular cluster' AND "Apparent magnitude" = '8.5' AND "NGC number" = '6273' | [
24446,
502,
262,
826,
10570,
641,
84,
261,
329,
2134,
2099,
286,
15095,
934,
13946,
290,
4156,
14735,
286,
807,
13,
20,
290,
399,
15916,
1271,
286,
718,
27367,
46506,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
16034,
3084,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24446,
502,
262,
826,
10570,
641,
84,
261,
329,
2134,
2099,
286,
15095,
934,
13946,
290,
4156,
14735,
286,
807,
13,
20,
290,
399,
15916,
1271,
286,
718,
27367,
46506,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
16034,
3084,
62,... |
Name the virtual for Fox | SELECT COUNT("Virtual") FROM table_19454 WHERE "Network" = 'Fox' | [
5376,
262,
7166,
329,
5426,
46506,
327,
28270,
7203,
37725,
4943,
16034,
3084,
62,
1129,
34229,
33411,
366,
26245,
1,
796,
705,
19399,
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
] | [
5376,
262,
7166,
329,
5426,
46506,
327,
28270,
7203,
37725,
4943,
16034,
3084,
62,
1129,
34229,
33411,
366,
26245,
1,
796,
705,
19399,
6
] |
Which Tracking Method has a Latest stable release of n/a, and a Price in USD of from $202/month? | SELECT tracking_method FROM table_name_25 WHERE latest_stable_release = "n/a" AND price_in_usd = "from $202/month" | [
13828,
37169,
11789,
468,
257,
26603,
8245,
2650,
286,
299,
14,
64,
11,
290,
257,
7886,
287,
11403,
286,
422,
720,
19004,
14,
8424,
30,
46506,
9646,
62,
24396,
16034,
3084,
62,
3672,
62,
1495,
33411,
3452,
62,
31284,
62,
20979,
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
] | [
13828,
37169,
11789,
468,
257,
26603,
8245,
2650,
286,
299,
14,
64,
11,
290,
257,
7886,
287,
11403,
286,
422,
720,
19004,
14,
8424,
30,
46506,
9646,
62,
24396,
16034,
3084,
62,
3672,
62,
1495,
33411,
3452,
62,
31284,
62,
20979,
796,
... |
what is the outcome when the surface is grass on 23 june 1997? | SELECT outcome FROM table_name_45 WHERE surface = "grass" AND date = "23 june 1997" | [
10919,
318,
262,
8055,
618,
262,
4417,
318,
8701,
319,
2242,
474,
1726,
8309,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
2231,
33411,
4417,
796,
366,
29815,
1,
5357,
3128,
796,
366,
1954,
474,
1726,
8309,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8055,
618,
262,
4417,
318,
8701,
319,
2242,
474,
1726,
8309,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
2231,
33411,
4417,
796,
366,
29815,
1,
5357,
3128,
796,
366,
1954,
474,
1726,
8309,
1
] |
Who directed the episode titled 'Smells Like Teen Sellout'? | SELECT "Directed by" FROM table_22122 WHERE "Title" = 'Smells Like Teen Sellout' | [
8241,
7924,
262,
4471,
11946,
705,
7556,
19187,
4525,
21432,
25688,
448,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1828,
18376,
33411,
366,
19160,
1,
796,
705,
7556,
19187,
4525,
21432,
25688,
448,
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
] | [
8241,
7924,
262,
4471,
11946,
705,
7556,
19187,
4525,
21432,
25688,
448,
30960,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1828,
18376,
33411,
366,
19160,
1,
796,
705,
7556,
19187,
4525,
21432,
25688,
448,
6
] |
What is the Player with a Cross Code Debut of RL Test GB v France? | SELECT "Player" FROM table_64939 WHERE "Cross Code Debut" = 'rl test gb v france' | [
2061,
318,
262,
7853,
351,
257,
6372,
6127,
1024,
4360,
286,
45715,
6208,
13124,
410,
4881,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
33300,
2670,
33411,
366,
21544,
6127,
1024,
4360,
1,
796,
705,
45895,
1332,
308,
65,
410,
1216,
590... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7853,
351,
257,
6372,
6127,
1024,
4360,
286,
45715,
6208,
13124,
410,
4881,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
33300,
2670,
33411,
366,
21544,
6127,
1024,
4360,
1,
796,
705,
45895,
1332,
308,
65,
410,
1216,
590... |
How many documents for each document type description? Visualize by a bar chart. | SELECT Document_Type_Description, COUNT(Document_Type_Description) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description | [
2437,
867,
4963,
329,
1123,
3188,
2099,
6764,
30,
15612,
1096,
416,
257,
2318,
8262,
13,
46506,
16854,
62,
6030,
62,
11828,
11,
327,
28270,
7,
24941,
62,
6030,
62,
11828,
8,
16034,
6524,
62,
24941,
62,
31431,
7054,
309,
16,
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,
1... | [
2437,
867,
4963,
329,
1123,
3188,
2099,
6764,
30,
15612,
1096,
416,
257,
2318,
8262,
13,
46506,
16854,
62,
6030,
62,
11828,
11,
327,
28270,
7,
24941,
62,
6030,
62,
11828,
8,
16034,
6524,
62,
24941,
62,
31431,
7054,
309,
16,
32357,
1... |
Usersranked by average answer score. | SELECT Users.Id AS "user_link", SUM(Posts.Score) AS "Upvotes earned", COUNT(*) AS "Answers written", 1.0 * SUM(Posts.Score) / COUNT(*) AS "Average answer score" FROM Posts LEFT JOIN Users ON Posts.OwnerUserId = Users.Id WHERE Posts.PostTypeId = 2 GROUP BY Users.Id ORDER BY 'Average answer score' DESC | [
14490,
28282,
416,
2811,
3280,
4776,
13,
46506,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
35683,
7,
21496,
13,
26595,
8,
7054,
366,
4933,
29307,
7366,
1600,
327,
28270,
7,
28104,
7054,
366,
2025,
37848,
3194,
1600,
352,
13,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
28282,
416,
2811,
3280,
4776,
13,
46506,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
35683,
7,
21496,
13,
26595,
8,
7054,
366,
4933,
29307,
7366,
1600,
327,
28270,
7,
28104,
7054,
366,
2025,
37848,
3194,
1600,
352,
13,
15... |
What was the enrollment (2005) for baccalaureate colleges , for Granite State College? | SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College" | [
2061,
373,
262,
20753,
357,
14315,
8,
329,
275,
4134,
6081,
495,
378,
15273,
837,
329,
17113,
578,
1812,
5535,
30,
46506,
20753,
834,
14315,
62,
16034,
3084,
62,
22745,
2414,
3829,
62,
16,
33411,
2099,
796,
366,
33,
4134,
6081,
495,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20753,
357,
14315,
8,
329,
275,
4134,
6081,
495,
378,
15273,
837,
329,
17113,
578,
1812,
5535,
30,
46506,
20753,
834,
14315,
62,
16034,
3084,
62,
22745,
2414,
3829,
62,
16,
33411,
2099,
796,
366,
33,
4134,
6081,
495,
... |
Name the total number of incumbent for first elected of 1944 | SELECT COUNT("Incumbent") FROM table_72397 WHERE "First elected" = '1944' | [
5376,
262,
2472,
1271,
286,
23526,
329,
717,
7018,
286,
16994,
46506,
327,
28270,
7203,
25517,
2178,
298,
4943,
16034,
3084,
62,
22,
1954,
5607,
33411,
366,
5962,
7018,
1,
796,
705,
1129,
2598,
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
] | [
5376,
262,
2472,
1271,
286,
23526,
329,
717,
7018,
286,
16994,
46506,
327,
28270,
7203,
25517,
2178,
298,
4943,
16034,
3084,
62,
22,
1954,
5607,
33411,
366,
5962,
7018,
1,
796,
705,
1129,
2598,
6
] |
What department has an m.phil (physics) qualification? | SELECT "Department" FROM table_44284 WHERE "Qualification" = 'm.phil (physics)' | [
2061,
5011,
468,
281,
285,
13,
28864,
357,
746,
23154,
8,
28587,
30,
46506,
366,
36261,
1,
16034,
3084,
62,
2598,
30336,
33411,
366,
46181,
2649,
1,
796,
705,
76,
13,
28864,
357,
746,
23154,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5011,
468,
281,
285,
13,
28864,
357,
746,
23154,
8,
28587,
30,
46506,
366,
36261,
1,
16034,
3084,
62,
2598,
30336,
33411,
366,
46181,
2649,
1,
796,
705,
76,
13,
28864,
357,
746,
23154,
33047
] |
What team has a player from Santa Clara? | SELECT team FROM table_name_82 WHERE college = "santa clara" | [
2061,
1074,
468,
257,
2137,
422,
8909,
27443,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
6469,
33411,
4152,
796,
366,
82,
4910,
537,
3301,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
468,
257,
2137,
422,
8909,
27443,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
6469,
33411,
4152,
796,
366,
82,
4910,
537,
3301,
1
] |
What is the Club during the Years 1995 1996? | SELECT "Club" FROM table_46501 WHERE "Years" = '1995–1996' | [
2061,
318,
262,
6289,
1141,
262,
13212,
8735,
8235,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
42018,
486,
33411,
366,
40630,
1,
796,
705,
21908,
1906,
22288,
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,
6289,
1141,
262,
13212,
8735,
8235,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
42018,
486,
33411,
366,
40630,
1,
796,
705,
21908,
1906,
22288,
6
] |
how many wikimanias have been held in the usa ? | SELECT COUNT("conference") FROM table_203_33 WHERE "place" = 'united states' | [
4919,
867,
47145,
320,
3216,
292,
423,
587,
2714,
287,
262,
514,
64,
5633,
46506,
327,
28270,
7203,
41124,
4943,
16034,
3084,
62,
22416,
62,
2091,
33411,
366,
5372,
1,
796,
705,
41187,
2585,
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,
47145,
320,
3216,
292,
423,
587,
2714,
287,
262,
514,
64,
5633,
46506,
327,
28270,
7203,
41124,
4943,
16034,
3084,
62,
22416,
62,
2091,
33411,
366,
5372,
1,
796,
705,
41187,
2585,
6
] |
what tests are the four most frequently ordered lab tests in this year? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY labevents.itemid) AS t1... | [
10919,
5254,
389,
262,
1440,
749,
6777,
6149,
2248,
5254,
287,
428,
614,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5254,
389,
262,
1440,
749,
6777,
6149,
2248,
5254,
287,
428,
614,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,... |
i want a flight from SAN DIEGO to INDIANAPOLIS that leaves tuesday afternoon | 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 = 22 AND date_day.month_number = 3... | [
72,
765,
257,
5474,
422,
37376,
14766,
7156,
46,
284,
24413,
16868,
2969,
3535,
1797,
326,
5667,
256,
3322,
6672,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
72,
765,
257,
5474,
422,
37376,
14766,
7156,
46,
284,
24413,
16868,
2969,
3535,
1797,
326,
5667,
256,
3322,
6672,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... |
What days is ROMLING 450 going on ? | SELECT DISTINCT course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_i... | [
2061,
1528,
318,
21224,
43,
2751,
18523,
1016,
319,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
2364,
1586,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
318,
21224,
43,
2751,
18523,
1016,
319,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
2364,
1586,
... |
Scott Dixon had how many Grid positions? | SELECT COUNT("Grid") FROM table_21423 WHERE "Driver" = 'Scott Dixon' | [
19040,
31178,
550,
703,
867,
24846,
6116,
30,
46506,
327,
28270,
7203,
41339,
4943,
16034,
3084,
62,
22291,
1954,
33411,
366,
32103,
1,
796,
705,
19040,
31178,
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
] | [
19040,
31178,
550,
703,
867,
24846,
6116,
30,
46506,
327,
28270,
7203,
41339,
4943,
16034,
3084,
62,
22291,
1954,
33411,
366,
32103,
1,
796,
705,
19040,
31178,
6
] |
What is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30? | SELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = "wisconsin (10-1)" | [
2061,
318,
262,
1285,
1367,
645,
85,
1467,
5055,
351,
266,
8816,
357,
940,
12,
16,
8,
319,
1285,
1511,
5267,
1542,
30,
46506,
1285,
62,
1157,
62,
37302,
62,
1433,
16034,
3084,
62,
3672,
62,
1120,
33411,
1285,
62,
1485,
62,
37302,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
1367,
645,
85,
1467,
5055,
351,
266,
8816,
357,
940,
12,
16,
8,
319,
1285,
1511,
5267,
1542,
30,
46506,
1285,
62,
1157,
62,
37302,
62,
1433,
16034,
3084,
62,
3672,
62,
1120,
33411,
1285,
62,
1485,
62,
37302,
... |
Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12 | SELECT MAX(evening_gown) FROM table_name_38 WHERE average < 8.793 AND swimsuit < 8.12 AND interview = 8.51 | [
5376,
262,
749,
6180,
33323,
329,
2811,
1342,
621,
807,
13,
44750,
351,
2720,
286,
807,
13,
4349,
290,
9422,
6063,
1342,
621,
807,
13,
1065,
46506,
25882,
7,
10197,
278,
62,
70,
593,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
2811,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
6180,
33323,
329,
2811,
1342,
621,
807,
13,
44750,
351,
2720,
286,
807,
13,
4349,
290,
9422,
6063,
1342,
621,
807,
13,
1065,
46506,
25882,
7,
10197,
278,
62,
70,
593,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
2811,
... |
list all question which tag is java. | SELECT MAX(LENGTH(Body)) FROM Posts | [
4868,
477,
1808,
543,
7621,
318,
20129,
13,
46506,
25882,
7,
43,
49494,
7,
25842,
4008,
16034,
12043
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
477,
1808,
543,
7621,
318,
20129,
13,
46506,
25882,
7,
43,
49494,
7,
25842,
4008,
16034,
12043
] |
What was the team's record at the game attended by 30,452? | SELECT record FROM table_name_22 WHERE attendance = "30,452" | [
2061,
373,
262,
1074,
338,
1700,
379,
262,
983,
9141,
416,
1542,
11,
37730,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1828,
33411,
14858,
796,
366,
1270,
11,
37730,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1074,
338,
1700,
379,
262,
983,
9141,
416,
1542,
11,
37730,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1828,
33411,
14858,
796,
366,
1270,
11,
37730,
1
] |
what's the constructor with location being hockenheimring | SELECT constructor FROM table_1140074_2 WHERE location = "Hockenheimring" | [
10919,
338,
262,
23772,
351,
4067,
852,
289,
735,
268,
9096,
1806,
46506,
23772,
16034,
3084,
62,
1157,
7029,
4524,
62,
17,
33411,
4067,
796,
366,
39,
735,
268,
9096,
1806,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
23772,
351,
4067,
852,
289,
735,
268,
9096,
1806,
46506,
23772,
16034,
3084,
62,
1157,
7029,
4524,
62,
17,
33411,
4067,
796,
366,
39,
735,
268,
9096,
1806,
1
] |
what are the top four most common lab tests until 4 years ago? | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4 | [
10919,
389,
262,
1353,
1440,
749,
2219,
2248,
5254,
1566,
604,
812,
2084,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
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... | [
10919,
389,
262,
1353,
1440,
749,
2219,
2248,
5254,
1566,
604,
812,
2084,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
... |
Which Type has a Builder of avonside engine company, and a Number of 9? | SELECT "Type" FROM table_39907 WHERE "Builder" = 'avonside engine company' AND "Number" = '9' | [
13828,
5994,
468,
257,
35869,
286,
1196,
684,
485,
3113,
1664,
11,
290,
257,
7913,
286,
860,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
28771,
2998,
33411,
366,
32875,
1,
796,
705,
615,
684,
485,
3113,
1664,
6,
5357,
366,
15057,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5994,
468,
257,
35869,
286,
1196,
684,
485,
3113,
1664,
11,
290,
257,
7913,
286,
860,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
28771,
2998,
33411,
366,
32875,
1,
796,
705,
615,
684,
485,
3113,
1664,
6,
5357,
366,
15057,
1,
... |
What was the average attendance when Chicago Bears were the home team? | SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears" | [
2061,
373,
262,
2811,
14858,
618,
4842,
15682,
547,
262,
1363,
1074,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
1363,
796,
366,
354,
4549,
13062,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
14858,
618,
4842,
15682,
547,
262,
1363,
1074,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
1363,
796,
366,
354,
4549,
13062,
1
] |
Which Away team has an Away team score of 12.19 (91)? | SELECT "Away team" FROM table_54732 WHERE "Away team score" = '12.19 (91)' | [
13828,
21986,
1074,
468,
281,
21986,
1074,
4776,
286,
1105,
13,
1129,
357,
6420,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
20,
2857,
2624,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1065,
13,
1129,
357,
6420,
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
] | [
13828,
21986,
1074,
468,
281,
21986,
1074,
4776,
286,
1105,
13,
1129,
357,
6420,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
20,
2857,
2624,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1065,
13,
1129,
357,
6420,
33047
] |
What season has 36 pld, a bbl div, and 6th position? | SELECT season FROM table_name_87 WHERE pld = "36" AND div = "bbl" AND pos = "6th" | [
2061,
1622,
468,
4570,
279,
335,
11,
257,
275,
2436,
2659,
11,
290,
718,
400,
2292,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
5774,
33411,
279,
335,
796,
366,
2623,
1,
5357,
2659,
796,
366,
65,
2436,
1,
5357,
1426,
796,
366,
21,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1622,
468,
4570,
279,
335,
11,
257,
275,
2436,
2659,
11,
290,
718,
400,
2292,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
5774,
33411,
279,
335,
796,
366,
2623,
1,
5357,
2659,
796,
366,
65,
2436,
1,
5357,
1426,
796,
366,
21,... |
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of phone_number and manager_id , and show from low to high by the x-axis. | SELECT PHONE_NUMBER, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
3072,
62,
17618,
290,
4706,
62,
312,
837,
290,
905,
422,
1877,
284,
1029,
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,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
3072,
62,
17618,
290,
4706,
62,
312,
837,
290,
905,
422,
1877,
284,
1029,
416,
... |
indicate the daily maximum heart rate of patient 14211 since 40 months ago. | SELECT MAX(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14211)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'hear... | [
521,
5344,
262,
4445,
5415,
2612,
2494,
286,
5827,
1478,
21895,
1201,
2319,
1933,
2084,
13,
46506,
25882,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
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,
1... | [
521,
5344,
262,
4445,
5415,
2612,
2494,
286,
5827,
1478,
21895,
1201,
2319,
1933,
2084,
13,
46506,
25882,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
1... |
What is the name of the team from goreville vienna school? | SELECT team_name FROM table_name_80 WHERE schools = "goreville vienna" | [
2061,
318,
262,
1438,
286,
262,
1074,
422,
46835,
4244,
25357,
13713,
1524,
30,
46506,
1074,
62,
3672,
16034,
3084,
62,
3672,
62,
1795,
33411,
4266,
796,
366,
70,
382,
4244,
25357,
13713,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
422,
46835,
4244,
25357,
13713,
1524,
30,
46506,
1074,
62,
3672,
16034,
3084,
62,
3672,
62,
1795,
33411,
4266,
796,
366,
70,
382,
4244,
25357,
13713,
1
] |
What is the start of the race with 676 laps? | SELECT start FROM table_name_29 WHERE laps = "676" | [
2061,
318,
262,
923,
286,
262,
3234,
351,
718,
4304,
24590,
30,
46506,
923,
16034,
3084,
62,
3672,
62,
1959,
33411,
24590,
796,
366,
42548,
1
] | [
1,
1,
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,
923,
286,
262,
3234,
351,
718,
4304,
24590,
30,
46506,
923,
16034,
3084,
62,
3672,
62,
1959,
33411,
24590,
796,
366,
42548,
1
] |
Namee the title for production code for 4014 | SELECT "Title" FROM table_1561 WHERE "Production code" = '4014' | [
5376,
68,
262,
3670,
329,
3227,
2438,
329,
22219,
19,
46506,
366,
19160,
1,
16034,
3084,
62,
1314,
5333,
33411,
366,
35027,
2438,
1,
796,
705,
21844,
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
] | [
5376,
68,
262,
3670,
329,
3227,
2438,
329,
22219,
19,
46506,
366,
19160,
1,
16034,
3084,
62,
1314,
5333,
33411,
366,
35027,
2438,
1,
796,
705,
21844,
19,
6
] |
where are dragons used as mascots? | SELECT location FROM table_2439728_1 WHERE mascot = "Dragons" | [
3003,
389,
20308,
973,
355,
23977,
1747,
30,
46506,
4067,
16034,
3084,
62,
1731,
33372,
2078,
62,
16,
33411,
37358,
796,
366,
6187,
34765,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3003,
389,
20308,
973,
355,
23977,
1747,
30,
46506,
4067,
16034,
3084,
62,
1731,
33372,
2078,
62,
16,
33411,
37358,
796,
366,
6187,
34765,
1
] |
This semester , Thermodynamics and Kinetics is taught by whom ? | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN course ON course.course_id = course_offering.course_id INNER JOIN semester... | [
1212,
24878,
837,
12634,
76,
44124,
290,
16645,
14596,
318,
7817,
416,
4150,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1212,
24878,
837,
12634,
76,
44124,
290,
16645,
14596,
318,
7817,
416,
4150,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,... |
does DL aircraft fly DC10 | SELECT DISTINCT aircraft.aircraft_code FROM aircraft, equipment_sequence, flight WHERE aircraft.basic_type = 'DC10' AND equipment_sequence.aircraft_code = aircraft.aircraft_code AND flight.aircraft_code_sequence = equipment_sequence.aircraft_code_sequence AND flight.airline_code = 'DL' | [
22437,
23641,
6215,
6129,
6257,
940,
46506,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
5112,
62,
43167,
11,
5474,
33411,
6215,
13,
35487,
62,
4906,
796,
705,
9697,
940,
6,
5357,
5112,
62,
43167,
13,
958,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
23641,
6215,
6129,
6257,
940,
46506,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
5112,
62,
43167,
11,
5474,
33411,
6215,
13,
35487,
62,
4906,
796,
705,
9697,
940,
6,
5357,
5112,
62,
43167,
13,
958,
... |
count the number of current patients whose age is in their 30s. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age BETWEEN 30 AND 39 | [
9127,
262,
1271,
286,
1459,
3871,
3025,
2479,
318,
287,
511,
1542,
82,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
5357,
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
] | [
9127,
262,
1271,
286,
1459,
3871,
3025,
2479,
318,
287,
511,
1542,
82,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
5357,
5... |
i want a flight from SAN FRANCISCO to DENVER leaving SAN FRANCISCO in the afternoon arriving DENVER around 5 in the afternoon | 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 (((flight.arrival_time <= 1730 AND flight.arrival_time >= 1630) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.to_... | [
72,
765,
257,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
37692,
5959,
4305,
37376,
8782,
20940,
1797,
8220,
287,
262,
6672,
14820,
37692,
5959,
1088,
642,
287,
262,
6672,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
765,
257,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
37692,
5959,
4305,
37376,
8782,
20940,
1797,
8220,
287,
262,
6672,
14820,
37692,
5959,
1088,
642,
287,
262,
6672,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
1603... |
With regards to my Core , what classes will work ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id | [
3152,
13957,
284,
616,
7231,
837,
644,
6097,
481,
670,
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,
1430,
62,
17319,
13,
22872,
34178,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3152,
13957,
284,
616,
7231,
837,
644,
6097,
481,
670,
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,
1430,
62,
17319,
13,
22872,
34178,
705... |
when was the last time patient 027-165214 had the minimum systemicdiastolic on the current intensive care unit visit. | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-165214') AND patient.unitdischargetime IS NULL)... | [
12518,
373,
262,
938,
640,
5827,
657,
1983,
12,
1433,
4309,
1415,
550,
262,
5288,
21971,
10989,
459,
4160,
319,
262,
1459,
18590,
1337,
4326,
3187,
13,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
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... | [
12518,
373,
262,
938,
640,
5827,
657,
1983,
12,
1433,
4309,
1415,
550,
262,
5288,
21971,
10989,
459,
4160,
319,
262,
1459,
18590,
1337,
4326,
3187,
13,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
... |
What is the party when the constituency is 1. Chennai North? | SELECT party FROM table_22753245_1 WHERE constituency = "1. Chennai North" | [
2061,
318,
262,
2151,
618,
262,
28280,
318,
352,
13,
47678,
2258,
30,
46506,
2151,
16034,
3084,
62,
1828,
44550,
22995,
62,
16,
33411,
28280,
796,
366,
16,
13,
47678,
2258,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2151,
618,
262,
28280,
318,
352,
13,
47678,
2258,
30,
46506,
2151,
16034,
3084,
62,
1828,
44550,
22995,
62,
16,
33411,
28280,
796,
366,
16,
13,
47678,
2258,
1
] |
Give me the trend about the amount of date_address_to over date_address_to , and group by attribute other_details. | SELECT date_address_to, COUNT(date_address_to) FROM Student_Addresses GROUP BY other_details, date_address_to ORDER BY monthly_rental DESC | [
23318,
502,
262,
5182,
546,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
625,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
13,
46506,
3128,
62,
21975,
62,
1462,
11,
327,
28270,
7,
4475,
62,
21975,
62,
1462,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23318,
502,
262,
5182,
546,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
625,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
13,
46506,
3128,
62,
21975,
62,
1462,
11,
327,
28270,
7,
4475,
62,
21975,
62,
1462,
... |
What is the ISO for South Sudan? | SELECT "ISO 3166-2 codes" FROM table_24891 WHERE "English short name (upper/lower case)" = 'South Sudan' | [
2061,
318,
262,
19694,
329,
2520,
19610,
30,
46506,
366,
40734,
513,
23055,
12,
17,
12416,
1,
16034,
3084,
62,
1731,
4531,
16,
33411,
366,
15823,
1790,
1438,
357,
45828,
14,
21037,
1339,
16725,
796,
705,
14942,
19610,
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
] | [
2061,
318,
262,
19694,
329,
2520,
19610,
30,
46506,
366,
40734,
513,
23055,
12,
17,
12416,
1,
16034,
3084,
62,
1731,
4531,
16,
33411,
366,
15823,
1790,
1438,
357,
45828,
14,
21037,
1339,
16725,
796,
705,
14942,
19610,
6
] |
what was the last respiration value for patient 025-60951 on 10/07/this year? | SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-60951')) AND NOT vitalperiodic.respiration IS NULL ... | [
10919,
373,
262,
938,
1217,
15297,
1988,
329,
5827,
657,
1495,
12,
1899,
50119,
319,
838,
14,
2998,
14,
5661,
614,
30,
46506,
9204,
41007,
291,
13,
411,
10514,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
938,
1217,
15297,
1988,
329,
5827,
657,
1495,
12,
1899,
50119,
319,
838,
14,
2998,
14,
5661,
614,
30,
46506,
9204,
41007,
291,
13,
411,
10514,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
... |
How much was the prize money for the 275000 purse? | SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE purse__$__ = 275000 | [
2437,
881,
373,
262,
11596,
1637,
329,
262,
25829,
830,
27517,
30,
46506,
352,
7054,
336,
62,
3448,
2736,
834,
3,
834,
16034,
3084,
62,
1157,
5237,
1731,
4846,
62,
16,
33411,
27517,
834,
3,
834,
796,
25829,
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,
1,
1,
1,
1,
1
] | [
2437,
881,
373,
262,
11596,
1637,
329,
262,
25829,
830,
27517,
30,
46506,
352,
7054,
336,
62,
3448,
2736,
834,
3,
834,
16034,
3084,
62,
1157,
5237,
1731,
4846,
62,
16,
33411,
27517,
834,
3,
834,
796,
25829,
830
] |
what was the title of the first improv challenge ? | SELECT "d\nimprovisational" FROM table_203_185 ORDER BY "season" LIMIT 1 | [
10919,
373,
262,
3670,
286,
262,
717,
37080,
4427,
5633,
46506,
366,
67,
59,
77,
32077,
4703,
864,
1,
16034,
3084,
62,
22416,
62,
21652,
38678,
11050,
366,
6230,
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
] | [
10919,
373,
262,
3670,
286,
262,
717,
37080,
4427,
5633,
46506,
366,
67,
59,
77,
32077,
4703,
864,
1,
16034,
3084,
62,
22416,
62,
21652,
38678,
11050,
366,
6230,
1,
27564,
2043,
352
] |
what is admission location and diagnoses icd9 code of subject id 1875? | SELECT demographic.admission_location, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "1875" | [
10919,
318,
13938,
4067,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
1248,
2425,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
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,
318,
13938,
4067,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
1248,
2425,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
1... |
What is the total number of cuts made for events played more than 3 times and under 2 top-25s? | SELECT COUNT(cuts_made) FROM table_name_44 WHERE events > 3 AND top_25 < 2 | [
2061,
318,
262,
2472,
1271,
286,
6630,
925,
329,
2995,
2826,
517,
621,
513,
1661,
290,
739,
362,
1353,
12,
1495,
82,
30,
46506,
327,
28270,
7,
23779,
62,
9727,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
2995,
1875,
513,
5357,
1353,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6630,
925,
329,
2995,
2826,
517,
621,
513,
1661,
290,
739,
362,
1353,
12,
1495,
82,
30,
46506,
327,
28270,
7,
23779,
62,
9727,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
2995,
1875,
513,
5357,
1353,
... |
Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec? | SELECT "Class" FROM table_49239 WHERE "Frequency MHz" > '91.7' AND "Call sign" = 'k272ec' | [
13828,
5016,
468,
257,
31902,
19805,
4025,
621,
10495,
13,
22,
11,
290,
257,
4889,
1051,
286,
479,
29807,
721,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
2920,
23516,
33411,
366,
37,
28707,
19805,
1,
1875,
705,
6420,
13,
22,
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
] | [
13828,
5016,
468,
257,
31902,
19805,
4025,
621,
10495,
13,
22,
11,
290,
257,
4889,
1051,
286,
479,
29807,
721,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
2920,
23516,
33411,
366,
37,
28707,
19805,
1,
1875,
705,
6420,
13,
22,
6,
5357,... |
How many different lead margins were stated in the poll administered on September 11, 2008? | SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 2008" | [
2437,
867,
1180,
1085,
20241,
547,
5081,
287,
262,
3278,
17169,
319,
2693,
1367,
11,
3648,
30,
46506,
327,
28270,
7,
28230,
62,
36153,
8,
16034,
3084,
62,
17430,
30460,
940,
62,
940,
33411,
9667,
62,
39081,
1068,
796,
366,
17543,
1367... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
1085,
20241,
547,
5081,
287,
262,
3278,
17169,
319,
2693,
1367,
11,
3648,
30,
46506,
327,
28270,
7,
28230,
62,
36153,
8,
16034,
3084,
62,
17430,
30460,
940,
62,
940,
33411,
9667,
62,
39081,
1068,
796,
366,
17543,
1367... |
How many tries for does waunarlwydd rfc have ? | SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc" | [
2437,
867,
8404,
329,
857,
266,
1942,
7063,
21768,
1860,
374,
16072,
423,
5633,
46506,
8404,
62,
1640,
16034,
3084,
62,
3672,
62,
17,
33411,
3430,
796,
366,
86,
1942,
7063,
21768,
1860,
374,
16072,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
266,
1942,
7063,
21768,
1860,
374,
16072,
423,
5633,
46506,
8404,
62,
1640,
16034,
3084,
62,
3672,
62,
17,
33411,
3430,
796,
366,
86,
1942,
7063,
21768,
1860,
374,
16072,
1
] |
when did patient 73652 last have the minimum urobilinogen - value during the first hospital visit? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73652 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'urob... | [
12518,
750,
5827,
767,
2623,
4309,
938,
423,
262,
5288,
334,
22609,
346,
259,
6644,
532,
1988,
1141,
262,
717,
4436,
3187,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
767,
2623,
4309,
938,
423,
262,
5288,
334,
22609,
346,
259,
6644,
532,
1988,
1141,
262,
717,
4436,
3187,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
... |
provide the number of patients who were admitted before the year 2123 with a hematology lab test category. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2123" AND lab."CATEGORY" = "Hematology" | [
15234,
485,
262,
1271,
286,
3871,
508,
547,
6848,
878,
262,
614,
362,
10163,
351,
257,
339,
6759,
1435,
2248,
1332,
6536,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
508,
547,
6848,
878,
262,
614,
362,
10163,
351,
257,
339,
6759,
1435,
2248,
1332,
6536,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
Name the original title for the last metro | SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro" | [
5376,
262,
2656,
3670,
329,
262,
938,
24536,
46506,
2656,
62,
7839,
16034,
3084,
62,
1507,
44183,
26514,
62,
16,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
464,
4586,
12477,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3670,
329,
262,
938,
24536,
46506,
2656,
62,
7839,
16034,
3084,
62,
1507,
44183,
26514,
62,
16,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
464,
4586,
12477,
1
] |
What is the lowest overall amount of assists? | SELECT MIN("Assists") FROM table_3181 | [
2061,
318,
262,
9016,
4045,
2033,
286,
13648,
30,
46506,
20625,
7203,
8021,
1023,
4943,
16034,
3084,
62,
18,
27057
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
4045,
2033,
286,
13648,
30,
46506,
20625,
7203,
8021,
1023,
4943,
16034,
3084,
62,
18,
27057
] |
What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9? | SELECT SUM("sequence length (aa)") FROM table_75250 WHERE "common name" = 'purple sea urchin' AND "divergence from human lineage (MYA)" < '742.9' | [
2061,
318,
262,
8379,
4129,
357,
7252,
8,
286,
262,
7532,
351,
262,
2219,
1438,
17265,
6896,
8799,
24658,
290,
257,
43366,
422,
1692,
31144,
1342,
621,
767,
3682,
13,
24,
30,
46506,
35683,
7203,
43167,
4129,
357,
7252,
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,
1,
1... | [
2061,
318,
262,
8379,
4129,
357,
7252,
8,
286,
262,
7532,
351,
262,
2219,
1438,
17265,
6896,
8799,
24658,
290,
257,
43366,
422,
1692,
31144,
1342,
621,
767,
3682,
13,
24,
30,
46506,
35683,
7203,
43167,
4129,
357,
7252,
8,
4943,
16034,... |
What event was on 26 August 2005? | SELECT event FROM table_name_14 WHERE date = "26 august 2005" | [
2061,
1785,
373,
319,
2608,
2932,
5075,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
796,
366,
2075,
16339,
436,
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
] | [
2061,
1785,
373,
319,
2608,
2932,
5075,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
796,
366,
2075,
16339,
436,
5075,
1
] |
Name the military expenditures for 2011 for romania | SELECT military_expenditures__2011, _us$_millions_ FROM table_17971449_2 WHERE country = "Romania" | [
5376,
262,
2422,
22895,
329,
2813,
329,
374,
5185,
544,
46506,
2422,
62,
11201,
437,
20686,
834,
9804,
11,
4808,
385,
3,
62,
17805,
507,
62,
16034,
3084,
62,
1558,
5607,
1415,
2920,
62,
17,
33411,
1499,
796,
366,
32454,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2422,
22895,
329,
2813,
329,
374,
5185,
544,
46506,
2422,
62,
11201,
437,
20686,
834,
9804,
11,
4808,
385,
3,
62,
17805,
507,
62,
16034,
3084,
62,
1558,
5607,
1415,
2920,
62,
17,
33411,
1499,
796,
366,
32454,
544,
1
] |
What was the away team's score against Hawthorn? | SELECT "Away team score" FROM table_33284 WHERE "Away team" = 'hawthorn' | [
2061,
373,
262,
1497,
1074,
338,
4776,
1028,
41457,
1211,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2091,
30336,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
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,
1497,
1074,
338,
4776,
1028,
41457,
1211,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2091,
30336,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.