instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the transfer window for Steven Thompson? | SELECT "Transfer window" FROM table_44692 WHERE "Name" = 'steven thompson' | [
2061,
318,
262,
4351,
4324,
329,
8239,
11654,
30,
46506,
366,
43260,
4324,
1,
16034,
3084,
62,
2598,
46589,
33411,
366,
5376,
1,
796,
705,
4169,
574,
294,
296,
8430,
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,
4351,
4324,
329,
8239,
11654,
30,
46506,
366,
43260,
4324,
1,
16034,
3084,
62,
2598,
46589,
33411,
366,
5376,
1,
796,
705,
4169,
574,
294,
296,
8430,
6
] |
count the number of patients whose admission type is emergency and procedure long title is other partial resection of small intestine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Other partial resection of small intestine" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
8771,
890,
3670,
318,
584,
13027,
1599,
596,
286,
1402,
45426,
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,
13938,
2099,
318,
6334,
290,
8771,
890,
3670,
318,
584,
13027,
1599,
596,
286,
1402,
45426,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... |
until 2 years ago, what were the top three most common microbiology tests ordered for patients in the same month after receiving a pulmonary/ccm consultation? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'pulmonary/ccm consultation' AND DATETIME(tre... | [
28446,
362,
812,
2084,
11,
644,
547,
262,
1353,
1115,
749,
2219,
24559,
1435,
5254,
6149,
329,
3871,
287,
262,
976,
1227,
706,
6464,
257,
45105,
14,
535,
76,
18103,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
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... | [
28446,
362,
812,
2084,
11,
644,
547,
262,
1353,
1115,
749,
2219,
24559,
1435,
5254,
6149,
329,
3871,
287,
262,
976,
1227,
706,
6464,
257,
45105,
14,
535,
76,
18103,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17... |
Name the number in season for 4300062 | SELECT MAX("No. in season") FROM table_24184 WHERE "Production code" = '4300062' | [
5376,
262,
1271,
287,
1622,
329,
5946,
830,
5237,
46506,
25882,
7203,
2949,
13,
287,
1622,
4943,
16034,
3084,
62,
1731,
22883,
33411,
366,
35027,
2438,
1,
796,
705,
3559,
830,
5237,
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
] | [
5376,
262,
1271,
287,
1622,
329,
5946,
830,
5237,
46506,
25882,
7203,
2949,
13,
287,
1622,
4943,
16034,
3084,
62,
1731,
22883,
33411,
366,
35027,
2438,
1,
796,
705,
3559,
830,
5237,
6
] |
Which tyres has more than 5 laps with team nissan motorsports international? | SELECT "Tyres" FROM table_53840 WHERE "Laps" > '5' AND "Team" = 'nissan motorsports international' | [
13828,
40498,
468,
517,
621,
642,
24590,
351,
1074,
299,
24112,
24699,
3742,
3230,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
49561,
1821,
33411,
366,
43,
1686,
1,
1875,
705,
20,
6,
5357,
366,
15592,
1,
796,
705,
77,
24112,
246... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40498,
468,
517,
621,
642,
24590,
351,
1074,
299,
24112,
24699,
3742,
3230,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
49561,
1821,
33411,
366,
43,
1686,
1,
1875,
705,
20,
6,
5357,
366,
15592,
1,
796,
705,
77,
24112,
246... |
what was the number of patients that were given a factor ix test until 3 years ago? | 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 = 'factor ix') AND DATETIME(labevents.charttime) <= DATETIME(CURRENT_TIME(), '-3 year')) | [
10919,
373,
262,
1271,
286,
3871,
326,
547,
1813,
257,
5766,
220,
844,
1332,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1271,
286,
3871,
326,
547,
1813,
257,
5766,
220,
844,
1332,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
326... |
Average User Reputation for All Popular Tags. | SELECT u.Id AS "user_link", t.TagName, u.Reputation AS rep, u.DisplayName AS UserName FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId INNER JOIN Users AS u ON u.Id = p.OwnerUserId WHERE (u.Location = 'Copenhagen' OR u.Location = 'Denmark') AND (t.TagName = 'python' ... | [
26287,
11787,
1432,
7094,
329,
1439,
22623,
44789,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
256,
13,
24835,
5376,
11,
334,
13,
6207,
7094,
7054,
1128,
11,
334,
13,
23114,
5376,
7054,
11787,
5376,
16034,
12043,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
11787,
1432,
7094,
329,
1439,
22623,
44789,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
256,
13,
24835,
5376,
11,
334,
13,
6207,
7094,
7054,
1128,
11,
334,
13,
23114,
5376,
7054,
11787,
5376,
16034,
12043,
7054,
... |
Which Score has Points of 88, and a Record of 38 22 12? | SELECT "Score" FROM table_36380 WHERE "Points" = '88' AND "Record" = '38–22–12' | [
13828,
15178,
468,
11045,
286,
9193,
11,
290,
257,
13266,
286,
4353,
2534,
1105,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2623,
23734,
33411,
366,
40710,
1,
796,
705,
3459,
6,
5357,
366,
23739,
1,
796,
705,
2548,
1906,
1828,
1906,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
11045,
286,
9193,
11,
290,
257,
13266,
286,
4353,
2534,
1105,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2623,
23734,
33411,
366,
40710,
1,
796,
705,
3459,
6,
5357,
366,
23739,
1,
796,
705,
2548,
1906,
1828,
1906,
... |
What is the date of vacancy for the person that left because of end of caretaker contract? | SELECT date_of_vacancy FROM table_22133191_3 WHERE manner_of_departure = "End of caretaker contract" | [
2061,
318,
262,
3128,
286,
39836,
329,
262,
1048,
326,
1364,
780,
286,
886,
286,
1337,
30157,
2775,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
1828,
16945,
26492,
62,
18,
33411,
5642,
62,
1659,
62,
10378,
433,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
39836,
329,
262,
1048,
326,
1364,
780,
286,
886,
286,
1337,
30157,
2775,
30,
46506,
3128,
62,
1659,
62,
85,
330,
3883,
16034,
3084,
62,
1828,
16945,
26492,
62,
18,
33411,
5642,
62,
1659,
62,
10378,
433,
49... |
Which Grid has a Driver of cristiano da matta, and Points smaller than 33? | SELECT SUM("Grid") FROM table_5157 WHERE "Driver" = 'cristiano da matta' AND "Points" < '33' | [
13828,
24846,
468,
257,
12434,
286,
1067,
396,
10115,
12379,
23963,
64,
11,
290,
11045,
4833,
621,
4747,
30,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
20,
18458,
33411,
366,
32103,
1,
796,
705,
66,
1585,
10115,
12379,
23963,
64,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
24846,
468,
257,
12434,
286,
1067,
396,
10115,
12379,
23963,
64,
11,
290,
11045,
4833,
621,
4747,
30,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
20,
18458,
33411,
366,
32103,
1,
796,
705,
66,
1585,
10115,
12379,
23963,
64,... |
are the values of bilirubin, total of patient 13841 second measured on the last hospital visit greater than those first measured on the last hospital visit? | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13841 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.l... | [
533,
262,
3815,
286,
47027,
343,
549,
259,
11,
2472,
286,
5827,
21503,
3901,
1218,
8630,
319,
262,
938,
4436,
3187,
3744,
621,
883,
717,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
533,
262,
3815,
286,
47027,
343,
549,
259,
11,
2472,
286,
5827,
21503,
3901,
1218,
8630,
319,
262,
938,
4436,
3187,
3744,
621,
883,
717,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
... |
How many platinum points were awarded for 5th place? | SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE finishing_position = "5th" | [
2437,
867,
36516,
2173,
547,
11343,
329,
642,
400,
1295,
30,
46506,
25882,
7,
13033,
62,
707,
10676,
834,
489,
16881,
62,
8,
16034,
3084,
62,
16,
11623,
2780,
2481,
62,
17,
33411,
12848,
62,
9150,
796,
366,
20,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
36516,
2173,
547,
11343,
329,
642,
400,
1295,
30,
46506,
25882,
7,
13033,
62,
707,
10676,
834,
489,
16881,
62,
8,
16034,
3084,
62,
16,
11623,
2780,
2481,
62,
17,
33411,
12848,
62,
9150,
796,
366,
20,
400,
1
] |
Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy? | SELECT "Second party" FROM table_59695 WHERE "Second member" = 'charles robert colvile' AND "First party" = 'conservative' AND "First member" = 'william mundy' | [
13828,
286,
262,
1218,
4671,
468,
1218,
2888,
7516,
5199,
1623,
85,
576,
11,
257,
5940,
717,
2151,
11,
290,
717,
2888,
3977,
33324,
88,
30,
46506,
366,
12211,
2151,
1,
16034,
3084,
62,
3270,
37381,
33411,
366,
12211,
2888,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
286,
262,
1218,
4671,
468,
1218,
2888,
7516,
5199,
1623,
85,
576,
11,
257,
5940,
717,
2151,
11,
290,
717,
2888,
3977,
33324,
88,
30,
46506,
366,
12211,
2151,
1,
16034,
3084,
62,
3270,
37381,
33411,
366,
12211,
2888,
1,
796,
7... |
can you list all flights leaving from ST. LOUIS and arriving in MILWAUKEE | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ST. LOUIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILW... | [
5171,
345,
1351,
477,
13956,
4305,
422,
3563,
13,
406,
2606,
1797,
290,
14820,
287,
31515,
15543,
52,
7336,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5171,
345,
1351,
477,
13956,
4305,
422,
3563,
13,
406,
2606,
1797,
290,
14820,
287,
31515,
15543,
52,
7336,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... |
what is the average daily number of people diagnosed with cv dis nec-deliver w p/p until 2102? | SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cv dis nec-deliver w p/p') AND STRFTIME('%y', diagnoses_icd.charttime) <= '2102' GROUP BY STRFTIME('%y... | [
10919,
318,
262,
2811,
4445,
1271,
286,
661,
14641,
351,
269,
85,
595,
27576,
12,
12381,
1428,
266,
279,
14,
79,
1566,
362,
15377,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4445,
1271,
286,
661,
14641,
351,
269,
85,
595,
27576,
12,
12381,
1428,
266,
279,
14,
79,
1566,
362,
15377,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,... |
tell me the name of the output patient 94229 had for the last time today? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT outputevents.itemid FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 94229)) AND DATETIME(outputevents.charttim... | [
33331,
502,
262,
1438,
286,
262,
5072,
5827,
10048,
23539,
550,
329,
262,
938,
640,
1909,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
38701,
1133,
85,
658,
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... | [
33331,
502,
262,
1438,
286,
262,
5072,
5827,
10048,
23539,
550,
329,
262,
938,
640,
1909,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
38701,
1133,
85,
658,
13,
... |
Which home team has the Brunswick Street Oval venue? | SELECT home_team AS score FROM table_name_99 WHERE venue = "brunswick street oval" | [
13828,
1363,
1074,
468,
262,
32211,
3530,
25165,
14359,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2079,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
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
] | [
13828,
1363,
1074,
468,
262,
32211,
3530,
25165,
14359,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2079,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
41186,
1
] |
All posts --answers tagged with X -- and Y. | SELECT Posts.Id, '##invented:string##' AS invented FROM Posts, Tags AS invented, PostTags AS pti, Tags AS reinvented, PostTags AS ptri WHERE Posts.Id = pti.PostId AND Posts.Id = ptri.PostId AND pti.TagId = invented.Id AND ptri.TagId = reinvented.Id AND invented.TagName = '##invented:string##' AND reinvented.TagName = '... | [
3237,
6851,
1377,
504,
86,
364,
30509,
351,
1395,
1377,
290,
575,
13,
46506,
12043,
13,
7390,
11,
705,
2235,
259,
1151,
276,
25,
8841,
2235,
6,
7054,
15646,
16034,
12043,
11,
44789,
7054,
15646,
11,
2947,
36142,
7054,
279,
20259,
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... | [
3237,
6851,
1377,
504,
86,
364,
30509,
351,
1395,
1377,
290,
575,
13,
46506,
12043,
13,
7390,
11,
705,
2235,
259,
1151,
276,
25,
8841,
2235,
6,
7054,
15646,
16034,
12043,
11,
44789,
7054,
15646,
11,
2947,
36142,
7054,
279,
20259,
11,
... |
who is the incumbent with candidates being bud shuster (r) unopposed | SELECT incumbent FROM table_1341586_39 WHERE candidates = "Bud Shuster (R) Unopposed" | [
8727,
318,
262,
23526,
351,
5871,
852,
3600,
427,
5819,
357,
81,
8,
555,
10365,
1335,
46506,
23526,
16034,
3084,
62,
19880,
1314,
4521,
62,
2670,
33411,
5871,
796,
366,
33,
463,
911,
5819,
357,
49,
8,
791,
10365,
1335,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
23526,
351,
5871,
852,
3600,
427,
5819,
357,
81,
8,
555,
10365,
1335,
46506,
23526,
16034,
3084,
62,
19880,
1314,
4521,
62,
2670,
33411,
5871,
796,
366,
33,
463,
911,
5819,
357,
49,
8,
791,
10365,
1335,
1
] |
How many competitions in each competition type? And split them by country, and could you sort in ascending by the names? | SELECT Country, COUNT(Country) FROM competition GROUP BY Competition_type, Country ORDER BY Country | [
2437,
867,
24174,
287,
1123,
5449,
2099,
30,
843,
6626,
606,
416,
1499,
11,
290,
714,
345,
3297,
287,
41988,
416,
262,
3891,
30,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
5449,
44441,
11050,
27348,
62,
4906,
11,
12946,
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
] | [
2437,
867,
24174,
287,
1123,
5449,
2099,
30,
843,
6626,
606,
416,
1499,
11,
290,
714,
345,
3297,
287,
41988,
416,
262,
3891,
30,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
5449,
44441,
11050,
27348,
62,
4906,
11,
12946,
38678,
... |
how many times metoprolol tartrate was prescribed since 4 years ago? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'metoprolol tartrate' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-4 year') | [
4919,
867,
1661,
1138,
404,
3225,
349,
35842,
4873,
373,
14798,
1201,
604,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
4164,
404,
3225,
349,
35842,
4873,
6,
5357,
360,
1404,
2767,
12789,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1661,
1138,
404,
3225,
349,
35842,
4873,
373,
14798,
1201,
604,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
4164,
404,
3225,
349,
35842,
4873,
6,
5357,
360,
1404,
2767,
12789,
... |
count the number of patients who have been on sc30feng intake. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT icustays.hadm_id FROM icustays WHERE icustays.icustay_id IN (SELECT inputevents_cv.icustay_id FROM inputevents_cv WHERE inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'sc30feng' AND d_ite... | [
9127,
262,
1271,
286,
3871,
508,
423,
587,
319,
629,
1270,
69,
1516,
10337,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
14158,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
423,
587,
319,
629,
1270,
69,
1516,
10337,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
14158,
4... |
what was the uci rating of the last race of the tour ? | SELECT "uci rating" FROM table_204_409 ORDER BY id DESC LIMIT 1 | [
10919,
373,
262,
334,
979,
7955,
286,
262,
938,
3234,
286,
262,
4205,
5633,
46506,
366,
42008,
7955,
1,
16034,
3084,
62,
18638,
62,
29416,
38678,
11050,
4686,
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
] | [
10919,
373,
262,
334,
979,
7955,
286,
262,
938,
3234,
286,
262,
4205,
5633,
46506,
366,
42008,
7955,
1,
16034,
3084,
62,
18638,
62,
29416,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
Get me the number of married patients who have had calculated tbg lab tests. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.label = "Calculated TBG" | [
3855,
502,
262,
1271,
286,
6405,
3871,
508,
423,
550,
10488,
256,
35904,
2248,
5254,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
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... | [
3855,
502,
262,
1271,
286,
6405,
3871,
508,
423,
550,
10488,
256,
35904,
2248,
5254,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
7... |
what flights go from NEWARK to BOSTON after 1700 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time > 1700 AND flight.to_airport = AIRPORT_SERVICE_1.airpor... | [
10919,
13956,
467,
422,
12682,
14175,
284,
347,
10892,
1340,
706,
35665,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
467,
422,
12682,
14175,
284,
347,
10892,
1340,
706,
35665,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
154... |
A bar chart shows the distribution of date_address_to and the sum of monthly_rental , and group by attribute other_details and bin date_address_to by weekday. | SELECT date_address_to, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
3128,
62,
21975,
62,
1462,
290,
262,
2160,
286,
9651,
62,
1156,
282,
837,
290,
1448,
416,
11688,
584,
62,
36604,
290,
9874,
3128,
62,
21975,
62,
1462,
416,
28269,
13,
46506,
3128,
62,
21975,
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... | [
32,
2318,
8262,
2523,
262,
6082,
286,
3128,
62,
21975,
62,
1462,
290,
262,
2160,
286,
9651,
62,
1156,
282,
837,
290,
1448,
416,
11688,
584,
62,
36604,
290,
9874,
3128,
62,
21975,
62,
1462,
416,
28269,
13,
46506,
3128,
62,
21975,
62,... |
what is the number of patients whose ethnicity is american indian/alaska native and age is less than 81? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.age < "81" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
2479,
318,
1342,
621,
9773,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
2479,
318,
1342,
621,
9773,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
... |
Who is the player that played in the UEFA Euro 2012 qualifying Group A competition? | SELECT player FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A" | [
8241,
318,
262,
2137,
326,
2826,
287,
262,
40858,
1898,
2321,
18677,
4912,
317,
5449,
30,
46506,
2137,
16034,
3084,
62,
23753,
38431,
1314,
62,
17,
33411,
5449,
796,
366,
8924,
7708,
1898,
2321,
18677,
4912,
317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
326,
2826,
287,
262,
40858,
1898,
2321,
18677,
4912,
317,
5449,
30,
46506,
2137,
16034,
3084,
62,
23753,
38431,
1314,
62,
17,
33411,
5449,
796,
366,
8924,
7708,
1898,
2321,
18677,
4912,
317,
1
] |
In what year was BBC 2 13th in rank? | SELECT "Year" FROM table_31673 WHERE "BBC Two Rank" = '13th' | [
818,
644,
614,
373,
7823,
362,
1511,
400,
287,
4279,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
33400,
4790,
33411,
366,
33833,
4930,
10916,
1,
796,
705,
1485,
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,
1,
1,
1,
1
] | [
818,
644,
614,
373,
7823,
362,
1511,
400,
287,
4279,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
33400,
4790,
33411,
366,
33833,
4930,
10916,
1,
796,
705,
1485,
400,
6
] |
Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals. | SELECT MAX(bronze) FROM table_name_80 WHERE silver > 1 AND gold = 1 AND total < 4 | [
13828,
1499,
468,
262,
749,
22101,
290,
468,
517,
621,
530,
8465,
11,
352,
3869,
11,
290,
1342,
621,
604,
2472,
28057,
13,
46506,
25882,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
8465,
1875,
352,
5357,
3869,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1499,
468,
262,
749,
22101,
290,
468,
517,
621,
530,
8465,
11,
352,
3869,
11,
290,
1342,
621,
604,
2472,
28057,
13,
46506,
25882,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
8465,
1875,
352,
5357,
3869,
796,... |
What Event has an Outcome of other open tournaments? | SELECT event FROM table_name_34 WHERE outcome = "other open tournaments" | [
2061,
8558,
468,
281,
3806,
2958,
286,
584,
1280,
18130,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2682,
33411,
8055,
796,
366,
847,
1280,
18130,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
8558,
468,
281,
3806,
2958,
286,
584,
1280,
18130,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2682,
33411,
8055,
796,
366,
847,
1280,
18130,
1
] |
What is the format for the catalogue number GAD 2014 CD on July 6, 1998? | SELECT "Format" FROM table_63527 WHERE "Catalogue #" = 'gad 2014 cd' AND "Date" = 'july 6, 1998' | [
2061,
318,
262,
5794,
329,
262,
34614,
1271,
402,
2885,
1946,
6458,
319,
2901,
718,
11,
7795,
30,
46506,
366,
26227,
1,
16034,
3084,
62,
48250,
1983,
33411,
366,
39075,
5119,
1303,
1,
796,
705,
70,
324,
1946,
22927,
6,
5357,
366,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5794,
329,
262,
34614,
1271,
402,
2885,
1946,
6458,
319,
2901,
718,
11,
7795,
30,
46506,
366,
26227,
1,
16034,
3084,
62,
48250,
1983,
33411,
366,
39075,
5119,
1303,
1,
796,
705,
70,
324,
1946,
22927,
6,
5357,
366,
10... |
Visualize a bar chart for what are the district names and city populations for all districts that between 200,000 and 2,000,000 residents? | SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000 | [
36259,
1096,
257,
2318,
8262,
329,
644,
389,
262,
4783,
3891,
290,
1748,
9684,
329,
477,
12815,
326,
1022,
939,
11,
830,
290,
362,
11,
830,
11,
830,
5085,
30,
46506,
5665,
62,
3672,
11,
2254,
62,
45251,
16034,
4783,
33411,
2254,
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
] | [
36259,
1096,
257,
2318,
8262,
329,
644,
389,
262,
4783,
3891,
290,
1748,
9684,
329,
477,
12815,
326,
1022,
939,
11,
830,
290,
362,
11,
830,
11,
830,
5085,
30,
46506,
5665,
62,
3672,
11,
2254,
62,
45251,
16034,
4783,
33411,
2254,
62,... |
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the amount of hire_date bin hire_date by weekday, and rank in desc by the how many hire date please. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY COUNT(HIRE_DATE) DESC | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
11,
290,
4279,
287,
1715,
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,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
11,
290,
4279,
287,
1715,
416... |
What is the city of license that has lp as the class? | SELECT city_of_license FROM table_name_40 WHERE class = "lp" | [
2061,
318,
262,
1748,
286,
5964,
326,
468,
300,
79,
355,
262,
1398,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
1821,
33411,
1398,
796,
366,
34431,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
286,
5964,
326,
468,
300,
79,
355,
262,
1398,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
1821,
33411,
1398,
796,
366,
34431,
1
] |
what the first height of patient 030-28944 in this month. | SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-28944') AND NOT patient.admissionheight IS NULL AND DATETIME(patient.unitadmittime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', ... | [
10919,
262,
717,
6001,
286,
5827,
657,
1270,
12,
27693,
2598,
287,
428,
1227,
13,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
262,
717,
6001,
286,
5827,
657,
1270,
12,
27693,
2598,
287,
428,
1227,
13,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
... |
When the year is year what was the film? | SELECT film FROM table_name_31 WHERE "year" = "year" | [
2215,
262,
614,
318,
614,
644,
373,
262,
2646,
30,
46506,
2646,
16034,
3084,
62,
3672,
62,
3132,
33411,
366,
1941,
1,
796,
366,
1941,
1
] | [
1,
1,
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,
262,
614,
318,
614,
644,
373,
262,
2646,
30,
46506,
2646,
16034,
3084,
62,
3672,
62,
3132,
33411,
366,
1941,
1,
796,
366,
1941,
1
] |
Please compare the number of the church by open date (bin into the weekday) using a bar chart. | SELECT Open_Date, COUNT(Open_Date) FROM church | [
5492,
8996,
262,
1271,
286,
262,
4928,
416,
1280,
3128,
357,
8800,
656,
262,
28269,
8,
1262,
257,
2318,
8262,
13,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
8996,
262,
1271,
286,
262,
4928,
416,
1280,
3128,
357,
8800,
656,
262,
28269,
8,
1262,
257,
2318,
8262,
13,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928
] |
Show me a bar chart for what are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?, and rank in asc by the bar. | SELECT Affiliation, SUM(Enrollment) FROM university WHERE Founded > 1850 GROUP BY Affiliation ORDER BY Affiliation | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
1180,
8349,
602,
11,
290,
644,
318,
262,
2472,
20753,
286,
4266,
9393,
706,
35745,
329,
1123,
20753,
2099,
21747,
290,
4279,
287,
10570,
416,
262,
2318,
13,
46506,
6708,
15547,
11,
3568... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
1180,
8349,
602,
11,
290,
644,
318,
262,
2472,
20753,
286,
4266,
9393,
706,
35745,
329,
1123,
20753,
2099,
21747,
290,
4279,
287,
10570,
416,
262,
2318,
13,
46506,
6708,
15547,
11,
3568... |
what were the top five common drugs that patients were prescribed in the same hospital encounter after they had been prescribed with potassium chloride 10 meq/50ml iv soln until 1 year ago? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'potassium chlori... | [
10919,
547,
262,
1353,
1936,
2219,
5010,
326,
3871,
547,
14798,
287,
262,
976,
4436,
8791,
706,
484,
550,
587,
14798,
351,
33156,
44921,
838,
502,
80,
14,
1120,
4029,
21628,
1540,
77,
1566,
352,
614,
2084,
30,
46506,
256,
18,
13,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
1353,
1936,
2219,
5010,
326,
3871,
547,
14798,
287,
262,
976,
4436,
8791,
706,
484,
550,
587,
14798,
351,
33156,
44921,
838,
502,
80,
14,
1120,
4029,
21628,
1540,
77,
1566,
352,
614,
2084,
30,
46506,
256,
18,
13,
30... |
What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals? | SELECT MAX("Rank") FROM table_9618 WHERE "Silver" = '5' AND "Gold" < '5' AND "Total" < '7' | [
2061,
318,
262,
4511,
4279,
326,
468,
642,
3313,
690,
11,
1342,
621,
642,
3869,
82,
11,
290,
1342,
621,
767,
2472,
28057,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
4846,
1507,
33411,
366,
26766,
1,
796,
705,
20,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
4279,
326,
468,
642,
3313,
690,
11,
1342,
621,
642,
3869,
82,
11,
290,
1342,
621,
767,
2472,
28057,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
4846,
1507,
33411,
366,
26766,
1,
796,
705,
20,
6,
5357,... |
type ii diabetes | SELECT * FROM table_train_196 WHERE diabetic = 'ii' | [
4906,
21065,
12593,
46506,
1635,
16034,
3084,
62,
27432,
62,
25272,
33411,
44016,
796,
705,
4178,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4906,
21065,
12593,
46506,
1635,
16034,
3084,
62,
27432,
62,
25272,
33411,
44016,
796,
705,
4178,
6
] |
what is the somerset for the year 2009? | SELECT "Somerset" FROM table_72257 WHERE "Year" = '2009' | [
10919,
318,
262,
3870,
364,
316,
329,
262,
614,
3717,
30,
46506,
366,
50,
21499,
316,
1,
16034,
3084,
62,
4761,
28676,
33411,
366,
17688,
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,
1,
1,
1,
1
] | [
10919,
318,
262,
3870,
364,
316,
329,
262,
614,
3717,
30,
46506,
366,
50,
21499,
316,
1,
16034,
3084,
62,
4761,
28676,
33411,
366,
17688,
1,
796,
705,
10531,
6
] |
let me know the number of patients who had a diagnoses of cerebral thrombosis with cerebral infarction and died on or before 2183. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2183.0" AND diagnoses.long_title = "Cerebral thrombosis with cerebral infarction" | [
1616,
502,
760,
262,
1271,
286,
3871,
508,
550,
257,
40567,
286,
31169,
294,
398,
65,
5958,
351,
31169,
1167,
283,
596,
290,
3724,
319,
393,
878,
362,
24839,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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,
1,
1,
1,
1... | [
1616,
502,
760,
262,
1271,
286,
3871,
508,
550,
257,
40567,
286,
31169,
294,
398,
65,
5958,
351,
31169,
1167,
283,
596,
290,
3724,
319,
393,
878,
362,
24839,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,... |
What is the country of player lee trevino, who has a to par of +2? | SELECT country FROM table_name_32 WHERE to_par = "+2" AND player = "lee trevino" | [
2061,
318,
262,
1499,
286,
2137,
443,
68,
2054,
85,
2879,
11,
508,
468,
257,
284,
1582,
286,
1343,
17,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2624,
33411,
284,
62,
1845,
796,
43825,
17,
1,
5357,
2137,
796,
366,
7197,
2054,
85... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
443,
68,
2054,
85,
2879,
11,
508,
468,
257,
284,
1582,
286,
1343,
17,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2624,
33411,
284,
62,
1845,
796,
43825,
17,
1,
5357,
2137,
796,
366,
7197,
2054,
85... |
Return the order ids and details for orderes with two or more invoices. | SELECT T2.order_id, T2.order_details FROM invoices AS T1 JOIN orders AS T2 ON T1.order_id = T2.order_id GROUP BY T2.order_id HAVING COUNT(*) > 2 | [
13615,
262,
1502,
220,
2340,
290,
3307,
329,
2760,
68,
411,
351,
734,
393,
517,
800,
78,
1063,
13,
46506,
309,
17,
13,
2875,
62,
312,
11,
309,
17,
13,
2875,
62,
36604,
16034,
800,
78,
1063,
7054,
309,
16,
32357,
1268,
6266,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
262,
1502,
220,
2340,
290,
3307,
329,
2760,
68,
411,
351,
734,
393,
517,
800,
78,
1063,
13,
46506,
309,
17,
13,
2875,
62,
312,
11,
309,
17,
13,
2875,
62,
36604,
16034,
800,
78,
1063,
7054,
309,
16,
32357,
1268,
6266,
7054,
... |
what is the discharge location of subject id 3343? | SELECT demographic.discharge_location FROM demographic WHERE demographic.subject_id = "3343" | [
10919,
318,
262,
17655,
4067,
286,
2426,
4686,
513,
32118,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
286,
2426,
4686,
513,
32118,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] |
What was the winning party when the incumbent was richard s. whaley? | SELECT "Party" FROM table_793 WHERE "Incumbent" = 'Richard S. Whaley' | [
2061,
373,
262,
5442,
2151,
618,
262,
23526,
373,
5527,
446,
264,
13,
348,
16730,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
44750,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22245,
311,
13,
854,
16730,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5442,
2151,
618,
262,
23526,
373,
5527,
446,
264,
13,
348,
16730,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
44750,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22245,
311,
13,
854,
16730,
6
] |
What is the time of the game after week 4 against the Baltimore Ravens? | SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens" | [
2061,
318,
262,
640,
286,
262,
983,
706,
1285,
604,
1028,
262,
10346,
20091,
30,
46506,
640,
17569,
316,
834,
16034,
3084,
62,
3672,
62,
3134,
33411,
1285,
1875,
604,
5357,
6125,
796,
366,
65,
2501,
9401,
37735,
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
] | [
2061,
318,
262,
640,
286,
262,
983,
706,
1285,
604,
1028,
262,
10346,
20091,
30,
46506,
640,
17569,
316,
834,
16034,
3084,
62,
3672,
62,
3134,
33411,
1285,
1875,
604,
5357,
6125,
796,
366,
65,
2501,
9401,
37735,
82,
1
] |
What college did delray brooks go to? | SELECT "College" FROM table_10919 WHERE "Player" = 'delray brooks' | [
2061,
4152,
750,
1619,
2433,
1379,
28194,
467,
284,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
14454,
1129,
33411,
366,
14140,
1,
796,
705,
12381,
2433,
1379,
28194,
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,
4152,
750,
1619,
2433,
1379,
28194,
467,
284,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
14454,
1129,
33411,
366,
14140,
1,
796,
705,
12381,
2433,
1379,
28194,
6
] |
What's the reserved number for constituency number 108? | SELECT reserved_for___sc___st__none_ FROM table_name_43 WHERE constituency_number = "108" | [
2061,
338,
262,
10395,
1271,
329,
28280,
1271,
15495,
30,
46506,
10395,
62,
1640,
17569,
1416,
17569,
301,
834,
23108,
62,
16034,
3084,
62,
3672,
62,
3559,
33411,
28280,
62,
17618,
796,
366,
15711,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10395,
1271,
329,
28280,
1271,
15495,
30,
46506,
10395,
62,
1640,
17569,
1416,
17569,
301,
834,
23108,
62,
16034,
3084,
62,
3672,
62,
3559,
33411,
28280,
62,
17618,
796,
366,
15711,
1
] |
Display a bar chart for what are the ids and details for all organizations that have grants of more than 6000 dollars?, and display in descending by the x-axis. | SELECT T2.organisation_details, T1.organisation_id FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_details ORDER BY T2.organisation_details DESC | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
220,
2340,
290,
3307,
329,
477,
5745,
326,
423,
11455,
286,
517,
621,
39064,
5054,
21747,
290,
3359,
287,
31491,
416,
262,
2124,
12,
22704,
13,
46506,
309,
17,
13,
9971,
5612,
62,
36604,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
220,
2340,
290,
3307,
329,
477,
5745,
326,
423,
11455,
286,
517,
621,
39064,
5054,
21747,
290,
3359,
287,
31491,
416,
262,
2124,
12,
22704,
13,
46506,
309,
17,
13,
9971,
5612,
62,
36604,
1... |
Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6 3, 3 6, 6 3? | SELECT semifinalists FROM table_name_95 WHERE surface = "hard" AND winner_and_score = "pete sampras 6–3, 3–6, 6–3" | [
13828,
12449,
361,
1292,
1023,
423,
257,
20321,
286,
1327,
11,
290,
257,
25358,
290,
4776,
286,
4273,
68,
264,
696,
8847,
718,
513,
11,
513,
718,
11,
718,
513,
30,
46506,
32948,
1292,
1023,
16034,
3084,
62,
3672,
62,
3865,
33411,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12449,
361,
1292,
1023,
423,
257,
20321,
286,
1327,
11,
290,
257,
25358,
290,
4776,
286,
4273,
68,
264,
696,
8847,
718,
513,
11,
513,
718,
11,
718,
513,
30,
46506,
32948,
1292,
1023,
16034,
3084,
62,
3672,
62,
3865,
33411,
44... |
Which race has a winning team of Penske Racing, and a winning driver of Bobby Unser? | SELECT "Name" FROM table_4769 WHERE "Winning team" = 'penske racing' AND "Winning driver" = 'bobby unser' | [
13828,
3234,
468,
257,
5442,
1074,
286,
38740,
365,
14954,
11,
290,
257,
5442,
4639,
286,
17155,
791,
2655,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2857,
3388,
33411,
366,
16643,
768,
1074,
1,
796,
705,
79,
641,
365,
11717,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
468,
257,
5442,
1074,
286,
38740,
365,
14954,
11,
290,
257,
5442,
4639,
286,
17155,
791,
2655,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2857,
3388,
33411,
366,
16643,
768,
1074,
1,
796,
705,
79,
641,
365,
11717,
6,
535... |
What opponent has an attendance of 20,456? | SELECT opponent FROM table_name_7 WHERE attendance = "20,456" | [
2061,
6125,
468,
281,
14858,
286,
1160,
11,
29228,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
22,
33411,
14858,
796,
366,
1238,
11,
29228,
1
] | [
1,
1,
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,
6125,
468,
281,
14858,
286,
1160,
11,
29228,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
22,
33411,
14858,
796,
366,
1238,
11,
29228,
1
] |
what was the average daily number of patients who were admitted for hernia, site nec w obstr until 3 years ago? | SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hernia, site nec w obstr') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-3 year'... | [
10919,
373,
262,
2811,
4445,
1271,
286,
3871,
508,
547,
6848,
329,
607,
18142,
11,
2524,
27576,
266,
909,
2536,
1566,
513,
812,
2084,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
4445,
1271,
286,
3871,
508,
547,
6848,
329,
607,
18142,
11,
2524,
27576,
266,
909,
2536,
1566,
513,
812,
2084,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
41... |
Average Answer Score by Content Length. Investigating the effects of tl;dr | SELECT (LENGTH(Body) / '##ChunkSize:int##') * '##ChunkSize##' AS size, AVG(CAST(Score AS FLOAT)) AS "average answer score", (SELECT MAX(Score) FROM (SELECT percent AS score FROM Posts AS PU WHERE PostTypeId = 2 ORDER BY Score LIMIT 50) AS t) AS "median answer score", COUNT(*) AS answers FROM Posts WHERE PostTypeId = 2 ... | [
26287,
23998,
15178,
416,
14041,
22313,
13,
16203,
803,
262,
3048,
286,
256,
75,
26,
7109,
46506,
357,
43,
49494,
7,
25842,
8,
1220,
705,
2235,
1925,
2954,
10699,
25,
600,
2235,
11537,
1635,
705,
2235,
1925,
2954,
10699,
2235,
6,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
23998,
15178,
416,
14041,
22313,
13,
16203,
803,
262,
3048,
286,
256,
75,
26,
7109,
46506,
357,
43,
49494,
7,
25842,
8,
1220,
705,
2235,
1925,
2954,
10699,
25,
600,
2235,
11537,
1635,
705,
2235,
1925,
2954,
10699,
2235,
6,
7054... |
What is the largest 2000 GDP when the 2008 GDP is smaller than 3,632, 2010 GDP is 2,558 and 2009 GDP is larger than 2,239? | SELECT MAX("2000") FROM table_52806 WHERE "2008" < '3,632' AND "2010" = '2,558' AND "2009" > '2,239' | [
2061,
318,
262,
4387,
4751,
12396,
618,
262,
3648,
12396,
318,
4833,
621,
513,
11,
21,
2624,
11,
3050,
12396,
318,
362,
11,
40486,
290,
3717,
12396,
318,
4025,
621,
362,
11,
23516,
30,
46506,
25882,
7203,
11024,
4943,
16034,
3084,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4387,
4751,
12396,
618,
262,
3648,
12396,
318,
4833,
621,
513,
11,
21,
2624,
11,
3050,
12396,
318,
362,
11,
40486,
290,
3717,
12396,
318,
4025,
621,
362,
11,
23516,
30,
46506,
25882,
7203,
11024,
4943,
16034,
3084,
62,... |
What was the original air date of Stargate SG-1 written by Peter Deluise? | SELECT "Original air date" FROM table_20079 WHERE "Written by" = 'Peter DeLuise' | [
2061,
373,
262,
2656,
1633,
3128,
286,
44393,
378,
26147,
12,
16,
3194,
416,
5613,
4216,
84,
786,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
2167,
3720,
33411,
366,
25354,
416,
1,
796,
705,
19727,
1024,
25596,
786,
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,
373,
262,
2656,
1633,
3128,
286,
44393,
378,
26147,
12,
16,
3194,
416,
5613,
4216,
84,
786,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
2167,
3720,
33411,
366,
25354,
416,
1,
796,
705,
19727,
1024,
25596,
786,
6
] |
Tell me the number of patients with unspecified retention of urine diagnoses who had other body fluid lab tests done. | 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 = "Retention urine NOS" AND lab.fluid = "Other Body Fluid" | [
24446,
502,
262,
1271,
286,
3871,
351,
29547,
21545,
286,
18922,
40567,
508,
550,
584,
1767,
11711,
2248,
5254,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24446,
502,
262,
1271,
286,
3871,
351,
29547,
21545,
286,
18922,
40567,
508,
550,
584,
1767,
11711,
2248,
5254,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
what's the cost for a beta-2 microglobulin laboratory test? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'labevents' AND cost.event_id IN (SELECT labevents.row_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'beta-2 microglobulin')) | [
10919,
338,
262,
1575,
329,
257,
12159,
12,
17,
4580,
4743,
672,
11599,
14010,
1332,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
23912,
31534,
6,
5357,
1575,
13,
15596,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
338,
262,
1575,
329,
257,
12159,
12,
17,
4580,
4743,
672,
11599,
14010,
1332,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
23912,
31534,
6,
5357,
1575,
13,
15596,
6... |
How many colleges did pick number 269 attend? | SELECT COUNT(college) FROM table_14650162_1 WHERE pick__number = 269 | [
2437,
867,
15273,
750,
2298,
1271,
38249,
5262,
30,
46506,
327,
28270,
7,
44107,
8,
16034,
3084,
62,
1415,
2996,
486,
5237,
62,
16,
33411,
2298,
834,
17618,
796,
38249
] | [
1,
1,
1,
1,
1,
1,
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,
15273,
750,
2298,
1271,
38249,
5262,
30,
46506,
327,
28270,
7,
44107,
8,
16034,
3084,
62,
1415,
2996,
486,
5237,
62,
16,
33411,
2298,
834,
17618,
796,
38249
] |
What's the greatest losses for those with more than 13 wins? | SELECT MAX("Losses") FROM table_61971 WHERE "Wins" > '13' | [
2061,
338,
262,
6000,
9089,
329,
883,
351,
517,
621,
1511,
7864,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
21,
41208,
33411,
366,
54,
1040,
1,
1875,
705,
1485,
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,
338,
262,
6000,
9089,
329,
883,
351,
517,
621,
1511,
7864,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
21,
41208,
33411,
366,
54,
1040,
1,
1875,
705,
1485,
6
] |
How many people were in the Crowd when the Home team scored 10.7 (67)? | SELECT COUNT("Crowd") FROM table_55727 WHERE "Home team score" = '10.7 (67)' | [
2437,
867,
661,
547,
287,
262,
29452,
618,
262,
5995,
1074,
7781,
838,
13,
22,
357,
3134,
19427,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
41948,
1983,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
940,
13,
22,
357,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
287,
262,
29452,
618,
262,
5995,
1074,
7781,
838,
13,
22,
357,
3134,
19427,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
41948,
1983,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
940,
13,
22,
357,
31... |
Which team has a location attendance of Air Canada Centre 19,800 with a record of 41 33? | SELECT team FROM table_name_53 WHERE location_attendance = "air canada centre 19,800" AND record = "41–33" | [
13828,
1074,
468,
257,
4067,
14858,
286,
3701,
3340,
9072,
678,
11,
7410,
351,
257,
1700,
286,
6073,
4747,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
4310,
33411,
4067,
62,
1078,
437,
590,
796,
366,
958,
460,
4763,
7372,
678,
11,
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
] | [
13828,
1074,
468,
257,
4067,
14858,
286,
3701,
3340,
9072,
678,
11,
7410,
351,
257,
1700,
286,
6073,
4747,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
4310,
33411,
4067,
62,
1078,
437,
590,
796,
366,
958,
460,
4763,
7372,
678,
11,
7... |
How many times did the 2nd season have a finale? | SELECT COUNT("Season Finale") FROM table_18763 WHERE "Season" = '2nd' | [
2437,
867,
1661,
750,
262,
362,
358,
1622,
423,
257,
19523,
30,
46506,
327,
28270,
7203,
18960,
4463,
1000,
4943,
16034,
3084,
62,
1507,
49641,
33411,
366,
18960,
1,
796,
705,
17,
358,
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
] | [
2437,
867,
1661,
750,
262,
362,
358,
1622,
423,
257,
19523,
30,
46506,
327,
28270,
7203,
18960,
4463,
1000,
4943,
16034,
3084,
62,
1507,
49641,
33411,
366,
18960,
1,
796,
705,
17,
358,
6
] |
what is the highest wickets when best bowling is 5/40 and average is less than 33.09? | SELECT MAX("Wickets") FROM table_8456 WHERE "Best Bowling" = '5/40' AND "Average" < '33.09' | [
10919,
318,
262,
4511,
266,
15970,
618,
1266,
33564,
318,
642,
14,
1821,
290,
2811,
318,
1342,
621,
4747,
13,
2931,
30,
46506,
25882,
7203,
54,
15970,
4943,
16034,
3084,
62,
23,
29228,
33411,
366,
13014,
44748,
1,
796,
705,
20,
14,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
266,
15970,
618,
1266,
33564,
318,
642,
14,
1821,
290,
2811,
318,
1342,
621,
4747,
13,
2931,
30,
46506,
25882,
7203,
54,
15970,
4943,
16034,
3084,
62,
23,
29228,
33411,
366,
13014,
44748,
1,
796,
705,
20,
14,
... |
calculate the number of patients diagnosed with ocl vrtb art wo infrct since 1 year ago. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ocl vrtb art wo infrct') AND DATETIME(diagnoses_icd.chartt... | [
9948,
3129,
378,
262,
1271,
286,
3871,
14641,
351,
267,
565,
410,
17034,
65,
1242,
24486,
1167,
81,
310,
1201,
352,
614,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
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... | [
9948,
3129,
378,
262,
1271,
286,
3871,
14641,
351,
267,
565,
410,
17034,
65,
1242,
24486,
1167,
81,
310,
1201,
352,
614,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
... |
hemoglobin a1c < 8.5 % | SELECT * FROM table_train_215 WHERE hemoglobin_a1c_hba1c < 8.5 | [
4411,
49835,
257,
16,
66,
1279,
807,
13,
20,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
23349,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1279,
807,
13,
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
] | [
4411,
49835,
257,
16,
66,
1279,
807,
13,
20,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
23349,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1279,
807,
13,
20
] |
Give me a histogram for how many sections does each course have?, list from low to high by the names. | SELECT CRS_CODE, COUNT(*) FROM CLASS GROUP BY CRS_CODE ORDER BY CRS_CODE | [
23318,
502,
257,
1554,
21857,
329,
703,
867,
9004,
857,
1123,
1781,
423,
21747,
1351,
422,
1877,
284,
1029,
416,
262,
3891,
13,
46506,
327,
6998,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
42715,
44441,
11050,
327,
6998,
62,
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
] | [
23318,
502,
257,
1554,
21857,
329,
703,
867,
9004,
857,
1123,
1781,
423,
21747,
1351,
422,
1877,
284,
1029,
416,
262,
3891,
13,
46506,
327,
6998,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
42715,
44441,
11050,
327,
6998,
62,
34,
... |
When westcott is in division one how many leagues are in division 5? | SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott" | [
2215,
7421,
14612,
318,
287,
7297,
530,
703,
867,
16861,
389,
287,
7297,
642,
30,
46506,
327,
28270,
7,
21426,
62,
13261,
8,
16034,
3084,
62,
22995,
2425,
28592,
62,
19,
33411,
7297,
62,
505,
796,
366,
15045,
14612,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7421,
14612,
318,
287,
7297,
530,
703,
867,
16861,
389,
287,
7297,
642,
30,
46506,
327,
28270,
7,
21426,
62,
13261,
8,
16034,
3084,
62,
22995,
2425,
28592,
62,
19,
33411,
7297,
62,
505,
796,
366,
15045,
14612,
1
] |
Which HMO has a conventional plan of 3% in 2005? | SELECT "HMOs" FROM table_7114 WHERE "Conventional plans" = '3%' AND "Year" = '2005' | [
13828,
367,
11770,
468,
257,
10224,
1410,
286,
513,
4,
287,
5075,
30,
46506,
366,
39,
11770,
82,
1,
16034,
3084,
62,
22,
16562,
33411,
366,
3103,
20405,
3352,
1,
796,
705,
18,
4,
6,
5357,
366,
17688,
1,
796,
705,
14315,
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
] | [
13828,
367,
11770,
468,
257,
10224,
1410,
286,
513,
4,
287,
5075,
30,
46506,
366,
39,
11770,
82,
1,
16034,
3084,
62,
22,
16562,
33411,
366,
3103,
20405,
3352,
1,
796,
705,
18,
4,
6,
5357,
366,
17688,
1,
796,
705,
14315,
6
] |
what is the lowest money ($) when the place is t2 for player johnny miller? | SELECT MIN(money___) AS $__ FROM table_name_81 WHERE place = "t2" AND player = "johnny miller" | [
10919,
318,
262,
9016,
1637,
45491,
618,
262,
1295,
318,
256,
17,
329,
2137,
45610,
3281,
3939,
263,
30,
46506,
20625,
7,
26316,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
3672,
62,
6659,
33411,
1295,
796,
366,
83,
17,
1,
5357,
2137... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
1637,
45491,
618,
262,
1295,
318,
256,
17,
329,
2137,
45610,
3281,
3939,
263,
30,
46506,
20625,
7,
26316,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
3672,
62,
6659,
33411,
1295,
796,
366,
83,
17,
1,
5357,
2137... |
What was the score of the Away team that played against the Home team of Fitzroy? | SELECT "Away team score" FROM table_32196 WHERE "Home team" = 'fitzroy' | [
2061,
373,
262,
4776,
286,
262,
21986,
1074,
326,
2826,
1028,
262,
5995,
1074,
286,
16703,
3287,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2624,
25272,
33411,
366,
16060,
1074,
1,
796,
705,
69,
4224,
3287,
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,
373,
262,
4776,
286,
262,
21986,
1074,
326,
2826,
1028,
262,
5995,
1074,
286,
16703,
3287,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2624,
25272,
33411,
366,
16060,
1074,
1,
796,
705,
69,
4224,
3287,
6
] |
did any clubs have no losses ? | SELECT (SELECT COUNT("club") FROM table_203_145 WHERE "losses" = 0) > 0 | [
20839,
597,
9784,
423,
645,
9089,
5633,
46506,
357,
46506,
327,
28270,
7203,
18664,
4943,
16034,
3084,
62,
22416,
62,
18781,
33411,
366,
22462,
274,
1,
796,
657,
8,
1875,
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,
1
] | [
20839,
597,
9784,
423,
645,
9089,
5633,
46506,
357,
46506,
327,
28270,
7203,
18664,
4943,
16034,
3084,
62,
22416,
62,
18781,
33411,
366,
22462,
274,
1,
796,
657,
8,
1875,
657
] |
What date was the game with loss of Aker (3 8)? | SELECT date FROM table_name_4 WHERE loss = "aker (3–8)" | [
2061,
3128,
373,
262,
983,
351,
2994,
286,
317,
6122,
357,
18,
807,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
19,
33411,
2994,
796,
366,
3110,
357,
18,
1906,
23,
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
] | [
2061,
3128,
373,
262,
983,
351,
2994,
286,
317,
6122,
357,
18,
807,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
19,
33411,
2994,
796,
366,
3110,
357,
18,
1906,
23,
16725
] |
What is the minimum Height of the Little Switzerland Tunnel? | SELECT "Minimum Height" FROM table_42483 WHERE "Name of the tunnel" = 'little switzerland tunnel' | [
2061,
318,
262,
5288,
27280,
286,
262,
7703,
14679,
35863,
30,
46506,
366,
44046,
27280,
1,
16034,
3084,
62,
40090,
5999,
33411,
366,
5376,
286,
262,
13275,
1,
796,
705,
31629,
1509,
13947,
13275,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5288,
27280,
286,
262,
7703,
14679,
35863,
30,
46506,
366,
44046,
27280,
1,
16034,
3084,
62,
40090,
5999,
33411,
366,
5376,
286,
262,
13275,
1,
796,
705,
31629,
1509,
13947,
13275,
6
] |
show me DL flights from DALLAS to DENVER | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS... | [
12860,
502,
23641,
13956,
422,
360,
7036,
1921,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
23641,
13956,
422,
360,
7036,
1921,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490... |
What is the score on 22 September 1972? | SELECT "Score" FROM table_53698 WHERE "Date" = '22 september 1972' | [
2061,
318,
262,
4776,
319,
2534,
2693,
16101,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
44468,
4089,
33411,
366,
10430,
1,
796,
705,
1828,
384,
457,
1491,
16101,
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,
4776,
319,
2534,
2693,
16101,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
44468,
4089,
33411,
366,
10430,
1,
796,
705,
1828,
384,
457,
1491,
16101,
6
] |
What network hosted Al Michaels, Dan Fouts and Dennis Miller in 2002? | SELECT network FROM table_name_71 WHERE play_by_play = "al michaels" AND color_commentator_s_ = "dan fouts and dennis miller" AND year < 2002 | [
2061,
3127,
12007,
978,
44768,
11,
6035,
376,
5269,
290,
16902,
7920,
287,
6244,
30,
46506,
3127,
16034,
3084,
62,
3672,
62,
4869,
33411,
711,
62,
1525,
62,
1759,
796,
366,
282,
285,
488,
64,
1424,
1,
5357,
3124,
62,
23893,
1352,
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
] | [
2061,
3127,
12007,
978,
44768,
11,
6035,
376,
5269,
290,
16902,
7920,
287,
6244,
30,
46506,
3127,
16034,
3084,
62,
3672,
62,
4869,
33411,
711,
62,
1525,
62,
1759,
796,
366,
282,
285,
488,
64,
1424,
1,
5357,
3124,
62,
23893,
1352,
62... |
how many function / genus with escherichia being espd | SELECT COUNT("\u2193 Function / Genus \u2192") FROM table_16045 WHERE "Escherichia" = 'EspD' | [
4919,
867,
2163,
1220,
34306,
351,
1658,
2044,
488,
544,
852,
15024,
67,
46506,
327,
28270,
7203,
59,
84,
17,
24943,
15553,
1220,
5215,
385,
3467,
84,
17,
17477,
4943,
16034,
3084,
62,
14198,
2231,
33411,
366,
47051,
372,
488,
544,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2163,
1220,
34306,
351,
1658,
2044,
488,
544,
852,
15024,
67,
46506,
327,
28270,
7203,
59,
84,
17,
24943,
15553,
1220,
5215,
385,
3467,
84,
17,
17477,
4943,
16034,
3084,
62,
14198,
2231,
33411,
366,
47051,
372,
488,
544,
1,... |
kidney or liver dysfunction | SELECT * FROM table_train_143 WHERE kidney_disease = 1 OR liver_disease = 1 | [
38439,
1681,
393,
14383,
19327,
46506,
1635,
16034,
3084,
62,
27432,
62,
21139,
33411,
21919,
62,
67,
786,
589,
796,
352,
6375,
14383,
62,
67,
786,
589,
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
] | [
38439,
1681,
393,
14383,
19327,
46506,
1635,
16034,
3084,
62,
27432,
62,
21139,
33411,
21919,
62,
67,
786,
589,
796,
352,
6375,
14383,
62,
67,
786,
589,
796,
352
] |
how many wins did players earning less than $10,484,065 have? | SELECT SUM("Wins") FROM table_34262 WHERE "Earnings ( $ )" < '10,484,065' | [
4919,
867,
7864,
750,
1938,
13748,
1342,
621,
720,
940,
11,
34137,
11,
15,
2996,
423,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
2682,
29119,
33411,
366,
49725,
654,
357,
720,
1267,
1,
1279,
705,
940,
11,
34137,
11,
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,
1
] | [
4919,
867,
7864,
750,
1938,
13748,
1342,
621,
720,
940,
11,
34137,
11,
15,
2996,
423,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
2682,
29119,
33411,
366,
49725,
654,
357,
720,
1267,
1,
1279,
705,
940,
11,
34137,
11,
15... |
known calculated creatinine clearance < 30 ml / min, hemoglobin < 10 g / dl or platelet count < 150000 for the present admission | SELECT * FROM table_test_8 WHERE creatinine_clearance_cl < 30 OR hemoglobin_a1c_hba1c < 10 OR platelet_count < 150000 | [
4002,
10488,
1827,
259,
500,
19745,
1279,
1542,
25962,
1220,
949,
11,
16869,
49835,
1279,
838,
308,
1220,
288,
75,
393,
7480,
1616,
954,
1279,
1315,
2388,
329,
262,
1944,
13938,
46506,
1635,
16034,
3084,
62,
9288,
62,
23,
33411,
1827,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4002,
10488,
1827,
259,
500,
19745,
1279,
1542,
25962,
1220,
949,
11,
16869,
49835,
1279,
838,
308,
1220,
288,
75,
393,
7480,
1616,
954,
1279,
1315,
2388,
329,
262,
1944,
13938,
46506,
1635,
16034,
3084,
62,
9288,
62,
23,
33411,
1827,
... |
How many employees have salary between 100000 and 200000? | SELECT COUNT(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000 | [
2437,
867,
4409,
423,
9588,
1022,
1802,
830,
290,
939,
830,
30,
46506,
327,
28270,
7,
28104,
16034,
36824,
33411,
9588,
38651,
8845,
1677,
1802,
830,
5357,
939,
830
] | [
1,
1,
1,
1,
1,
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,
4409,
423,
9588,
1022,
1802,
830,
290,
939,
830,
30,
46506,
327,
28270,
7,
28104,
16034,
36824,
33411,
9588,
38651,
8845,
1677,
1802,
830,
5357,
939,
830
] |
In which city is the network latv licensed? | SELECT city_of_license FROM table_name_93 WHERE network = "latv" | [
818,
543,
1748,
318,
262,
3127,
3042,
85,
11971,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
6052,
33411,
3127,
796,
366,
15460,
85,
1
] | [
1,
1,
1,
1,
1,
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,
543,
1748,
318,
262,
3127,
3042,
85,
11971,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
6052,
33411,
3127,
796,
366,
15460,
85,
1
] |
Name the part 3 for treffen | SELECT part_3 FROM table_1745843_9 WHERE part_1 = "treffen" | [
5376,
262,
636,
513,
329,
2054,
46985,
46506,
636,
62,
18,
16034,
3084,
62,
1558,
29334,
3559,
62,
24,
33411,
636,
62,
16,
796,
366,
33945,
46985,
1
] | [
1,
1,
1,
1,
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,
636,
513,
329,
2054,
46985,
46506,
636,
62,
18,
16034,
3084,
62,
1558,
29334,
3559,
62,
24,
33411,
636,
62,
16,
796,
366,
33945,
46985,
1
] |
did patient 032-24135 go through any procedure during this year? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-24135')) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETI... | [
20839,
5827,
657,
2624,
12,
1731,
17059,
467,
832,
597,
8771,
1141,
428,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
657,
2624,
12,
1731,
17059,
467,
832,
597,
8771,
1141,
428,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
1603... |
What player from the United States played in the western collegiate hockey association? | SELECT player FROM table_name_40 WHERE nationality = "united states" AND league_from = "western collegiate hockey association" | [
2061,
2137,
422,
262,
1578,
1829,
2826,
287,
262,
8830,
44953,
12217,
8112,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1821,
33411,
29835,
796,
366,
41187,
2585,
1,
5357,
4652,
62,
6738,
796,
366,
14197,
44953,
12217,
8112,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
422,
262,
1578,
1829,
2826,
287,
262,
8830,
44953,
12217,
8112,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1821,
33411,
29835,
796,
366,
41187,
2585,
1,
5357,
4652,
62,
6738,
796,
366,
14197,
44953,
12217,
8112,
1
] |
What date has @ new orleans as the team? | SELECT "Date" FROM table_49195 WHERE "Team" = '@ new orleans' | [
2061,
3128,
468,
2488,
649,
393,
11861,
355,
262,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2920,
22186,
33411,
366,
15592,
1,
796,
705,
31,
649,
393,
11861,
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,
3128,
468,
2488,
649,
393,
11861,
355,
262,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2920,
22186,
33411,
366,
15592,
1,
796,
705,
31,
649,
393,
11861,
6
] |
which airlines serve ATLANTA | SELECT DISTINCT airline.airline_code FROM airline, airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND flight.airline_code = airline.airline_code AND flight.from_airport = airport_service.airport_code | [
4758,
26225,
4691,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
1748,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
19205,
62,
8189,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26225,
4691,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
1748,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
19205,
62,
8189,
5... |
What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011? | SELECT MIN("Freight Carried s Tonne") FROM table_80057 WHERE "Road Closed" = 'march 31' AND "Super B Capacity Reached [ citation needed ]" = 'february 17' AND "Year" > '2011' | [
2061,
318,
262,
18197,
2033,
286,
30724,
5281,
319,
262,
2975,
326,
4838,
319,
2805,
3261,
290,
4251,
2208,
347,
5339,
319,
3945,
1596,
706,
2813,
30,
46506,
20625,
7203,
20366,
432,
1879,
2228,
264,
16859,
710,
4943,
16034,
3084,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
18197,
2033,
286,
30724,
5281,
319,
262,
2975,
326,
4838,
319,
2805,
3261,
290,
4251,
2208,
347,
5339,
319,
3945,
1596,
706,
2813,
30,
46506,
20625,
7203,
20366,
432,
1879,
2228,
264,
16859,
710,
4943,
16034,
3084,
62,
... |
Find the total savings balance of all accounts except the account with name Brown . | SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown' | [
16742,
262,
2472,
10653,
5236,
286,
477,
5504,
2845,
262,
1848,
351,
1438,
4373,
764,
46506,
35683,
7,
51,
17,
13,
20427,
8,
16034,
5504,
7054,
309,
16,
32357,
1268,
10653,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2472,
10653,
5236,
286,
477,
5504,
2845,
262,
1848,
351,
1438,
4373,
764,
46506,
35683,
7,
51,
17,
13,
20427,
8,
16034,
5504,
7054,
309,
16,
32357,
1268,
10653,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
... |
What round does Duncan Tappy drive in? | SELECT MAX(sf_round) FROM table_23293785_3 WHERE driver = "Duncan Tappy" | [
2061,
2835,
857,
18625,
309,
7774,
3708,
287,
30,
46506,
25882,
7,
28202,
62,
744,
8,
16034,
3084,
62,
1954,
1959,
2718,
5332,
62,
18,
33411,
4639,
796,
366,
30128,
5171,
309,
7774,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
857,
18625,
309,
7774,
3708,
287,
30,
46506,
25882,
7,
28202,
62,
744,
8,
16034,
3084,
62,
1954,
1959,
2718,
5332,
62,
18,
33411,
4639,
796,
366,
30128,
5171,
309,
7774,
1
] |
did kcl 10%, potassium chloride, or ephedrine sulfate be prescribed to patient 003-54468 in 2105? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-54468')) AND medication.drugname IN ('kcl 10%', 'potassium chloride', ... | [
20839,
479,
565,
838,
7441,
33156,
44921,
11,
393,
2462,
704,
7640,
22443,
378,
307,
14798,
284,
5827,
3571,
18,
12,
47576,
3104,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13,
26029,
20850,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
479,
565,
838,
7441,
33156,
44921,
11,
393,
2462,
704,
7640,
22443,
378,
307,
14798,
284,
5827,
3571,
18,
12,
47576,
3104,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13,
26029,
20850,... |
what number of patients have been diagnosed with late ef-hemplga side nos and lab test category is hematology? | 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 = "Late ef-hemplga side NOS" AND lab."CATEGORY" = "Hematology" | [
10919,
1271,
286,
3871,
423,
587,
14641,
351,
2739,
304,
69,
12,
4411,
489,
4908,
1735,
43630,
290,
2248,
1332,
6536,
318,
339,
6759,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
1271,
286,
3871,
423,
587,
14641,
351,
2739,
304,
69,
12,
4411,
489,
4908,
1735,
43630,
290,
2248,
1332,
6536,
318,
339,
6759,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
Comments containing 'Questions about LibreOffice'. | SELECT PostId AS "post_link", * FROM Comments WHERE Text LIKE '%Questions about LibreOffice%' | [
23903,
7268,
705,
35741,
546,
44384,
27743,
4458,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
1635,
16034,
19502,
33411,
8255,
34178,
705,
4,
35741,
546,
44384,
27743,
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
] | [
23903,
7268,
705,
35741,
546,
44384,
27743,
4458,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
1635,
16034,
19502,
33411,
8255,
34178,
705,
4,
35741,
546,
44384,
27743,
4,
6
] |
What is the Title of the episode after Season 10 Directed by Erik Wiese and Eddie Trigueros after Seres 35? | SELECT title FROM table_name_83 WHERE season__number > 10 AND series__number > 35 AND directed_by = "erik wiese and eddie trigueros" | [
2061,
318,
262,
11851,
286,
262,
4471,
706,
7369,
838,
4128,
276,
416,
22722,
370,
444,
68,
290,
19478,
833,
328,
15573,
418,
706,
1001,
411,
3439,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5999,
33411,
1622,
834,
17618,
1875,
838,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
11851,
286,
262,
4471,
706,
7369,
838,
4128,
276,
416,
22722,
370,
444,
68,
290,
19478,
833,
328,
15573,
418,
706,
1001,
411,
3439,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5999,
33411,
1622,
834,
17618,
1875,
838,
... |
Find the first and last names of all the female (sex is F) students who have president votes. | SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.President_VOTE WHERE T1.sex = "F" | [
16742,
262,
717,
290,
938,
3891,
286,
477,
262,
4048,
357,
8044,
318,
376,
8,
2444,
508,
423,
1893,
5690,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
37,
3672,
11,
309,
16,
13,
43,
5376,
16034,
49348,
3525,
7054,
309,
16,
32357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
717,
290,
938,
3891,
286,
477,
262,
4048,
357,
8044,
318,
376,
8,
2444,
508,
423,
1893,
5690,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
37,
3672,
11,
309,
16,
13,
43,
5376,
16034,
49348,
3525,
7054,
309,
16,
32357... |
whats the three most common specimen test this year? | SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t... | [
1929,
1381,
262,
1115,
749,
2219,
31674,
1332,
428,
614,
30,
46506,
256,
16,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1929,
1381,
262,
1115,
749,
2219,
31674,
1332,
428,
614,
30,
46506,
256,
16,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.