instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what is the name of a drug that patient 55281 has been prescribed for two times during their current hospital visit? | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 55281 AND admissions.dischtime IS NULL) GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 = 2 | [
10919,
318,
262,
1438,
286,
257,
2563,
326,
5827,
5996,
30368,
468,
587,
14798,
329,
734,
1661,
1141,
511,
1459,
4436,
3187,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
257,
2563,
326,
5827,
5996,
30368,
468,
587,
14798,
329,
734,
1661,
1141,
511,
1459,
4436,
3187,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688... |
What was the score for the opponent against Richmond? | SELECT "Away team score" FROM table_10621 WHERE "Home team" = 'richmond' | [
2061,
373,
262,
4776,
329,
262,
6125,
1028,
16940,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
15801,
2481,
33411,
366,
16060,
1074,
1,
796,
705,
7527,
6327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
262,
6125,
1028,
16940,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
15801,
2481,
33411,
366,
16060,
1074,
1,
796,
705,
7527,
6327,
6
] |
When paul moor is on the europe team who is on the usa team? | SELECT team_usa FROM table_19072602_5 WHERE team_europe = "Paul Moor" | [
2215,
279,
2518,
285,
2675,
318,
319,
262,
11063,
431,
1074,
508,
318,
319,
262,
514,
64,
1074,
30,
46506,
1074,
62,
22064,
16034,
3084,
62,
1129,
2998,
21719,
17,
62,
20,
33411,
1074,
62,
44252,
431,
796,
366,
12041,
31451,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
279,
2518,
285,
2675,
318,
319,
262,
11063,
431,
1074,
508,
318,
319,
262,
514,
64,
1074,
30,
46506,
1074,
62,
22064,
16034,
3084,
62,
1129,
2998,
21719,
17,
62,
20,
33411,
1074,
62,
44252,
431,
796,
366,
12041,
31451,
1
] |
Who is from the united states, has a rank less than 9, and heat more than 5? | SELECT "Name" FROM table_66342 WHERE "Rank" < '9' AND "Heat" > '5' AND "Nationality" = 'united states' | [
8241,
318,
422,
262,
16503,
2585,
11,
468,
257,
4279,
1342,
621,
860,
11,
290,
4894,
517,
621,
642,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2791,
31575,
33411,
366,
27520,
1,
1279,
705,
24,
6,
5357,
366,
39596,
1,
1875,
705,
20,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
422,
262,
16503,
2585,
11,
468,
257,
4279,
1342,
621,
860,
11,
290,
4894,
517,
621,
642,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2791,
31575,
33411,
366,
27520,
1,
1279,
705,
24,
6,
5357,
366,
39596,
1,
1875,
705,
20,... |
how many hours have passed since patient 006-195316 had the last hct lab test during their current hospital encounter? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-195316' AND patient.hos... | [
4919,
867,
2250,
423,
3804,
1201,
5827,
3571,
21,
12,
1129,
4310,
1433,
550,
262,
938,
289,
310,
2248,
1332,
1141,
511,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2250,
423,
3804,
1201,
5827,
3571,
21,
12,
1129,
4310,
1433,
550,
262,
938,
289,
310,
2248,
1332,
1141,
511,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955... |
how many patients whose admission type is newborn and item id is 51274? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "NEWBORN" AND lab.itemid = "51274" | [
4919,
867,
3871,
3025,
13938,
2099,
318,
23856,
290,
2378,
4686,
318,
22243,
4524,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
13938,
2099,
318,
23856,
290,
2378,
4686,
318,
22243,
4524,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
... |
What was the reported cost of the asset acquired from Standard & Poor's? | SELECT "Reported Cost" FROM table_18945 WHERE "Acquired From" = 'Standard & Poor''s' | [
2061,
373,
262,
2098,
1575,
286,
262,
11171,
9477,
422,
8997,
1222,
23676,
338,
30,
46506,
366,
6207,
9741,
6446,
1,
16034,
3084,
62,
23362,
2231,
33411,
366,
12832,
421,
1202,
3574,
1,
796,
705,
23615,
1222,
23676,
7061,
82,
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,
2098,
1575,
286,
262,
11171,
9477,
422,
8997,
1222,
23676,
338,
30,
46506,
366,
6207,
9741,
6446,
1,
16034,
3084,
62,
23362,
2231,
33411,
366,
12832,
421,
1202,
3574,
1,
796,
705,
23615,
1222,
23676,
7061,
82,
6
] |
When was the episode number 2 originally aired? | SELECT "Original Air Date" FROM table_23102 WHERE "Episode #" = '2' | [
2215,
373,
262,
4471,
1271,
362,
6198,
18530,
30,
46506,
366,
20556,
3701,
7536,
1,
16034,
3084,
62,
1954,
15377,
33411,
366,
23758,
1303,
1,
796,
705,
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
] | [
2215,
373,
262,
4471,
1271,
362,
6198,
18530,
30,
46506,
366,
20556,
3701,
7536,
1,
16034,
3084,
62,
1954,
15377,
33411,
366,
23758,
1303,
1,
796,
705,
17,
6
] |
What number of patients are divorced and have their drug route as iv drip? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "DIVORCED" AND prescriptions.route = "IV DRIP" | [
2061,
1271,
286,
3871,
389,
25107,
290,
423,
511,
2563,
6339,
355,
21628,
36296,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
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... | [
2061,
1271,
286,
3871,
389,
25107,
290,
423,
511,
2563,
6339,
355,
21628,
36296,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
... |
how many patients with lab test item id 50904 have stayed in hospital for more than 15 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "15" AND lab.itemid = "50904" | [
4919,
867,
3871,
351,
2248,
1332,
2378,
4686,
2026,
24,
3023,
423,
9658,
287,
4436,
329,
517,
621,
1315,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
351,
2248,
1332,
2378,
4686,
2026,
24,
3023,
423,
9658,
287,
4436,
329,
517,
621,
1315,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,... |
When the stolen ends equal 5 whats the amount of pa? | SELECT MAX("PA") FROM table_20172 WHERE "Stolen Ends" = '5' | [
2215,
262,
9909,
5645,
4961,
642,
45038,
262,
2033,
286,
14187,
30,
46506,
25882,
7203,
4537,
4943,
16034,
3084,
62,
1264,
4761,
33411,
366,
1273,
8622,
46756,
1,
796,
705,
20,
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
] | [
2215,
262,
9909,
5645,
4961,
642,
45038,
262,
2033,
286,
14187,
30,
46506,
25882,
7203,
4537,
4943,
16034,
3084,
62,
1264,
4761,
33411,
366,
1273,
8622,
46756,
1,
796,
705,
20,
6
] |
has patient 035-24054 excreted any output (ml)-nephrostomy left during yesterday. | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-24054')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutpu... | [
10134,
5827,
657,
2327,
12,
1731,
2713,
19,
2859,
1186,
276,
597,
5072,
357,
4029,
13219,
77,
27446,
23341,
9145,
1364,
1141,
7415,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
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... | [
10134,
5827,
657,
2327,
12,
1731,
2713,
19,
2859,
1186,
276,
597,
5072,
357,
4029,
13219,
77,
27446,
23341,
9145,
1364,
1141,
7415,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
... |
Which Lost has a Drawn larger than 1, and Games smaller than 7? | SELECT MIN("Lost") FROM table_34105 WHERE "Drawn" > '1' AND "Games" < '7' | [
13828,
9164,
468,
257,
50061,
4025,
621,
352,
11,
290,
5776,
4833,
621,
767,
30,
46506,
20625,
7203,
31042,
4943,
16034,
3084,
62,
2682,
13348,
33411,
366,
35,
5791,
1,
1875,
705,
16,
6,
5357,
366,
24474,
1,
1279,
705,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9164,
468,
257,
50061,
4025,
621,
352,
11,
290,
5776,
4833,
621,
767,
30,
46506,
20625,
7203,
31042,
4943,
16034,
3084,
62,
2682,
13348,
33411,
366,
35,
5791,
1,
1875,
705,
16,
6,
5357,
366,
24474,
1,
1279,
705,
22,
6
] |
Name the most laps for corvette racing in 2004 | SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004 | [
5376,
262,
749,
24590,
329,
1162,
33573,
11717,
287,
5472,
46506,
25882,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
1074,
796,
366,
10215,
33573,
11717,
1,
5357,
614,
796,
5472
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
24590,
329,
1162,
33573,
11717,
287,
5472,
46506,
25882,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
1074,
796,
366,
10215,
33573,
11717,
1,
5357,
614,
796,
5472
] |
What is the place of the player from Spain? | SELECT place FROM table_name_64 WHERE country = "spain" | [
2061,
318,
262,
1295,
286,
262,
2137,
422,
8602,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2414,
33411,
1499,
796,
366,
2777,
391,
1
] | [
1,
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,
1295,
286,
262,
2137,
422,
8602,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2414,
33411,
1499,
796,
366,
2777,
391,
1
] |
What Outcome happened on a Date that was 20 november 2011? | SELECT "Outcome" FROM table_35999 WHERE "Date" = '20 november 2011' | [
2061,
3806,
2958,
3022,
319,
257,
7536,
326,
373,
1160,
645,
303,
1916,
2813,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
2327,
17032,
33411,
366,
10430,
1,
796,
705,
1238,
645,
303,
1916,
2813,
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,
3806,
2958,
3022,
319,
257,
7536,
326,
373,
1160,
645,
303,
1916,
2813,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
2327,
17032,
33411,
366,
10430,
1,
796,
705,
1238,
645,
303,
1916,
2813,
6
] |
out of total number of patients who had a lab test for other cells, calculate the number of divorcees | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "DIVORCED" AND lab.label = "Other Cells" | [
448,
286,
2472,
1271,
286,
3871,
508,
550,
257,
2248,
1332,
329,
584,
4778,
11,
15284,
262,
1271,
286,
13609,
274,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
448,
286,
2472,
1271,
286,
3871,
508,
550,
257,
2248,
1332,
329,
584,
4778,
11,
15284,
262,
1271,
286,
13609,
274,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,... |
How many games does team Czechoslovakia have that had a drawn greater than 0? | SELECT MAX("Games") FROM table_34225 WHERE "Team" = 'czechoslovakia' AND "Drawn" > '0' | [
2437,
867,
1830,
857,
1074,
16639,
50005,
21897,
423,
326,
550,
257,
7428,
3744,
621,
657,
30,
46506,
25882,
7203,
24474,
4943,
16034,
3084,
62,
2682,
18182,
33411,
366,
15592,
1,
796,
705,
66,
15356,
50005,
21897,
6,
5357,
366,
35,
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
] | [
2437,
867,
1830,
857,
1074,
16639,
50005,
21897,
423,
326,
550,
257,
7428,
3744,
621,
657,
30,
46506,
25882,
7203,
24474,
4943,
16034,
3084,
62,
2682,
18182,
33411,
366,
15592,
1,
796,
705,
66,
15356,
50005,
21897,
6,
5357,
366,
35,
5... |
Show budget type codes and the number of documents in each budget type with a bar chart, list by the x axis in asc please. | SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code ORDER BY Budget_Type_Code | [
15307,
4466,
2099,
12416,
290,
262,
1271,
286,
4963,
287,
1123,
4466,
2099,
351,
257,
2318,
8262,
11,
1351,
416,
262,
2124,
16488,
287,
10570,
3387,
13,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
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
] | [
15307,
4466,
2099,
12416,
290,
262,
1271,
286,
4963,
287,
1123,
4466,
2099,
351,
257,
2318,
8262,
11,
1351,
416,
262,
2124,
16488,
287,
10570,
3387,
13,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
44... |
For record 25-24, what is the sum of attendance? | SELECT COUNT(attendance) FROM table_name_83 WHERE record = "25-24" | [
1890,
1700,
1679,
12,
1731,
11,
644,
318,
262,
2160,
286,
14858,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
1700,
796,
366,
1495,
12,
1731,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
1700,
1679,
12,
1731,
11,
644,
318,
262,
2160,
286,
14858,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
1700,
796,
366,
1495,
12,
1731,
1
] |
Which formats have a region of Europe and Catalog value of WEBB185? | SELECT "Format(s)" FROM table_79530 WHERE "Region" = 'europe' AND "Catalog" = 'webb185' | [
13828,
17519,
423,
257,
3814,
286,
2031,
290,
44515,
1988,
286,
12887,
15199,
21652,
30,
46506,
366,
26227,
7,
82,
16725,
16034,
3084,
62,
3720,
38612,
33411,
366,
47371,
1,
796,
705,
44252,
431,
6,
5357,
366,
49015,
1,
796,
705,
732,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
17519,
423,
257,
3814,
286,
2031,
290,
44515,
1988,
286,
12887,
15199,
21652,
30,
46506,
366,
26227,
7,
82,
16725,
16034,
3084,
62,
3720,
38612,
33411,
366,
47371,
1,
796,
705,
44252,
431,
6,
5357,
366,
49015,
1,
796,
705,
732,... |
Which ICAO's IATA is ath? | SELECT "ICAO" FROM table_11587 WHERE "IATA" = 'ath' | [
13828,
314,
8141,
46,
338,
314,
13563,
318,
5782,
30,
46506,
366,
25241,
46,
1,
16034,
3084,
62,
1157,
44617,
33411,
366,
40,
13563,
1,
796,
705,
776,
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
] | [
13828,
314,
8141,
46,
338,
314,
13563,
318,
5782,
30,
46506,
366,
25241,
46,
1,
16034,
3084,
62,
1157,
44617,
33411,
366,
40,
13563,
1,
796,
705,
776,
6
] |
wbc count >= 3000 / mm3 | SELECT * FROM table_dev_35 WHERE white_blood_cell_count_wbc >= 3000 | [
86,
15630,
954,
18189,
20343,
1220,
8085,
18,
46506,
1635,
16034,
3084,
62,
7959,
62,
2327,
33411,
2330,
62,
18041,
62,
3846,
62,
9127,
62,
86,
15630,
18189,
20343
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
86,
15630,
954,
18189,
20343,
1220,
8085,
18,
46506,
1635,
16034,
3084,
62,
7959,
62,
2327,
33411,
2330,
62,
18041,
62,
3846,
62,
9127,
62,
86,
15630,
18189,
20343
] |
What is the mascot for the school with a student body larger than 2,191 in Noblesville? | SELECT "Mascot" FROM table_35444 WHERE "Enrollment" > '2,191' AND "School" = 'noblesville' | [
2061,
318,
262,
37358,
329,
262,
1524,
351,
257,
3710,
1767,
4025,
621,
362,
11,
26492,
287,
8140,
829,
4244,
30,
46506,
366,
44,
3372,
313,
1,
16034,
3084,
62,
2327,
30272,
33411,
366,
4834,
48108,
1,
1875,
705,
17,
11,
26492,
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
] | [
2061,
318,
262,
37358,
329,
262,
1524,
351,
257,
3710,
1767,
4025,
621,
362,
11,
26492,
287,
8140,
829,
4244,
30,
46506,
366,
44,
3372,
313,
1,
16034,
3084,
62,
2327,
30272,
33411,
366,
4834,
48108,
1,
1875,
705,
17,
11,
26492,
6,
... |
What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? | SELECT "Memory" FROM table_65073 WHERE "Turbo" = '2/2/4/5' AND "Release date" = 'may 2010' | [
2061,
14059,
468,
257,
22278,
286,
362,
14,
17,
14,
19,
14,
20,
290,
262,
13868,
3128,
286,
1737,
3050,
30,
46506,
366,
30871,
1,
16034,
3084,
62,
17544,
4790,
33411,
366,
17483,
2127,
1,
796,
705,
17,
14,
17,
14,
19,
14,
20,
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
] | [
2061,
14059,
468,
257,
22278,
286,
362,
14,
17,
14,
19,
14,
20,
290,
262,
13868,
3128,
286,
1737,
3050,
30,
46506,
366,
30871,
1,
16034,
3084,
62,
17544,
4790,
33411,
366,
17483,
2127,
1,
796,
705,
17,
14,
17,
14,
19,
14,
20,
6,... |
What is the Lap Length of the race with a Grand Prix Fia Category? | SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia" | [
2061,
318,
262,
26944,
22313,
286,
262,
3234,
351,
257,
5675,
23832,
376,
544,
21743,
30,
46506,
14779,
62,
13664,
16034,
3084,
62,
3672,
62,
1120,
33411,
6536,
796,
366,
23936,
1293,
87,
277,
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
] | [
2061,
318,
262,
26944,
22313,
286,
262,
3234,
351,
257,
5675,
23832,
376,
544,
21743,
30,
46506,
14779,
62,
13664,
16034,
3084,
62,
3672,
62,
1120,
33411,
6536,
796,
366,
23936,
1293,
87,
277,
544,
1
] |
when did patient 31088 receive his or her tissue microbiology test for the first time during their current hospital visit? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31088 AND admissions.dischtime IS NULL) AND microbiologyevents.spec_type_desc = 'tissue' ORDER BY microbiologyevents.charttime LIMIT 1 | [
12518,
750,
5827,
28947,
3459,
3328,
465,
393,
607,
10712,
24559,
1435,
1332,
329,
262,
717,
640,
1141,
511,
1459,
4436,
3187,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28947,
3459,
3328,
465,
393,
607,
10712,
24559,
1435,
1332,
329,
262,
717,
640,
1141,
511,
1459,
4436,
3187,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108... |
What is the highest number of apps of the player with more than 63 goals and an avge of 0.45? | SELECT MAX("Apps") FROM table_35769 WHERE "Goals" > '63' AND "Avge" = '0.45' | [
2061,
318,
262,
4511,
1271,
286,
6725,
286,
262,
2137,
351,
517,
621,
8093,
4661,
290,
281,
1196,
469,
286,
657,
13,
2231,
30,
46506,
25882,
7203,
48433,
4943,
16034,
3084,
62,
27277,
3388,
33411,
366,
5247,
874,
1,
1875,
705,
5066,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6725,
286,
262,
2137,
351,
517,
621,
8093,
4661,
290,
281,
1196,
469,
286,
657,
13,
2231,
30,
46506,
25882,
7203,
48433,
4943,
16034,
3084,
62,
27277,
3388,
33411,
366,
5247,
874,
1,
1875,
705,
5066,
... |
What are the characters and duration of actors? | SELECT Character, Duration FROM actor | [
2061,
389,
262,
3435,
290,
9478,
286,
10544,
30,
46506,
15684,
11,
22920,
16034,
8674
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3435,
290,
9478,
286,
10544,
30,
46506,
15684,
11,
22920,
16034,
8674
] |
Name the series ep for s02e08 | SELECT "Series Ep." FROM table_19936 WHERE "Netflix" = 'S02E08' | [
5376,
262,
2168,
2462,
329,
264,
2999,
68,
2919,
46506,
366,
27996,
4551,
526,
16034,
3084,
62,
19104,
2623,
33411,
366,
42826,
1,
796,
705,
50,
2999,
36,
2919,
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
] | [
5376,
262,
2168,
2462,
329,
264,
2999,
68,
2919,
46506,
366,
27996,
4551,
526,
16034,
3084,
62,
19104,
2623,
33411,
366,
42826,
1,
796,
705,
50,
2999,
36,
2919,
6
] |
What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC? | SELECT "Tries against" FROM table_6258 WHERE "Played" = '22' AND "Club" = 'ystalyfera rfc' | [
2061,
318,
5610,
329,
262,
309,
1678,
1028,
326,
468,
257,
33101,
286,
2534,
11,
1863,
351,
257,
6289,
286,
575,
301,
3400,
2232,
64,
30978,
30,
46506,
366,
51,
1678,
1028,
1,
16034,
3084,
62,
21,
25600,
33411,
366,
11002,
276,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5610,
329,
262,
309,
1678,
1028,
326,
468,
257,
33101,
286,
2534,
11,
1863,
351,
257,
6289,
286,
575,
301,
3400,
2232,
64,
30978,
30,
46506,
366,
51,
1678,
1028,
1,
16034,
3084,
62,
21,
25600,
33411,
366,
11002,
276,
1,
... |
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by weekday. | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
13,
46506,
36210,
2200,
62,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
13,
46506,
36210,
2200,
62,
35,
... |
What batting partners played in sydney? | SELECT batting_partners FROM table_1670921_2 WHERE venue = "Sydney" | [
2061,
23761,
4887,
2826,
287,
827,
67,
1681,
30,
46506,
23761,
62,
3911,
2741,
16034,
3084,
62,
1433,
31495,
2481,
62,
17,
33411,
14359,
796,
366,
50,
5173,
1681,
1
] | [
1,
1,
1,
1,
1,
1,
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,
23761,
4887,
2826,
287,
827,
67,
1681,
30,
46506,
23761,
62,
3911,
2741,
16034,
3084,
62,
1433,
31495,
2481,
62,
17,
33411,
14359,
796,
366,
50,
5173,
1681,
1
] |
known renal insufficiency ( either known creatinin clearance < 30 ml / min / 1.73 m2 or current medical care for severe renal insufficiency ) | SELECT * FROM table_test_2 WHERE renal_disease = 1 OR (creatinine_clearance_cl < 30 OR renal_disease = 1) | [
4002,
44375,
1035,
1648,
19777,
357,
2035,
1900,
1827,
259,
259,
19745,
1279,
1542,
25962,
1220,
949,
1220,
352,
13,
4790,
285,
17,
393,
1459,
3315,
1337,
329,
6049,
44375,
1035,
1648,
19777,
1267,
46506,
1635,
16034,
3084,
62,
9288,
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... | [
4002,
44375,
1035,
1648,
19777,
357,
2035,
1900,
1827,
259,
259,
19745,
1279,
1542,
25962,
1220,
949,
1220,
352,
13,
4790,
285,
17,
393,
1459,
3315,
1337,
329,
6049,
44375,
1035,
1648,
19777,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62... |
What is the lowest rank of rider darren gilpin? | SELECT MIN("Rank") FROM table_63876 WHERE "Rider" = 'darren gilpin' | [
2061,
318,
262,
9016,
4279,
286,
17876,
288,
283,
918,
308,
346,
11635,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
21,
2548,
4304,
33411,
366,
49,
1304,
1,
796,
705,
27455,
918,
308,
346,
11635,
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,
318,
262,
9016,
4279,
286,
17876,
288,
283,
918,
308,
346,
11635,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
21,
2548,
4304,
33411,
366,
49,
1304,
1,
796,
705,
27455,
918,
308,
346,
11635,
6
] |
What was the result of the election in the Virginia 3 district? | SELECT "Result" FROM table_18238 WHERE "District" = 'Virginia 3' | [
2061,
373,
262,
1255,
286,
262,
3071,
287,
262,
6025,
513,
4783,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1507,
23721,
33411,
366,
44857,
1,
796,
705,
41017,
513,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
3071,
287,
262,
6025,
513,
4783,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1507,
23721,
33411,
366,
44857,
1,
796,
705,
41017,
513,
6
] |
What was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73? | SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76 | [
2061,
373,
262,
2811,
4279,
329,
1074,
351,
517,
621,
5846,
3869,
11,
517,
290,
8684,
22101,
290,
257,
2440,
2472,
621,
8854,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
2472,
1875,
8854,
5357,
3869,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
4279,
329,
1074,
351,
517,
621,
5846,
3869,
11,
517,
290,
8684,
22101,
290,
257,
2440,
2472,
621,
8854,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
2472,
1875,
8854,
5357,
3869,
1875,
... |
What is the lowest number of events the Open Championship has with a less than 0 top-10? | SELECT MIN("Events") FROM table_55544 WHERE "Tournament" = 'the open championship' AND "Top-10" < '0' | [
2061,
318,
262,
9016,
1271,
286,
2995,
262,
4946,
10749,
468,
351,
257,
1342,
621,
657,
1353,
12,
940,
30,
46506,
20625,
7203,
37103,
4943,
16034,
3084,
62,
31046,
2598,
33411,
366,
51,
5138,
1,
796,
705,
1169,
1280,
12184,
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
] | [
2061,
318,
262,
9016,
1271,
286,
2995,
262,
4946,
10749,
468,
351,
257,
1342,
621,
657,
1353,
12,
940,
30,
46506,
20625,
7203,
37103,
4943,
16034,
3084,
62,
31046,
2598,
33411,
366,
51,
5138,
1,
796,
705,
1169,
1280,
12184,
6,
5357,
... |
Who was the first person elected in North Carolina 8? | SELECT first_elected FROM table_1341738_34 WHERE district = "North Carolina 8" | [
8241,
373,
262,
717,
1048,
7018,
287,
2258,
5913,
807,
30,
46506,
717,
62,
28604,
16034,
3084,
62,
19880,
1558,
2548,
62,
2682,
33411,
4783,
796,
366,
14157,
5913,
807,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
717,
1048,
7018,
287,
2258,
5913,
807,
30,
46506,
717,
62,
28604,
16034,
3084,
62,
19880,
1558,
2548,
62,
2682,
33411,
4783,
796,
366,
14157,
5913,
807,
1
] |
WHAT WAS THE PICK NUMBER FOR BRANDON RUSH? | SELECT COUNT("Pick") FROM table_7876 WHERE "Player" = 'brandon rush' | [
32971,
21725,
3336,
350,
11860,
36871,
13246,
7473,
11177,
6981,
1340,
371,
27143,
30,
46506,
327,
28270,
7203,
31686,
4943,
16034,
3084,
62,
3695,
4304,
33411,
366,
14140,
1,
796,
705,
1671,
5063,
10484,
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
] | [
32971,
21725,
3336,
350,
11860,
36871,
13246,
7473,
11177,
6981,
1340,
371,
27143,
30,
46506,
327,
28270,
7203,
31686,
4943,
16034,
3084,
62,
3695,
4304,
33411,
366,
14140,
1,
796,
705,
1671,
5063,
10484,
6
] |
What is the IHSAA class for Crown Point? | SELECT "IHSAA Class" FROM table_37450 WHERE "School" = 'crown point' | [
2061,
318,
262,
314,
7998,
3838,
1398,
329,
12223,
6252,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
2718,
17885,
33411,
366,
26130,
1,
796,
705,
66,
2053,
966,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
314,
7998,
3838,
1398,
329,
12223,
6252,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
2718,
17885,
33411,
366,
26130,
1,
796,
705,
66,
2053,
966,
6
] |
Loss of finley (8-7) had what record? | SELECT record FROM table_name_99 WHERE loss = "finley (8-7)" | [
43,
793,
286,
957,
1636,
357,
23,
12,
22,
8,
550,
644,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2079,
33411,
2994,
796,
366,
15643,
1636,
357,
23,
12,
22,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43,
793,
286,
957,
1636,
357,
23,
12,
22,
8,
550,
644,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2079,
33411,
2994,
796,
366,
15643,
1636,
357,
23,
12,
22,
16725
] |
What is the position of the player with a unanimous no result without a college hall of fame? | SELECT position FROM table_name_34 WHERE unanimous = "no" AND college_hall_of_fame = "no" | [
2061,
318,
262,
2292,
286,
262,
2137,
351,
257,
28085,
645,
1255,
1231,
257,
4152,
6899,
286,
16117,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
2682,
33411,
28085,
796,
366,
3919,
1,
5357,
4152,
62,
18323,
62,
1659,
62,
69,
480,
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
] | [
2061,
318,
262,
2292,
286,
262,
2137,
351,
257,
28085,
645,
1255,
1231,
257,
4152,
6899,
286,
16117,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
2682,
33411,
28085,
796,
366,
3919,
1,
5357,
4152,
62,
18323,
62,
1659,
62,
69,
480,
79... |
What is Elizabeth Yarnold's nation? | SELECT "Nation" FROM table_40085 WHERE "Athlete(s)" = 'elizabeth yarnold' | [
2061,
318,
10674,
575,
1501,
727,
338,
3277,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
7029,
5332,
33411,
366,
32,
400,
5807,
7,
82,
16725,
796,
705,
417,
9924,
21181,
727,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
10674,
575,
1501,
727,
338,
3277,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
7029,
5332,
33411,
366,
32,
400,
5807,
7,
82,
16725,
796,
705,
417,
9924,
21181,
727,
6
] |
what is the time when the laps is less than 21 and the grid is more than 17? | SELECT time FROM table_name_88 WHERE laps < 21 AND grid > 17 | [
10919,
318,
262,
640,
618,
262,
24590,
318,
1342,
621,
2310,
290,
262,
10706,
318,
517,
621,
1596,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3459,
33411,
24590,
1279,
2310,
5357,
10706,
1875,
1596
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
618,
262,
24590,
318,
1342,
621,
2310,
290,
262,
10706,
318,
517,
621,
1596,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3459,
33411,
24590,
1279,
2310,
5357,
10706,
1875,
1596
] |
Which year earlier than 2006 has the average Total Convictions of Fraud at 1,521? | SELECT AVG("Total Convictions") FROM table_6170 WHERE "Fraud (Art. 146 StGB)" = '1,521' AND "Year" < '2006' | [
13828,
614,
2961,
621,
4793,
468,
262,
2811,
7472,
34872,
9278,
286,
39826,
379,
352,
11,
20,
2481,
30,
46506,
35224,
7203,
14957,
34872,
9278,
4943,
16034,
3084,
62,
21,
17279,
33411,
366,
37,
22863,
357,
8001,
13,
22986,
520,
4579,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
614,
2961,
621,
4793,
468,
262,
2811,
7472,
34872,
9278,
286,
39826,
379,
352,
11,
20,
2481,
30,
46506,
35224,
7203,
14957,
34872,
9278,
4943,
16034,
3084,
62,
21,
17279,
33411,
366,
37,
22863,
357,
8001,
13,
22986,
520,
4579,
... |
i now need a flight from SAN JOSE to HOUSTON leaving on sunday the 4 of 8 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'HOUSTON' AND date_day.day_number = 4 AND date_day.month_number = 8 AND da... | [
72,
783,
761,
257,
5474,
422,
37376,
449,
14058,
284,
29068,
41924,
4305,
319,
37437,
323,
262,
604,
286,
807,
46506,
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,
1... | [
72,
783,
761,
257,
5474,
422,
37376,
449,
14058,
284,
29068,
41924,
4305,
319,
37437,
323,
262,
604,
286,
807,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
1... |
Score of 4 0 had what attendance number? | SELECT COUNT("Attendance") FROM table_36630 WHERE "Score" = '4–0' | [
26595,
286,
604,
657,
550,
644,
14858,
1271,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
2623,
30005,
33411,
366,
26595,
1,
796,
705,
19,
1906,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26595,
286,
604,
657,
550,
644,
14858,
1271,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
2623,
30005,
33411,
366,
26595,
1,
796,
705,
19,
1906,
15,
6
] |
counting how many times patient 10624 has had a other bronchoscopy last year. | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'other bronchoscopy') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10624) AND DATETIME(procedures_i... | [
9127,
278,
703,
867,
1661,
5827,
15696,
1731,
468,
550,
257,
584,
18443,
354,
17500,
11081,
938,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
278,
703,
867,
1661,
5827,
15696,
1731,
468,
550,
257,
584,
18443,
354,
17500,
11081,
938,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
... |
What is the name of the home team that played at The Brunswick Street Oval to a crowd of 7,000? | SELECT "Home team" FROM table_33646 WHERE "Crowd" > '7,000' AND "Venue" = 'brunswick street oval' | [
2061,
318,
262,
1438,
286,
262,
1363,
1074,
326,
2826,
379,
383,
32211,
3530,
25165,
284,
257,
4315,
286,
767,
11,
830,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
2091,
27720,
33411,
366,
34,
3986,
1,
1875,
705,
22,
11,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
1363,
1074,
326,
2826,
379,
383,
32211,
3530,
25165,
284,
257,
4315,
286,
767,
11,
830,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
2091,
27720,
33411,
366,
34,
3986,
1,
1875,
705,
22,
11,
830,
... |
what was the name of the specimen test patient 031-4423 received until 11/2104 for the last time? | SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4423')) AND STRFTIME('%y-%m', microlab.culturetakentime) <= '2104-... | [
10919,
373,
262,
1438,
286,
262,
31674,
1332,
5827,
657,
3132,
12,
2598,
1954,
2722,
1566,
1367,
14,
17,
13464,
329,
262,
938,
640,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
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... | [
10919,
373,
262,
1438,
286,
262,
31674,
1332,
5827,
657,
3132,
12,
2598,
1954,
2722,
1566,
1367,
14,
17,
13464,
329,
262,
938,
640,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
... |
tell me the last procedure patient 433 had since 4 years ago? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 433) AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME... | [
33331,
502,
262,
938,
8771,
5827,
47407,
550,
1201,
604,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
8771,
5827,
47407,
550,
1201,
604,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
... |
Draw a bar chart of location versus how many location, and display by the x-axis from low to high. | SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location | [
25302,
257,
2318,
8262,
286,
4067,
9051,
703,
867,
4067,
11,
290,
3359,
416,
262,
2124,
12,
22704,
422,
1877,
284,
1029,
13,
46506,
13397,
11,
327,
28270,
7,
14749,
8,
16034,
34845,
44441,
11050,
13397,
38678,
11050,
13397
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
286,
4067,
9051,
703,
867,
4067,
11,
290,
3359,
416,
262,
2124,
12,
22704,
422,
1877,
284,
1029,
13,
46506,
13397,
11,
327,
28270,
7,
14749,
8,
16034,
34845,
44441,
11050,
13397,
38678,
11050,
13397
] |
count the amount of hospital visits of patient 26720 until 2 years ago. | SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 26720 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-2 year') | [
9127,
262,
2033,
286,
4436,
11864,
286,
5827,
2608,
23906,
1566,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
18108,
76,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
2608,
23906,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
2033,
286,
4436,
11864,
286,
5827,
2608,
23906,
1566,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
18108,
76,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
2608,
23906,
5357,... |
What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9? | SELECT SUM("Losses") FROM table_39040 WHERE "Scored" > '15' AND "Points" > '16' AND "Played" > '9' | [
2061,
338,
262,
2160,
286,
22014,
274,
326,
1446,
1850,
4025,
621,
1315,
11,
468,
11045,
326,
338,
4025,
621,
1467,
11,
290,
33101,
326,
338,
4025,
621,
860,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
25964,
1821,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
22014,
274,
326,
1446,
1850,
4025,
621,
1315,
11,
468,
11045,
326,
338,
4025,
621,
1467,
11,
290,
33101,
326,
338,
4025,
621,
860,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
25964,
1821,
... |
how many patients with 29-30 completed weeks of gestation had blood gas tested by lab? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "29-30 completed weeks of gestation" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
351,
2808,
12,
1270,
5668,
2745,
286,
47110,
550,
2910,
3623,
6789,
416,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
351,
2808,
12,
1270,
5668,
2745,
286,
47110,
550,
2910,
3623,
6789,
416,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
... |
What is the mountains classification when stage is 17? | SELECT mountains_classification FROM table_name_60 WHERE stage = "17" | [
2061,
318,
262,
12269,
17923,
618,
3800,
318,
1596,
30,
46506,
12269,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
1899,
33411,
3800,
796,
366,
1558,
1
] | [
1,
1,
1,
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,
12269,
17923,
618,
3800,
318,
1596,
30,
46506,
12269,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
1899,
33411,
3800,
796,
366,
1558,
1
] |
Who is the manager for lootos p lva? | SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva" | [
8241,
318,
262,
4706,
329,
16702,
418,
279,
300,
6862,
30,
46506,
4706,
16034,
3084,
62,
1983,
29416,
29173,
62,
16,
33411,
3430,
796,
366,
43,
1025,
418,
350,
127,
113,
6780,
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
] | [
8241,
318,
262,
4706,
329,
16702,
418,
279,
300,
6862,
30,
46506,
4706,
16034,
3084,
62,
1983,
29416,
29173,
62,
16,
33411,
3430,
796,
366,
43,
1025,
418,
350,
127,
113,
6780,
64,
1
] |
What is the constructor for the VII Race of Champions? | SELECT "Constructor" FROM table_54000 WHERE "Race Name" = 'vii race of champions' | [
2061,
318,
262,
23772,
329,
262,
19691,
12588,
286,
6662,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
4051,
830,
33411,
366,
35157,
6530,
1,
796,
705,
85,
4178,
3234,
286,
7827,
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,
23772,
329,
262,
19691,
12588,
286,
6662,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
4051,
830,
33411,
366,
35157,
6530,
1,
796,
705,
85,
4178,
3234,
286,
7827,
6
] |
what is the number of private insurance patients who were ordered c3 lab test? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Private" AND lab.label = "C3" | [
10919,
318,
262,
1271,
286,
2839,
5096,
3871,
508,
547,
6149,
269,
18,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2839,
5096,
3871,
508,
547,
6149,
269,
18,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,... |
count the number of patients whose lab test chart time is 2133-08-01 12:06:00? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2133-08-01 12:06:00" | [
9127,
262,
1271,
286,
3871,
3025,
2248,
1332,
8262,
640,
318,
362,
16945,
12,
2919,
12,
486,
1105,
25,
3312,
25,
405,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
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... | [
9127,
262,
1271,
286,
3871,
3025,
2248,
1332,
8262,
640,
318,
362,
16945,
12,
2919,
12,
486,
1105,
25,
3312,
25,
405,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... |
What Group Song of Shine ? | SELECT Group AS song FROM table_name_60 WHERE name = "shine 王幸儿" | [
2061,
4912,
10940,
286,
41249,
5633,
46506,
4912,
7054,
3496,
16034,
3084,
62,
3672,
62,
1899,
33411,
1438,
796,
366,
19489,
13328,
23329,
33176,
116,
161,
226,
123,
1
] | [
1,
1,
1,
1,
1,
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,
4912,
10940,
286,
41249,
5633,
46506,
4912,
7054,
3496,
16034,
3084,
62,
3672,
62,
1899,
33411,
1438,
796,
366,
19489,
13328,
23329,
33176,
116,
161,
226,
123,
1
] |
Name the others for cons of 21% and lead of 24% | SELECT others FROM table_name_60 WHERE cons = "21%" AND lead = "24%" | [
5376,
262,
1854,
329,
762,
286,
2310,
4,
290,
1085,
286,
1987,
4,
46506,
1854,
16034,
3084,
62,
3672,
62,
1899,
33411,
762,
796,
366,
2481,
39658,
5357,
1085,
796,
366,
1731,
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
] | [
5376,
262,
1854,
329,
762,
286,
2310,
4,
290,
1085,
286,
1987,
4,
46506,
1854,
16034,
3084,
62,
3672,
62,
1899,
33411,
762,
796,
366,
2481,
39658,
5357,
1085,
796,
366,
1731,
39658
] |
How many points were there when tries for were 84? | SELECT "Points" FROM table_21662 WHERE "Tries for" = '84' | [
2437,
867,
2173,
547,
612,
618,
8404,
329,
547,
9508,
30,
46506,
366,
40710,
1,
16034,
3084,
62,
20666,
5237,
33411,
366,
51,
1678,
329,
1,
796,
705,
5705,
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
] | [
2437,
867,
2173,
547,
612,
618,
8404,
329,
547,
9508,
30,
46506,
366,
40710,
1,
16034,
3084,
62,
20666,
5237,
33411,
366,
51,
1678,
329,
1,
796,
705,
5705,
6
] |
i would like to book a flight on CO from CHICAGO to SEATTLE on 6 1 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTLE' AND date_day.day_number = 1 AND date_day.month_number = 6 AND d... | [
72,
561,
588,
284,
1492,
257,
5474,
319,
7375,
422,
5870,
2149,
4760,
46,
284,
7946,
35455,
319,
718,
352,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
1492,
257,
5474,
319,
7375,
422,
5870,
2149,
4760,
46,
284,
7946,
35455,
319,
718,
352,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
... |
Between 10:00 and 2:00 is there any section of JAZZ 471 offered ? | SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.end_time <= '2:00' AND course_offering.start_time >= '10:00' AND course.course_id = course_offering.course_id AND course.department = 'JAZZ' AND course.number... | [
25262,
838,
25,
405,
290,
362,
25,
405,
318,
612,
597,
2665,
286,
449,
22778,
57,
604,
4869,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
11,
178... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
25262,
838,
25,
405,
290,
362,
25,
405,
318,
612,
597,
2665,
286,
449,
22778,
57,
604,
4869,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
11,
178... |
What is the smallest track number? | SELECT MIN(track) FROM table_11839306_2 | [
2061,
318,
262,
18197,
2610,
1271,
30,
46506,
20625,
7,
11659,
8,
16034,
3084,
62,
16817,
2670,
20548,
62,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18197,
2610,
1271,
30,
46506,
20625,
7,
11659,
8,
16034,
3084,
62,
16817,
2670,
20548,
62,
17
] |
what is the number of patients whose days of hospital stay is greater than 16 and procedure long title is continuous intra-arterial blood gas monitoring? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "16" AND procedures.long_title = "Continuous intra-arterial blood gas monitoring" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1467,
290,
8771,
890,
3670,
318,
12948,
23422,
12,
2571,
498,
2910,
3623,
9904,
30,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1467,
290,
8771,
890,
3670,
318,
12948,
23422,
12,
2571,
498,
2910,
3623,
9904,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... |
subjects with severe renal impairment ( creatinine clearance less than 30 ml / min ) | SELECT * FROM table_train_41 WHERE renal_disease = 1 OR serum_creatinine < 30 | [
32796,
82,
351,
6049,
44375,
23992,
357,
1827,
259,
500,
19745,
1342,
621,
1542,
25962,
1220,
949,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
3901,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
20502,
62,
20123,
259,
500,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32796,
82,
351,
6049,
44375,
23992,
357,
1827,
259,
500,
19745,
1342,
621,
1542,
25962,
1220,
949,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
3901,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
20502,
62,
20123,
259,
500,
1279,
... |
What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team? | SELECT MAX("Rnd.") FROM table_27151 WHERE "GT2 Winning Team" = 'Marc Lieb Richard Lietz' | [
2061,
373,
262,
5415,
2835,
810,
13067,
12060,
65,
6219,
406,
1155,
89,
373,
319,
262,
7963,
17,
40983,
4816,
30,
46506,
25882,
7203,
49,
358,
19570,
16034,
3084,
62,
1983,
24309,
33411,
366,
19555,
17,
40983,
4816,
1,
796,
705,
22697... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2835,
810,
13067,
12060,
65,
6219,
406,
1155,
89,
373,
319,
262,
7963,
17,
40983,
4816,
30,
46506,
25882,
7203,
49,
358,
19570,
16034,
3084,
62,
1983,
24309,
33411,
366,
19555,
17,
40983,
4816,
1,
796,
705,
22697... |
what are the three most common procedures for a patient who was diagnosed with osteomyelitis nos-pelvis previously within the same hospital visit? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_i... | [
10919,
389,
262,
1115,
749,
2219,
9021,
329,
257,
5827,
508,
373,
14641,
351,
32674,
9145,
417,
11815,
43630,
12,
30242,
4703,
4271,
1626,
262,
976,
4436,
3187,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1115,
749,
2219,
9021,
329,
257,
5827,
508,
373,
14641,
351,
32674,
9145,
417,
11815,
43630,
12,
30242,
4703,
4271,
1626,
262,
976,
4436,
3187,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
1... |
Who is the opponent for the winner outcome on a hard surface on August 27, 2011? | SELECT "Opponent" FROM table_66780 WHERE "Outcome" = 'winner' AND "Surface" = 'hard' AND "Date" = 'august 27, 2011' | [
8241,
318,
262,
6125,
329,
262,
8464,
8055,
319,
257,
1327,
4417,
319,
2932,
2681,
11,
2813,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
28933,
1795,
33411,
366,
7975,
2958,
1,
796,
705,
39791,
6,
5357,
366,
14214,
2550,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
6125,
329,
262,
8464,
8055,
319,
257,
1327,
4417,
319,
2932,
2681,
11,
2813,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
28933,
1795,
33411,
366,
7975,
2958,
1,
796,
705,
39791,
6,
5357,
366,
14214,
2550,
1,
796... |
What are the ids of the problems reported after the date of any problems reported by Rylan Homenick? | SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported > (SELECT MAX(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Rylan" AND T4.staff_last_name = "Homenick") | [
2061,
389,
262,
220,
2340,
286,
262,
2761,
2098,
706,
262,
3128,
286,
597,
2761,
2098,
416,
371,
18554,
367,
3674,
624,
30,
46506,
309,
16,
13,
45573,
62,
312,
16034,
2761,
7054,
309,
16,
32357,
1268,
3085,
7054,
309,
17,
6177,
309,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
220,
2340,
286,
262,
2761,
2098,
706,
262,
3128,
286,
597,
2761,
2098,
416,
371,
18554,
367,
3674,
624,
30,
46506,
309,
16,
13,
45573,
62,
312,
16034,
2761,
7054,
309,
16,
32357,
1268,
3085,
7054,
309,
17,
6177,
309,... |
what's the 1st leg where opponents is galatasaray | SELECT 1 AS st_leg FROM table_1061075_1 WHERE opponents = "Galatasaray" | [
10919,
338,
262,
352,
301,
1232,
810,
7691,
318,
9426,
265,
42391,
323,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
15801,
940,
2425,
62,
16,
33411,
7691,
796,
366,
26552,
265,
42391,
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
] | [
10919,
338,
262,
352,
301,
1232,
810,
7691,
318,
9426,
265,
42391,
323,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
15801,
940,
2425,
62,
16,
33411,
7691,
796,
366,
26552,
265,
42391,
323,
1
] |
Who is the second member when RT Hon. Edward Stanley is the first member? | SELECT second_member FROM table_name_14 WHERE first_member = "rt hon. edward stanley" | [
8241,
318,
262,
1218,
2888,
618,
11923,
8835,
13,
10443,
14167,
318,
262,
717,
2888,
30,
46506,
1218,
62,
19522,
16034,
3084,
62,
3672,
62,
1415,
33411,
717,
62,
19522,
796,
366,
17034,
3032,
13,
1225,
904,
336,
272,
1636,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1218,
2888,
618,
11923,
8835,
13,
10443,
14167,
318,
262,
717,
2888,
30,
46506,
1218,
62,
19522,
16034,
3084,
62,
3672,
62,
1415,
33411,
717,
62,
19522,
796,
366,
17034,
3032,
13,
1225,
904,
336,
272,
1636,
1
] |
In what circuit was Bruno Spengler the winning driver? | SELECT "Circuit" FROM table_3244 WHERE "Winning Driver" = 'Bruno Spengler' | [
818,
644,
10349,
373,
31045,
1338,
1516,
1754,
262,
5442,
4639,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
18,
25707,
33411,
366,
16643,
768,
12434,
1,
796,
705,
33,
5143,
78,
1338,
1516,
1754,
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
] | [
818,
644,
10349,
373,
31045,
1338,
1516,
1754,
262,
5442,
4639,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
18,
25707,
33411,
366,
16643,
768,
12434,
1,
796,
705,
33,
5143,
78,
1338,
1516,
1754,
6
] |
When is the Mexican grand prix? | SELECT "Date" FROM table_56867 WHERE "Race" = 'mexican grand prix' | [
2215,
318,
262,
10816,
4490,
1293,
87,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
49211,
3134,
33411,
366,
35157,
1,
796,
705,
76,
1069,
7490,
4490,
1293,
87,
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
] | [
2215,
318,
262,
10816,
4490,
1293,
87,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
49211,
3134,
33411,
366,
35157,
1,
796,
705,
76,
1069,
7490,
4490,
1293,
87,
6
] |
Top 20 Users from the Philippines. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%manila%' OR LOWER(Location) LIKE '%philippines%' ORDER BY Reputation DESC LIMIT 200 | [
9126,
1160,
18987,
422,
262,
13316,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
1160,
18987,
422,
262,
13316,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
... |
Which week has a record of 5-7-1? | SELECT week FROM table_name_58 WHERE record = "5-7-1" | [
13828,
1285,
468,
257,
1700,
286,
642,
12,
22,
12,
16,
30,
46506,
1285,
16034,
3084,
62,
3672,
62,
3365,
33411,
1700,
796,
366,
20,
12,
22,
12,
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
] | [
13828,
1285,
468,
257,
1700,
286,
642,
12,
22,
12,
16,
30,
46506,
1285,
16034,
3084,
62,
3672,
62,
3365,
33411,
1700,
796,
366,
20,
12,
22,
12,
16,
1
] |
What team does bobby hillin jr. (r) drive a buick regal for? | SELECT "Team" FROM table_58296 WHERE "Make" = 'buick regal' AND "Driver" = 'bobby hillin jr. (r)' | [
2061,
1074,
857,
275,
11369,
12788,
259,
474,
81,
13,
357,
81,
8,
3708,
257,
809,
624,
842,
282,
329,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3365,
27137,
33411,
366,
12050,
1,
796,
705,
11110,
624,
842,
282,
6,
5357,
366,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
857,
275,
11369,
12788,
259,
474,
81,
13,
357,
81,
8,
3708,
257,
809,
624,
842,
282,
329,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3365,
27137,
33411,
366,
12050,
1,
796,
705,
11110,
624,
842,
282,
6,
5357,
366,
3210... |
What was the record on May 8? | SELECT record FROM table_name_44 WHERE date = "may 8" | [
2061,
373,
262,
1700,
319,
1737,
807,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2598,
33411,
3128,
796,
366,
11261,
807,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
319,
1737,
807,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2598,
33411,
3128,
796,
366,
11261,
807,
1
] |
What is the best time of the team that had a qualifying 1 time of 1:01.043? | SELECT best FROM table_name_54 WHERE qual_1 = "1:01.043" | [
2061,
318,
262,
1266,
640,
286,
262,
1074,
326,
550,
257,
18677,
352,
640,
286,
352,
25,
486,
13,
48768,
30,
46506,
1266,
16034,
3084,
62,
3672,
62,
4051,
33411,
4140,
62,
16,
796,
366,
16,
25,
486,
13,
48768,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1266,
640,
286,
262,
1074,
326,
550,
257,
18677,
352,
640,
286,
352,
25,
486,
13,
48768,
30,
46506,
1266,
16034,
3084,
62,
3672,
62,
4051,
33411,
4140,
62,
16,
796,
366,
16,
25,
486,
13,
48768,
1
] |
What week is the opponent the Indianapolis Colts with an attendance of 68,932? | SELECT COUNT("Week") FROM table_62725 WHERE "Attendance" = '68,932' AND "Opponent" = 'indianapolis colts' | [
2061,
1285,
318,
262,
6125,
262,
19362,
20464,
351,
281,
14858,
286,
8257,
11,
24,
2624,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
49856,
1495,
33411,
366,
8086,
437,
590,
1,
796,
705,
3104,
11,
24,
2624,
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,
1,
1,
1,
1
] | [
2061,
1285,
318,
262,
6125,
262,
19362,
20464,
351,
281,
14858,
286,
8257,
11,
24,
2624,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
49856,
1495,
33411,
366,
8086,
437,
590,
1,
796,
705,
3104,
11,
24,
2624,
6,
5357,
3... |
What is the max torque of the 1.2 mpi engine? | SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi" | [
2061,
318,
262,
3509,
26415,
286,
262,
352,
13,
17,
285,
14415,
3113,
30,
46506,
3509,
62,
13165,
4188,
62,
265,
62,
48235,
16034,
3084,
62,
3672,
62,
1157,
33411,
3113,
62,
3672,
796,
366,
16,
13,
17,
285,
14415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3509,
26415,
286,
262,
352,
13,
17,
285,
14415,
3113,
30,
46506,
3509,
62,
13165,
4188,
62,
265,
62,
48235,
16034,
3084,
62,
3672,
62,
1157,
33411,
3113,
62,
3672,
796,
366,
16,
13,
17,
285,
14415,
1
] |
What is the name of a location in Nigeria? | SELECT "Name" FROM table_37194 WHERE "Location" = 'nigeria' | [
2061,
318,
262,
1438,
286,
257,
4067,
287,
19398,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2718,
22913,
33411,
366,
14749,
1,
796,
705,
77,
328,
5142,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
257,
4067,
287,
19398,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2718,
22913,
33411,
366,
14749,
1,
796,
705,
77,
328,
5142,
6
] |
What is Drawn, when Played is '18', and when Points Against is '478'? | SELECT drawn FROM table_name_55 WHERE played = "18" AND points_against = "478" | [
2061,
318,
50061,
11,
618,
33101,
318,
705,
1507,
3256,
290,
618,
11045,
12914,
318,
705,
29059,
30960,
46506,
7428,
16034,
3084,
62,
3672,
62,
2816,
33411,
2826,
796,
366,
1507,
1,
5357,
2173,
62,
32826,
796,
366,
29059,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
50061,
11,
618,
33101,
318,
705,
1507,
3256,
290,
618,
11045,
12914,
318,
705,
29059,
30960,
46506,
7428,
16034,
3084,
62,
3672,
62,
2816,
33411,
2826,
796,
366,
1507,
1,
5357,
2173,
62,
32826,
796,
366,
29059,
1
] |
How many sections does RCNSCI 104 have after 10 in the morning ? | SELECT COUNT(*) FROM course, course_offering, semester WHERE course_offering.start_time > '10:00:00' AND course.course_id = course_offering.course_id AND course.department = 'RCNSCI' AND course.number = 104 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
2437,
867,
9004,
857,
13987,
45,
6173,
40,
14436,
423,
706,
838,
287,
262,
3329,
5633,
46506,
327,
28270,
7,
28104,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1875,
705,
940,
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... | [
2437,
867,
9004,
857,
13987,
45,
6173,
40,
14436,
423,
706,
838,
287,
262,
3329,
5633,
46506,
327,
28270,
7,
28104,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1875,
705,
940,
2... |
what is the play when the company is cyprus theatre organisation? | SELECT "play" FROM table_79409 WHERE "company" = 'cyprus theatre organisation' | [
10919,
318,
262,
711,
618,
262,
1664,
318,
3075,
26440,
21421,
12684,
30,
46506,
366,
1759,
1,
16034,
3084,
62,
3720,
29416,
33411,
366,
39722,
1,
796,
705,
948,
26440,
21421,
12684,
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,
711,
618,
262,
1664,
318,
3075,
26440,
21421,
12684,
30,
46506,
366,
1759,
1,
16034,
3084,
62,
3720,
29416,
33411,
366,
39722,
1,
796,
705,
948,
26440,
21421,
12684,
6
] |
What team was Tom Sneva on in rounds 1-9? | SELECT team FROM table_name_8 WHERE driver_s_ = "tom sneva" AND rounds = "1-9" | [
2061,
1074,
373,
4186,
27065,
6862,
319,
287,
9196,
352,
12,
24,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
23,
33411,
4639,
62,
82,
62,
796,
366,
39532,
10505,
6862,
1,
5357,
9196,
796,
366,
16,
12,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
373,
4186,
27065,
6862,
319,
287,
9196,
352,
12,
24,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
23,
33411,
4639,
62,
82,
62,
796,
366,
39532,
10505,
6862,
1,
5357,
9196,
796,
366,
16,
12,
24,
1
] |
What is From, when Nationality is United States, and when Jersey Number (s) is 2? | SELECT "From" FROM table_8760 WHERE "Nationality" = 'united states' AND "Jersey Number(s)" = '2' | [
2061,
318,
3574,
11,
618,
2351,
414,
318,
1578,
1829,
11,
290,
618,
8221,
7913,
357,
82,
8,
318,
362,
30,
46506,
366,
4863,
1,
16034,
3084,
62,
5774,
1899,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
36134,
439... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3574,
11,
618,
2351,
414,
318,
1578,
1829,
11,
290,
618,
8221,
7913,
357,
82,
8,
318,
362,
30,
46506,
366,
4863,
1,
16034,
3084,
62,
5774,
1899,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
36134,
439... |
Which website includes a webcast of listen live, a frequency under 1050, and is licensed in the city of Monterrey? | SELECT website FROM table_name_64 WHERE city_of_license = "monterrey" AND webcast = "listen live" AND frequency < 1050 | [
13828,
3052,
3407,
257,
3992,
2701,
286,
6004,
2107,
11,
257,
8373,
739,
47235,
11,
290,
318,
11971,
287,
262,
1748,
286,
2892,
353,
4364,
30,
46506,
3052,
16034,
3084,
62,
3672,
62,
2414,
33411,
1748,
62,
1659,
62,
43085,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3052,
3407,
257,
3992,
2701,
286,
6004,
2107,
11,
257,
8373,
739,
47235,
11,
290,
318,
11971,
287,
262,
1748,
286,
2892,
353,
4364,
30,
46506,
3052,
16034,
3084,
62,
3672,
62,
2414,
33411,
1748,
62,
1659,
62,
43085,
796,
366,
... |
What was the ranking for the episode number before 24 that had a rating of 25.7? | SELECT ranking FROM table_name_21 WHERE ep__number < 24 AND rating = "25.7" | [
2061,
373,
262,
12759,
329,
262,
4471,
1271,
878,
1987,
326,
550,
257,
7955,
286,
1679,
13,
22,
30,
46506,
12759,
16034,
3084,
62,
3672,
62,
2481,
33411,
2462,
834,
17618,
1279,
1987,
5357,
7955,
796,
366,
1495,
13,
22,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
12759,
329,
262,
4471,
1271,
878,
1987,
326,
550,
257,
7955,
286,
1679,
13,
22,
30,
46506,
12759,
16034,
3084,
62,
3672,
62,
2481,
33411,
2462,
834,
17618,
1279,
1987,
5357,
7955,
796,
366,
1495,
13,
22,
1
] |
What is the address for the customer with id 10? | SELECT T1.address_details FROM addresses AS T1 JOIN customer_addresses AS T2 ON T1.address_id = T2.address_id WHERE T2.customer_id = 10 | [
2061,
318,
262,
2209,
329,
262,
6491,
351,
4686,
838,
30,
46506,
309,
16,
13,
21975,
62,
36604,
16034,
9405,
7054,
309,
16,
32357,
1268,
6491,
62,
2860,
16746,
7054,
309,
17,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
17,
13,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2209,
329,
262,
6491,
351,
4686,
838,
30,
46506,
309,
16,
13,
21975,
62,
36604,
16034,
9405,
7054,
309,
16,
32357,
1268,
6491,
62,
2860,
16746,
7054,
309,
17,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
17,
13,
21... |
What is the Outcome of the Match played after 2003 with a Score of 6 0, 6 3? | SELECT "Outcome" FROM table_65594 WHERE "Year" > '2003' AND "Score" = '6–0, 6–3' | [
2061,
318,
262,
3806,
2958,
286,
262,
13225,
2826,
706,
5816,
351,
257,
15178,
286,
718,
657,
11,
718,
513,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
35916,
5824,
33411,
366,
17688,
1,
1875,
705,
16088,
6,
5357,
366,
26595,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3806,
2958,
286,
262,
13225,
2826,
706,
5816,
351,
257,
15178,
286,
718,
657,
11,
718,
513,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
35916,
5824,
33411,
366,
17688,
1,
1875,
705,
16088,
6,
5357,
366,
26595,
1,... |
Show all allergies with number of students affected. | SELECT allergy, COUNT(*) FROM has_allergy GROUP BY allergy | [
15307,
477,
36665,
351,
1271,
286,
2444,
5676,
13,
46506,
36197,
11,
327,
28270,
7,
28104,
16034,
468,
62,
439,
26079,
44441,
11050,
36197
] | [
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,
36665,
351,
1271,
286,
2444,
5676,
13,
46506,
36197,
11,
327,
28270,
7,
28104,
16034,
468,
62,
439,
26079,
44441,
11050,
36197
] |
Opponents of police, and a Venue of selayang municipal council stadium had what date? | SELECT "Date" FROM table_35763 WHERE "Opponents" = 'police' AND "Venue" = 'selayang municipal council stadium' | [
27524,
3906,
286,
1644,
11,
290,
257,
9932,
518,
286,
384,
10724,
648,
13474,
6745,
10308,
550,
644,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2327,
49641,
33411,
366,
27524,
3906,
1,
796,
705,
38191,
6,
5357,
366,
37522,
518,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27524,
3906,
286,
1644,
11,
290,
257,
9932,
518,
286,
384,
10724,
648,
13474,
6745,
10308,
550,
644,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2327,
49641,
33411,
366,
27524,
3906,
1,
796,
705,
38191,
6,
5357,
366,
37522,
518,
... |
Find duplicates of deleted posts.. | SELECT p.Id AS "post_link", p.Score, p.AnswerCount FROM Posts AS p INNER JOIN PostLinks AS l ON p.Id = l.PostId WHERE l.LinkTypeId = 3 AND (SELECT Posts.Id FROM Posts WHERE Posts.Id = l.RelatedPostId) IS NULL GROUP BY p.Id, p.Score, p.AnswerCount ORDER BY p.Score | [
16742,
14184,
16856,
286,
13140,
6851,
492,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
33706,
12332,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
31815,
7054,
300,
6177,
279,
13,
7390... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14184,
16856,
286,
13140,
6851,
492,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
26595,
11,
279,
13,
33706,
12332,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
31815,
7054,
300,
6177,
279,
13,
7390... |
give me the number of patients whose lab test name is troponin i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "Troponin I" | [
26535,
502,
262,
1271,
286,
3871,
3025,
2248,
1332,
1438,
318,
14673,
261,
259,
1312,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2248,
1332,
1438,
318,
14673,
261,
259,
1312,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... |
compared to last measured on the last icu visit, is heart rate of patient 7742 less than second to last measured on the last icu visit? | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7742) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.... | [
5589,
1144,
284,
938,
8630,
319,
262,
938,
14158,
84,
3187,
11,
318,
2612,
2494,
286,
5827,
8541,
3682,
1342,
621,
1218,
284,
938,
8630,
319,
262,
938,
14158,
84,
3187,
30,
46506,
357,
46506,
8262,
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... | [
5589,
1144,
284,
938,
8630,
319,
262,
938,
14158,
84,
3187,
11,
318,
2612,
2494,
286,
5827,
8541,
3682,
1342,
621,
1218,
284,
938,
8630,
319,
262,
938,
14158,
84,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
... |
When classes start next Winter , who is teaching MDE classes ? | SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instr... | [
2215,
6097,
923,
1306,
10633,
837,
508,
318,
7743,
337,
7206,
6097,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6097,
923,
1306,
10633,
837,
508,
318,
7743,
337,
7206,
6097,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.