instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
How many laps did mike spence complete grids above 12? | SELECT COUNT(laps) FROM table_name_85 WHERE driver = "mike spence" AND grid > 12 | [
2437,
867,
24590,
750,
285,
522,
599,
594,
1844,
50000,
2029,
1105,
30,
46506,
327,
28270,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
5332,
33411,
4639,
796,
366,
76,
522,
599,
594,
1,
5357,
10706,
1875,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24590,
750,
285,
522,
599,
594,
1844,
50000,
2029,
1105,
30,
46506,
327,
28270,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
5332,
33411,
4639,
796,
366,
76,
522,
599,
594,
1,
5357,
10706,
1875,
1105
] |
What classes do n't have lab sessions ? | SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' | [
2061,
6097,
466,
299,
470,
423,
2248,
10991,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
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,
6097,
466,
299,
470,
423,
2248,
10991,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
6
] |
Which Date has a Score of 106 112? | SELECT "Date" FROM table_35945 WHERE "Score" = '106–112' | [
13828,
7536,
468,
257,
15178,
286,
15696,
13539,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
30743,
2231,
33411,
366,
26595,
1,
796,
705,
15801,
1906,
14686,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
15178,
286,
15696,
13539,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
30743,
2231,
33411,
366,
26595,
1,
796,
705,
15801,
1906,
14686,
6
] |
On what date was a record from Village Records with catalog VRCL-2205 released? | SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205" | [
2202,
644,
3128,
373,
257,
1700,
422,
14812,
13407,
351,
18388,
6453,
5097,
12,
17572,
20,
2716,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
20,
33411,
6167,
796,
366,
41082,
496,
4406,
1,
5357,
18388,
796,
366,
37020,
565,
12,
17572,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
257,
1700,
422,
14812,
13407,
351,
18388,
6453,
5097,
12,
17572,
20,
2716,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
20,
33411,
6167,
796,
366,
41082,
496,
4406,
1,
5357,
18388,
796,
366,
37020,
565,
12,
17572,... |
Date of 15 july 1994 involves which performer 3? | SELECT "Performer 3" FROM table_36207 WHERE "Date" = '15 july 1994' | [
10430,
286,
1315,
474,
2062,
9162,
9018,
543,
26960,
513,
30,
46506,
366,
5990,
16354,
513,
1,
16034,
3084,
62,
2623,
22745,
33411,
366,
10430,
1,
796,
705,
1314,
474,
2062,
9162,
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
] | [
10430,
286,
1315,
474,
2062,
9162,
9018,
543,
26960,
513,
30,
46506,
366,
5990,
16354,
513,
1,
16034,
3084,
62,
2623,
22745,
33411,
366,
10430,
1,
796,
705,
1314,
474,
2062,
9162,
6
] |
Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993? | SELECT "Position" FROM table_8754 WHERE "Event" = '10,000 m' AND "Competition" = 'world championships' AND "Year" > '1993' | [
13828,
23158,
468,
281,
8558,
286,
838,
11,
830,
285,
11,
290,
257,
27348,
286,
995,
27459,
11,
290,
257,
6280,
4025,
621,
9656,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
31360,
19,
33411,
366,
9237,
1,
796,
705,
940,
11,
830,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23158,
468,
281,
8558,
286,
838,
11,
830,
285,
11,
290,
257,
27348,
286,
995,
27459,
11,
290,
257,
6280,
4025,
621,
9656,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
31360,
19,
33411,
366,
9237,
1,
796,
705,
940,
11,
830,
28... |
Python vs. R (Number of Questions per Month). | SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, creationDate), 0) AS Month, Tags.TagName, COUNT(Posts.Id) AS Questions FROM Posts LEFT JOIN PostTags ON Posts.Id = PostTags.PostId LEFT JOIN Tags ON PostTags.TagId = Tags.Id WHERE Posts.PostTypeId = 1 AND (PostTags.TagId = 4452 OR PostTags.TagId = 16) GROUP BY DATEADD(MONTH, DAT... | [
37906,
3691,
13,
371,
357,
15057,
286,
20396,
583,
16061,
737,
46506,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
6282,
10430,
828,
657,
8,
7054,
16061,
11,
44789,
13,
24835,
5376,
11,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
37906,
3691,
13,
371,
357,
15057,
286,
20396,
583,
16061,
737,
46506,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
6282,
10430,
828,
657,
8,
7054,
16061,
11,
44789,
13,
24835,
5376,
11,
327,
... |
give the number of patients whose admission location is hosp/extram and procedure icd9 code is 4131. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND procedures.icd9_code = "4131" | [
26535,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
10496,
14,
2302,
859,
290,
8771,
14158,
67,
24,
2438,
318,
604,
22042,
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... | [
26535,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
10496,
14,
2302,
859,
290,
8771,
14158,
67,
24,
2438,
318,
604,
22042,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357... |
what technical challenge was featured in 2013-2014 but not 2014-2015 ? | SELECT "a\ntechnical" FROM table_203_185 WHERE "season" = '2013-2014' | [
10919,
6276,
4427,
373,
8096,
287,
2211,
12,
4967,
475,
407,
1946,
12,
4626,
5633,
46506,
366,
64,
59,
429,
68,
1349,
605,
1,
16034,
3084,
62,
22416,
62,
21652,
33411,
366,
6230,
1,
796,
705,
6390,
12,
4967,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
6276,
4427,
373,
8096,
287,
2211,
12,
4967,
475,
407,
1946,
12,
4626,
5633,
46506,
366,
64,
59,
429,
68,
1349,
605,
1,
16034,
3084,
62,
22416,
62,
21652,
33411,
366,
6230,
1,
796,
705,
6390,
12,
4967,
6
] |
What is Role, when Status is '2001 - 2003, 2005 - 2009'? | SELECT "Role" FROM table_9790 WHERE "Status" = '2001 - 2003, 2005 - 2009' | [
2061,
318,
20934,
11,
618,
12678,
318,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
30960,
46506,
366,
47445,
1,
16034,
3084,
62,
24,
37750,
33411,
366,
19580,
1,
796,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
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,
20934,
11,
618,
12678,
318,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
30960,
46506,
366,
47445,
1,
16034,
3084,
62,
24,
37750,
33411,
366,
19580,
1,
796,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
6
] |
what was the first marathon juma ikangaa won ? | SELECT "competition" FROM table_203_370 WHERE "position" = 1 ORDER BY "year" LIMIT 1 | [
10919,
373,
262,
717,
22336,
474,
7487,
220,
1134,
648,
7252,
1839,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
20167,
33411,
366,
9150,
1,
796,
352,
38678,
11050,
366,
1941,
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
] | [
10919,
373,
262,
717,
22336,
474,
7487,
220,
1134,
648,
7252,
1839,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
20167,
33411,
366,
9150,
1,
796,
352,
38678,
11050,
366,
1941,
1,
27564,
2043,
352
] |
What is the type of disc by Logistics after 2004? | SELECT "Type" FROM table_10359 WHERE "Year" > '2004' AND "Artist" = 'logistics' | [
2061,
318,
262,
2099,
286,
1221,
416,
5972,
3969,
706,
5472,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
940,
30743,
33411,
366,
17688,
1,
1875,
705,
15724,
6,
5357,
366,
43020,
1,
796,
705,
6404,
3969,
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,
2099,
286,
1221,
416,
5972,
3969,
706,
5472,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
940,
30743,
33411,
366,
17688,
1,
1875,
705,
15724,
6,
5357,
366,
43020,
1,
796,
705,
6404,
3969,
6
] |
Tell me the sum of bronze for gold being 27 and silver more than 30 | SELECT SUM(bronze) FROM table_name_35 WHERE gold = 27 AND silver > 30 | [
24446,
502,
262,
2160,
286,
22101,
329,
3869,
852,
2681,
290,
8465,
517,
621,
1542,
46506,
35683,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
3869,
796,
2681,
5357,
8465,
1875,
1542
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
2160,
286,
22101,
329,
3869,
852,
2681,
290,
8465,
517,
621,
1542,
46506,
35683,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
3869,
796,
2681,
5357,
8465,
1875,
1542
] |
What's the roles of the Bionic Woman? | SELECT role FROM table_name_4 WHERE program = "the bionic woman" | [
2061,
338,
262,
9176,
286,
262,
347,
26523,
14381,
30,
46506,
2597,
16034,
3084,
62,
3672,
62,
19,
33411,
1430,
796,
366,
1169,
275,
26523,
2415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
9176,
286,
262,
347,
26523,
14381,
30,
46506,
2597,
16034,
3084,
62,
3672,
62,
19,
33411,
1430,
796,
366,
1169,
275,
26523,
2415,
1
] |
What was the attendance for a week larger than 3, and an opponent of philadelphia eagles? | SELECT "Attendance" FROM table_45260 WHERE "Week" > '3' AND "Opponent" = 'philadelphia eagles' | [
2061,
373,
262,
14858,
329,
257,
1285,
4025,
621,
513,
11,
290,
281,
6125,
286,
5206,
8273,
304,
37803,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2231,
21719,
33411,
366,
20916,
1,
1875,
705,
18,
6,
5357,
366,
27524,
3471,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
329,
257,
1285,
4025,
621,
513,
11,
290,
281,
6125,
286,
5206,
8273,
304,
37803,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2231,
21719,
33411,
366,
20916,
1,
1875,
705,
18,
6,
5357,
366,
27524,
3471,... |
what was the first intake that patient 016-22566 had received today? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-22566')) AND intakeoutput.cellpath LIKE '%intake%' AND D... | [
10919,
373,
262,
717,
10337,
326,
5827,
5534,
21,
12,
18182,
2791,
550,
2722,
1909,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
717,
10337,
326,
5827,
5534,
21,
12,
18182,
2791,
550,
2722,
1909,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850... |
Which Bats have a First of josh, and Throws of r, and a Surname of cakebread? | SELECT bats FROM table_name_90 WHERE first = "josh" AND throws = "r" AND surname = "cakebread" | [
13828,
347,
1381,
423,
257,
3274,
286,
474,
3768,
11,
290,
536,
8516,
286,
374,
11,
290,
257,
311,
700,
480,
286,
12187,
29573,
30,
46506,
19553,
16034,
3084,
62,
3672,
62,
3829,
33411,
717,
796,
366,
73,
3768,
1,
5357,
12542,
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
] | [
13828,
347,
1381,
423,
257,
3274,
286,
474,
3768,
11,
290,
536,
8516,
286,
374,
11,
290,
257,
311,
700,
480,
286,
12187,
29573,
30,
46506,
19553,
16034,
3084,
62,
3672,
62,
3829,
33411,
717,
796,
366,
73,
3768,
1,
5357,
12542,
796,
... |
count the number of patients whose diagnoses short title is ac vasc insuff intestine and lab test category is blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Ac vasc insuff intestine" AND lab."CATEGORY" = "Blood Gas" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
936,
410,
3372,
1035,
1648,
45426,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
936,
410,
3372,
1035,
1648,
45426,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
214... |
count the number of patients born before 2073 who have iv route of drug administration. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2073" AND prescriptions.route = "IV" | [
9127,
262,
1271,
286,
3871,
4642,
878,
1160,
4790,
508,
423,
21628,
6339,
286,
2563,
3662,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
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,
1... | [
9127,
262,
1271,
286,
3871,
4642,
878,
1160,
4790,
508,
423,
21628,
6339,
286,
2563,
3662,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
1... |
how many bronze medals does togo have ? | SELECT "bronze" FROM table_203_70 WHERE "nation" = 'togo' | [
4919,
867,
22101,
28057,
857,
284,
2188,
423,
5633,
46506,
366,
65,
1313,
2736,
1,
16034,
3084,
62,
22416,
62,
2154,
33411,
366,
25729,
1,
796,
705,
83,
24076,
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
] | [
4919,
867,
22101,
28057,
857,
284,
2188,
423,
5633,
46506,
366,
65,
1313,
2736,
1,
16034,
3084,
62,
22416,
62,
2154,
33411,
366,
25729,
1,
796,
705,
83,
24076,
6
] |
What were the lowest laps of Luigi Musso driving a Ferrari with a Grid larger than 2? | SELECT MIN("Laps") FROM table_78365 WHERE "Constructor" = 'ferrari' AND "Grid" > '2' AND "Driver" = 'luigi musso' | [
2061,
547,
262,
9016,
24590,
286,
39139,
2629,
568,
5059,
257,
23502,
351,
257,
24846,
4025,
621,
362,
30,
46506,
20625,
7203,
43,
1686,
4943,
16034,
3084,
62,
3695,
24760,
33411,
366,
42316,
273,
1,
796,
705,
2232,
81,
2743,
6,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
9016,
24590,
286,
39139,
2629,
568,
5059,
257,
23502,
351,
257,
24846,
4025,
621,
362,
30,
46506,
20625,
7203,
43,
1686,
4943,
16034,
3084,
62,
3695,
24760,
33411,
366,
42316,
273,
1,
796,
705,
2232,
81,
2743,
6,
5357,... |
Which loss has an attendance greater than 49,688 and 11-8 as the record? | SELECT "Loss" FROM table_80455 WHERE "Attendance" > '49,688' AND "Record" = '11-8' | [
13828,
2994,
468,
281,
14858,
3744,
621,
5125,
11,
34427,
290,
1367,
12,
23,
355,
262,
1700,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
1795,
30505,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2920,
11,
34427,
6,
5357,
366,
23739,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2994,
468,
281,
14858,
3744,
621,
5125,
11,
34427,
290,
1367,
12,
23,
355,
262,
1700,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
1795,
30505,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2920,
11,
34427,
6,
5357,
366,
23739,
... |
What was the description when the viewers selected Nan? | SELECT "Description" FROM table_19874 WHERE "Viewers selection" = 'Nan' | [
2061,
373,
262,
6764,
618,
262,
10209,
6163,
18008,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
22337,
4524,
33411,
366,
7680,
364,
6356,
1,
796,
705,
45,
272,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
6764,
618,
262,
10209,
6163,
18008,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
22337,
4524,
33411,
366,
7680,
364,
6356,
1,
796,
705,
45,
272,
6
] |
What was the score for series 2 3? | SELECT score FROM table_27715173_12 WHERE series = "2–3" | [
2061,
373,
262,
4776,
329,
2168,
362,
513,
30,
46506,
4776,
16034,
3084,
62,
27019,
1314,
25399,
62,
1065,
33411,
2168,
796,
366,
17,
1906,
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
] | [
2061,
373,
262,
4776,
329,
2168,
362,
513,
30,
46506,
4776,
16034,
3084,
62,
27019,
1314,
25399,
62,
1065,
33411,
2168,
796,
366,
17,
1906,
18,
1
] |
Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents? | SELECT attendance FROM table_name_39 WHERE week < 16 AND opponent = "washington redskins" | [
13828,
14858,
1271,
373,
2077,
287,
257,
1285,
1342,
621,
1467,
618,
262,
2669,
22038,
547,
262,
7691,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2670,
33411,
1285,
1279,
1467,
5357,
6125,
796,
366,
86,
2542,
2266,
82,
5331,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
1271,
373,
2077,
287,
257,
1285,
1342,
621,
1467,
618,
262,
2669,
22038,
547,
262,
7691,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2670,
33411,
1285,
1279,
1467,
5357,
6125,
796,
366,
86,
2542,
2266,
82,
5331,
1
] |
how many days has passed since patient 031-13920 had a mch laboratory test for the last time on the current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-13920' AND patient.hospi... | [
4919,
867,
1528,
468,
3804,
1201,
5827,
657,
3132,
12,
20219,
1238,
550,
257,
285,
354,
14010,
1332,
329,
262,
938,
640,
319,
262,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
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... | [
4919,
867,
1528,
468,
3804,
1201,
5827,
657,
3132,
12,
20219,
1238,
550,
257,
285,
354,
14010,
1332,
329,
262,
938,
640,
319,
262,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
... |
patients with controlled hypertension ( sitting diastolic bp < 95 mmhg and / or sitting systolic bp < 160 mmhg ) , right bundle branch block ( complete or partial ) , and pacemakers may be included in the study. | SELECT * FROM table_train_130 WHERE hypertension = 1 OR (diastolic_blood_pressure_dbp < 95 OR systolic_blood_pressure_sbp < 160) OR right_bundle_branch_block = 1 | [
8071,
2334,
351,
6856,
37454,
357,
5586,
2566,
459,
4160,
275,
79,
1279,
6957,
8085,
71,
70,
290,
1220,
393,
5586,
827,
301,
4160,
275,
79,
1279,
13454,
8085,
71,
70,
1267,
837,
826,
18537,
8478,
2512,
357,
1844,
393,
13027,
1267,
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... | [
8071,
2334,
351,
6856,
37454,
357,
5586,
2566,
459,
4160,
275,
79,
1279,
6957,
8085,
71,
70,
290,
1220,
393,
5586,
827,
301,
4160,
275,
79,
1279,
13454,
8085,
71,
70,
1267,
837,
826,
18537,
8478,
2512,
357,
1844,
393,
13027,
1267,
8... |
What is the relationship between support and consider rates of each candidate? | SELECT Support_rate, Consider_rate FROM candidate | [
2061,
318,
262,
2776,
1022,
1104,
290,
2074,
3965,
286,
1123,
4540,
30,
46506,
7929,
62,
4873,
11,
12642,
62,
4873,
16034,
4540
] | [
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,
1104,
290,
2074,
3965,
286,
1123,
4540,
30,
46506,
7929,
62,
4873,
11,
12642,
62,
4873,
16034,
4540
] |
WHAT IS THE LEAGUE WITH PLAYER JOE COLBORNE? | SELECT "College/junior/club team (league)" FROM table_43693 WHERE "Player" = 'joe colborne' | [
32971,
3180,
3336,
12509,
4760,
8924,
13315,
28180,
1137,
449,
27799,
20444,
33,
1581,
12161,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
357,
19316,
16725,
16034,
3084,
62,
43690,
6052,
33411,
366,
14140,
1,
796,
705,
73,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12509,
4760,
8924,
13315,
28180,
1137,
449,
27799,
20444,
33,
1581,
12161,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
357,
19316,
16725,
16034,
3084,
62,
43690,
6052,
33411,
366,
14140,
1,
796,
705,
73,
... |
serum creatinine >= 1.5 mg / dl for male , or >= 1.4 mg / dl for female . | SELECT * FROM table_dev_29 WHERE (serum_creatinine >= 1.5 AND gender = 'male') OR (serum_creatinine >= 1.4 AND gender = 'female') | [
2655,
388,
1827,
259,
500,
18189,
352,
13,
20,
10527,
1220,
288,
75,
329,
4257,
837,
393,
18189,
352,
13,
19,
10527,
1220,
288,
75,
329,
4048,
764,
46506,
1635,
16034,
3084,
62,
7959,
62,
1959,
33411,
357,
2655,
388,
62,
20123,
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... | [
2655,
388,
1827,
259,
500,
18189,
352,
13,
20,
10527,
1220,
288,
75,
329,
4257,
837,
393,
18189,
352,
13,
19,
10527,
1220,
288,
75,
329,
4048,
764,
46506,
1635,
16034,
3084,
62,
7959,
62,
1959,
33411,
357,
2655,
388,
62,
20123,
259,... |
Name the wickets when overs bowled is 9 | SELECT "Wickets" FROM table_20275 WHERE "Overs Bowled" = '9' | [
5376,
262,
266,
15970,
618,
10753,
9563,
992,
318,
860,
46506,
366,
54,
15970,
1,
16034,
3084,
62,
1238,
23195,
33411,
366,
46,
690,
9740,
992,
1,
796,
705,
24,
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,
266,
15970,
618,
10753,
9563,
992,
318,
860,
46506,
366,
54,
15970,
1,
16034,
3084,
62,
1238,
23195,
33411,
366,
46,
690,
9740,
992,
1,
796,
705,
24,
6
] |
Which away team played against the home team that scored 8.8 (56)? | SELECT "Away team" FROM table_58130 WHERE "Away team score" = '8.8 (56)' | [
13828,
1497,
1074,
2826,
1028,
262,
1363,
1074,
326,
7781,
807,
13,
23,
357,
3980,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
3365,
12952,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
23,
357,
3980,
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,
1497,
1074,
2826,
1028,
262,
1363,
1074,
326,
7781,
807,
13,
23,
357,
3980,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
3365,
12952,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
23,
357,
3980,
33047
] |
What was the date for the French Grand Prix? | SELECT "Date" FROM table_69593 WHERE "Name" = 'french grand prix' | [
2061,
373,
262,
3128,
329,
262,
4141,
5675,
23832,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3388,
49051,
33411,
366,
5376,
1,
796,
705,
69,
3532,
4490,
1293,
87,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
329,
262,
4141,
5675,
23832,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3388,
49051,
33411,
366,
5376,
1,
796,
705,
69,
3532,
4490,
1293,
87,
6
] |
For the Venue of western oval, what's the Away team playing? | SELECT "Away team" FROM table_54575 WHERE "Venue" = 'western oval' | [
1890,
262,
9932,
518,
286,
8830,
41186,
11,
644,
338,
262,
21986,
1074,
2712,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
45326,
2425,
33411,
366,
37522,
518,
1,
796,
705,
14197,
41186,
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
] | [
1890,
262,
9932,
518,
286,
8830,
41186,
11,
644,
338,
262,
21986,
1074,
2712,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
45326,
2425,
33411,
366,
37522,
518,
1,
796,
705,
14197,
41186,
6
] |
Name the number for fox news channel | SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel" | [
5376,
262,
1271,
329,
21831,
1705,
6518,
46506,
299,
7200,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
23,
33411,
5581,
62,
15271,
796,
366,
19399,
3000,
11102,
1
] | [
1,
1,
1,
1,
1,
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,
329,
21831,
1705,
6518,
46506,
299,
7200,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
23,
33411,
5581,
62,
15271,
796,
366,
19399,
3000,
11102,
1
] |
What home team played at Lake Oval? | SELECT "Home team" FROM table_32620 WHERE "Venue" = 'lake oval' | [
2061,
1363,
1074,
2826,
379,
6233,
25165,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
39195,
1238,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1363,
1074,
2826,
379,
6233,
25165,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
39195,
1238,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] |
What was the score of the game on February 8? | SELECT "Score" FROM table_60621 WHERE "Date" = 'february 8' | [
2061,
373,
262,
4776,
286,
262,
983,
319,
3945,
807,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
33206,
2481,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
807,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
319,
3945,
807,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
33206,
2481,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
807,
6
] |
From which series is the title Barbary Coast Bunny? | SELECT "Series" FROM table_63017 WHERE "Title" = 'barbary coast bunny' | [
4863,
543,
2168,
318,
262,
3670,
10593,
560,
8545,
28683,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
5066,
29326,
33411,
366,
19160,
1,
796,
705,
5657,
65,
560,
7051,
44915,
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
] | [
4863,
543,
2168,
318,
262,
3670,
10593,
560,
8545,
28683,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
5066,
29326,
33411,
366,
19160,
1,
796,
705,
5657,
65,
560,
7051,
44915,
6
] |
What college has a round greater than 1, with dylan mcfarland as the player? | SELECT college FROM table_name_95 WHERE round > 1 AND player = "dylan mcfarland" | [
2061,
4152,
468,
257,
2835,
3744,
621,
352,
11,
351,
288,
18554,
285,
12993,
283,
1044,
355,
262,
2137,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
3865,
33411,
2835,
1875,
352,
5357,
2137,
796,
366,
67,
18554,
285,
12993,
283,
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,
1
] | [
2061,
4152,
468,
257,
2835,
3744,
621,
352,
11,
351,
288,
18554,
285,
12993,
283,
1044,
355,
262,
2137,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
3865,
33411,
2835,
1875,
352,
5357,
2137,
796,
366,
67,
18554,
285,
12993,
283,
1044,
... |
how many male patients are diagnosed with portal hypertension? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.short_title = "Portal hypertension" | [
4919,
867,
4257,
3871,
389,
14641,
351,
17898,
37454,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
4257,
3871,
389,
14641,
351,
17898,
37454,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18... |
how many films have no notes ? | SELECT COUNT("film") FROM table_204_57 WHERE "notes" IS NULL | [
4919,
867,
7328,
423,
645,
4710,
5633,
46506,
327,
28270,
7203,
26240,
4943,
16034,
3084,
62,
18638,
62,
3553,
33411,
366,
17815,
1,
3180,
15697
] | [
1,
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,
7328,
423,
645,
4710,
5633,
46506,
327,
28270,
7203,
26240,
4943,
16034,
3084,
62,
18638,
62,
3553,
33411,
366,
17815,
1,
3180,
15697
] |
What is To par, when Score is '70-68-68-71=277'? | SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277 | [
2061,
318,
1675,
1582,
11,
618,
15178,
318,
705,
2154,
12,
3104,
12,
3104,
12,
4869,
28,
27019,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1507,
33411,
4776,
796,
4317,
532,
8257,
532,
8257,
532,
9166,
796,
38703
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
1582,
11,
618,
15178,
318,
705,
2154,
12,
3104,
12,
3104,
12,
4869,
28,
27019,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1507,
33411,
4776,
796,
4317,
532,
8257,
532,
8257,
532,
9166,
796,
38703
] |
Who was the opponent on the September 3 game? | SELECT opponent FROM table_name_38 WHERE date = "september 3" | [
8241,
373,
262,
6125,
319,
262,
2693,
513,
983,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
325,
457,
1491,
513,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
319,
262,
2693,
513,
983,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
325,
457,
1491,
513,
1
] |
what is the difference in attendees for maryland on february 10 , 1979 to february 11 , 1978 ? | SELECT ABS((SELECT "attendance" FROM table_204_807 WHERE "date" = 'february 10, 1979') - (SELECT "attendance" FROM table_204_807 WHERE "date" = 'february 11, 1978')) | [
10919,
318,
262,
3580,
287,
21736,
329,
285,
560,
1044,
319,
730,
65,
3728,
838,
837,
13521,
284,
730,
65,
3728,
1367,
837,
15524,
5633,
46506,
29950,
19510,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
18638,
62,
36928,
33411,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
3580,
287,
21736,
329,
285,
560,
1044,
319,
730,
65,
3728,
838,
837,
13521,
284,
730,
65,
3728,
1367,
837,
15524,
5633,
46506,
29950,
19510,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
18638,
62,
36928,
33411,
366... |
Who Asked the Most questions. | SELECT Users.DisplayName, Users.Reputation, COUNT(*) FROM Posts INNER JOIN Users ON Posts.OwnerUserId = Users.Id WHERE PostTypeId = 2 GROUP BY Users.DisplayName, Users.Reputation, OwnerUserId ORDER BY COUNT(*) DESC, Users.DisplayName, Users.Reputation LIMIT 1000 | [
8241,
26220,
262,
4042,
2683,
13,
46506,
18987,
13,
23114,
5376,
11,
18987,
13,
6207,
7094,
11,
327,
28270,
7,
28104,
16034,
12043,
3268,
21479,
32357,
1268,
18987,
6177,
12043,
13,
42419,
12982,
7390,
796,
18987,
13,
7390,
33411,
2947,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26220,
262,
4042,
2683,
13,
46506,
18987,
13,
23114,
5376,
11,
18987,
13,
6207,
7094,
11,
327,
28270,
7,
28104,
16034,
12043,
3268,
21479,
32357,
1268,
18987,
6177,
12043,
13,
42419,
12982,
7390,
796,
18987,
13,
7390,
33411,
2947,
... |
Name the least total kurdistan list | SELECT MIN(total_kurdistan_list) FROM table_24440361_1 | [
5376,
262,
1551,
2472,
479,
2799,
4103,
1351,
46506,
20625,
7,
23350,
62,
74,
2799,
4103,
62,
4868,
8,
16034,
3084,
62,
1731,
25644,
35195,
62,
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
] | [
5376,
262,
1551,
2472,
479,
2799,
4103,
1351,
46506,
20625,
7,
23350,
62,
74,
2799,
4103,
62,
4868,
8,
16034,
3084,
62,
1731,
25644,
35195,
62,
16
] |
what was the name of the drug that patient 6440 had been prescribed for two times since 58 months ago? | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6440) AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-58 month') GROUP BY prescriptions.drug... | [
10919,
373,
262,
1438,
286,
262,
2563,
326,
5827,
5598,
1821,
550,
587,
14798,
329,
734,
1661,
1201,
7618,
1933,
2084,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
2563,
326,
5827,
5598,
1821,
550,
587,
14798,
329,
734,
1661,
1201,
7618,
1933,
2084,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475... |
Name the being for having things of language, religions, work, customs, values, norms? | SELECT "Being (qualities)" FROM table_68445 WHERE "Having (things)" = 'language, religions, work, customs, values, norms' | [
5376,
262,
852,
329,
1719,
1243,
286,
3303,
11,
18879,
11,
670,
11,
17112,
11,
3815,
11,
19444,
30,
46506,
366,
18357,
357,
13255,
871,
16725,
16034,
3084,
62,
41580,
2231,
33411,
366,
14698,
357,
27971,
16725,
796,
705,
16129,
11,
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
] | [
5376,
262,
852,
329,
1719,
1243,
286,
3303,
11,
18879,
11,
670,
11,
17112,
11,
3815,
11,
19444,
30,
46506,
366,
18357,
357,
13255,
871,
16725,
16034,
3084,
62,
41580,
2231,
33411,
366,
14698,
357,
27971,
16725,
796,
705,
16129,
11,
18... |
In what district was incumbent Russ Carnahan elected after 2000? | SELECT district FROM table_name_99 WHERE first_elected > 2000 AND incumbent = "russ carnahan" | [
818,
644,
4783,
373,
23526,
1887,
19659,
19210,
7018,
706,
4751,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
2079,
33411,
717,
62,
28604,
1875,
4751,
5357,
23526,
796,
366,
81,
1046,
18466,
19210,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
4783,
373,
23526,
1887,
19659,
19210,
7018,
706,
4751,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
2079,
33411,
717,
62,
28604,
1875,
4751,
5357,
23526,
796,
366,
81,
1046,
18466,
19210,
1
] |
give me short title of diagnoses for diagnoses icd9 code 45981. | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "45981" | [
26535,
502,
1790,
3670,
286,
40567,
329,
40567,
14158,
67,
24,
2438,
604,
3270,
6659,
13,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
2231,
4089,
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
] | [
26535,
502,
1790,
3670,
286,
40567,
329,
40567,
14158,
67,
24,
2438,
604,
3270,
6659,
13,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
2231,
4089,
16,
1
] |
when did patient 23929 receive a lab test in 08/last year last time? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23929) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', labevents.charttime) = '08' ORDER BY labevents... | [
12518,
750,
5827,
32817,
1959,
3328,
257,
2248,
1332,
287,
8487,
14,
12957,
614,
938,
640,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32817,
1959,
3328,
257,
2248,
1332,
287,
8487,
14,
12957,
614,
938,
640,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
... |
Count the number of female Professors we have. | SELECT COUNT(*) FROM faculty WHERE sex = 'F' AND rank = "Professor" | [
12332,
262,
1271,
286,
4048,
4415,
23295,
356,
423,
13,
46506,
327,
28270,
7,
28104,
16034,
12829,
33411,
1714,
796,
705,
37,
6,
5357,
4279,
796,
366,
25031,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
4048,
4415,
23295,
356,
423,
13,
46506,
327,
28270,
7,
28104,
16034,
12829,
33411,
1714,
796,
705,
37,
6,
5357,
4279,
796,
366,
25031,
1
] |
Who was the trainer when the jockey was Luke Nolen? | SELECT trainer FROM table_24915874_1 WHERE jockey = "Luke Nolen" | [
8241,
373,
262,
21997,
618,
262,
474,
8337,
373,
11336,
399,
8622,
30,
46506,
21997,
16034,
3084,
62,
21626,
21273,
4524,
62,
16,
33411,
474,
8337,
796,
366,
30730,
399,
8622,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
21997,
618,
262,
474,
8337,
373,
11336,
399,
8622,
30,
46506,
21997,
16034,
3084,
62,
21626,
21273,
4524,
62,
16,
33411,
474,
8337,
796,
366,
30730,
399,
8622,
1
] |
Which 2010 Tournament has a 2001 of grand slam tournaments? | SELECT 2010 FROM table_name_36 WHERE 2001 = "grand slam tournaments" | [
13828,
3050,
9595,
468,
257,
5878,
286,
4490,
21158,
18130,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
2623,
33411,
5878,
796,
366,
23936,
21158,
18130,
1
] | [
1,
1,
1,
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,
3050,
9595,
468,
257,
5878,
286,
4490,
21158,
18130,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
2623,
33411,
5878,
796,
366,
23936,
21158,
18130,
1
] |
how long was the last of patient 82159's stay in the hospital? | SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 82159 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1 | [
4919,
890,
373,
262,
938,
286,
5827,
9415,
19707,
338,
2652,
287,
262,
4436,
30,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
6381,
354,
2435,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
324,
20124,
524,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
373,
262,
938,
286,
5827,
9415,
19707,
338,
2652,
287,
262,
4436,
30,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
6381,
354,
2435,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
324,
20124,
524,
... |
What to par has tom kite as the player? | SELECT to_par FROM table_name_92 WHERE player = "tom kite" | [
2061,
284,
1582,
468,
16667,
479,
578,
355,
262,
2137,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
5892,
33411,
2137,
796,
366,
39532,
479,
578,
1
] | [
1,
1,
1,
1,
1,
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,
284,
1582,
468,
16667,
479,
578,
355,
262,
2137,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
5892,
33411,
2137,
796,
366,
39532,
479,
578,
1
] |
What is the scientific pitch when the Helmholtz pitch is D? | SELECT "Scientific pitch" FROM table_77931 WHERE "Helmholtz pitch" = 'd' | [
2061,
318,
262,
5654,
7078,
618,
262,
28351,
3937,
22877,
7078,
318,
360,
30,
46506,
366,
23010,
811,
7078,
1,
16034,
3084,
62,
40393,
3132,
33411,
366,
12621,
76,
3937,
22877,
7078,
1,
796,
705,
67,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5654,
7078,
618,
262,
28351,
3937,
22877,
7078,
318,
360,
30,
46506,
366,
23010,
811,
7078,
1,
16034,
3084,
62,
40393,
3132,
33411,
366,
12621,
76,
3937,
22877,
7078,
1,
796,
705,
67,
6
] |
How many times was the incumbent mike capuano | SELECT COUNT("Result") FROM table_18097 WHERE "Incumbent" = 'Mike Capuano' | [
2437,
867,
1661,
373,
262,
23526,
285,
522,
1451,
84,
5733,
46506,
327,
28270,
7203,
23004,
4943,
16034,
3084,
62,
1507,
2931,
22,
33411,
366,
25517,
2178,
298,
1,
796,
705,
16073,
4476,
84,
5733,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
373,
262,
23526,
285,
522,
1451,
84,
5733,
46506,
327,
28270,
7203,
23004,
4943,
16034,
3084,
62,
1507,
2931,
22,
33411,
366,
25517,
2178,
298,
1,
796,
705,
16073,
4476,
84,
5733,
6
] |
Which region is Coach Trevor Gleeson in? | SELECT region FROM table_name_5 WHERE coach = "trevor gleeson" | [
13828,
3814,
318,
16393,
25389,
25680,
42038,
287,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
20,
33411,
3985,
796,
366,
83,
18218,
273,
26852,
42038,
1
] | [
1,
1,
1,
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,
3814,
318,
16393,
25389,
25680,
42038,
287,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
20,
33411,
3985,
796,
366,
83,
18218,
273,
26852,
42038,
1
] |
Users with reputation > 10000 and < 50 answers. | SELECT Users.Id AS "user_link", Users.DisplayName, Users.Reputation, SUM(CASE WHEN Posts.PostTypeId = 1 THEN 1 ELSE 0 END) AS Questions, SUM(CASE WHEN Posts.PostTypeId = 2 THEN 1 ELSE 0 END) AS Answers, Users.UpVotes, Users.DownVotes FROM Users INNER JOIN Posts ON Users.Id = Posts.OwnerUserId AND (Posts.PostTypeId = 1 ... | [
14490,
351,
8507,
1875,
33028,
290,
1279,
2026,
7429,
13,
46506,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
18987,
13,
23114,
5376,
11,
18987,
13,
6207,
7094,
11,
35683,
7,
34,
11159,
42099,
12043,
13,
6307,
6030,
7390,
796,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
351,
8507,
1875,
33028,
290,
1279,
2026,
7429,
13,
46506,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
18987,
13,
23114,
5376,
11,
18987,
13,
6207,
7094,
11,
35683,
7,
34,
11159,
42099,
12043,
13,
6307,
6030,
7390,
796,
35... |
If time is 2:13 and attendance is less than 56,335, what is the largest game number? | SELECT MAX("Game") FROM table_14720 WHERE "Attendance" < '56,335' AND "Time" = '2:13' | [
1532,
640,
318,
362,
25,
1485,
290,
14858,
318,
1342,
621,
7265,
11,
27326,
11,
644,
318,
262,
4387,
983,
1271,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
20198,
1238,
33411,
366,
8086,
437,
590,
1,
1279,
705,
3980,
11,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
640,
318,
362,
25,
1485,
290,
14858,
318,
1342,
621,
7265,
11,
27326,
11,
644,
318,
262,
4387,
983,
1271,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
20198,
1238,
33411,
366,
8086,
437,
590,
1,
1279,
705,
3980,
11,
27... |
provide the number of patients whose death status is 0 and primary disease is aortic insufficiency\re-do sternotomy; aortic valve replacement ? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
4165,
4369,
318,
257,
419,
291,
1035,
1648,
19777,
59,
260,
12,
4598,
26370,
38385,
26,
257,
419,
291,
22580,
9014,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
4165,
4369,
318,
257,
419,
291,
1035,
1648,
19777,
59,
260,
12,
4598,
26370,
38385,
26,
257,
419,
291,
22580,
9014,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
... |
Who was the semifinalist at the tournament in miami? | SELECT semifinalists FROM table_name_21 WHERE tournament = "miami" | [
8241,
373,
262,
32948,
1292,
396,
379,
262,
7756,
287,
285,
7871,
30,
46506,
32948,
1292,
1023,
16034,
3084,
62,
3672,
62,
2481,
33411,
7756,
796,
366,
76,
7871,
1
] | [
1,
1,
1,
1,
1,
1,
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,
32948,
1292,
396,
379,
262,
7756,
287,
285,
7871,
30,
46506,
32948,
1292,
1023,
16034,
3084,
62,
3672,
62,
2481,
33411,
7756,
796,
366,
76,
7871,
1
] |
Who was the Long Beach constructor? | SELECT constructor FROM table_name_24 WHERE location = "long beach" | [
8241,
373,
262,
5882,
8511,
23772,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
1731,
33411,
4067,
796,
366,
6511,
10481,
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,
5882,
8511,
23772,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
1731,
33411,
4067,
796,
366,
6511,
10481,
1
] |
what drug was prescribed to patient 005-77687 within the same day after having undergone the oral diuretic - metolazone (zaroxolyn) in a month before? | SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687') AND treatment.treatme... | [
10919,
2563,
373,
14798,
284,
5827,
3571,
20,
12,
3324,
39925,
1626,
262,
976,
1110,
706,
1719,
29900,
262,
12886,
2566,
495,
13370,
532,
1138,
349,
1031,
505,
357,
41046,
1140,
34742,
8,
287,
257,
1227,
878,
30,
46506,
256,
17,
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,
2563,
373,
14798,
284,
5827,
3571,
20,
12,
3324,
39925,
1626,
262,
976,
1110,
706,
1719,
29900,
262,
12886,
2566,
495,
13370,
532,
1138,
349,
1031,
505,
357,
41046,
1140,
34742,
8,
287,
257,
1227,
878,
30,
46506,
256,
17,
13,
... |
Users with the highest rep to total posts ratio (within a specific tag). | SELECT u.Id, u.DisplayName, u.Reputation, n.NumPosts AS "total_number_of_posts", CAST(u.Reputation AS FLOAT) / n.NumPosts AS Ratio FROM Users AS u INNER JOIN (SELECT p.OwnerUserId, COUNT(*) AS NumPosts FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE p.PostType... | [
14490,
351,
262,
4511,
1128,
284,
2472,
6851,
8064,
357,
33479,
257,
2176,
7621,
737,
46506,
334,
13,
7390,
11,
334,
13,
23114,
5376,
11,
334,
13,
6207,
7094,
11,
299,
13,
33111,
21496,
7054,
366,
23350,
62,
17618,
62,
1659,
62,
248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
262,
4511,
1128,
284,
2472,
6851,
8064,
357,
33479,
257,
2176,
7621,
737,
46506,
334,
13,
7390,
11,
334,
13,
23114,
5376,
11,
334,
13,
6207,
7094,
11,
299,
13,
33111,
21496,
7054,
366,
23350,
62,
17618,
62,
1659,
62,
248... |
Which Parish (Prestegjeld) was built in 1907? | SELECT "Parish (Prestegjeld)" FROM table_62469 WHERE "Year Built" = '1907' | [
13828,
35240,
357,
47,
2118,
1533,
18015,
335,
8,
373,
3170,
287,
41435,
30,
46506,
366,
10044,
680,
357,
47,
2118,
1533,
18015,
335,
16725,
16034,
3084,
62,
21,
1731,
3388,
33411,
366,
17688,
28477,
1,
796,
705,
1129,
2998,
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
] | [
13828,
35240,
357,
47,
2118,
1533,
18015,
335,
8,
373,
3170,
287,
41435,
30,
46506,
366,
10044,
680,
357,
47,
2118,
1533,
18015,
335,
16725,
16034,
3084,
62,
21,
1731,
3388,
33411,
366,
17688,
28477,
1,
796,
705,
1129,
2998,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find hire_date and the sum of department_id bin hire_date by time, and visualize them by a bar chart. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
447... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
447... |
what is the attendance on october 19, 2003? | SELECT attendance FROM table_name_36 WHERE date = "october 19, 2003" | [
10919,
318,
262,
14858,
319,
19318,
2023,
678,
11,
5816,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
38441,
2023,
678,
11,
5816,
1
] | [
1,
1,
1,
1,
1,
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,
14858,
319,
19318,
2023,
678,
11,
5816,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
38441,
2023,
678,
11,
5816,
1
] |
What is the grid value which has Time/Retired value of accident? | SELECT "Grid" FROM table_56786 WHERE "Time/Retired" = 'accident' | [
2061,
318,
262,
10706,
1988,
543,
468,
3862,
14,
9781,
1202,
1988,
286,
5778,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
20,
3134,
4521,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
4134,
738,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
10706,
1988,
543,
468,
3862,
14,
9781,
1202,
1988,
286,
5778,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
20,
3134,
4521,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
4134,
738,
6
] |
How many draws for avia band with over 22 points? | SELECT COUNT(draw) FROM table_name_87 WHERE points > 22 AND artist = "avia band" | [
2437,
867,
14293,
329,
1196,
544,
4097,
351,
625,
2534,
2173,
30,
46506,
327,
28270,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
2173,
1875,
2534,
5357,
6802,
796,
366,
40543,
4097,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14293,
329,
1196,
544,
4097,
351,
625,
2534,
2173,
30,
46506,
327,
28270,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
2173,
1875,
2534,
5357,
6802,
796,
366,
40543,
4097,
1
] |
For each policy type, return its type code and its count in the record Visualize by bar chart, and could you order y-axis in desc order? | SELECT Policy_Type_Code, COUNT(*) FROM Policies GROUP BY Policy_Type_Code ORDER BY COUNT(*) DESC | [
1890,
1123,
2450,
2099,
11,
1441,
663,
2099,
2438,
290,
663,
954,
287,
262,
1700,
15612,
1096,
416,
2318,
8262,
11,
290,
714,
345,
1502,
331,
12,
22704,
287,
1715,
1502,
30,
46506,
7820,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
1123,
2450,
2099,
11,
1441,
663,
2099,
2438,
290,
663,
954,
287,
262,
1700,
15612,
1096,
416,
2318,
8262,
11,
290,
714,
345,
1502,
331,
12,
22704,
287,
1715,
1502,
30,
46506,
7820,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104... |
What is the name, location and seating for the most recently opened track? | SELECT name, LOCATION, seating FROM track ORDER BY year_opened DESC LIMIT 1 | [
2061,
318,
262,
1438,
11,
4067,
290,
24800,
329,
262,
749,
2904,
4721,
2610,
30,
46506,
1438,
11,
37347,
6234,
11,
24800,
16034,
2610,
38678,
11050,
614,
62,
26350,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
11,
4067,
290,
24800,
329,
262,
749,
2904,
4721,
2610,
30,
46506,
1438,
11,
37347,
6234,
11,
24800,
16034,
2610,
38678,
11050,
614,
62,
26350,
22196,
34,
27564,
2043,
352
] |
In the Fall and Winter terms , how many 200 -level classes are being offered ? | SELECT COUNT(DISTINCT course.course_id, semester.semester) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'department0' AND course.number BETWEEN 200 AND 200 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_id = course_offering.semester... | [
818,
262,
7218,
290,
10633,
2846,
837,
703,
867,
939,
532,
5715,
6097,
389,
852,
4438,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
13,
17319,
62,
312,
11,
24878,
13,
325,
6880,
353,
8,
16034,
1781,
11,
1781,
62,
2364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
262,
7218,
290,
10633,
2846,
837,
703,
867,
939,
532,
5715,
6097,
389,
852,
4438,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
13,
17319,
62,
312,
11,
24878,
13,
325,
6880,
353,
8,
16034,
1781,
11,
1781,
62,
2364,
... |
What is the number of starts for the player who lost fewer than 22 and has more than 4 tries? | SELECT AVG(start) FROM table_name_11 WHERE lost < 22 AND tries > 4 | [
2061,
318,
262,
1271,
286,
4940,
329,
262,
2137,
508,
2626,
7380,
621,
2534,
290,
468,
517,
621,
604,
8404,
30,
46506,
35224,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
2626,
1279,
2534,
5357,
8404,
1875,
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,
318,
262,
1271,
286,
4940,
329,
262,
2137,
508,
2626,
7380,
621,
2534,
290,
468,
517,
621,
604,
8404,
30,
46506,
35224,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
2626,
1279,
2534,
5357,
8404,
1875,
604
] |
What rank has a population of 4839400? | SELECT MIN(rank) FROM table_name_87 WHERE population = "4839400" | [
2061,
4279,
468,
257,
3265,
286,
4764,
2670,
7029,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
3265,
796,
366,
2780,
2670,
7029,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4279,
468,
257,
3265,
286,
4764,
2670,
7029,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
3265,
796,
366,
2780,
2670,
7029,
1
] |
What was the circuit for Team Peter Jackson Racing in the ATCC Round 4 series? | SELECT circuit FROM table_name_64 WHERE team = "peter jackson racing" AND series = "atcc round 4" | [
2061,
373,
262,
10349,
329,
4816,
5613,
6612,
14954,
287,
262,
5161,
4093,
10485,
604,
2168,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
2414,
33411,
1074,
796,
366,
79,
2357,
14509,
1559,
11717,
1,
5357,
2168,
796,
366,
265,
535,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10349,
329,
4816,
5613,
6612,
14954,
287,
262,
5161,
4093,
10485,
604,
2168,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
2414,
33411,
1074,
796,
366,
79,
2357,
14509,
1559,
11717,
1,
5357,
2168,
796,
366,
265,
535,
28... |
Bar chart of sum crs credit from each dept code, rank in ascending by the y-axis please. | SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY SUM(CRS_CREDIT) | [
10374,
8262,
286,
2160,
1067,
82,
3884,
422,
1123,
390,
457,
2438,
11,
4279,
287,
41988,
416,
262,
331,
12,
22704,
3387,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
34,
6998,
62,
9419,
24706,
8,
16034,
37384,
5188,
44441,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
1067,
82,
3884,
422,
1123,
390,
457,
2438,
11,
4279,
287,
41988,
416,
262,
331,
12,
22704,
3387,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
34,
6998,
62,
9419,
24706,
8,
16034,
37384,
5188,
44441,
1... |
Find the last names of students studying in room 111. | SELECT lastname FROM list WHERE classroom = 111 | [
16742,
262,
938,
3891,
286,
2444,
11065,
287,
2119,
13374,
13,
46506,
938,
3672,
16034,
1351,
33411,
15806,
796,
13374
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
938,
3891,
286,
2444,
11065,
287,
2119,
13374,
13,
46506,
938,
3672,
16034,
1351,
33411,
15806,
796,
13374
] |
Which province has a gdp of 38355 million euros? | SELECT "Province" FROM table_16240 WHERE "GDP (2003, PPS in mil. \u20ac )" = '38355' | [
13828,
8473,
468,
257,
308,
26059,
286,
4353,
28567,
1510,
21138,
30,
46506,
366,
15946,
924,
1,
16034,
3084,
62,
1433,
16102,
33411,
366,
38,
6322,
357,
16088,
11,
350,
3705,
287,
1465,
13,
3467,
84,
1238,
330,
1267,
1,
796,
705,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
8473,
468,
257,
308,
26059,
286,
4353,
28567,
1510,
21138,
30,
46506,
366,
15946,
924,
1,
16034,
3084,
62,
1433,
16102,
33411,
366,
38,
6322,
357,
16088,
11,
350,
3705,
287,
1465,
13,
3467,
84,
1238,
330,
1267,
1,
796,
705,
2... |
What is the highest pick of the houston oilers NFL club, which has a round greater than 10? | SELECT MAX("Pick") FROM table_47272 WHERE "NFL Club" = 'houston oilers' AND "Round" > '10' | [
2061,
318,
262,
4511,
2298,
286,
262,
289,
6526,
3056,
364,
5134,
3430,
11,
543,
468,
257,
2835,
3744,
621,
838,
30,
46506,
25882,
7203,
31686,
4943,
16034,
3084,
62,
2857,
29807,
33411,
366,
32078,
6289,
1,
796,
705,
71,
6526,
3056,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2298,
286,
262,
289,
6526,
3056,
364,
5134,
3430,
11,
543,
468,
257,
2835,
3744,
621,
838,
30,
46506,
25882,
7203,
31686,
4943,
16034,
3084,
62,
2857,
29807,
33411,
366,
32078,
6289,
1,
796,
705,
71,
6526,
3056,
... |
Which season did Ida Corr win? | SELECT "Season" FROM table_72776 WHERE "Winning mentor" = 'Ida Corr' | [
13828,
1622,
750,
5121,
64,
2744,
81,
1592,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
47760,
4304,
33411,
366,
16643,
768,
22387,
1,
796,
705,
40,
6814,
2744,
81,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1622,
750,
5121,
64,
2744,
81,
1592,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
47760,
4304,
33411,
366,
16643,
768,
22387,
1,
796,
705,
40,
6814,
2744,
81,
6
] |
Which Rider has less than 18 laps, and a Grid of 24? | SELECT rider FROM table_name_73 WHERE laps < 18 AND grid = 24 | [
13828,
16414,
468,
1342,
621,
1248,
24590,
11,
290,
257,
24846,
286,
1987,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
4790,
33411,
24590,
1279,
1248,
5357,
10706,
796,
1987
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
16414,
468,
1342,
621,
1248,
24590,
11,
290,
257,
24846,
286,
1987,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
4790,
33411,
24590,
1279,
1248,
5357,
10706,
796,
1987
] |
What is Home, when Score is 103-93? | SELECT "Home" FROM table_39820 WHERE "Score" = '103-93' | [
2061,
318,
5995,
11,
618,
15178,
318,
15349,
12,
6052,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
31952,
1238,
33411,
366,
26595,
1,
796,
705,
15197,
12,
6052,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5995,
11,
618,
15178,
318,
15349,
12,
6052,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
31952,
1238,
33411,
366,
26595,
1,
796,
705,
15197,
12,
6052,
6
] |
How many seasons have an Actual adjusted record of 0 19? | SELECT COUNT("Season") FROM table_33482 WHERE "Actual adjusted record" = '0–19' | [
2437,
867,
7028,
423,
281,
33520,
12328,
1700,
286,
657,
678,
30,
46506,
327,
28270,
7203,
18960,
4943,
16034,
3084,
62,
2091,
40149,
33411,
366,
6398,
723,
12328,
1700,
1,
796,
705,
15,
1906,
1129,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7028,
423,
281,
33520,
12328,
1700,
286,
657,
678,
30,
46506,
327,
28270,
7203,
18960,
4943,
16034,
3084,
62,
2091,
40149,
33411,
366,
6398,
723,
12328,
1700,
1,
796,
705,
15,
1906,
1129,
6
] |
Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class? | SELECT class FROM table_name_69 WHERE frequency_mhz < 95.3 AND call_sign = "k234ag" | [
37,
28707,
19805,
4833,
621,
6957,
13,
18,
11,
290,
257,
4889,
1051,
286,
479,
24409,
363,
318,
644,
1398,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
3388,
33411,
8373,
62,
76,
32179,
1279,
6957,
13,
18,
5357,
869,
62,
12683,
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
] | [
37,
28707,
19805,
4833,
621,
6957,
13,
18,
11,
290,
257,
4889,
1051,
286,
479,
24409,
363,
318,
644,
1398,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
3388,
33411,
8373,
62,
76,
32179,
1279,
6957,
13,
18,
5357,
869,
62,
12683,
796,
... |
Which county has a median household income of $98,090? | SELECT "County" FROM table_72553 WHERE "Median House- hold Income" = '$98,090' | [
13828,
7968,
468,
257,
14288,
6641,
3739,
286,
720,
4089,
11,
42534,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
45151,
4310,
33411,
366,
9921,
666,
2097,
12,
1745,
19003,
1,
796,
705,
3,
4089,
11,
42534,
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
] | [
13828,
7968,
468,
257,
14288,
6641,
3739,
286,
720,
4089,
11,
42534,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
45151,
4310,
33411,
366,
9921,
666,
2097,
12,
1745,
19003,
1,
796,
705,
3,
4089,
11,
42534,
6
] |
Which friend of Zach has the longest-lasting friendship? | SELECT friend FROM personfriend WHERE name = 'Zach' AND year = (SELECT MAX(year) FROM personfriend WHERE name = 'Zach') | [
13828,
1545,
286,
18825,
468,
262,
14069,
12,
24810,
14738,
30,
46506,
1545,
16034,
1048,
6726,
33411,
1438,
796,
705,
57,
620,
6,
5357,
614,
796,
357,
46506,
25882,
7,
1941,
8,
16034,
1048,
6726,
33411,
1438,
796,
705,
57,
620,
11537... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1545,
286,
18825,
468,
262,
14069,
12,
24810,
14738,
30,
46506,
1545,
16034,
1048,
6726,
33411,
1438,
796,
705,
57,
620,
6,
5357,
614,
796,
357,
46506,
25882,
7,
1941,
8,
16034,
1048,
6726,
33411,
1438,
796,
705,
57,
620,
11537... |
Name the example when the realization is [ ] | SELECT example FROM table_name_36 WHERE realization = "[ɐ]" | [
5376,
262,
1672,
618,
262,
23258,
318,
685,
2361,
46506,
1672,
16034,
3084,
62,
3672,
62,
2623,
33411,
23258,
796,
12878,
133,
238,
30866
] | [
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,
1672,
618,
262,
23258,
318,
685,
2361,
46506,
1672,
16034,
3084,
62,
3672,
62,
2623,
33411,
23258,
796,
12878,
133,
238,
30866
] |
What is the percentage seats contested for the revolutionary socialist party? | SELECT _percentage_in_seats_contested FROM table_20728138_1 WHERE party = "Revolutionary Socialist party" | [
2061,
318,
262,
5873,
8632,
24163,
329,
262,
12253,
15889,
2151,
30,
46506,
4808,
25067,
496,
62,
259,
62,
325,
1381,
62,
3642,
7287,
16034,
3084,
62,
22745,
2078,
20107,
62,
16,
33411,
2151,
796,
366,
50237,
560,
21773,
2151,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5873,
8632,
24163,
329,
262,
12253,
15889,
2151,
30,
46506,
4808,
25067,
496,
62,
259,
62,
325,
1381,
62,
3642,
7287,
16034,
3084,
62,
22745,
2078,
20107,
62,
16,
33411,
2151,
796,
366,
50237,
560,
21773,
2151,
1
] |
count the number of patients who since 4 years ago have been prescribed simvastatin 40 mg po tabs. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'simvastatin 40 mg po tabs' AND DATETIME(medication.drugstarttime) >= DATETIME(CURRENT_TIME(), '-4 year')) | [
9127,
262,
1271,
286,
3871,
508,
1201,
604,
812,
2084,
423,
587,
14798,
985,
85,
459,
10680,
2319,
10527,
745,
22524,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
1201,
604,
812,
2084,
423,
587,
14798,
985,
85,
459,
10680,
2319,
10527,
745,
22524,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26... |
What is every entry for 1980-81 when 1983-84 is Caryn McKinney? | SELECT "1980-81" FROM table_25166 WHERE "1983-84" = 'Caryn McKinney' | [
2061,
318,
790,
5726,
329,
7169,
12,
6659,
618,
13540,
12,
5705,
318,
327,
38621,
31946,
1681,
30,
46506,
366,
23664,
12,
6659,
1,
16034,
3084,
62,
1495,
23055,
33411,
366,
29279,
12,
5705,
1,
796,
705,
34,
38621,
31946,
1681,
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,
790,
5726,
329,
7169,
12,
6659,
618,
13540,
12,
5705,
318,
327,
38621,
31946,
1681,
30,
46506,
366,
23664,
12,
6659,
1,
16034,
3084,
62,
1495,
23055,
33411,
366,
29279,
12,
5705,
1,
796,
705,
34,
38621,
31946,
1681,
6
] |
Which school is located in the hometown of Centerville, Ohio? | SELECT school FROM table_11677691_9 WHERE hometown = "Centerville, Ohio" | [
13828,
1524,
318,
5140,
287,
262,
20994,
286,
1979,
33487,
11,
6835,
30,
46506,
1524,
16034,
3084,
62,
1157,
40179,
49541,
62,
24,
33411,
20994,
796,
366,
19085,
33487,
11,
6835,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
318,
5140,
287,
262,
20994,
286,
1979,
33487,
11,
6835,
30,
46506,
1524,
16034,
3084,
62,
1157,
40179,
49541,
62,
24,
33411,
20994,
796,
366,
19085,
33487,
11,
6835,
1
] |
Which School has a National Championships of 2, and a City of orlando? | SELECT "School" FROM table_68402 WHERE "National Championships" = '2' AND "City" = 'orlando' | [
13828,
3961,
468,
257,
2351,
24782,
286,
362,
11,
290,
257,
2254,
286,
393,
11993,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
3104,
32531,
33411,
366,
16186,
24782,
1,
796,
705,
17,
6,
5357,
366,
14941,
1,
796,
705,
273,
11993,
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,
3961,
468,
257,
2351,
24782,
286,
362,
11,
290,
257,
2254,
286,
393,
11993,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
3104,
32531,
33411,
366,
16186,
24782,
1,
796,
705,
17,
6,
5357,
366,
14941,
1,
796,
705,
273,
11993,
6
] |
greater than 18 years old | SELECT * FROM table_train_33 WHERE age > 18 | [
18223,
263,
621,
1248,
812,
1468,
46506,
1635,
16034,
3084,
62,
27432,
62,
2091,
33411,
2479,
1875,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18223,
263,
621,
1248,
812,
1468,
46506,
1635,
16034,
3084,
62,
27432,
62,
2091,
33411,
2479,
1875,
1248
] |
What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'? | SELECT DISTINCT T1.service_type_code FROM services AS T1 JOIN organizations AS T2 ON T1.organization_id = T2.organization_id WHERE T2.organization_details = 'Denesik and Sons Party' | [
2061,
318,
262,
7310,
2139,
3858,
326,
389,
2810,
416,
262,
4009,
543,
468,
3703,
705,
35,
18719,
1134,
290,
27989,
3615,
30960,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
15271,
62,
4906,
62,
8189,
16034,
2594,
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... | [
2061,
318,
262,
7310,
2139,
3858,
326,
389,
2810,
416,
262,
4009,
543,
468,
3703,
705,
35,
18719,
1134,
290,
27989,
3615,
30960,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
15271,
62,
4906,
62,
8189,
16034,
2594,
7054,
309,
16,
32357,
... |
show me the round trip tickets from BALTIMORE to DALLAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare_id =... | [
12860,
502,
262,
2835,
5296,
8587,
422,
347,
31429,
3955,
6965,
284,
360,
7036,
1921,
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,
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... | [
12860,
502,
262,
2835,
5296,
8587,
422,
347,
31429,
3955,
6965,
284,
360,
7036,
1921,
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,
7... |
For those employees who was hired before 2002-06-21, visualize the relationship between commission_pct and department_id . | SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
38350,
262,
2776,
1022,
5810,
62,
79,
310,
290,
5011,
62,
312,
764,
46506,
22240,
40373,
62,
47,
4177,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
33411,
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
] | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
38350,
262,
2776,
1022,
5810,
62,
79,
310,
290,
5011,
62,
312,
764,
46506,
22240,
40373,
62,
47,
4177,
11,
5550,
30709,
10979,
62,
2389,
16034,
4409,
33411,
36210,
... |
What is T3 Place Player Bobby Locke's Score? | SELECT score FROM table_name_40 WHERE place = "t3" AND player = "bobby locke" | [
2061,
318,
309,
18,
8474,
7853,
17155,
34576,
338,
15178,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1821,
33411,
1295,
796,
366,
83,
18,
1,
5357,
2137,
796,
366,
65,
11369,
1179,
365,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
309,
18,
8474,
7853,
17155,
34576,
338,
15178,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1821,
33411,
1295,
796,
366,
83,
18,
1,
5357,
2137,
796,
366,
65,
11369,
1179,
365,
1
] |
How many railroads have the numbers 864-873? | SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873" | [
2437,
867,
6787,
21372,
423,
262,
3146,
807,
2414,
12,
23,
4790,
30,
46506,
327,
28270,
7,
30224,
6344,
8,
16034,
3084,
62,
22370,
1129,
4309,
62,
16,
33411,
3146,
796,
366,
39570,
12,
23,
4790,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6787,
21372,
423,
262,
3146,
807,
2414,
12,
23,
4790,
30,
46506,
327,
28270,
7,
30224,
6344,
8,
16034,
3084,
62,
22370,
1129,
4309,
62,
16,
33411,
3146,
796,
366,
39570,
12,
23,
4790,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.