instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
I want a bar chart to show the total cloud cover of the dates that have the 5 highest cloud cover rates each year, and I want to display in asc by the total number. | SELECT date, SUM(cloud_cover) FROM weather ORDER BY SUM(cloud_cover) | [
40,
765,
257,
2318,
8262,
284,
905,
262,
2472,
6279,
3002,
286,
262,
9667,
326,
423,
262,
642,
4511,
6279,
3002,
3965,
1123,
614,
11,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
3128,
11,
35683,
7,
17721,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
284,
905,
262,
2472,
6279,
3002,
286,
262,
9667,
326,
423,
262,
642,
4511,
6279,
3002,
3965,
1123,
614,
11,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
3128,
11,
35683,
7,
17721,
... |
which country was first in rank at the 1972 olympics ? | SELECT "nation" FROM table_204_822 WHERE "rank" = 1 | [
4758,
1499,
373,
717,
287,
4279,
379,
262,
16101,
267,
6760,
873,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
23,
1828,
33411,
366,
43027,
1,
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,
1,
1,
1,
1,
1,
1
] | [
4758,
1499,
373,
717,
287,
4279,
379,
262,
16101,
267,
6760,
873,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
23,
1828,
33411,
366,
43027,
1,
796,
352
] |
Which Date has a Pictorials of mercedes mcnab, girls of hawaiian tropic? | SELECT "Date" FROM table_39929 WHERE "Pictorials" = 'mercedes mcnab, girls of hawaiian tropic' | [
13828,
7536,
468,
257,
10780,
5132,
82,
286,
4017,
19285,
285,
31522,
397,
11,
4813,
286,
23185,
1872,
666,
14673,
291,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
28771,
1959,
33411,
366,
21300,
5132,
82,
1,
796,
705,
647,
19285,
285,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
10780,
5132,
82,
286,
4017,
19285,
285,
31522,
397,
11,
4813,
286,
23185,
1872,
666,
14673,
291,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
28771,
1959,
33411,
366,
21300,
5132,
82,
1,
796,
705,
647,
19285,
285,... |
what was the number of people who attended game number six ? | SELECT "attendance" FROM table_203_410 WHERE "game" = 6 | [
10919,
373,
262,
1271,
286,
661,
508,
9141,
983,
1271,
2237,
5633,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
22416,
62,
33289,
33411,
366,
6057,
1,
796,
718
] | [
1,
1,
1,
1,
1,
1,
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,
1271,
286,
661,
508,
9141,
983,
1271,
2237,
5633,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
22416,
62,
33289,
33411,
366,
6057,
1,
796,
718
] |
What is the Second Party where Sir Christopher William Codrington is the First Member and Hon. Francis Charteris is the Second Member? | SELECT "2nd Party" FROM table_53215 WHERE "1st Member" = 'sir christopher william codrington' AND "2nd Member" = 'hon. francis charteris' | [
2061,
318,
262,
5498,
3615,
810,
7361,
12803,
3977,
18720,
24833,
318,
262,
3274,
10239,
290,
8835,
13,
12155,
23006,
271,
318,
262,
5498,
10239,
30,
46506,
366,
17,
358,
3615,
1,
16034,
3084,
62,
20,
2624,
1314,
33411,
366,
16,
301,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5498,
3615,
810,
7361,
12803,
3977,
18720,
24833,
318,
262,
3274,
10239,
290,
8835,
13,
12155,
23006,
271,
318,
262,
5498,
10239,
30,
46506,
366,
17,
358,
3615,
1,
16034,
3084,
62,
20,
2624,
1314,
33411,
366,
16,
301,
... |
What was the largest capacity when the club was F.C. Igea Virtus Barcellona? | SELECT MAX("Capacity") FROM table_58729 WHERE "Club" = 'f.c. igea virtus barcellona' | [
2061,
373,
262,
4387,
5339,
618,
262,
3430,
373,
376,
13,
34,
13,
314,
469,
64,
11285,
385,
2409,
3846,
4450,
30,
46506,
25882,
7203,
15610,
4355,
4943,
16034,
3084,
62,
44617,
1959,
33411,
366,
42350,
1,
796,
705,
69,
13,
66,
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
] | [
2061,
373,
262,
4387,
5339,
618,
262,
3430,
373,
376,
13,
34,
13,
314,
469,
64,
11285,
385,
2409,
3846,
4450,
30,
46506,
25882,
7203,
15610,
4355,
4943,
16034,
3084,
62,
44617,
1959,
33411,
366,
42350,
1,
796,
705,
69,
13,
66,
13,
... |
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, visualize a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by weekday. | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
2... |
How many womens singles winners were there when peter rasmussen won the mens singles? | SELECT COUNT("Womens singles") FROM table_17385 WHERE "Mens singles" = 'Peter Rasmussen' | [
2437,
867,
1116,
641,
25287,
14591,
547,
612,
618,
279,
2357,
374,
8597,
35951,
1839,
262,
285,
641,
25287,
30,
46506,
327,
28270,
7203,
54,
296,
641,
25287,
4943,
16034,
3084,
62,
1558,
27203,
33411,
366,
44,
641,
25287,
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
] | [
2437,
867,
1116,
641,
25287,
14591,
547,
612,
618,
279,
2357,
374,
8597,
35951,
1839,
262,
285,
641,
25287,
30,
46506,
327,
28270,
7203,
54,
296,
641,
25287,
4943,
16034,
3084,
62,
1558,
27203,
33411,
366,
44,
641,
25287,
1,
796,
705,... |
How many draws did gary o'shaughnessy have? | SELECT SUM("Draw") FROM table_7646 WHERE "Performer" = 'gary o''shaughnessy' | [
2437,
867,
14293,
750,
308,
560,
267,
338,
71,
1567,
1108,
88,
423,
30,
46506,
35683,
7203,
25302,
4943,
16034,
3084,
62,
22,
27720,
33411,
366,
5990,
16354,
1,
796,
705,
14849,
267,
7061,
1477,
1567,
1108,
88,
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
] | [
2437,
867,
14293,
750,
308,
560,
267,
338,
71,
1567,
1108,
88,
423,
30,
46506,
35683,
7203,
25302,
4943,
16034,
3084,
62,
22,
27720,
33411,
366,
5990,
16354,
1,
796,
705,
14849,
267,
7061,
1477,
1567,
1108,
88,
6
] |
Name the least clock rate mhz when designation is rimm 4200 | SELECT MIN("Clock rate (MHz)") FROM table_19204 WHERE "Designation" = 'RIMM 4200' | [
5376,
262,
1551,
8801,
2494,
285,
32179,
618,
22566,
318,
374,
8608,
604,
2167,
46506,
20625,
7203,
44758,
2494,
357,
25983,
8,
4943,
16034,
3084,
62,
1129,
18638,
33411,
366,
23067,
341,
1,
796,
705,
49,
3955,
44,
604,
2167,
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
] | [
5376,
262,
1551,
8801,
2494,
285,
32179,
618,
22566,
318,
374,
8608,
604,
2167,
46506,
20625,
7203,
44758,
2494,
357,
25983,
8,
4943,
16034,
3084,
62,
1129,
18638,
33411,
366,
23067,
341,
1,
796,
705,
49,
3955,
44,
604,
2167,
6
] |
What writers are associated with a viewing figure of 7.01 million? | SELECT "Writer" FROM table_19801 WHERE "Viewing figure" = '7.01 million' | [
2061,
8786,
389,
3917,
351,
257,
11681,
3785,
286,
767,
13,
486,
1510,
30,
46506,
366,
34379,
1,
16034,
3084,
62,
22337,
486,
33411,
366,
7680,
278,
3785,
1,
796,
705,
22,
13,
486,
1510,
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,
8786,
389,
3917,
351,
257,
11681,
3785,
286,
767,
13,
486,
1510,
30,
46506,
366,
34379,
1,
16034,
3084,
62,
22337,
486,
33411,
366,
7680,
278,
3785,
1,
796,
705,
22,
13,
486,
1510,
6
] |
What is the highest geohash length when the lat error is 0.00068, and the lat bits larger than 17? | SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 17 | [
2061,
318,
262,
4511,
4903,
1219,
1077,
4129,
618,
262,
3042,
4049,
318,
657,
13,
830,
3104,
11,
290,
262,
3042,
10340,
4025,
621,
1596,
30,
46506,
25882,
7,
469,
1219,
1077,
62,
13664,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
304... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4903,
1219,
1077,
4129,
618,
262,
3042,
4049,
318,
657,
13,
830,
3104,
11,
290,
262,
3042,
10340,
4025,
621,
1596,
30,
46506,
25882,
7,
469,
1219,
1077,
62,
13664,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
304... |
tell me the one year survival rate of patients who were prescribed nateglinide after being diagnosed with poison-antipsychotic nec? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd... | [
33331,
502,
262,
530,
614,
9441,
2494,
286,
3871,
508,
547,
14798,
299,
2397,
2815,
485,
706,
852,
14641,
351,
8764,
12,
415,
541,
2924,
6210,
27576,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
530,
614,
9441,
2494,
286,
3871,
508,
547,
14798,
299,
2397,
2815,
485,
706,
852,
14641,
351,
8764,
12,
415,
541,
2924,
6210,
27576,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
... |
What is the ERP W with a call sign at w261cq? | SELECT "ERP W" FROM table_39394 WHERE "Call sign" = 'w261cq' | [
2061,
318,
262,
13793,
47,
370,
351,
257,
869,
1051,
379,
266,
30057,
66,
80,
30,
46506,
366,
1137,
47,
370,
1,
16034,
3084,
62,
2670,
34626,
33411,
366,
14134,
1051,
1,
796,
705,
86,
30057,
66,
80,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13793,
47,
370,
351,
257,
869,
1051,
379,
266,
30057,
66,
80,
30,
46506,
366,
1137,
47,
370,
1,
16034,
3084,
62,
2670,
34626,
33411,
366,
14134,
1051,
1,
796,
705,
86,
30057,
66,
80,
6
] |
What is total number of ARABAM 405 sections ? | SELECT COUNT(*) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'ARABAM' AND course.number = 405 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
2061,
318,
2472,
1271,
286,
317,
3861,
33,
2390,
36966,
9004,
5633,
46506,
327,
28270,
7,
28104,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
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... | [
2061,
318,
2472,
1271,
286,
317,
3861,
33,
2390,
36966,
9004,
5633,
46506,
327,
28270,
7,
28104,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
... |
how many hours has it been since patient 025-44842 stayed in the ward 925 during the current hospital encounter for the last time? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '025-44842' AND patient.wardid = 925 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 | [
4919,
867,
2250,
468,
340,
587,
1201,
5827,
657,
1495,
12,
31115,
3682,
9658,
287,
262,
15305,
860,
1495,
1141,
262,
1459,
4436,
8791,
329,
262,
938,
640,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
340,
587,
1201,
5827,
657,
1495,
12,
31115,
3682,
9658,
287,
262,
15305,
860,
1495,
1141,
262,
1459,
4436,
8791,
329,
262,
938,
640,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,... |
Post and Answer counts per user with reputation. | WITH qs AS (SELECT COUNT(p.Id) AS "NumQuestion", u.Id, u.DisplayName, u.Reputation FROM Posts AS p JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.PostTypeId = 1 AND u.Reputation > 10 GROUP BY u.Id, u.Reputation, u.DisplayName, p.PostTypeId), ans AS (SELECT COUNT(p.Id) AS "NumAnswer", u.Id FROM Posts AS p JOIN Users AS... | [
6307,
290,
23998,
9853,
583,
2836,
351,
8507,
13,
54,
10554,
10662,
82,
7054,
357,
46506,
327,
28270,
7,
79,
13,
7390,
8,
7054,
366,
33111,
24361,
1600,
334,
13,
7390,
11,
334,
13,
23114,
5376,
11,
334,
13,
6207,
7094,
16034,
12043,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6307,
290,
23998,
9853,
583,
2836,
351,
8507,
13,
54,
10554,
10662,
82,
7054,
357,
46506,
327,
28270,
7,
79,
13,
7390,
8,
7054,
366,
33111,
24361,
1600,
334,
13,
7390,
11,
334,
13,
23114,
5376,
11,
334,
13,
6207,
7094,
16034,
12043,... |
When +10 is the goal difference what is the goals for? | SELECT "Goals For" FROM table_21879 WHERE "Goal Difference" = '+10' | [
2215,
1343,
940,
318,
262,
3061,
3580,
644,
318,
262,
4661,
329,
30,
46506,
366,
5247,
874,
1114,
1,
16034,
3084,
62,
28727,
3720,
33411,
366,
49045,
43795,
1,
796,
705,
10,
940,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
1343,
940,
318,
262,
3061,
3580,
644,
318,
262,
4661,
329,
30,
46506,
366,
5247,
874,
1114,
1,
16034,
3084,
62,
28727,
3720,
33411,
366,
49045,
43795,
1,
796,
705,
10,
940,
6
] |
Which venue has a Result of draw? | SELECT venue FROM table_name_92 WHERE result = "draw" | [
13828,
14359,
468,
257,
25414,
286,
3197,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5892,
33411,
1255,
796,
366,
19334,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
14359,
468,
257,
25414,
286,
3197,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5892,
33411,
1255,
796,
366,
19334,
1
] |
Show all home cities except for those having a driver older than 40. | SELECT home_city FROM driver EXCEPT SELECT home_city FROM driver WHERE age > 40 | [
15307,
477,
1363,
4736,
2845,
329,
883,
1719,
257,
4639,
4697,
621,
2319,
13,
46506,
1363,
62,
19205,
16034,
4639,
7788,
42006,
33493,
1363,
62,
19205,
16034,
4639,
33411,
2479,
1875,
2319
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
4736,
2845,
329,
883,
1719,
257,
4639,
4697,
621,
2319,
13,
46506,
1363,
62,
19205,
16034,
4639,
7788,
42006,
33493,
1363,
62,
19205,
16034,
4639,
33411,
2479,
1875,
2319
] |
how many kana spelling when english is mount fuji | SELECT kana_spelling FROM table_26263954_1 WHERE english = "Mount Fuji" | [
4919,
867,
479,
2271,
24993,
618,
46932,
318,
3817,
14035,
7285,
46506,
479,
2271,
62,
4125,
2680,
16034,
3084,
62,
2075,
2075,
2670,
4051,
62,
16,
33411,
46932,
796,
366,
35452,
43694,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
479,
2271,
24993,
618,
46932,
318,
3817,
14035,
7285,
46506,
479,
2271,
62,
4125,
2680,
16034,
3084,
62,
2075,
2075,
2670,
4051,
62,
16,
33411,
46932,
796,
366,
35452,
43694,
1
] |
What was the tries against when they had 32 tries for? | SELECT tries_against FROM table_name_14 WHERE tries_for = "32" | [
2061,
373,
262,
8404,
1028,
618,
484,
550,
3933,
8404,
329,
30,
46506,
8404,
62,
32826,
16034,
3084,
62,
3672,
62,
1415,
33411,
8404,
62,
1640,
796,
366,
2624,
1
] | [
1,
1,
1,
1,
1,
1,
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,
8404,
1028,
618,
484,
550,
3933,
8404,
329,
30,
46506,
8404,
62,
32826,
16034,
3084,
62,
3672,
62,
1415,
33411,
8404,
62,
1640,
796,
366,
2624,
1
] |
when was the last time that patient 25796 was prescribed a drug via pr? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25796) AND prescriptions.route = 'pr' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
373,
262,
938,
640,
326,
5827,
1679,
41060,
373,
14798,
257,
2563,
2884,
778,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
326,
5827,
1679,
41060,
373,
14798,
257,
2563,
2884,
778,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... |
How many original air dates were there for episode 17? | SELECT COUNT("Original air date") FROM table_20076 WHERE "No. in season" = '17' | [
2437,
867,
2656,
1633,
9667,
547,
612,
329,
4471,
1596,
30,
46506,
327,
28270,
7203,
20556,
1633,
3128,
4943,
16034,
3084,
62,
2167,
4304,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
1558,
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,
2656,
1633,
9667,
547,
612,
329,
4471,
1596,
30,
46506,
327,
28270,
7203,
20556,
1633,
3128,
4943,
16034,
3084,
62,
2167,
4304,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
1558,
6
] |
What is the earliest year the new york jets won at harvard stadium? | SELECT MIN(year) FROM table_name_35 WHERE winner = "new york jets" AND location = "harvard stadium" | [
2061,
318,
262,
14555,
614,
262,
649,
331,
967,
20792,
1839,
379,
3971,
10187,
10308,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
8464,
796,
366,
3605,
331,
967,
20792,
1,
5357,
4067,
796,
366,
9869,
10187,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
649,
331,
967,
20792,
1839,
379,
3971,
10187,
10308,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
8464,
796,
366,
3605,
331,
967,
20792,
1,
5357,
4067,
796,
366,
9869,
10187,
... |
What is the name of the school with a decile of 1, a state authority, and located in Otahuhu? | SELECT name FROM table_name_41 WHERE decile = "1" AND authority = "state" AND area = "otahuhu" | [
2061,
318,
262,
1438,
286,
262,
1524,
351,
257,
875,
576,
286,
352,
11,
257,
1181,
4934,
11,
290,
5140,
287,
19740,
993,
7456,
84,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3901,
33411,
875,
576,
796,
366,
16,
1,
5357,
4934,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
1524,
351,
257,
875,
576,
286,
352,
11,
257,
1181,
4934,
11,
290,
5140,
287,
19740,
993,
7456,
84,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3901,
33411,
875,
576,
796,
366,
16,
1,
5357,
4934,
796... |
when was the first hospital admission that patient 15209 was admitted to via the transfer from hosp/extram in this year? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 15209 AND admissions.admission_location = 'transfer from hosp/extram' AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime LIMIT 1 | [
12518,
373,
262,
717,
4436,
13938,
326,
5827,
1315,
22567,
373,
6848,
284,
2884,
262,
4351,
422,
10496,
14,
2302,
859,
287,
428,
614,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1315,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
717,
4436,
13938,
326,
5827,
1315,
22567,
373,
6848,
284,
2884,
262,
4351,
422,
10496,
14,
2302,
859,
287,
428,
614,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1315,
22... |
how many countries have at least 2 bronze medals ? | SELECT COUNT("nation") FROM table_204_320 WHERE "bronze" >= 2 | [
4919,
867,
2678,
423,
379,
1551,
362,
22101,
28057,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
18638,
62,
19504,
33411,
366,
65,
1313,
2736,
1,
18189,
362
] | [
1,
1,
1,
1,
1,
1,
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,
2678,
423,
379,
1551,
362,
22101,
28057,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
18638,
62,
19504,
33411,
366,
65,
1313,
2736,
1,
18189,
362
] |
How many directors directed an episode that reached 2.48 million viewers? | SELECT COUNT(directed_by) FROM table_27047554_1 WHERE us_viewers__in_millions_ = "2.48" | [
2437,
867,
13445,
7924,
281,
4471,
326,
4251,
362,
13,
2780,
1510,
10209,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
1983,
3023,
2425,
4051,
62,
16,
33411,
514,
62,
1177,
364,
834,
259,
62,
17805,
507,
62,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
13445,
7924,
281,
4471,
326,
4251,
362,
13,
2780,
1510,
10209,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
1983,
3023,
2425,
4051,
62,
16,
33411,
514,
62,
1177,
364,
834,
259,
62,
17805,
507,
62,
796,
... |
What is the external weapon of knight zeke? | SELECT external_weapon FROM table_name_26 WHERE knight = "zeke" | [
2061,
318,
262,
7097,
4282,
286,
22062,
41271,
365,
30,
46506,
7097,
62,
28741,
16034,
3084,
62,
3672,
62,
2075,
33411,
22062,
796,
366,
2736,
365,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7097,
4282,
286,
22062,
41271,
365,
30,
46506,
7097,
62,
28741,
16034,
3084,
62,
3672,
62,
2075,
33411,
22062,
796,
366,
2736,
365,
1
] |
What was the 2010 result for a 2008 result of LQ and 2011 result of 2R? | SELECT 2010 FROM table_name_30 WHERE 2008 = "lq" AND 2011 = "2r" | [
2061,
373,
262,
3050,
1255,
329,
257,
3648,
1255,
286,
406,
48,
290,
2813,
1255,
286,
362,
49,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
1270,
33411,
3648,
796,
366,
75,
80,
1,
5357,
2813,
796,
366,
17,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3050,
1255,
329,
257,
3648,
1255,
286,
406,
48,
290,
2813,
1255,
286,
362,
49,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
1270,
33411,
3648,
796,
366,
75,
80,
1,
5357,
2813,
796,
366,
17,
81,
1
] |
i would like to book a flight from CHICAGO into SEATTLE on 6 1 on CO | 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 = 'SEATTLE' AND date_day.day_number = 1 AND date_day.month_number = 6 AND d... | [
72,
561,
588,
284,
1492,
257,
5474,
422,
5870,
2149,
4760,
46,
656,
7946,
35455,
319,
718,
352,
319,
327,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
1492,
257,
5474,
422,
5870,
2149,
4760,
46,
656,
7946,
35455,
319,
718,
352,
319,
327,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... |
what is the number of patients that were admitted to the hospital in 2100? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) = '2100' | [
10919,
318,
262,
1271,
286,
3871,
326,
547,
6848,
284,
262,
4436,
287,
38123,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
5827,
13,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
326,
547,
6848,
284,
262,
4436,
287,
38123,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
5827,
13,
49... |
What country is Retief Goosen from? | SELECT "Country" FROM table_59975 WHERE "Player" = 'retief goosen' | [
2061,
1499,
318,
4990,
2086,
1514,
5233,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
43452,
2425,
33411,
366,
14140,
1,
796,
705,
1186,
2086,
467,
5233,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
318,
4990,
2086,
1514,
5233,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
43452,
2425,
33411,
366,
14140,
1,
796,
705,
1186,
2086,
467,
5233,
6
] |
Team of honda 250cc, and a Rank larger than 2, and a Rider of chris palmer is what time? | SELECT "Time" FROM table_5972 WHERE "Team" = 'honda 250cc' AND "Rank" > '2' AND "Rider" = 'chris palmer' | [
15592,
286,
289,
13533,
8646,
535,
11,
290,
257,
10916,
4025,
621,
362,
11,
290,
257,
16414,
286,
442,
2442,
6340,
647,
318,
644,
640,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
3270,
4761,
33411,
366,
15592,
1,
796,
705,
71,
13533,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15592,
286,
289,
13533,
8646,
535,
11,
290,
257,
10916,
4025,
621,
362,
11,
290,
257,
16414,
286,
442,
2442,
6340,
647,
318,
644,
640,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
3270,
4761,
33411,
366,
15592,
1,
796,
705,
71,
13533,
... |
which country took first place ? | SELECT "country" FROM table_203_252 WHERE "place" = 1 | [
4758,
1499,
1718,
717,
1295,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
22800,
33411,
366,
5372,
1,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1499,
1718,
717,
1295,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
22800,
33411,
366,
5372,
1,
796,
352
] |
Please show the trend about the number of days with max temperature reaches 80 change over dates, display x axis from low to high order. | SELECT date, COUNT(date) FROM weather WHERE max_temperature_f >= 80 GROUP BY date ORDER BY date | [
5492,
905,
262,
5182,
546,
262,
1271,
286,
1528,
351,
3509,
5951,
12229,
4019,
1487,
625,
9667,
11,
3359,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
3509,
62,
11498,
21069... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
905,
262,
5182,
546,
262,
1271,
286,
1528,
351,
3509,
5951,
12229,
4019,
1487,
625,
9667,
11,
3359,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
3509,
62,
11498,
21069... |
What Director won a prize of 2,000,000? | SELECT "Director(s)" FROM table_38304 WHERE "Prize" = '¥2,000,000' | [
2061,
5890,
1839,
257,
11596,
286,
362,
11,
830,
11,
830,
30,
46506,
366,
28702,
7,
82,
16725,
16034,
3084,
62,
2548,
21288,
33411,
366,
34487,
2736,
1,
796,
705,
126,
98,
17,
11,
830,
11,
830,
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,
5890,
1839,
257,
11596,
286,
362,
11,
830,
11,
830,
30,
46506,
366,
28702,
7,
82,
16725,
16034,
3084,
62,
2548,
21288,
33411,
366,
34487,
2736,
1,
796,
705,
126,
98,
17,
11,
830,
11,
830,
6
] |
What is Winning Score, when Runner(s)-up is Ted Purdy? | SELECT "Winning score" FROM table_40708 WHERE "Runner(s)-up" = 'ted purdy' | [
2061,
318,
40983,
15178,
11,
618,
21529,
7,
82,
13219,
929,
318,
11396,
350,
22876,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
1821,
32583,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
1513,
1308,
9892,
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
] | [
2061,
318,
40983,
15178,
11,
618,
21529,
7,
82,
13219,
929,
318,
11396,
350,
22876,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
1821,
32583,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
1513,
1308,
9892,
6
] |
What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? | SELECT "County" FROM table_67727 WHERE "Elevation (m)" < '1833' AND "Isolation (km)" > '18' AND "Peak" = 'store lenangstind' | [
2061,
1499,
468,
281,
37881,
341,
1342,
621,
1248,
2091,
290,
281,
1148,
21417,
357,
13276,
8,
4025,
621,
1248,
11,
290,
257,
23974,
286,
3650,
18896,
648,
301,
521,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
40179,
1983,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
1499,
468,
281,
37881,
341,
1342,
621,
1248,
2091,
290,
281,
1148,
21417,
357,
13276,
8,
4025,
621,
1248,
11,
290,
257,
23974,
286,
3650,
18896,
648,
301,
521,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
40179,
1983,
33411,
... |
Which Surface had a Date of june 13, 1983? | SELECT surface FROM table_name_14 WHERE date = "june 13, 1983" | [
13828,
20321,
550,
257,
7536,
286,
474,
1726,
1511,
11,
13540,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
796,
366,
73,
1726,
1511,
11,
13540,
1
] | [
1,
1,
1,
1,
1,
1,
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,
20321,
550,
257,
7536,
286,
474,
1726,
1511,
11,
13540,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1415,
33411,
3128,
796,
366,
73,
1726,
1511,
11,
13540,
1
] |
Which Country is listed for the Director Thomas Vinterberg? | SELECT "Country" FROM table_80062 WHERE "Director" = 'thomas vinterberg' | [
13828,
12946,
318,
5610,
329,
262,
5890,
5658,
569,
3849,
3900,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
7410,
5237,
33411,
366,
28702,
1,
796,
705,
400,
16911,
410,
3849,
3900,
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
] | [
13828,
12946,
318,
5610,
329,
262,
5890,
5658,
569,
3849,
3900,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
7410,
5237,
33411,
366,
28702,
1,
796,
705,
400,
16911,
410,
3849,
3900,
6
] |
Who was the opponent in the championship in Johannesburg, South Africa? | SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa" | [
8241,
373,
262,
6125,
287,
262,
12184,
287,
38579,
7423,
11,
2520,
5478,
30,
46506,
6125,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
5066,
33411,
12184,
796,
366,
73,
1219,
1236,
274,
7423,
11,
5366,
6580,
30997,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
287,
262,
12184,
287,
38579,
7423,
11,
2520,
5478,
30,
46506,
6125,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
5066,
33411,
12184,
796,
366,
73,
1219,
1236,
274,
7423,
11,
5366,
6580,
30997,
1
] |
Which year is the book title the ordinary? | SELECT year FROM table_20193855_2 WHERE book_title = "The Ordinary" | [
13828,
614,
318,
262,
1492,
3670,
262,
8850,
30,
46506,
614,
16034,
3084,
62,
23344,
2548,
2816,
62,
17,
33411,
1492,
62,
7839,
796,
366,
464,
14230,
3219,
1
] | [
1,
1,
1,
1,
1,
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,
614,
318,
262,
1492,
3670,
262,
8850,
30,
46506,
614,
16034,
3084,
62,
23344,
2548,
2816,
62,
17,
33411,
1492,
62,
7839,
796,
366,
464,
14230,
3219,
1
] |
how many times does patient 5142 make drain out #5 jackson pratt last month? | SELECT COUNT(*) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5142)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'drain out #5 jackso... | [
4919,
867,
1661,
857,
5827,
642,
23726,
787,
14782,
503,
1303,
20,
14509,
1559,
778,
1078,
938,
1227,
30,
46506,
327,
28270,
7,
28104,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
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... | [
4919,
867,
1661,
857,
5827,
642,
23726,
787,
14782,
503,
1303,
20,
14509,
1559,
778,
1078,
938,
1227,
30,
46506,
327,
28270,
7,
28104,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,
... |
What was the position of the player who played for New York Islanders NHL Team? | SELECT position FROM table_2679061_9 WHERE nhl_team = "New York Islanders" | [
2061,
373,
262,
2292,
286,
262,
2137,
508,
2826,
329,
968,
1971,
32868,
9481,
4816,
30,
46506,
2292,
16034,
3084,
62,
2075,
3720,
3312,
16,
62,
24,
33411,
299,
18519,
62,
15097,
796,
366,
3791,
1971,
32868,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
286,
262,
2137,
508,
2826,
329,
968,
1971,
32868,
9481,
4816,
30,
46506,
2292,
16034,
3084,
62,
2075,
3720,
3312,
16,
62,
24,
33411,
299,
18519,
62,
15097,
796,
366,
3791,
1971,
32868,
1
] |
how many medals did senegal win ? | SELECT "total" FROM table_203_377 WHERE "nation" = 'senegal' | [
4919,
867,
28057,
750,
3308,
39839,
1592,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
26514,
33411,
366,
25729,
1,
796,
705,
6248,
39839,
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
] | [
4919,
867,
28057,
750,
3308,
39839,
1592,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
26514,
33411,
366,
25729,
1,
796,
705,
6248,
39839,
6
] |
give me the flights and fares on 12 27 from INDIANAPOLIS to ORLANDO | 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 AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AN... | [
26535,
502,
262,
13956,
290,
33164,
319,
1105,
2681,
422,
24413,
16868,
2969,
3535,
1797,
284,
6375,
28182,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
13956,
290,
33164,
319,
1105,
2681,
422,
24413,
16868,
2969,
3535,
1797,
284,
6375,
28182,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... |
What is the total number of casualties when there are 12 total deaths and more than 1 military death? | SELECT "Total casualties" FROM table_61400 WHERE "Total deaths" = '12' AND "Military deaths" > '1' | [
2061,
318,
262,
2472,
1271,
286,
18499,
618,
612,
389,
1105,
2472,
7040,
290,
517,
621,
352,
2422,
1918,
30,
46506,
366,
14957,
18499,
1,
16034,
3084,
62,
46841,
405,
33411,
366,
14957,
7040,
1,
796,
705,
1065,
6,
5357,
366,
37837,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
18499,
618,
612,
389,
1105,
2472,
7040,
290,
517,
621,
352,
2422,
1918,
30,
46506,
366,
14957,
18499,
1,
16034,
3084,
62,
46841,
405,
33411,
366,
14957,
7040,
1,
796,
705,
1065,
6,
5357,
366,
37837,
... |
What is listed under Played that has a Club of Morriston RFC? | SELECT "Played" FROM table_6257 WHERE "Club" = 'morriston rfc' | [
2061,
318,
5610,
739,
33101,
326,
468,
257,
6289,
286,
3461,
1585,
261,
30978,
30,
46506,
366,
11002,
276,
1,
16034,
3084,
62,
26704,
22,
33411,
366,
42350,
1,
796,
705,
4491,
1585,
261,
374,
16072,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5610,
739,
33101,
326,
468,
257,
6289,
286,
3461,
1585,
261,
30978,
30,
46506,
366,
11002,
276,
1,
16034,
3084,
62,
26704,
22,
33411,
366,
42350,
1,
796,
705,
4491,
1585,
261,
374,
16072,
6
] |
What is the name/designation for the under development status? | SELECT name_designation FROM table_name_79 WHERE status = "under development" | [
2061,
318,
262,
1438,
14,
26124,
341,
329,
262,
739,
2478,
3722,
30,
46506,
1438,
62,
26124,
341,
16034,
3084,
62,
3672,
62,
3720,
33411,
3722,
796,
366,
4625,
2478,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
14,
26124,
341,
329,
262,
739,
2478,
3722,
30,
46506,
1438,
62,
26124,
341,
16034,
3084,
62,
3672,
62,
3720,
33411,
3722,
796,
366,
4625,
2478,
1
] |
What is the ERP for the Mount Goonaneman transmitter? | SELECT "ERP (Analog/ Digital)" FROM table_68744 WHERE "Transmitter Location" = 'mount goonaneman' | [
2061,
318,
262,
13793,
47,
329,
262,
5628,
1514,
261,
272,
8463,
35099,
30,
46506,
366,
1137,
47,
357,
2025,
11794,
14,
10231,
16725,
16034,
3084,
62,
39925,
2598,
33411,
366,
8291,
37974,
13397,
1,
796,
705,
14948,
467,
261,
272,
846... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13793,
47,
329,
262,
5628,
1514,
261,
272,
8463,
35099,
30,
46506,
366,
1137,
47,
357,
2025,
11794,
14,
10231,
16725,
16034,
3084,
62,
39925,
2598,
33411,
366,
8291,
37974,
13397,
1,
796,
705,
14948,
467,
261,
272,
846... |
Who wrote the episode with production code 2j5568? | SELECT written_by FROM table_28466323_2 WHERE production_code = "2J5568" | [
8241,
2630,
262,
4471,
351,
3227,
2438,
362,
73,
2816,
3104,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
30336,
2791,
32637,
62,
17,
33411,
3227,
62,
8189,
796,
366,
17,
41,
2816,
3104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
351,
3227,
2438,
362,
73,
2816,
3104,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
30336,
2791,
32637,
62,
17,
33411,
3227,
62,
8189,
796,
366,
17,
41,
2816,
3104,
1
] |
What was the title of the episode that martin worth wrote the story for? | SELECT title FROM table_name_55 WHERE story = "martin worth" | [
2061,
373,
262,
3670,
286,
262,
4471,
326,
11277,
259,
2861,
2630,
262,
1621,
329,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
2816,
33411,
1621,
796,
366,
13822,
259,
2861,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
286,
262,
4471,
326,
11277,
259,
2861,
2630,
262,
1621,
329,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
2816,
33411,
1621,
796,
366,
13822,
259,
2861,
1
] |
Find the number of male (sex is 'M') students who have some food type allery. | SELECT COUNT(*) FROM student WHERE sex = "M" AND stuid IN (SELECT stuid FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food") | [
16742,
262,
1271,
286,
4257,
357,
8044,
318,
705,
44,
11537,
2444,
508,
423,
617,
2057,
2099,
477,
1924,
13,
46506,
327,
28270,
7,
28104,
16034,
3710,
33411,
1714,
796,
366,
44,
1,
5357,
336,
27112,
3268,
357,
46506,
336,
27112,
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... | [
16742,
262,
1271,
286,
4257,
357,
8044,
318,
705,
44,
11537,
2444,
508,
423,
617,
2057,
2099,
477,
1924,
13,
46506,
327,
28270,
7,
28104,
16034,
3710,
33411,
1714,
796,
366,
44,
1,
5357,
336,
27112,
3268,
357,
46506,
336,
27112,
16034... |
For those records from the products and each product's manufacturer, give me the comparison about the average of revenue over the headquarter , and group by attribute headquarter, and sort Y from high to low order. | SELECT Headquarter, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY AVG(Revenue) DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
6426,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
3297,
575,
422,
1029,
284,
1877,
1502,
13,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
6426,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
3297,
575,
422,
1029,
284,
1877,
1502,
13,
4... |
What is the result of the game of heinz field with a record of 2-5? | SELECT "Result" FROM table_37349 WHERE "Game site" = 'heinz field' AND "Record" = '2-5' | [
2061,
318,
262,
1255,
286,
262,
983,
286,
339,
259,
89,
2214,
351,
257,
1700,
286,
362,
12,
20,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2718,
27371,
33411,
366,
8777,
2524,
1,
796,
705,
258,
259,
89,
2214,
6,
5357,
366,
23739,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
983,
286,
339,
259,
89,
2214,
351,
257,
1700,
286,
362,
12,
20,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2718,
27371,
33411,
366,
8777,
2524,
1,
796,
705,
258,
259,
89,
2214,
6,
5357,
366,
23739,
... |
Which circuit was the atcc round 7 at? | SELECT "Circuit" FROM table_61212 WHERE "Series" = 'atcc round 7' | [
13828,
10349,
373,
262,
379,
535,
2835,
767,
379,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
43610,
1065,
33411,
366,
27996,
1,
796,
705,
265,
535,
2835,
767,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10349,
373,
262,
379,
535,
2835,
767,
379,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
43610,
1065,
33411,
366,
27996,
1,
796,
705,
265,
535,
2835,
767,
6
] |
Who currently affiliates in San Francisco - Oakland - San Jose? | SELECT "Current affiliation" FROM table_20133 WHERE "City of License /Market" = 'San Francisco - Oakland - San Jose' | [
8241,
3058,
29116,
287,
2986,
6033,
532,
12369,
532,
2986,
5264,
30,
46506,
366,
11297,
26218,
1,
16034,
3084,
62,
1264,
2091,
33411,
366,
14941,
286,
13789,
1220,
27470,
1,
796,
705,
15017,
6033,
532,
12369,
532,
2986,
5264,
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
] | [
8241,
3058,
29116,
287,
2986,
6033,
532,
12369,
532,
2986,
5264,
30,
46506,
366,
11297,
26218,
1,
16034,
3084,
62,
1264,
2091,
33411,
366,
14941,
286,
13789,
1220,
27470,
1,
796,
705,
15017,
6033,
532,
12369,
532,
2986,
5264,
6
] |
Which Cover model has a Centerfold model of scarlett keegan? | SELECT cover_model FROM table_name_22 WHERE centerfold_model = "scarlett keegan" | [
13828,
17546,
2746,
468,
257,
3337,
11379,
2746,
286,
10153,
15503,
885,
68,
1030,
30,
46506,
3002,
62,
19849,
16034,
3084,
62,
3672,
62,
1828,
33411,
3641,
11379,
62,
19849,
796,
366,
13034,
15503,
885,
68,
1030,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17546,
2746,
468,
257,
3337,
11379,
2746,
286,
10153,
15503,
885,
68,
1030,
30,
46506,
3002,
62,
19849,
16034,
3084,
62,
3672,
62,
1828,
33411,
3641,
11379,
62,
19849,
796,
366,
13034,
15503,
885,
68,
1030,
1
] |
Name the score for vijay singh | SELECT score FROM table_name_8 WHERE player = "vijay singh" | [
5376,
262,
4776,
329,
410,
2926,
323,
1702,
71,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
2137,
796,
366,
85,
2926,
323,
1702,
71,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4776,
329,
410,
2926,
323,
1702,
71,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
2137,
796,
366,
85,
2926,
323,
1702,
71,
1
] |
For all employees who have the letters D or S in their first name, give me the comparison about the sum of salary over the job_id , and group by attribute job_id, and order y-axis in asc order. | SELECT JOB_ID, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(SALARY) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
9588,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
1502,
331,
12,
22704,
287,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
9588,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
1502,
331,
12,
22704,
287,... |
What is the 2010 value with A in 2008, A in 2011, and 2r in 2012? | SELECT 2010 FROM table_name_50 WHERE 2008 = "a" AND 2011 = "a" AND 2012 = "2r" | [
2061,
318,
262,
3050,
1988,
351,
317,
287,
3648,
11,
317,
287,
2813,
11,
290,
362,
81,
287,
2321,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
1120,
33411,
3648,
796,
366,
64,
1,
5357,
2813,
796,
366,
64,
1,
5357,
2321,
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,
3050,
1988,
351,
317,
287,
3648,
11,
317,
287,
2813,
11,
290,
362,
81,
287,
2321,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
1120,
33411,
3648,
796,
366,
64,
1,
5357,
2813,
796,
366,
64,
1,
5357,
2321,
796,
366,
... |
What is the ranking for the player with under 34 events and earnings of $1,444,386 | SELECT MAX("Rank") FROM table_54472 WHERE "Earnings ( $ )" = '1,444,386' AND "Events" < '34' | [
2061,
318,
262,
12759,
329,
262,
2137,
351,
739,
4974,
2995,
290,
12042,
286,
720,
16,
11,
30272,
11,
21734,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
47576,
4761,
33411,
366,
49725,
654,
357,
720,
1267,
1,
796,
705,
16,
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
] | [
2061,
318,
262,
12759,
329,
262,
2137,
351,
739,
4974,
2995,
290,
12042,
286,
720,
16,
11,
30272,
11,
21734,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
47576,
4761,
33411,
366,
49725,
654,
357,
720,
1267,
1,
796,
705,
16,
11,
... |
What is the lowest mark of the rank 8 record? | SELECT MIN("Mark") FROM table_42028 WHERE "Rank" = '8' | [
2061,
318,
262,
9016,
1317,
286,
262,
4279,
807,
1700,
30,
46506,
20625,
7203,
9704,
4943,
16034,
3084,
62,
27211,
2078,
33411,
366,
27520,
1,
796,
705,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1317,
286,
262,
4279,
807,
1700,
30,
46506,
20625,
7203,
9704,
4943,
16034,
3084,
62,
27211,
2078,
33411,
366,
27520,
1,
796,
705,
23,
6
] |
how many people were diagnosed with protein-calorie malnutrition after the previous diagnosis of pancreatic tumor - pancreatic ca during the same month since 2102? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'protein-calorie malnutrition' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2102') AS t1 JOIN (SELECT pati... | [
4919,
867,
661,
547,
14641,
351,
7532,
12,
9948,
19257,
49290,
706,
262,
2180,
13669,
286,
47767,
291,
22359,
532,
47767,
291,
1275,
1141,
262,
976,
1227,
1201,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
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... | [
4919,
867,
661,
547,
14641,
351,
7532,
12,
9948,
19257,
49290,
706,
262,
2180,
13669,
286,
47767,
291,
22359,
532,
47767,
291,
1275,
1141,
262,
976,
1227,
1201,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
... |
when was the first time patient 26175 was prescribed a medication via iv drip route? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26175) AND prescriptions.route = 'iv drip' ORDER BY prescriptions.startdate LIMIT 1 | [
12518,
373,
262,
717,
640,
5827,
2608,
17430,
373,
14798,
257,
14103,
2884,
21628,
36296,
6339,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
717,
640,
5827,
2608,
17430,
373,
14798,
257,
14103,
2884,
21628,
36296,
6339,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034... |
Display a bar chart for what are the names of climbers and the corresponding heights of the mountains that they climb?, rank x axis in desc order. | SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Name DESC | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
3891,
286,
39311,
290,
262,
11188,
23245,
286,
262,
12269,
326,
484,
12080,
21747,
4279,
2124,
16488,
287,
1715,
1502,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
23106,
16034,
5424,
527,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
3891,
286,
39311,
290,
262,
11188,
23245,
286,
262,
12269,
326,
484,
12080,
21747,
4279,
2124,
16488,
287,
1715,
1502,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
23106,
16034,
5424,
527,... |
List all headquarters and the number of companies in each headquarter. | SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters | [
8053,
477,
10043,
290,
262,
1271,
286,
2706,
287,
1123,
1182,
24385,
13,
46506,
32193,
11,
327,
28270,
7,
28104,
16034,
1664,
44441,
11050,
32193
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
10043,
290,
262,
1271,
286,
2706,
287,
1123,
1182,
24385,
13,
46506,
32193,
11,
327,
28270,
7,
28104,
16034,
1664,
44441,
11050,
32193
] |
Show me about the distribution of meter_200 and the average of ID , and group by attribute meter_200 in a bar chart, and could you rank bar in asc order? | SELECT meter_200, AVG(ID) FROM swimmer GROUP BY meter_200 ORDER BY meter_200 | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
2167,
290,
262,
2811,
286,
4522,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
2318,
287,
10570,
1502,
30,
46506,
16430,
62,
2167,
11,
35224,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
2167,
290,
262,
2811,
286,
4522,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
2318,
287,
10570,
1502,
30,
46506,
16430,
62,
2167,
11,
35224,
... |
What is the venue where Collingwood played as the home team? | SELECT "Venue" FROM table_32859 WHERE "Home team" = 'collingwood' | [
2061,
318,
262,
14359,
810,
7778,
278,
3822,
2826,
355,
262,
1363,
1074,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
34256,
3270,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
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,
14359,
810,
7778,
278,
3822,
2826,
355,
262,
1363,
1074,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
34256,
3270,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
What is the lowest number for draw when the points are less than 17, and the lost is 13? | SELECT MIN(draw) FROM table_name_4 WHERE points < 17 AND lost = 13 | [
2061,
318,
262,
9016,
1271,
329,
3197,
618,
262,
2173,
389,
1342,
621,
1596,
11,
290,
262,
2626,
318,
1511,
30,
46506,
20625,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
2173,
1279,
1596,
5357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1271,
329,
3197,
618,
262,
2173,
389,
1342,
621,
1596,
11,
290,
262,
2626,
318,
1511,
30,
46506,
20625,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
2173,
1279,
1596,
5357,
2626,
796,
1511
] |
WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424? | SELECT death FROM table_name_96 WHERE birth = "2 august 1424" | [
32971,
3180,
3336,
5550,
12599,
42099,
347,
4663,
4221,
360,
6158,
3180,
362,
317,
7340,
7759,
1478,
1731,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
4846,
33411,
4082,
796,
366,
17,
16339,
436,
1478,
1731,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5550,
12599,
42099,
347,
4663,
4221,
360,
6158,
3180,
362,
317,
7340,
7759,
1478,
1731,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
4846,
33411,
4082,
796,
366,
17,
16339,
436,
1478,
1731,
1
] |
count the number of deaths in or before the year 2179. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dod_year <= "2179.0" | [
9127,
262,
1271,
286,
7040,
287,
393,
878,
262,
614,
362,
21738,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
21738,
13,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
7040,
287,
393,
878,
262,
614,
362,
21738,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
21738,
13,
15,
1
] |
airline code AS | SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'AS' | [
958,
1370,
2438,
7054,
46506,
360,
8808,
1268,
4177,
18091,
62,
8189,
16034,
18091,
33411,
18091,
62,
8189,
796,
705,
1921,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
958,
1370,
2438,
7054,
46506,
360,
8808,
1268,
4177,
18091,
62,
8189,
16034,
18091,
33411,
18091,
62,
8189,
796,
705,
1921,
6
] |
What is the Qual with less than 68 laps? | SELECT qual FROM table_name_3 WHERE laps < 68 | [
2061,
318,
262,
9537,
351,
1342,
621,
8257,
24590,
30,
46506,
4140,
16034,
3084,
62,
3672,
62,
18,
33411,
24590,
1279,
8257
] | [
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,
9537,
351,
1342,
621,
8257,
24590,
30,
46506,
4140,
16034,
3084,
62,
3672,
62,
18,
33411,
24590,
1279,
8257
] |
What team was the opponent when February shows more than 2, with a game number less than 55? | SELECT "Opponent" FROM table_46033 WHERE "February" > '2' AND "Game" < '55' | [
2061,
1074,
373,
262,
6125,
618,
3945,
2523,
517,
621,
362,
11,
351,
257,
983,
1271,
1342,
621,
5996,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
34716,
2091,
33411,
366,
21816,
1,
1875,
705,
17,
6,
5357,
366,
8777,
1,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
373,
262,
6125,
618,
3945,
2523,
517,
621,
362,
11,
351,
257,
983,
1271,
1342,
621,
5996,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
34716,
2091,
33411,
366,
21816,
1,
1875,
705,
17,
6,
5357,
366,
8777,
1,
1279,
... |
Who placed fourth when the winner was Greg Hancock? | SELECT 4 AS th_placed FROM table_21808535_1 WHERE winner = "Greg Hancock" | [
8241,
4624,
5544,
618,
262,
8464,
373,
8547,
39261,
30,
46506,
604,
7054,
294,
62,
21820,
16034,
3084,
62,
28727,
2919,
44465,
62,
16,
33411,
8464,
796,
366,
25025,
39261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4624,
5544,
618,
262,
8464,
373,
8547,
39261,
30,
46506,
604,
7054,
294,
62,
21820,
16034,
3084,
62,
28727,
2919,
44465,
62,
16,
33411,
8464,
796,
366,
25025,
39261,
1
] |
What is the win-loss when 2008 has a value of Q1 at Australian Open? | SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open" | [
2061,
318,
262,
1592,
12,
22462,
618,
3648,
468,
257,
1988,
286,
1195,
16,
379,
6638,
4946,
30,
46506,
3451,
62,
5404,
62,
22462,
16034,
3084,
62,
3672,
62,
2996,
33411,
3648,
796,
366,
80,
16,
1,
5357,
7756,
796,
366,
64,
436,
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
] | [
2061,
318,
262,
1592,
12,
22462,
618,
3648,
468,
257,
1988,
286,
1195,
16,
379,
6638,
4946,
30,
46506,
3451,
62,
5404,
62,
22462,
16034,
3084,
62,
3672,
62,
2996,
33411,
3648,
796,
366,
80,
16,
1,
5357,
7756,
796,
366,
64,
436,
13... |
Top Flutter users in Turkey. | WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id =... | [
9126,
1610,
10381,
2985,
287,
7137,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
73... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
1610,
10381,
2985,
287,
7137,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
73... |
Longest posts for user. | SELECT Id AS "post_link", LENGTH(Body) AS "body_length", CASE PostTypeId WHEN 1 THEN 'Question' WHEN 2 THEN 'Answer' END AS "post_type" FROM Posts WHERE (PostTypeId = 1 OR PostTypeId = 2) ORDER BY LENGTH(Body) DESC LIMIT 10 | [
14617,
395,
6851,
329,
2836,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
406,
49494,
7,
25842,
8,
7054,
366,
2618,
62,
13664,
1600,
42001,
2947,
6030,
7390,
42099,
352,
42243,
705,
24361,
6,
42099,
362,
42243,
705,
33706,
6,
235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14617,
395,
6851,
329,
2836,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
406,
49494,
7,
25842,
8,
7054,
366,
2618,
62,
13664,
1600,
42001,
2947,
6030,
7390,
42099,
352,
42243,
705,
24361,
6,
42099,
362,
42243,
705,
33706,
6,
235... |
Users from around the world. Simple configurable query to resolve users to a geography | SELECT Users.Id AS "user_link", Users.Location, Users.DisplayName, Users.CreationDate, Users.LastAccessDate, Users.Reputation, COUNT(*) AS Posts FROM Users INNER JOIN Posts ON Users.Id = Posts.OwnerUserId WHERE LOWER(Location) LIKE LOWER('%' + '##Location:string##' + '%') GROUP BY Users.Id, Users.Location, Users.Displa... | [
14490,
422,
1088,
262,
995,
13,
17427,
4566,
11970,
12405,
284,
10568,
2985,
284,
257,
27876,
46506,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
18987,
13,
14749,
11,
18987,
13,
23114,
5376,
11,
18987,
13,
12443,
341,
10430,
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... | [
14490,
422,
1088,
262,
995,
13,
17427,
4566,
11970,
12405,
284,
10568,
2985,
284,
257,
27876,
46506,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
18987,
13,
14749,
11,
18987,
13,
23114,
5376,
11,
18987,
13,
12443,
341,
10430,
11,
... |
What is the average speed for filmar racing? | SELECT average_speed__mph_ FROM table_28178756_1 WHERE team = "FILMAR Racing" | [
2061,
318,
262,
2811,
2866,
329,
2646,
283,
11717,
30,
46506,
2811,
62,
12287,
834,
23335,
62,
16034,
3084,
62,
2078,
23188,
38219,
62,
16,
33411,
1074,
796,
366,
46700,
40569,
14954,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2866,
329,
2646,
283,
11717,
30,
46506,
2811,
62,
12287,
834,
23335,
62,
16034,
3084,
62,
2078,
23188,
38219,
62,
16,
33411,
1074,
796,
366,
46700,
40569,
14954,
1
] |
which person is the only german native ? | SELECT "name" FROM table_203_481 WHERE "nationality" = 'germany' | [
4758,
1048,
318,
262,
691,
308,
2224,
6868,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
40271,
33411,
366,
14648,
414,
1,
796,
705,
1362,
21834,
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
] | [
4758,
1048,
318,
262,
691,
308,
2224,
6868,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
40271,
33411,
366,
14648,
414,
1,
796,
705,
1362,
21834,
6
] |
Create a line chart about the number of attendance at home games change over the years, bin year into year interval, and show by the X-axis in descending. | SELECT year, SUM(attendance) FROM home_game ORDER BY year DESC | [
16447,
257,
1627,
8262,
546,
262,
1271,
286,
14858,
379,
1363,
1830,
1487,
625,
262,
812,
11,
9874,
614,
656,
614,
16654,
11,
290,
905,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
614,
11,
35683,
7,
1078,
437,
590,
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
] | [
16447,
257,
1627,
8262,
546,
262,
1271,
286,
14858,
379,
1363,
1830,
1487,
625,
262,
812,
11,
9874,
614,
656,
614,
16654,
11,
290,
905,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
614,
11,
35683,
7,
1078,
437,
590,
8,
16034,
... |
how many times were new zealand the opposing team ? | SELECT COUNT(*) FROM table_204_329 WHERE "opposing team" = 'new zealand' | [
4919,
867,
1661,
547,
649,
27689,
392,
262,
12330,
1074,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
37967,
33411,
366,
10365,
2752,
1074,
1,
796,
705,
3605,
27689,
392,
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
] | [
4919,
867,
1661,
547,
649,
27689,
392,
262,
12330,
1074,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
37967,
33411,
366,
10365,
2752,
1074,
1,
796,
705,
3605,
27689,
392,
6
] |
How much does the player from Southern California weight? | SELECT weight FROM table_20861261_4 WHERE college = "Southern California" | [
2437,
881,
857,
262,
2137,
422,
8050,
3442,
3463,
30,
46506,
3463,
16034,
3084,
62,
1238,
4521,
1065,
5333,
62,
19,
33411,
4152,
796,
366,
44993,
3442,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
857,
262,
2137,
422,
8050,
3442,
3463,
30,
46506,
3463,
16034,
3084,
62,
1238,
4521,
1065,
5333,
62,
19,
33411,
4152,
796,
366,
44993,
3442,
1
] |
What was the date of the game when the Devils had a record of 21 14 3? | SELECT "Date" FROM table_58022 WHERE "Record" = '21–14–3' | [
2061,
373,
262,
3128,
286,
262,
983,
618,
262,
26199,
550,
257,
1700,
286,
2310,
1478,
513,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
39322,
1828,
33411,
366,
23739,
1,
796,
705,
2481,
1906,
1415,
1906,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
262,
983,
618,
262,
26199,
550,
257,
1700,
286,
2310,
1478,
513,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
39322,
1828,
33411,
366,
23739,
1,
796,
705,
2481,
1906,
1415,
1906,
18,
6
] |
What was the score for the game that had an attendance of 41,087? | SELECT "Score" FROM table_68420 WHERE "Attendance" = '41,087' | [
2061,
373,
262,
4776,
329,
262,
983,
326,
550,
281,
14858,
286,
6073,
11,
2919,
22,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3104,
27211,
33411,
366,
8086,
437,
590,
1,
796,
705,
3901,
11,
2919,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
262,
983,
326,
550,
281,
14858,
286,
6073,
11,
2919,
22,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3104,
27211,
33411,
366,
8086,
437,
590,
1,
796,
705,
3901,
11,
2919,
22,
6
] |
what was the crowd when the scores are 10.12 (72) 8.11 (59)? | SELECT MAX("Crowd") FROM table_16702 WHERE "Scores" = '10.12 (72) – 8.11 (59)' | [
10919,
373,
262,
4315,
618,
262,
8198,
389,
838,
13,
1065,
357,
4761,
8,
807,
13,
1157,
357,
3270,
19427,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
1433,
36680,
33411,
366,
3351,
2850,
1,
796,
705,
940,
13,
1065,
357,
476... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4315,
618,
262,
8198,
389,
838,
13,
1065,
357,
4761,
8,
807,
13,
1157,
357,
3270,
19427,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
1433,
36680,
33411,
366,
3351,
2850,
1,
796,
705,
940,
13,
1065,
357,
476... |
What was the 1st leg that had a 1st get home for the Boca Juniors? | SELECT 1 AS st_leg FROM table_name_82 WHERE home__1st_leg_ = "boca juniors" | [
2061,
373,
262,
352,
301,
1232,
326,
550,
257,
352,
301,
651,
1363,
329,
262,
347,
11216,
7653,
12706,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
6469,
33411,
1363,
834,
16,
301,
62,
1455,
62,
796,
366,
65,
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
] | [
2061,
373,
262,
352,
301,
1232,
326,
550,
257,
352,
301,
651,
1363,
329,
262,
347,
11216,
7653,
12706,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
6469,
33411,
1363,
834,
16,
301,
62,
1455,
62,
796,
366,
65,
11... |
Name the population may for cadalusan for population 1423 | SELECT "Population (May 1, 2010)" FROM table_23823 WHERE "District" = 'CadaLuSan' AND "Population (August 1, 2007)" = '1423' | [
5376,
262,
3265,
743,
329,
20603,
46781,
272,
329,
3265,
1478,
1954,
46506,
366,
45251,
357,
6747,
352,
11,
3050,
16725,
16034,
3084,
62,
23721,
1954,
33411,
366,
44857,
1,
796,
705,
34,
4763,
25596,
15017,
6,
5357,
366,
45251,
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
] | [
5376,
262,
3265,
743,
329,
20603,
46781,
272,
329,
3265,
1478,
1954,
46506,
366,
45251,
357,
6747,
352,
11,
3050,
16725,
16034,
3084,
62,
23721,
1954,
33411,
366,
44857,
1,
796,
705,
34,
4763,
25596,
15017,
6,
5357,
366,
45251,
357,
1... |
What was the loss of the game that had a record of 63-52? | SELECT "Loss" FROM table_68235 WHERE "Record" = '63-52' | [
2061,
373,
262,
2994,
286,
262,
983,
326,
550,
257,
1700,
286,
8093,
12,
4309,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
3104,
22370,
33411,
366,
23739,
1,
796,
705,
5066,
12,
4309,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2994,
286,
262,
983,
326,
550,
257,
1700,
286,
8093,
12,
4309,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
3104,
22370,
33411,
366,
23739,
1,
796,
705,
5066,
12,
4309,
6
] |
Measure popularity of python vs Node vs typescript for. | SELECT * FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId WHERE Tags.TagName IN ('pulumi') | [
47384,
11533,
286,
21015,
3691,
19081,
3691,
2170,
3798,
1968,
329,
13,
46506,
1635,
16034,
44789,
12509,
9792,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
12509,
9792,
32357,
1268,
12043,
6177,
12043... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
47384,
11533,
286,
21015,
3691,
19081,
3691,
2170,
3798,
1968,
329,
13,
46506,
1635,
16034,
44789,
12509,
9792,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
12509,
9792,
32357,
1268,
12043,
6177,
12043... |
Name the narraed by for beluga shipping | SELECT narrated_by FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" | [
5376,
262,
30083,
430,
276,
416,
329,
894,
30302,
8440,
46506,
46190,
62,
1525,
16034,
3084,
62,
2075,
14656,
39925,
62,
20,
33411,
8837,
62,
46616,
796,
366,
12193,
30302,
24147,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
30083,
430,
276,
416,
329,
894,
30302,
8440,
46506,
46190,
62,
1525,
16034,
3084,
62,
2075,
14656,
39925,
62,
20,
33411,
8837,
62,
46616,
796,
366,
12193,
30302,
24147,
1
] |
What day were the results 3:2? | SELECT "Date" FROM table_75155 WHERE "Results\u00b9" = '3:2' | [
2061,
1110,
547,
262,
2482,
513,
25,
17,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
18742,
33411,
366,
25468,
59,
84,
405,
65,
24,
1,
796,
705,
18,
25,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1110,
547,
262,
2482,
513,
25,
17,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
18742,
33411,
366,
25468,
59,
84,
405,
65,
24,
1,
796,
705,
18,
25,
17,
6
] |
Event number 38m was held on which date? | SELECT "Date" FROM table_24729 WHERE "Event #" = '38M' | [
9237,
1271,
4353,
76,
373,
2714,
319,
543,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
23753,
1959,
33411,
366,
9237,
1303,
1,
796,
705,
2548,
44,
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
] | [
9237,
1271,
4353,
76,
373,
2714,
319,
543,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
23753,
1959,
33411,
366,
9237,
1303,
1,
796,
705,
2548,
44,
6
] |
who are the candidates with district being kansas 4 | SELECT "Candidates" FROM table_18673 WHERE "District" = 'Kansas 4' | [
8727,
389,
262,
5871,
351,
4783,
852,
479,
6618,
604,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
45758,
33411,
366,
44857,
1,
796,
705,
43451,
604,
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
] | [
8727,
389,
262,
5871,
351,
4783,
852,
479,
6618,
604,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
45758,
33411,
366,
44857,
1,
796,
705,
43451,
604,
6
] |
On what dates were employees without the letter M in their first names hired, and count them by a bar chart, rank in ascending by the y-axis. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY COUNT(HIRE_DATE) | [
2202,
644,
9667,
547,
4409,
1231,
262,
3850,
337,
287,
511,
717,
3891,
9657,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
4279,
287,
41988,
416,
262,
331,
12,
22704,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
327,
28270,
7,
25374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2202,
644,
9667,
547,
4409,
1231,
262,
3850,
337,
287,
511,
717,
3891,
9657,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
4279,
287,
41988,
416,
262,
331,
12,
22704,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
327,
28270,
7,
25374,
... |
What is Australia's to par? | SELECT "To par" FROM table_78742 WHERE "Country" = 'australia' | [
2061,
318,
4505,
338,
284,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
41019,
3682,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
4505,
338,
284,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
41019,
3682,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.