instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
have there been any organisms found in the first microbiological stool test of patient 031-3507 on their last hospital visit?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3507' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi...
[ 14150, 612, 587, 597, 20296, 1043, 287, 262, 717, 24559, 2770, 38753, 1332, 286, 5827, 657, 3132, 12, 14877, 22, 319, 511, 938, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14150, 612, 587, 597, 20296, 1043, 287, 262, 717, 24559, 2770, 38753, 1332, 286, 5827, 657, 3132, 12, 14877, 22, 319, 511, 938, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, ...
How many episodes did David Jackson write and direct?
SELECT COUNT("Written by") FROM table_327 WHERE "Directed by" = 'David Jackson'
[ 2437, 867, 8640, 750, 3271, 6612, 3551, 290, 1277, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 34159, 33411, 366, 13470, 276, 416, 1, 796, 705, 11006, 6612, 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 ]
[ 2437, 867, 8640, 750, 3271, 6612, 3551, 290, 1277, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 34159, 33411, 366, 13470, 276, 416, 1, 796, 705, 11006, 6612, 6 ]
Can you tell me the Class (old) to 1868 that has the Quantity larger than 8?
SELECT "Class (old) to 1868" FROM table_65122 WHERE "Quantity" > '8'
[ 6090, 345, 1560, 502, 262, 5016, 357, 727, 8, 284, 1248, 3104, 326, 468, 262, 39789, 4025, 621, 807, 30, 46506, 366, 9487, 357, 727, 8, 284, 1248, 3104, 1, 16034, 3084, 62, 2996, 18376, 33411, 366, 31208, 1, 1875, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 5016, 357, 727, 8, 284, 1248, 3104, 326, 468, 262, 39789, 4025, 621, 807, 30, 46506, 366, 9487, 357, 727, 8, 284, 1248, 3104, 1, 16034, 3084, 62, 2996, 18376, 33411, 366, 31208, 1, 1875, 705, 23, 6 ]
What is the average rank of the match where offaly was the opposition and the total was greater than 9?
SELECT AVG("Rank") FROM table_65865 WHERE "Opposition" = 'offaly' AND "Total" > '9'
[ 2061, 318, 262, 2811, 4279, 286, 262, 2872, 810, 572, 3400, 373, 262, 5471, 290, 262, 2472, 373, 3744, 621, 860, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 38431, 2996, 33411, 366, 27524, 3507, 1, 796, 705, 2364, 3400, 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 ]
[ 2061, 318, 262, 2811, 4279, 286, 262, 2872, 810, 572, 3400, 373, 262, 5471, 290, 262, 2472, 373, 3744, 621, 860, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 38431, 2996, 33411, 366, 27524, 3507, 1, 796, 705, 2364, 3400, 6, ...
how many different species were released in south africa ?
SELECT COUNT(DISTINCT "species") FROM table_204_869 WHERE "country of origin" = 'south africa'
[ 4919, 867, 1180, 4693, 547, 2716, 287, 5366, 6580, 30997, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 35448, 4943, 16034, 3084, 62, 18638, 62, 23, 3388, 33411, 366, 19315, 286, 8159, 1, 796, 705, 35782, 6580, 30997, 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 ]
[ 4919, 867, 1180, 4693, 547, 2716, 287, 5366, 6580, 30997, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 35448, 4943, 16034, 3084, 62, 18638, 62, 23, 3388, 33411, 366, 19315, 286, 8159, 1, 796, 705, 35782, 6580, 30997, 6 ]
find the diagnosis icd9 code of subject id 2560.
SELECT diagnoses.icd9_code FROM diagnoses WHERE diagnoses.subject_id = "2560"
[ 19796, 262, 13669, 14158, 67, 24, 2438, 286, 2426, 4686, 1679, 1899, 13, 46506, 40567, 13, 291, 67, 24, 62, 8189, 16034, 40567, 33411, 40567, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19796, 262, 13669, 14158, 67, 24, 2438, 286, 2426, 4686, 1679, 1899, 13, 46506, 40567, 13, 291, 67, 24, 62, 8189, 16034, 40567, 33411, 40567, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
What is the number of seasons coached by Kathy Graham?
SELECT MIN("Seasons") FROM table_49118 WHERE "Name" = 'kathy graham'
[ 2061, 318, 262, 1271, 286, 7028, 31764, 416, 33726, 11520, 30, 46506, 20625, 7203, 4653, 2812, 4943, 16034, 3084, 62, 2920, 16817, 33411, 366, 5376, 1, 796, 705, 74, 10036, 7933, 2763, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 7028, 31764, 416, 33726, 11520, 30, 46506, 20625, 7203, 4653, 2812, 4943, 16034, 3084, 62, 2920, 16817, 33411, 366, 5376, 1, 796, 705, 74, 10036, 7933, 2763, 6 ]
how many patients are diagnosed for atrioventricular block complete and were suggested to replace the drug route?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Atrioventricular block, complete" AND prescriptions.route = "REPLACE"
[ 4919, 867, 3871, 389, 14641, 329, 379, 380, 709, 22317, 934, 2512, 1844, 290, 547, 5220, 284, 6330, 262, 2563, 6339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 14641, 329, 379, 380, 709, 22317, 934, 2512, 1844, 290, 547, 5220, 284, 6330, 262, 2563, 6339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
how many of the patients aged below 81 were treated with drug code prismab32k25000?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "81" AND prescriptions.formulary_drug_cd = "PRISMAB32K25000"
[ 4919, 867, 286, 262, 3871, 9722, 2174, 9773, 547, 5716, 351, 2563, 2438, 46475, 397, 2624, 74, 1495, 830, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 286, 262, 3871, 9722, 2174, 9773, 547, 5716, 351, 2563, 2438, 46475, 397, 2624, 74, 1495, 830, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 617...
Tell me the week for record of 0-1
SELECT week FROM table_name_19 WHERE record = "0-1"
[ 24446, 502, 262, 1285, 329, 1700, 286, 657, 12, 16, 46506, 1285, 16034, 3084, 62, 3672, 62, 1129, 33411, 1700, 796, 366, 15, 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 ]
[ 24446, 502, 262, 1285, 329, 1700, 286, 657, 12, 16, 46506, 1285, 16034, 3084, 62, 3672, 62, 1129, 33411, 1700, 796, 366, 15, 12, 16, 1 ]
If the spectral type is g1v, what is the total distance amount?
SELECT COUNT(distance___ly__) FROM table_1820752_1 WHERE spectral_type = "G1V"
[ 1532, 262, 37410, 2099, 318, 308, 16, 85, 11, 644, 318, 262, 2472, 5253, 2033, 30, 46506, 327, 28270, 7, 30246, 17569, 306, 834, 8, 16034, 3084, 62, 1507, 1238, 43665, 62, 16, 33411, 37410, 62, 4906, 796, 366, 38, 16, 53, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 37410, 2099, 318, 308, 16, 85, 11, 644, 318, 262, 2472, 5253, 2033, 30, 46506, 327, 28270, 7, 30246, 17569, 306, 834, 8, 16034, 3084, 62, 1507, 1238, 43665, 62, 16, 33411, 37410, 62, 4906, 796, 366, 38, 16, 53, 1 ]
what is the time/retired when the driver is toulo de graffenried?
SELECT time_retired FROM table_name_81 WHERE driver = "toulo de graffenried"
[ 10919, 318, 262, 640, 14, 1186, 1202, 618, 262, 4639, 318, 2819, 5439, 390, 7933, 46985, 2228, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 6659, 33411, 4639, 796, 366, 83, 2852, 78, 390, 7933, 46985, 2228, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14, 1186, 1202, 618, 262, 4639, 318, 2819, 5439, 390, 7933, 46985, 2228, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 6659, 33411, 4639, 796, 366, 83, 2852, 78, 390, 7933, 46985, 2228, 1 ]
how many championships does nippon sport science university have
SELECT "winner" FROM table_204_19 WHERE "university" = 'nippon sport science university'
[ 4919, 867, 27459, 857, 299, 3974, 261, 6332, 3783, 6403, 423, 46506, 366, 39791, 1, 16034, 3084, 62, 18638, 62, 1129, 33411, 366, 403, 1608, 1, 796, 705, 77, 3974, 261, 6332, 3783, 6403, 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 ]
[ 4919, 867, 27459, 857, 299, 3974, 261, 6332, 3783, 6403, 423, 46506, 366, 39791, 1, 16034, 3084, 62, 18638, 62, 1129, 33411, 366, 403, 1608, 1, 796, 705, 77, 3974, 261, 6332, 3783, 6403, 6 ]
is the value of wbc of patient 78076 last measured on the first hospital visit greater than its value first measured on the first hospital visit?
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 78076 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label ...
[ 271, 262, 1988, 286, 266, 15630, 286, 5827, 41287, 4304, 938, 8630, 319, 262, 717, 4436, 3187, 3744, 621, 663, 1988, 717, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 262, 1988, 286, 266, 15630, 286, 5827, 41287, 4304, 938, 8630, 319, 262, 717, 4436, 3187, 3744, 621, 663, 1988, 717, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33...
Who drove the grid 10 car?
SELECT "Driver" FROM table_77757 WHERE "Grid" = '10'
[ 8241, 10357, 262, 10706, 838, 1097, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 3324, 39251, 33411, 366, 41339, 1, 796, 705, 940, 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 ]
[ 8241, 10357, 262, 10706, 838, 1097, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 3324, 39251, 33411, 366, 41339, 1, 796, 705, 940, 6 ]
What is 1st Member, when Summoned is '14 July 1302'?
SELECT "1st member" FROM table_61941 WHERE "Summoned" = '14 july 1302'
[ 2061, 318, 352, 301, 10239, 11, 618, 19515, 276, 318, 705, 1415, 2901, 11323, 17, 30960, 46506, 366, 16, 301, 2888, 1, 16034, 3084, 62, 21, 1129, 3901, 33411, 366, 13065, 2144, 276, 1, 796, 705, 1415, 474, 2062, 11323, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 352, 301, 10239, 11, 618, 19515, 276, 318, 705, 1415, 2901, 11323, 17, 30960, 46506, 366, 16, 301, 2888, 1, 16034, 3084, 62, 21, 1129, 3901, 33411, 366, 13065, 2144, 276, 1, 796, 705, 1415, 474, 2062, 11323, 17, 6 ]
What is the elena basescu when the poling firm of gallup?
SELECT elena_băsescu FROM table_name_98 WHERE polling_firm = "gallup"
[ 2061, 318, 262, 1288, 8107, 12536, 27399, 618, 262, 755, 278, 4081, 286, 7976, 929, 30, 46506, 1288, 8107, 62, 65, 128, 225, 82, 3798, 84, 16034, 3084, 62, 3672, 62, 4089, 33411, 13985, 62, 69, 2533, 796, 366, 39580, 929, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1288, 8107, 12536, 27399, 618, 262, 755, 278, 4081, 286, 7976, 929, 30, 46506, 1288, 8107, 62, 65, 128, 225, 82, 3798, 84, 16034, 3084, 62, 3672, 62, 4089, 33411, 13985, 62, 69, 2533, 796, 366, 39580, 929, 1 ]
what are the only two types with a crop factor over 20 ?
SELECT "type" FROM table_203_356 WHERE "crop factor" > 20
[ 10919, 389, 262, 691, 734, 3858, 351, 257, 13833, 5766, 625, 1160, 5633, 46506, 366, 4906, 1, 16034, 3084, 62, 22416, 62, 32066, 33411, 366, 31476, 5766, 1, 1875, 1160 ]
[ 1, 1, 1, 1, 1, 1, 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, 691, 734, 3858, 351, 257, 13833, 5766, 625, 1160, 5633, 46506, 366, 4906, 1, 16034, 3084, 62, 22416, 62, 32066, 33411, 366, 31476, 5766, 1, 1875, 1160 ]
How many viewers are the when the draw is 3?
SELECT MAX("Viewers") FROM table_30213 WHERE "Draw" = '3'
[ 2437, 867, 10209, 389, 262, 618, 262, 3197, 318, 513, 30, 46506, 25882, 7203, 7680, 364, 4943, 16034, 3084, 62, 22709, 1485, 33411, 366, 25302, 1, 796, 705, 18, 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, 10209, 389, 262, 618, 262, 3197, 318, 513, 30, 46506, 25882, 7203, 7680, 364, 4943, 16034, 3084, 62, 22709, 1485, 33411, 366, 25302, 1, 796, 705, 18, 6 ]
What year was the school with green and white colors founded?
SELECT MAX("Founded") FROM table_28181 WHERE "Color" = 'Green and White'
[ 2061, 614, 373, 262, 1524, 351, 4077, 290, 2330, 7577, 9393, 30, 46506, 25882, 7203, 37, 6302, 4943, 16034, 3084, 62, 2078, 27057, 33411, 366, 10258, 1, 796, 705, 13719, 290, 2635, 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, 614, 373, 262, 1524, 351, 4077, 290, 2330, 7577, 9393, 30, 46506, 25882, 7203, 37, 6302, 4943, 16034, 3084, 62, 2078, 27057, 33411, 366, 10258, 1, 796, 705, 13719, 290, 2635, 6 ]
How many of the patients with dysphagia nec were born before the year 2031?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2031" AND diagnoses.short_title = "Dysphagia NEC"
[ 2437, 867, 286, 262, 3871, 351, 50111, 363, 544, 27576, 547, 4642, 878, 262, 614, 1160, 3132, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 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...
[ 2437, 867, 286, 262, 3871, 351, 50111, 363, 544, 27576, 547, 4642, 878, 262, 614, 1160, 3132, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13...
Who was the celebrity who exited on day 13?
SELECT celebrity FROM table_name_35 WHERE exited = "day 13"
[ 8241, 373, 262, 16527, 508, 34710, 319, 1110, 1511, 30, 46506, 16527, 16034, 3084, 62, 3672, 62, 2327, 33411, 34710, 796, 366, 820, 1511, 1 ]
[ 1, 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, 16527, 508, 34710, 319, 1110, 1511, 30, 46506, 16527, 16034, 3084, 62, 3672, 62, 2327, 33411, 34710, 796, 366, 820, 1511, 1 ]
what is the cheapest flight from LONG BEACH to MEMPHIS
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'LONG BEACH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CIT...
[ 10919, 318, 262, 28918, 5474, 422, 44533, 9348, 16219, 284, 35153, 11909, 1797, 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, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28918, 5474, 422, 44533, 9348, 16219, 284, 35153, 11909, 1797, 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, 316...
What team was the home team on 27 june 1981, at vfl park?
SELECT home_team FROM table_name_88 WHERE date = "27 june 1981" AND venue = "vfl park"
[ 2061, 1074, 373, 262, 1363, 1074, 319, 2681, 474, 1726, 14745, 11, 379, 410, 2704, 3952, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 3459, 33411, 3128, 796, 366, 1983, 474, 1726, 14745, 1, 5357, 14359, 796, 366, 85, 2704, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 1363, 1074, 319, 2681, 474, 1726, 14745, 11, 379, 410, 2704, 3952, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 3459, 33411, 3128, 796, 366, 1983, 474, 1726, 14745, 1, 5357, 14359, 796, 366, 85, 2704, ...
Which Pinyin has a Chinese of ?
SELECT "Pinyin" FROM table_9081 WHERE "Chinese" = '臺南'
[ 13828, 350, 3541, 259, 468, 257, 3999, 286, 5633, 46506, 366, 47, 3541, 259, 1, 16034, 3084, 62, 24, 2919, 16, 33411, 366, 23604, 1, 796, 705, 164, 229, 118, 39355, 245, 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 ]
[ 13828, 350, 3541, 259, 468, 257, 3999, 286, 5633, 46506, 366, 47, 3541, 259, 1, 16034, 3084, 62, 24, 2919, 16, 33411, 366, 23604, 1, 796, 705, 164, 229, 118, 39355, 245, 6 ]
What is the ISSN number of a publication range of 1984-?
SELECT "ISSN" FROM table_36336 WHERE "Publication range" = '1984-'
[ 2061, 318, 262, 3180, 15571, 1271, 286, 257, 9207, 2837, 286, 12844, 12, 30, 46506, 366, 1797, 15571, 1, 16034, 3084, 62, 2623, 29211, 33411, 366, 15202, 341, 2837, 1, 796, 705, 28296, 19355 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3180, 15571, 1271, 286, 257, 9207, 2837, 286, 12844, 12, 30, 46506, 366, 1797, 15571, 1, 16034, 3084, 62, 2623, 29211, 33411, 366, 15202, 341, 2837, 1, 796, 705, 28296, 19355 ]
what is the total number of albums listed ?
SELECT COUNT("album") FROM table_204_243
[ 10919, 318, 262, 2472, 1271, 286, 16788, 5610, 5633, 46506, 327, 28270, 7203, 40916, 4943, 16034, 3084, 62, 18638, 62, 26660 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 1271, 286, 16788, 5610, 5633, 46506, 327, 28270, 7203, 40916, 4943, 16034, 3084, 62, 18638, 62, 26660 ]
What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25 in 10.1 seconds?
SELECT AVG("Max. height (ft)") FROM table_36042 WHERE "Time to ft (m) at 25\u00b0 (seconds)" = '10.1' AND "Shell (lb)" < '12.5'
[ 2061, 318, 262, 2811, 5415, 6001, 286, 262, 7582, 4833, 621, 1105, 13, 20, 18360, 326, 4251, 663, 5415, 6001, 379, 1679, 287, 838, 13, 16, 4201, 30, 46506, 35224, 7203, 11518, 13, 6001, 357, 701, 8, 4943, 16034, 3084, 62, 15277, 368...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 5415, 6001, 286, 262, 7582, 4833, 621, 1105, 13, 20, 18360, 326, 4251, 663, 5415, 6001, 379, 1679, 287, 838, 13, 16, 4201, 30, 46506, 35224, 7203, 11518, 13, 6001, 357, 701, 8, 4943, 16034, 3084, 62, 15277, 368...
tell me the icu stay id of the patient with patient id 2560.
SELECT prescriptions.icustay_id FROM prescriptions WHERE prescriptions.subject_id = "2560"
[ 33331, 502, 262, 14158, 84, 2652, 4686, 286, 262, 5827, 351, 5827, 4686, 1679, 1899, 13, 46506, 34092, 13, 291, 436, 323, 62, 312, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14158, 84, 2652, 4686, 286, 262, 5827, 351, 5827, 4686, 1679, 1899, 13, 46506, 34092, 13, 291, 436, 323, 62, 312, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
Scores of users in tags.
WITH scorestags_cte AS (SELECT pt.TagId AS TagId, p.OwnerUserId AS uid, p.OwnerDisplayName AS udn, SUM(p.Score) AS sco, COUNT(p.Id) AS num FROM Posts AS p INNER JOIN Posts AS q ON q.Id = p.ParentId INNER JOIN PostTags AS pt ON q.Id = pt.PostId WHERE (p.CommunityOwnedDate IS NULL) GROUP BY pt.TagId, p.OwnerUserId, p.Own...
[ 3351, 2850, 286, 2985, 287, 15940, 13, 54, 10554, 4776, 301, 3775, 62, 310, 68, 7054, 357, 46506, 42975, 13, 24835, 7390, 7054, 17467, 7390, 11, 279, 13, 42419, 12982, 7390, 7054, 334, 312, 11, 279, 13, 42419, 23114, 5376, 7054, 334, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3351, 2850, 286, 2985, 287, 15940, 13, 54, 10554, 4776, 301, 3775, 62, 310, 68, 7054, 357, 46506, 42975, 13, 24835, 7390, 7054, 17467, 7390, 11, 279, 13, 42419, 12982, 7390, 7054, 334, 312, 11, 279, 13, 42419, 23114, 5376, 7054, 334, ...
What is the average of credit value of courses with more than one prerequisite for each department? Return a bar chart, and could you rank x axis in asc order?
SELECT dept_name, AVG(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name ORDER BY dept_name
[ 2061, 318, 262, 2811, 286, 3884, 1988, 286, 10902, 351, 517, 621, 530, 43119, 329, 1123, 5011, 30, 8229, 257, 2318, 8262, 11, 290, 714, 345, 4279, 2124, 16488, 287, 10570, 1502, 30, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 286, 3884, 1988, 286, 10902, 351, 517, 621, 530, 43119, 329, 1123, 5011, 30, 8229, 257, 2318, 8262, 11, 290, 714, 345, 4279, 2124, 16488, 287, 10570, 1502, 30, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696...
in what year was galen r. clagett first elected into the western maryland delegation ?
SELECT "first elected" FROM table_203_247 WHERE "delegate" = 'galen r. clagett'
[ 259, 644, 614, 373, 9426, 268, 374, 13, 537, 363, 3087, 717, 7018, 656, 262, 8830, 285, 560, 1044, 22635, 5633, 46506, 366, 11085, 7018, 1, 16034, 3084, 62, 22416, 62, 23753, 33411, 366, 2934, 34637, 1, 796, 705, 13528, 268, 374, 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 ]
[ 259, 644, 614, 373, 9426, 268, 374, 13, 537, 363, 3087, 717, 7018, 656, 262, 8830, 285, 560, 1044, 22635, 5633, 46506, 366, 11085, 7018, 1, 16034, 3084, 62, 22416, 62, 23753, 33411, 366, 2934, 34637, 1, 796, 705, 13528, 268, 374, 13...
Name the Series with a Title of elmer's pet rabbit?
SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit"
[ 5376, 262, 7171, 351, 257, 11851, 286, 1288, 647, 338, 4273, 22746, 30, 46506, 2168, 16034, 3084, 62, 3672, 62, 4846, 33411, 3670, 796, 366, 417, 647, 338, 4273, 22746, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 7171, 351, 257, 11851, 286, 1288, 647, 338, 4273, 22746, 30, 46506, 2168, 16034, 3084, 62, 3672, 62, 4846, 33411, 3670, 796, 366, 417, 647, 338, 4273, 22746, 1 ]
Which Points have a Game smaller than 70, and a Score of 4 8?
SELECT MIN(points) FROM table_name_85 WHERE game < 70 AND score = "4–8"
[ 13828, 11045, 423, 257, 3776, 4833, 621, 4317, 11, 290, 257, 15178, 286, 604, 807, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5332, 33411, 983, 1279, 4317, 5357, 4776, 796, 366, 19, 1906, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 11045, 423, 257, 3776, 4833, 621, 4317, 11, 290, 257, 15178, 286, 604, 807, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 5332, 33411, 983, 1279, 4317, 5357, 4776, 796, 366, 19, 1906, 23, 1 ]
Do other leagues have referee name records outside of Scotland and England?
SELECT COUNT(league) FROM football_data WHERE country <> "Scotland" AND country <> "England" AND referee <> ""
[ 5211, 584, 16861, 423, 22957, 1438, 4406, 2354, 286, 8838, 290, 4492, 30, 46506, 327, 28270, 7, 19316, 8, 16034, 4346, 62, 7890, 33411, 1499, 1279, 29, 366, 47230, 1, 5357, 1499, 1279, 29, 366, 39163, 1, 5357, 22957, 1279, 29, 13538 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5211, 584, 16861, 423, 22957, 1438, 4406, 2354, 286, 8838, 290, 4492, 30, 46506, 327, 28270, 7, 19316, 8, 16034, 4346, 62, 7890, 33411, 1499, 1279, 29, 366, 47230, 1, 5357, 1499, 1279, 29, 366, 39163, 1, 5357, 22957, 1279, 29, 13538 ]
What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, and a 2009 less than 392?
SELECT COUNT(2008) FROM table_name_53 WHERE 2006 > 322.7 AND 2011 = 353.9 AND 2009 < 392
[ 2061, 318, 262, 2472, 3648, 1988, 351, 257, 4793, 1988, 3744, 621, 38831, 13, 22, 11, 257, 47567, 13, 24, 287, 2813, 11, 290, 257, 3717, 1342, 621, 48207, 30, 46506, 327, 28270, 7, 11528, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 3648, 1988, 351, 257, 4793, 1988, 3744, 621, 38831, 13, 22, 11, 257, 47567, 13, 24, 287, 2813, 11, 290, 257, 3717, 1342, 621, 48207, 30, 46506, 327, 28270, 7, 11528, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, ...
datasets used for textual entailment
SELECT DISTINCT dataset.datasetid FROM dataset, keyphrase, paperdataset, paperkeyphrase WHERE keyphrase.keyphrasename = 'textual entailment' AND paperdataset.datasetid = dataset.datasetid AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paperkeyphrase.paperid = paperdataset.paperid
[ 19608, 292, 1039, 973, 329, 40577, 39793, 434, 46506, 360, 8808, 1268, 4177, 27039, 13, 19608, 292, 316, 312, 16034, 27039, 11, 1994, 34675, 11, 3348, 19608, 292, 316, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 1245...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19608, 292, 1039, 973, 329, 40577, 39793, 434, 46506, 360, 8808, 1268, 4177, 27039, 13, 19608, 292, 316, 312, 16034, 27039, 11, 1994, 34675, 11, 3348, 19608, 292, 316, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 1245...
information on flights from PITTSBURGH to PHILADELPHIA
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 = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHI...
[ 17018, 319, 13956, 422, 49040, 4694, 38926, 17511, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17018, 319, 13956, 422, 49040, 4694, 38926, 17511, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62...
Name the year for hercules
SELECT "Year made" FROM table_56211 WHERE "Class" = 'hercules'
[ 5376, 262, 614, 329, 607, 13930, 46506, 366, 17688, 925, 1, 16034, 3084, 62, 3980, 21895, 33411, 366, 9487, 1, 796, 705, 372, 13930, 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 ]
[ 5376, 262, 614, 329, 607, 13930, 46506, 366, 17688, 925, 1, 16034, 3084, 62, 3980, 21895, 33411, 366, 9487, 1, 796, 705, 372, 13930, 6 ]
With a house edge of 3.53% and a Non-Suited Matched of 3:1, name the Double Non-Suited Match.
SELECT Double AS non_suited_match FROM table_name_99 WHERE non_suited_match = "3:1" AND house_edge = "3.53%"
[ 3152, 257, 2156, 5743, 286, 513, 13, 4310, 4, 290, 257, 8504, 12, 5606, 863, 6550, 1740, 286, 513, 25, 16, 11, 1438, 262, 11198, 8504, 12, 5606, 863, 13225, 13, 46506, 11198, 7054, 1729, 62, 2385, 863, 62, 15699, 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...
[ 3152, 257, 2156, 5743, 286, 513, 13, 4310, 4, 290, 257, 8504, 12, 5606, 863, 6550, 1740, 286, 513, 25, 16, 11, 1438, 262, 11198, 8504, 12, 5606, 863, 13225, 13, 46506, 11198, 7054, 1729, 62, 2385, 863, 62, 15699, 16034, 3084, 62, ...
What is the IDOE Profile in North Manchester?
SELECT "IDOE Profile" FROM table_23355 WHERE "City / Town" = 'North Manchester'
[ 2061, 318, 262, 4522, 27799, 13118, 287, 2258, 9502, 30, 46506, 366, 2389, 27799, 13118, 1, 16034, 3084, 62, 1954, 28567, 33411, 366, 14941, 1220, 8329, 1, 796, 705, 14157, 9502, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4522, 27799, 13118, 287, 2258, 9502, 30, 46506, 366, 2389, 27799, 13118, 1, 16034, 3084, 62, 1954, 28567, 33411, 366, 14941, 1220, 8329, 1, 796, 705, 14157, 9502, 6 ]
What is the % (1960) of the county with a % (2040) of 3.4?
SELECT COUNT("% (1960)") FROM table_32672 WHERE "% (2040)" = '3.4'
[ 2061, 318, 262, 4064, 357, 38503, 8, 286, 262, 7968, 351, 257, 4064, 357, 1238, 1821, 8, 286, 513, 13, 19, 30, 46506, 327, 28270, 7203, 4, 357, 38503, 8, 4943, 16034, 3084, 62, 39195, 4761, 33411, 36521, 357, 1238, 1821, 16725, 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 ]
[ 2061, 318, 262, 4064, 357, 38503, 8, 286, 262, 7968, 351, 257, 4064, 357, 1238, 1821, 8, 286, 513, 13, 19, 30, 46506, 327, 28270, 7203, 4, 357, 38503, 8, 4943, 16034, 3084, 62, 39195, 4761, 33411, 36521, 357, 1238, 1821, 16725, 796,...
Changes in technologies in UK.
SELECT DATE(CreationDate) AS "date", COUNT(*) FROM Posts WHERE PostTypeId = 1 AND (Tags LIKE '%<java>%' AND Tags LIKE '%<.net>%' AND Tags LIKE '%<node.js>%' AND Tags LIKE '%<php>%' AND Tags LIKE '%<python>%' AND Tags LIKE '%<ruby>%' AND Tags LIKE '%<wordpress>%') GROUP BY DATE(CreationDate) ORDER BY DATE(CreationDate)
[ 29238, 287, 8514, 287, 3482, 13, 46506, 360, 6158, 7, 12443, 341, 10430, 8, 7054, 366, 4475, 1600, 327, 28270, 7, 28104, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 357, 36142, 34178, 705, 4, 27, 12355, 29, 4, 6, 5357, 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...
[ 29238, 287, 8514, 287, 3482, 13, 46506, 360, 6158, 7, 12443, 341, 10430, 8, 7054, 366, 4475, 1600, 327, 28270, 7, 28104, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 357, 36142, 34178, 705, 4, 27, 12355, 29, 4, 6, 5357, 44...
What is the score when the attendance shows TBC, and Sidley United was the opponent?
SELECT "Score" FROM table_48123 WHERE "Attendance" = 'tbc' AND "Opponent" = 'sidley united'
[ 2061, 318, 262, 4776, 618, 262, 14858, 2523, 309, 2749, 11, 290, 15686, 1636, 1578, 373, 262, 6125, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2780, 10163, 33411, 366, 8086, 437, 590, 1, 796, 705, 83, 15630, 6, 5357, 366, 27524, 347...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 618, 262, 14858, 2523, 309, 2749, 11, 290, 15686, 1636, 1578, 373, 262, 6125, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2780, 10163, 33411, 366, 8086, 437, 590, 1, 796, 705, 83, 15630, 6, 5357, 366, 27524, 347...
Total Rep and Rep Distribution.
SELECT Reputation FROM Users ORDER BY Reputation DESC
[ 14957, 1432, 290, 1432, 27484, 13, 46506, 1432, 7094, 16034, 18987, 38678, 11050, 1432, 7094, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14957, 1432, 290, 1432, 27484, 13, 46506, 1432, 7094, 16034, 18987, 38678, 11050, 1432, 7094, 22196, 34 ]
What is the car # of the Chevrolet that complete 363 laps?
SELECT COUNT(car__number) FROM table_name_68 WHERE make = "chevrolet" AND laps = 363
[ 2061, 318, 262, 1097, 1303, 286, 262, 35398, 326, 1844, 49327, 24590, 30, 46506, 327, 28270, 7, 7718, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 787, 796, 366, 49916, 33087, 1, 5357, 24590, 796, 49327 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1097, 1303, 286, 262, 35398, 326, 1844, 49327, 24590, 30, 46506, 327, 28270, 7, 7718, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 787, 796, 366, 49916, 33087, 1, 5357, 24590, 796, 49327 ]
give me the number of patients whose discharge location is home and procedure short title is contr cerebr arteriogram?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME" AND procedures.short_title = "Contr cerebr arteriogram"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 290, 8771, 1790, 3670, 318, 3445, 6736, 1671, 30675, 72, 21857, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 290, 8771, 1790, 3670, 318, 3445, 6736, 1671, 30675, 72, 21857, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3...
what year was cryptogramophon released
SELECT "Year" FROM table_6019 WHERE "Label" = 'cryptogramophon'
[ 10919, 614, 373, 8194, 21857, 48982, 2716, 46506, 366, 17688, 1, 16034, 3084, 62, 21, 30484, 33411, 366, 33986, 1, 796, 705, 29609, 21857, 48982, 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 ]
[ 10919, 614, 373, 8194, 21857, 48982, 2716, 46506, 366, 17688, 1, 16034, 3084, 62, 21, 30484, 33411, 366, 33986, 1, 796, 705, 29609, 21857, 48982, 6 ]
What is the score of the team that plays in lake oval?
SELECT "Away team score" FROM table_32354 WHERE "Venue" = 'lake oval'
[ 2061, 318, 262, 4776, 286, 262, 1074, 326, 5341, 287, 13546, 41186, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 32637, 4051, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 1074, 326, 5341, 287, 13546, 41186, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 32637, 4051, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 6 ]
What was the smallest production code for August 11's original episode?
SELECT MIN("Production code") FROM table_28007 WHERE "Original airdate" = 'August 11'
[ 2061, 373, 262, 18197, 3227, 2438, 329, 2932, 1367, 338, 2656, 4471, 30, 46506, 20625, 7203, 35027, 2438, 4943, 16034, 3084, 62, 2078, 25816, 33411, 366, 20556, 257, 1447, 378, 1, 796, 705, 17908, 1367, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 18197, 3227, 2438, 329, 2932, 1367, 338, 2656, 4471, 30, 46506, 20625, 7203, 35027, 2438, 4943, 16034, 3084, 62, 2078, 25816, 33411, 366, 20556, 257, 1447, 378, 1, 796, 705, 17908, 1367, 6 ]
What season has a 6th north finish and more than 21 points?
SELECT season FROM table_name_18 WHERE points > 21 AND finish = "6th north"
[ 2061, 1622, 468, 257, 718, 400, 5093, 5461, 290, 517, 621, 2310, 2173, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1507, 33411, 2173, 1875, 2310, 5357, 5461, 796, 366, 21, 400, 5093, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 468, 257, 718, 400, 5093, 5461, 290, 517, 621, 2310, 2173, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1507, 33411, 2173, 1875, 2310, 5357, 5461, 796, 366, 21, 400, 5093, 1 ]
since 113 days ago, list the monthly average sao2 of patient 031-11804.
SELECT AVG(vitalperiodic.sao2) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-11804')) AND NOT vitalperiodic.sao2 IS NULL AND DATET...
[ 20777, 17318, 1528, 2084, 11, 1351, 262, 9651, 2811, 473, 78, 17, 286, 5827, 657, 3132, 12, 1157, 36088, 13, 46506, 35224, 7, 85, 1287, 41007, 291, 13, 82, 5488, 17, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 17318, 1528, 2084, 11, 1351, 262, 9651, 2811, 473, 78, 17, 286, 5827, 657, 3132, 12, 1157, 36088, 13, 46506, 35224, 7, 85, 1287, 41007, 291, 13, 82, 5488, 17, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20...
tell me the number of patients less than 43 years who have methocarbamol prescription.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "43" AND prescriptions.drug = "Methocarbamol"
[ 33331, 502, 262, 1271, 286, 3871, 1342, 621, 5946, 812, 508, 423, 11248, 420, 38039, 321, 349, 15077, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 1342, 621, 5946, 812, 508, 423, 11248, 420, 38039, 321, 349, 15077, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 1...
What city is the Stadium est dio dr. magalh es pessoa in?
SELECT city FROM table_name_86 WHERE stadium = "estádio dr. magalhães pessoa"
[ 2061, 1748, 318, 262, 10499, 1556, 288, 952, 1553, 13, 2153, 282, 71, 1658, 279, 408, 12162, 287, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 4521, 33411, 10308, 796, 366, 395, 6557, 67, 952, 1553, 13, 2153, 282, 71, 26102, 274, 279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 318, 262, 10499, 1556, 288, 952, 1553, 13, 2153, 282, 71, 1658, 279, 408, 12162, 287, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 4521, 33411, 10308, 796, 366, 395, 6557, 67, 952, 1553, 13, 2153, 282, 71, 26102, 274, 279...
What is the navy for middleton with a home port of portsmouth after 1983?
SELECT navy FROM table_name_84 WHERE home_port = "portsmouth" AND commissioned > 1983 AND name = "middleton"
[ 2061, 318, 262, 23956, 329, 3504, 1122, 351, 257, 1363, 2493, 286, 14090, 14775, 706, 13540, 30, 46506, 23956, 16034, 3084, 62, 3672, 62, 5705, 33411, 1363, 62, 634, 796, 366, 3742, 14775, 1, 5357, 20462, 1875, 13540, 5357, 1438, 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 ]
[ 2061, 318, 262, 23956, 329, 3504, 1122, 351, 257, 1363, 2493, 286, 14090, 14775, 706, 13540, 30, 46506, 23956, 16034, 3084, 62, 3672, 62, 5705, 33411, 1363, 62, 634, 796, 366, 3742, 14775, 1, 5357, 20462, 1875, 13540, 5357, 1438, 796, ...
What is the production code that was written by matt robinson?
SELECT "Production code" FROM table_3994 WHERE "Written by" = 'Matt Robinson'
[ 2061, 318, 262, 3227, 2438, 326, 373, 3194, 416, 23963, 3857, 7899, 30, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 28771, 19, 33411, 366, 25354, 416, 1, 796, 705, 13448, 12652, 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, 3227, 2438, 326, 373, 3194, 416, 23963, 3857, 7899, 30, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 28771, 19, 33411, 366, 25354, 416, 1, 796, 705, 13448, 12652, 6 ]
What was the average number of 'goals for', scored in the club Real Oviedo that had a 'goal difference' lower than -16 and fewer than 9 wins?
SELECT AVG("Goals for") FROM table_68167 WHERE "Goal Difference" < '-16' AND "Club" = 'real oviedo' AND "Wins" < '9'
[ 2061, 373, 262, 2811, 1271, 286, 705, 2188, 874, 329, 3256, 7781, 287, 262, 3430, 6416, 46941, 798, 78, 326, 550, 257, 705, 35231, 3580, 6, 2793, 621, 532, 1433, 290, 7380, 621, 860, 7864, 30, 46506, 35224, 7203, 5247, 874, 329, 494...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 705, 2188, 874, 329, 3256, 7781, 287, 262, 3430, 6416, 46941, 798, 78, 326, 550, 257, 705, 35231, 3580, 6, 2793, 621, 532, 1433, 290, 7380, 621, 860, 7864, 30, 46506, 35224, 7203, 5247, 874, 329, 494...
What is the Date of Catalogue number 602517739468?
SELECT date FROM table_name_90 WHERE catalogue = "602517739468"
[ 2061, 318, 262, 7536, 286, 16758, 5119, 1271, 3126, 1495, 22413, 34626, 3104, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3829, 33411, 34614, 796, 366, 1899, 1495, 22413, 34626, 3104, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 286, 16758, 5119, 1271, 3126, 1495, 22413, 34626, 3104, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3829, 33411, 34614, 796, 366, 1899, 1495, 22413, 34626, 3104, 1 ]
Find the name of bank branch that provided the greatest total amount of loans to customers with credit score is less than 100.
SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id = T2.branch_id JOIN customer AS T3 ON T1.cust_id = T3.cust_id WHERE T3.credit_score < 100 GROUP BY T2.bname ORDER BY SUM(T1.amount) DESC LIMIT 1
[ 16742, 262, 1438, 286, 3331, 8478, 326, 2810, 262, 6000, 2472, 2033, 286, 10021, 284, 4297, 351, 3884, 4776, 318, 1342, 621, 1802, 13, 46506, 309, 17, 13, 65, 3672, 16034, 8063, 7054, 309, 16, 32357, 1268, 3331, 7054, 309, 17, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1438, 286, 3331, 8478, 326, 2810, 262, 6000, 2472, 2033, 286, 10021, 284, 4297, 351, 3884, 4776, 318, 1342, 621, 1802, 13, 46506, 309, 17, 13, 65, 3672, 16034, 8063, 7054, 309, 16, 32357, 1268, 3331, 7054, 309, 17, 6177, ...
What is the highest Extras with an E.R. of 4.59, and more than 101 Runs Conceded?
SELECT MAX(extras) FROM table_name_9 WHERE er = 4.59 AND runs_conceded > 101
[ 2061, 318, 262, 4511, 43620, 351, 281, 412, 13, 49, 13, 286, 604, 13, 3270, 11, 290, 517, 621, 8949, 44743, 1482, 771, 276, 30, 46506, 25882, 7, 2302, 8847, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1931, 796, 604, 13, 3270, 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, 4511, 43620, 351, 281, 412, 13, 49, 13, 286, 604, 13, 3270, 11, 290, 517, 621, 8949, 44743, 1482, 771, 276, 30, 46506, 25882, 7, 2302, 8847, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1931, 796, 604, 13, 3270, 5357, ...
What was the place when the score was 70-69-74=213?
SELECT place FROM table_name_12 WHERE score = 70 - 69 - 74 = 213
[ 2061, 373, 262, 1295, 618, 262, 4776, 373, 4317, 12, 3388, 12, 4524, 28, 26427, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1065, 33411, 4776, 796, 4317, 532, 8644, 532, 8915, 796, 28658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 618, 262, 4776, 373, 4317, 12, 3388, 12, 4524, 28, 26427, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1065, 33411, 4776, 796, 4317, 532, 8644, 532, 8915, 796, 28658 ]
For those employees who did not have any job in the past, show me about the distribution of hire_date and the sum of salary bin hire_date by weekday in a bar chart, I want to sort y axis in descending order.
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(SALARY) DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 314, 765, 284, 3297, 331, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 314, 765, 284, 3297, 331, ...
when was patient 25733 prescribed for the last time for a drug on their current hospital encounter?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25733 AND admissions.dischtime IS NULL) ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 373, 5827, 36100, 2091, 14798, 329, 262, 938, 640, 329, 257, 2563, 319, 511, 1459, 4436, 8791, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 36100, 2091, 14798, 329, 262, 938, 640, 329, 257, 2563, 319, 511, 1459, 4436, 8791, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 31...
What winner has silence-lotto as the team classification?
SELECT winner FROM table_name_49 WHERE team_classification = "silence-lotto"
[ 2061, 8464, 468, 9550, 12, 75, 17631, 355, 262, 1074, 17923, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 2920, 33411, 1074, 62, 4871, 2649, 796, 366, 18217, 594, 12, 75, 17631, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8464, 468, 9550, 12, 75, 17631, 355, 262, 1074, 17923, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 2920, 33411, 1074, 62, 4871, 2649, 796, 366, 18217, 594, 12, 75, 17631, 1 ]
What's the total grid for someone with a time/retire of +44.831
SELECT COUNT("Grid") FROM table_35602 WHERE "Time/Retired" = '+44.831'
[ 2061, 338, 262, 2472, 10706, 329, 2130, 351, 257, 640, 14, 1186, 557, 286, 1343, 2598, 13, 23, 3132, 46506, 327, 28270, 7203, 41339, 4943, 16034, 3084, 62, 2327, 31418, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 2598, 13, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2472, 10706, 329, 2130, 351, 257, 640, 14, 1186, 557, 286, 1343, 2598, 13, 23, 3132, 46506, 327, 28270, 7203, 41339, 4943, 16034, 3084, 62, 2327, 31418, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 2598, 13, 23...
i need a flight from PITTSBURGH to LOS ANGELES thursday evening
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 = 'LOS ANGELES' AND date_day.day_number = 24 AND date_day.month_number = 5 ...
[ 72, 761, 257, 5474, 422, 49040, 4694, 38926, 17511, 284, 406, 2640, 44892, 1546, 294, 3479, 6180, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 257, 5474, 422, 49040, 4694, 38926, 17511, 284, 406, 2640, 44892, 1546, 294, 3479, 6180, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
Show all cities and corresponding number of students Plot them as bar chart, and could you order X-axis in descending order?
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code DESC
[ 15307, 477, 4736, 290, 11188, 1271, 286, 2444, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 1502, 1395, 12, 22704, 287, 31491, 1502, 30, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 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 ]
[ 15307, 477, 4736, 290, 11188, 1271, 286, 2444, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 1502, 1395, 12, 22704, 287, 31491, 1502, 30, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 3...
Tag wikis with old PHP links.
SELECT DISTINCT Tags.Id, Tags.TagName, 'site://tags/' + Tags.TagName + '/info|Url' AS Url, LENGTH(Posts.Body) FROM Tags LEFT JOIN Posts ON Posts.Id = Tags.WikiPostId OR Posts.Id = Tags.ExcerptPostId WHERE (LOWER(Posts.Body) LIKE '%http://php.net%' OR LOWER(Posts.Body) LIKE '%http://__.php.net%' OR LOWER(Posts.Body) LIK...
[ 24835, 47145, 271, 351, 1468, 19599, 6117, 13, 46506, 360, 8808, 1268, 4177, 44789, 13, 7390, 11, 44789, 13, 24835, 5376, 11, 705, 15654, 1378, 31499, 14, 6, 1343, 44789, 13, 24835, 5376, 1343, 31051, 10951, 91, 28165, 6, 7054, 8799, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24835, 47145, 271, 351, 1468, 19599, 6117, 13, 46506, 360, 8808, 1268, 4177, 44789, 13, 7390, 11, 44789, 13, 24835, 5376, 11, 705, 15654, 1378, 31499, 14, 6, 1343, 44789, 13, 24835, 5376, 1343, 31051, 10951, 91, 28165, 6, 7054, 8799, ...
Who was the home team on January 2 with 23 points?
SELECT "Home" FROM table_46122 WHERE "Points" = '23' AND "Date" = 'january 2'
[ 8241, 373, 262, 1363, 1074, 319, 3269, 362, 351, 2242, 2173, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3510, 18376, 33411, 366, 40710, 1, 796, 705, 1954, 6, 5357, 366, 10430, 1, 796, 705, 13881, 2838, 362, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1363, 1074, 319, 3269, 362, 351, 2242, 2173, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3510, 18376, 33411, 366, 40710, 1, 796, 705, 1954, 6, 5357, 366, 10430, 1, 796, 705, 13881, 2838, 362, 6 ]
In what Wicket in the City of Eastbourne with a Score of less than 368?
SELECT "Wicket" FROM table_6060 WHERE "Score" < '368' AND "City" = 'eastbourne'
[ 818, 644, 370, 9715, 287, 262, 2254, 286, 3687, 12544, 351, 257, 15178, 286, 1342, 621, 43019, 30, 46506, 366, 54, 9715, 1, 16034, 3084, 62, 1899, 1899, 33411, 366, 26595, 1, 1279, 705, 27412, 6, 5357, 366, 14941, 1, 796, 705, 23316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 370, 9715, 287, 262, 2254, 286, 3687, 12544, 351, 257, 15178, 286, 1342, 621, 43019, 30, 46506, 366, 54, 9715, 1, 16034, 3084, 62, 1899, 1899, 33411, 366, 26595, 1, 1279, 705, 27412, 6, 5357, 366, 14941, 1, 796, 705, 23316...
in this year, had patient 14054 receive a procedure?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14054) AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 259, 428, 614, 11, 550, 5827, 1478, 2713, 19, 3328, 257, 8771, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 428, 614, 11, 550, 5827, 1478, 2713, 19, 3328, 257, 8771, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312...
who is immediately before biro on the list ?
SELECT "name" FROM table_204_978 WHERE id = (SELECT id FROM table_204_978 WHERE "name" = 'peter biro') - 1
[ 8727, 318, 3393, 878, 3182, 305, 319, 262, 1351, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 32196, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 32196, 33411, 366, 3672, 1, 796, 705, 79, 2357, 3182, 305, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3393, 878, 3182, 305, 319, 262, 1351, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 32196, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 32196, 33411, 366, 3672, 1, 796, 705, 79, 2357, 3182, 305, ...
How many reg GP for rick vaive in round 1?
SELECT SUM("Reg GP") FROM table_77529 WHERE "Player" = 'rick vaive' AND "Rd #" < '1'
[ 2437, 867, 842, 14714, 329, 374, 624, 46935, 425, 287, 2835, 352, 30, 46506, 35683, 7203, 8081, 14714, 4943, 16034, 3084, 62, 34483, 1959, 33411, 366, 14140, 1, 796, 705, 5557, 46935, 425, 6, 5357, 366, 49, 67, 1303, 1, 1279, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 842, 14714, 329, 374, 624, 46935, 425, 287, 2835, 352, 30, 46506, 35683, 7203, 8081, 14714, 4943, 16034, 3084, 62, 34483, 1959, 33411, 366, 14140, 1, 796, 705, 5557, 46935, 425, 6, 5357, 366, 49, 67, 1303, 1, 1279, 705, 1...
What candidate is a member of the Republican party?
SELECT candidates FROM table_1341640_39 WHERE party = "Republican"
[ 2061, 4540, 318, 257, 2888, 286, 262, 3415, 2151, 30, 46506, 5871, 16034, 3084, 62, 19880, 1433, 1821, 62, 2670, 33411, 2151, 796, 366, 25777, 1 ]
[ 1, 1, 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, 4540, 318, 257, 2888, 286, 262, 3415, 2151, 30, 46506, 5871, 16034, 3084, 62, 19880, 1433, 1821, 62, 2670, 33411, 2151, 796, 366, 25777, 1 ]
how many patients are undergoing non-invasive mechanical ventilation and their lab test fluid is blood?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Non-invasive mechanical ventilation" AND lab.fluid = "Blood"
[ 4919, 867, 3871, 389, 23247, 1729, 12, 259, 23747, 12370, 34834, 290, 511, 2248, 1332, 11711, 318, 2910, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 23247, 1729, 12, 259, 23747, 12370, 34834, 290, 511, 2248, 1332, 11711, 318, 2910, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
SELECT TOP 40 u.DisplayName, u.Reputation, u.Location, u.Age, u.Views, u.UpVotes FROM Users u WHERE.
SELECT u.Id, u.DisplayName, u.Reputation, u.Location, u.Age, u.Views, u.UpVotes FROM Users AS u WHERE (u.Location LIKE '%Rockville%' OR u.Location LIKE '%Bethesda%' OR u.Location LIKE '%Silver Spring%' OR u.Location LIKE '%Kensington%' OR u.Location LIKE '%Gaithersburg%') AND (NOT u.Location LIKE '%London%') GROUP BY u...
[ 46506, 28662, 2319, 334, 13, 23114, 5376, 11, 334, 13, 6207, 7094, 11, 334, 13, 14749, 11, 334, 13, 23396, 11, 334, 13, 7680, 82, 11, 334, 13, 4933, 53, 6421, 16034, 18987, 334, 33411, 13, 46506, 334, 13, 7390, 11, 334, 13, 23114,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 46506, 28662, 2319, 334, 13, 23114, 5376, 11, 334, 13, 6207, 7094, 11, 334, 13, 14749, 11, 334, 13, 23396, 11, 334, 13, 7680, 82, 11, 334, 13, 4933, 53, 6421, 16034, 18987, 334, 33411, 13, 46506, 334, 13, 7390, 11, 334, 13, 23114,...
What is the Player with a Cross Code Debut of RL Test GB v France?
SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france"
[ 2061, 318, 262, 7853, 351, 257, 6372, 6127, 1024, 4360, 286, 45715, 6208, 13124, 410, 4881, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1495, 33411, 3272, 62, 8189, 62, 11275, 315, 796, 366, 45895, 1332, 308, 65, 410, 1216, 590, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7853, 351, 257, 6372, 6127, 1024, 4360, 286, 45715, 6208, 13124, 410, 4881, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1495, 33411, 3272, 62, 8189, 62, 11275, 315, 796, 366, 45895, 1332, 308, 65, 410, 1216, 590, 1 ]
What is the song for Dixie Chicks?
SELECT song_title FROM table_23981771_1 WHERE artist = "Dixie Chicks"
[ 2061, 318, 262, 3496, 329, 360, 39291, 609, 3378, 30, 46506, 3496, 62, 7839, 16034, 3084, 62, 1954, 4089, 1558, 4869, 62, 16, 33411, 6802, 796, 366, 35, 39291, 609, 3378, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3496, 329, 360, 39291, 609, 3378, 30, 46506, 3496, 62, 7839, 16034, 3084, 62, 1954, 4089, 1558, 4869, 62, 16, 33411, 6802, 796, 366, 35, 39291, 609, 3378, 1 ]
Which type has turin to monza as a course?
SELECT type FROM table_name_85 WHERE course = "turin to monza"
[ 13828, 2099, 468, 7858, 259, 284, 937, 4496, 355, 257, 1781, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 5332, 33411, 1781, 796, 366, 36590, 259, 284, 937, 4496, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2099, 468, 7858, 259, 284, 937, 4496, 355, 257, 1781, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 5332, 33411, 1781, 796, 366, 36590, 259, 284, 937, 4496, 1 ]
count the number of patients who were tranferred within the facility and stayed in hospital for more than 69 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.days_stay > "69"
[ 9127, 262, 1271, 286, 3871, 508, 547, 491, 272, 18186, 1626, 262, 6841, 290, 9658, 287, 4436, 329, 517, 621, 8644, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 547, 491, 272, 18186, 1626, 262, 6841, 290, 9658, 287, 4436, 329, 517, 621, 8644, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3...
Who replaced the manager of Akhisar B.G.S.?
SELECT "Replaced by" FROM table_74062 WHERE "Team" = 'Akhisar B.G.S.'
[ 8241, 6928, 262, 4706, 286, 9084, 14363, 283, 347, 13, 38, 13, 50, 40791, 46506, 366, 3041, 21820, 416, 1, 16034, 3084, 62, 45598, 5237, 33411, 366, 15592, 1, 796, 705, 33901, 14363, 283, 347, 13, 38, 13, 50, 2637 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6928, 262, 4706, 286, 9084, 14363, 283, 347, 13, 38, 13, 50, 40791, 46506, 366, 3041, 21820, 416, 1, 16034, 3084, 62, 45598, 5237, 33411, 366, 15592, 1, 796, 705, 33901, 14363, 283, 347, 13, 38, 13, 50, 2637 ]
Show all company names with a movie directed in year 1999.
SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 1999
[ 15307, 477, 1664, 3891, 351, 257, 3807, 7924, 287, 614, 7358, 13, 46506, 309, 17, 13, 39722, 62, 3672, 16034, 3807, 7054, 309, 16, 32357, 1268, 3968, 62, 39722, 7054, 309, 17, 6177, 309, 16, 13, 41364, 62, 312, 796, 309, 17, 13, 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 ]
[ 15307, 477, 1664, 3891, 351, 257, 3807, 7924, 287, 614, 7358, 13, 46506, 309, 17, 13, 39722, 62, 3672, 16034, 3807, 7054, 309, 16, 32357, 1268, 3968, 62, 39722, 7054, 309, 17, 6177, 309, 16, 13, 41364, 62, 312, 796, 309, 17, 13, 4...
when was the first time the sao2 of patient 015-12508 was greater than 93.0, on 04/25/2103?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-12508')) AND vitalperiodic.sao2 > 93.0 AND NOT ...
[ 12518, 373, 262, 717, 640, 262, 473, 78, 17, 286, 5827, 5534, 20, 12, 1065, 33042, 373, 3744, 621, 10261, 13, 15, 11, 319, 8702, 14, 1495, 14, 17, 15197, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 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...
[ 12518, 373, 262, 717, 640, 262, 473, 78, 17, 286, 5827, 5534, 20, 12, 1065, 33042, 373, 3744, 621, 10261, 13, 15, 11, 319, 8702, 14, 1495, 14, 17, 15197, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 2...
How many bronze medals did the team have with 0 total silver and less than 3 total medals?
SELECT bronze FROM table_name_4 WHERE total < 3 AND silver > 0
[ 2437, 867, 22101, 28057, 750, 262, 1074, 423, 351, 657, 2472, 8465, 290, 1342, 621, 513, 2472, 28057, 30, 46506, 22101, 16034, 3084, 62, 3672, 62, 19, 33411, 2472, 1279, 513, 5357, 8465, 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, 1, 1, 1, 1 ]
[ 2437, 867, 22101, 28057, 750, 262, 1074, 423, 351, 657, 2472, 8465, 290, 1342, 621, 513, 2472, 28057, 30, 46506, 22101, 16034, 3084, 62, 3672, 62, 19, 33411, 2472, 1279, 513, 5357, 8465, 1875, 657 ]
who is the top ranked nation ?
SELECT "nation" FROM table_204_183 ORDER BY "rank" LIMIT 1
[ 8727, 318, 262, 1353, 10307, 3277, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 24839, 38678, 11050, 366, 43027, 1, 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 ]
[ 8727, 318, 262, 1353, 10307, 3277, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 24839, 38678, 11050, 366, 43027, 1, 27564, 2043, 352 ]
What celebrity finished 6th?
SELECT "Celebrity" FROM table_6579 WHERE "Finished" = '6th'
[ 2061, 16527, 5201, 718, 400, 30, 46506, 366, 42741, 1671, 414, 1, 16034, 3084, 62, 2996, 3720, 33411, 366, 18467, 1348, 1, 796, 705, 21, 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 ]
[ 2061, 16527, 5201, 718, 400, 30, 46506, 366, 42741, 1671, 414, 1, 16034, 3084, 62, 2996, 3720, 33411, 366, 18467, 1348, 1, 796, 705, 21, 400, 6 ]
Tell me the result for primetime emmy awards
SELECT result FROM table_name_94 WHERE association = "primetime emmy awards"
[ 24446, 502, 262, 1255, 329, 2684, 8079, 795, 1820, 13304, 46506, 1255, 16034, 3084, 62, 3672, 62, 5824, 33411, 8112, 796, 366, 19795, 8079, 795, 1820, 13304, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 1255, 329, 2684, 8079, 795, 1820, 13304, 46506, 1255, 16034, 3084, 62, 3672, 62, 5824, 33411, 8112, 796, 366, 19795, 8079, 795, 1820, 13304, 1 ]
Are there classes I need to take before POLSCI 353 ?
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT...
[ 8491, 612, 6097, 314, 761, 284, 1011, 878, 20634, 6173, 40, 47567, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 6097, 314, 761, 284, 1011, 878, 20634, 6173, 40, 47567, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 3...
Show the draft pick numbers and draft classes of players whose positions are defenders in a bar chart, and show by the bar in ascending.
SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" ORDER BY Draft_Class
[ 15307, 262, 4538, 2298, 3146, 290, 4538, 6097, 286, 1938, 3025, 6116, 389, 16355, 287, 257, 2318, 8262, 11, 290, 905, 416, 262, 2318, 287, 41988, 13, 46506, 13650, 62, 9487, 11, 13650, 62, 31686, 62, 15057, 16034, 2872, 62, 6230, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 4538, 2298, 3146, 290, 4538, 6097, 286, 1938, 3025, 6116, 389, 16355, 287, 257, 2318, 8262, 11, 290, 905, 416, 262, 2318, 287, 41988, 13, 46506, 13650, 62, 9487, 11, 13650, 62, 31686, 62, 15057, 16034, 2872, 62, 6230, 3341...
What sponsor has the head coach Samad Marfavi?
SELECT shirt_sponsor FROM table_27383390_2 WHERE head_coach = "Samad Marfavi"
[ 2061, 17487, 468, 262, 1182, 3985, 3409, 324, 1526, 69, 15820, 30, 46506, 10147, 62, 20587, 273, 16034, 3084, 62, 1983, 2548, 2091, 3829, 62, 17, 33411, 1182, 62, 1073, 620, 796, 366, 16305, 324, 1526, 69, 15820, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17487, 468, 262, 1182, 3985, 3409, 324, 1526, 69, 15820, 30, 46506, 10147, 62, 20587, 273, 16034, 3084, 62, 1983, 2548, 2091, 3829, 62, 17, 33411, 1182, 62, 1073, 620, 796, 366, 16305, 324, 1526, 69, 15820, 1 ]
Which rank has a Total GDP ( bn) of 11.243??
SELECT rank FROM table_name_98 WHERE total_gdp__€_bn__ = "€11.243"
[ 13828, 4279, 468, 257, 7472, 12396, 357, 275, 77, 8, 286, 1367, 13, 26660, 3548, 46506, 4279, 16034, 3084, 62, 3672, 62, 4089, 33411, 2472, 62, 21287, 79, 834, 26391, 62, 9374, 834, 796, 366, 26391, 1157, 13, 26660, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 468, 257, 7472, 12396, 357, 275, 77, 8, 286, 1367, 13, 26660, 3548, 46506, 4279, 16034, 3084, 62, 3672, 62, 4089, 33411, 2472, 62, 21287, 79, 834, 26391, 62, 9374, 834, 796, 366, 26391, 1157, 13, 26660, 1 ]
Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973?
SELECT "Class" FROM table_74929 WHERE "Points" > '2' AND "Year" < '1973' AND "Wins" > '0'
[ 13828, 1398, 24866, 284, 517, 621, 362, 2173, 11, 7864, 3744, 621, 657, 11, 290, 257, 614, 2961, 621, 15674, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 22, 2920, 1959, 33411, 366, 40710, 1, 1875, 705, 17, 6, 5357, 366, 17688, 1, 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 ]
[ 13828, 1398, 24866, 284, 517, 621, 362, 2173, 11, 7864, 3744, 621, 657, 11, 290, 257, 614, 2961, 621, 15674, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 22, 2920, 1959, 33411, 366, 40710, 1, 1875, 705, 17, 6, 5357, 366, 17688, 1, 12...
What is the Venue, when the Score is 56-4?
SELECT venue FROM table_name_68 WHERE score = "56-4"
[ 2061, 318, 262, 9932, 518, 11, 618, 262, 15178, 318, 7265, 12, 19, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3104, 33411, 4776, 796, 366, 3980, 12, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9932, 518, 11, 618, 262, 15178, 318, 7265, 12, 19, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3104, 33411, 4776, 796, 366, 3980, 12, 19, 1 ]
Name the minimum for 2500-3000 ft for scotland
SELECT MIN(2500 AS _3000ft) FROM table_1456056_1 WHERE country = "Scotland"
[ 5376, 262, 5288, 329, 33507, 12, 23924, 10117, 329, 629, 313, 1044, 46506, 20625, 7, 44688, 7054, 4808, 23924, 701, 8, 16034, 3084, 62, 18781, 1899, 3980, 62, 16, 33411, 1499, 796, 366, 47230, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 329, 33507, 12, 23924, 10117, 329, 629, 313, 1044, 46506, 20625, 7, 44688, 7054, 4808, 23924, 701, 8, 16034, 3084, 62, 18781, 1899, 3980, 62, 16, 33411, 1499, 796, 366, 47230, 1 ]
What is the name of the tournament that has the results of 2003 2r and 2004 1r?
SELECT "Tournament" FROM table_41427 WHERE "2003" = '2r' AND "2004" = '1r'
[ 2061, 318, 262, 1438, 286, 262, 7756, 326, 468, 262, 2482, 286, 5816, 362, 81, 290, 5472, 352, 81, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 37309, 1983, 33411, 366, 16088, 1, 796, 705, 17, 81, 6, 5357, 366, 15724, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 7756, 326, 468, 262, 2482, 286, 5816, 362, 81, 290, 5472, 352, 81, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 37309, 1983, 33411, 366, 16088, 1, 796, 705, 17, 81, 6, 5357, 366, 15724, 1, 796, 7...
What is the total number of Total, when To Par is 12?
SELECT COUNT(total) FROM table_name_71 WHERE to_par = 12
[ 2061, 318, 262, 2472, 1271, 286, 7472, 11, 618, 1675, 2547, 318, 1105, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 284, 62, 1845, 796, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 7472, 11, 618, 1675, 2547, 318, 1105, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 284, 62, 1845, 796, 1105 ]
What is the home of the geust fc basel (asl)?
SELECT "Home" FROM table_49429 WHERE "Geust" = 'fc basel (asl)'
[ 2061, 318, 262, 1363, 286, 262, 4903, 436, 277, 66, 1615, 417, 357, 292, 75, 19427, 46506, 366, 16060, 1, 16034, 3084, 62, 2920, 11785, 33411, 366, 10082, 436, 1, 796, 705, 16072, 1615, 417, 357, 292, 75, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 286, 262, 4903, 436, 277, 66, 1615, 417, 357, 292, 75, 19427, 46506, 366, 16060, 1, 16034, 3084, 62, 2920, 11785, 33411, 366, 10082, 436, 1, 796, 705, 16072, 1615, 417, 357, 292, 75, 33047 ]
What happened in week 14 when week 11's result was Michigan (7-2)?
SELECT week_14_dec_3 FROM table_name_17 WHERE week_11_nov_12 = "michigan (7-2)"
[ 2061, 3022, 287, 1285, 1478, 618, 1285, 1367, 338, 1255, 373, 7055, 357, 22, 12, 17, 19427, 46506, 1285, 62, 1415, 62, 12501, 62, 18, 16034, 3084, 62, 3672, 62, 1558, 33411, 1285, 62, 1157, 62, 37302, 62, 1065, 796, 366, 76, 488, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3022, 287, 1285, 1478, 618, 1285, 1367, 338, 1255, 373, 7055, 357, 22, 12, 17, 19427, 46506, 1285, 62, 1415, 62, 12501, 62, 18, 16034, 3084, 62, 3672, 62, 1558, 33411, 1285, 62, 1157, 62, 37302, 62, 1065, 796, 366, 76, 488, ...
What is the highest amount of games played in the 2003-04 season?
SELECT MAX(played) FROM table_name_25 WHERE season = "2003-04"
[ 2061, 318, 262, 4511, 2033, 286, 1830, 2826, 287, 262, 5816, 12, 3023, 1622, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 1622, 796, 366, 16088, 12, 3023, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 1830, 2826, 287, 262, 5816, 12, 3023, 1622, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 1622, 796, 366, 16088, 12, 3023, 1 ]
Users by number of questions they asked.
SELECT COALESCE('site://users/' + CAST(p.OwnerUserId AS TEXT) + '|' + u.DisplayName, p.OwnerDisplayName) AS UserLink, COUNT(p.Id) AS QCount FROM Posts AS p LEFT JOIN Users AS u ON u.Id = p.OwnerUserId WHERE p.PostTypeId = 1 GROUP BY p.OwnerUserId, p.OwnerDisplayName, u.DisplayName HAVING '##MinCount?100##' <= COUNT(p.I...
[ 14490, 416, 1271, 286, 2683, 484, 1965, 13, 46506, 7375, 1847, 1546, 5222, 10786, 15654, 1378, 18417, 14, 6, 1343, 327, 11262, 7, 79, 13, 42419, 12982, 7390, 7054, 40383, 8, 1343, 705, 91, 6, 1343, 334, 13, 23114, 5376, 11, 279, 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...
[ 14490, 416, 1271, 286, 2683, 484, 1965, 13, 46506, 7375, 1847, 1546, 5222, 10786, 15654, 1378, 18417, 14, 6, 1343, 327, 11262, 7, 79, 13, 42419, 12982, 7390, 7054, 40383, 8, 1343, 705, 91, 6, 1343, 334, 13, 23114, 5376, 11, 279, 13,...