instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
how many times is antiarrhythmics - class iii antiarrhythmic ordered the previous year? | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'antiarrhythmics - class iii antiarrhythmic' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
4919,
867,
1661,
318,
3098,
3258,
71,
34853,
873,
532,
1398,
46955,
3098,
3258,
71,
5272,
9383,
6149,
262,
2180,
614,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
17096,
3258,
71,
34853,
873,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1661,
318,
3098,
3258,
71,
34853,
873,
532,
1398,
46955,
3098,
3258,
71,
5272,
9383,
6149,
262,
2180,
614,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
17096,
3258,
71,
34853,
873,
5... |
What was the final score with Guillermo Vilas as the opponent in the final, that happened after 1972? | SELECT "Score in the final" FROM table_76015 WHERE "Opponent in the final" = 'guillermo vilas' AND "Date" > '1972' | [
2061,
373,
262,
2457,
4776,
351,
1962,
4665,
5908,
34037,
292,
355,
262,
6125,
287,
262,
2457,
11,
326,
3022,
706,
16101,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
4304,
25150,
33411,
366,
27524,
3471,
287,
262,
2457,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2457,
4776,
351,
1962,
4665,
5908,
34037,
292,
355,
262,
6125,
287,
262,
2457,
11,
326,
3022,
706,
16101,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
4304,
25150,
33411,
366,
27524,
3471,
287,
262,
2457,... |
Which Album had a year less than 2005 with a Label by Ministry of Sound? | SELECT "Album" FROM table_31985 WHERE "Year" < '2005' AND "Label" = 'ministry of sound' | [
13828,
23999,
550,
257,
614,
1342,
621,
5075,
351,
257,
36052,
416,
9475,
286,
9506,
30,
46506,
366,
2348,
4435,
1,
16034,
3084,
62,
18,
29110,
33411,
366,
17688,
1,
1279,
705,
14315,
6,
5357,
366,
33986,
1,
796,
705,
2201,
563,
286... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23999,
550,
257,
614,
1342,
621,
5075,
351,
257,
36052,
416,
9475,
286,
9506,
30,
46506,
366,
2348,
4435,
1,
16034,
3084,
62,
18,
29110,
33411,
366,
17688,
1,
1279,
705,
14315,
6,
5357,
366,
33986,
1,
796,
705,
2201,
563,
286... |
WHAT IS THE 2011 WITH 2007 AT A AND2 008 AT 3R? | SELECT "2011" FROM table_61653 WHERE "2007" = 'a' AND "2008" = '3r' | [
32971,
3180,
3336,
2813,
13315,
4343,
5161,
317,
5357,
17,
3571,
23,
5161,
513,
49,
30,
46506,
366,
9804,
1,
16034,
3084,
62,
44214,
4310,
33411,
366,
12726,
1,
796,
705,
64,
6,
5357,
366,
11528,
1,
796,
705,
18,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
2813,
13315,
4343,
5161,
317,
5357,
17,
3571,
23,
5161,
513,
49,
30,
46506,
366,
9804,
1,
16034,
3084,
62,
44214,
4310,
33411,
366,
12726,
1,
796,
705,
64,
6,
5357,
366,
11528,
1,
796,
705,
18,
81,
6
] |
what is days of hospital stay and admission time of subject id 4333? | SELECT demographic.days_stay, demographic.admittime FROM demographic WHERE demographic.subject_id = "4333" | [
10919,
318,
1528,
286,
4436,
2652,
290,
13938,
640,
286,
2426,
4686,
604,
20370,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
19,
20370,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
286,
4436,
2652,
290,
13938,
640,
286,
2426,
4686,
604,
20370,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
19,
20370,
1
] |
what is the first region on the chart | SELECT "region" FROM table_204_321 WHERE id = 1 | [
10919,
318,
262,
717,
3814,
319,
262,
8262,
46506,
366,
36996,
1,
16034,
3084,
62,
18638,
62,
36453,
33411,
4686,
796,
352
] | [
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,
717,
3814,
319,
262,
8262,
46506,
366,
36996,
1,
16034,
3084,
62,
18638,
62,
36453,
33411,
4686,
796,
352
] |
Show the number of courses for each course description in a bar chart, sort in descending by the how many crs description. | SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE GROUP BY CRS_DESCRIPTION ORDER BY COUNT(CRS_DESCRIPTION) DESC | [
15307,
262,
1271,
286,
10902,
329,
1123,
1781,
6764,
287,
257,
2318,
8262,
11,
3297,
287,
31491,
416,
262,
703,
867,
1067,
82,
6764,
13,
46506,
327,
6998,
62,
30910,
40165,
11,
327,
28270,
7,
34,
6998,
62,
30910,
40165,
8,
16034,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
10902,
329,
1123,
1781,
6764,
287,
257,
2318,
8262,
11,
3297,
287,
31491,
416,
262,
703,
867,
1067,
82,
6764,
13,
46506,
327,
6998,
62,
30910,
40165,
11,
327,
28270,
7,
34,
6998,
62,
30910,
40165,
8,
16034,
42... |
Questions neither closed nor deleted indicating embedded application. | SELECT COUNT(q.Id) AS "count" FROM Posts AS q LEFT JOIN PostTags AS j ON j.PostId = q.Id INNER JOIN Tags AS t ON j.TagId = t.Id WHERE q.PostTypeId = 1 AND q.ClosedDate IS NULL AND q.DeletionDate IS NULL AND (q.Body LIKE '% embedded %' OR q.Body LIKE '% robot%' OR q.Body LIKE '%real time%' OR q.Title LIKE '% embedded %'... | [
35741,
6159,
4838,
4249,
13140,
12739,
14553,
3586,
13,
46506,
327,
28270,
7,
80,
13,
7390,
8,
7054,
366,
9127,
1,
16034,
12043,
7054,
10662,
12509,
9792,
32357,
1268,
2947,
36142,
7054,
474,
6177,
474,
13,
6307,
7390,
796,
10662,
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... | [
35741,
6159,
4838,
4249,
13140,
12739,
14553,
3586,
13,
46506,
327,
28270,
7,
80,
13,
7390,
8,
7054,
366,
9127,
1,
16034,
12043,
7054,
10662,
12509,
9792,
32357,
1268,
2947,
36142,
7054,
474,
6177,
474,
13,
6307,
7390,
796,
10662,
13,
... |
how many days did ultimo gladiador and ultimo vampiro hold the title ? | SELECT "days\nheld" FROM table_204_245 WHERE "wrestlers" = 'ultimo gladiador and ultimo vampiro' | [
4919,
867,
1528,
750,
3789,
25147,
1278,
9189,
7079,
290,
3789,
25147,
410,
696,
7058,
1745,
262,
3670,
5633,
46506,
366,
12545,
59,
77,
10217,
1,
16034,
3084,
62,
18638,
62,
22995,
33411,
366,
86,
2118,
8116,
1,
796,
705,
586,
25147,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
3789,
25147,
1278,
9189,
7079,
290,
3789,
25147,
410,
696,
7058,
1745,
262,
3670,
5633,
46506,
366,
12545,
59,
77,
10217,
1,
16034,
3084,
62,
18638,
62,
22995,
33411,
366,
86,
2118,
8116,
1,
796,
705,
586,
25147,... |
What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7? | SELECT SUM(points) FROM table_name_29 WHERE opponent = "@ new jersey devils" AND game > 7 | [
2061,
318,
262,
2472,
11045,
329,
262,
9385,
3471,
286,
2488,
968,
8221,
26199,
290,
257,
3776,
5749,
621,
767,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
6125,
796,
44212,
649,
22383,
42466,
1,
5357,
983,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11045,
329,
262,
9385,
3471,
286,
2488,
968,
8221,
26199,
290,
257,
3776,
5749,
621,
767,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
6125,
796,
44212,
649,
22383,
42466,
1,
5357,
983,
... |
Number of posts with bounty start and finish. | WITH opened AS (SELECT PostId FROM Votes WHERE VoteTypeId = 8), closed AS (SELECT PostId FROM Votes WHERE VoteTypeId = 9) SELECT COUNT(*) FROM (SELECT * FROM opened INTERSECT SELECT * FROM closed) AS q | [
15057,
286,
6851,
351,
24180,
923,
290,
5461,
13,
54,
10554,
4721,
7054,
357,
46506,
2947,
7390,
16034,
39584,
33411,
19175,
6030,
7390,
796,
807,
828,
4838,
7054,
357,
46506,
2947,
7390,
16034,
39584,
33411,
19175,
6030,
7390,
796,
860,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
6851,
351,
24180,
923,
290,
5461,
13,
54,
10554,
4721,
7054,
357,
46506,
2947,
7390,
16034,
39584,
33411,
19175,
6030,
7390,
796,
807,
828,
4838,
7054,
357,
46506,
2947,
7390,
16034,
39584,
33411,
19175,
6030,
7390,
796,
860,
... |
Who was the Conductor of the Three Pintos (Die Drei Pintos) Production? | SELECT "Conductor" FROM table_7032 WHERE "Production" = 'the three pintos (die drei pintos)' | [
8241,
373,
262,
9724,
33029,
286,
262,
7683,
350,
600,
418,
357,
32423,
30882,
72,
350,
600,
418,
8,
19174,
30,
46506,
366,
25559,
33029,
1,
16034,
3084,
62,
2154,
2624,
33411,
366,
35027,
1,
796,
705,
1169,
1115,
35245,
418,
357,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
9724,
33029,
286,
262,
7683,
350,
600,
418,
357,
32423,
30882,
72,
350,
600,
418,
8,
19174,
30,
46506,
366,
25559,
33029,
1,
16034,
3084,
62,
2154,
2624,
33411,
366,
35027,
1,
796,
705,
1169,
1115,
35245,
418,
357,
1... |
what 's the latest flight from SAN FRANCISCO to ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ... | [
10919,
705,
82,
262,
3452,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
705,
82,
262,
3452,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
... |
Which area has state authority and a roll fewer than 18? | SELECT area FROM table_name_78 WHERE authority = "state" AND roll < 18 | [
13828,
1989,
468,
1181,
4934,
290,
257,
4836,
7380,
621,
1248,
30,
46506,
1989,
16034,
3084,
62,
3672,
62,
3695,
33411,
4934,
796,
366,
5219,
1,
5357,
4836,
1279,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1989,
468,
1181,
4934,
290,
257,
4836,
7380,
621,
1248,
30,
46506,
1989,
16034,
3084,
62,
3672,
62,
3695,
33411,
4934,
796,
366,
5219,
1,
5357,
4836,
1279,
1248
] |
what is minimum age of patients whose days of hospital stay is 20 and year of death is less than 2164? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.days_stay = "20" AND demographic.dod_year < "2164.0" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
1160,
290,
614,
286,
1918,
318,
1342,
621,
362,
23237,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
12545,
62,
31712,
796,
366,
1238,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2479,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
1160,
290,
614,
286,
1918,
318,
1342,
621,
362,
23237,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
12545,
62,
31712,
796,
366,
1238,... |
What was the most recent year? | SELECT MAX("Year") FROM table_73994 | [
2061,
373,
262,
749,
2274,
614,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
4790,
42691
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
749,
2274,
614,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
4790,
42691
] |
so what's the minimum alkaline phos. value of patient 002-76990 in 01/this year? | SELECT MIN(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-76990')) AND lab.labname = 'alkaline phos.' AND DATETIME(lab.labresulttime, 's... | [
568,
644,
338,
262,
5288,
32915,
20663,
872,
418,
13,
1988,
286,
5827,
3571,
17,
12,
4304,
34155,
287,
5534,
14,
5661,
614,
30,
46506,
20625,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
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... | [
568,
644,
338,
262,
5288,
32915,
20663,
872,
418,
13,
1988,
286,
5827,
3571,
17,
12,
4304,
34155,
287,
5534,
14,
5661,
614,
30,
46506,
20625,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,... |
Show the title and score of the movie with a bar chart, show X-axis in descending order. | SELECT title, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY title DESC | [
15307,
262,
3670,
290,
4776,
286,
262,
3807,
351,
257,
2318,
8262,
11,
905,
1395,
12,
22704,
287,
31491,
1502,
13,
46506,
3670,
11,
5788,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
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
] | [
15307,
262,
3670,
290,
4776,
286,
262,
3807,
351,
257,
2318,
8262,
11,
905,
1395,
12,
22704,
287,
31491,
1502,
13,
46506,
3670,
11,
5788,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
7... |
Was ENVIRON 310 ever taught by Craig Wuthrich ? | SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'ENVIRON' AND course.number = 310 AND instructor.name LIKE '%Craig Wuthrich%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instruc... | [
16973,
12964,
53,
4663,
1340,
28947,
1683,
7817,
416,
13854,
370,
1071,
7527,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
13,
17319,
62,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16973,
12964,
53,
4663,
1340,
28947,
1683,
7817,
416,
13854,
370,
1071,
7527,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
13,
17319,
62,
31... |
What is the date of Gavril Radomir's Bulgarian Victory? | SELECT date FROM table_name_15 WHERE result = "bulgarian victory" AND bulgarian_commander = "gavril radomir" | [
2061,
318,
262,
3128,
286,
402,
615,
22379,
5325,
296,
343,
338,
42119,
21203,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1314,
33411,
1255,
796,
366,
15065,
70,
3699,
5373,
1,
5357,
4807,
70,
3699,
62,
9503,
4066,
796,
366,
70,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
402,
615,
22379,
5325,
296,
343,
338,
42119,
21203,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1314,
33411,
1255,
796,
366,
15065,
70,
3699,
5373,
1,
5357,
4807,
70,
3699,
62,
9503,
4066,
796,
366,
70,
61... |
Name the result for kingdome game site and opponent of denver broncos | SELECT result FROM table_name_75 WHERE game_site = "kingdome" AND opponent = "denver broncos" | [
5376,
262,
1255,
329,
5822,
67,
462,
983,
2524,
290,
6125,
286,
2853,
332,
18443,
6966,
46506,
1255,
16034,
3084,
62,
3672,
62,
2425,
33411,
983,
62,
15654,
796,
366,
3364,
67,
462,
1,
5357,
6125,
796,
366,
6559,
332,
18443,
6966,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1255,
329,
5822,
67,
462,
983,
2524,
290,
6125,
286,
2853,
332,
18443,
6966,
46506,
1255,
16034,
3084,
62,
3672,
62,
2425,
33411,
983,
62,
15654,
796,
366,
3364,
67,
462,
1,
5357,
6125,
796,
366,
6559,
332,
18443,
6966,
1... |
What was the score for the game on February 29? | SELECT score FROM table_name_10 WHERE date = "february 29" | [
2061,
373,
262,
4776,
329,
262,
983,
319,
3945,
2808,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
3128,
796,
366,
69,
1765,
3728,
2808,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
262,
983,
319,
3945,
2808,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
3128,
796,
366,
69,
1765,
3728,
2808,
1
] |
Name the most goals scored for position 4 | SELECT MAX(goals_scored) FROM table_16034882_5 WHERE position = 4 | [
5376,
262,
749,
4661,
7781,
329,
2292,
604,
46506,
25882,
7,
2188,
874,
62,
1416,
1850,
8,
16034,
3084,
62,
14198,
2682,
42980,
62,
20,
33411,
2292,
796,
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
] | [
5376,
262,
749,
4661,
7781,
329,
2292,
604,
46506,
25882,
7,
2188,
874,
62,
1416,
1850,
8,
16034,
3084,
62,
14198,
2682,
42980,
62,
20,
33411,
2292,
796,
604
] |
When is Biddle's DOB? | SELECT "D.O.B." FROM table_38777 WHERE "Surname" = 'biddle' | [
2215,
318,
347,
2509,
338,
8410,
33,
30,
46506,
366,
35,
13,
46,
13,
33,
526,
16034,
3084,
62,
2548,
29331,
33411,
366,
50,
700,
480,
1,
796,
705,
65,
2509,
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
] | [
2215,
318,
347,
2509,
338,
8410,
33,
30,
46506,
366,
35,
13,
46,
13,
33,
526,
16034,
3084,
62,
2548,
29331,
33411,
366,
50,
700,
480,
1,
796,
705,
65,
2509,
6
] |
what place is listed last ? | SELECT "name of place" FROM table_204_356 ORDER BY id DESC LIMIT 1 | [
10919,
1295,
318,
5610,
938,
5633,
46506,
366,
3672,
286,
1295,
1,
16034,
3084,
62,
18638,
62,
32066,
38678,
11050,
4686,
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
] | [
10919,
1295,
318,
5610,
938,
5633,
46506,
366,
3672,
286,
1295,
1,
16034,
3084,
62,
18638,
62,
32066,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
what is maximum age of patients whose ethnicity is asian and days of hospital stay is 23? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.days_stay = "23" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
26289,
318,
355,
666,
290,
1528,
286,
4436,
2652,
318,
2242,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
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
] | [
10919,
318,
5415,
2479,
286,
3871,
3025,
26289,
318,
355,
666,
290,
1528,
286,
4436,
2652,
318,
2242,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
16728,
13,
... |
Which Tournament has Pat Cash as a runner-up? | SELECT "Tournament" FROM table_57045 WHERE "Runner-up" = 'pat cash' | [
13828,
9595,
468,
3208,
16210,
355,
257,
17490,
12,
929,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
39254,
2231,
33411,
366,
49493,
12,
929,
1,
796,
705,
8071,
5003,
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
] | [
13828,
9595,
468,
3208,
16210,
355,
257,
17490,
12,
929,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
39254,
2231,
33411,
366,
49493,
12,
929,
1,
796,
705,
8071,
5003,
6
] |
show me all flights from PHILADELPHIA to ATLANTA that leave after 1700 on wednesday | 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 ((date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time... | [
12860,
502,
477,
13956,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
5161,
25697,
5603,
326,
2666,
706,
35665,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
477,
13956,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
5161,
25697,
5603,
326,
2666,
706,
35665,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
3... |
How many points did the Away team from Geelong score? | SELECT "Away team score" FROM table_32405 WHERE "Away team" = 'geelong' | [
2437,
867,
2173,
750,
262,
21986,
1074,
422,
2269,
21537,
4776,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
33916,
2713,
33411,
366,
32,
1014,
1074,
1,
796,
705,
469,
21537,
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
] | [
2437,
867,
2173,
750,
262,
21986,
1074,
422,
2269,
21537,
4776,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
33916,
2713,
33411,
366,
32,
1014,
1074,
1,
796,
705,
469,
21537,
6
] |
What is the percentage of Glendale when La Canada Flintridge is 5%? | SELECT "Glendale" FROM table_74694 WHERE "La Ca\u00f1ada Flintridge" = '5%' | [
2061,
318,
262,
5873,
286,
2671,
41147,
618,
4689,
3340,
21660,
12818,
318,
642,
4,
30,
46506,
366,
9861,
41147,
1,
16034,
3084,
62,
4524,
45214,
33411,
366,
14772,
6488,
59,
84,
405,
69,
16,
4763,
21660,
12818,
1,
796,
705,
20,
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
] | [
2061,
318,
262,
5873,
286,
2671,
41147,
618,
4689,
3340,
21660,
12818,
318,
642,
4,
30,
46506,
366,
9861,
41147,
1,
16034,
3084,
62,
4524,
45214,
33411,
366,
14772,
6488,
59,
84,
405,
69,
16,
4763,
21660,
12818,
1,
796,
705,
20,
4,
... |
What score has an opponent gan teik chai lin woon fui? | SELECT score FROM table_name_6 WHERE opponent = "gan teik chai lin woon fui" | [
2061,
4776,
468,
281,
6125,
308,
272,
573,
1134,
442,
1872,
9493,
266,
2049,
277,
9019,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
21,
33411,
6125,
796,
366,
1030,
573,
1134,
442,
1872,
9493,
266,
2049,
277,
9019,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
468,
281,
6125,
308,
272,
573,
1134,
442,
1872,
9493,
266,
2049,
277,
9019,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
21,
33411,
6125,
796,
366,
1030,
573,
1134,
442,
1872,
9493,
266,
2049,
277,
9019,
1
] |
what is the total number of films that are love stories ? | SELECT COUNT(*) FROM table_204_667 WHERE "genre" = 'love story' | [
10919,
318,
262,
2472,
1271,
286,
7328,
326,
389,
1842,
3923,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
28933,
33411,
366,
35850,
1,
796,
705,
23205,
1621,
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
] | [
10919,
318,
262,
2472,
1271,
286,
7328,
326,
389,
1842,
3923,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
28933,
33411,
366,
35850,
1,
796,
705,
23205,
1621,
6
] |
What is the s default argument without a pseudorandom number generation and no eval function? | SELECT "s Default argument" FROM table_6057 WHERE "Pseudorandom number generation" = 'no' AND "eval function" = 'no' | [
2061,
318,
262,
264,
4277,
4578,
1231,
257,
25038,
273,
3749,
1271,
5270,
290,
645,
5418,
2163,
30,
46506,
366,
82,
15161,
4578,
1,
16034,
3084,
62,
1899,
3553,
33411,
366,
47,
325,
463,
273,
3749,
1271,
5270,
1,
796,
705,
3919,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
264,
4277,
4578,
1231,
257,
25038,
273,
3749,
1271,
5270,
290,
645,
5418,
2163,
30,
46506,
366,
82,
15161,
4578,
1,
16034,
3084,
62,
1899,
3553,
33411,
366,
47,
325,
463,
273,
3749,
1271,
5270,
1,
796,
705,
3919,
6,
... |
What is the minimum number of total placings? | SELECT MIN("Total placings(s)") FROM table_2349 | [
2061,
318,
262,
5288,
1271,
286,
2472,
21957,
654,
30,
46506,
20625,
7203,
14957,
21957,
654,
7,
82,
8,
4943,
16034,
3084,
62,
1954,
2920
] | [
1,
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,
5288,
1271,
286,
2472,
21957,
654,
30,
46506,
20625,
7203,
14957,
21957,
654,
7,
82,
8,
4943,
16034,
3084,
62,
1954,
2920
] |
For those records from the products and each product's manufacturer, a scatter chart shows the correlation between manufacturer and code , and group by attribute founder. | SELECT T1.Manufacturer, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
11554,
290,
2438,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
44445,
15051,
11,
309,
16,
13,
10669,
16034,
18675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
11554,
290,
2438,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
44445,
15051,
11,
309,
16,
13,
10669,
16034,
18675... |
For those records from the products and each product's manufacturer, give me the comparison about the sum of manufacturer over the founder , and group by attribute founder, and show from low to high by the Y-axis. | SELECT Founder, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Manufacturer) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
11554,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
11554,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
... |
Please tell the salary of each hire date using a line chart. | SELECT HIRE_DATE, SALARY FROM employees | [
5492,
1560,
262,
9588,
286,
1123,
11078,
3128,
1262,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
42475,
13153,
16034,
4409
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
1560,
262,
9588,
286,
1123,
11078,
3128,
1262,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
42475,
13153,
16034,
4409
] |
I want to see trend of the number of open date by open date, and list by the X-axis in asc. | SELECT Open_Date, COUNT(Open_Date) FROM church ORDER BY Open_Date | [
40,
765,
284,
766,
5182,
286,
262,
1271,
286,
1280,
3128,
416,
1280,
3128,
11,
290,
1351,
416,
262,
1395,
12,
22704,
287,
10570,
13,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928,
38678,
11050,
4946,
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
] | [
40,
765,
284,
766,
5182,
286,
262,
1271,
286,
1280,
3128,
416,
1280,
3128,
11,
290,
1351,
416,
262,
1395,
12,
22704,
287,
10570,
13,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928,
38678,
11050,
4946,
62... |
Best time for an answer. | WITH tmp AS (SELECT TimeDiff = DATEDIFF(minute, q.CreationDate, CreationDate), Period = ROUND((CAST(DATEPART('weekday', q.CreationDate) AS DECIMAL) + CAST(DATEPART('hour', q.CreationDate) AS DECIMAL) / 24), 2) FROM Posts AS q LEFT OUTER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE q.AcceptedAnswerId > 0 AND q.Cre... | [
13014,
640,
329,
281,
3280,
13,
54,
10554,
45218,
7054,
357,
46506,
3862,
28813,
796,
360,
11617,
29267,
7,
11374,
11,
10662,
13,
12443,
341,
10430,
11,
21582,
10430,
828,
18581,
796,
371,
15919,
19510,
44647,
7,
35,
6158,
30709,
10786,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13014,
640,
329,
281,
3280,
13,
54,
10554,
45218,
7054,
357,
46506,
3862,
28813,
796,
360,
11617,
29267,
7,
11374,
11,
10662,
13,
12443,
341,
10430,
11,
21582,
10430,
828,
18581,
796,
371,
15919,
19510,
44647,
7,
35,
6158,
30709,
10786,... |
Name the opponent for week 12 | SELECT "Opponent" FROM table_19339 WHERE "Week" = '12' | [
5376,
262,
6125,
329,
1285,
1105,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1129,
29626,
33411,
366,
20916,
1,
796,
705,
1065,
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,
6125,
329,
1285,
1105,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1129,
29626,
33411,
366,
20916,
1,
796,
705,
1065,
6
] |
Retrieve profile image url of user 'jabbink'. | SELECT ProfileImageUrl FROM Users WHERE Id = '##UserID##' | [
9781,
30227,
7034,
2939,
19016,
286,
2836,
705,
73,
6485,
676,
4458,
46506,
13118,
5159,
28165,
16034,
18987,
33411,
5121,
796,
705,
2235,
12982,
2389,
2235,
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
] | [
9781,
30227,
7034,
2939,
19016,
286,
2836,
705,
73,
6485,
676,
4458,
46506,
13118,
5159,
28165,
16034,
18987,
33411,
5121,
796,
705,
2235,
12982,
2389,
2235,
6
] |
Which paper should I read about dependent types ? | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'dependent types' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | [
13828,
3348,
815,
314,
1100,
546,
10795,
3858,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
21186,
3858,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
3348,
815,
314,
1100,
546,
10795,
3858,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
21186,
3858,
6,
5357... |
what was the name of the last intake of patient 002-58565 that they had on 02/09/last year? | 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 = '002-58565')) AND intakeoutput.cellpath LIKE '%intake%' AND D... | [
10919,
373,
262,
1438,
286,
262,
938,
10337,
286,
5827,
3571,
17,
12,
38905,
2996,
326,
484,
550,
319,
7816,
14,
2931,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
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,
1438,
286,
262,
938,
10337,
286,
5827,
3571,
17,
12,
38905,
2996,
326,
484,
550,
319,
7816,
14,
2931,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,... |
What was the record the the match against vs. calgary stampeders before week 15? | SELECT "Record" FROM table_76711 WHERE "Opponent" = 'vs. calgary stampeders' AND "Week" < '15' | [
2061,
373,
262,
1700,
262,
262,
2872,
1028,
3691,
13,
2386,
14849,
28305,
364,
878,
1285,
1315,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
32059,
1157,
33411,
366,
27524,
3471,
1,
796,
705,
14259,
13,
2386,
14849,
28305,
364,
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
] | [
2061,
373,
262,
1700,
262,
262,
2872,
1028,
3691,
13,
2386,
14849,
28305,
364,
878,
1285,
1315,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
32059,
1157,
33411,
366,
27524,
3471,
1,
796,
705,
14259,
13,
2386,
14849,
28305,
364,
6,
5357,... |
What is the result of the 2007 AFC asian cup? | SELECT "Result" FROM table_35304 WHERE "Competition" = '2007 afc asian cup' | [
2061,
318,
262,
1255,
286,
262,
4343,
27987,
355,
666,
6508,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2327,
21288,
33411,
366,
7293,
15620,
1,
796,
705,
12726,
6580,
66,
355,
666,
6508,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
4343,
27987,
355,
666,
6508,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2327,
21288,
33411,
366,
7293,
15620,
1,
796,
705,
12726,
6580,
66,
355,
666,
6508,
6
] |
What courses in the subject Philosophy of Language satisfy the ULCS requirement ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Philosophy of Language%' OR course.description LIKE '%Philosophy of Language%' OR course.name LI... | [
2061,
10902,
287,
262,
2426,
26099,
286,
15417,
15959,
262,
471,
29814,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
287,
262,
2426,
26099,
286,
15417,
15959,
262,
471,
29814,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
1... |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of first_name and manager_id , and show by the X in ascending. | SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
717,
62,
3672,
290,
4706,
62,
312,
837,
290,
905,
416,
262,
1395,
287,
41988,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
717,
62,
3672,
290,
4706,
62,
312,
837,
290,
905,
416,
262,
1395,
287,
41988,
... |
Name the bulgarian for jullie hadden gehoord | SELECT "Bulgarian" FROM table_22307 WHERE "Dutch" = 'jullie hadden gehoord' | [
5376,
262,
4807,
70,
3699,
329,
474,
724,
494,
550,
6559,
4903,
8873,
585,
46506,
366,
33481,
70,
3699,
1,
16034,
3084,
62,
1828,
22996,
33411,
366,
49717,
1,
796,
705,
73,
724,
494,
550,
6559,
4903,
8873,
585,
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
] | [
5376,
262,
4807,
70,
3699,
329,
474,
724,
494,
550,
6559,
4903,
8873,
585,
46506,
366,
33481,
70,
3699,
1,
16034,
3084,
62,
1828,
22996,
33411,
366,
49717,
1,
796,
705,
73,
724,
494,
550,
6559,
4903,
8873,
585,
6
] |
What was the Score F-A when the result was D? | SELECT score_f_a FROM table_name_39 WHERE result = "d" | [
2061,
373,
262,
15178,
376,
12,
32,
618,
262,
1255,
373,
360,
30,
46506,
4776,
62,
69,
62,
64,
16034,
3084,
62,
3672,
62,
2670,
33411,
1255,
796,
366,
67,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
15178,
376,
12,
32,
618,
262,
1255,
373,
360,
30,
46506,
4776,
62,
69,
62,
64,
16034,
3084,
62,
3672,
62,
2670,
33411,
1255,
796,
366,
67,
1
] |
How large is 570 ? | SELECT DISTINCT num_enrolled FROM course WHERE department = 'EECS' AND number = 570 | [
2437,
1588,
318,
44626,
5633,
46506,
360,
8808,
1268,
4177,
997,
62,
268,
8375,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
1271,
796,
44626
] | [
1,
1,
1,
1,
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,
1588,
318,
44626,
5633,
46506,
360,
8808,
1268,
4177,
997,
62,
268,
8375,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
1271,
796,
44626
] |
Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx? | SELECT player FROM table_name_33 WHERE pick < 6 AND new_wnba_team = "minnesota lynx" | [
13828,
2137,
550,
257,
2298,
739,
718,
290,
257,
649,
370,
32470,
1074,
286,
262,
8919,
10350,
87,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
2298,
1279,
718,
5357,
649,
62,
675,
7012,
62,
15097,
796,
366,
1084,
8360,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
550,
257,
2298,
739,
718,
290,
257,
649,
370,
32470,
1074,
286,
262,
8919,
10350,
87,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
2298,
1279,
718,
5357,
649,
62,
675,
7012,
62,
15097,
796,
366,
1084,
8360,
... |
Group by the local authorities and count the number of local authorities, and then group by services, display in ascending by the bar. | SELECT services, COUNT(services) FROM station GROUP BY local_authority, services ORDER BY services | [
13247,
416,
262,
1957,
4773,
290,
954,
262,
1271,
286,
1957,
4773,
11,
290,
788,
1448,
416,
2594,
11,
3359,
287,
41988,
416,
262,
2318,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
1957,
62,
9800,
414,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13247,
416,
262,
1957,
4773,
290,
954,
262,
1271,
286,
1957,
4773,
11,
290,
788,
1448,
416,
2594,
11,
3359,
287,
41988,
416,
262,
2318,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
1957,
62,
9800,
414,
11... |
Challenges Answered by Shaggy & ETHProductions. | SELECT Id FROM Posts AS a WHERE EXISTS(SELECT 1 FROM Posts WHERE ParentId = a.Id AND OwnerUserId = 58974) AND EXISTS(SELECT 1 FROM Posts WHERE ParentId = a.Id AND OwnerUserId = 42545) | [
41812,
34120,
28038,
8279,
416,
911,
363,
1360,
1222,
35920,
11547,
2733,
13,
46506,
5121,
16034,
12043,
7054,
257,
33411,
7788,
1797,
4694,
7,
46506,
352,
16034,
12043,
33411,
16774,
7390,
796,
257,
13,
7390,
5357,
23853,
12982,
7390,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
41812,
34120,
28038,
8279,
416,
911,
363,
1360,
1222,
35920,
11547,
2733,
13,
46506,
5121,
16034,
12043,
7054,
257,
33411,
7788,
1797,
4694,
7,
46506,
352,
16034,
12043,
33411,
16774,
7390,
796,
257,
13,
7390,
5357,
23853,
12982,
7390,
79... |
what is the road numbers when the class is z-7? | SELECT road_numbers FROM table_name_66 WHERE class = "z-7" | [
10919,
318,
262,
2975,
3146,
618,
262,
1398,
318,
1976,
12,
22,
30,
46506,
2975,
62,
77,
17024,
16034,
3084,
62,
3672,
62,
2791,
33411,
1398,
796,
366,
89,
12,
22,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2975,
3146,
618,
262,
1398,
318,
1976,
12,
22,
30,
46506,
2975,
62,
77,
17024,
16034,
3084,
62,
3672,
62,
2791,
33411,
1398,
796,
366,
89,
12,
22,
1
] |
how many hours have elapsed since the first time patient 72032 stayed in the careunit ccu in this hospital encounter? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 72032 AND admissions.dischtime IS NULL) AND transfers.careunit = 'ccu' ORDER BY transfers.intime LIMIT 1 | [
4919,
867,
2250,
423,
42118,
1201,
262,
717,
640,
5827,
26250,
2624,
9658,
287,
262,
1337,
20850,
269,
27399,
287,
428,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2250,
423,
42118,
1201,
262,
717,
640,
5827,
26250,
2624,
9658,
287,
262,
1337,
20850,
269,
27399,
287,
428,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... |
what is the total dose of promote w/fiber that patient 19691 received on 09/30/2101? | SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19691)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab... | [
10919,
318,
262,
2472,
10742,
286,
7719,
266,
14,
69,
1856,
326,
5827,
16450,
16,
2722,
319,
7769,
14,
1270,
14,
2481,
486,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
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... | [
10919,
318,
262,
2472,
10742,
286,
7719,
266,
14,
69,
1856,
326,
5827,
16450,
16,
2722,
319,
7769,
14,
1270,
14,
2481,
486,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
... |
What date was the episode originally aired that was directed by James Widdoes and the production code is 320? | SELECT original_air_date FROM table_2221374_3 WHERE directed_by = "James Widdoes" AND production_code = 320 | [
2061,
3128,
373,
262,
4471,
6198,
18530,
326,
373,
7924,
416,
3700,
370,
1638,
3028,
290,
262,
3227,
2438,
318,
20959,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
23148,
1485,
4524,
62,
18,
33411,
7924,
62,
1525,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
373,
262,
4471,
6198,
18530,
326,
373,
7924,
416,
3700,
370,
1638,
3028,
290,
262,
3227,
2438,
318,
20959,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
23148,
1485,
4524,
62,
18,
33411,
7924,
62,
1525,
796,
366,
... |
What is every time(cet) for the name of Lillehammer 2? | SELECT "Time (CET)" FROM table_24440 WHERE "Name" = 'Lillehammer 2' | [
2061,
318,
790,
640,
7,
66,
316,
8,
329,
262,
1438,
286,
406,
8270,
17980,
362,
30,
46506,
366,
7575,
357,
34,
2767,
16725,
16034,
3084,
62,
1731,
25644,
33411,
366,
5376,
1,
796,
705,
43,
8270,
17980,
362,
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
] | [
2061,
318,
790,
640,
7,
66,
316,
8,
329,
262,
1438,
286,
406,
8270,
17980,
362,
30,
46506,
366,
7575,
357,
34,
2767,
16725,
16034,
3084,
62,
1731,
25644,
33411,
366,
5376,
1,
796,
705,
43,
8270,
17980,
362,
6
] |
What was the 1st leg for Team 2 Concepto Egile? | SELECT "1st leg" FROM table_42404 WHERE "Team 2" = 'concepto egile' | [
2061,
373,
262,
352,
301,
1232,
329,
4816,
362,
26097,
78,
36386,
576,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
40090,
3023,
33411,
366,
15592,
362,
1,
796,
705,
43169,
78,
29206,
576,
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,
373,
262,
352,
301,
1232,
329,
4816,
362,
26097,
78,
36386,
576,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
40090,
3023,
33411,
366,
15592,
362,
1,
796,
705,
43169,
78,
29206,
576,
6
] |
What is the lowest number of poles? | SELECT MIN(poles) FROM table_16710541_2 | [
2061,
318,
262,
9016,
1271,
286,
24971,
30,
46506,
20625,
7,
79,
4316,
8,
16034,
3084,
62,
21940,
13348,
3901,
62,
17
] | [
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,
1271,
286,
24971,
30,
46506,
20625,
7,
79,
4316,
8,
16034,
3084,
62,
21940,
13348,
3901,
62,
17
] |
What is the earliest year in which the 1st price went to Che-Yen (Brian) Chen? | SELECT MIN("Year") FROM table_77137 WHERE "1st Prize" = 'che-yen (brian) chen' | [
2061,
318,
262,
14555,
614,
287,
543,
262,
352,
301,
2756,
1816,
284,
2580,
12,
56,
268,
357,
24761,
8,
12555,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3324,
19708,
33411,
366,
16,
301,
15895,
1,
796,
705,
2395,
12,
88,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
614,
287,
543,
262,
352,
301,
2756,
1816,
284,
2580,
12,
56,
268,
357,
24761,
8,
12555,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3324,
19708,
33411,
366,
16,
301,
15895,
1,
796,
705,
2395,
12,
88,... |
What is the highest pick number for a pick drafted by the denver broncos? | SELECT MAX(pick) FROM table_name_52 WHERE team = "denver broncos" | [
2061,
318,
262,
4511,
2298,
1271,
329,
257,
2298,
15937,
416,
262,
2853,
332,
18443,
6966,
30,
46506,
25882,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
1074,
796,
366,
6559,
332,
18443,
6966,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
329,
257,
2298,
15937,
416,
262,
2853,
332,
18443,
6966,
30,
46506,
25882,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
1074,
796,
366,
6559,
332,
18443,
6966,
1
] |
what is the record when the year is after 1992, manager is tom kotchman and finish is 2nd? | SELECT record FROM table_name_51 WHERE year > 1992 AND manager = "tom kotchman" AND finish = "2nd" | [
10919,
318,
262,
1700,
618,
262,
614,
318,
706,
9768,
11,
4706,
318,
16667,
479,
313,
354,
805,
290,
5461,
318,
362,
358,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4349,
33411,
614,
1875,
9768,
5357,
4706,
796,
366,
39532,
479,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
618,
262,
614,
318,
706,
9768,
11,
4706,
318,
16667,
479,
313,
354,
805,
290,
5461,
318,
362,
358,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4349,
33411,
614,
1875,
9768,
5357,
4706,
796,
366,
39532,
479,
31... |
How many games played when the points for is 369? | SELECT played FROM table_name_89 WHERE points_for = "369" | [
2437,
867,
1830,
2826,
618,
262,
2173,
329,
318,
45620,
30,
46506,
2826,
16034,
3084,
62,
3672,
62,
4531,
33411,
2173,
62,
1640,
796,
366,
30803,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1830,
2826,
618,
262,
2173,
329,
318,
45620,
30,
46506,
2826,
16034,
3084,
62,
3672,
62,
4531,
33411,
2173,
62,
1640,
796,
366,
30803,
1
] |
count the number of people who have had a coronar arteriogr-2 cath procedure this year. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'coronar arteriogr-2 cath') AND DATETIME(procedures_i... | [
9127,
262,
1271,
286,
661,
508,
423,
550,
257,
26920,
283,
30675,
72,
519,
81,
12,
17,
32171,
8771,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
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... | [
9127,
262,
1271,
286,
661,
508,
423,
550,
257,
26920,
283,
30675,
72,
519,
81,
12,
17,
32171,
8771,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
... |
What were the notes during the distance of Men's Speed Skating? | SELECT notes FROM table_name_57 WHERE distance = "men's speed skating" | [
2061,
547,
262,
4710,
1141,
262,
5253,
286,
6065,
338,
8729,
3661,
803,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
3553,
33411,
5253,
796,
366,
3653,
338,
2866,
33051,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4710,
1141,
262,
5253,
286,
6065,
338,
8729,
3661,
803,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
3553,
33411,
5253,
796,
366,
3653,
338,
2866,
33051,
1
] |
during the previous year, what were the top five most frequent specimen tests given to a patient during the same hospital visit after the diagnosis of unilat inguinal hernia? | SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnos... | [
42122,
262,
2180,
614,
11,
644,
547,
262,
1353,
1936,
749,
10792,
31674,
5254,
1813,
284,
257,
5827,
1141,
262,
976,
4436,
3187,
706,
262,
13669,
286,
555,
346,
265,
5347,
84,
1292,
607,
18142,
30,
46506,
256,
18,
13,
16684,
62,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
42122,
262,
2180,
614,
11,
644,
547,
262,
1353,
1936,
749,
10792,
31674,
5254,
1813,
284,
257,
5827,
1141,
262,
976,
4436,
3187,
706,
262,
13669,
286,
555,
346,
265,
5347,
84,
1292,
607,
18142,
30,
46506,
256,
18,
13,
16684,
62,
490... |
For which Award Ceremony was Emilio Pichardo as Bobby Strong nominated? | SELECT "Award Ceremony" FROM table_58184 WHERE "Nominee" = 'emilio pichardo as bobby strong' | [
1890,
543,
11289,
26532,
9926,
373,
44272,
952,
350,
488,
13109,
355,
17155,
13535,
19332,
30,
46506,
366,
32,
904,
26532,
9926,
1,
16034,
3084,
62,
3365,
22883,
33411,
366,
45,
296,
500,
68,
1,
796,
705,
368,
346,
952,
279,
488,
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
] | [
1890,
543,
11289,
26532,
9926,
373,
44272,
952,
350,
488,
13109,
355,
17155,
13535,
19332,
30,
46506,
366,
32,
904,
26532,
9926,
1,
16034,
3084,
62,
3365,
22883,
33411,
366,
45,
296,
500,
68,
1,
796,
705,
368,
346,
952,
279,
488,
13... |
Give me the comparison about meter_100 over the meter_600 . | SELECT meter_600, meter_100 FROM swimmer | [
23318,
502,
262,
7208,
546,
16430,
62,
3064,
625,
262,
16430,
62,
8054,
764,
46506,
16430,
62,
8054,
11,
16430,
62,
3064,
16034,
9422,
647
] | [
1,
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,
7208,
546,
16430,
62,
3064,
625,
262,
16430,
62,
8054,
764,
46506,
16430,
62,
8054,
11,
16430,
62,
3064,
16034,
9422,
647
] |
Show all the ranks and the number of male and female faculty for each rank in a bar chart, and I want to rank X in asc order please. | SELECT Rank, COUNT(*) FROM Faculty GROUP BY Sex, Rank ORDER BY Rank | [
15307,
477,
262,
9803,
290,
262,
1271,
286,
4257,
290,
4048,
12829,
329,
1123,
4279,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
4279,
1395,
287,
10570,
1502,
3387,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
44441,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
262,
9803,
290,
262,
1271,
286,
4257,
290,
4048,
12829,
329,
1123,
4279,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
4279,
1395,
287,
10570,
1502,
3387,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
44441,
11... |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a scatter chart about the correlation between employee_id and commission_pct . | SELECT EMPLOYEE_ID, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
5810,
62,
79,
310,
764,
46506,
17228,
6489,
21414,
6500,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
5810,
62,
79,
310,
764,
46506,
17228,
6489,
21414,
6500,
... |
Which event had Edson Claas Vieira as an opponent? | SELECT event FROM table_name_55 WHERE opponent = "edson claas vieira" | [
13828,
1785,
550,
1717,
1559,
27166,
292,
47154,
8704,
355,
281,
6125,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2816,
33411,
6125,
796,
366,
276,
1559,
26435,
292,
410,
494,
8704,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1785,
550,
1717,
1559,
27166,
292,
47154,
8704,
355,
281,
6125,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2816,
33411,
6125,
796,
366,
276,
1559,
26435,
292,
410,
494,
8704,
1
] |
how many patients whose discharge location is snf and procedure long title is injection or infusion of oxazolidinone class of antibiotics? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "SNF" AND procedures.long_title = "Injection or infusion of oxazolidinone class of antibiotics" | [
4919,
867,
3871,
3025,
17655,
4067,
318,
3013,
69,
290,
8771,
890,
3670,
318,
16954,
393,
35547,
286,
12018,
1031,
10180,
259,
505,
1398,
286,
22392,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
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... | [
4919,
867,
3871,
3025,
17655,
4067,
318,
3013,
69,
290,
8771,
890,
3670,
318,
16954,
393,
35547,
286,
12018,
1031,
10180,
259,
505,
1398,
286,
22392,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,... |
What car/motorcycle goes 91.813mph? | SELECT car___motorcycle FROM table_name_14 WHERE speed = "91.813mph" | [
2061,
1097,
14,
76,
20965,
13696,
2925,
10495,
13,
23,
1485,
23335,
30,
46506,
1097,
17569,
76,
20965,
13696,
16034,
3084,
62,
3672,
62,
1415,
33411,
2866,
796,
366,
6420,
13,
23,
1485,
23335,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1097,
14,
76,
20965,
13696,
2925,
10495,
13,
23,
1485,
23335,
30,
46506,
1097,
17569,
76,
20965,
13696,
16034,
3084,
62,
3672,
62,
1415,
33411,
2866,
796,
366,
6420,
13,
23,
1485,
23335,
1
] |
What is the meaning of the constellation that has puppis / p p s/ as genitive? | SELECT meaning FROM table_287159_1 WHERE genitive = "Puppis /ˈpʌpɨs/" | [
2061,
318,
262,
3616,
286,
262,
38712,
326,
468,
13595,
271,
1220,
279,
279,
264,
14,
355,
2429,
1800,
30,
46506,
3616,
16034,
3084,
62,
27800,
19707,
62,
16,
33411,
2429,
1800,
796,
366,
47,
7211,
271,
1220,
45990,
79,
134,
234,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3616,
286,
262,
38712,
326,
468,
13595,
271,
1220,
279,
279,
264,
14,
355,
2429,
1800,
30,
46506,
3616,
16034,
3084,
62,
27800,
19707,
62,
16,
33411,
2429,
1800,
796,
366,
47,
7211,
271,
1220,
45990,
79,
134,
234,
79... |
What is the lowest drawn for entries with a lost of 13? | SELECT MIN(drawn) FROM table_name_38 WHERE lost = 13 | [
2061,
318,
262,
9016,
7428,
329,
12784,
351,
257,
2626,
286,
1511,
30,
46506,
20625,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
2626,
796,
1511
] | [
1,
1,
1,
1,
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,
7428,
329,
12784,
351,
257,
2626,
286,
1511,
30,
46506,
20625,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
2626,
796,
1511
] |
what is the drug that patient 016-1459 was prescribed for during the same hospital visit after getting blood product administration - platelet concentrate until 02/2105? | SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =... | [
10919,
318,
262,
2563,
326,
5827,
5534,
21,
12,
1415,
3270,
373,
14798,
329,
1141,
262,
976,
4436,
3187,
706,
1972,
2910,
1720,
3662,
532,
7480,
1616,
20062,
1566,
7816,
14,
17,
13348,
30,
46506,
256,
17,
13,
30349,
3672,
16034,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2563,
326,
5827,
5534,
21,
12,
1415,
3270,
373,
14798,
329,
1141,
262,
976,
4436,
3187,
706,
1972,
2910,
1720,
3662,
532,
7480,
1616,
20062,
1566,
7816,
14,
17,
13348,
30,
46506,
256,
17,
13,
30349,
3672,
16034,
357,
... |
how many players made an appearance that year ? | SELECT COUNT("player") FROM table_203_456 | [
4919,
867,
1938,
925,
281,
5585,
326,
614,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
29228
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1938,
925,
281,
5585,
326,
614,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
29228
] |
Provide me the minimum age of patients primarily suffering from angioedema with a discharge location of transitioning to psychiatric hospital. | SELECT MIN(demographic.age) FROM demographic WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND demographic.diagnosis = "ANGIOEDEMA" | [
15946,
485,
502,
262,
5288,
2479,
286,
3871,
7525,
7195,
422,
3550,
952,
276,
19687,
351,
257,
17655,
4067,
286,
37005,
284,
19906,
4436,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
502,
262,
5288,
2479,
286,
3871,
7525,
7195,
422,
3550,
952,
276,
19687,
351,
257,
17655,
4067,
286,
37005,
284,
19906,
4436,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24... |
what was the name of the drug prescription that patient 45601 was first prescribed in 05/last year? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 45601) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', prescriptions.startdate) = '05' ORD... | [
10919,
373,
262,
1438,
286,
262,
2563,
15077,
326,
5827,
604,
3980,
486,
373,
717,
14798,
287,
8870,
14,
12957,
614,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15077,
326,
5827,
604,
3980,
486,
373,
717,
14798,
287,
8870,
14,
12957,
614,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
... |
What is the number of games for Shlomi Avrahami? | SELECT COUNT("Games") FROM table_43920 WHERE "Name" = 'shlomi avrahami' | [
2061,
318,
262,
1271,
286,
1830,
329,
911,
75,
12753,
5184,
13220,
72,
30,
46506,
327,
28270,
7203,
24474,
4943,
16034,
3084,
62,
47106,
1238,
33411,
366,
5376,
1,
796,
705,
1477,
75,
12753,
1196,
13220,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
1830,
329,
911,
75,
12753,
5184,
13220,
72,
30,
46506,
327,
28270,
7203,
24474,
4943,
16034,
3084,
62,
47106,
1238,
33411,
366,
5376,
1,
796,
705,
1477,
75,
12753,
1196,
13220,
72,
6
] |
tell me the total amount of patient 021-213732's output on last month/10. | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-213732')) AND intakeoutput.cellpath LIKE '%o... | [
33331,
502,
262,
2472,
2033,
286,
5827,
657,
2481,
12,
17,
19708,
2624,
338,
5072,
319,
938,
1227,
14,
940,
13,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
2472,
2033,
286,
5827,
657,
2481,
12,
17,
19708,
2624,
338,
5072,
319,
938,
1227,
14,
940,
13,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
... |
what's the total number of south australia with victoria value of 2173 | SELECT COUNT(south_australia) FROM table_1057262_2 WHERE victoria = 2173 | [
10919,
338,
262,
2472,
1271,
286,
5366,
38132,
1373,
544,
351,
2210,
7661,
1988,
286,
24894,
18,
46506,
327,
28270,
7,
35782,
62,
64,
436,
1373,
544,
8,
16034,
3084,
62,
940,
3553,
29119,
62,
17,
33411,
2210,
7661,
796,
24894,
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
] | [
10919,
338,
262,
2472,
1271,
286,
5366,
38132,
1373,
544,
351,
2210,
7661,
1988,
286,
24894,
18,
46506,
327,
28270,
7,
35782,
62,
64,
436,
1373,
544,
8,
16034,
3084,
62,
940,
3553,
29119,
62,
17,
33411,
2210,
7661,
796,
24894,
18
] |
What Super G has Victories of 26, and a Country of austria? | SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = "austria" | [
2061,
3115,
402,
468,
6114,
1749,
286,
2608,
11,
290,
257,
12946,
286,
38132,
7496,
30,
46506,
2208,
62,
70,
16034,
3084,
62,
3672,
62,
3132,
33411,
19017,
796,
2608,
5357,
1499,
796,
366,
64,
436,
7496,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3115,
402,
468,
6114,
1749,
286,
2608,
11,
290,
257,
12946,
286,
38132,
7496,
30,
46506,
2208,
62,
70,
16034,
3084,
62,
3672,
62,
3132,
33411,
19017,
796,
2608,
5357,
1499,
796,
366,
64,
436,
7496,
1
] |
How many patients are admitted with transfer from hosp/extram and diagnosed with sec neuroend tumor-liver? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND diagnoses.short_title = "Sec neuroend tumor-liver" | [
2437,
867,
3871,
389,
6848,
351,
4351,
422,
10496,
14,
2302,
859,
290,
14641,
351,
792,
7669,
437,
22359,
12,
75,
1428,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
3871,
389,
6848,
351,
4351,
422,
10496,
14,
2302,
859,
290,
14641,
351,
792,
7669,
437,
22359,
12,
75,
1428,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
What is Player, when Pick is '3', when Position is 'Defense', and when Year is less than 2010? | SELECT "Player" FROM table_59769 WHERE "Pick" = '3' AND "Position" = 'defense' AND "Year" < '2010' | [
2061,
318,
7853,
11,
618,
12346,
318,
705,
18,
3256,
618,
23158,
318,
705,
27300,
3256,
290,
618,
6280,
318,
1342,
621,
3050,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
43239,
3388,
33411,
366,
31686,
1,
796,
705,
18,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
7853,
11,
618,
12346,
318,
705,
18,
3256,
618,
23158,
318,
705,
27300,
3256,
290,
618,
6280,
318,
1342,
621,
3050,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
43239,
3388,
33411,
366,
31686,
1,
796,
705,
18,
6,
5357,
366,
... |
What is the week of the game played on November 28, 1974? | SELECT MIN(week) FROM table_name_94 WHERE date = "november 28, 1974" | [
2061,
318,
262,
1285,
286,
262,
983,
2826,
319,
3389,
2579,
11,
16489,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
3128,
796,
366,
77,
3239,
2579,
11,
16489,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
983,
2826,
319,
3389,
2579,
11,
16489,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
3128,
796,
366,
77,
3239,
2579,
11,
16489,
1
] |
what is the order of the last year listed ? | SELECT "order" FROM table_204_737 ORDER BY id DESC LIMIT 1 | [
10919,
318,
262,
1502,
286,
262,
938,
614,
5610,
5633,
46506,
366,
2875,
1,
16034,
3084,
62,
18638,
62,
22,
2718,
38678,
11050,
4686,
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
] | [
10919,
318,
262,
1502,
286,
262,
938,
614,
5610,
5633,
46506,
366,
2875,
1,
16034,
3084,
62,
18638,
62,
22,
2718,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
what is the total number of titles in 2011 ? | SELECT COUNT("title") FROM table_204_927 WHERE "year" = 2011 | [
10919,
318,
262,
2472,
1271,
286,
8714,
287,
2813,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
24,
1983,
33411,
366,
1941,
1,
796,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
8714,
287,
2813,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
24,
1983,
33411,
366,
1941,
1,
796,
2813
] |
What is the lowest lane in the Czech Republic and a time larger than 21.05? | SELECT MIN("Lane") FROM table_64382 WHERE "Nationality" = 'czech republic' AND "Time" > '21.05' | [
2061,
318,
262,
9016,
11193,
287,
262,
16639,
2066,
290,
257,
640,
4025,
621,
2310,
13,
2713,
30,
46506,
20625,
7203,
43,
1531,
4943,
16034,
3084,
62,
2414,
36243,
33411,
366,
16186,
414,
1,
796,
705,
66,
15356,
17146,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
11193,
287,
262,
16639,
2066,
290,
257,
640,
4025,
621,
2310,
13,
2713,
30,
46506,
20625,
7203,
43,
1531,
4943,
16034,
3084,
62,
2414,
36243,
33411,
366,
16186,
414,
1,
796,
705,
66,
15356,
17146,
6,
5357,
366,
... |
Name the championship for clay and corrado barazzutti | SELECT "Championship" FROM table_73491 WHERE "Surface" = 'Clay' AND "Opponent in the final" = 'Corrado Barazzutti' | [
5376,
262,
12184,
329,
21558,
290,
1162,
81,
4533,
2318,
8101,
15318,
72,
46506,
366,
1925,
4350,
1056,
1,
16034,
3084,
62,
22,
2682,
6420,
33411,
366,
14214,
2550,
1,
796,
705,
2601,
323,
6,
5357,
366,
27524,
3471,
287,
262,
2457,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12184,
329,
21558,
290,
1162,
81,
4533,
2318,
8101,
15318,
72,
46506,
366,
1925,
4350,
1056,
1,
16034,
3084,
62,
22,
2682,
6420,
33411,
366,
14214,
2550,
1,
796,
705,
2601,
323,
6,
5357,
366,
27524,
3471,
287,
262,
2457,
... |
What is Joe Jonas' result at the Kids' Choice Awards Mexico? | SELECT "Result" FROM table_15555 WHERE "Recipient(s)" = 'joe jonas' AND "Award" = 'kids'' choice awards mexico' | [
2061,
318,
5689,
40458,
6,
1255,
379,
262,
17476,
6,
18502,
15434,
5828,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1314,
31046,
33411,
366,
6690,
48137,
7,
82,
16725,
796,
705,
73,
2577,
474,
261,
292,
6,
5357,
366,
32,
904,
1,
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
] | [
2061,
318,
5689,
40458,
6,
1255,
379,
262,
17476,
6,
18502,
15434,
5828,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1314,
31046,
33411,
366,
6690,
48137,
7,
82,
16725,
796,
705,
73,
2577,
474,
261,
292,
6,
5357,
366,
32,
904,
1,
7... |
which opponent is listed first in the table ? | SELECT "opponent" FROM table_204_151 WHERE id = 1 | [
4758,
6125,
318,
5610,
717,
287,
262,
3084,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
24309,
33411,
4686,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
6125,
318,
5610,
717,
287,
262,
3084,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
24309,
33411,
4686,
796,
352
] |
Who was the 4 lane person from Canada? | SELECT MIN(heat) FROM table_name_9 WHERE lane = 4 AND nationality = "canada" | [
8241,
373,
262,
604,
11193,
1048,
422,
3340,
30,
46506,
20625,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
11193,
796,
604,
5357,
29835,
796,
366,
5171,
4763,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
604,
11193,
1048,
422,
3340,
30,
46506,
20625,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
11193,
796,
604,
5357,
29835,
796,
366,
5171,
4763,
1
] |
A bar chart showing the number of tourist attractions for each attraction name, display X in desc order. | SELECT Name, COUNT(*) FROM Tourist_Attractions AS T1 JOIN Visits AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID ORDER BY Name DESC | [
32,
2318,
8262,
4478,
262,
1271,
286,
18473,
29156,
329,
1123,
17416,
1438,
11,
3359,
1395,
287,
1715,
1502,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9852,
396,
62,
8086,
37810,
7054,
309,
16,
32357,
1268,
6911,
896,
7054,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
4478,
262,
1271,
286,
18473,
29156,
329,
1123,
17416,
1438,
11,
3359,
1395,
287,
1715,
1502,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9852,
396,
62,
8086,
37810,
7054,
309,
16,
32357,
1268,
6911,
896,
7054,
30... |
What is the assists for the Team of Florida and the total points of 75? | SELECT "Assists" FROM table_40522 WHERE "Team" = 'florida' AND "Total Points" = '75' | [
2061,
318,
262,
13648,
329,
262,
4816,
286,
4744,
290,
262,
2472,
2173,
286,
5441,
30,
46506,
366,
8021,
1023,
1,
16034,
3084,
62,
26598,
1828,
33411,
366,
15592,
1,
796,
705,
2704,
273,
3755,
6,
5357,
366,
14957,
11045,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13648,
329,
262,
4816,
286,
4744,
290,
262,
2472,
2173,
286,
5441,
30,
46506,
366,
8021,
1023,
1,
16034,
3084,
62,
26598,
1828,
33411,
366,
15592,
1,
796,
705,
2704,
273,
3755,
6,
5357,
366,
14957,
11045,
1,
796,
705... |
What Nationality's time is 2:07.64? | SELECT "Nationality" FROM table_67970 WHERE "Time" = '2:07.64' | [
2061,
2351,
414,
338,
640,
318,
362,
25,
2998,
13,
2414,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
37601,
2154,
33411,
366,
7575,
1,
796,
705,
17,
25,
2998,
13,
2414,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2351,
414,
338,
640,
318,
362,
25,
2998,
13,
2414,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
37601,
2154,
33411,
366,
7575,
1,
796,
705,
17,
25,
2998,
13,
2414,
6
] |
What is the hometown of the player which has a height of 6-0? | SELECT "Hometown" FROM table_57884 WHERE "Height" = '6-0' | [
2061,
318,
262,
20994,
286,
262,
2137,
543,
468,
257,
6001,
286,
718,
12,
15,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
3553,
40353,
33411,
366,
23106,
1,
796,
705,
21,
12,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
20994,
286,
262,
2137,
543,
468,
257,
6001,
286,
718,
12,
15,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
3553,
40353,
33411,
366,
23106,
1,
796,
705,
21,
12,
15,
6
] |
What is every conformity to original design if registration is HB-DAI? | SELECT "Conformity to original design" FROM table_24844 WHERE "Registration" = 'HB-DAI' | [
2061,
318,
790,
39974,
284,
2656,
1486,
611,
9352,
318,
25997,
12,
5631,
40,
30,
46506,
366,
3103,
687,
414,
284,
2656,
1486,
1,
16034,
3084,
62,
23045,
2598,
33411,
366,
47133,
1,
796,
705,
32886,
12,
5631,
40,
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
] | [
2061,
318,
790,
39974,
284,
2656,
1486,
611,
9352,
318,
25997,
12,
5631,
40,
30,
46506,
366,
3103,
687,
414,
284,
2656,
1486,
1,
16034,
3084,
62,
23045,
2598,
33411,
366,
47133,
1,
796,
705,
32886,
12,
5631,
40,
6
] |
Who is the opponent with a score of 6 5 13? | SELECT "Opponent" FROM table_77899 WHERE "Score" = '6–5 13' | [
8241,
318,
262,
6125,
351,
257,
4776,
286,
718,
642,
1511,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
39761,
2079,
33411,
366,
26595,
1,
796,
705,
21,
1906,
20,
1511,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
6125,
351,
257,
4776,
286,
718,
642,
1511,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
39761,
2079,
33411,
366,
26595,
1,
796,
705,
21,
1906,
20,
1511,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.