instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What was the record at the game that had a loss of Lemanczyk (0 1)? | SELECT "Record" FROM table_69767 WHERE "Loss" = 'lemanczyk (0–1)' | [
2061,
373,
262,
1700,
379,
262,
983,
326,
550,
257,
2994,
286,
20607,
1192,
46355,
357,
15,
352,
19427,
46506,
366,
23739,
1,
16034,
3084,
62,
3388,
32059,
33411,
366,
43,
793,
1,
796,
705,
293,
805,
66,
46355,
357,
15,
1906,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
379,
262,
983,
326,
550,
257,
2994,
286,
20607,
1192,
46355,
357,
15,
352,
19427,
46506,
366,
23739,
1,
16034,
3084,
62,
3388,
32059,
33411,
366,
43,
793,
1,
796,
705,
293,
805,
66,
46355,
357,
15,
1906,
16,
... |
What is the highest To Par, when Score is '72-73=145'? | SELECT MAX(to_par) FROM table_name_35 WHERE score = 72 - 73 = 145 | [
2061,
318,
262,
4511,
1675,
2547,
11,
618,
15178,
318,
705,
4761,
12,
4790,
28,
18781,
30960,
46506,
25882,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
4776,
796,
7724,
532,
8854,
796,
20299
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
2547,
11,
618,
15178,
318,
705,
4761,
12,
4790,
28,
18781,
30960,
46506,
25882,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
4776,
796,
7724,
532,
8854,
796,
20299
] |
What winning score has in-kyung kim as the runner(s)-up? | SELECT winning_score FROM table_name_64 WHERE runner_s__up = "in-kyung kim" | [
2061,
5442,
4776,
468,
287,
12,
2584,
2150,
479,
320,
355,
262,
17490,
7,
82,
13219,
929,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
2414,
33411,
17490,
62,
82,
834,
929,
796,
366,
259,
12,
2584,
2150,
479,
320,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5442,
4776,
468,
287,
12,
2584,
2150,
479,
320,
355,
262,
17490,
7,
82,
13219,
929,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
2414,
33411,
17490,
62,
82,
834,
929,
796,
366,
259,
12,
2584,
2150,
479,
320,
1
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find hire_date and the sum of salary bin hire_date by weekday, and visualize them by a bar chart, and I want to list in ascending by the Y please. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(SALARY) | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
2... |
calculate the number of patients who underwent a laboratory test for cd4 cells, percent since 2100. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'cd4 cells, percent') AND STRFTIME('%y', labevents.charttime) >= '2100') | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
25289,
257,
14010,
1332,
329,
22927,
19,
4778,
11,
1411,
1201,
38123,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
25289,
257,
14010,
1332,
329,
22927,
19,
4778,
11,
1411,
1201,
38123,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,... |
Which physicians prescribe a medication of brand X? Tell me the name and position of those physicians. | SELECT DISTINCT T1.name, T1.position FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.brand = "X" | [
13828,
17206,
32651,
257,
14103,
286,
4508,
1395,
30,
14026,
502,
262,
1438,
290,
2292,
286,
883,
17206,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
3672,
11,
309,
16,
13,
9150,
16034,
14325,
7054,
309,
16,
32357,
1268,
10859,
2209... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17206,
32651,
257,
14103,
286,
4508,
1395,
30,
14026,
502,
262,
1438,
290,
2292,
286,
883,
17206,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
3672,
11,
309,
16,
13,
9150,
16034,
14325,
7054,
309,
16,
32357,
1268,
10859,
2209... |
Pick # of 203 went to which college? | SELECT college FROM table_name_16 WHERE pick__number = 203 | [
31686,
1303,
286,
27408,
1816,
284,
543,
4152,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1433,
33411,
2298,
834,
17618,
796,
27408
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
31686,
1303,
286,
27408,
1816,
284,
543,
4152,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1433,
33411,
2298,
834,
17618,
796,
27408
] |
What is High Rebounds, when Location Attendance is 'Madison Square Garden Unknown', and when Date is 'May 18'? | SELECT "High rebounds" FROM table_49210 WHERE "Location Attendance" = 'madison square garden unknown' AND "Date" = 'may 18' | [
2061,
318,
3334,
15652,
3733,
11,
618,
13397,
46502,
590,
318,
705,
46845,
9276,
11652,
16185,
3256,
290,
618,
7536,
318,
705,
6747,
1248,
30960,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
2920,
21536,
33411,
366,
14749,
46502,
590,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3334,
15652,
3733,
11,
618,
13397,
46502,
590,
318,
705,
46845,
9276,
11652,
16185,
3256,
290,
618,
7536,
318,
705,
6747,
1248,
30960,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
2920,
21536,
33411,
366,
14749,
46502,
590,
... |
give me the number of patients whose diagnoses short title is hypoxemia and drug type is base? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hypoxemia" AND prescriptions.drug_type = "BASE" | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
5328,
1140,
22859,
290,
2563,
2099,
318,
2779,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
5328,
1140,
22859,
290,
2563,
2099,
318,
2779,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
what opponent has the record of 78-63? | SELECT "Opponent" FROM table_75163 WHERE "Record" = '78-63' | [
10919,
6125,
468,
262,
1700,
286,
8699,
12,
5066,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2425,
24136,
33411,
366,
23739,
1,
796,
705,
3695,
12,
5066,
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
] | [
10919,
6125,
468,
262,
1700,
286,
8699,
12,
5066,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2425,
24136,
33411,
366,
23739,
1,
796,
705,
3695,
12,
5066,
6
] |
What is the First Issue date of Bamboo Blade? | SELECT "First Issue" FROM table_63808 WHERE "Title" = 'bamboo blade' | [
2061,
318,
262,
3274,
18232,
3128,
286,
347,
27708,
11671,
30,
46506,
366,
5962,
18232,
1,
16034,
3084,
62,
5066,
28362,
33411,
366,
19160,
1,
796,
705,
65,
27708,
11865,
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,
318,
262,
3274,
18232,
3128,
286,
347,
27708,
11671,
30,
46506,
366,
5962,
18232,
1,
16034,
3084,
62,
5066,
28362,
33411,
366,
19160,
1,
796,
705,
65,
27708,
11865,
6
] |
What is the average incorporataed year of the Air India Charters company? | SELECT AVG("Incorporated") FROM table_33812 WHERE "Company" = 'air india charters' | [
2061,
318,
262,
2811,
8552,
1045,
276,
614,
286,
262,
3701,
3794,
3178,
1010,
1664,
30,
46506,
35224,
7203,
818,
10215,
1819,
515,
4943,
16034,
3084,
62,
28460,
1065,
33411,
366,
39154,
1,
796,
705,
958,
773,
544,
1149,
1010,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
8552,
1045,
276,
614,
286,
262,
3701,
3794,
3178,
1010,
1664,
30,
46506,
35224,
7203,
818,
10215,
1819,
515,
4943,
16034,
3084,
62,
28460,
1065,
33411,
366,
39154,
1,
796,
705,
958,
773,
544,
1149,
1010,
6
] |
What teams started at 39.1? | SELECT "Team(s)" FROM table_28746 WHERE "Start" = '39.1' | [
2061,
3466,
2067,
379,
5014,
13,
16,
30,
46506,
366,
15592,
7,
82,
16725,
16034,
3084,
62,
27800,
3510,
33411,
366,
10434,
1,
796,
705,
2670,
13,
16,
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,
3466,
2067,
379,
5014,
13,
16,
30,
46506,
366,
15592,
7,
82,
16725,
16034,
3084,
62,
27800,
3510,
33411,
366,
10434,
1,
796,
705,
2670,
13,
16,
6
] |
has there been any microbiology test done in 12/2105 to the blood, venipuncture of patient 031-3355? | SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND microlab.culturesite = 'blood, venipuncture' AND STRFTIME('%y-%m',... | [
10134,
612,
587,
597,
24559,
1435,
1332,
1760,
287,
1105,
14,
17,
13348,
284,
262,
2910,
11,
8710,
541,
39187,
286,
5827,
657,
3132,
12,
2091,
2816,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
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... | [
10134,
612,
587,
597,
24559,
1435,
1332,
1760,
287,
1105,
14,
17,
13348,
284,
262,
2910,
11,
8710,
541,
39187,
286,
5827,
657,
3132,
12,
2091,
2816,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
2... |
when was first time patient 010-20205 had the maximum sao2 value on the first intensive care unit visit? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-20205') AND NOT patient.unitdischargetime IS NU... | [
12518,
373,
717,
640,
5827,
5534,
15,
12,
1238,
21261,
550,
262,
5415,
473,
78,
17,
1988,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
717,
640,
5827,
5534,
15,
12,
1238,
21261,
550,
262,
5415,
473,
78,
17,
1988,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,... |
Which CSP classes are PreMajor ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE course.department LIKE '%CSP%' AND program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
13828,
327,
4303,
6097,
389,
3771,
24206,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
34178,
705,
4,
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... | [
13828,
327,
4303,
6097,
389,
3771,
24206,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
34178,
705,
4,
34,... |
Name the ply (uk, nz, au) for fingering | SELECT "Ply (UK, NZ, AU)" FROM table_23643 WHERE "Yarn Type (US)" = 'Fingering' | [
5376,
262,
35960,
357,
2724,
11,
299,
89,
11,
35851,
8,
329,
8038,
1586,
46506,
366,
47,
306,
357,
15039,
11,
26905,
11,
27548,
16725,
16034,
3084,
62,
1954,
41813,
33411,
366,
56,
1501,
5994,
357,
2937,
16725,
796,
705,
37,
278,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
35960,
357,
2724,
11,
299,
89,
11,
35851,
8,
329,
8038,
1586,
46506,
366,
47,
306,
357,
15039,
11,
26905,
11,
27548,
16725,
16034,
3084,
62,
1954,
41813,
33411,
366,
56,
1501,
5994,
357,
2937,
16725,
796,
705,
37,
278,
15... |
what was the top five most frequent drugs prescribed to patients in the same month after the diagnosis of ac kidny fail, tubr necr? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
373,
262,
1353,
1936,
749,
10792,
5010,
14798,
284,
3871,
287,
262,
976,
1227,
706,
262,
13669,
286,
936,
5141,
3281,
2038,
11,
12202,
81,
497,
6098,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1353,
1936,
749,
10792,
5010,
14798,
284,
3871,
287,
262,
976,
1227,
706,
262,
13669,
286,
936,
5141,
3281,
2038,
11,
12202,
81,
497,
6098,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
3... |
For the next Winter session of Language and Mind , who is teaching ? | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN cou... | [
1890,
262,
1306,
10633,
6246,
286,
15417,
290,
10175,
837,
508,
318,
7743,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1306,
10633,
6246,
286,
15417,
290,
10175,
837,
508,
318,
7743,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,
... |
what is the competition when the result is 1-1 and venue is gwangju? | SELECT "Competition" FROM table_50652 WHERE "Result" = '1-1' AND "Venue" = 'gwangju' | [
10919,
318,
262,
5449,
618,
262,
1255,
318,
352,
12,
16,
290,
14359,
318,
308,
47562,
14396,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
1120,
43193,
33411,
366,
23004,
1,
796,
705,
16,
12,
16,
6,
5357,
366,
37522,
518,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
5449,
618,
262,
1255,
318,
352,
12,
16,
290,
14359,
318,
308,
47562,
14396,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
1120,
43193,
33411,
366,
23004,
1,
796,
705,
16,
12,
16,
6,
5357,
366,
37522,
518,
1,
79... |
What is the Lost with a Losing Bonus that is 4? | SELECT "Lost" FROM table_39915 WHERE "Losing Bonus" = '4' | [
2061,
318,
262,
9164,
351,
257,
406,
2752,
18770,
326,
318,
604,
30,
46506,
366,
31042,
1,
16034,
3084,
62,
28771,
1314,
33411,
366,
43,
2752,
18770,
1,
796,
705,
19,
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,
9164,
351,
257,
406,
2752,
18770,
326,
318,
604,
30,
46506,
366,
31042,
1,
16034,
3084,
62,
28771,
1314,
33411,
366,
43,
2752,
18770,
1,
796,
705,
19,
6
] |
Name the won promotion for 1987 | SELECT won_promotion FROM table_2119448_3 WHERE season = 1987 | [
5376,
262,
1839,
12148,
329,
12923,
46506,
1839,
62,
16963,
9650,
16034,
3084,
62,
2481,
1129,
31115,
62,
18,
33411,
1622,
796,
12923
] | [
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,
1839,
12148,
329,
12923,
46506,
1839,
62,
16963,
9650,
16034,
3084,
62,
2481,
1129,
31115,
62,
18,
33411,
1622,
796,
12923
] |
Golfer Steve Pate has what To par? | SELECT to_par FROM table_name_66 WHERE player = "steve pate" | [
38,
349,
2232,
6542,
350,
378,
468,
644,
1675,
1582,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
2791,
33411,
2137,
796,
366,
4169,
303,
279,
378,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
38,
349,
2232,
6542,
350,
378,
468,
644,
1675,
1582,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
2791,
33411,
2137,
796,
366,
4169,
303,
279,
378,
1
] |
what is the core diameter of the first 1/8 whitworth size -lrb- in -rrb- ? | SELECT "core diameter (in)" FROM table_204_828 WHERE "whitworth size (in)" = '1/8' | [
10919,
318,
262,
4755,
14753,
286,
262,
717,
352,
14,
23,
20542,
9268,
2546,
532,
14050,
65,
12,
287,
532,
21062,
65,
12,
5633,
46506,
366,
7295,
14753,
357,
259,
16725,
16034,
3084,
62,
18638,
62,
23,
2078,
33411,
366,
1929,
270,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4755,
14753,
286,
262,
717,
352,
14,
23,
20542,
9268,
2546,
532,
14050,
65,
12,
287,
532,
21062,
65,
12,
5633,
46506,
366,
7295,
14753,
357,
259,
16725,
16034,
3084,
62,
18638,
62,
23,
2078,
33411,
366,
1929,
270,
9... |
What year was the bridge in Kent built? | SELECT built FROM table_name_63 WHERE county = "kent" | [
2061,
614,
373,
262,
7696,
287,
8758,
3170,
30,
46506,
3170,
16034,
3084,
62,
3672,
62,
5066,
33411,
7968,
796,
366,
74,
298,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
7696,
287,
8758,
3170,
30,
46506,
3170,
16034,
3084,
62,
3672,
62,
5066,
33411,
7968,
796,
366,
74,
298,
1
] |
what is the only album produced by river records for this group ? | SELECT "album" FROM table_204_928 WHERE "label" = 'river records' | [
10919,
318,
262,
691,
5062,
4635,
416,
7850,
4406,
329,
428,
1448,
5633,
46506,
366,
40916,
1,
16034,
3084,
62,
18638,
62,
24,
2078,
33411,
366,
18242,
1,
796,
705,
38291,
4406,
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
] | [
10919,
318,
262,
691,
5062,
4635,
416,
7850,
4406,
329,
428,
1448,
5633,
46506,
366,
40916,
1,
16034,
3084,
62,
18638,
62,
24,
2078,
33411,
366,
18242,
1,
796,
705,
38291,
4406,
6
] |
What's the CSA/CMA Population in IA-IL? | SELECT MAX("CSA/CMA 2009 population") FROM table_79313 WHERE "State/ Province" = 'ia-il' | [
2061,
338,
262,
327,
4090,
14,
34,
5673,
20133,
287,
35229,
12,
4146,
30,
46506,
25882,
7203,
34,
4090,
14,
34,
5673,
3717,
3265,
4943,
16034,
3084,
62,
3720,
25838,
33411,
366,
9012,
14,
22783,
1,
796,
705,
544,
12,
346,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
327,
4090,
14,
34,
5673,
20133,
287,
35229,
12,
4146,
30,
46506,
25882,
7203,
34,
4090,
14,
34,
5673,
3717,
3265,
4943,
16034,
3084,
62,
3720,
25838,
33411,
366,
9012,
14,
22783,
1,
796,
705,
544,
12,
346,
6
] |
Questions with a 'license' tag.. | SELECT * FROM Posts WHERE Posts.Id IN (SELECT DISTINCT (Tags.Id) FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE TagName = 'excel') | [
35741,
351,
257,
705,
43085,
6,
7621,
492,
46506,
1635,
16034,
12043,
33411,
12043,
13,
7390,
3268,
357,
46506,
360,
8808,
1268,
4177,
357,
36142,
13,
7390,
8,
16034,
12043,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
351,
257,
705,
43085,
6,
7621,
492,
46506,
1635,
16034,
12043,
33411,
12043,
13,
7390,
3268,
357,
46506,
360,
8808,
1268,
4177,
357,
36142,
13,
7390,
8,
16034,
12043,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
... |
First Experience for new Users on EE (Arduino Askers). | SELECT Score, COUNT(Id) FROM (SELECT Users.Id AS "Id", AVG(Posts.Score) AS "Score" FROM Users, Posts WHERE Users.Id = Posts.OwnerUserId AND Posts.PostTypeId = 1 GROUP BY Users.Id HAVING COUNT(Posts.Id) = 1) AS P GROUP BY Score | [
5962,
16386,
329,
649,
18987,
319,
27254,
357,
3163,
24493,
1081,
15949,
737,
46506,
15178,
11,
327,
28270,
7,
7390,
8,
16034,
357,
46506,
18987,
13,
7390,
7054,
366,
7390,
1600,
35224,
7,
21496,
13,
26595,
8,
7054,
366,
26595,
1,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5962,
16386,
329,
649,
18987,
319,
27254,
357,
3163,
24493,
1081,
15949,
737,
46506,
15178,
11,
327,
28270,
7,
7390,
8,
16034,
357,
46506,
18987,
13,
7390,
7054,
366,
7390,
1600,
35224,
7,
21496,
13,
26595,
8,
7054,
366,
26595,
1,
160... |
count the number of patients who had had a sedative - lorazepam until 2104. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'sedative - lorazepam' AND STRFTIME('%y', treatment.treatmenttime) <= '2104') | [
9127,
262,
1271,
286,
3871,
508,
550,
550,
257,
10081,
876,
532,
300,
273,
1031,
538,
321,
1566,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
2085... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
550,
550,
257,
10081,
876,
532,
300,
273,
1031,
538,
321,
1566,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
2085... |
what is the four year survival rate of a person with fall from slipping nec? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id... | [
10919,
318,
262,
1440,
614,
9441,
2494,
286,
257,
1048,
351,
2121,
422,
29612,
27576,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
3871,
13,
67,
375,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
614,
9441,
2494,
286,
257,
1048,
351,
2121,
422,
29612,
27576,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
3871,
13,
67,
375,... |
Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia | SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia" | [
5376,
262,
13793,
47,
370,
351,
257,
8373,
285,
32179,
517,
621,
10261,
13,
18,
290,
1748,
5964,
286,
20518,
1122,
11,
4903,
2398,
544,
46506,
1931,
79,
62,
86,
16034,
3084,
62,
3672,
62,
1129,
33411,
8373,
62,
76,
32179,
1875,
1026... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13793,
47,
370,
351,
257,
8373,
285,
32179,
517,
621,
10261,
13,
18,
290,
1748,
5964,
286,
20518,
1122,
11,
4903,
2398,
544,
46506,
1931,
79,
62,
86,
16034,
3084,
62,
3672,
62,
1129,
33411,
8373,
62,
76,
32179,
1875,
1026... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the average of employee_id bin hire_date by weekday in a bar chart, and sort in ascending by the Y-axis. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(EMPLOYEE_ID) | [
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,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
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,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
287,
... |
Give a bar chart showing how many shops in each carrier, and could you show in ascending by the X? | SELECT Carrier, COUNT(Carrier) FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID GROUP BY Carrier ORDER BY Carrier | [
23318,
257,
2318,
8262,
4478,
703,
867,
12437,
287,
1123,
11920,
11,
290,
714,
345,
905,
287,
41988,
416,
262,
1395,
30,
46506,
30252,
11,
327,
28270,
7,
9914,
5277,
8,
16034,
4283,
7054,
309,
16,
32357,
1268,
3335,
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... | [
23318,
257,
2318,
8262,
4478,
703,
867,
12437,
287,
1123,
11920,
11,
290,
714,
345,
905,
287,
41988,
416,
262,
1395,
30,
46506,
30252,
11,
327,
28270,
7,
9914,
5277,
8,
16034,
4283,
7054,
309,
16,
32357,
1268,
3335,
7054,
309,
17,
6... |
What is the highest number of terps points in games where the opponent made 53 points? | SELECT MAX("Terps Points") FROM table_25454 WHERE "Opp. Points" = '53' | [
2061,
318,
262,
4511,
1271,
286,
1059,
862,
2173,
287,
1830,
810,
262,
6125,
925,
7192,
2173,
30,
46506,
25882,
7203,
15156,
862,
11045,
4943,
16034,
3084,
62,
1495,
34229,
33411,
366,
27524,
13,
11045,
1,
796,
705,
4310,
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,
4511,
1271,
286,
1059,
862,
2173,
287,
1830,
810,
262,
6125,
925,
7192,
2173,
30,
46506,
25882,
7203,
15156,
862,
11045,
4943,
16034,
3084,
62,
1495,
34229,
33411,
366,
27524,
13,
11045,
1,
796,
705,
4310,
6
] |
Rell mem the actor from ukraine for best actress in a leading role | SELECT "Actor's Name" FROM table_31745 WHERE "Nomination" = 'best actress in a leading role' AND "Country" = 'ukraine' | [
49,
695,
1066,
262,
8674,
422,
334,
74,
23440,
329,
1266,
14549,
287,
257,
3756,
2597,
46506,
366,
40277,
338,
6530,
1,
16034,
3084,
62,
34125,
2231,
33411,
366,
45,
27744,
1,
796,
705,
13466,
14549,
287,
257,
3756,
2597,
6,
5357,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
49,
695,
1066,
262,
8674,
422,
334,
74,
23440,
329,
1266,
14549,
287,
257,
3756,
2597,
46506,
366,
40277,
338,
6530,
1,
16034,
3084,
62,
34125,
2231,
33411,
366,
45,
27744,
1,
796,
705,
13466,
14549,
287,
257,
3756,
2597,
6,
5357,
3... |
when was the notorious b.i.g signed to bad boy ? | SELECT "year signed" FROM table_200_14 WHERE "act" = 'the notorious b.i.g' | [
12518,
373,
262,
18192,
275,
13,
72,
13,
70,
4488,
284,
2089,
2933,
5633,
46506,
366,
1941,
4488,
1,
16034,
3084,
62,
2167,
62,
1415,
33411,
366,
529,
1,
796,
705,
1169,
18192,
275,
13,
72,
13,
70,
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
] | [
12518,
373,
262,
18192,
275,
13,
72,
13,
70,
4488,
284,
2089,
2933,
5633,
46506,
366,
1941,
4488,
1,
16034,
3084,
62,
2167,
62,
1415,
33411,
366,
529,
1,
796,
705,
1169,
18192,
275,
13,
72,
13,
70,
6
] |
list the number of patients who were given the drug gentamicin. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Gentamicin" | [
4868,
262,
1271,
286,
3871,
508,
547,
1813,
262,
2563,
25049,
18127,
259,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
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
] | [
4868,
262,
1271,
286,
3871,
508,
547,
1813,
262,
2563,
25049,
18127,
259,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312... |
What is the socked when the turbo is 8/8/10/11? | SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/11" | [
2061,
318,
262,
264,
3543,
618,
262,
29292,
318,
807,
14,
23,
14,
940,
14,
1157,
30,
46506,
17802,
16034,
3084,
62,
3672,
62,
1821,
33411,
29292,
796,
366,
23,
14,
23,
14,
940,
14,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
264,
3543,
618,
262,
29292,
318,
807,
14,
23,
14,
940,
14,
1157,
30,
46506,
17802,
16034,
3084,
62,
3672,
62,
1821,
33411,
29292,
796,
366,
23,
14,
23,
14,
940,
14,
1157,
1
] |
How many people attended the game at VFL Park? | SELECT SUM("Crowd") FROM table_77740 WHERE "Venue" = 'vfl park' | [
2437,
867,
661,
9141,
262,
983,
379,
569,
3697,
3250,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
29331,
1821,
33411,
366,
37522,
518,
1,
796,
705,
85,
2704,
3952,
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
] | [
2437,
867,
661,
9141,
262,
983,
379,
569,
3697,
3250,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
29331,
1821,
33411,
366,
37522,
518,
1,
796,
705,
85,
2704,
3952,
6
] |
Who was the visiting team on December 6? | SELECT "Visiting Team" FROM table_71609 WHERE "Date" = 'december 6' | [
8241,
373,
262,
10013,
1074,
319,
3426,
718,
30,
46506,
366,
15854,
1780,
4816,
1,
16034,
3084,
62,
22,
1433,
2931,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
718,
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,
373,
262,
10013,
1074,
319,
3426,
718,
30,
46506,
366,
15854,
1780,
4816,
1,
16034,
3084,
62,
22,
1433,
2931,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
718,
6
] |
give me the number of patients whose diagnoses short title is ocl crtd art wo infrct and lab test abnormal status is abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Ocl crtd art wo infrct" AND lab.flag = "abnormal" | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
267,
565,
1067,
8671,
1242,
24486,
1167,
81,
310,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
267,
565,
1067,
8671,
1242,
24486,
1167,
81,
310,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
How many racing points did England get? | SELECT MAX(race_total_pts_) FROM table_23293785_3 WHERE country = "England" | [
2437,
867,
11717,
2173,
750,
4492,
651,
30,
46506,
25882,
7,
16740,
62,
23350,
62,
457,
82,
62,
8,
16034,
3084,
62,
1954,
1959,
2718,
5332,
62,
18,
33411,
1499,
796,
366,
39163,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11717,
2173,
750,
4492,
651,
30,
46506,
25882,
7,
16740,
62,
23350,
62,
457,
82,
62,
8,
16034,
3084,
62,
1954,
1959,
2718,
5332,
62,
18,
33411,
1499,
796,
366,
39163,
1
] |
what is the original air date for production code 216? | SELECT "Original air date" FROM table_26492 WHERE "Production code" = '216' | [
10919,
318,
262,
2656,
1633,
3128,
329,
3227,
2438,
26881,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
2075,
40256,
33411,
366,
35027,
2438,
1,
796,
705,
20666,
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,
318,
262,
2656,
1633,
3128,
329,
3227,
2438,
26881,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
2075,
40256,
33411,
366,
35027,
2438,
1,
796,
705,
20666,
6
] |
What is the label for catalog EMB 31956? | SELECT "Label" FROM table_12905 WHERE "Catalog" = 'emb 31956' | [
2061,
318,
262,
6167,
329,
18388,
412,
10744,
40385,
3980,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
18741,
2713,
33411,
366,
49015,
1,
796,
705,
24419,
40385,
3980,
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,
6167,
329,
18388,
412,
10744,
40385,
3980,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
18741,
2713,
33411,
366,
49015,
1,
796,
705,
24419,
40385,
3980,
6
] |
List the race time for may 11. | SELECT "Race Time" FROM table_30361 WHERE "Date" = 'May 11' | [
8053,
262,
3234,
640,
329,
743,
1367,
13,
46506,
366,
35157,
3862,
1,
16034,
3084,
62,
1270,
35195,
33411,
366,
10430,
1,
796,
705,
6747,
1367,
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
] | [
8053,
262,
3234,
640,
329,
743,
1367,
13,
46506,
366,
35157,
3862,
1,
16034,
3084,
62,
1270,
35195,
33411,
366,
10430,
1,
796,
705,
6747,
1367,
6
] |
Which Partner is on 22 april 2002? | SELECT partner FROM table_name_35 WHERE date = "22 april 2002" | [
13828,
35532,
318,
319,
2534,
46593,
346,
6244,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
2327,
33411,
3128,
796,
366,
1828,
46593,
346,
6244,
1
] | [
1,
1,
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,
35532,
318,
319,
2534,
46593,
346,
6244,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
2327,
33411,
3128,
796,
366,
1828,
46593,
346,
6244,
1
] |
Name the total viewers on hallmark for pilot | SELECT "Total viewers on Hallmark+1" FROM table_26686 WHERE "Title" = 'Pilot' | [
5376,
262,
2472,
10209,
319,
44995,
329,
8022,
46506,
366,
14957,
10209,
319,
4789,
4102,
10,
16,
1,
16034,
3084,
62,
2075,
33808,
33411,
366,
19160,
1,
796,
705,
47,
23439,
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,
2472,
10209,
319,
44995,
329,
8022,
46506,
366,
14957,
10209,
319,
4789,
4102,
10,
16,
1,
16034,
3084,
62,
2075,
33808,
33411,
366,
19160,
1,
796,
705,
47,
23439,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416... |
Name the 8 pm when time is thursday | SELECT "08:00 PM" FROM table_20127 WHERE "Time" = 'Thursday' | [
5376,
262,
807,
9114,
618,
640,
318,
294,
3479,
46506,
366,
2919,
25,
405,
3122,
1,
16034,
3084,
62,
1264,
1983,
33411,
366,
7575,
1,
796,
705,
25381,
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
] | [
5376,
262,
807,
9114,
618,
640,
318,
294,
3479,
46506,
366,
2919,
25,
405,
3122,
1,
16034,
3084,
62,
1264,
1983,
33411,
366,
7575,
1,
796,
705,
25381,
6
] |
What is the pre-release when the developer is no? | SELECT kinka_pre_release FROM table_name_45 WHERE kinka_developer = "no" | [
2061,
318,
262,
662,
12,
20979,
618,
262,
8517,
318,
645,
30,
46506,
479,
48955,
62,
3866,
62,
20979,
16034,
3084,
62,
3672,
62,
2231,
33411,
479,
48955,
62,
16244,
263,
796,
366,
3919,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
662,
12,
20979,
618,
262,
8517,
318,
645,
30,
46506,
479,
48955,
62,
3866,
62,
20979,
16034,
3084,
62,
3672,
62,
2231,
33411,
479,
48955,
62,
16244,
263,
796,
366,
3919,
1
] |
How many live births per year are there in the period where the life expectancy for females is 73.3? | SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = "73.3" | [
2437,
867,
2107,
27244,
583,
614,
389,
612,
287,
262,
2278,
810,
262,
1204,
29098,
329,
12366,
318,
8854,
13,
18,
30,
46506,
2107,
62,
24280,
82,
62,
525,
62,
1941,
16034,
3084,
62,
23362,
31654,
2154,
62,
17,
33411,
1204,
62,
1069,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2107,
27244,
583,
614,
389,
612,
287,
262,
2278,
810,
262,
1204,
29098,
329,
12366,
318,
8854,
13,
18,
30,
46506,
2107,
62,
24280,
82,
62,
525,
62,
1941,
16034,
3084,
62,
23362,
31654,
2154,
62,
17,
33411,
1204,
62,
1069,... |
count the number of patients whose year of birth is less than 2182 and drug type is additive? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2182" AND prescriptions.drug_type = "ADDITIVE" | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
362,
24294,
290,
2563,
2099,
318,
38298,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
362,
24294,
290,
2563,
2099,
318,
38298,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
61... |
What is the Tie no of Hereford United's Away game? | SELECT "Tie no" FROM table_61884 WHERE "Away team" = 'hereford united' | [
2061,
318,
262,
36286,
645,
286,
3423,
3841,
1578,
338,
21986,
983,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
47448,
5705,
33411,
366,
32,
1014,
1074,
1,
796,
705,
1456,
3841,
16503,
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,
36286,
645,
286,
3423,
3841,
1578,
338,
21986,
983,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
47448,
5705,
33411,
366,
32,
1014,
1074,
1,
796,
705,
1456,
3841,
16503,
6
] |
What are the names of perpetrators whose country is not 'China'? | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country <> "China" | [
2061,
389,
262,
3891,
286,
25185,
3025,
1499,
318,
407,
705,
14581,
30960,
46506,
309,
16,
13,
5376,
16034,
661,
7054,
309,
16,
32357,
1268,
33599,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
286,
25185,
3025,
1499,
318,
407,
705,
14581,
30960,
46506,
309,
16,
13,
5376,
16034,
661,
7054,
309,
16,
32357,
1268,
33599,
7054,
309,
17,
6177,
309,
16,
13,
8061,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
... |
Name the Gold which has a Nation of australia, and a Bronze smaller than 1? | SELECT MIN("Gold") FROM table_14271 WHERE "Nation" = 'australia' AND "Bronze" < '1' | [
5376,
262,
3561,
543,
468,
257,
8741,
286,
38132,
1373,
544,
11,
290,
257,
19461,
4833,
621,
352,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
1415,
28977,
33411,
366,
46108,
1,
796,
705,
64,
436,
1373,
544,
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
] | [
5376,
262,
3561,
543,
468,
257,
8741,
286,
38132,
1373,
544,
11,
290,
257,
19461,
4833,
621,
352,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
1415,
28977,
33411,
366,
46108,
1,
796,
705,
64,
436,
1373,
544,
6,
5357,
366,
1... |
What is the number of companies for each headquarter? Visualize by bar chart, could you sort by the Headquarters in desc? | SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC | [
2061,
318,
262,
1271,
286,
2706,
329,
1123,
1182,
24385,
30,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
3297,
416,
262,
32193,
287,
1715,
30,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
32193,
38678,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
2706,
329,
1123,
1182,
24385,
30,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
3297,
416,
262,
32193,
287,
1715,
30,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
32193,
38678,
1... |
What was the tie number when the away team was Wrexham? | SELECT "Tie no" FROM table_8267 WHERE "Away team" = 'wrexham' | [
2061,
373,
262,
9839,
1271,
618,
262,
1497,
1074,
373,
370,
21510,
2763,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
23,
25674,
33411,
366,
32,
1014,
1074,
1,
796,
705,
86,
21510,
2763,
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,
9839,
1271,
618,
262,
1497,
1074,
373,
370,
21510,
2763,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
23,
25674,
33411,
366,
32,
1014,
1074,
1,
796,
705,
86,
21510,
2763,
6
] |
How many lessons were in cancelled state? | SELECT COUNT(*) FROM Lessons WHERE lesson_status_code = "Cancelled" | [
2437,
867,
11658,
547,
287,
16769,
1181,
30,
46506,
327,
28270,
7,
28104,
16034,
46885,
33411,
11483,
62,
13376,
62,
8189,
796,
366,
34,
590,
3353,
1
] | [
1,
1,
1,
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,
11658,
547,
287,
16769,
1181,
30,
46506,
327,
28270,
7,
28104,
16034,
46885,
33411,
11483,
62,
13376,
62,
8189,
796,
366,
34,
590,
3353,
1
] |
What is the crowd for away team of north melbourne? | SELECT "Crowd" FROM table_52958 WHERE "Away team" = 'north melbourne' | [
2061,
318,
262,
4315,
329,
1497,
1074,
286,
5093,
7758,
12544,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
49721,
3365,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
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,
4315,
329,
1497,
1074,
286,
5093,
7758,
12544,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
49721,
3365,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
What is the nationality of the journalist with the largest number of years working? | SELECT nationality FROM journalist ORDER BY years_working DESC LIMIT 1 | [
2061,
318,
262,
29835,
286,
262,
10099,
351,
262,
4387,
1271,
286,
812,
1762,
30,
46506,
29835,
16034,
10099,
38678,
11050,
812,
62,
16090,
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
] | [
2061,
318,
262,
29835,
286,
262,
10099,
351,
262,
4387,
1271,
286,
812,
1762,
30,
46506,
29835,
16034,
10099,
38678,
11050,
812,
62,
16090,
22196,
34,
27564,
2043,
352
] |
Name the average top-10 for cuts made of 10 and top-25 more than 6 | SELECT AVG(top_10) FROM table_name_57 WHERE cuts_made = 10 AND top_25 > 6 | [
5376,
262,
2811,
1353,
12,
940,
329,
6630,
925,
286,
838,
290,
1353,
12,
1495,
517,
621,
718,
46506,
35224,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
6630,
62,
9727,
796,
838,
5357,
1353,
62,
1495,
1875,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2811,
1353,
12,
940,
329,
6630,
925,
286,
838,
290,
1353,
12,
1495,
517,
621,
718,
46506,
35224,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
6630,
62,
9727,
796,
838,
5357,
1353,
62,
1495,
1875,
718
] |
Visualize a bar chart for how many workshops did each author submit to? Return the author name and the number of workshops. | SELECT Author, COUNT(DISTINCT T1.Workshop_ID) FROM Acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
25982,
750,
1123,
1772,
9199,
284,
30,
8229,
262,
1772,
1438,
290,
262,
1271,
286,
25982,
13,
46506,
6434,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
16,
13,
23044,
8548,
62,
2389,
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... | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
25982,
750,
1123,
1772,
9199,
284,
30,
8229,
262,
1772,
1438,
290,
262,
1271,
286,
25982,
13,
46506,
6434,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
16,
13,
23044,
8548,
62,
2389,
8,
... |
Name the number of ratings for bruce forsyth | SELECT COUNT(ratings) FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth" | [
5376,
262,
1271,
286,
10109,
329,
18145,
344,
329,
1837,
400,
46506,
327,
28270,
7,
10366,
654,
8,
16034,
3084,
62,
1959,
1485,
1120,
4349,
62,
17,
33411,
8319,
62,
82,
62,
796,
366,
38509,
27325,
5272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10109,
329,
18145,
344,
329,
1837,
400,
46506,
327,
28270,
7,
10366,
654,
8,
16034,
3084,
62,
1959,
1485,
1120,
4349,
62,
17,
33411,
8319,
62,
82,
62,
796,
366,
38509,
27325,
5272,
1
] |
In heat rank 7, what is the sum of lanes? | SELECT SUM(lane) FROM table_name_48 WHERE heat_rank = 7 | [
818,
4894,
4279,
767,
11,
644,
318,
262,
2160,
286,
15296,
30,
46506,
35683,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
4894,
62,
43027,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
4894,
4279,
767,
11,
644,
318,
262,
2160,
286,
15296,
30,
46506,
35683,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
4894,
62,
43027,
796,
767
] |
2018 Slowest Gun In The West. | SELECT A.Id AS "post_link", A.Score, U.DisplayName FROM Posts AS A JOIN Posts AS Q ON A.ParentId = Q.Id JOIN Users AS U ON A.OwnerUserId = U.Id WHERE YEAR(A.CreationDate) = 2018 AND NOT Q.Tags LIKE '%tips%' AND NOT EXISTS(SELECT * FROM Posts AS A2 WHERE A2.ParentId = Q.Id AND CAST((JULIANDAY(CreationDate) - JULIANDAY(Q... | [
7908,
19054,
395,
6748,
554,
383,
2688,
13,
46506,
317,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
317,
13,
26595,
11,
471,
13,
23114,
5376,
16034,
12043,
7054,
317,
32357,
1268,
12043,
7054,
1195,
6177,
317,
13,
24546,
7390,
796,
119... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7908,
19054,
395,
6748,
554,
383,
2688,
13,
46506,
317,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
317,
13,
26595,
11,
471,
13,
23114,
5376,
16034,
12043,
7054,
317,
32357,
1268,
12043,
7054,
1195,
6177,
317,
13,
24546,
7390,
796,
119... |
What type entered service in 2000? | SELECT "Type" FROM table_38839 WHERE "Entered service" = '2000' | [
2061,
2099,
5982,
2139,
287,
4751,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
30460,
2670,
33411,
366,
14539,
1068,
2139,
1,
796,
705,
11024,
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
] | [
2061,
2099,
5982,
2139,
287,
4751,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
30460,
2670,
33411,
366,
14539,
1068,
2139,
1,
796,
705,
11024,
6
] |
in what year the position was the 9th | SELECT "Season" FROM table_31291 WHERE "Position" = '9th' | [
259,
644,
614,
262,
2292,
373,
262,
860,
400,
46506,
366,
18960,
1,
16034,
3084,
62,
27970,
6420,
33411,
366,
26545,
1,
796,
705,
24,
400,
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
] | [
259,
644,
614,
262,
2292,
373,
262,
860,
400,
46506,
366,
18960,
1,
16034,
3084,
62,
27970,
6420,
33411,
366,
26545,
1,
796,
705,
24,
400,
6
] |
What is the other name for martono ? | SELECT "Cyrillic Name Other Names" FROM table_27862 WHERE "Settlement" = 'Martonoš' | [
2061,
318,
262,
584,
1438,
329,
11277,
29941,
5633,
46506,
366,
34,
2417,
359,
291,
6530,
3819,
28531,
1,
16034,
3084,
62,
1983,
4521,
17,
33411,
366,
50,
27331,
1,
796,
705,
13143,
29941,
32790,
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,
584,
1438,
329,
11277,
29941,
5633,
46506,
366,
34,
2417,
359,
291,
6530,
3819,
28531,
1,
16034,
3084,
62,
1983,
4521,
17,
33411,
366,
50,
27331,
1,
796,
705,
13143,
29941,
32790,
6
] |
Which classrooms are used by grade 4? | SELECT DISTINCT classroom FROM list WHERE grade = 4 | [
13828,
32579,
389,
973,
416,
9559,
604,
30,
46506,
360,
8808,
1268,
4177,
15806,
16034,
1351,
33411,
9559,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
32579,
389,
973,
416,
9559,
604,
30,
46506,
360,
8808,
1268,
4177,
15806,
16034,
1351,
33411,
9559,
796,
604
] |
count the number of patients who received physical therapy consult within 2 months after being diagnosed until 2103 with atelectasis/collapse. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'atelectasis/collapse' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2103') AS t1 JOIN (SELECT patient.uniq... | [
9127,
262,
1271,
286,
3871,
508,
2722,
3518,
9102,
5725,
1626,
362,
1933,
706,
852,
14641,
1566,
362,
15197,
351,
379,
9509,
17765,
14,
26000,
7512,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
2722,
3518,
9102,
5725,
1626,
362,
1933,
706,
852,
14641,
1566,
362,
15197,
351,
379,
9509,
17765,
14,
26000,
7512,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8... |
Where was the location where justin robbins fought against billy kidd? | SELECT location FROM table_name_1 WHERE opponent = "billy kidd" | [
8496,
373,
262,
4067,
810,
655,
259,
3857,
65,
1040,
8350,
1028,
2855,
88,
479,
1638,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
16,
33411,
6125,
796,
366,
65,
6548,
479,
1638,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
810,
655,
259,
3857,
65,
1040,
8350,
1028,
2855,
88,
479,
1638,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
16,
33411,
6125,
796,
366,
65,
6548,
479,
1638,
1
] |
Which Date has a Home team of rochdale? | SELECT "Date" FROM table_9664 WHERE "Home team" = 'rochdale' | [
13828,
7536,
468,
257,
5995,
1074,
286,
686,
354,
14597,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4846,
2414,
33411,
366,
16060,
1074,
1,
796,
705,
305,
354,
14597,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
5995,
1074,
286,
686,
354,
14597,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4846,
2414,
33411,
366,
16060,
1074,
1,
796,
705,
305,
354,
14597,
6
] |
What stage number had the general classification Rory Sutherland? | SELECT COUNT(stage) FROM table_23157997_13 WHERE general_classification = "Rory Sutherland" | [
2061,
3800,
1271,
550,
262,
2276,
17923,
37178,
47793,
30,
46506,
327,
28270,
7,
14247,
8,
16034,
3084,
62,
1954,
18458,
39647,
62,
1485,
33411,
2276,
62,
4871,
2649,
796,
366,
49,
652,
47793,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3800,
1271,
550,
262,
2276,
17923,
37178,
47793,
30,
46506,
327,
28270,
7,
14247,
8,
16034,
3084,
62,
1954,
18458,
39647,
62,
1485,
33411,
2276,
62,
4871,
2649,
796,
366,
49,
652,
47793,
1
] |
Which Score in the final has an Outcome of winner, and a Surface of hard (i)? | SELECT "Score in the final" FROM table_39646 WHERE "Outcome" = 'winner' AND "Surface" = 'hard (i)' | [
13828,
15178,
287,
262,
2457,
468,
281,
3806,
2958,
286,
8464,
11,
290,
257,
20321,
286,
1327,
357,
72,
19427,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
2670,
27720,
33411,
366,
7975,
2958,
1,
796,
705,
39791,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
287,
262,
2457,
468,
281,
3806,
2958,
286,
8464,
11,
290,
257,
20321,
286,
1327,
357,
72,
19427,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
2670,
27720,
33411,
366,
7975,
2958,
1,
796,
705,
39791,
6,
5357,
... |
What is the proportion of the smallest enrollment of schools in each state? | SELECT cName, MIN(enr) FROM College GROUP BY state | [
2061,
318,
262,
9823,
286,
262,
18197,
20753,
286,
4266,
287,
1123,
1181,
30,
46506,
269,
5376,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181
] | [
1,
1,
1,
1,
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,
9823,
286,
262,
18197,
20753,
286,
4266,
287,
1123,
1181,
30,
46506,
269,
5376,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181
] |
count the number of patients who were admitted during this year to the hospital. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
9127,
262,
1271,
286,
3871,
508,
547,
6848,
1141,
428,
614,
284,
262,
4436,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
324,
20124,
524... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
547,
6848,
1141,
428,
614,
284,
262,
4436,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
324,
20124,
524... |
Show all transaction ids with transaction code 'PUR'. | SELECT transaction_id FROM transactions WHERE transaction_type_code = 'PUR' | [
15307,
477,
8611,
220,
2340,
351,
8611,
2438,
705,
47,
4261,
4458,
46506,
8611,
62,
312,
16034,
8945,
33411,
8611,
62,
4906,
62,
8189,
796,
705,
47,
4261,
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
] | [
15307,
477,
8611,
220,
2340,
351,
8611,
2438,
705,
47,
4261,
4458,
46506,
8611,
62,
312,
16034,
8945,
33411,
8611,
62,
4906,
62,
8189,
796,
705,
47,
4261,
6
] |
What is the title with an average rating of 22.4%? | SELECT romaji_title FROM table_18540104_1 WHERE average_ratings = "22.4%" | [
2061,
318,
262,
3670,
351,
281,
2811,
7955,
286,
2534,
13,
19,
4,
30,
46506,
9267,
26436,
62,
7839,
16034,
3084,
62,
1507,
4051,
486,
3023,
62,
16,
33411,
2811,
62,
10366,
654,
796,
366,
1828,
13,
19,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
351,
281,
2811,
7955,
286,
2534,
13,
19,
4,
30,
46506,
9267,
26436,
62,
7839,
16034,
3084,
62,
1507,
4051,
486,
3023,
62,
16,
33411,
2811,
62,
10366,
654,
796,
366,
1828,
13,
19,
39658
] |
What is Tom Gillis' score? | SELECT "Score" FROM table_76807 WHERE "Player" = 'tom gillis' | [
2061,
318,
4186,
12981,
271,
6,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4304,
36928,
33411,
366,
14140,
1,
796,
705,
39532,
308,
359,
271,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
4186,
12981,
271,
6,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4304,
36928,
33411,
366,
14140,
1,
796,
705,
39532,
308,
359,
271,
6
] |
Name the number of scores for episode 7x05 | SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x05" | [
5376,
262,
1271,
286,
8198,
329,
4471,
767,
87,
2713,
46506,
327,
28270,
7,
1416,
2850,
8,
16034,
3084,
62,
1954,
1959,
1828,
1238,
62,
22,
33411,
4471,
796,
366,
22,
87,
2713,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8198,
329,
4471,
767,
87,
2713,
46506,
327,
28270,
7,
1416,
2850,
8,
16034,
3084,
62,
1954,
1959,
1828,
1238,
62,
22,
33411,
4471,
796,
366,
22,
87,
2713,
1
] |
what was patient 28443 diagnosed with on this hospital visit for the first time? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443 AND admissions.dischtime IS NULL) ORDER BY diagnoses_icd.charttime L... | [
10919,
373,
5827,
2579,
34938,
14641,
351,
319,
428,
4436,
3187,
329,
262,
717,
640,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
5827,
2579,
34938,
14641,
351,
319,
428,
4436,
3187,
329,
262,
717,
640,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
... |
How many teams that played won 0 games? | SELECT played FROM table_20760802_1 WHERE won = "0" | [
2437,
867,
3466,
326,
2826,
1839,
657,
1830,
30,
46506,
2826,
16034,
3084,
62,
22745,
1899,
30863,
62,
16,
33411,
1839,
796,
366,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3466,
326,
2826,
1839,
657,
1830,
30,
46506,
2826,
16034,
3084,
62,
22745,
1899,
30863,
62,
16,
33411,
1839,
796,
366,
15,
1
] |
What is the lowest lane with Lorenzo Vismara and a time higher than 49.67? | SELECT MIN(lane) FROM table_name_69 WHERE name = "lorenzo vismara" AND time > 49.67 | [
2061,
318,
262,
9016,
11193,
351,
41721,
569,
1042,
3301,
290,
257,
640,
2440,
621,
5125,
13,
3134,
30,
46506,
20625,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
1438,
796,
366,
75,
29578,
10872,
410,
1042,
3301,
1,
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
] | [
2061,
318,
262,
9016,
11193,
351,
41721,
569,
1042,
3301,
290,
257,
640,
2440,
621,
5125,
13,
3134,
30,
46506,
20625,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
1438,
796,
366,
75,
29578,
10872,
410,
1042,
3301,
1,
5357,
6... |
What is the population in those place where the market income per capita is $17,362? | SELECT population FROM table_22815568_7 WHERE market_income_per_capita = "$17,362" | [
2061,
318,
262,
3265,
287,
883,
1295,
810,
262,
1910,
3739,
583,
21344,
318,
720,
1558,
11,
35667,
30,
46506,
3265,
16034,
3084,
62,
23815,
18742,
3104,
62,
22,
33411,
1910,
62,
12519,
62,
525,
62,
11128,
5350,
796,
17971,
1558,
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
] | [
2061,
318,
262,
3265,
287,
883,
1295,
810,
262,
1910,
3739,
583,
21344,
318,
720,
1558,
11,
35667,
30,
46506,
3265,
16034,
3084,
62,
23815,
18742,
3104,
62,
22,
33411,
1910,
62,
12519,
62,
525,
62,
11128,
5350,
796,
17971,
1558,
11,
... |
What LNER Class has a Class of 3? | SELECT LNER AS class FROM table_name_86 WHERE class = "3" | [
2061,
406,
21479,
5016,
468,
257,
5016,
286,
513,
30,
46506,
406,
21479,
7054,
1398,
16034,
3084,
62,
3672,
62,
4521,
33411,
1398,
796,
366,
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
] | [
2061,
406,
21479,
5016,
468,
257,
5016,
286,
513,
30,
46506,
406,
21479,
7054,
1398,
16034,
3084,
62,
3672,
62,
4521,
33411,
1398,
796,
366,
18,
1
] |
How big was the crowd size, at the Junction Oval venue? | SELECT SUM(crowd) FROM table_name_30 WHERE venue = "junction oval" | [
2437,
1263,
373,
262,
4315,
2546,
11,
379,
262,
44410,
25165,
14359,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1270,
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,
1
] | [
2437,
1263,
373,
262,
4315,
2546,
11,
379,
262,
44410,
25165,
14359,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
How many first-team goals does the team have whose player is Samir Carruthers? | SELECT "First-Team Goals" FROM table_51191 WHERE "Player" = 'samir carruthers' | [
2437,
867,
717,
12,
15097,
4661,
857,
262,
1074,
423,
3025,
2137,
318,
3409,
343,
20765,
315,
7084,
30,
46506,
366,
5962,
12,
15592,
28510,
1,
16034,
3084,
62,
4349,
26492,
33411,
366,
14140,
1,
796,
705,
37687,
343,
1097,
81,
315,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
12,
15097,
4661,
857,
262,
1074,
423,
3025,
2137,
318,
3409,
343,
20765,
315,
7084,
30,
46506,
366,
5962,
12,
15592,
28510,
1,
16034,
3084,
62,
4349,
26492,
33411,
366,
14140,
1,
796,
705,
37687,
343,
1097,
81,
315,
... |
Who is the commenced operations that has icao of slk? | SELECT commenced_operations FROM table_name_34 WHERE icao = "slk" | [
8241,
318,
262,
32400,
4560,
326,
468,
220,
3970,
78,
286,
1017,
74,
30,
46506,
32400,
62,
3575,
602,
16034,
3084,
62,
3672,
62,
2682,
33411,
220,
3970,
78,
796,
366,
6649,
74,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
32400,
4560,
326,
468,
220,
3970,
78,
286,
1017,
74,
30,
46506,
32400,
62,
3575,
602,
16034,
3084,
62,
3672,
62,
2682,
33411,
220,
3970,
78,
796,
366,
6649,
74,
1
] |
When semi final (2nd leg) is the round what is the highest attendance? | SELECT MAX("Attendance") FROM table_30373 WHERE "Round" = 'Semi Final (2nd leg)' | [
2215,
10663,
2457,
357,
17,
358,
1232,
8,
318,
262,
2835,
644,
318,
262,
4511,
14858,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
1270,
34770,
33411,
366,
22685,
1,
796,
705,
13900,
72,
8125,
357,
17,
358,
1232,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
10663,
2457,
357,
17,
358,
1232,
8,
318,
262,
2835,
644,
318,
262,
4511,
14858,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
1270,
34770,
33411,
366,
22685,
1,
796,
705,
13900,
72,
8125,
357,
17,
358,
1232,
3... |
How many products were not included in any order? | SELECT COUNT(*) FROM products WHERE NOT product_id IN (SELECT product_id FROM order_items) | [
2437,
867,
3186,
547,
407,
3017,
287,
597,
1502,
30,
46506,
327,
28270,
7,
28104,
16034,
3186,
33411,
5626,
1720,
62,
312,
3268,
357,
46506,
1720,
62,
312,
16034,
1502,
62,
23814,
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
] | [
2437,
867,
3186,
547,
407,
3017,
287,
597,
1502,
30,
46506,
327,
28270,
7,
28104,
16034,
3186,
33411,
5626,
1720,
62,
312,
3268,
357,
46506,
1720,
62,
312,
16034,
1502,
62,
23814,
8
] |
A bar chart about what are the destinations and number of flights to each one?, could you show Y in ascending order? | SELECT destination, COUNT(*) FROM flight GROUP BY destination ORDER BY COUNT(*) | [
32,
2318,
8262,
546,
644,
389,
262,
23982,
290,
1271,
286,
13956,
284,
1123,
530,
21747,
714,
345,
905,
575,
287,
41988,
1502,
30,
46506,
10965,
11,
327,
28270,
7,
28104,
16034,
5474,
44441,
11050,
10965,
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
] | [
32,
2318,
8262,
546,
644,
389,
262,
23982,
290,
1271,
286,
13956,
284,
1123,
530,
21747,
714,
345,
905,
575,
287,
41988,
1502,
30,
46506,
10965,
11,
327,
28270,
7,
28104,
16034,
5474,
44441,
11050,
10965,
38678,
11050,
327,
28270,
7,
... |
how many players were not signed from the academy ? | SELECT COUNT("name") FROM table_204_753 WHERE "signed from" <> 'the academy' | [
4919,
867,
1938,
547,
407,
4488,
422,
262,
21531,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
44550,
33411,
366,
32696,
422,
1,
1279,
29,
705,
1169,
21531,
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
] | [
4919,
867,
1938,
547,
407,
4488,
422,
262,
21531,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
44550,
33411,
366,
32696,
422,
1,
1279,
29,
705,
1169,
21531,
6
] |
What round was Nick Gillis? | SELECT round FROM table_name_32 WHERE player = "nick gillis" | [
2061,
2835,
373,
8047,
12981,
271,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
2624,
33411,
2137,
796,
366,
17172,
308,
359,
271,
1
] | [
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,
2835,
373,
8047,
12981,
271,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
2624,
33411,
2137,
796,
366,
17172,
308,
359,
271,
1
] |
What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses? | SELECT MIN(year) FROM table_name_97 WHERE working_horses = "3900.1" AND cows < 3852.1 | [
2061,
318,
262,
14555,
614,
326,
468,
7380,
621,
4353,
4309,
13,
16,
22575,
290,
5014,
405,
13,
16,
1762,
14260,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
1762,
62,
71,
11836,
796,
366,
2670,
405,
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
] | [
2061,
318,
262,
14555,
614,
326,
468,
7380,
621,
4353,
4309,
13,
16,
22575,
290,
5014,
405,
13,
16,
1762,
14260,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
1762,
62,
71,
11836,
796,
366,
2670,
405,
13,
1... |
What is the Theme Song of Iryu -Team Medical Dragon-2? | SELECT theme_song_s_ FROM table_name_23 WHERE romaji_title = "iryu -team medical dragon-2" | [
2061,
318,
262,
26729,
10940,
286,
314,
49056,
532,
15592,
8366,
2851,
12,
17,
30,
46506,
7505,
62,
34050,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1954,
33411,
9267,
26436,
62,
7839,
796,
366,
9045,
84,
532,
15097,
3315,
10441,
12,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
26729,
10940,
286,
314,
49056,
532,
15592,
8366,
2851,
12,
17,
30,
46506,
7505,
62,
34050,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1954,
33411,
9267,
26436,
62,
7839,
796,
366,
9045,
84,
532,
15097,
3315,
10441,
12,
1... |
count the number of patients whose diagnoses icd9 code is 5990 and lab test fluid is other body fluid? | 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.icd9_code = "5990" AND lab.fluid = "Other Body Fluid" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
642,
34155,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
642,
34155,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... |
WHAT IS THE YEAR WITH DARI, AND TITLE osama ( )? | SELECT year__ceremony_ FROM table_name_38 WHERE language_s_ = "dari" AND original_title = "osama (أسامة)" | [
32971,
3180,
3336,
32914,
13315,
360,
33604,
11,
5357,
37977,
2538,
28686,
1689,
357,
1267,
30,
46506,
614,
834,
344,
2787,
1647,
62,
16034,
3084,
62,
3672,
62,
2548,
33411,
3303,
62,
82,
62,
796,
366,
67,
2743,
1,
5357,
2656,
62,
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
] | [
32971,
3180,
3336,
32914,
13315,
360,
33604,
11,
5357,
37977,
2538,
28686,
1689,
357,
1267,
30,
46506,
614,
834,
344,
2787,
1647,
62,
16034,
3084,
62,
3672,
62,
2548,
33411,
3303,
62,
82,
62,
796,
366,
67,
2743,
1,
5357,
2656,
62,
7... |
when did patient 012-39576 get discharged from the hospital in 2102 for the first time? | SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '012-39576' AND STRFTIME('%y', patient.hospitaldischargetime) = '2102' ORDER BY patient.hospitaldischargetime LIMIT 1 | [
12518,
750,
5827,
5534,
17,
12,
2670,
37452,
651,
26476,
422,
262,
4436,
287,
362,
15377,
329,
262,
717,
640,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
30206,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
5534,
17,
12,
2670,
37452,
651,
26476,
422,
262,
4436,
287,
362,
15377,
329,
262,
717,
640,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
30206,
12,
... |
what was the first ward identification of patient 12367 in their last hospital encounter? | SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12367 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND NOT transfers.wardid IS NULL ORDER BY transfers.intime LIMIT 1 | [
10919,
373,
262,
717,
15305,
11795,
286,
5827,
1105,
27824,
287,
511,
938,
4436,
8791,
30,
46506,
16395,
13,
904,
312,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
717,
15305,
11795,
286,
5827,
1105,
27824,
287,
511,
938,
4436,
8791,
30,
46506,
16395,
13,
904,
312,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.