instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the 2010 with a qf in 2011? | SELECT "2010" FROM table_61843 WHERE "2011" = 'qf' | [
2061,
318,
262,
3050,
351,
257,
10662,
69,
287,
2813,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
47448,
3559,
33411,
366,
9804,
1,
796,
705,
80,
69,
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,
3050,
351,
257,
10662,
69,
287,
2813,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
47448,
3559,
33411,
366,
9804,
1,
796,
705,
80,
69,
6
] |
In what Battle was Bulgarian Commander of Gavril Radomir? | SELECT "Battle" FROM table_60794 WHERE "Bulgarian Commander" = 'gavril radomir' | [
818,
644,
5838,
373,
42119,
13353,
286,
402,
615,
22379,
5325,
296,
343,
30,
46506,
366,
24064,
1,
16034,
3084,
62,
1899,
50242,
33411,
366,
33481,
70,
3699,
13353,
1,
796,
705,
70,
615,
22379,
2511,
296,
343,
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
] | [
818,
644,
5838,
373,
42119,
13353,
286,
402,
615,
22379,
5325,
296,
343,
30,
46506,
366,
24064,
1,
16034,
3084,
62,
1899,
50242,
33411,
366,
33481,
70,
3699,
13353,
1,
796,
705,
70,
615,
22379,
2511,
296,
343,
6
] |
Name the position for british columbia | SELECT "Position" FROM table_3980 WHERE "College" = 'British Columbia' | [
5376,
262,
2292,
329,
275,
799,
680,
951,
2178,
544,
46506,
366,
26545,
1,
16034,
3084,
62,
2670,
1795,
33411,
366,
38951,
1,
796,
705,
25631,
9309,
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
] | [
5376,
262,
2292,
329,
275,
799,
680,
951,
2178,
544,
46506,
366,
26545,
1,
16034,
3084,
62,
2670,
1795,
33411,
366,
38951,
1,
796,
705,
25631,
9309,
6
] |
what is patient 031-22988's monthly maximum level of oxyhemoglobin? | SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-22988')) AND lab.labname = 'oxyhemoglobin' GROUP BY STRFTIME('%y-%m', lab.labr... | [
10919,
318,
5827,
657,
3132,
12,
23539,
3459,
338,
9651,
5415,
1241,
286,
10661,
4411,
49835,
30,
46506,
25882,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
657,
3132,
12,
23539,
3459,
338,
9651,
5415,
1241,
286,
10661,
4411,
49835,
30,
46506,
25882,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20... |
What was 1948's pick? | SELECT "Pick" FROM table_35361 WHERE "Year" = '1948' | [
2061,
373,
21794,
338,
2298,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
2327,
35195,
33411,
366,
17688,
1,
796,
705,
1129,
2780,
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
] | [
2061,
373,
21794,
338,
2298,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
2327,
35195,
33411,
366,
17688,
1,
796,
705,
1129,
2780,
6
] |
A bar chart shows the distribution of All_Neutral and School_ID , and rank by the bars in descending please. | SELECT All_Neutral, School_ID FROM basketball_match ORDER BY All_Neutral DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
8199,
6815,
290,
3961,
62,
2389,
837,
290,
4279,
416,
262,
9210,
287,
31491,
3387,
13,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1439,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
8199,
6815,
290,
3961,
62,
2389,
837,
290,
4279,
416,
262,
9210,
287,
31491,
3387,
13,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
... |
What is the result for the district missouri 2? | SELECT "Result" FROM table_18322 WHERE "District" = 'Missouri 2' | [
2061,
318,
262,
1255,
329,
262,
4783,
2051,
10300,
362,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
24839,
1828,
33411,
366,
44857,
1,
796,
705,
17140,
10300,
362,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
329,
262,
4783,
2051,
10300,
362,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
24839,
1828,
33411,
366,
44857,
1,
796,
705,
17140,
10300,
362,
6
] |
in the last month, was patient 8016's arterial bp [diastolic] greater than 68.0? | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8016)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diast... | [
259,
262,
938,
1227,
11,
373,
5827,
807,
27037,
338,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
3744,
621,
8257,
13,
15,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
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... | [
259,
262,
938,
1227,
11,
373,
5827,
807,
27037,
338,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
3744,
621,
8257,
13,
15,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,... |
Which film was released in 1983? | SELECT "Film" FROM table_15007 WHERE "Year" = '1983' | [
13828,
2646,
373,
2716,
287,
13540,
30,
46506,
366,
39750,
1,
16034,
3084,
62,
1314,
25816,
33411,
366,
17688,
1,
796,
705,
29279,
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
] | [
13828,
2646,
373,
2716,
287,
13540,
30,
46506,
366,
39750,
1,
16034,
3084,
62,
1314,
25816,
33411,
366,
17688,
1,
796,
705,
29279,
6
] |
Name the scoring average for best finsih being t35 | SELECT scoring_average FROM table_18198579_6 WHERE best_finish = "T35" | [
5376,
262,
9689,
2811,
329,
1266,
42080,
4449,
852,
256,
2327,
46506,
9689,
62,
23913,
16034,
3084,
62,
1507,
22337,
41734,
62,
21,
33411,
1266,
62,
15643,
680,
796,
366,
51,
2327,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9689,
2811,
329,
1266,
42080,
4449,
852,
256,
2327,
46506,
9689,
62,
23913,
16034,
3084,
62,
1507,
22337,
41734,
62,
21,
33411,
1266,
62,
15643,
680,
796,
366,
51,
2327,
1
] |
What state was the president who was elected earlier than 1848 born in? | SELECT "Birth State" FROM table_11584 WHERE "Election Year" < '1848' | [
2061,
1181,
373,
262,
1893,
508,
373,
7018,
2961,
621,
1248,
2780,
4642,
287,
30,
46506,
366,
38480,
1812,
1,
16034,
3084,
62,
1157,
46352,
33411,
366,
36,
1564,
6280,
1,
1279,
705,
1507,
2780,
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,
1181,
373,
262,
1893,
508,
373,
7018,
2961,
621,
1248,
2780,
4642,
287,
30,
46506,
366,
38480,
1812,
1,
16034,
3084,
62,
1157,
46352,
33411,
366,
36,
1564,
6280,
1,
1279,
705,
1507,
2780,
6
] |
What is the date of the tournament at Hokkaid with prize of 150000000? | SELECT dates FROM table_26144632_1 WHERE location = "Hokkaidō" AND prize_fund___¥__ = 150000000 | [
2061,
318,
262,
3128,
286,
262,
7756,
379,
26467,
74,
1698,
351,
11596,
286,
1315,
24598,
30,
46506,
9667,
16034,
3084,
62,
2075,
1415,
3510,
2624,
62,
16,
33411,
4067,
796,
366,
39,
482,
74,
1698,
13090,
1,
5357,
11596,
62,
10990,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
7756,
379,
26467,
74,
1698,
351,
11596,
286,
1315,
24598,
30,
46506,
9667,
16034,
3084,
62,
2075,
1415,
3510,
2624,
62,
16,
33411,
4067,
796,
366,
39,
482,
74,
1698,
13090,
1,
5357,
11596,
62,
10990,
... |
tell me the name of the lab tests that patient 033-12085 first received until 38 months ago? | SELECT lab.labname FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-12085')) AND DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-38 month') ORD... | [
33331,
502,
262,
1438,
286,
262,
2248,
5254,
326,
5827,
657,
2091,
12,
1065,
2919,
20,
717,
2722,
1566,
4353,
1933,
2084,
30,
46506,
2248,
13,
23912,
3672,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
2248,
5254,
326,
5827,
657,
2091,
12,
1065,
2919,
20,
717,
2722,
1566,
4353,
1933,
2084,
30,
46506,
2248,
13,
23912,
3672,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
... |
What was the date of the game when the home team scored 21.18 (144) and the away team scored 16.19 (115)? | SELECT "Date" FROM table_10162 WHERE "Home team score" = '21.18 (144)' AND "Away team score" = '16.19 (115)' | [
2061,
373,
262,
3128,
286,
262,
983,
618,
262,
1363,
1074,
7781,
2310,
13,
1507,
357,
18444,
8,
290,
262,
1497,
1074,
7781,
1467,
13,
1129,
357,
15363,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
8784,
5237,
33411,
366,
16060,
1074,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
7781,
2310,
13,
1507,
357,
18444,
8,
290,
262,
1497,
1074,
7781,
1467,
13,
1129,
357,
15363,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
8784,
5237,
33411,
366,
16060,
1074,... |
During the Winter , which PERSIAN classes , upper level , are offered ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.department = 'PERSIAN' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Win... | [
7191,
262,
10633,
837,
543,
350,
4877,
16868,
6097,
837,
6727,
1241,
837,
389,
4438,
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,
1430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
10633,
837,
543,
350,
4877,
16868,
6097,
837,
6727,
1241,
837,
389,
4438,
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,
1430,
... |
What was the score of the game that had a record of 52 103? | SELECT score FROM table_name_14 WHERE record = "52–103" | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
1700,
286,
6740,
15349,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1415,
33411,
1700,
796,
366,
4309,
1906,
15197,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
1700,
286,
6740,
15349,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1415,
33411,
1700,
796,
366,
4309,
1906,
15197,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the sum of manager_id over the hire_date bin hire_date by weekday, could you sort Y from high to low order? | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(MANAGER_ID) DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
4706,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
4706,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
11,
... |
Show first name and id for all customers with at least 2 accounts in a bar chart, and could you order y axis in desc order? | SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id ORDER BY T1.customer_id DESC | [
15307,
717,
1438,
290,
4686,
329,
477,
4297,
351,
379,
1551,
362,
5504,
287,
257,
2318,
8262,
11,
290,
714,
345,
1502,
331,
16488,
287,
1715,
1502,
30,
46506,
309,
17,
13,
23144,
263,
62,
11085,
62,
3672,
11,
309,
16,
13,
23144,
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... | [
15307,
717,
1438,
290,
4686,
329,
477,
4297,
351,
379,
1551,
362,
5504,
287,
257,
2318,
8262,
11,
290,
714,
345,
1502,
331,
16488,
287,
1715,
1502,
30,
46506,
309,
17,
13,
23144,
263,
62,
11085,
62,
3672,
11,
309,
16,
13,
23144,
2... |
Questions Where the Accepted Answer isn't the Highest Voted Answer. | SELECT Id, Score FROM Posts WHERE Posts.AcceptedAnswerId != Posts.Id | [
35741,
6350,
262,
21699,
276,
23998,
2125,
470,
262,
41864,
569,
5191,
23998,
13,
46506,
5121,
11,
15178,
16034,
12043,
33411,
12043,
13,
38855,
276,
33706,
7390,
14512,
12043,
13,
7390
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35741,
6350,
262,
21699,
276,
23998,
2125,
470,
262,
41864,
569,
5191,
23998,
13,
46506,
5121,
11,
15178,
16034,
12043,
33411,
12043,
13,
38855,
276,
33706,
7390,
14512,
12043,
13,
7390
] |
What is the country of Paavo Yrj l ? | SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä" | [
2061,
318,
262,
1499,
286,
11243,
615,
78,
575,
81,
73,
300,
5633,
46506,
1499,
16034,
3084,
62,
2075,
34229,
12762,
62,
19,
33411,
16076,
796,
366,
28875,
615,
78,
575,
81,
73,
9101,
75,
11033,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
286,
11243,
615,
78,
575,
81,
73,
300,
5633,
46506,
1499,
16034,
3084,
62,
2075,
34229,
12762,
62,
19,
33411,
16076,
796,
366,
28875,
615,
78,
575,
81,
73,
9101,
75,
11033,
1
] |
What is the nickname of Linfield College? | SELECT nickname FROM table_261941_1 WHERE institution = "Linfield College" | [
2061,
318,
262,
21814,
286,
5164,
3245,
5535,
30,
46506,
21814,
16034,
3084,
62,
2075,
1129,
3901,
62,
16,
33411,
9901,
796,
366,
14993,
3245,
5535,
1
] | [
1,
1,
1,
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,
21814,
286,
5164,
3245,
5535,
30,
46506,
21814,
16034,
3084,
62,
2075,
1129,
3901,
62,
16,
33411,
9901,
796,
366,
14993,
3245,
5535,
1
] |
What was the smallest attendance at a game when the record was 7-15? | SELECT MIN(attendance) FROM table_name_7 WHERE record = "7-15" | [
2061,
373,
262,
18197,
14858,
379,
257,
983,
618,
262,
1700,
373,
767,
12,
1314,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
1700,
796,
366,
22,
12,
1314,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18197,
14858,
379,
257,
983,
618,
262,
1700,
373,
767,
12,
1314,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
1700,
796,
366,
22,
12,
1314,
1
] |
how many patients who had a lab test for lipase were treated with main drug? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "MAIN" AND lab.label = "Lipase" | [
4919,
867,
3871,
508,
550,
257,
2248,
1332,
329,
10645,
589,
547,
5716,
351,
1388,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
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,
508,
550,
257,
2248,
1332,
329,
10645,
589,
547,
5716,
351,
1388,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
181... |
Show student ids who don't have any sports. | SELECT StuID FROM Student EXCEPT SELECT StuID FROM Sportsinfo | [
15307,
3710,
220,
2340,
508,
836,
470,
423,
597,
5701,
13,
46506,
520,
84,
2389,
16034,
13613,
7788,
42006,
33493,
520,
84,
2389,
16034,
7092,
10951
] | [
1,
1,
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,
3710,
220,
2340,
508,
836,
470,
423,
597,
5701,
13,
46506,
520,
84,
2389,
16034,
13613,
7788,
42006,
33493,
520,
84,
2389,
16034,
7092,
10951
] |
how many players have values from the fa cup ? | SELECT COUNT("name") FROM table_204_877 WHERE "fa cup" <> 0 | [
4919,
867,
1938,
423,
3815,
422,
262,
24685,
6508,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
42802,
33411,
366,
13331,
6508,
1,
1279,
29,
657
] | [
1,
1,
1,
1,
1,
1,
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,
1938,
423,
3815,
422,
262,
24685,
6508,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
42802,
33411,
366,
13331,
6508,
1,
1279,
29,
657
] |
What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS? | SELECT "max. torque at rpm" FROM table_53711 WHERE "engine code(s)" = 'bjb/bkc/bxe/bls' | [
2061,
318,
262,
5415,
26415,
379,
37542,
329,
262,
3113,
30817,
47204,
33,
14,
33,
36222,
14,
33,
55,
36,
14,
33,
6561,
30,
46506,
366,
9806,
13,
26415,
379,
37542,
1,
16034,
3084,
62,
46096,
1157,
33411,
366,
18392,
2438,
7,
82,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
26415,
379,
37542,
329,
262,
3113,
30817,
47204,
33,
14,
33,
36222,
14,
33,
55,
36,
14,
33,
6561,
30,
46506,
366,
9806,
13,
26415,
379,
37542,
1,
16034,
3084,
62,
46096,
1157,
33411,
366,
18392,
2438,
7,
82,
... |
Tell me the least silver for total less than 6 and rank of 8 | SELECT MIN(silver) FROM table_name_17 WHERE total < 6 AND rank = "8" | [
24446,
502,
262,
1551,
8465,
329,
2472,
1342,
621,
718,
290,
4279,
286,
807,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
2472,
1279,
718,
5357,
4279,
796,
366,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
1551,
8465,
329,
2472,
1342,
621,
718,
290,
4279,
286,
807,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
2472,
1279,
718,
5357,
4279,
796,
366,
23,
1
] |
What A-League has 6 (1) for the finals, and leigh broxham as the name? | SELECT "A-League" FROM table_64566 WHERE "Finals" = '6 (1)' AND "Name" = 'leigh broxham' | [
2061,
317,
12,
24623,
468,
718,
357,
16,
8,
329,
262,
18576,
11,
290,
443,
394,
1379,
87,
2763,
355,
262,
1438,
30,
46506,
366,
32,
12,
24623,
1,
16034,
3084,
62,
49259,
2791,
33411,
366,
37,
6897,
1,
796,
705,
21,
357,
16,
3304... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
317,
12,
24623,
468,
718,
357,
16,
8,
329,
262,
18576,
11,
290,
443,
394,
1379,
87,
2763,
355,
262,
1438,
30,
46506,
366,
32,
12,
24623,
1,
16034,
3084,
62,
49259,
2791,
33411,
366,
37,
6897,
1,
796,
705,
21,
357,
16,
3304... |
What was the number of males that had the number females 62 331? | SELECT males FROM table_name_13 WHERE females = "62 331" | [
2061,
373,
262,
1271,
286,
10835,
326,
550,
262,
1271,
12366,
8190,
43722,
30,
46506,
10835,
16034,
3084,
62,
3672,
62,
1485,
33411,
12366,
796,
366,
5237,
43722,
1
] | [
1,
1,
1,
1,
1,
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,
1271,
286,
10835,
326,
550,
262,
1271,
12366,
8190,
43722,
30,
46506,
10835,
16034,
3084,
62,
3672,
62,
1485,
33411,
12366,
796,
366,
5237,
43722,
1
] |
until 2104 has patient 017-36245 been diagnosed with anything? | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-36245')) AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104' | [
28446,
362,
13464,
468,
5827,
5534,
22,
12,
2623,
22995,
587,
14641,
351,
1997,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
362,
13464,
468,
5827,
5534,
22,
12,
2623,
22995,
587,
14641,
351,
1997,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
... |
What is the Result when the order is # 4, and the week # is top 12? | SELECT "Result" FROM table_7253 WHERE "Order #" = '4' AND "Week #" = 'top 12' | [
2061,
318,
262,
25414,
618,
262,
1502,
318,
1303,
604,
11,
290,
262,
1285,
1303,
318,
1353,
1105,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
22,
28592,
33411,
366,
18743,
1303,
1,
796,
705,
19,
6,
5357,
366,
20916,
1303,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
25414,
618,
262,
1502,
318,
1303,
604,
11,
290,
262,
1285,
1303,
318,
1353,
1105,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
22,
28592,
33411,
366,
18743,
1303,
1,
796,
705,
19,
6,
5357,
366,
20916,
1303,
1,
796,
7... |
Where was the fight that lasted 5:00 when Yundt's record was 8-4? | SELECT "Location" FROM table_9866 WHERE "Time" = '5:00' AND "Record" = '8-4' | [
8496,
373,
262,
1907,
326,
15436,
642,
25,
405,
618,
575,
917,
83,
338,
1700,
373,
807,
12,
19,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
4089,
2791,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
6,
5357,
366,
23739,
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
] | [
8496,
373,
262,
1907,
326,
15436,
642,
25,
405,
618,
575,
917,
83,
338,
1700,
373,
807,
12,
19,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
4089,
2791,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
6,
5357,
366,
23739,
1,
796,
705,... |
For the 27 arrow match event, what's the sum of all scores for that event? | SELECT SUM("Score") FROM table_45015 WHERE "Event" = '27 arrow match' | [
1890,
262,
2681,
15452,
2872,
1785,
11,
644,
338,
262,
2160,
286,
477,
8198,
329,
326,
1785,
30,
46506,
35683,
7203,
26595,
4943,
16034,
3084,
62,
2231,
25150,
33411,
366,
9237,
1,
796,
705,
1983,
15452,
2872,
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
] | [
1890,
262,
2681,
15452,
2872,
1785,
11,
644,
338,
262,
2160,
286,
477,
8198,
329,
326,
1785,
30,
46506,
35683,
7203,
26595,
4943,
16034,
3084,
62,
2231,
25150,
33411,
366,
9237,
1,
796,
705,
1983,
15452,
2872,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of phone_number and department_id in a bar chart, and could you list from low to high by the bars? | SELECT PHONE_NUMBER, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
3072,
62,
17618,
290,
5011,
62,
312,
287,
257,
2318,
8262,
11,
290,
714,
345,
1351,
422,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
3072,
62,
17618,
290,
5011,
62,
312,
287,
257,
2318,
8262,
11,
290,
714,
345,
1351,
422,
18... |
what is the competition when the result is loss in berlin with a score of 0-3? | SELECT competition FROM table_name_12 WHERE result = "loss" AND location = "berlin" AND score = "0-3" | [
10919,
318,
262,
5449,
618,
262,
1255,
318,
2994,
287,
18157,
2815,
351,
257,
4776,
286,
657,
12,
18,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
1065,
33411,
1255,
796,
366,
22462,
1,
5357,
4067,
796,
366,
527,
2815,
1,
5357,
4776,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5449,
618,
262,
1255,
318,
2994,
287,
18157,
2815,
351,
257,
4776,
286,
657,
12,
18,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
1065,
33411,
1255,
796,
366,
22462,
1,
5357,
4067,
796,
366,
527,
2815,
1,
5357,
4776,... |
If the player is Hashan Tillakaratne, what is the catches minimum? | SELECT MIN(catches) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne" | [
1532,
262,
2137,
318,
21059,
272,
17888,
461,
34174,
710,
11,
644,
318,
262,
17591,
5288,
30,
46506,
20625,
7,
9246,
2052,
8,
16034,
3084,
62,
21719,
42224,
2598,
62,
1433,
33411,
2137,
796,
366,
26257,
272,
17888,
461,
34174,
710,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
2137,
318,
21059,
272,
17888,
461,
34174,
710,
11,
644,
318,
262,
17591,
5288,
30,
46506,
20625,
7,
9246,
2052,
8,
16034,
3084,
62,
21719,
42224,
2598,
62,
1433,
33411,
2137,
796,
366,
26257,
272,
17888,
461,
34174,
710,
1
... |
Show the number of documents in each day for all documents on project with details 'Graph Database project' and bin document date by year interval with a line chart, I want to sort in ascending by the x axis please. | SELECT Document_Date, COUNT(Document_Date) FROM Documents AS T1 JOIN Projects AS T2 ON T1.Project_ID = T2.Project_ID WHERE T2.Project_Details = 'Graph Database project' ORDER BY Document_Date | [
15307,
262,
1271,
286,
4963,
287,
1123,
1110,
329,
477,
4963,
319,
1628,
351,
3307,
705,
37065,
24047,
1628,
6,
290,
9874,
3188,
3128,
416,
614,
16654,
351,
257,
1627,
8262,
11,
314,
765,
284,
3297,
287,
41988,
416,
262,
2124,
16488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4963,
287,
1123,
1110,
329,
477,
4963,
319,
1628,
351,
3307,
705,
37065,
24047,
1628,
6,
290,
9874,
3188,
3128,
416,
614,
16654,
351,
257,
1627,
8262,
11,
314,
765,
284,
3297,
287,
41988,
416,
262,
2124,
16488,
... |
which part on the team does rick schuhwerk play | SELECT "Position" FROM table_29983 WHERE "Player" = 'Rick Schuhwerk' | [
4758,
636,
319,
262,
1074,
857,
374,
624,
5513,
7456,
86,
9587,
711,
46506,
366,
26545,
1,
16034,
3084,
62,
1959,
4089,
18,
33411,
366,
14140,
1,
796,
705,
33048,
3059,
7456,
86,
9587,
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
] | [
4758,
636,
319,
262,
1074,
857,
374,
624,
5513,
7456,
86,
9587,
711,
46506,
366,
26545,
1,
16034,
3084,
62,
1959,
4089,
18,
33411,
366,
14140,
1,
796,
705,
33048,
3059,
7456,
86,
9587,
6
] |
How many students taking a course who received an A or C? Group by students' first name with a bar chart, and show by the how many stu fname in asc please. | SELECT STU_FNAME, COUNT(STU_FNAME) FROM STUDENT AS T1 JOIN ENROLL AS T2 ON T1.STU_NUM = T2.STU_NUM WHERE T2.ENROLL_GRADE = 'C' OR T2.ENROLL_GRADE = 'A' GROUP BY STU_FNAME ORDER BY COUNT(STU_FNAME) | [
2437,
867,
2444,
2263,
257,
1781,
508,
2722,
281,
317,
393,
327,
30,
4912,
416,
2444,
6,
717,
1438,
351,
257,
2318,
8262,
11,
290,
905,
416,
262,
703,
867,
336,
84,
277,
3672,
287,
10570,
3387,
13,
46506,
3563,
52,
62,
37,
20608,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2444,
2263,
257,
1781,
508,
2722,
281,
317,
393,
327,
30,
4912,
416,
2444,
6,
717,
1438,
351,
257,
2318,
8262,
11,
290,
905,
416,
262,
703,
867,
336,
84,
277,
3672,
287,
10570,
3387,
13,
46506,
3563,
52,
62,
37,
20608,
... |
how many total laps did alex figge complete ? | SELECT "laps" FROM table_203_761 WHERE "driver" = 'alex figge' | [
4919,
867,
2472,
24590,
750,
257,
2588,
2336,
469,
1844,
5633,
46506,
366,
75,
1686,
1,
16034,
3084,
62,
22416,
62,
4304,
16,
33411,
366,
26230,
1,
796,
705,
1000,
87,
2336,
469,
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,
2472,
24590,
750,
257,
2588,
2336,
469,
1844,
5633,
46506,
366,
75,
1686,
1,
16034,
3084,
62,
22416,
62,
4304,
16,
33411,
366,
26230,
1,
796,
705,
1000,
87,
2336,
469,
6
] |
Most cited papers on Parsing | SELECT DISTINCT cite.citedpaperid, COUNT(cite.citedpaperid) FROM cite, keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = cite.citedpaperid AND paper.paperid = paperkeyphrase.paperid GROUP BY cite.citedpaperid ORDER BY CO... | [
6943,
9181,
9473,
319,
23042,
278,
46506,
360,
8808,
1268,
4177,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
66,
578,
13,
66,
863,
20189,
312,
8,
16034,
21729,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6943,
9181,
9473,
319,
23042,
278,
46506,
360,
8808,
1268,
4177,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
66,
578,
13,
66,
863,
20189,
312,
8,
16034,
21729,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34... |
When is the event at lake oval? | SELECT "Date" FROM table_32647 WHERE "Venue" = 'lake oval' | [
2215,
318,
262,
1785,
379,
13546,
41186,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
39195,
2857,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
318,
262,
1785,
379,
13546,
41186,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
39195,
2857,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] |
Show different locations and the number of performances at each location. | SELECT Location, COUNT(*) FROM performance GROUP BY Location | [
15307,
1180,
7064,
290,
262,
1271,
286,
13289,
379,
1123,
4067,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
2854,
44441,
11050,
13397
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
1180,
7064,
290,
262,
1271,
286,
13289,
379,
1123,
4067,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
2854,
44441,
11050,
13397
] |
Who played over 46 games and allowed less than 195 goals? | SELECT player FROM table_name_50 WHERE games_played > 46 AND goals_allowed < 195 | [
8241,
2826,
625,
6337,
1830,
290,
3142,
1342,
621,
24793,
4661,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1120,
33411,
1830,
62,
21542,
1875,
6337,
5357,
4661,
62,
40845,
1279,
24793
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2826,
625,
6337,
1830,
290,
3142,
1342,
621,
24793,
4661,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1120,
33411,
1830,
62,
21542,
1875,
6337,
5357,
4661,
62,
40845,
1279,
24793
] |
Which name has a Lane smaller than 3, a Heat larger than 4, and a Time of 2:00.80? | SELECT name FROM table_name_12 WHERE lane < 3 AND heat > 4 AND time = "2:00.80" | [
13828,
1438,
468,
257,
15016,
4833,
621,
513,
11,
257,
12308,
4025,
621,
604,
11,
290,
257,
3862,
286,
362,
25,
405,
13,
1795,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1065,
33411,
11193,
1279,
513,
5357,
4894,
1875,
604,
5357,
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
] | [
13828,
1438,
468,
257,
15016,
4833,
621,
513,
11,
257,
12308,
4025,
621,
604,
11,
290,
257,
3862,
286,
362,
25,
405,
13,
1795,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1065,
33411,
11193,
1279,
513,
5357,
4894,
1875,
604,
5357,
6... |
What 2003 rank does the airport IATA code SIN have? | SELECT 2003 AS rank FROM table_name_60 WHERE code__iata_ = "sin" | [
2061,
5816,
4279,
857,
262,
9003,
314,
13563,
2438,
311,
1268,
423,
30,
46506,
5816,
7054,
4279,
16034,
3084,
62,
3672,
62,
1899,
33411,
2438,
834,
72,
1045,
62,
796,
366,
31369,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5816,
4279,
857,
262,
9003,
314,
13563,
2438,
311,
1268,
423,
30,
46506,
5816,
7054,
4279,
16034,
3084,
62,
3672,
62,
1899,
33411,
2438,
834,
72,
1045,
62,
796,
366,
31369,
1
] |
How many patients are with medicaid insurance and procedured for other radiotherapeutic? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicaid" AND procedures.long_title = "Other radiotherapeutic procedure" | [
2437,
867,
3871,
389,
351,
6924,
1698,
5096,
290,
5131,
1522,
329,
584,
19772,
847,
1758,
18089,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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... | [
2437,
867,
3871,
389,
351,
6924,
1698,
5096,
290,
5131,
1522,
329,
584,
19772,
847,
1758,
18089,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
... |
What are the total number of domestic passengers at all London airports? | SELECT SUM(domestic_passengers) FROM airport WHERE airport_name LIKE "%London%" | [
2061,
389,
262,
2472,
1271,
286,
5928,
10405,
379,
477,
3576,
22600,
30,
46506,
35683,
7,
3438,
4699,
62,
6603,
9302,
8,
16034,
9003,
33411,
9003,
62,
3672,
34178,
36521,
23421,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2472,
1271,
286,
5928,
10405,
379,
477,
3576,
22600,
30,
46506,
35683,
7,
3438,
4699,
62,
6603,
9302,
8,
16034,
9003,
33411,
9003,
62,
3672,
34178,
36521,
23421,
39658
] |
What position is number 35 whose height is 6-6? | SELECT "Position" FROM table_72220 WHERE "Height in Ft." = '6-6' AND "No.(s)" = '35' | [
2061,
2292,
318,
1271,
3439,
3025,
6001,
318,
718,
12,
21,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
22,
1828,
1238,
33411,
366,
23106,
287,
45231,
526,
796,
705,
21,
12,
21,
6,
5357,
366,
2949,
12195,
82,
16725,
796,
705,
2327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
3439,
3025,
6001,
318,
718,
12,
21,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
22,
1828,
1238,
33411,
366,
23106,
287,
45231,
526,
796,
705,
21,
12,
21,
6,
5357,
366,
2949,
12195,
82,
16725,
796,
705,
2327,
... |
what is the average wins when percent is more than 0.4 and teams is chargers~? | SELECT AVG("Wins") FROM table_61525 WHERE "Percent" > '0.4' AND "Teams" = 'chargers~' | [
10919,
318,
262,
2811,
7864,
618,
1411,
318,
517,
621,
657,
13,
19,
290,
3466,
318,
2609,
364,
93,
30,
46506,
35224,
7203,
54,
1040,
4943,
16034,
3084,
62,
47007,
1495,
33411,
366,
31905,
1,
1875,
705,
15,
13,
19,
6,
5357,
366,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2811,
7864,
618,
1411,
318,
517,
621,
657,
13,
19,
290,
3466,
318,
2609,
364,
93,
30,
46506,
35224,
7203,
54,
1040,
4943,
16034,
3084,
62,
47007,
1495,
33411,
366,
31905,
1,
1875,
705,
15,
13,
19,
6,
5357,
366,
67... |
On what Date was the Opponent Panathinaikos? | SELECT "Date" FROM table_56063 WHERE "Opponent" = 'panathinaikos' | [
2202,
644,
7536,
373,
262,
9385,
3471,
5961,
776,
1437,
1134,
418,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
34135,
5066,
33411,
366,
27524,
3471,
1,
796,
705,
6839,
776,
1437,
1134,
418,
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
] | [
2202,
644,
7536,
373,
262,
9385,
3471,
5961,
776,
1437,
1134,
418,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
34135,
5066,
33411,
366,
27524,
3471,
1,
796,
705,
6839,
776,
1437,
1134,
418,
6
] |
WHAT DATE HAS A CATALOG OF 486553.4? | SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4" | [
32971,
360,
6158,
33930,
317,
38348,
1847,
7730,
3963,
604,
4521,
48096,
13,
19,
30,
46506,
25882,
7,
4475,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
18388,
796,
366,
34251,
48096,
13,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
360,
6158,
33930,
317,
38348,
1847,
7730,
3963,
604,
4521,
48096,
13,
19,
30,
46506,
25882,
7,
4475,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
18388,
796,
366,
34251,
48096,
13,
19,
1
] |
What was the competition on October 21, 2003? | SELECT "Competition" FROM table_33895 WHERE "Date" = 'october 21, 2003' | [
2061,
373,
262,
5449,
319,
3267,
2310,
11,
5816,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
28460,
3865,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
2310,
11,
5816,
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
] | [
2061,
373,
262,
5449,
319,
3267,
2310,
11,
5816,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
28460,
3865,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
2310,
11,
5816,
6
] |
Name the 2006 with 2003 of a and 2012 of a | SELECT 2006 FROM table_name_1 WHERE 2003 = "a" AND 2012 = "a" | [
5376,
262,
4793,
351,
5816,
286,
257,
290,
2321,
286,
257,
46506,
4793,
16034,
3084,
62,
3672,
62,
16,
33411,
5816,
796,
366,
64,
1,
5357,
2321,
796,
366,
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
] | [
5376,
262,
4793,
351,
5816,
286,
257,
290,
2321,
286,
257,
46506,
4793,
16034,
3084,
62,
3672,
62,
16,
33411,
5816,
796,
366,
64,
1,
5357,
2321,
796,
366,
64,
1
] |
how many patients are diagnosed with other shock without mention of trauma and with abnormal lab test? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Other shock without mention of trauma" AND lab.flag = "abnormal" | [
4919,
867,
3871,
389,
14641,
351,
584,
6380,
1231,
3068,
286,
14649,
290,
351,
18801,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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... | [
4919,
867,
3871,
389,
14641,
351,
584,
6380,
1231,
3068,
286,
14649,
290,
351,
18801,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
... |
What is the torque formula for the model/engine which has 1,753 cc capacity? | SELECT torque__nm__rpm FROM table_1212189_1 WHERE capacity = "1,753 cc" | [
2061,
318,
262,
26415,
10451,
329,
262,
2746,
14,
18392,
543,
468,
352,
11,
44550,
36624,
5339,
30,
46506,
26415,
834,
21533,
834,
48235,
16034,
3084,
62,
1065,
1065,
23362,
62,
16,
33411,
5339,
796,
366,
16,
11,
44550,
36624,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26415,
10451,
329,
262,
2746,
14,
18392,
543,
468,
352,
11,
44550,
36624,
5339,
30,
46506,
26415,
834,
21533,
834,
48235,
16034,
3084,
62,
1065,
1065,
23362,
62,
16,
33411,
5339,
796,
366,
16,
11,
44550,
36624,
1
] |
Who had high assists on March 15? | SELECT high_assists FROM table_17102076_9 WHERE date = "March 15" | [
8241,
550,
1029,
13648,
319,
2805,
1315,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1558,
940,
1238,
4304,
62,
24,
33411,
3128,
796,
366,
16192,
1315,
1
] | [
1,
1,
1,
1,
1,
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,
550,
1029,
13648,
319,
2805,
1315,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1558,
940,
1238,
4304,
62,
24,
33411,
3128,
796,
366,
16192,
1315,
1
] |
what is the total of deaths in internment camps and during the wartime flight ? | SELECT SUM("total") FROM table_203_234 WHERE "description" IN ('in internment camps', 'during the wartime flight') | [
10919,
318,
262,
2472,
286,
7040,
287,
1788,
434,
11665,
290,
1141,
262,
35382,
5474,
5633,
46506,
35683,
7203,
23350,
4943,
16034,
3084,
62,
22416,
62,
24409,
33411,
366,
11213,
1,
3268,
19203,
259,
1788,
434,
11665,
3256,
705,
42122,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
286,
7040,
287,
1788,
434,
11665,
290,
1141,
262,
35382,
5474,
5633,
46506,
35683,
7203,
23350,
4943,
16034,
3084,
62,
22416,
62,
24409,
33411,
366,
11213,
1,
3268,
19203,
259,
1788,
434,
11665,
3256,
705,
42122,
... |
How many seasons was the rank equal to #50? | SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50" | [
2437,
867,
7028,
373,
262,
4279,
4961,
284,
1303,
1120,
30,
46506,
327,
28270,
7,
6230,
8,
16034,
3084,
62,
2075,
3388,
27800,
62,
16,
33411,
4279,
796,
25113,
1120,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7028,
373,
262,
4279,
4961,
284,
1303,
1120,
30,
46506,
327,
28270,
7,
6230,
8,
16034,
3084,
62,
2075,
3388,
27800,
62,
16,
33411,
4279,
796,
25113,
1120,
1
] |
How many agencies did Budarin Nikolai Budarin working for? | SELECT COUNT("Agency") FROM table_936 WHERE "Astronaut" = 'Budarin Nikolai Budarin' | [
2437,
867,
5942,
750,
10370,
17714,
48127,
1872,
10370,
17714,
1762,
329,
30,
46506,
327,
28270,
7203,
32,
4949,
4943,
16034,
3084,
62,
24,
2623,
33411,
366,
33751,
1313,
2306,
1,
796,
705,
33,
463,
17714,
48127,
1872,
10370,
17714,
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
] | [
2437,
867,
5942,
750,
10370,
17714,
48127,
1872,
10370,
17714,
1762,
329,
30,
46506,
327,
28270,
7203,
32,
4949,
4943,
16034,
3084,
62,
24,
2623,
33411,
366,
33751,
1313,
2306,
1,
796,
705,
33,
463,
17714,
48127,
1872,
10370,
17714,
6
] |
What is the total number of Week, when Opponent is At Cleveland Browns? | SELECT COUNT(week) FROM table_name_15 WHERE opponent = "at cleveland browns" | [
2061,
318,
262,
2472,
1271,
286,
6119,
11,
618,
9385,
3471,
318,
1629,
10306,
17671,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
265,
1190,
9731,
7586,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
11,
618,
9385,
3471,
318,
1629,
10306,
17671,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
265,
1190,
9731,
7586,
82,
1
] |
Which Time has a Grid of 19? | SELECT time FROM table_name_59 WHERE grid = 19 | [
13828,
3862,
468,
257,
24846,
286,
678,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3270,
33411,
10706,
796,
678
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3862,
468,
257,
24846,
286,
678,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3270,
33411,
10706,
796,
678
] |
What was the type that had an award for song of the year and the position of 3rd place? | SELECT "Type" FROM table_9268 WHERE "Award" = 'song of the year' AND "Position" = '3rd place' | [
2061,
373,
262,
2099,
326,
550,
281,
5764,
329,
3496,
286,
262,
614,
290,
262,
2292,
286,
513,
4372,
1295,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
24,
25022,
33411,
366,
32,
904,
1,
796,
705,
34050,
286,
262,
614,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2099,
326,
550,
281,
5764,
329,
3496,
286,
262,
614,
290,
262,
2292,
286,
513,
4372,
1295,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
24,
25022,
33411,
366,
32,
904,
1,
796,
705,
34050,
286,
262,
614,
6,
5357,
366,
... |
What visiting team played on October 18? | SELECT visiting_team FROM table_name_36 WHERE date = "october 18" | [
2061,
10013,
1074,
2826,
319,
3267,
1248,
30,
46506,
10013,
62,
15097,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
38441,
2023,
1248,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
10013,
1074,
2826,
319,
3267,
1248,
30,
46506,
10013,
62,
15097,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
38441,
2023,
1248,
1
] |
Who was the winner during the 2009 season? | SELECT "Winner" FROM table_37208 WHERE "Season" = '2009' | [
8241,
373,
262,
8464,
1141,
262,
3717,
1622,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
2718,
21315,
33411,
366,
18960,
1,
796,
705,
10531,
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
] | [
8241,
373,
262,
8464,
1141,
262,
3717,
1622,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
2718,
21315,
33411,
366,
18960,
1,
796,
705,
10531,
6
] |
What was the date of game with a score of 42-6? | SELECT date FROM table_name_23 WHERE score = "42-6" | [
2061,
373,
262,
3128,
286,
983,
351,
257,
4776,
286,
5433,
12,
21,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1954,
33411,
4776,
796,
366,
3682,
12,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
983,
351,
257,
4776,
286,
5433,
12,
21,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1954,
33411,
4776,
796,
366,
3682,
12,
21,
1
] |
give me some good restaurants in the bay area ? | SELECT location.house_number, restaurant.name FROM location, restaurant WHERE restaurant.city_name IN (SELECT GEOGRAPHICalias0.city_name FROM geographic AS GEOGRAPHICalias0 WHERE GEOGRAPHICalias0.region = 'bay area') AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5 | [
26535,
502,
617,
922,
10808,
287,
262,
15489,
1989,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
7072,
13,
19205,
62,
3672,
3268,
357,
46506,
402,
4720,
10761,
31300,
2149,
26011,
15,
13,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
617,
922,
10808,
287,
262,
15489,
1989,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
7072,
13,
19205,
62,
3672,
3268,
357,
46506,
402,
4720,
10761,
31300,
2149,
26011,
15,
13,
1... |
What are the names of technicians with the machine series that they repair? Show me how many machines for each technician's name, I want to display by the x-axis in ascending. | SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id GROUP BY Name ORDER BY Name | [
2061,
389,
262,
3891,
286,
33519,
351,
262,
4572,
2168,
326,
484,
9185,
30,
5438,
502,
703,
867,
8217,
329,
1123,
33024,
338,
1438,
11,
314,
765,
284,
3359,
416,
262,
2124,
12,
22704,
287,
41988,
13,
46506,
6530,
11,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
286,
33519,
351,
262,
4572,
2168,
326,
484,
9185,
30,
5438,
502,
703,
867,
8217,
329,
1123,
33024,
338,
1438,
11,
314,
765,
284,
3359,
416,
262,
2124,
12,
22704,
287,
41988,
13,
46506,
6530,
11,
327,
28270,
7,
... |
What is the Score of the game with a Loss of Kiprusoff (2 2)? | SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–2)" | [
2061,
318,
262,
15178,
286,
262,
983,
351,
257,
22014,
286,
509,
541,
14932,
2364,
357,
17,
362,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
1120,
33411,
2994,
796,
366,
74,
541,
14932,
2364,
357,
17,
1906,
17,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15178,
286,
262,
983,
351,
257,
22014,
286,
509,
541,
14932,
2364,
357,
17,
362,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
1120,
33411,
2994,
796,
366,
74,
541,
14932,
2364,
357,
17,
1906,
17,
16725
] |
Find the name, headquarter and founder of the manufacturer that has the highest revenue. | SELECT name, headquarter, founder FROM manufacturers ORDER BY revenue DESC LIMIT 1 | [
16742,
262,
1438,
11,
1182,
24385,
290,
9119,
286,
262,
11554,
326,
468,
262,
4511,
6426,
13,
46506,
1438,
11,
1182,
24385,
11,
9119,
16034,
11372,
38678,
11050,
6426,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
11,
1182,
24385,
290,
9119,
286,
262,
11554,
326,
468,
262,
4511,
6426,
13,
46506,
1438,
11,
1182,
24385,
11,
9119,
16034,
11372,
38678,
11050,
6426,
22196,
34,
27564,
2043,
352
] |
What is Team, when High Points is 'Rashard Lewis (18)'? | SELECT team FROM table_name_58 WHERE high_points = "rashard lewis (18)" | [
2061,
318,
4816,
11,
618,
3334,
11045,
318,
705,
49,
1077,
446,
10174,
357,
1507,
8,
30960,
46506,
1074,
16034,
3084,
62,
3672,
62,
3365,
33411,
1029,
62,
13033,
796,
366,
81,
1077,
446,
443,
86,
271,
357,
1507,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
357,
1507,
8,
30960,
46506,
1074,
16034,
3084,
62,
3672,
62,
3365,
33411,
1029,
62,
13033,
796,
366,
81,
1077,
446,
443,
86,
271,
357,
1507,
16725
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the trend about department_id over hire_date , and could you display by the X-axis in ascending? | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
5182,
546,
5011,
62,
312,
625,
11078,
62,
4475,
837,
290,
714,
345,
3359,
416,
262,
1395,
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,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
5182,
546,
5011,
62,
312,
625,
11078,
62,
4475,
837,
290,
714,
345,
3359,
416,
262,
1395,
12,
22704,
287,
... |
How many positions did 1972 NHL Draft pick Rene Lambert play? | SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert" | [
2437,
867,
6116,
750,
16101,
9481,
13650,
2298,
371,
1734,
36978,
711,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
20198,
2623,
4761,
62,
940,
33411,
2137,
796,
366,
49,
1734,
36978,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6116,
750,
16101,
9481,
13650,
2298,
371,
1734,
36978,
711,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
20198,
2623,
4761,
62,
940,
33411,
2137,
796,
366,
49,
1734,
36978,
1
] |
Which method has a 1:46 time? | SELECT method FROM table_name_63 WHERE time = "1:46" | [
13828,
2446,
468,
257,
352,
25,
3510,
640,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
5066,
33411,
640,
796,
366,
16,
25,
3510,
1
] | [
1,
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,
2446,
468,
257,
352,
25,
3510,
640,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
5066,
33411,
640,
796,
366,
16,
25,
3510,
1
] |
which nationality has the least players ? | SELECT "nationality" FROM table_203_455 GROUP BY "nationality" ORDER BY COUNT("player") LIMIT 1 | [
4758,
29835,
468,
262,
1551,
1938,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
22416,
62,
30505,
44441,
11050,
366,
14648,
414,
1,
38678,
11050,
327,
28270,
7203,
7829,
4943,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
29835,
468,
262,
1551,
1938,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
22416,
62,
30505,
44441,
11050,
366,
14648,
414,
1,
38678,
11050,
327,
28270,
7203,
7829,
4943,
27564,
2043,
352
] |
Show the number of customer address history in each day and bin date from by weekday with a bar chart. | SELECT date_from, COUNT(date_from) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id | [
15307,
262,
1271,
286,
6491,
2209,
2106,
287,
1123,
1110,
290,
9874,
3128,
422,
416,
28269,
351,
257,
2318,
8262,
13,
46506,
3128,
62,
6738,
11,
327,
28270,
7,
4475,
62,
6738,
8,
16034,
22092,
62,
20231,
62,
18122,
7054,
309,
16,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
6491,
2209,
2106,
287,
1123,
1110,
290,
9874,
3128,
422,
416,
28269,
351,
257,
2318,
8262,
13,
46506,
3128,
62,
6738,
11,
327,
28270,
7,
4475,
62,
6738,
8,
16034,
22092,
62,
20231,
62,
18122,
7054,
309,
16,
32... |
what is the first specimen test given to patient 7375 in 04/2100? | SELECT microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7375) AND STRFTIME('%y-%m', microbiologyevents.charttime) = '2100-04' ORDER BY microbiologyevents.charttime LIMIT 1 | [
10919,
318,
262,
717,
31674,
1332,
1813,
284,
5827,
8854,
2425,
287,
8702,
14,
2481,
405,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
717,
31674,
1332,
1813,
284,
5827,
8854,
2425,
287,
8702,
14,
2481,
405,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,... |
Name the category for nominated at the british comedy awards | SELECT category FROM table_name_26 WHERE result = "nominated" AND award = "british comedy awards" | [
5376,
262,
6536,
329,
19332,
379,
262,
275,
799,
680,
10997,
13304,
46506,
6536,
16034,
3084,
62,
3672,
62,
2075,
33411,
1255,
796,
366,
26601,
3898,
1,
5357,
5764,
796,
366,
65,
799,
680,
10997,
13304,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6536,
329,
19332,
379,
262,
275,
799,
680,
10997,
13304,
46506,
6536,
16034,
3084,
62,
3672,
62,
2075,
33411,
1255,
796,
366,
26601,
3898,
1,
5357,
5764,
796,
366,
65,
799,
680,
10997,
13304,
1
] |
What race occurred on the date of 15 June? | SELECT "Race" FROM table_10857 WHERE "Date" = '15 june' | [
2061,
3234,
5091,
319,
262,
3128,
286,
1315,
2795,
30,
46506,
366,
35157,
1,
16034,
3084,
62,
15711,
3553,
33411,
366,
10430,
1,
796,
705,
1314,
474,
1726,
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,
3234,
5091,
319,
262,
3128,
286,
1315,
2795,
30,
46506,
366,
35157,
1,
16034,
3084,
62,
15711,
3553,
33411,
366,
10430,
1,
796,
705,
1314,
474,
1726,
6
] |
Count the number of invoices. | SELECT COUNT(*) FROM invoices | [
12332,
262,
1271,
286,
800,
78,
1063,
13,
46506,
327,
28270,
7,
28104,
16034,
800,
78,
1063
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
800,
78,
1063,
13,
46506,
327,
28270,
7,
28104,
16034,
800,
78,
1063
] |
During the Fall and Winter , what are all the upper-level electives being offered ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (semester.semester = ... | [
7191,
262,
7218,
290,
10633,
837,
644,
389,
477,
262,
6727,
12,
5715,
1742,
1083,
852,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
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... | [
7191,
262,
7218,
290,
10633,
837,
644,
389,
477,
262,
6727,
12,
5715,
1742,
1083,
852,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
17... |
had patient 4469 have a arterial bp [diastolic] greater than 68.0 during the first hospital encounter? | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4469 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartevents.itemid IN (S... | [
18108,
5827,
5846,
3388,
423,
257,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
3744,
621,
8257,
13,
15,
1141,
262,
717,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
5846,
3388,
423,
257,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
3744,
621,
8257,
13,
15,
1141,
262,
717,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
... |
what country had the most medals total at the the 1994 winter olympics biathlon ? | SELECT "nation" FROM table_204_703 ORDER BY "total" DESC LIMIT 1 | [
10919,
1499,
550,
262,
749,
28057,
2472,
379,
262,
262,
9162,
7374,
267,
6760,
873,
3182,
50236,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
36809,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1499,
550,
262,
749,
28057,
2472,
379,
262,
262,
9162,
7374,
267,
6760,
873,
3182,
50236,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
36809,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] |
what is the y = 2008 when the expression is easter day (julian calendar)? | SELECT "Y = 2008" FROM table_73295 WHERE "Expression" = 'Easter Day (Julian calendar)' | [
10919,
318,
262,
331,
796,
3648,
618,
262,
5408,
318,
1396,
353,
1110,
357,
73,
377,
666,
11845,
19427,
46506,
366,
56,
796,
3648,
1,
16034,
3084,
62,
4790,
25710,
33411,
366,
16870,
2234,
1,
796,
705,
36,
1603,
3596,
357,
16980,
66... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
331,
796,
3648,
618,
262,
5408,
318,
1396,
353,
1110,
357,
73,
377,
666,
11845,
19427,
46506,
366,
56,
796,
3648,
1,
16034,
3084,
62,
4790,
25710,
33411,
366,
16870,
2234,
1,
796,
705,
36,
1603,
3596,
357,
16980,
66... |
What is the 1st leg of team 1 Lyon? | SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "lyon" | [
2061,
318,
262,
352,
301,
1232,
286,
1074,
352,
35193,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
2075,
33411,
1074,
62,
16,
796,
366,
306,
261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
301,
1232,
286,
1074,
352,
35193,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
2075,
33411,
1074,
62,
16,
796,
366,
306,
261,
1
] |
provide the number of patients whose death status is 1 and diagnoses long title is kidney dialysis as the cause of abnormal reaction of patient, or of later complication, without mention of misadventure at time of procedure? | 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.long_title = "Kidney dialysis as the cause of abnormal reaction of patient, or of later complication, without mention of misadventure at time o... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
40567,
890,
3670,
318,
21919,
5980,
3097,
355,
262,
2728,
286,
18801,
6317,
286,
5827,
11,
393,
286,
1568,
45185,
11,
1231,
3068,
286,
2984,
324,
5388,
379,
640,
286,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
3670,
318,
21919,
5980,
3097,
355,
262,
2728,
286,
18801,
6317,
286,
5827,
11,
393,
286,
1568,
45185,
11,
1231,
3068,
286,
2984,
324,
5388,
379,
640,
286,
... |
bmi for age and gender > 85 percentile ( but no greater than 100 % overweight ) | SELECT * FROM table_train_276 WHERE body_mass_index_bmi >= 85 AND body_mass_index_bmi <= 100 | [
65,
11632,
329,
2479,
290,
5279,
1875,
7600,
37894,
357,
475,
645,
3744,
621,
1802,
4064,
22652,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
27988,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
18189,
7600,
5357,
1767,
62,
22208,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
65,
11632,
329,
2479,
290,
5279,
1875,
7600,
37894,
357,
475,
645,
3744,
621,
1802,
4064,
22652,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
27988,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
18189,
7600,
5357,
1767,
62,
22208,
... |
What is the GDP of the place with over 54,292,038 people and an Area (km ) greater than 30,528? | SELECT MIN("GDP (billion US$)") FROM table_67871 WHERE "Population" > '54,292,038' AND "Area (km\u00b2)" > '30,528' | [
2061,
318,
262,
12396,
286,
262,
1295,
351,
625,
7175,
11,
32759,
11,
15,
2548,
661,
290,
281,
9498,
357,
13276,
1267,
3744,
621,
1542,
11,
49351,
30,
46506,
20625,
7203,
38,
6322,
357,
24540,
1294,
3,
8,
4943,
16034,
3084,
62,
3092... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12396,
286,
262,
1295,
351,
625,
7175,
11,
32759,
11,
15,
2548,
661,
290,
281,
9498,
357,
13276,
1267,
3744,
621,
1542,
11,
49351,
30,
46506,
20625,
7203,
38,
6322,
357,
24540,
1294,
3,
8,
4943,
16034,
3084,
62,
3092... |
What is the ethnic majority in the only town? | SELECT "Largest ethnic group (2002)" FROM table_73812 WHERE "Type" = 'town' | [
2061,
318,
262,
9450,
3741,
287,
262,
691,
3240,
30,
46506,
366,
43,
853,
395,
9450,
1448,
357,
16942,
16725,
16034,
3084,
62,
22,
2548,
1065,
33411,
366,
6030,
1,
796,
705,
12735,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9450,
3741,
287,
262,
691,
3240,
30,
46506,
366,
43,
853,
395,
9450,
1448,
357,
16942,
16725,
16034,
3084,
62,
22,
2548,
1065,
33411,
366,
6030,
1,
796,
705,
12735,
6
] |
What position is the player from Chapel Hill, NC? | SELECT "Position" FROM table_23927 WHERE "Home Town" = 'Chapel Hill, NC' | [
2061,
2292,
318,
262,
2137,
422,
32939,
3327,
11,
8823,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
23516,
1983,
33411,
366,
16060,
8329,
1,
796,
705,
1925,
499,
417,
3327,
11,
8823,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
318,
262,
2137,
422,
32939,
3327,
11,
8823,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
23516,
1983,
33411,
366,
16060,
8329,
1,
796,
705,
1925,
499,
417,
3327,
11,
8823,
6
] |
What is the result of the 2011 Concacaf Gold Cup competition? | SELECT "Result" FROM table_11028 WHERE "Competition" = '2011 concacaf gold cup' | [
2061,
318,
262,
1255,
286,
262,
2813,
13223,
330,
1878,
3561,
5454,
5449,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
11442,
2078,
33411,
366,
7293,
15620,
1,
796,
705,
9804,
1673,
330,
1878,
3869,
6508,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
2813,
13223,
330,
1878,
3561,
5454,
5449,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
11442,
2078,
33411,
366,
7293,
15620,
1,
796,
705,
9804,
1673,
330,
1878,
3869,
6508,
6
] |
on June 14, what was the winning score by the Devil rays in pro player stadium? | SELECT "Score" FROM table_78103 WHERE "Venue" = 'pro player stadium' AND "Winning Team" = 'devil rays' AND "Date" = 'june 14' | [
261,
2795,
1478,
11,
644,
373,
262,
5442,
4776,
416,
262,
10489,
24823,
287,
386,
2137,
10308,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3695,
15197,
33411,
366,
37522,
518,
1,
796,
705,
1676,
2137,
10308,
6,
5357,
366,
16643,
768,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
261,
2795,
1478,
11,
644,
373,
262,
5442,
4776,
416,
262,
10489,
24823,
287,
386,
2137,
10308,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3695,
15197,
33411,
366,
37522,
518,
1,
796,
705,
1676,
2137,
10308,
6,
5357,
366,
16643,
768,
... |
What constructor is grid 1 with a time/retired of engine? | SELECT constructor FROM table_name_67 WHERE time_retired = "engine" AND grid = 1 | [
2061,
23772,
318,
10706,
352,
351,
257,
640,
14,
1186,
1202,
286,
3113,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
3134,
33411,
640,
62,
1186,
1202,
796,
366,
18392,
1,
5357,
10706,
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,
1,
1,
1,
1,
1
] | [
2061,
23772,
318,
10706,
352,
351,
257,
640,
14,
1186,
1202,
286,
3113,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
3134,
33411,
640,
62,
1186,
1202,
796,
366,
18392,
1,
5357,
10706,
796,
352
] |
What class year was the player who played for Buffalo from? | SELECT MIN("Class Year") FROM table_25622 WHERE "Teams" = 'Buffalo' | [
2061,
1398,
614,
373,
262,
2137,
508,
2826,
329,
14905,
422,
30,
46506,
20625,
7203,
9487,
6280,
4943,
16034,
3084,
62,
11645,
1828,
33411,
366,
6767,
4105,
1,
796,
705,
36474,
7335,
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,
1398,
614,
373,
262,
2137,
508,
2826,
329,
14905,
422,
30,
46506,
20625,
7203,
9487,
6280,
4943,
16034,
3084,
62,
11645,
1828,
33411,
366,
6767,
4105,
1,
796,
705,
36474,
7335,
6
] |
How many answers have I downvoted?. | SELECT COUNT(DownVotes) AS "Downvotes" FROM Users JOIN Votes ON Votes.UserId = Users.Id JOIN VoteTypes ON VoteTypes.Id = Votes.VoteTypeId WHERE Users.Id = '##UserId:int##' AND Votes.VoteTypeId = 3 | [
2437,
867,
7429,
423,
314,
866,
85,
5191,
30,
13,
46506,
327,
28270,
7,
8048,
53,
6421,
8,
7054,
366,
8048,
29307,
1,
16034,
18987,
32357,
1268,
39584,
6177,
39584,
13,
12982,
7390,
796,
18987,
13,
7390,
32357,
1268,
19175,
31431,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7429,
423,
314,
866,
85,
5191,
30,
13,
46506,
327,
28270,
7,
8048,
53,
6421,
8,
7054,
366,
8048,
29307,
1,
16034,
18987,
32357,
1268,
39584,
6177,
39584,
13,
12982,
7390,
796,
18987,
13,
7390,
32357,
1268,
19175,
31431,
617... |
who is the first player listed ? | SELECT "player" FROM table_204_968 WHERE id = 1 | [
8727,
318,
262,
717,
2137,
5610,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
38956,
33411,
4686,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
717,
2137,
5610,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
38956,
33411,
4686,
796,
352
] |
What was the Women's doubles that has a Men's singles of fernando silva, and in the year 1996? | SELECT "Women's doubles" FROM table_36585 WHERE "Men's singles" = 'fernando silva' AND "Year" < '1996' | [
2061,
373,
262,
6926,
338,
21938,
326,
468,
257,
6065,
338,
25287,
286,
277,
13023,
78,
3313,
6862,
11,
290,
287,
262,
614,
8235,
30,
46506,
366,
18495,
338,
21938,
1,
16034,
3084,
62,
2623,
38905,
33411,
366,
10418,
338,
25287,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6926,
338,
21938,
326,
468,
257,
6065,
338,
25287,
286,
277,
13023,
78,
3313,
6862,
11,
290,
287,
262,
614,
8235,
30,
46506,
366,
18495,
338,
21938,
1,
16034,
3084,
62,
2623,
38905,
33411,
366,
10418,
338,
25287,
1,
... |
What is the title of the episode with production code 3x5402? | SELECT "Title" FROM table_27226 WHERE "Production code" = '3X5402' | [
2061,
318,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
513,
87,
20,
32531,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1983,
24909,
33411,
366,
35027,
2438,
1,
796,
705,
18,
55,
20,
32531,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
513,
87,
20,
32531,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1983,
24909,
33411,
366,
35027,
2438,
1,
796,
705,
18,
55,
20,
32531,
6
] |
What is the difficulty based on averages of the ULCS classes ? | SELECT AVG(workload) FROM program_course WHERE category LIKE '%ULCS%' | [
2061,
318,
262,
8722,
1912,
319,
25694,
286,
262,
471,
29814,
6097,
5633,
46506,
35224,
7,
1818,
2220,
8,
16034,
1430,
62,
17319,
33411,
6536,
34178,
705,
4,
52,
29814,
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
] | [
2061,
318,
262,
8722,
1912,
319,
25694,
286,
262,
471,
29814,
6097,
5633,
46506,
35224,
7,
1818,
2220,
8,
16034,
1430,
62,
17319,
33411,
6536,
34178,
705,
4,
52,
29814,
4,
6
] |
What Team had a 1:25.602 Best? | SELECT team FROM table_name_41 WHERE best = "1:25.602" | [
2061,
4816,
550,
257,
352,
25,
1495,
13,
31418,
6705,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3901,
33411,
1266,
796,
366,
16,
25,
1495,
13,
31418,
1
] | [
1,
1,
1,
1,
1,
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,
4816,
550,
257,
352,
25,
1495,
13,
31418,
6705,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3901,
33411,
1266,
796,
366,
16,
25,
1495,
13,
31418,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.