instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the number of points when there was a BMW 269 F2 chassis earlier than 1969? | SELECT COUNT("Points") FROM table_15719 WHERE "Chassis" = 'bmw 269 f2' AND "Year" < '1969' | [
2061,
318,
262,
1271,
286,
2173,
618,
612,
373,
257,
19339,
38249,
376,
17,
24587,
2961,
621,
16450,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
18458,
1129,
33411,
366,
1925,
20297,
1,
796,
705,
20475,
86,
38249,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
2173,
618,
612,
373,
257,
19339,
38249,
376,
17,
24587,
2961,
621,
16450,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
18458,
1129,
33411,
366,
1925,
20297,
1,
796,
705,
20475,
86,
38249,
277,
... |
how many patients since 2105 have received other gastrostomy two times? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'other gastrostomy') A... | [
4919,
867,
3871,
1201,
362,
13348,
423,
2722,
584,
21956,
23341,
9145,
734,
1661,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
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,
1,
1,
1,
1... | [
4919,
867,
3871,
1201,
362,
13348,
423,
2722,
584,
21956,
23341,
9145,
734,
1661,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
327,
28270,
7,
28104... |
What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7? | SELECT model FROM table_name_6 WHERE green_rating = "g" AND manufacturer = "chrysler jeep" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7 | [
2061,
2746,
468,
257,
308,
4077,
7955,
11,
468,
442,
19753,
1754,
11223,
538,
355,
257,
11554,
11,
468,
281,
300,
14,
3064,
13276,
7876,
357,
36673,
8,
1342,
621,
1248,
11,
290,
468,
281,
285,
6024,
12,
2724,
5929,
286,
2681,
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... | [
2061,
2746,
468,
257,
308,
4077,
7955,
11,
468,
442,
19753,
1754,
11223,
538,
355,
257,
11554,
11,
468,
281,
300,
14,
3064,
13276,
7876,
357,
36673,
8,
1342,
621,
1248,
11,
290,
468,
281,
285,
6024,
12,
2724,
5929,
286,
2681,
13,
... |
For all employees who have the letters D or S in their first name, show me about the distribution of job_id and the average of employee_id , and group by attribute job_id in a bar chart, sort x axis in desc order please. | SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
... |
how many pylons are in austria ? | SELECT COUNT("name") FROM table_203_375 WHERE "country" = 'austria' | [
4919,
867,
279,
2645,
684,
389,
287,
38132,
7496,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
22318,
33411,
366,
19315,
1,
796,
705,
64,
436,
7496,
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
] | [
4919,
867,
279,
2645,
684,
389,
287,
38132,
7496,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
22318,
33411,
366,
19315,
1,
796,
705,
64,
436,
7496,
6
] |
What is the lowest number in the Labour Party for the Fianna Fail higher than 5? | SELECT MIN(labour_party) FROM table_name_16 WHERE fianna_fáil > 5 | [
2061,
318,
262,
9016,
1271,
287,
262,
7179,
3615,
329,
262,
376,
666,
2616,
18448,
2440,
621,
642,
30,
46506,
20625,
7,
23912,
454,
62,
10608,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
41668,
2616,
62,
69,
6557,
346,
1875,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
287,
262,
7179,
3615,
329,
262,
376,
666,
2616,
18448,
2440,
621,
642,
30,
46506,
20625,
7,
23912,
454,
62,
10608,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
41668,
2616,
62,
69,
6557,
346,
1875,
642
] |
how many songs were released for each format?, order in asc by the x axis. | SELECT formats, COUNT(*) FROM files GROUP BY formats ORDER BY formats | [
4919,
867,
7259,
547,
2716,
329,
1123,
5794,
21747,
1502,
287,
10570,
416,
262,
2124,
16488,
13,
46506,
17519,
11,
327,
28270,
7,
28104,
16034,
3696,
44441,
11050,
17519,
38678,
11050,
17519
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
7259,
547,
2716,
329,
1123,
5794,
21747,
1502,
287,
10570,
416,
262,
2124,
16488,
13,
46506,
17519,
11,
327,
28270,
7,
28104,
16034,
3696,
44441,
11050,
17519,
38678,
11050,
17519
] |
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active? | SELECT "Extortion/Theft 3" FROM table_72687 WHERE "United Nations Mission" = 'United Nations Observer Mission Uganda-Rwanda' | [
2061,
318,
262,
38583,
290,
12402,
3965,
810,
262,
1578,
7973,
27058,
12633,
30872,
12,
49,
86,
5282,
318,
4075,
30,
46506,
366,
11627,
5817,
14,
464,
701,
513,
1,
16034,
3084,
62,
22,
2075,
5774,
33411,
366,
17013,
7973,
12633,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38583,
290,
12402,
3965,
810,
262,
1578,
7973,
27058,
12633,
30872,
12,
49,
86,
5282,
318,
4075,
30,
46506,
366,
11627,
5817,
14,
464,
701,
513,
1,
16034,
3084,
62,
22,
2075,
5774,
33411,
366,
17013,
7973,
12633,
1,
... |
What is the number of wins for gp2 series for racing engineering? | SELECT COUNT("Wins") FROM table_16113 WHERE "Series" = 'GP2 Series' AND "Team" = 'Racing Engineering' | [
2061,
318,
262,
1271,
286,
7864,
329,
27809,
17,
2168,
329,
11717,
8705,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
1433,
16616,
33411,
366,
27996,
1,
796,
705,
16960,
17,
7171,
6,
5357,
366,
15592,
1,
796,
705,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
7864,
329,
27809,
17,
2168,
329,
11717,
8705,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
1433,
16616,
33411,
366,
27996,
1,
796,
705,
16960,
17,
7171,
6,
5357,
366,
15592,
1,
796,
705,
4... |
How many engineers did each staff contact? List both the contact staff name and number of engineers contacted in a bar chart. | SELECT staff_name, COUNT(*) FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id GROUP BY T1.staff_name | [
2437,
867,
12037,
750,
1123,
3085,
2800,
30,
7343,
1111,
262,
2800,
3085,
1438,
290,
1271,
286,
12037,
11237,
287,
257,
2318,
8262,
13,
46506,
3085,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
9983,
7054,
309,
16,
32357,
1268,
23164,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
12037,
750,
1123,
3085,
2800,
30,
7343,
1111,
262,
2800,
3085,
1438,
290,
1271,
286,
12037,
11237,
287,
257,
2318,
8262,
13,
46506,
3085,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
9983,
7054,
309,
16,
32357,
1268,
23164,
6... |
What is the number of generators where the power capicity is 78.7? | SELECT COUNT(number_of_generators) FROM table_11456251_5 WHERE power_capacity__gw_ = "78.7" | [
2061,
318,
262,
1271,
286,
27298,
810,
262,
1176,
1451,
8467,
318,
8699,
13,
22,
30,
46506,
327,
28270,
7,
17618,
62,
1659,
62,
8612,
2024,
8,
16034,
3084,
62,
1157,
2231,
26704,
16,
62,
20,
33411,
1176,
62,
42404,
834,
70,
86,
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
] | [
2061,
318,
262,
1271,
286,
27298,
810,
262,
1176,
1451,
8467,
318,
8699,
13,
22,
30,
46506,
327,
28270,
7,
17618,
62,
1659,
62,
8612,
2024,
8,
16034,
3084,
62,
1157,
2231,
26704,
16,
62,
20,
33411,
1176,
62,
42404,
834,
70,
86,
62... |
Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje? | SELECT "Sub-Parish (Sogn)" FROM table_59790 WHERE "Church Name" = 'jostedal kyrkje' | [
13828,
3834,
12,
10044,
680,
357,
50,
2360,
8,
468,
257,
4928,
3706,
449,
455,
276,
282,
42748,
74,
18015,
30,
46506,
366,
7004,
12,
10044,
680,
357,
50,
2360,
16725,
16034,
3084,
62,
3270,
37750,
33411,
366,
46686,
6530,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3834,
12,
10044,
680,
357,
50,
2360,
8,
468,
257,
4928,
3706,
449,
455,
276,
282,
42748,
74,
18015,
30,
46506,
366,
7004,
12,
10044,
680,
357,
50,
2360,
16725,
16034,
3084,
62,
3270,
37750,
33411,
366,
46686,
6530,
1,
796,
70... |
what was patient 011-35642 diagnosed with the first time until 4 years ago? | SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-35642')) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CU... | [
10919,
373,
5827,
5534,
16,
12,
2327,
41290,
14641,
351,
262,
717,
640,
1566,
604,
812,
2084,
30,
46506,
13669,
13,
47356,
5958,
3672,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
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... | [
10919,
373,
5827,
5534,
16,
12,
2327,
41290,
14641,
351,
262,
717,
640,
1566,
604,
812,
2084,
30,
46506,
13669,
13,
47356,
5958,
3672,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
3... |
get me the number of patients who had abnormal lab test status with a diagnoses of 31-32 completed weeks of gestation. | 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 = "31-32 comp wks gestation" AND lab.flag = "abnormal" | [
1136,
502,
262,
1271,
286,
3871,
508,
550,
18801,
2248,
1332,
3722,
351,
257,
40567,
286,
3261,
12,
2624,
5668,
2745,
286,
47110,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
502,
262,
1271,
286,
3871,
508,
550,
18801,
2248,
1332,
3722,
351,
257,
40567,
286,
3261,
12,
2624,
5668,
2745,
286,
47110,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... |
Bar chart x axis location y axis sum total passengers | SELECT Location, SUM(Total_Passengers) FROM station GROUP BY Location | [
10374,
8262,
2124,
16488,
4067,
331,
16488,
2160,
2472,
10405,
46506,
13397,
11,
35683,
7,
14957,
62,
14478,
9302,
8,
16034,
4429,
44441,
11050,
13397
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
4067,
331,
16488,
2160,
2472,
10405,
46506,
13397,
11,
35683,
7,
14957,
62,
14478,
9302,
8,
16034,
4429,
44441,
11050,
13397
] |
when was patient 28279 discharged for the first time this year? | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 28279 AND DATETIME(admissions.dischtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.dischtime LIMIT 1 | [
12518,
373,
5827,
2579,
26050,
26476,
329,
262,
717,
640,
428,
614,
30,
46506,
25349,
13,
6381,
354,
2435,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
2579,
26050,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
6381,
354,
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... | [
12518,
373,
5827,
2579,
26050,
26476,
329,
262,
717,
640,
428,
614,
30,
46506,
25349,
13,
6381,
354,
2435,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
2579,
26050,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
6381,
354,
24... |
What is the lowest First Elected, when Results is 'Re-elected', and when Incumbent is 'Lincoln Davis'? | SELECT MIN(first_elected) FROM table_name_38 WHERE results = "re-elected" AND incumbent = "lincoln davis" | [
2061,
318,
262,
9016,
3274,
5903,
276,
11,
618,
15691,
318,
705,
3041,
12,
28604,
3256,
290,
618,
3457,
2178,
298,
318,
705,
43,
11690,
7802,
30960,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
2482,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3274,
5903,
276,
11,
618,
15691,
318,
705,
3041,
12,
28604,
3256,
290,
618,
3457,
2178,
298,
318,
705,
43,
11690,
7802,
30960,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
2482,
... |
i want to fly DALLAS to SAN FRANCISCO on monday 7 8 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND date_day.day_number = 8 AND date_day.month_number = 7 ... | [
72,
765,
284,
6129,
360,
7036,
1921,
284,
37376,
8782,
20940,
1797,
8220,
319,
285,
3204,
767,
807,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
765,
284,
6129,
360,
7036,
1921,
284,
37376,
8782,
20940,
1797,
8220,
319,
285,
3204,
767,
807,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003... |
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov? | SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997" | [
2061,
318,
262,
3670,
286,
262,
905,
351,
1342,
621,
838,
7028,
326,
18530,
319,
2693,
2808,
11,
8309,
290,
318,
7924,
416,
21574,
2580,
2645,
709,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
3388,
33411,
1622,
834,
17618,
1279,
838,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
286,
262,
905,
351,
1342,
621,
838,
7028,
326,
18530,
319,
2693,
2808,
11,
8309,
290,
318,
7924,
416,
21574,
2580,
2645,
709,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
3388,
33411,
1622,
834,
17618,
1279,
838,
... |
looking for a flight from TORONTO to SAN DIEGO | 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 = 'TORONTO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN DI... | [
11534,
329,
257,
5474,
422,
40691,
1340,
10468,
284,
37376,
14766,
7156,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
316... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
11534,
329,
257,
5474,
422,
40691,
1340,
10468,
284,
37376,
14766,
7156,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
316... |
What is the highest number of goals scored | SELECT MAX(goals¹) FROM table_24565004_7 | [
2061,
318,
262,
4511,
1271,
286,
4661,
7781,
46506,
25882,
7,
2188,
874,
126,
117,
8,
16034,
3084,
62,
22995,
2996,
22914,
62,
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
] | [
2061,
318,
262,
4511,
1271,
286,
4661,
7781,
46506,
25882,
7,
2188,
874,
126,
117,
8,
16034,
3084,
62,
22995,
2996,
22914,
62,
22
] |
What are the name, latitude, and city of the station with the lowest latitude? | SELECT name, lat, city FROM station ORDER BY lat LIMIT 1 | [
2061,
389,
262,
1438,
11,
32477,
11,
290,
1748,
286,
262,
4429,
351,
262,
9016,
32477,
30,
46506,
1438,
11,
3042,
11,
1748,
16034,
4429,
38678,
11050,
3042,
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
] | [
2061,
389,
262,
1438,
11,
32477,
11,
290,
1748,
286,
262,
4429,
351,
262,
9016,
32477,
30,
46506,
1438,
11,
3042,
11,
1748,
16034,
4429,
38678,
11050,
3042,
27564,
2043,
352
] |
What is the away team's score at punt road oval? | SELECT "Away team" FROM table_53098 WHERE "Venue" = 'punt road oval' | [
2061,
318,
262,
1497,
1074,
338,
4776,
379,
35363,
2975,
41186,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
38612,
4089,
33411,
366,
37522,
518,
1,
796,
705,
79,
2797,
2975,
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
] | [
2061,
318,
262,
1497,
1074,
338,
4776,
379,
35363,
2975,
41186,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
38612,
4089,
33411,
366,
37522,
518,
1,
796,
705,
79,
2797,
2975,
41186,
6
] |
What is the lowest 2008 when the 2009 was 7,006, and a 2006 larger than 4,844? | SELECT MIN("2008") FROM table_7097 WHERE "2009" = '7,006' AND "2006" > '4,844' | [
2061,
318,
262,
9016,
3648,
618,
262,
3717,
373,
767,
11,
28041,
11,
290,
257,
4793,
4025,
621,
604,
11,
23,
2598,
30,
46506,
20625,
7203,
11528,
4943,
16034,
3084,
62,
2154,
5607,
33411,
366,
10531,
1,
796,
705,
22,
11,
28041,
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,
1,
1
] | [
2061,
318,
262,
9016,
3648,
618,
262,
3717,
373,
767,
11,
28041,
11,
290,
257,
4793,
4025,
621,
604,
11,
23,
2598,
30,
46506,
20625,
7203,
11528,
4943,
16034,
3084,
62,
2154,
5607,
33411,
366,
10531,
1,
796,
705,
22,
11,
28041,
6,
... |
what is the average for January with points of 51 | SELECT "January" FROM table_74858 WHERE "Points" = '51' | [
10919,
318,
262,
2811,
329,
3269,
351,
2173,
286,
6885,
46506,
366,
21339,
1,
16034,
3084,
62,
48246,
3365,
33411,
366,
40710,
1,
796,
705,
4349,
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
] | [
10919,
318,
262,
2811,
329,
3269,
351,
2173,
286,
6885,
46506,
366,
21339,
1,
16034,
3084,
62,
48246,
3365,
33411,
366,
40710,
1,
796,
705,
4349,
6
] |
For those employees who did not have any job in the past, return a scatter chart about the correlation between employee_id and manager_id . | SELECT EMPLOYEE_ID, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
4706,
62,
312,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
17254,
4760,
1137,
62,
2389,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
6538,
62,
312,
290,
4706,
62,
312,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
17254,
4760,
1137,
62,
2389,
1... |
What is the result of the friendly competition on 23 January 2010? | SELECT "Result" FROM table_62000 WHERE "Competition" = 'friendly' AND "Date" = '23 january 2010' | [
2061,
318,
262,
1255,
286,
262,
8030,
5449,
319,
2242,
3269,
3050,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
5237,
830,
33411,
366,
7293,
15620,
1,
796,
705,
13120,
6,
5357,
366,
10430,
1,
796,
705,
1954,
42897,
2838,
3050,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
8030,
5449,
319,
2242,
3269,
3050,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
5237,
830,
33411,
366,
7293,
15620,
1,
796,
705,
13120,
6,
5357,
366,
10430,
1,
796,
705,
1954,
42897,
2838,
3050,
6
] |
What was the label in the region of Canada? | SELECT label FROM table_name_57 WHERE region = "canada" | [
2061,
373,
262,
6167,
287,
262,
3814,
286,
3340,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
3553,
33411,
3814,
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
] | [
2061,
373,
262,
6167,
287,
262,
3814,
286,
3340,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
3553,
33411,
3814,
796,
366,
5171,
4763,
1
] |
count the number of patients who had the intake of amicar since 4 years ago. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT intakeoutput.patientunitstayid FROM intakeoutput WHERE intakeoutput.celllabel = 'amicar' AND intakeoutput.cellpath LIKE '%input%' AND DATETIME(intakeoutput.intakeoutputtime) >= DATETIME(CURRENT_TIME(), '-4 year')) | [
9127,
262,
1271,
286,
3871,
508,
550,
262,
10337,
286,
716,
291,
283,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
550,
262,
10337,
286,
716,
291,
283,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
32... |
What is the Player with Versus with australia? | SELECT player FROM table_name_34 WHERE versus = "australia" | [
2061,
318,
262,
7853,
351,
44079,
351,
38132,
1373,
544,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2682,
33411,
9051,
796,
366,
64,
436,
1373,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7853,
351,
44079,
351,
38132,
1373,
544,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2682,
33411,
9051,
796,
366,
64,
436,
1373,
544,
1
] |
Find newest comment by a user. | SELECT PostId AS "post_link", CreationDate FROM Comments WHERE UserId = @UserId ORDER BY CreationDate DESC LIMIT 5 | [
16742,
15530,
2912,
416,
257,
2836,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
15530,
2912,
416,
257,
2836,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
642
] |
What is the record for Big Ten Team #4 Purdue? | SELECT winner FROM table_23058971_8 WHERE big_ten_team = "#4 Purdue" | [
2061,
318,
262,
1700,
329,
4403,
9368,
4816,
1303,
19,
34699,
30,
46506,
8464,
16034,
3084,
62,
19214,
44169,
4869,
62,
23,
33411,
1263,
62,
1452,
62,
15097,
796,
25113,
19,
34699,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
329,
4403,
9368,
4816,
1303,
19,
34699,
30,
46506,
8464,
16034,
3084,
62,
19214,
44169,
4869,
62,
23,
33411,
1263,
62,
1452,
62,
15097,
796,
25113,
19,
34699,
1
] |
Who wrote the story viewed by 0.53 million viewers? | SELECT story_by FROM table_26914076_3 WHERE us_viewers__millions_ = "0.53" | [
8241,
2630,
262,
1621,
9569,
416,
657,
13,
4310,
1510,
10209,
30,
46506,
1621,
62,
1525,
16034,
3084,
62,
26276,
1415,
2998,
21,
62,
18,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
15,
13,
4310,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2630,
262,
1621,
9569,
416,
657,
13,
4310,
1510,
10209,
30,
46506,
1621,
62,
1525,
16034,
3084,
62,
26276,
1415,
2998,
21,
62,
18,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
15,
13,
4310,
1
] |
What was the table position for the team whose outgoing manager was Brian Laws? | SELECT "Position in table" FROM table_28800 WHERE "Outgoing manager" = 'Brian Laws' | [
2061,
373,
262,
3084,
2292,
329,
262,
1074,
3025,
28181,
4706,
373,
8403,
21153,
30,
46506,
366,
26545,
287,
3084,
1,
16034,
3084,
62,
2078,
7410,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
24761,
21153,
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,
3084,
2292,
329,
262,
1074,
3025,
28181,
4706,
373,
8403,
21153,
30,
46506,
366,
26545,
287,
3084,
1,
16034,
3084,
62,
2078,
7410,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
24761,
21153,
6
] |
what are the numbers of wines for different grapes?, and show x-axis from high to low order. | SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY Grape DESC | [
10919,
389,
262,
3146,
286,
30680,
329,
1180,
36656,
21747,
290,
905,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
48315,
11,
327,
28270,
7,
28104,
16034,
8237,
44441,
11050,
48315,
38678,
11050,
48315,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
3146,
286,
30680,
329,
1180,
36656,
21747,
290,
905,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
48315,
11,
327,
28270,
7,
28104,
16034,
8237,
44441,
11050,
48315,
38678,
11050,
48315,
22196,
34
] |
how many patients whose diagnoses short title is fetal/neonatal jaund nos 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 = "Fetal/neonatal jaund NOS" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
27652,
14,
710,
261,
10254,
474,
14677,
43630,
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,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
27652,
14,
710,
261,
10254,
474,
14677,
43630,
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,
21... |
Find the number of patients who stayed in hospital for more than 15 days and have an imdu30 drug code. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "15" AND prescriptions.formulary_drug_cd = "IMDU30" | [
16742,
262,
1271,
286,
3871,
508,
9658,
287,
4436,
329,
517,
621,
1315,
1528,
290,
423,
281,
545,
646,
1270,
2563,
2438,
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... | [
16742,
262,
1271,
286,
3871,
508,
9658,
287,
4436,
329,
517,
621,
1315,
1528,
290,
423,
281,
545,
646,
1270,
2563,
2438,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx? | SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx" | [
2061,
1312,
14,
78,
16893,
389,
3917,
351,
262,
406,
9273,
12279,
20,
17802,
11,
257,
2438,
1438,
286,
17581,
10290,
357,
41375,
8,
290,
257,
4508,
1438,
286,
7231,
1312,
18,
12,
2481,
5324,
30,
46506,
1312,
62,
78,
62,
10885,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
1312,
14,
78,
16893,
389,
3917,
351,
262,
406,
9273,
12279,
20,
17802,
11,
257,
2438,
1438,
286,
17581,
10290,
357,
41375,
8,
290,
257,
4508,
1438,
286,
7231,
1312,
18,
12,
2481,
5324,
30,
46506,
1312,
62,
78,
62,
10885,
16034... |
Which 2007 has a 2006 of A, and a Tournament of canada? | SELECT 2007 FROM table_name_8 WHERE 2006 = "a" AND tournament = "canada" | [
13828,
4343,
468,
257,
4793,
286,
317,
11,
290,
257,
9595,
286,
460,
4763,
30,
46506,
4343,
16034,
3084,
62,
3672,
62,
23,
33411,
4793,
796,
366,
64,
1,
5357,
7756,
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,
1,
1,
1,
1,
1
] | [
13828,
4343,
468,
257,
4793,
286,
317,
11,
290,
257,
9595,
286,
460,
4763,
30,
46506,
4343,
16034,
3084,
62,
3672,
62,
23,
33411,
4793,
796,
366,
64,
1,
5357,
7756,
796,
366,
5171,
4763,
1
] |
What is the number of people on board at Iberia Airline, with the aircraft type of lockheed l-1049g? | SELECT AVG("People on board") FROM table_78733 WHERE "Airline" = 'iberia' AND "Aircraft type" = 'lockheed l-1049g' | [
2061,
318,
262,
1271,
286,
661,
319,
3096,
379,
314,
527,
544,
3701,
1370,
11,
351,
262,
6215,
2099,
286,
5793,
23616,
300,
12,
940,
2920,
70,
30,
46506,
35224,
7203,
8061,
319,
3096,
4943,
16034,
3084,
62,
41019,
2091,
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... | [
2061,
318,
262,
1271,
286,
661,
319,
3096,
379,
314,
527,
544,
3701,
1370,
11,
351,
262,
6215,
2099,
286,
5793,
23616,
300,
12,
940,
2920,
70,
30,
46506,
35224,
7203,
8061,
319,
3096,
4943,
16034,
3084,
62,
41019,
2091,
33411,
366,
... |
What is the sum of Round with a Pick that is 55? | SELECT SUM(round) FROM table_name_89 WHERE pick = 55 | [
2061,
318,
262,
2160,
286,
10485,
351,
257,
12346,
326,
318,
5996,
30,
46506,
35683,
7,
744,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
2298,
796,
5996
] | [
1,
1,
1,
1,
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,
2160,
286,
10485,
351,
257,
12346,
326,
318,
5996,
30,
46506,
35683,
7,
744,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
2298,
796,
5996
] |
when was patient 022-127262 for the last time prescribed a drug via sub-q route during the last hospital encounter? | SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-127262' AND NOT patient.hospitaldischargetime IS NULL ORDE... | [
12518,
373,
5827,
657,
1828,
12,
16799,
29119,
329,
262,
938,
640,
14798,
257,
2563,
2884,
850,
12,
80,
6339,
1141,
262,
938,
4436,
8791,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
5827,
657,
1828,
12,
16799,
29119,
329,
262,
938,
640,
14798,
257,
2563,
2884,
850,
12,
80,
6339,
1141,
262,
938,
4436,
8791,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,... |
what is the average yearly number of people diagnosed with dental caries nec until 1 year ago? | SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'dental caries nec') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-1 year') GROUP... | [
10919,
318,
262,
2811,
24169,
1271,
286,
661,
14641,
351,
22727,
1097,
444,
27576,
1566,
352,
614,
2084,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
291,
67,
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... | [
10919,
318,
262,
2811,
24169,
1271,
286,
661,
14641,
351,
22727,
1097,
444,
27576,
1566,
352,
614,
2084,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
291,
67,
13,
1... |
How many points are there on november 7? | SELECT MAX(points) FROM table_name_94 WHERE november = 7 | [
2437,
867,
2173,
389,
612,
319,
645,
303,
1916,
767,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
645,
303,
1916,
796,
767
] | [
1,
1,
1,
1,
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,
389,
612,
319,
645,
303,
1916,
767,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
645,
303,
1916,
796,
767
] |
Which player went to Emporia State? | SELECT player_name FROM table_10361230_1 WHERE college = "Emporia State" | [
13828,
2137,
1816,
284,
2295,
1819,
544,
1812,
30,
46506,
2137,
62,
3672,
16034,
3084,
62,
940,
2623,
1065,
1270,
62,
16,
33411,
4152,
796,
366,
10161,
1819,
544,
1812,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1816,
284,
2295,
1819,
544,
1812,
30,
46506,
2137,
62,
3672,
16034,
3084,
62,
940,
2623,
1065,
1270,
62,
16,
33411,
4152,
796,
366,
10161,
1819,
544,
1812,
1
] |
what is the top listed player ? | SELECT "player" FROM table_204_635 WHERE id = 1 | [
10919,
318,
262,
1353,
5610,
2137,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
48250,
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
] | [
10919,
318,
262,
1353,
5610,
2137,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
48250,
33411,
4686,
796,
352
] |
What is the Tv Time of the game with an Attendance of 73,578? | SELECT "TV Time" FROM table_63058 WHERE "Attendance" = '73,578' | [
2061,
318,
262,
309,
85,
3862,
286,
262,
983,
351,
281,
46502,
590,
286,
8854,
11,
38907,
30,
46506,
366,
6849,
3862,
1,
16034,
3084,
62,
30005,
3365,
33411,
366,
8086,
437,
590,
1,
796,
705,
4790,
11,
38907,
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,
262,
309,
85,
3862,
286,
262,
983,
351,
281,
46502,
590,
286,
8854,
11,
38907,
30,
46506,
366,
6849,
3862,
1,
16034,
3084,
62,
30005,
3365,
33411,
366,
8086,
437,
590,
1,
796,
705,
4790,
11,
38907,
6
] |
For those records from the products and each product's manufacturer, a scatter chart shows the correlation between manufacturer and revenue . | SELECT Manufacturer, Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
11554,
290,
6426,
764,
46506,
40218,
11,
20197,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
11554,
290,
6426,
764,
46506,
40218,
11,
20197,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309... |
Which Colliery has a Death toll of 7? | SELECT colliery FROM table_name_76 WHERE death_toll = 7 | [
13828,
7778,
23012,
468,
257,
5830,
13592,
286,
767,
30,
46506,
2927,
23012,
16034,
3084,
62,
3672,
62,
4304,
33411,
1918,
62,
83,
692,
796,
767
] | [
1,
1,
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,
7778,
23012,
468,
257,
5830,
13592,
286,
767,
30,
46506,
2927,
23012,
16034,
3084,
62,
3672,
62,
4304,
33411,
1918,
62,
83,
692,
796,
767
] |
What's the name of the episode associated with Nick production number 342? | SELECT "Episode title" FROM table_28767 WHERE "Nick prod. #" = '342' | [
2061,
338,
262,
1438,
286,
262,
4471,
3917,
351,
8047,
3227,
1271,
44341,
30,
46506,
366,
23758,
3670,
1,
16034,
3084,
62,
27800,
3134,
33411,
366,
23609,
40426,
13,
1303,
1,
796,
705,
31575,
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,
338,
262,
1438,
286,
262,
4471,
3917,
351,
8047,
3227,
1271,
44341,
30,
46506,
366,
23758,
3670,
1,
16034,
3084,
62,
27800,
3134,
33411,
366,
23609,
40426,
13,
1303,
1,
796,
705,
31575,
6
] |
get me the number of patients less than 62 years who have prescription for clobetasol propionate 0.05% ointment. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "62" AND prescriptions.drug = "Clobetasol Propionate 0.05% Ointment" | [
1136,
502,
262,
1271,
286,
3871,
1342,
621,
8190,
812,
508,
423,
15077,
329,
537,
672,
316,
292,
349,
2632,
295,
378,
657,
13,
2713,
4,
267,
600,
434,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
502,
262,
1271,
286,
3871,
1342,
621,
8190,
812,
508,
423,
15077,
329,
537,
672,
316,
292,
349,
2632,
295,
378,
657,
13,
2713,
4,
267,
600,
434,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
Emily Mahan , does he teach any upper-level courses ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.ins... | [
48640,
8882,
272,
837,
857,
339,
4545,
597,
6727,
12,
5715,
10902,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
48640,
8882,
272,
837,
857,
339,
4545,
597,
6727,
12,
5715,
10902,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
... |
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, give me the comparison about the sum of manager_id over the hire_date bin hire_date by time by a bar chart, order from low to high by the total number. | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(MANAGER_ID) | [
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
4706,
62,
312,
625,
262,
11078,
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... | [
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
4706,
62,
312,
625,
262,
11078,
62,
... |
What engine was in the lotus 44 f2 Chassis? | SELECT engine FROM table_name_27 WHERE chassis = "lotus 44 f2" | [
2061,
3113,
373,
287,
262,
1256,
385,
5846,
277,
17,
609,
20297,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
1983,
33411,
24587,
796,
366,
26487,
385,
5846,
277,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3113,
373,
287,
262,
1256,
385,
5846,
277,
17,
609,
20297,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
1983,
33411,
24587,
796,
366,
26487,
385,
5846,
277,
17,
1
] |
list the flights from INDIANAPOLIS to MEMPHIS that leave before 1200 | 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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MEMPHIS' AND flight.departure_time < 1200 AND flight.to_airport = AIRPORT_SERVICE_1.airpo... | [
4868,
262,
13956,
422,
24413,
16868,
2969,
3535,
1797,
284,
35153,
11909,
1797,
326,
2666,
878,
24938,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
900... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
262,
13956,
422,
24413,
16868,
2969,
3535,
1797,
284,
35153,
11909,
1797,
326,
2666,
878,
24938,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
900... |
how many days is it since patient 006-133605 last had a procedure on this hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-133605... | [
4919,
867,
1528,
318,
340,
1201,
5827,
3571,
21,
12,
1485,
15277,
20,
938,
550,
257,
8771,
319,
428,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
340,
1201,
5827,
3571,
21,
12,
1485,
15277,
20,
938,
550,
257,
8771,
319,
428,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,... |
What is the acronym for the name Malay of Kolej Komuniti Sungai Petani? | SELECT "Acronym" FROM table_61910 WHERE "Name in Malay" = 'kolej komuniti sungai petani' | [
2061,
318,
262,
38787,
329,
262,
1438,
4434,
323,
286,
509,
2305,
73,
32364,
403,
8846,
29802,
1872,
4767,
3216,
30,
46506,
366,
12832,
1313,
4948,
1,
16034,
3084,
62,
21,
1129,
940,
33411,
366,
5376,
287,
4434,
323,
1,
796,
705,
74... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38787,
329,
262,
1438,
4434,
323,
286,
509,
2305,
73,
32364,
403,
8846,
29802,
1872,
4767,
3216,
30,
46506,
366,
12832,
1313,
4948,
1,
16034,
3084,
62,
21,
1129,
940,
33411,
366,
5376,
287,
4434,
323,
1,
796,
705,
74... |
tell me the drug that was prescribed to patient 6580 for the last time through the po route since 04/2105? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6580) AND prescriptions.route = 'po' AND STRFTIME('%y-%m', prescriptions.startdate) >= '2105-04' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
33331,
502,
262,
2563,
326,
373,
14798,
284,
5827,
6135,
1795,
329,
262,
938,
640,
832,
262,
745,
6339,
1201,
8702,
14,
17,
13348,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
2534... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
326,
373,
14798,
284,
5827,
6135,
1795,
329,
262,
938,
640,
832,
262,
745,
6339,
1201,
8702,
14,
17,
13348,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
2534... |
What is the score for game 78? | SELECT score FROM table_23284271_10 WHERE game = 78 | [
2061,
318,
262,
4776,
329,
983,
8699,
30,
46506,
4776,
16034,
3084,
62,
1954,
30336,
28977,
62,
940,
33411,
983,
796,
8699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
329,
983,
8699,
30,
46506,
4776,
16034,
3084,
62,
1954,
30336,
28977,
62,
940,
33411,
983,
796,
8699
] |
What is the 1999 answer when 1998 is Grand Slam Tournaments? | SELECT 1999 FROM table_name_80 WHERE 1998 = "grand slam tournaments" | [
2061,
318,
262,
7358,
3280,
618,
7795,
318,
5675,
30382,
309,
16950,
30,
46506,
7358,
16034,
3084,
62,
3672,
62,
1795,
33411,
7795,
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,
1,
1
] | [
2061,
318,
262,
7358,
3280,
618,
7795,
318,
5675,
30382,
309,
16950,
30,
46506,
7358,
16034,
3084,
62,
3672,
62,
1795,
33411,
7795,
796,
366,
23936,
21158,
18130,
1
] |
What is the western title of the pinyin new ch oj m l u xi ngd ? | SELECT "Western Title" FROM table_40839 WHERE "Pinyin" = 'new chāojí mǎlìōu xiōngdì' | [
2061,
318,
262,
8830,
3670,
286,
262,
279,
3541,
259,
649,
442,
267,
73,
285,
300,
334,
2124,
72,
299,
21287,
5633,
46506,
366,
24227,
11851,
1,
16034,
3084,
62,
26200,
2670,
33411,
366,
47,
3541,
259,
1,
796,
705,
3605,
442,
10235,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8830,
3670,
286,
262,
279,
3541,
259,
649,
442,
267,
73,
285,
300,
334,
2124,
72,
299,
21287,
5633,
46506,
366,
24227,
11851,
1,
16034,
3084,
62,
26200,
2670,
33411,
366,
47,
3541,
259,
1,
796,
705,
3605,
442,
10235,... |
how many college with player being rich voltzke | SELECT COUNT("College") FROM table_19496 WHERE "Player" = 'Rich Voltzke' | [
4919,
867,
4152,
351,
2137,
852,
5527,
13161,
89,
365,
46506,
327,
28270,
7203,
38951,
4943,
16034,
3084,
62,
1129,
37747,
33411,
366,
14140,
1,
796,
705,
14868,
22702,
89,
365,
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
] | [
4919,
867,
4152,
351,
2137,
852,
5527,
13161,
89,
365,
46506,
327,
28270,
7203,
38951,
4943,
16034,
3084,
62,
1129,
37747,
33411,
366,
14140,
1,
796,
705,
14868,
22702,
89,
365,
6
] |
What party is the person who was first elected in 2000 and was re-elected? | SELECT "Party" FROM table_60572 WHERE "Results" = 're-elected' AND "First elected" = '2000' | [
2061,
2151,
318,
262,
1048,
508,
373,
717,
7018,
287,
4751,
290,
373,
302,
12,
28604,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
1899,
48724,
33411,
366,
25468,
1,
796,
705,
260,
12,
28604,
6,
5357,
366,
5962,
7018,
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,
1
] | [
2061,
2151,
318,
262,
1048,
508,
373,
717,
7018,
287,
4751,
290,
373,
302,
12,
28604,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
1899,
48724,
33411,
366,
25468,
1,
796,
705,
260,
12,
28604,
6,
5357,
366,
5962,
7018,
1,
796,
705,
1... |
until 2104, what are the top five most frequent lab tests ordered for patients in the same month after being diagnosed with tachycardia nos? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.i... | [
28446,
362,
13464,
11,
644,
389,
262,
1353,
1936,
749,
10792,
2248,
5254,
6149,
329,
3871,
287,
262,
976,
1227,
706,
852,
14641,
351,
256,
35586,
9517,
544,
43630,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
362,
13464,
11,
644,
389,
262,
1353,
1936,
749,
10792,
2248,
5254,
6149,
329,
3871,
287,
262,
976,
1227,
706,
852,
14641,
351,
256,
35586,
9517,
544,
43630,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23... |
For each user, find their name and the number of reviews written by them Show bar chart, order y-axis in asc order. | SELECT name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id ORDER BY COUNT(*) | [
1890,
1123,
2836,
11,
1064,
511,
1438,
290,
262,
1271,
286,
8088,
3194,
416,
606,
5438,
2318,
8262,
11,
1502,
331,
12,
22704,
287,
10570,
1502,
13,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
2836,
330,
310,
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... | [
1890,
1123,
2836,
11,
1064,
511,
1438,
290,
262,
1271,
286,
8088,
3194,
416,
606,
5438,
2318,
8262,
11,
1502,
331,
12,
22704,
287,
10570,
1502,
13,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
2836,
330,
310,
7054,
309,
16,
32357,
... |
What was the final score of the game against opponent Ana Ivanovic? | SELECT score FROM table_name_75 WHERE opponent_in_the_final = "ana ivanovic" | [
2061,
373,
262,
2457,
4776,
286,
262,
983,
1028,
6125,
17639,
21798,
17215,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
2271,
220,
13809,
17215,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
983,
1028,
6125,
17639,
21798,
17215,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
2271,
220,
13809,
17215,
1
] |
For those records from the products and each product's manufacturer, give me the comparison about the amount of headquarter over the headquarter , and group by attribute headquarter by a bar chart, and show x-axis in desc order. | SELECT Headquarter, COUNT(Headquarter) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
11,
290,
905,
2124,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
11,
290,
905,
2124,
12,
... |
What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82? | SELECT AVG("Interview") FROM table_52659 WHERE "Evening gown" < '8.82' AND "State" = 'louisiana' | [
2061,
318,
262,
2811,
2720,
4776,
286,
257,
44047,
422,
13340,
351,
281,
6180,
33323,
4833,
621,
807,
13,
6469,
30,
46506,
35224,
7203,
39945,
4943,
16034,
3084,
62,
48531,
3270,
33411,
366,
6104,
278,
33323,
1,
1279,
705,
23,
13,
646... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2720,
4776,
286,
257,
44047,
422,
13340,
351,
281,
6180,
33323,
4833,
621,
807,
13,
6469,
30,
46506,
35224,
7203,
39945,
4943,
16034,
3084,
62,
48531,
3270,
33411,
366,
6104,
278,
33323,
1,
1279,
705,
23,
13,
646... |
How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting? | SELECT SUM(attendance) FROM table_name_6 WHERE visitor = "cleveland" AND leading_scorer = "larry hughes(33)" | [
2437,
867,
661,
9141,
262,
983,
618,
13633,
19712,
7,
2091,
8,
373,
262,
3756,
30664,
290,
1190,
9731,
373,
10013,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
21493,
796,
366,
2375,
9731,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
9141,
262,
983,
618,
13633,
19712,
7,
2091,
8,
373,
262,
3756,
30664,
290,
1190,
9731,
373,
10013,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
21493,
796,
366,
2375,
9731,
1,
5357,
... |
When were the anonymous votes cast?. | SELECT pf.PostId AS "post_link", pf.VoteTypeId AS Type, pf.CreationDate AS Date, p.LastActivityDate FROM PostFeedback AS pf JOIN Posts AS p ON p.Id = pf.PostId WHERE p.Id = '##PostId##' GROUP BY pf.PostId, pf.VoteTypeId, pf.CreationDate, p.LastActivityDate ORDER BY pf.CreationDate | [
2215,
547,
262,
11614,
5690,
3350,
30,
13,
46506,
279,
69,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
69,
13,
37394,
6030,
7390,
7054,
5994,
11,
279,
69,
13,
12443,
341,
10430,
7054,
7536,
11,
279,
13,
5956,
16516,
10430,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
547,
262,
11614,
5690,
3350,
30,
13,
46506,
279,
69,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
69,
13,
37394,
6030,
7390,
7054,
5994,
11,
279,
69,
13,
12443,
341,
10430,
7054,
7536,
11,
279,
13,
5956,
16516,
10430,... |
Find the sum of credits of courses that have more than one prerequisite for each title with a bar chart, sort sum credits in desc order please. | SELECT title, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY SUM(credits) DESC | [
16742,
262,
2160,
286,
10824,
286,
10902,
326,
423,
517,
621,
530,
43119,
329,
1123,
3670,
351,
257,
2318,
8262,
11,
3297,
2160,
10824,
287,
1715,
1502,
3387,
13,
46506,
3670,
11,
35683,
7,
66,
20696,
8,
16034,
1781,
7054,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
2160,
286,
10824,
286,
10902,
326,
423,
517,
621,
530,
43119,
329,
1123,
3670,
351,
257,
2318,
8262,
11,
3297,
2160,
10824,
287,
1715,
1502,
3387,
13,
46506,
3670,
11,
35683,
7,
66,
20696,
8,
16034,
1781,
7054,
309,
16,
... |
What is the score of the match on 3 March 1988 at the estadio nacional? | SELECT score FROM table_name_73 WHERE venue = "estadio nacional" AND date = "3 march 1988" | [
2061,
318,
262,
4776,
286,
262,
2872,
319,
513,
2805,
12122,
379,
262,
1556,
324,
952,
299,
330,
1538,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4790,
33411,
14359,
796,
366,
395,
324,
952,
299,
330,
1538,
1,
5357,
3128,
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
] | [
2061,
318,
262,
4776,
286,
262,
2872,
319,
513,
2805,
12122,
379,
262,
1556,
324,
952,
299,
330,
1538,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4790,
33411,
14359,
796,
366,
395,
324,
952,
299,
330,
1538,
1,
5357,
3128,
796,
366,... |
Name the opponent for week 12 | SELECT opponent FROM table_24126606_2 WHERE week = 12 | [
5376,
262,
6125,
329,
1285,
1105,
46506,
6125,
16034,
3084,
62,
1731,
19420,
33206,
62,
17,
33411,
1285,
796,
1105
] | [
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,
6125,
16034,
3084,
62,
1731,
19420,
33206,
62,
17,
33411,
1285,
796,
1105
] |
What number of patients were diagnosed for neonatal hypoglycemia and their lab test category was chemistry? | 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.long_title = "Neonatal hypoglycemia" AND lab."CATEGORY" = "Chemistry" | [
2061,
1271,
286,
3871,
547,
14641,
329,
25988,
10254,
5328,
34619,
344,
20730,
290,
511,
2248,
1332,
6536,
373,
16585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
547,
14641,
329,
25988,
10254,
5328,
34619,
344,
20730,
290,
511,
2248,
1332,
6536,
373,
16585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
Show the names and heights of buildings with at least two institutions founded after 1880 by a bar chart, and could you order by the total number from low to high please? | SELECT Name, Height_feet FROM building AS T1 JOIN Institution AS T2 ON T1.building_id = T2.building_id WHERE T2.Founded > 1880 ORDER BY Height_feet | [
15307,
262,
3891,
290,
23245,
286,
6832,
351,
379,
1551,
734,
6712,
9393,
706,
34865,
416,
257,
2318,
8262,
11,
290,
714,
345,
1502,
416,
262,
2472,
1271,
422,
1877,
284,
1029,
3387,
30,
46506,
6530,
11,
27280,
62,
39690,
16034,
2615,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
290,
23245,
286,
6832,
351,
379,
1551,
734,
6712,
9393,
706,
34865,
416,
257,
2318,
8262,
11,
290,
714,
345,
1502,
416,
262,
2472,
1271,
422,
1877,
284,
1029,
3387,
30,
46506,
6530,
11,
27280,
62,
39690,
16034,
2615,... |
What is the booking end dates of the apartments with type code 'Duplex'? Bin the year into weekday interval with a bar chart, and sort by the Y in asc. | SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" ORDER BY COUNT(booking_start_date) | [
2061,
318,
262,
25452,
886,
9667,
286,
262,
19592,
351,
2099,
2438,
705,
35,
929,
2588,
30960,
20828,
262,
614,
656,
28269,
16654,
351,
257,
2318,
8262,
11,
290,
3297,
416,
262,
575,
287,
10570,
13,
46506,
25452,
62,
437,
62,
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... | [
2061,
318,
262,
25452,
886,
9667,
286,
262,
19592,
351,
2099,
2438,
705,
35,
929,
2588,
30960,
20828,
262,
614,
656,
28269,
16654,
351,
257,
2318,
8262,
11,
290,
3297,
416,
262,
575,
287,
10570,
13,
46506,
25452,
62,
437,
62,
4475,
... |
what is the total intake (ml)-ng/og tube nasogastric left mouth amount that patient 035-166 received? | 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 = '035-166')) AND intakeoutput.celllabel = 'intake ... | [
10919,
318,
262,
2472,
10337,
357,
4029,
13219,
782,
14,
519,
12403,
25221,
519,
459,
1173,
1364,
5422,
2033,
326,
5827,
657,
2327,
12,
23055,
2722,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10337,
357,
4029,
13219,
782,
14,
519,
12403,
25221,
519,
459,
1173,
1364,
5422,
2033,
326,
5827,
657,
2327,
12,
23055,
2722,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337... |
How many netflow version are there when the vendor and type is enterasys switches? | SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches" | [
2437,
867,
2010,
11125,
2196,
389,
612,
618,
262,
18371,
290,
2099,
318,
3802,
292,
893,
18225,
30,
46506,
327,
28270,
7,
3262,
11125,
62,
9641,
8,
16034,
3084,
62,
1065,
3312,
16562,
62,
17,
33411,
18371,
62,
392,
62,
4906,
796,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2010,
11125,
2196,
389,
612,
618,
262,
18371,
290,
2099,
318,
3802,
292,
893,
18225,
30,
46506,
327,
28270,
7,
3262,
11125,
62,
9641,
8,
16034,
3084,
62,
1065,
3312,
16562,
62,
17,
33411,
18371,
62,
392,
62,
4906,
796,
36... |
Top 20 users ordered total score for tag and location. | SELECT u.Id AS "user_link", TagName, SUM(Posts.Score) AS Score FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Users AS u ON u.Id = Posts.OwnerUserId WHERE LOWER(Location) LIKE LOWER('%##Location##%') AND TagName = '##TagName##' GROUP BY u.Id, Ta... | [
9126,
1160,
2985,
6149,
2472,
4776,
329,
7621,
290,
4067,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
17467,
5376,
11,
35683,
7,
21496,
13,
26595,
8,
7054,
15178,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
1160,
2985,
6149,
2472,
4776,
329,
7621,
290,
4067,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
17467,
5376,
11,
35683,
7,
21496,
13,
26595,
8,
7054,
15178,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,... |
What is the average Top-10, when Wins is less than 0? | SELECT AVG("Top-10") FROM table_41494 WHERE "Wins" < '0' | [
2061,
318,
262,
2811,
5849,
12,
940,
11,
618,
24423,
318,
1342,
621,
657,
30,
46506,
35224,
7203,
9126,
12,
940,
4943,
16034,
3084,
62,
37309,
5824,
33411,
366,
54,
1040,
1,
1279,
705,
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,
2811,
5849,
12,
940,
11,
618,
24423,
318,
1342,
621,
657,
30,
46506,
35224,
7203,
9126,
12,
940,
4943,
16034,
3084,
62,
37309,
5824,
33411,
366,
54,
1040,
1,
1279,
705,
15,
6
] |
What is Competition, when Date is 'January 11, 1996', when Venue is 'San Diego , United States'? | SELECT "Competition" FROM table_78716 WHERE "Date" = 'january 11, 1996' AND "Venue" = 'san diego , united states' | [
2061,
318,
27348,
11,
618,
7536,
318,
705,
21339,
1367,
11,
8235,
3256,
618,
9932,
518,
318,
705,
15017,
9500,
837,
1578,
1829,
30960,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
41019,
1433,
33411,
366,
10430,
1,
796,
705,
13881,
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
] | [
2061,
318,
27348,
11,
618,
7536,
318,
705,
21339,
1367,
11,
8235,
3256,
618,
9932,
518,
318,
705,
15017,
9500,
837,
1578,
1829,
30960,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
41019,
1433,
33411,
366,
10430,
1,
796,
705,
13881,
28... |
What year was the Guernsey record of 2-3-12 set? | SELECT "Year" FROM table_65233 WHERE "Guernsey Record" = '2-3-12' | [
2061,
614,
373,
262,
1962,
1142,
4397,
1700,
286,
362,
12,
18,
12,
1065,
900,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2996,
25429,
33411,
366,
8205,
1142,
4397,
13266,
1,
796,
705,
17,
12,
18,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
1962,
1142,
4397,
1700,
286,
362,
12,
18,
12,
1065,
900,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2996,
25429,
33411,
366,
8205,
1142,
4397,
13266,
1,
796,
705,
17,
12,
18,
12,
1065,
6
] |
Find the department name of the instructor whose name contains 'Soisalon'. | SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%' | [
16742,
262,
5011,
1438,
286,
262,
21187,
3025,
1438,
4909,
705,
2396,
28456,
261,
4458,
46506,
390,
457,
62,
3672,
16034,
21187,
33411,
1438,
34178,
705,
4,
2396,
28456,
261,
4,
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
] | [
16742,
262,
5011,
1438,
286,
262,
21187,
3025,
1438,
4909,
705,
2396,
28456,
261,
4458,
46506,
390,
457,
62,
3672,
16034,
21187,
33411,
1438,
34178,
705,
4,
2396,
28456,
261,
4,
6
] |
What is the highest pick number from Slovakia? | SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = "slovakia" | [
2061,
318,
262,
4511,
2298,
1271,
422,
36839,
30,
46506,
25882,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
29835,
796,
366,
6649,
709,
21897,
1
] | [
1,
1,
1,
1,
1,
1,
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,
422,
36839,
30,
46506,
25882,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
29835,
796,
366,
6649,
709,
21897,
1
] |
Name the lg for ermengol | SELECT "L G" FROM table_22760 WHERE "Player" = 'Ermengol' | [
5376,
262,
300,
70,
329,
1931,
76,
1516,
349,
46506,
366,
43,
402,
1,
16034,
3084,
62,
24403,
1899,
33411,
366,
14140,
1,
796,
705,
9139,
76,
1516,
349,
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
] | [
5376,
262,
300,
70,
329,
1931,
76,
1516,
349,
46506,
366,
43,
402,
1,
16034,
3084,
62,
24403,
1899,
33411,
366,
14140,
1,
796,
705,
9139,
76,
1516,
349,
6
] |
What position did kyle mckenzie play? | SELECT "Position" FROM table_9068 WHERE "Name" = 'kyle mckenzie' | [
2061,
2292,
750,
479,
2349,
285,
694,
26389,
711,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3829,
3104,
33411,
366,
5376,
1,
796,
705,
74,
2349,
285,
694,
26389,
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,
2292,
750,
479,
2349,
285,
694,
26389,
711,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3829,
3104,
33411,
366,
5376,
1,
796,
705,
74,
2349,
285,
694,
26389,
6
] |
What is the highest pennant number with ships in pori class? | SELECT MAX("Pennant Number") FROM table_56364 WHERE "Ships in class" = 'pori' | [
2061,
318,
262,
4511,
22429,
415,
1271,
351,
7937,
287,
279,
10145,
1398,
30,
46506,
25882,
7203,
39899,
415,
7913,
4943,
16034,
3084,
62,
3980,
26780,
33411,
366,
50,
5748,
287,
1398,
1,
796,
705,
1819,
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,
4511,
22429,
415,
1271,
351,
7937,
287,
279,
10145,
1398,
30,
46506,
25882,
7203,
39899,
415,
7913,
4943,
16034,
3084,
62,
3980,
26780,
33411,
366,
50,
5748,
287,
1398,
1,
796,
705,
1819,
72,
6
] |
Who was the away team that scored 12.10 (82)? | SELECT "Away team" FROM table_9932 WHERE "Away team score" = '12.10 (82)' | [
8241,
373,
262,
1497,
1074,
326,
7781,
1105,
13,
940,
357,
6469,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2079,
2624,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1065,
13,
940,
357,
6469,
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
] | [
8241,
373,
262,
1497,
1074,
326,
7781,
1105,
13,
940,
357,
6469,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2079,
2624,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1065,
13,
940,
357,
6469,
33047
] |
Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up? | SELECT champion FROM table_29295463_9 WHERE runner_up = "Scott Davis Chris Dunk" | [
8241,
373,
262,
8783,
287,
262,
7756,
810,
4746,
7802,
5180,
39303,
373,
262,
17490,
510,
30,
46506,
8783,
16034,
3084,
62,
1959,
25710,
38380,
62,
24,
33411,
17490,
62,
929,
796,
366,
19040,
7802,
5180,
39303,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8783,
287,
262,
7756,
810,
4746,
7802,
5180,
39303,
373,
262,
17490,
510,
30,
46506,
8783,
16034,
3084,
62,
1959,
25710,
38380,
62,
24,
33411,
17490,
62,
929,
796,
366,
19040,
7802,
5180,
39303,
1
] |
what is the percentile for the bedside glucose 157.0 among patients of the same age as patient 002-76184 on their last hospital encounter. | SELECT DISTINCT t1.c1 FROM (SELECT lab.labresult, PERCENT_RANK() OVER (ORDER BY lab.labresult) AS c1 FROM lab WHERE lab.labname = 'bedside glucose' AND lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age = (SELECT patient.age FROM patient WHERE patient.uniquepid = '002-76184' AND N... | [
10919,
318,
262,
37894,
329,
262,
3996,
1589,
15701,
23313,
13,
15,
1871,
3871,
286,
262,
976,
2479,
355,
5827,
3571,
17,
12,
4304,
22883,
319,
511,
938,
4436,
8791,
13,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
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,
37894,
329,
262,
3996,
1589,
15701,
23313,
13,
15,
1871,
3871,
286,
262,
976,
2479,
355,
5827,
3571,
17,
12,
4304,
22883,
319,
511,
938,
4436,
8791,
13,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,... |
what kind of ground transportation is available in ATLANTA | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'ATLANTA' AND ground_service.city_code = city.city_code | [
10919,
1611,
286,
2323,
9358,
318,
1695,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1611,
286,
2323,
9358,
318,
1695,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
... |
which ferris wheel was completed in 2008 and has the height of 165 ? | SELECT "name" FROM table_201_2 WHERE "completed" = 2008 AND "height\nm (ft)" = 165 | [
4758,
11354,
2442,
7825,
373,
5668,
287,
3648,
290,
468,
262,
6001,
286,
21409,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
1264,
62,
17,
33411,
366,
785,
16838,
1,
796,
3648,
5357,
366,
17015,
59,
21533,
357,
701,
16725,
796,
21409
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11354,
2442,
7825,
373,
5668,
287,
3648,
290,
468,
262,
6001,
286,
21409,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
1264,
62,
17,
33411,
366,
785,
16838,
1,
796,
3648,
5357,
366,
17015,
59,
21533,
357,
701,
16725,
796,
21409
] |
what 's the lowest round trip fare from DALLAS to any city | SELECT DISTINCT fare.fare_id FROM airport_service, city, fare, flight, flight_fare WHERE city.city_code = airport_service.city_code AND city.city_name = 'DALLAS' AND fare.round_trip_cost = (SELECT MIN(FAREalias1.round_trip_cost) FROM airport_service AS AIRPORT_SERVICEalias1, city AS CITYalias1, fare AS FAREalias1, flig... | [
10919,
705,
82,
262,
9016,
2835,
5296,
14505,
422,
360,
7036,
1921,
284,
597,
1748,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
1748,
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,
705,
82,
262,
9016,
2835,
5296,
14505,
422,
360,
7036,
1921,
284,
597,
1748,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
1748,
13,
... |
Show different types of ships and the number of ships of each type Show bar chart, list in ascending by the names. | SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY Type | [
15307,
1180,
3858,
286,
7937,
290,
262,
1271,
286,
7937,
286,
1123,
2099,
5438,
2318,
8262,
11,
1351,
287,
41988,
416,
262,
3891,
13,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
4074,
44441,
11050,
5994,
38678,
11050,
5994
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
3858,
286,
7937,
290,
262,
1271,
286,
7937,
286,
1123,
2099,
5438,
2318,
8262,
11,
1351,
287,
41988,
416,
262,
3891,
13,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
4074,
44441,
11050,
5994,
38678,
11050,
5994
] |
how many black/haitian patients have phenylephrine medication prescription? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND prescriptions.drug = "Phenylephrine" | [
4919,
867,
2042,
14,
3099,
270,
666,
3871,
423,
6566,
2349,
47723,
14103,
15077,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
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... | [
4919,
867,
2042,
14,
3099,
270,
666,
3871,
423,
6566,
2349,
47723,
14103,
15077,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
... |
What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? | SELECT COUNT("Mintage") FROM table_78082 WHERE "Theme" = '85th anniversary of vimy ridge' AND "Year" > '2002' | [
2061,
373,
262,
2472,
285,
14630,
329,
812,
706,
6244,
326,
550,
257,
7600,
400,
21967,
286,
36645,
88,
20614,
7505,
30,
46506,
327,
28270,
7203,
44,
14630,
4943,
16034,
3084,
62,
40873,
6469,
33411,
366,
47863,
1,
796,
705,
5332,
400... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
285,
14630,
329,
812,
706,
6244,
326,
550,
257,
7600,
400,
21967,
286,
36645,
88,
20614,
7505,
30,
46506,
327,
28270,
7203,
44,
14630,
4943,
16034,
3084,
62,
40873,
6469,
33411,
366,
47863,
1,
796,
705,
5332,
400... |
What is Score, when To Par is 'E'? | SELECT score FROM table_name_8 WHERE to_par = "e" | [
2061,
318,
15178,
11,
618,
1675,
2547,
318,
705,
36,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
284,
62,
1845,
796,
366,
68,
1
] | [
1,
1,
1,
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,
15178,
11,
618,
1675,
2547,
318,
705,
36,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
284,
62,
1845,
796,
366,
68,
1
] |
What are the transfers in for Hungary? | SELECT transfers_in FROM table_name_36 WHERE country = "hungary" | [
2061,
389,
262,
16395,
287,
329,
19562,
30,
46506,
16395,
62,
259,
16034,
3084,
62,
3672,
62,
2623,
33411,
1499,
796,
366,
43274,
560,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
16395,
287,
329,
19562,
30,
46506,
16395,
62,
259,
16034,
3084,
62,
3672,
62,
2623,
33411,
1499,
796,
366,
43274,
560,
1
] |
what is the minimum daily number of patients that are suffering from pleural effusion - left? | SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'pleural effusion - left' GROUP BY STRFTIME('%y-%m-%d', diagnosis.diagnosistime)) AS t1 | [
10919,
318,
262,
5288,
4445,
1271,
286,
3871,
326,
389,
7195,
422,
3339,
1523,
914,
4241,
532,
1364,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
13669,
13,
26029,
20850,
31712,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5288,
4445,
1271,
286,
3871,
326,
389,
7195,
422,
3339,
1523,
914,
4241,
532,
1364,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
13669,
13,
26029,
20850,
31712,... |
Show the name of each county along with the corresponding number of delegates from that county. | SELECT County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY T1.County_Id | [
15307,
262,
1438,
286,
1123,
7968,
1863,
351,
262,
11188,
1271,
286,
15265,
422,
326,
7968,
13,
46506,
3418,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
7968,
7054,
309,
16,
32357,
1268,
3071,
7054,
309,
17,
6177,
309,
16,
13,
12332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
1123,
7968,
1863,
351,
262,
11188,
1271,
286,
15265,
422,
326,
7968,
13,
46506,
3418,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
7968,
7054,
309,
16,
32357,
1268,
3071,
7054,
309,
17,
6177,
309,
16,
13,
12332,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.