instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
provide the number of patients whose death status is 1 and diagnoses short title is dmii neuro nt st uncntrl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.short_title = "DMII neuro nt st uncntrl" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
40567,
1790,
3670,
318,
288,
76,
4178,
7669,
299,
83,
336,
4591,
429,
45895,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
40567,
1790,
3670,
318,
288,
76,
4178,
7669,
299,
83,
336,
4591,
429,
45895,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... |
what is the arabic capital name where the english capital name is beirut? | SELECT "Arabic capital name" FROM table_20256 WHERE "English capital name" = 'Beirut' | [
10919,
318,
262,
610,
397,
291,
3139,
1438,
810,
262,
46932,
3139,
1438,
318,
307,
343,
315,
30,
46506,
366,
31602,
291,
3139,
1438,
1,
16034,
3084,
62,
1238,
11645,
33411,
366,
15823,
3139,
1438,
1,
796,
705,
3856,
343,
315,
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
] | [
10919,
318,
262,
610,
397,
291,
3139,
1438,
810,
262,
46932,
3139,
1438,
318,
307,
343,
315,
30,
46506,
366,
31602,
291,
3139,
1438,
1,
16034,
3084,
62,
1238,
11645,
33411,
366,
15823,
3139,
1438,
1,
796,
705,
3856,
343,
315,
6
] |
How many questions got reopened in the last 60 days?. | SELECT COUNT(PostId) FROM PostHistory WHERE PostHistoryTypeId = 11 AND DATEDIFF(day, CreationDate, GETDATE()) < 60 | [
2437,
867,
2683,
1392,
37415,
287,
262,
938,
3126,
1528,
30,
13,
46506,
327,
28270,
7,
6307,
7390,
8,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
1367,
5357,
360,
11617,
29267,
7,
820,
11,
21582,
10430,
11,
17151,
35,
615... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2683,
1392,
37415,
287,
262,
938,
3126,
1528,
30,
13,
46506,
327,
28270,
7,
6307,
7390,
8,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
1367,
5357,
360,
11617,
29267,
7,
820,
11,
21582,
10430,
11,
17151,
35,
615... |
Of these two , which is less difficult : EECS 481 or EECS 575 ? | SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 481 OR course.number = 575) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ... | [
5189,
777,
734,
837,
543,
318,
1342,
2408,
1058,
412,
2943,
50,
4764,
16,
393,
412,
2943,
50,
642,
2425,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5189,
777,
734,
837,
543,
318,
1342,
2408,
1058,
412,
2943,
50,
4764,
16,
393,
412,
2943,
50,
642,
2425,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
1731... |
For those employees who did not have any job in the past, a bar chart shows the distribution of hire_date and the amount of hire_date bin hire_date by weekday. | SELECT HIRE_DATE, COUNT(HIRE_DATE) 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,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
13,
46506,
36210,
2200,
62,
35,
615... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
13,
46506,
36210,
2200,
62,
35,
615... |
Name the number of regular judge when host is bernie chan | SELECT COUNT(regular_judge) FROM table_1597866_3 WHERE host = "Bernie Chan" | [
5376,
262,
1271,
286,
3218,
5052,
618,
2583,
318,
275,
1142,
494,
442,
272,
46506,
327,
28270,
7,
16338,
62,
10456,
469,
8,
16034,
3084,
62,
19707,
3695,
2791,
62,
18,
33411,
2583,
796,
366,
33433,
18704,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
3218,
5052,
618,
2583,
318,
275,
1142,
494,
442,
272,
46506,
327,
28270,
7,
16338,
62,
10456,
469,
8,
16034,
3084,
62,
19707,
3695,
2791,
62,
18,
33411,
2583,
796,
366,
33433,
18704,
1
] |
Which 9 -credit courses are there ? | SELECT DISTINCT name, number FROM course WHERE credits = 9 AND department = 'EECS' | [
13828,
860,
532,
43082,
10902,
389,
612,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
860,
5357,
5011,
796,
705,
36,
2943,
50,
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
] | [
13828,
860,
532,
43082,
10902,
389,
612,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
860,
5357,
5011,
796,
705,
36,
2943,
50,
6
] |
What position does Robert Brooks play? | SELECT COUNT(position) FROM table_14649522_1 WHERE player = "Robert Brooks" | [
2061,
2292,
857,
5199,
17704,
711,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
1415,
2414,
3865,
1828,
62,
16,
33411,
2137,
796,
366,
19156,
17704,
1
] | [
1,
1,
1,
1,
1,
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,
857,
5199,
17704,
711,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
1415,
2414,
3865,
1828,
62,
16,
33411,
2137,
796,
366,
19156,
17704,
1
] |
What is the segment B of episode 242? | SELECT segment_b FROM table_15187735_19 WHERE episode = 242 | [
2061,
318,
262,
10618,
347,
286,
4471,
34353,
30,
46506,
10618,
62,
65,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1129,
33411,
4471,
796,
34353
] | [
1,
1,
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,
10618,
347,
286,
4471,
34353,
30,
46506,
10618,
62,
65,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1129,
33411,
4471,
796,
34353
] |
In 2007, what player won player of the year? | SELECT player FROM table_name_35 WHERE year_s__won = "2007" | [
818,
4343,
11,
644,
2137,
1839,
2137,
286,
262,
614,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2327,
33411,
614,
62,
82,
834,
26502,
796,
366,
12726,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
4343,
11,
644,
2137,
1839,
2137,
286,
262,
614,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2327,
33411,
614,
62,
82,
834,
26502,
796,
366,
12726,
1
] |
What is the value of the runner up column for the Alberta province? | SELECT MAX(runner_up) FROM table_28457809_3 WHERE province = "Alberta" | [
2061,
318,
262,
1988,
286,
262,
17490,
510,
5721,
329,
262,
15555,
8473,
30,
46506,
25882,
7,
16737,
62,
929,
8,
16034,
3084,
62,
2078,
33032,
34583,
62,
18,
33411,
8473,
796,
366,
42590,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1988,
286,
262,
17490,
510,
5721,
329,
262,
15555,
8473,
30,
46506,
25882,
7,
16737,
62,
929,
8,
16034,
3084,
62,
2078,
33032,
34583,
62,
18,
33411,
8473,
796,
366,
42590,
64,
1
] |
What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? | SELECT "Akira" FROM table_52613 WHERE "Milano Collection A.T." = 'milano (10:29)' | [
2061,
318,
262,
11188,
46910,
618,
4460,
5733,
12251,
317,
13,
51,
318,
4460,
5733,
357,
940,
25,
1959,
19427,
46506,
366,
33901,
8704,
1,
16034,
3084,
62,
48531,
1485,
33411,
366,
24857,
5733,
12251,
317,
13,
51,
526,
796,
705,
25433... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11188,
46910,
618,
4460,
5733,
12251,
317,
13,
51,
318,
4460,
5733,
357,
940,
25,
1959,
19427,
46506,
366,
33901,
8704,
1,
16034,
3084,
62,
48531,
1485,
33411,
366,
24857,
5733,
12251,
317,
13,
51,
526,
796,
705,
25433... |
What is the id of the reviewer whose name has substring Mike ? | SELECT rid FROM reviewer WHERE name LIKE "%Mike%" | [
2061,
318,
262,
4686,
286,
262,
37823,
3025,
1438,
468,
3293,
1806,
4995,
5633,
46506,
5755,
16034,
37823,
33411,
1438,
34178,
36521,
16073,
39658
] | [
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,
4686,
286,
262,
37823,
3025,
1438,
468,
3293,
1806,
4995,
5633,
46506,
5755,
16034,
37823,
33411,
1438,
34178,
36521,
16073,
39658
] |
i want the cheapest flight from PITTSBURGH to ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CIT... | [
72,
765,
262,
28918,
5474,
422,
49040,
4694,
38926,
17511,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
28918,
5474,
422,
49040,
4694,
38926,
17511,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,... |
What is the Margin that has a Venue of bellerive oval , hobart, and a Season of 2002/03? | SELECT margin FROM table_name_4 WHERE venue = "bellerive oval , hobart" AND season = "2002/03" | [
2061,
318,
262,
11899,
259,
326,
468,
257,
9932,
518,
286,
307,
6051,
425,
41186,
837,
32724,
433,
11,
290,
257,
7369,
286,
6244,
14,
3070,
30,
46506,
10330,
16034,
3084,
62,
3672,
62,
19,
33411,
14359,
796,
366,
7923,
263,
425,
411... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11899,
259,
326,
468,
257,
9932,
518,
286,
307,
6051,
425,
41186,
837,
32724,
433,
11,
290,
257,
7369,
286,
6244,
14,
3070,
30,
46506,
10330,
16034,
3084,
62,
3672,
62,
19,
33411,
14359,
796,
366,
7923,
263,
425,
411... |
How many parties received 29.9% of the vote in Manhattan? | SELECT COUNT("party") FROM table_139 WHERE "Manhattan" = '29.9%' | [
2437,
867,
4671,
2722,
2808,
13,
24,
4,
286,
262,
3015,
287,
13458,
30,
46506,
327,
28270,
7203,
10608,
4943,
16034,
3084,
62,
20219,
33411,
366,
5124,
12904,
1,
796,
705,
1959,
13,
24,
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,
1,
1,
1,
1
] | [
2437,
867,
4671,
2722,
2808,
13,
24,
4,
286,
262,
3015,
287,
13458,
30,
46506,
327,
28270,
7203,
10608,
4943,
16034,
3084,
62,
20219,
33411,
366,
5124,
12904,
1,
796,
705,
1959,
13,
24,
4,
6
] |
What is the Places amount of the United States Ranking 8? | SELECT AVG("Places") FROM table_37274 WHERE "Nation" = 'united states' AND "Rank" = '8' | [
2061,
318,
262,
37291,
2033,
286,
262,
1578,
1829,
45407,
807,
30,
46506,
35224,
7203,
3646,
2114,
4943,
16034,
3084,
62,
2718,
28857,
33411,
366,
46108,
1,
796,
705,
41187,
2585,
6,
5357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
37291,
2033,
286,
262,
1578,
1829,
45407,
807,
30,
46506,
35224,
7203,
3646,
2114,
4943,
16034,
3084,
62,
2718,
28857,
33411,
366,
46108,
1,
796,
705,
41187,
2585,
6,
5357,
366,
27520,
1,
796,
705,
23,
6
] |
what is procedure short title of procedure icd9 code 4341? | SELECT procedures.short_title FROM procedures WHERE procedures.icd9_code = "4341" | [
10919,
318,
8771,
1790,
3670,
286,
8771,
14158,
67,
24,
2438,
604,
33660,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
19,
33660,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
1790,
3670,
286,
8771,
14158,
67,
24,
2438,
604,
33660,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
19,
33660,
1
] |
how many patients have the lab test item id 51249? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51249" | [
4919,
867,
3871,
423,
262,
2248,
1332,
2378,
4686,
22243,
2920,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
262,
2248,
1332,
2378,
4686,
22243,
2920,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248... |
list flights from PITTSBURGH to BOSTON leaving after 1500 in the afternoon | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time > 1500 AND flight.to_airport = AIRPORT_SERVICE_1.airpor... | [
4868,
13956,
422,
49040,
4694,
38926,
17511,
284,
347,
10892,
1340,
4305,
706,
20007,
287,
262,
6672,
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... | [
4868,
13956,
422,
49040,
4694,
38926,
17511,
284,
347,
10892,
1340,
4305,
706,
20007,
287,
262,
6672,
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 mobile markets have cvt hd? | SELECT "CVT HD" FROM table_28155 WHERE "Market" = 'Mobile' | [
2061,
5175,
5939,
423,
269,
36540,
289,
67,
30,
46506,
366,
33538,
51,
5572,
1,
16034,
3084,
62,
2078,
18742,
33411,
366,
27470,
1,
796,
705,
17066,
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,
5175,
5939,
423,
269,
36540,
289,
67,
30,
46506,
366,
33538,
51,
5572,
1,
16034,
3084,
62,
2078,
18742,
33411,
366,
27470,
1,
796,
705,
17066,
6
] |
What was the score of the away team at Junction Oval? | SELECT away_team AS score FROM table_name_77 WHERE venue = "junction oval" | [
2061,
373,
262,
4776,
286,
262,
1497,
1074,
379,
44410,
25165,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3324,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
1497,
1074,
379,
44410,
25165,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3324,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
What is the latest year of the album with the release title death valley? | SELECT MAX(year_of_release) FROM table_name_98 WHERE title = "death valley" | [
2061,
318,
262,
3452,
614,
286,
262,
5062,
351,
262,
2650,
3670,
1918,
19272,
30,
46506,
25882,
7,
1941,
62,
1659,
62,
20979,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
3670,
796,
366,
22595,
19272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
614,
286,
262,
5062,
351,
262,
2650,
3670,
1918,
19272,
30,
46506,
25882,
7,
1941,
62,
1659,
62,
20979,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
3670,
796,
366,
22595,
19272,
1
] |
What is the lowest FA cup that has a league greater than 0, with a Malaysia cup greater than 5? | SELECT MIN(fa_cup) FROM table_name_9 WHERE league > 0 AND malaysia_cup > 5 | [
2061,
318,
262,
9016,
9677,
6508,
326,
468,
257,
4652,
3744,
621,
657,
11,
351,
257,
15336,
6508,
3744,
621,
642,
30,
46506,
20625,
7,
13331,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
4652,
1875,
657,
5357,
6428,
592,
544,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
9677,
6508,
326,
468,
257,
4652,
3744,
621,
657,
11,
351,
257,
15336,
6508,
3744,
621,
642,
30,
46506,
20625,
7,
13331,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
4652,
1875,
657,
5357,
6428,
592,
544,... |
Return the number of the date of birth for all the guests with gender code 'Male', could you rank in desc by the Y? | SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" ORDER BY COUNT(date_of_birth) DESC | [
13615,
262,
1271,
286,
262,
3128,
286,
4082,
329,
477,
262,
10650,
351,
5279,
2438,
705,
25486,
3256,
714,
345,
4279,
287,
1715,
416,
262,
575,
30,
46506,
3128,
62,
1659,
62,
24280,
11,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
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... | [
13615,
262,
1271,
286,
262,
3128,
286,
4082,
329,
477,
262,
10650,
351,
5279,
2438,
705,
25486,
3256,
714,
345,
4279,
287,
1715,
416,
262,
575,
30,
46506,
3128,
62,
1659,
62,
24280,
11,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
... |
What was the away team score in the game at Arden Street Oval? | SELECT "Away team score" FROM table_32550 WHERE "Venue" = 'arden street oval' | [
2061,
373,
262,
1497,
1074,
4776,
287,
262,
983,
379,
943,
6559,
3530,
25165,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
26582,
1120,
33411,
366,
37522,
518,
1,
796,
705,
5872,
4675,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1497,
1074,
4776,
287,
262,
983,
379,
943,
6559,
3530,
25165,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
26582,
1120,
33411,
366,
37522,
518,
1,
796,
705,
5872,
4675,
41186,
6
] |
Bar chart x axis open date y axis how many open date, and order in asc by the y-axis. | SELECT Open_Date, COUNT(Open_Date) FROM church ORDER BY COUNT(Open_Date) | [
10374,
8262,
2124,
16488,
1280,
3128,
331,
16488,
703,
867,
1280,
3128,
11,
290,
1502,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928,
38678,
11050,
327,
28270,
7,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
1280,
3128,
331,
16488,
703,
867,
1280,
3128,
11,
290,
1502,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928,
38678,
11050,
327,
28270,
7,... |
what is the number of patients whose admission type is urgent and drug route is ou? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.route = "OU" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2563,
6339,
318,
267,
84,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2563,
6339,
318,
267,
84,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... |
what was the name of the organism found in patient 64538 last sputum microbiology test in 03/2100. | SELECT microbiologyevents.org_name FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64538) AND microbiologyevents.spec_type_desc = 'sputum' AND NOT microbiologyevents.org_name IS NULL AND STRFTIME('%y-%m', microbiologyevents.charttime) ... | [
10919,
373,
262,
1438,
286,
262,
26433,
1043,
287,
5827,
718,
2231,
2548,
938,
599,
315,
388,
24559,
1435,
1332,
287,
7643,
14,
2481,
405,
13,
46506,
24559,
1435,
31534,
13,
2398,
62,
3672,
16034,
24559,
1435,
31534,
33411,
24559,
1435,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
26433,
1043,
287,
5827,
718,
2231,
2548,
938,
599,
315,
388,
24559,
1435,
1332,
287,
7643,
14,
2481,
405,
13,
46506,
24559,
1435,
31534,
13,
2398,
62,
3672,
16034,
24559,
1435,
31534,
33411,
24559,
1435,... |
What's the f/laps count for the team with 8 podiums? | SELECT f_laps FROM table_27571406_1 WHERE podiums = 8 | [
2061,
338,
262,
277,
14,
75,
1686,
954,
329,
262,
1074,
351,
807,
27941,
82,
30,
46506,
277,
62,
75,
1686,
16034,
3084,
62,
1983,
3553,
1415,
3312,
62,
16,
33411,
27941,
82,
796,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
277,
14,
75,
1686,
954,
329,
262,
1074,
351,
807,
27941,
82,
30,
46506,
277,
62,
75,
1686,
16034,
3084,
62,
1983,
3553,
1415,
3312,
62,
16,
33411,
27941,
82,
796,
807
] |
What is the total number of Date, when Partner is 'Carl-Uwe Steeb'? | SELECT COUNT("Date") FROM table_9492 WHERE "Partner" = 'carl-uwe steeb' | [
2061,
318,
262,
2472,
1271,
286,
7536,
11,
618,
35532,
318,
705,
26886,
12,
52,
732,
520,
1453,
65,
30960,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
24,
40256,
33411,
366,
7841,
1008,
1,
796,
705,
66,
7063,
12,
84,
732,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
11,
618,
35532,
318,
705,
26886,
12,
52,
732,
520,
1453,
65,
30960,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
24,
40256,
33411,
366,
7841,
1008,
1,
796,
705,
66,
7063,
12,
84,
732,... |
Which Away team has Carlton for it's Home team? | SELECT away_team FROM table_name_96 WHERE home_team = "carlton" | [
13828,
21986,
1074,
468,
44348,
329,
340,
338,
5995,
1074,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
4846,
33411,
1363,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
21986,
1074,
468,
44348,
329,
340,
338,
5995,
1074,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
4846,
33411,
1363,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
how many patients whose age is less than 85 and lab test name is other cells? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "85" AND lab.label = "Other Cells" | [
4919,
867,
3871,
3025,
2479,
318,
1342,
621,
7600,
290,
2248,
1332,
1438,
318,
584,
4778,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
181... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
7600,
290,
2248,
1332,
1438,
318,
584,
4778,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
181... |
what's the total amount of fludrocortisone acetate that they prescribed to patient 24330? | SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24330) AND prescriptions.drug = 'fludrocortisone acetate' | [
10919,
338,
262,
2472,
2033,
286,
781,
463,
12204,
419,
271,
505,
25174,
378,
326,
484,
14798,
284,
5827,
1987,
26073,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092,
13,
18108,
76,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
338,
262,
2472,
2033,
286,
781,
463,
12204,
419,
271,
505,
25174,
378,
326,
484,
14798,
284,
5827,
1987,
26073,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092,
13,
18108,
76,
62... |
Who is the owner with a Hot Adult Contemporary format? | SELECT "Owner" FROM table_63897 WHERE "Format" = 'hot adult contemporary' | [
8241,
318,
262,
4870,
351,
257,
6964,
21171,
38698,
5794,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
21,
2548,
5607,
33411,
366,
26227,
1,
796,
705,
8940,
4044,
11811,
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
] | [
8241,
318,
262,
4870,
351,
257,
6964,
21171,
38698,
5794,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
21,
2548,
5607,
33411,
366,
26227,
1,
796,
705,
8940,
4044,
11811,
6
] |
What is the BB pop of the song with a CB CW of 1, RIAA of P and was released more recently than 1976? | SELECT "BB Pop" FROM table_4786 WHERE "CB CW" = '1' AND "Year" > '1976' AND "RIAA" = 'p' | [
2061,
318,
262,
12597,
1461,
286,
262,
3496,
351,
257,
10078,
24006,
286,
352,
11,
371,
3539,
32,
286,
350,
290,
373,
2716,
517,
2904,
621,
15408,
30,
46506,
366,
15199,
8099,
1,
16034,
3084,
62,
2857,
4521,
33411,
366,
23199,
24006,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12597,
1461,
286,
262,
3496,
351,
257,
10078,
24006,
286,
352,
11,
371,
3539,
32,
286,
350,
290,
373,
2716,
517,
2904,
621,
15408,
30,
46506,
366,
15199,
8099,
1,
16034,
3084,
62,
2857,
4521,
33411,
366,
23199,
24006,
... |
What is the Lead for the 1999 00 season? | SELECT lead FROM table_name_87 WHERE season = "1999–00" | [
2061,
318,
262,
20116,
329,
262,
7358,
3571,
1622,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
5774,
33411,
1622,
796,
366,
18946,
1906,
405,
1
] | [
1,
1,
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,
20116,
329,
262,
7358,
3571,
1622,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
5774,
33411,
1622,
796,
366,
18946,
1906,
405,
1
] |
What is the 1913 Class of the d32 LNER Class? | SELECT "1913 Class" FROM table_7491 WHERE "LNER Class" = 'd32' | [
2061,
318,
262,
35145,
5016,
286,
262,
288,
2624,
406,
21479,
5016,
30,
46506,
366,
1129,
1485,
5016,
1,
16034,
3084,
62,
22,
41289,
33411,
366,
43,
21479,
5016,
1,
796,
705,
67,
2624,
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,
35145,
5016,
286,
262,
288,
2624,
406,
21479,
5016,
30,
46506,
366,
1129,
1485,
5016,
1,
16034,
3084,
62,
22,
41289,
33411,
366,
43,
21479,
5016,
1,
796,
705,
67,
2624,
6
] |
Which employees do not destroy any document? Find their employee ids. | SELECT employee_id FROM employees EXCEPT SELECT destroyed_by_employee_id FROM documents_to_be_destroyed | [
13828,
4409,
466,
407,
4117,
597,
3188,
30,
9938,
511,
6538,
220,
2340,
13,
46506,
6538,
62,
312,
16034,
4409,
7788,
42006,
33493,
6572,
62,
1525,
62,
7033,
1453,
62,
312,
16034,
4963,
62,
1462,
62,
1350,
62,
41659,
276
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4409,
466,
407,
4117,
597,
3188,
30,
9938,
511,
6538,
220,
2340,
13,
46506,
6538,
62,
312,
16034,
4409,
7788,
42006,
33493,
6572,
62,
1525,
62,
7033,
1453,
62,
312,
16034,
4963,
62,
1462,
62,
1350,
62,
41659,
276
] |
Show the number of the names of editors that are on the committee of journals with sales bigger than 3000. | SELECT Name, COUNT(Name) FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID WHERE T3.Sales > 3000 GROUP BY Name | [
15307,
262,
1271,
286,
262,
3891,
286,
15719,
326,
389,
319,
262,
5583,
286,
22790,
351,
4200,
5749,
621,
20343,
13,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
3989,
62,
26799,
7054,
309,
16,
32357,
1268,
5464,
7054,
309,
17,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
262,
3891,
286,
15719,
326,
389,
319,
262,
5583,
286,
22790,
351,
4200,
5749,
621,
20343,
13,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
3989,
62,
26799,
7054,
309,
16,
32357,
1268,
5464,
7054,
309,
17,
6... |
What is the average episode number on 19 March 1993 with Jim Sweeney as performer 1? | SELECT AVG(episode) FROM table_name_29 WHERE performer_1 = "jim sweeney" AND date = "19 march 1993" | [
2061,
318,
262,
2811,
4471,
1271,
319,
678,
2805,
9656,
351,
5395,
47005,
355,
26960,
352,
30,
46506,
35224,
7,
38668,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
26960,
62,
16,
796,
366,
73,
320,
264,
41681,
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,
2811,
4471,
1271,
319,
678,
2805,
9656,
351,
5395,
47005,
355,
26960,
352,
30,
46506,
35224,
7,
38668,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
26960,
62,
16,
796,
366,
73,
320,
264,
41681,
1,
5357,
3128,
796,
366,... |
left ventricle ef < 30 % | SELECT * FROM table_test_29 WHERE left_ventricular_ejection_fraction_lvef < 30 | [
9464,
7435,
1173,
293,
304,
69,
1279,
1542,
4064,
46506,
1635,
16034,
3084,
62,
9288,
62,
1959,
33411,
1364,
62,
1151,
41001,
62,
68,
29192,
62,
69,
7861,
62,
75,
303,
69,
1279,
1542
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9464,
7435,
1173,
293,
304,
69,
1279,
1542,
4064,
46506,
1635,
16034,
3084,
62,
9288,
62,
1959,
33411,
1364,
62,
1151,
41001,
62,
68,
29192,
62,
69,
7861,
62,
75,
303,
69,
1279,
1542
] |
What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water? | SELECT MAX("GEO ID") FROM table_63181 WHERE "Land ( sqmi )" > '38.117' AND "Water (sqmi)" > '2.065' | [
2061,
318,
262,
4511,
402,
4720,
4522,
329,
1956,
14568,
625,
4353,
13,
17657,
19862,
21504,
290,
625,
362,
13,
15,
2996,
19862,
21504,
286,
1660,
30,
46506,
25882,
7203,
38,
4720,
4522,
4943,
16034,
3084,
62,
5066,
27057,
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,
4511,
402,
4720,
4522,
329,
1956,
14568,
625,
4353,
13,
17657,
19862,
21504,
290,
625,
362,
13,
15,
2996,
19862,
21504,
286,
1660,
30,
46506,
25882,
7203,
38,
4720,
4522,
4943,
16034,
3084,
62,
5066,
27057,
33411,
366,
... |
During which years was Marcus Banks in Toronto? | SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks" | [
7191,
543,
812,
373,
17068,
19566,
287,
6586,
30,
46506,
812,
62,
259,
62,
13165,
5957,
16034,
3084,
62,
3064,
1314,
19924,
62,
17,
33411,
2137,
796,
366,
35110,
19566,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7191,
543,
812,
373,
17068,
19566,
287,
6586,
30,
46506,
812,
62,
259,
62,
13165,
5957,
16034,
3084,
62,
3064,
1314,
19924,
62,
17,
33411,
2137,
796,
366,
35110,
19566,
1
] |
how many callsigns are for the branding telemundo 47 | SELECT COUNT("Callsign") FROM table_23328 WHERE "Branding" = 'Telemundo 47' | [
4919,
867,
3848,
570,
82,
389,
329,
262,
24150,
5735,
20125,
78,
6298,
46506,
327,
28270,
7203,
34,
5691,
570,
4943,
16034,
3084,
62,
25429,
2078,
33411,
366,
9414,
27225,
1,
796,
705,
6767,
10671,
41204,
6298,
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
] | [
4919,
867,
3848,
570,
82,
389,
329,
262,
24150,
5735,
20125,
78,
6298,
46506,
327,
28270,
7203,
34,
5691,
570,
4943,
16034,
3084,
62,
25429,
2078,
33411,
366,
9414,
27225,
1,
796,
705,
6767,
10671,
41204,
6298,
6
] |
when it published in english is n/a and published in russian is 1986, what is the type of work? | SELECT "Type of work" FROM table_2345 WHERE "Published in English" = 'N/A' AND "Published in Russian" = '1986' | [
12518,
340,
3199,
287,
46932,
318,
299,
14,
64,
290,
3199,
287,
374,
31562,
318,
12113,
11,
644,
318,
262,
2099,
286,
670,
30,
46506,
366,
6030,
286,
670,
1,
16034,
3084,
62,
1954,
2231,
33411,
366,
24492,
287,
3594,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
340,
3199,
287,
46932,
318,
299,
14,
64,
290,
3199,
287,
374,
31562,
318,
12113,
11,
644,
318,
262,
2099,
286,
670,
30,
46506,
366,
6030,
286,
670,
1,
16034,
3084,
62,
1954,
2231,
33411,
366,
24492,
287,
3594,
1,
796,
705,
... |
Show all destinations and the number of flights to each destination. | SELECT destination, COUNT(*) FROM Flight GROUP BY destination | [
15307,
477,
23982,
290,
262,
1271,
286,
13956,
284,
1123,
10965,
13,
46506,
10965,
11,
327,
28270,
7,
28104,
16034,
13365,
44441,
11050,
10965
] | [
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,
23982,
290,
262,
1271,
286,
13956,
284,
1123,
10965,
13,
46506,
10965,
11,
327,
28270,
7,
28104,
16034,
13365,
44441,
11050,
10965
] |
Return me a pie chart to show the average experience working length of journalists working on different role type. | SELECT Work_Type, AVG(Years_working) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type | [
13615,
502,
257,
2508,
8262,
284,
905,
262,
2811,
1998,
1762,
4129,
286,
9046,
1762,
319,
1180,
2597,
2099,
13,
46506,
5521,
62,
6030,
11,
35224,
7,
40630,
62,
16090,
8,
16034,
10099,
7054,
256,
16,
32357,
1268,
1705,
62,
13116,
7054,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
502,
257,
2508,
8262,
284,
905,
262,
2811,
1998,
1762,
4129,
286,
9046,
1762,
319,
1180,
2597,
2099,
13,
46506,
5521,
62,
6030,
11,
35224,
7,
40630,
62,
16090,
8,
16034,
10099,
7054,
256,
16,
32357,
1268,
1705,
62,
13116,
7054,... |
Draw a line chart for what is the average prices of wines for each each?, sort x axis from low to high order. | SELECT Year, AVG(Price) FROM wine GROUP BY Year ORDER BY Year | [
25302,
257,
1627,
8262,
329,
644,
318,
262,
2811,
4536,
286,
30680,
329,
1123,
1123,
21747,
3297,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
6280,
11,
35224,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280,
38678,
11050,
6280
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
1627,
8262,
329,
644,
318,
262,
2811,
4536,
286,
30680,
329,
1123,
1123,
21747,
3297,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
6280,
11,
35224,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280,
38678,
11050,
6280
] |
What was the away team score for the game with a crowd of 5391? | SELECT "Away team score" FROM table_20771 WHERE "Crowd" = '5391' | [
2061,
373,
262,
1497,
1074,
4776,
329,
262,
983,
351,
257,
4315,
286,
642,
37710,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
1238,
46761,
33411,
366,
34,
3986,
1,
796,
705,
20,
37710,
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,
373,
262,
1497,
1074,
4776,
329,
262,
983,
351,
257,
4315,
286,
642,
37710,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
1238,
46761,
33411,
366,
34,
3986,
1,
796,
705,
20,
37710,
6
] |
what tournament happened on march 27, 2006? | SELECT "Tournament" FROM table_69926 WHERE "Date" = 'march 27, 2006' | [
10919,
7756,
3022,
319,
9960,
2681,
11,
4793,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
47325,
2075,
33411,
366,
10430,
1,
796,
705,
76,
998,
2681,
11,
4793,
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
] | [
10919,
7756,
3022,
319,
9960,
2681,
11,
4793,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
47325,
2075,
33411,
366,
10430,
1,
796,
705,
76,
998,
2681,
11,
4793,
6
] |
What is Team, when High Points is 'Rashard Lewis , Micka l Pi trus (17)'? | SELECT team FROM table_name_80 WHERE high_points = "rashard lewis , mickaël piétrus (17)" | [
2061,
318,
4816,
11,
618,
3334,
11045,
318,
705,
49,
1077,
446,
10174,
837,
337,
29873,
300,
13993,
491,
385,
357,
1558,
8,
30960,
46506,
1074,
16034,
3084,
62,
3672,
62,
1795,
33411,
1029,
62,
13033,
796,
366,
81,
1077,
446,
443,
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
] | [
2061,
318,
4816,
11,
618,
3334,
11045,
318,
705,
49,
1077,
446,
10174,
837,
337,
29873,
300,
13993,
491,
385,
357,
1558,
8,
30960,
46506,
1074,
16034,
3084,
62,
3672,
62,
1795,
33411,
1029,
62,
13033,
796,
366,
81,
1077,
446,
443,
8... |
Out of total number of patients admitted before 2138, how many of them had item id 50817? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2138" AND lab.itemid = "50817" | [
7975,
286,
2472,
1271,
286,
3871,
6848,
878,
362,
20107,
11,
703,
867,
286,
606,
550,
2378,
4686,
2026,
23,
1558,
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... | [
7975,
286,
2472,
1271,
286,
3871,
6848,
878,
362,
20107,
11,
703,
867,
286,
606,
550,
2378,
4686,
2026,
23,
1558,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood? | SELECT "Visitor" FROM table_54415 WHERE "Decision" = 'osgood' AND "Home" = 'edmonton' | [
8241,
373,
262,
10013,
1074,
379,
262,
983,
810,
21165,
373,
262,
1363,
1074,
290,
262,
2551,
373,
8834,
11274,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
47576,
1314,
33411,
366,
10707,
1166,
1,
796,
705,
418,
11274,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
10013,
1074,
379,
262,
983,
810,
21165,
373,
262,
1363,
1074,
290,
262,
2551,
373,
8834,
11274,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
47576,
1314,
33411,
366,
10707,
1166,
1,
796,
705,
418,
11274,
6,
5357,
... |
What is the Nationality of the Player with Jersey Number 6? | SELECT "Nationality" FROM table_45743 WHERE "Jersey Number(s)" = '6' | [
2061,
318,
262,
2351,
414,
286,
262,
7853,
351,
8221,
7913,
718,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
33032,
3559,
33411,
366,
36134,
4397,
7913,
7,
82,
16725,
796,
705,
21,
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,
2351,
414,
286,
262,
7853,
351,
8221,
7913,
718,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
33032,
3559,
33411,
366,
36134,
4397,
7913,
7,
82,
16725,
796,
705,
21,
6
] |
tell me the intake method for provera? | SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'provera' | [
33331,
502,
262,
10337,
2446,
329,
386,
332,
64,
30,
46506,
360,
8808,
1268,
4177,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
1676,
332,
64,
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
] | [
33331,
502,
262,
10337,
2446,
329,
386,
332,
64,
30,
46506,
360,
8808,
1268,
4177,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
1676,
332,
64,
6
] |
What is every school for the Adelaide location? | SELECT "School" FROM table_24726 WHERE "Location" = 'Adelaide' | [
2061,
318,
790,
1524,
329,
262,
27139,
4067,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
23753,
2075,
33411,
366,
14749,
1,
796,
705,
2782,
25078,
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
] | [
2061,
318,
790,
1524,
329,
262,
27139,
4067,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
23753,
2075,
33411,
366,
14749,
1,
796,
705,
2782,
25078,
6
] |
Tell me the sum of gold for bronze less than 0 | SELECT SUM("Gold") FROM table_51650 WHERE "Bronze" < '0' | [
24446,
502,
262,
2160,
286,
3869,
329,
22101,
1342,
621,
657,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
47493,
1120,
33411,
366,
18760,
2736,
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
] | [
24446,
502,
262,
2160,
286,
3869,
329,
22101,
1342,
621,
657,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
47493,
1120,
33411,
366,
18760,
2736,
1,
1279,
705,
15,
6
] |
What's the Material collected for the 978-1401209674 ISBN? | SELECT material_collected FROM table_name_75 WHERE isbn = "978-1401209674" | [
2061,
338,
262,
14633,
7723,
329,
262,
41417,
12,
1415,
486,
22567,
45385,
32429,
30,
46506,
2587,
62,
4033,
12609,
16034,
3084,
62,
3672,
62,
2425,
33411,
318,
9374,
796,
366,
32196,
12,
1415,
486,
22567,
45385,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14633,
7723,
329,
262,
41417,
12,
1415,
486,
22567,
45385,
32429,
30,
46506,
2587,
62,
4033,
12609,
16034,
3084,
62,
3672,
62,
2425,
33411,
318,
9374,
796,
366,
32196,
12,
1415,
486,
22567,
45385,
1
] |
Create a bar chart showing how many class across class | SELECT Class, COUNT(Class) FROM race GROUP BY Class | [
16447,
257,
2318,
8262,
4478,
703,
867,
1398,
1973,
1398,
46506,
5016,
11,
327,
28270,
7,
9487,
8,
16034,
3234,
44441,
11050,
5016
] | [
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,
2318,
8262,
4478,
703,
867,
1398,
1973,
1398,
46506,
5016,
11,
327,
28270,
7,
9487,
8,
16034,
3234,
44441,
11050,
5016
] |
What High School with a nickname of S Eagle has a Division of crest? | SELECT high_school FROM table_name_17 WHERE division = "crest" AND nickname = "s eagle" | [
2061,
3334,
3961,
351,
257,
21814,
286,
311,
18456,
468,
257,
7458,
286,
36893,
30,
46506,
1029,
62,
14347,
16034,
3084,
62,
3672,
62,
1558,
33411,
7297,
796,
366,
66,
2118,
1,
5357,
21814,
796,
366,
82,
31176,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3334,
3961,
351,
257,
21814,
286,
311,
18456,
468,
257,
7458,
286,
36893,
30,
46506,
1029,
62,
14347,
16034,
3084,
62,
3672,
62,
1558,
33411,
7297,
796,
366,
66,
2118,
1,
5357,
21814,
796,
366,
82,
31176,
1
] |
Show the names of all the activities Mark Giuliano participates in. | SELECT T3.activity_name FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T3.actid = T2.actid WHERE T1.fname = "Mark" AND T1.lname = "Giuliano" | [
15307,
262,
3891,
286,
477,
262,
4568,
2940,
35267,
10115,
49567,
287,
13,
46506,
309,
18,
13,
21797,
62,
3672,
16034,
12829,
7054,
309,
16,
32357,
1268,
12829,
62,
48013,
689,
62,
259,
7054,
309,
17,
6177,
309,
16,
13,
38942,
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... | [
15307,
262,
3891,
286,
477,
262,
4568,
2940,
35267,
10115,
49567,
287,
13,
46506,
309,
18,
13,
21797,
62,
3672,
16034,
12829,
7054,
309,
16,
32357,
1268,
12829,
62,
48013,
689,
62,
259,
7054,
309,
17,
6177,
309,
16,
13,
38942,
312,
... |
Opponent of @ braves, and a Loss of pelfrey (2 5) had what score? | SELECT score FROM table_name_88 WHERE opponent = "@ braves" AND loss = "pelfrey (2–5)" | [
27524,
3471,
286,
2488,
8290,
1158,
11,
290,
257,
22014,
286,
279,
7046,
4364,
357,
17,
642,
8,
550,
644,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3459,
33411,
6125,
796,
44212,
8290,
1158,
1,
5357,
2994,
796,
366,
79,
7046... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27524,
3471,
286,
2488,
8290,
1158,
11,
290,
257,
22014,
286,
279,
7046,
4364,
357,
17,
642,
8,
550,
644,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3459,
33411,
6125,
796,
44212,
8290,
1158,
1,
5357,
2994,
796,
366,
79,
7046... |
What is the sum for the Scottish cup that has player Damon Gray, and more than 1 league? | SELECT SUM(scottish_cup) FROM table_name_74 WHERE player = "damon gray" AND league > 1 | [
2061,
318,
262,
2160,
329,
262,
11905,
6508,
326,
468,
2137,
33572,
12723,
11,
290,
517,
621,
352,
4652,
30,
46506,
35683,
7,
1416,
1252,
680,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
2137,
796,
366,
11043,
261,
12768,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
262,
11905,
6508,
326,
468,
2137,
33572,
12723,
11,
290,
517,
621,
352,
4652,
30,
46506,
35683,
7,
1416,
1252,
680,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
4524,
33411,
2137,
796,
366,
11043,
261,
12768,
... |
What classes next semester is Dr. Stephen Bringardner teaching ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Stephen Bringardner%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instruct... | [
2061,
6097,
1306,
24878,
318,
1583,
13,
7970,
24347,
446,
1008,
7743,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
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... | [
2061,
6097,
1306,
24878,
318,
1583,
13,
7970,
24347,
446,
1008,
7743,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
... |
A bar graph listing the local authorities and how many local authorities provided by all stations, and show from low to high by the x axis please. | SELECT local_authority, COUNT(local_authority) FROM station GROUP BY local_authority ORDER BY local_authority | [
32,
2318,
4823,
13487,
262,
1957,
4773,
290,
703,
867,
1957,
4773,
2810,
416,
477,
8985,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
2124,
16488,
3387,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
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
] | [
32,
2318,
4823,
13487,
262,
1957,
4773,
290,
703,
867,
1957,
4773,
2810,
416,
477,
8985,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
2124,
16488,
3387,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
... |
what is the date for catolog 88697185162 when the region is canada? | SELECT date FROM table_name_9 WHERE catalog = 88697185162 AND region = "canada" | [
10919,
318,
262,
3128,
329,
3797,
928,
9193,
40035,
21652,
25061,
618,
262,
3814,
318,
460,
4763,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
24,
33411,
18388,
796,
9193,
40035,
21652,
25061,
5357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
3128,
329,
3797,
928,
9193,
40035,
21652,
25061,
618,
262,
3814,
318,
460,
4763,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
24,
33411,
18388,
796,
9193,
40035,
21652,
25061,
5357,
3814,
796,
366,
5171,
4763,
1
] |
what are the schedule of flights from BOSTON to SAN FRANCISCO for 8 1 | SELECT DISTINCT FLIGHT_0.arrival_time, FLIGHT_0.departure_time 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 AS FLIGHT_0, flight AS FLIGHT_1, flight_leg WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ... | [
10919,
389,
262,
7269,
286,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
329,
807,
352,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
283,
43171,
62,
2435,
11,
9977,
9947,
62,
15,
13,
10378,
433,
495,
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... | [
10919,
389,
262,
7269,
286,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
329,
807,
352,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
283,
43171,
62,
2435,
11,
9977,
9947,
62,
15,
13,
10378,
433,
495,
6... |
What position is the player from 1987? | SELECT "Position" FROM table_32666 WHERE "From" = '1987' | [
2061,
2292,
318,
262,
2137,
422,
12923,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
39195,
2791,
33411,
366,
4863,
1,
796,
705,
27301,
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
] | [
2061,
2292,
318,
262,
2137,
422,
12923,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
39195,
2791,
33411,
366,
4863,
1,
796,
705,
27301,
6
] |
Visualize a bar chart for which catalog contents has price above 700 dollars? Show their catalog entry names and capacities. | SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700 | [
36259,
1096,
257,
2318,
8262,
329,
543,
18388,
10154,
468,
2756,
2029,
13037,
5054,
30,
5438,
511,
18388,
5726,
3891,
290,
32484,
13,
46506,
18388,
62,
13000,
62,
3672,
11,
5339,
16034,
44515,
62,
15842,
33411,
2756,
62,
259,
62,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
329,
543,
18388,
10154,
468,
2756,
2029,
13037,
5054,
30,
5438,
511,
18388,
5726,
3891,
290,
32484,
13,
46506,
18388,
62,
13000,
62,
3672,
11,
5339,
16034,
44515,
62,
15842,
33411,
2756,
62,
259,
62,
67,
... |
we're going from DENVER to SAN FRANCISCO | 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA... | [
732,
821,
1016,
422,
37692,
5959,
284,
37376,
8782,
20940,
37719,
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,
31600,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
732,
821,
1016,
422,
37692,
5959,
284,
37376,
8782,
20940,
37719,
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,
31600,
154... |
What was the club team for Kyle de Coste? | SELECT "Club Team" FROM table_44734 WHERE "Player" = 'kyle de coste' | [
2061,
373,
262,
3430,
1074,
329,
14316,
390,
6446,
68,
30,
46506,
366,
42350,
4816,
1,
16034,
3084,
62,
34825,
2682,
33411,
366,
14140,
1,
796,
705,
74,
2349,
390,
1575,
68,
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,
373,
262,
3430,
1074,
329,
14316,
390,
6446,
68,
30,
46506,
366,
42350,
4816,
1,
16034,
3084,
62,
34825,
2682,
33411,
366,
14140,
1,
796,
705,
74,
2349,
390,
1575,
68,
6
] |
What is the name of the City with December 21 as a Date? | SELECT city FROM table_name_94 WHERE date = "december 21" | [
2061,
318,
262,
1438,
286,
262,
2254,
351,
3426,
2310,
355,
257,
7536,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
5824,
33411,
3128,
796,
366,
2934,
3273,
2310,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2254,
351,
3426,
2310,
355,
257,
7536,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
5824,
33411,
3128,
796,
366,
2934,
3273,
2310,
1
] |
New More visualizated Android Testing TOP 10. | SELECT P.Title, YEAR(P.CreationDate) AS Ano, P.Score, P.ViewCount, P.AnswerCount, P.AcceptedAnswerId, P.Tags FROM Posts AS P WHERE (NOT P.Tags LIKE '%android-emulator%') AND ((P.Tags LIKE '%android-testing%') OR (P.Tags LIKE '%robotium%') OR (P.Tags LIKE '%androidviewclient%') OR (P.Tags LIKE '%monkeyrunner%') OR (P.Ta... | [
3791,
3125,
5874,
528,
515,
5565,
23983,
28662,
838,
13,
46506,
350,
13,
19160,
11,
32914,
7,
47,
13,
12443,
341,
10430,
8,
7054,
1052,
78,
11,
350,
13,
26595,
11,
350,
13,
7680,
12332,
11,
350,
13,
33706,
12332,
11,
350,
13,
3885... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3791,
3125,
5874,
528,
515,
5565,
23983,
28662,
838,
13,
46506,
350,
13,
19160,
11,
32914,
7,
47,
13,
12443,
341,
10430,
8,
7054,
1052,
78,
11,
350,
13,
26595,
11,
350,
13,
7680,
12332,
11,
350,
13,
33706,
12332,
11,
350,
13,
3885... |
What's Steve Langdon's naitionality? | SELECT "Nationality" FROM table_23131 WHERE "Player" = 'Steve Langdon' | [
2061,
338,
6542,
16332,
9099,
338,
12385,
653,
1483,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
1954,
22042,
33411,
366,
14140,
1,
796,
705,
19206,
16332,
9099,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
6542,
16332,
9099,
338,
12385,
653,
1483,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
1954,
22042,
33411,
366,
14140,
1,
796,
705,
19206,
16332,
9099,
6
] |
Draw a bar chart about the distribution of ACC_Road and the sum of Team_ID , and group by attribute ACC_Road, sort in descending by the X. | SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road DESC | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
3297,
287,
31491,
416,
262,
1395,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
3297,
287,
31491,
416,
262,
1395,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
... |
What was the start source that ended on 4 May? | SELECT "Start Source" FROM table_14701 WHERE "Ended" = '4 may' | [
2061,
373,
262,
923,
2723,
326,
4444,
319,
604,
1737,
30,
46506,
366,
10434,
8090,
1,
16034,
3084,
62,
20198,
486,
33411,
366,
12915,
276,
1,
796,
705,
19,
743,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
923,
2723,
326,
4444,
319,
604,
1737,
30,
46506,
366,
10434,
8090,
1,
16034,
3084,
62,
20198,
486,
33411,
366,
12915,
276,
1,
796,
705,
19,
743,
6
] |
What is the branding frequency of cbc radio 2? | SELECT frequency FROM table_name_74 WHERE branding = "cbc radio 2" | [
2061,
318,
262,
24150,
8373,
286,
269,
15630,
5243,
362,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
4524,
33411,
24150,
796,
366,
66,
15630,
5243,
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
] | [
2061,
318,
262,
24150,
8373,
286,
269,
15630,
5243,
362,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
4524,
33411,
24150,
796,
366,
66,
15630,
5243,
362,
1
] |
Who was the opponent during the competition in which the bowling figures were 5-33 (10)? | SELECT versus FROM table_name_82 WHERE bowling_figures_wickets_runs__overs_ = "5-33 (10)" | [
8241,
373,
262,
6125,
1141,
262,
5449,
287,
543,
262,
33564,
5538,
547,
642,
12,
2091,
357,
940,
19427,
46506,
9051,
16034,
3084,
62,
3672,
62,
6469,
33411,
33564,
62,
5647,
942,
62,
86,
15970,
62,
48381,
834,
13801,
62,
796,
366,
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
] | [
8241,
373,
262,
6125,
1141,
262,
5449,
287,
543,
262,
33564,
5538,
547,
642,
12,
2091,
357,
940,
19427,
46506,
9051,
16034,
3084,
62,
3672,
62,
6469,
33411,
33564,
62,
5647,
942,
62,
86,
15970,
62,
48381,
834,
13801,
62,
796,
366,
2... |
What is the yeast ortholog of mouse ortholog MMS19? | SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19" | [
2061,
318,
262,
20146,
29617,
928,
286,
10211,
29617,
928,
337,
5653,
1129,
30,
46506,
20146,
62,
1506,
928,
16034,
3084,
62,
3672,
62,
1507,
33411,
10211,
62,
1506,
928,
796,
366,
76,
907,
1129,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20146,
29617,
928,
286,
10211,
29617,
928,
337,
5653,
1129,
30,
46506,
20146,
62,
1506,
928,
16034,
3084,
62,
3672,
62,
1507,
33411,
10211,
62,
1506,
928,
796,
366,
76,
907,
1129,
1
] |
which was from the lion king , can you feel the love tonight or candle on the water ? | SELECT "title" FROM table_204_573 WHERE "title" IN ('"can you feel the love tonight"', '"candle on the water"') AND "film" = 'the lion king' | [
4758,
373,
422,
262,
18744,
5822,
837,
460,
345,
1254,
262,
1842,
9975,
393,
26839,
319,
262,
1660,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
48638,
33411,
366,
7839,
1,
3268,
19203,
1,
5171,
345,
1254,
262,
1842,
9975,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
373,
422,
262,
18744,
5822,
837,
460,
345,
1254,
262,
1842,
9975,
393,
26839,
319,
262,
1660,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
48638,
33411,
366,
7839,
1,
3268,
19203,
1,
5171,
345,
1254,
262,
1842,
9975,
... |
Show names of companies and that of employees in descending order of number of years working for that employee. | SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID ORDER BY T1.Year_working | [
15307,
3891,
286,
2706,
290,
326,
286,
4409,
287,
31491,
1502,
286,
1271,
286,
812,
1762,
329,
326,
6538,
13,
46506,
309,
18,
13,
5376,
11,
309,
17,
13,
5376,
16034,
7184,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
3891,
286,
2706,
290,
326,
286,
4409,
287,
31491,
1502,
286,
1271,
286,
812,
1762,
329,
326,
6538,
13,
46506,
309,
18,
13,
5376,
11,
309,
17,
13,
5376,
16034,
7184,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
... |
How much Rank has a Name of janne happonen, and a 1st (m) larger than 203.5? | SELECT COUNT("Rank") FROM table_36017 WHERE "Name" = 'janne happonen' AND "1st (m)" > '203.5' | [
2437,
881,
10916,
468,
257,
6530,
286,
474,
21952,
1147,
34481,
11,
290,
257,
352,
301,
357,
76,
8,
4025,
621,
27408,
13,
20,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
2623,
29326,
33411,
366,
5376,
1,
796,
705,
138... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
468,
257,
6530,
286,
474,
21952,
1147,
34481,
11,
290,
257,
352,
301,
357,
76,
8,
4025,
621,
27408,
13,
20,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
2623,
29326,
33411,
366,
5376,
1,
796,
705,
138... |
What are the response received dates for the documents described as 'Regular' or granted with more than 100? | SELECT T1.response_received_date FROM documents AS T1 JOIN document_types AS T2 ON T1.document_type_code = T2.document_type_code JOIN grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100 | [
2061,
389,
262,
2882,
2722,
9667,
329,
262,
4963,
3417,
355,
705,
40164,
6,
393,
7520,
351,
517,
621,
1802,
30,
46506,
309,
16,
13,
26209,
62,
47844,
62,
4475,
16034,
4963,
7054,
309,
16,
32357,
1268,
3188,
62,
19199,
7054,
309,
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,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2882,
2722,
9667,
329,
262,
4963,
3417,
355,
705,
40164,
6,
393,
7520,
351,
517,
621,
1802,
30,
46506,
309,
16,
13,
26209,
62,
47844,
62,
4475,
16034,
4963,
7054,
309,
16,
32357,
1268,
3188,
62,
19199,
7054,
309,
17,... |
Who is the winning driver that has a construction of brm? | SELECT "Winning driver" FROM table_58324 WHERE "Constructor" = 'brm' | [
8241,
318,
262,
5442,
4639,
326,
468,
257,
5103,
286,
865,
76,
30,
46506,
366,
16643,
768,
4639,
1,
16034,
3084,
62,
3365,
33916,
33411,
366,
42316,
273,
1,
796,
705,
1671,
76,
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
] | [
8241,
318,
262,
5442,
4639,
326,
468,
257,
5103,
286,
865,
76,
30,
46506,
366,
16643,
768,
4639,
1,
16034,
3084,
62,
3365,
33916,
33411,
366,
42316,
273,
1,
796,
705,
1671,
76,
6
] |
What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk? | SELECT santo_domingo_, _dominican FROM table_name_79 WHERE world_record = "clean & jerk" | [
2061,
318,
262,
3785,
329,
10844,
78,
360,
3383,
78,
11,
32022,
329,
262,
995,
1700,
287,
262,
3424,
1222,
29757,
30,
46506,
264,
14723,
62,
67,
3383,
78,
62,
11,
4808,
3438,
259,
7490,
16034,
3084,
62,
3672,
62,
3720,
33411,
995,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3785,
329,
10844,
78,
360,
3383,
78,
11,
32022,
329,
262,
995,
1700,
287,
262,
3424,
1222,
29757,
30,
46506,
264,
14723,
62,
67,
3383,
78,
62,
11,
4808,
3438,
259,
7490,
16034,
3084,
62,
3672,
62,
3720,
33411,
995,
... |
how did in 2105 patient 86209 last enter the hospital? | SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 86209 AND STRFTIME('%y', admissions.admittime) = '2105' ORDER BY admissions.admittime DESC LIMIT 1 | [
4919,
750,
287,
362,
13348,
5827,
9849,
22567,
938,
3802,
262,
4436,
30,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
9849,
22567,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
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
] | [
4919,
750,
287,
362,
13348,
5827,
9849,
22567,
938,
3802,
262,
4436,
30,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
9849,
22567,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
13,
... |
Which memeber has nt as the state? | SELECT member FROM table_name_7 WHERE state = "nt" | [
13828,
25336,
527,
468,
299,
83,
355,
262,
1181,
30,
46506,
2888,
16034,
3084,
62,
3672,
62,
22,
33411,
1181,
796,
366,
429,
1
] | [
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,
25336,
527,
468,
299,
83,
355,
262,
1181,
30,
46506,
2888,
16034,
3084,
62,
3672,
62,
22,
33411,
1181,
796,
366,
429,
1
] |
What player has 12 caps? | SELECT player FROM table_name_36 WHERE caps = 12 | [
2061,
2137,
468,
1105,
11022,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2623,
33411,
11022,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
468,
1105,
11022,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2623,
33411,
11022,
796,
1105
] |
What are the average ages of artists by countries? Visualize the result with a histogram, and I want to display in asc by the total number. | SELECT Country, AVG(Age) FROM artist GROUP BY Country ORDER BY AVG(Age) | [
2061,
389,
262,
2811,
9337,
286,
7912,
416,
2678,
30,
15612,
1096,
262,
1255,
351,
257,
1554,
21857,
11,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
12946,
11,
35224,
7,
23396,
8,
16034,
6802,
44441,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
9337,
286,
7912,
416,
2678,
30,
15612,
1096,
262,
1255,
351,
257,
1554,
21857,
11,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
12946,
11,
35224,
7,
23396,
8,
16034,
6802,
44441,
11050,
... |
What was the Against when the Opposing Team was sheffield wednesday? | SELECT "Against" FROM table_50209 WHERE "Opposing Team" = 'sheffield wednesday' | [
2061,
373,
262,
12914,
618,
262,
9385,
2752,
4816,
373,
673,
31374,
29445,
3462,
30,
46506,
366,
39276,
1,
16034,
3084,
62,
1120,
22567,
33411,
366,
27524,
2752,
4816,
1,
796,
705,
7091,
31374,
29445,
3462,
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,
12914,
618,
262,
9385,
2752,
4816,
373,
673,
31374,
29445,
3462,
30,
46506,
366,
39276,
1,
16034,
3084,
62,
1120,
22567,
33411,
366,
27524,
2752,
4816,
1,
796,
705,
7091,
31374,
29445,
3462,
6
] |
list the patient identifications of patients who have been diagnosed with cannabis abuse-unspec since 2 years ago. | SELECT admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cannabis abuse-unspec') AND DATETIME(diagnoses_icd.charttime) >= DATETIME(... | [
4868,
262,
5827,
1852,
6637,
286,
3871,
508,
423,
587,
14641,
351,
9499,
5076,
12,
403,
16684,
1201,
362,
812,
2084,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
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... | [
4868,
262,
5827,
1852,
6637,
286,
3871,
508,
423,
587,
14641,
351,
9499,
5076,
12,
403,
16684,
1201,
362,
812,
2084,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62... |
What is Upstream, when Price is '14 EUR'? | SELECT upstream FROM table_name_25 WHERE price = "14 eur" | [
2061,
318,
3205,
5532,
11,
618,
7886,
318,
705,
1415,
27526,
30960,
46506,
28717,
16034,
3084,
62,
3672,
62,
1495,
33411,
2756,
796,
366,
1415,
304,
333,
1
] | [
1,
1,
1,
1,
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,
3205,
5532,
11,
618,
7886,
318,
705,
1415,
27526,
30960,
46506,
28717,
16034,
3084,
62,
3672,
62,
1495,
33411,
2756,
796,
366,
1415,
304,
333,
1
] |
For those products with a price between 60 and 120, give me the comparison about price over the name , and list from low to high by the Y-axis. | SELECT Name, Price FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Price | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1577,
502,
262,
7208,
546,
2756,
625,
262,
1438,
837,
290,
1351,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
46506,
6530,
11,
7886,
16034,
18675,
33411,
7886,
38651,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1577,
502,
262,
7208,
546,
2756,
625,
262,
1438,
837,
290,
1351,
422,
1877,
284,
1029,
416,
262,
575,
12,
22704,
13,
46506,
6530,
11,
7886,
16034,
18675,
33411,
7886,
38651,
... |
Which format has a Station of kcbs? | SELECT format FROM table_name_80 WHERE station = "kcbs" | [
13828,
5794,
468,
257,
9327,
286,
479,
66,
1443,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1795,
33411,
4429,
796,
366,
74,
66,
1443,
1
] | [
1,
1,
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,
5794,
468,
257,
9327,
286,
479,
66,
1443,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1795,
33411,
4429,
796,
366,
74,
66,
1443,
1
] |
What number of Fatalities did the Epicenter M zandar n have? | SELECT fatalities FROM table_name_79 WHERE epicenter = "māzandarān" | [
2061,
1271,
286,
41815,
871,
750,
262,
16781,
9255,
337,
1976,
392,
283,
299,
423,
30,
46506,
30091,
16034,
3084,
62,
3672,
62,
3720,
33411,
12191,
9255,
796,
366,
76,
10235,
89,
392,
283,
10235,
77,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41815,
871,
750,
262,
16781,
9255,
337,
1976,
392,
283,
299,
423,
30,
46506,
30091,
16034,
3084,
62,
3672,
62,
3720,
33411,
12191,
9255,
796,
366,
76,
10235,
89,
392,
283,
10235,
77,
1
] |
how many patients are diagnosed with the primary disease of coronary artery disease or coronary artery bypass graft myomectomy/sda and followed the procedure icd9 code 5187? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" AND procedures.icd9_code = "5187" | [
4919,
867,
3871,
389,
14641,
351,
262,
4165,
4369,
286,
37151,
37646,
4369,
393,
37151,
37646,
17286,
38455,
616,
462,
310,
9145,
14,
82,
6814,
290,
3940,
262,
8771,
14158,
67,
24,
2438,
642,
23451,
30,
46506,
327,
28270,
7,
35,
8808,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
14641,
351,
262,
4165,
4369,
286,
37151,
37646,
4369,
393,
37151,
37646,
17286,
38455,
616,
462,
310,
9145,
14,
82,
6814,
290,
3940,
262,
8771,
14158,
67,
24,
2438,
642,
23451,
30,
46506,
327,
28270,
7,
35,
8808,... |
Name the kickoff for rheinstadion | SELECT "Kickoff" FROM table_3829 WHERE "Game site" = 'Rheinstadion' | [
5376,
262,
40532,
329,
374,
258,
8625,
324,
295,
46506,
366,
45390,
2364,
1,
16034,
3084,
62,
2548,
1959,
33411,
366,
8777,
2524,
1,
796,
705,
49,
258,
8625,
324,
295,
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
] | [
5376,
262,
40532,
329,
374,
258,
8625,
324,
295,
46506,
366,
45390,
2364,
1,
16034,
3084,
62,
2548,
1959,
33411,
366,
8777,
2524,
1,
796,
705,
49,
258,
8625,
324,
295,
6
] |
What is the final win percentage of the Sault Ste. Marie Greyhounds? | SELECT final_win__percentage FROM table_17751942_4 WHERE team = "Sault Ste. Marie Greyhounds" | [
2061,
318,
262,
2457,
1592,
5873,
286,
262,
311,
1721,
2441,
13,
20492,
13980,
71,
3733,
30,
46506,
2457,
62,
5404,
834,
25067,
496,
16034,
3084,
62,
1558,
2425,
1129,
3682,
62,
19,
33411,
1074,
796,
366,
50,
1721,
2441,
13,
20492,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2457,
1592,
5873,
286,
262,
311,
1721,
2441,
13,
20492,
13980,
71,
3733,
30,
46506,
2457,
62,
5404,
834,
25067,
496,
16034,
3084,
62,
1558,
2425,
1129,
3682,
62,
19,
33411,
1074,
796,
366,
50,
1721,
2441,
13,
20492,
... |
Count the number of different companies. | SELECT COUNT(DISTINCT company) FROM entrepreneur | [
12332,
262,
1271,
286,
1180,
2706,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1664,
8,
16034,
19500
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
1180,
2706,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1664,
8,
16034,
19500
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.