instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was the winning score at bellerive country club?
SELECT "Score" FROM table_29579 WHERE "Course" = 'Bellerive Country Club'
[ 2061, 373, 262, 5442, 4776, 379, 307, 6051, 425, 1499, 3430, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1959, 41734, 33411, 366, 49046, 1, 796, 705, 33, 12368, 425, 12946, 6289, 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, 373, 262, 5442, 4776, 379, 307, 6051, 425, 1499, 3430, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1959, 41734, 33411, 366, 49046, 1, 796, 705, 33, 12368, 425, 12946, 6289, 6 ]
what was valentino rossi's rider time?
SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
[ 10919, 373, 1188, 298, 2879, 686, 824, 72, 338, 17876, 640, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 5607, 33411, 17876, 796, 366, 2100, 298, 2879, 686, 824, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1188, 298, 2879, 686, 824, 72, 338, 17876, 640, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 5607, 33411, 17876, 796, 366, 2100, 298, 2879, 686, 824, 72, 1 ]
Can you tell me what upper level CS elective classes are available ?
SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id
[ 6090, 345, 1560, 502, 644, 6727, 1241, 9429, 1742, 425, 6097, 389, 1695, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 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...
[ 6090, 345, 1560, 502, 644, 6727, 1241, 9429, 1742, 425, 6097, 389, 1695, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13,...
has patient 016-9636 excreted any output amt-chest tube a in 12/this year.
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 = '016-9636')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput...
[ 10134, 5827, 5534, 21, 12, 4846, 2623, 2859, 1186, 276, 597, 5072, 716, 83, 12, 46713, 12403, 257, 287, 1105, 14, 5661, 614, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 5534, 21, 12, 4846, 2623, 2859, 1186, 276, 597, 5072, 716, 83, 12, 46713, 12403, 257, 287, 1105, 14, 5661, 614, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, ...
What is the id and salary of the employee named Mark Young?
SELECT eid, salary FROM employee WHERE name = 'Mark Young'
[ 2061, 318, 262, 4686, 290, 9588, 286, 262, 6538, 3706, 2940, 6960, 30, 46506, 304, 312, 11, 9588, 16034, 6538, 33411, 1438, 796, 705, 9704, 6960, 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, 318, 262, 4686, 290, 9588, 286, 262, 6538, 3706, 2940, 6960, 30, 46506, 304, 312, 11, 9588, 16034, 6538, 33411, 1438, 796, 705, 9704, 6960, 6 ]
Draw a bar chart about the distribution of meter_600 and meter_100 .
SELECT meter_600, meter_100 FROM swimmer
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 16430, 62, 8054, 290, 16430, 62, 3064, 764, 46506, 16430, 62, 8054, 11, 16430, 62, 3064, 16034, 9422, 647 ]
[ 1, 1, 1, 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, 546, 262, 6082, 286, 16430, 62, 8054, 290, 16430, 62, 3064, 764, 46506, 16430, 62, 8054, 11, 16430, 62, 3064, 16034, 9422, 647 ]
Which Years in Orlando has a School/Club Team of kentucky?
SELECT "Years in Orlando" FROM table_40094 WHERE "School/Club Team" = 'kentucky'
[ 13828, 13212, 287, 13117, 468, 257, 3961, 14, 42350, 4816, 286, 479, 298, 5309, 30, 46506, 366, 40630, 287, 13117, 1, 16034, 3084, 62, 7029, 5824, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 74, 298, 5309, 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 ]
[ 13828, 13212, 287, 13117, 468, 257, 3961, 14, 42350, 4816, 286, 479, 298, 5309, 30, 46506, 366, 40630, 287, 13117, 1, 16034, 3084, 62, 7029, 5824, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 74, 298, 5309, 6 ]
I want the displacement for version of db
SELECT "Displacement" FROM table_11719 WHERE "Version" = 'db'
[ 40, 765, 262, 29358, 329, 2196, 286, 20613, 46506, 366, 7279, 489, 5592, 1, 16034, 3084, 62, 17657, 1129, 33411, 366, 14815, 1, 796, 705, 9945, 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 ]
[ 40, 765, 262, 29358, 329, 2196, 286, 20613, 46506, 366, 7279, 489, 5592, 1, 16034, 3084, 62, 17657, 1129, 33411, 366, 14815, 1, 796, 705, 9945, 6 ]
how many patients expired after being diagnosed with coronary artery disease - no previous cabg within the same month?
SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'coronary artery disease - no previous cabg') AS t1 GROUP BY t1.u...
[ 4919, 867, 3871, 21350, 706, 852, 14641, 351, 37151, 37646, 4369, 532, 645, 2180, 16212, 70, 1626, 262, 976, 1227, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 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...
[ 4919, 867, 3871, 21350, 706, 852, 14641, 351, 37151, 37646, 4369, 532, 645, 2180, 16212, 70, 1626, 262, 976, 1227, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, ...
what is the number of pieces where the person is charley hoffman
SELECT COUNT(reset_points) FROM table_28498999_6 WHERE player = "Charley Hoffman"
[ 10919, 318, 262, 1271, 286, 5207, 810, 262, 1048, 318, 1149, 1636, 289, 2364, 805, 46506, 327, 28270, 7, 42503, 62, 13033, 8, 16034, 3084, 62, 2078, 36260, 17032, 62, 21, 33411, 2137, 796, 366, 12441, 1636, 29010, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5207, 810, 262, 1048, 318, 1149, 1636, 289, 2364, 805, 46506, 327, 28270, 7, 42503, 62, 13033, 8, 16034, 3084, 62, 2078, 36260, 17032, 62, 21, 33411, 2137, 796, 366, 12441, 1636, 29010, 1 ]
Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783?
SELECT AVG(number_of_households) FROM table_name_61 WHERE per_capita_income = "$21,571" AND population < 9 OFFSET 783
[ 13828, 7913, 286, 12503, 468, 2448, 21344, 3739, 286, 720, 2481, 11, 42875, 11, 290, 257, 20133, 4833, 621, 860, 11, 50165, 30, 46506, 35224, 7, 17618, 62, 1659, 62, 4803, 2946, 82, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 583, 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 ]
[ 13828, 7913, 286, 12503, 468, 2448, 21344, 3739, 286, 720, 2481, 11, 42875, 11, 290, 257, 20133, 4833, 621, 860, 11, 50165, 30, 46506, 35224, 7, 17618, 62, 1659, 62, 4803, 2946, 82, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 583, 62...
For the dates of transactions with amount smaller than 3000, bin the date into year interval, and draw a line chart to show the trend of the number of records in each bin, and order by the x-axis in desc please.
SELECT date_of_transaction, COUNT(date_of_transaction) FROM Sales AS T1 JOIN Transactions AS T2 ON T1.sales_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction < 3000 ORDER BY date_of_transaction DESC
[ 1890, 262, 9667, 286, 8945, 351, 2033, 4833, 621, 20343, 11, 9874, 262, 3128, 656, 614, 16654, 11, 290, 3197, 257, 1627, 8262, 284, 905, 262, 5182, 286, 262, 1271, 286, 4406, 287, 1123, 9874, 11, 290, 1502, 416, 262, 2124, 12, 22704...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 262, 9667, 286, 8945, 351, 2033, 4833, 621, 20343, 11, 9874, 262, 3128, 656, 614, 16654, 11, 290, 3197, 257, 1627, 8262, 284, 905, 262, 5182, 286, 262, 1271, 286, 4406, 287, 1123, 9874, 11, 290, 1502, 416, 262, 2124, 12, 22704...
what is date of birth and religion of subject id 14755?
SELECT demographic.dob, demographic.religion FROM demographic WHERE demographic.subject_id = "14755"
[ 10919, 318, 3128, 286, 4082, 290, 5737, 286, 2426, 4686, 1478, 38172, 30, 46506, 16728, 13, 67, 672, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1415, 38172, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 4082, 290, 5737, 286, 2426, 4686, 1478, 38172, 30, 46506, 16728, 13, 67, 672, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1415, 38172, 1 ]
What was the result of Bridgeview, Illinois?
SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois"
[ 2061, 373, 262, 1255, 286, 10290, 1177, 11, 9486, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2091, 33411, 14359, 796, 366, 9458, 1177, 11, 2801, 8981, 1 ]
[ 1, 1, 1, 1, 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, 10290, 1177, 11, 9486, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2091, 33411, 14359, 796, 366, 9458, 1177, 11, 2801, 8981, 1 ]
What's the total losses for the vancouver burrards in the 1947 season with fewer than 24 games?
SELECT COUNT("Losses") FROM table_80431 WHERE "Team Name" = 'vancouver burrards' AND "Season" = '1947' AND "Games" < '24'
[ 2061, 338, 262, 2472, 9089, 329, 262, 410, 10264, 4356, 81, 1371, 287, 262, 21709, 1622, 351, 7380, 621, 1987, 1830, 30, 46506, 327, 28270, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 36088, 3132, 33411, 366, 15592, 6530, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 338, 262, 2472, 9089, 329, 262, 410, 10264, 4356, 81, 1371, 287, 262, 21709, 1622, 351, 7380, 621, 1987, 1830, 30, 46506, 327, 28270, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 36088, 3132, 33411, 366, 15592, 6530, 1, 796, 705, ...
What is the total population with a population density less than 29,384.8 in San Nicolas?
SELECT SUM("Population (2010 census)") FROM table_66462 WHERE "Pop. density (per km2)" < '29,384.8' AND "District" = 'san nicolas'
[ 2061, 318, 262, 2472, 3265, 351, 257, 3265, 12109, 1342, 621, 2808, 11, 22842, 13, 23, 287, 2986, 29737, 30, 46506, 35683, 7203, 45251, 357, 10333, 21649, 8, 4943, 16034, 3084, 62, 21, 2414, 5237, 33411, 366, 16979, 13, 12109, 357, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 351, 257, 3265, 12109, 1342, 621, 2808, 11, 22842, 13, 23, 287, 2986, 29737, 30, 46506, 35683, 7203, 45251, 357, 10333, 21649, 8, 4943, 16034, 3084, 62, 21, 2414, 5237, 33411, 366, 16979, 13, 12109, 357, 52...
What is the average total for teams with over 3 bronzes and over 8 golds?
SELECT AVG("Total") FROM table_36735 WHERE "Bronze" > '3' AND "Gold" > '8'
[ 2061, 318, 262, 2811, 2472, 329, 3466, 351, 625, 513, 18443, 12271, 290, 625, 807, 3869, 82, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 27824, 2327, 33411, 366, 18760, 2736, 1, 1875, 705, 18, 6, 5357, 366, 13306, 1, 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 ]
[ 2061, 318, 262, 2811, 2472, 329, 3466, 351, 625, 513, 18443, 12271, 290, 625, 807, 3869, 82, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 27824, 2327, 33411, 366, 18760, 2736, 1, 1875, 705, 18, 6, 5357, 366, 13306, 1, 1875, ...
Where is Exxon Mobil, an oil and gas corporation, headquartered?
SELECT headquarters FROM table_name_49 WHERE primary_industry = "oil and gas" AND name = "exxon mobil"
[ 8496, 318, 27879, 45951, 11, 281, 3056, 290, 3623, 12017, 11, 48583, 30, 46506, 10043, 16034, 3084, 62, 3672, 62, 2920, 33411, 4165, 62, 23213, 563, 796, 366, 9437, 290, 3623, 1, 5357, 1438, 796, 366, 1069, 23813, 17754, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 318, 27879, 45951, 11, 281, 3056, 290, 3623, 12017, 11, 48583, 30, 46506, 10043, 16034, 3084, 62, 3672, 62, 2920, 33411, 4165, 62, 23213, 563, 796, 366, 9437, 290, 3623, 1, 5357, 1438, 796, 366, 1069, 23813, 17754, 1 ]
when was the first time that patient 016-26907 had volume (ml) dopamine intake until 11/22/2102?
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-26907')) AND intakeoutput.cellpath LIKE '%intake%...
[ 12518, 373, 262, 717, 640, 326, 5827, 5534, 21, 12, 26276, 2998, 550, 6115, 357, 4029, 8, 26252, 10337, 1566, 1367, 14, 1828, 14, 17, 15377, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 326, 5827, 5534, 21, 12, 26276, 2998, 550, 6115, 357, 4029, 8, 26252, 10337, 1566, 1367, 14, 1828, 14, 17, 15377, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, ...
What is the away team with a Crowd greater than 13,000, and a Home team score of 12.11 (83)?
SELECT "Away team" FROM table_77895 WHERE "Crowd" > '13,000' AND "Home team score" = '12.11 (83)'
[ 2061, 318, 262, 1497, 1074, 351, 257, 29452, 3744, 621, 1511, 11, 830, 11, 290, 257, 5995, 1074, 4776, 286, 1105, 13, 1157, 357, 5999, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39761, 3865, 33411, 366, 34, 3986, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 351, 257, 29452, 3744, 621, 1511, 11, 830, 11, 290, 257, 5995, 1074, 4776, 286, 1105, 13, 1157, 357, 5999, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39761, 3865, 33411, 366, 34, 3986, 1, 1875...
Can 100 -level classes be taken in Fall or Winter ?
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 100 AND 100 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_id = course_of...
[ 6090, 1802, 532, 5715, 6097, 307, 2077, 287, 7218, 393, 10633, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 11, 1781, 62, 2364, 1586, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1802, 532, 5715, 6097, 307, 2077, 287, 7218, 393, 10633, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 11, 1781, 62, 2364, 1586, ...
How many positions have an against of less than 27, and a played number of less than 8?
SELECT COUNT("Position") FROM table_7373 WHERE "Against" < '27' AND "Played" < '8'
[ 2437, 867, 6116, 423, 281, 1028, 286, 1342, 621, 2681, 11, 290, 257, 2826, 1271, 286, 1342, 621, 807, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 22, 34770, 33411, 366, 39276, 1, 1279, 705, 1983, 6, 5357, 366, 11002, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6116, 423, 281, 1028, 286, 1342, 621, 2681, 11, 290, 257, 2826, 1271, 286, 1342, 621, 807, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 22, 34770, 33411, 366, 39276, 1, 1279, 705, 1983, 6, 5357, 366, 11002, ...
How many samples come from other countries?
SELECT COUNT(*) FROM sampledata15 WHERE origin = "2"
[ 2437, 867, 8405, 1282, 422, 584, 2678, 30, 46506, 327, 28270, 7, 28104, 16034, 35846, 1045, 1314, 33411, 8159, 796, 366, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8405, 1282, 422, 584, 2678, 30, 46506, 327, 28270, 7, 28104, 16034, 35846, 1045, 1314, 33411, 8159, 796, 366, 17, 1 ]
What are all names for the position FS?
SELECT "Name" FROM table_19449 WHERE "Position" = 'FS'
[ 2061, 389, 477, 3891, 329, 262, 2292, 23324, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 1129, 31911, 33411, 366, 26545, 1, 796, 705, 10652, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 3891, 329, 262, 2292, 23324, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 1129, 31911, 33411, 366, 26545, 1, 796, 705, 10652, 6 ]
what player scored 69-72-68=209?
SELECT "Player" FROM table_37716 WHERE "Score" = '69-72-68=209'
[ 10919, 2137, 7781, 8644, 12, 4761, 12, 3104, 28, 22567, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 26514, 1433, 33411, 366, 26595, 1, 796, 705, 3388, 12, 4761, 12, 3104, 28, 22567, 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 ]
[ 10919, 2137, 7781, 8644, 12, 4761, 12, 3104, 28, 22567, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 26514, 1433, 33411, 366, 26595, 1, 796, 705, 3388, 12, 4761, 12, 3104, 28, 22567, 6 ]
Which championship after 1985 had a winning score of 8 (68-72-69-71=280)?
SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280)
[ 13828, 12184, 706, 12863, 550, 257, 5442, 4776, 286, 807, 357, 3104, 12, 4761, 12, 3388, 12, 4869, 28, 21033, 19427, 46506, 12184, 16034, 3084, 62, 3672, 62, 1558, 33411, 614, 1875, 12863, 5357, 5442, 62, 26675, 796, 784, 23, 7, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12184, 706, 12863, 550, 257, 5442, 4776, 286, 807, 357, 3104, 12, 4761, 12, 3388, 12, 4869, 28, 21033, 19427, 46506, 12184, 16034, 3084, 62, 3672, 62, 1558, 33411, 614, 1875, 12863, 5357, 5442, 62, 26675, 796, 784, 23, 7, 3104,...
Which is the lowest played with 28-10 points and goals higher than 29?
SELECT MIN("Played") FROM table_80128 WHERE "Points" = '28-10' AND "Goals for" > '29'
[ 13828, 318, 262, 9016, 2826, 351, 2579, 12, 940, 2173, 290, 4661, 2440, 621, 2808, 30, 46506, 20625, 7203, 11002, 276, 4943, 16034, 3084, 62, 41531, 2078, 33411, 366, 40710, 1, 796, 705, 2078, 12, 940, 6, 5357, 366, 5247, 874, 329, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 9016, 2826, 351, 2579, 12, 940, 2173, 290, 4661, 2440, 621, 2808, 30, 46506, 20625, 7203, 11002, 276, 4943, 16034, 3084, 62, 41531, 2078, 33411, 366, 40710, 1, 796, 705, 2078, 12, 940, 6, 5357, 366, 5247, 874, 329, ...
What is the listed crowd when hawthorn is away?
SELECT COUNT("Crowd") FROM table_77907 WHERE "Away team" = 'hawthorn'
[ 2061, 318, 262, 5610, 4315, 618, 23185, 400, 1211, 318, 1497, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 40393, 2998, 33411, 366, 32, 1014, 1074, 1, 796, 705, 26615, 400, 1211, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5610, 4315, 618, 23185, 400, 1211, 318, 1497, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 40393, 2998, 33411, 366, 32, 1014, 1074, 1, 796, 705, 26615, 400, 1211, 6 ]
What game site has a result of bye?
SELECT "Game site" FROM table_77696 WHERE "Result" = 'bye'
[ 2061, 983, 2524, 468, 257, 1255, 286, 33847, 30, 46506, 366, 8777, 2524, 1, 16034, 3084, 62, 3324, 38205, 33411, 366, 23004, 1, 796, 705, 16390, 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, 983, 2524, 468, 257, 1255, 286, 33847, 30, 46506, 366, 8777, 2524, 1, 16034, 3084, 62, 3324, 38205, 33411, 366, 23004, 1, 796, 705, 16390, 6 ]
What is the average number of bedrooms of all apartments?
SELECT AVG(bedroom_count) FROM apartments
[ 2061, 318, 262, 2811, 1271, 286, 38529, 286, 477, 19592, 30, 46506, 35224, 7, 36269, 62, 9127, 8, 16034, 19592 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 38529, 286, 477, 19592, 30, 46506, 35224, 7, 36269, 62, 9127, 8, 16034, 19592 ]
where are some restaurants good for french food in the yosemite and mono lake area ?
SELECT location.house_number, restaurant.name FROM geographic, location, restaurant WHERE geographic.region = 'yosemite and mono lake area' AND restaurant.city_name = geographic.city_name AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 3003, 389, 617, 10808, 922, 329, 48718, 2057, 287, 262, 331, 577, 32937, 290, 33361, 13546, 1989, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 22987, 11, 4067, 11, 7072, 33411, 22987, 13, 36996, 796, 705, 88, 577...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3003, 389, 617, 10808, 922, 329, 48718, 2057, 287, 262, 331, 577, 32937, 290, 33361, 13546, 1989, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 22987, 11, 4067, 11, 7072, 33411, 22987, 13, 36996, 796, 705, 88, 577...
Which Tie # has an Away team of slough town?
SELECT tie_no FROM table_name_66 WHERE away_team = "slough town"
[ 13828, 36286, 1303, 468, 281, 21986, 1074, 286, 1017, 619, 3240, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 2791, 33411, 1497, 62, 15097, 796, 366, 6649, 619, 3240, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 36286, 1303, 468, 281, 21986, 1074, 286, 1017, 619, 3240, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 2791, 33411, 1497, 62, 15097, 796, 366, 6649, 619, 3240, 1 ]
For the Winter PreMajor course who is teaching ?
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...
[ 1890, 262, 10633, 3771, 24206, 1781, 508, 318, 7743, 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, 1586, 13, 17319,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 262, 10633, 3771, 24206, 1781, 508, 318, 7743, 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, 1586, 13, 17319,...
give me the number of patients whose admission type is emergency and diagnoses short title is prim cardiomyopathy nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.short_title = "Prim cardiomyopathy NEC"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 40567, 1790, 3670, 318, 2684, 2657, 72, 9145, 27189, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 2099, 318, 6334, 290, 40567, 1790, 3670, 318, 2684, 2657, 72, 9145, 27189, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
What Position does the Team of KR and the Player of Marcus Walker have listed?
SELECT "Position" FROM table_38363 WHERE "Team" = 'kr' AND "Player" = 'marcus walker'
[ 2061, 23158, 857, 262, 4816, 286, 29430, 290, 262, 7853, 286, 17068, 10120, 423, 5610, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2548, 35447, 33411, 366, 15592, 1, 796, 705, 38584, 6, 5357, 366, 14140, 1, 796, 705, 3876, 9042, 2513, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23158, 857, 262, 4816, 286, 29430, 290, 262, 7853, 286, 17068, 10120, 423, 5610, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2548, 35447, 33411, 366, 15592, 1, 796, 705, 38584, 6, 5357, 366, 14140, 1, 796, 705, 3876, 9042, 2513, ...
what age does patient 11095 have during their last hospital encounter?
SELECT admissions.age FROM admissions WHERE admissions.subject_id = 11095 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1
[ 10919, 2479, 857, 5827, 9796, 3865, 423, 1141, 511, 938, 4436, 8791, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 9796, 3865, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 2479, 857, 5827, 9796, 3865, 423, 1141, 511, 938, 4436, 8791, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 9796, 3865, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 1...
What is the Opponent of the game on September 26?
SELECT "Opponent" FROM table_59821 WHERE "Date" = 'september 26'
[ 2061, 318, 262, 9385, 3471, 286, 262, 983, 319, 2693, 2608, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 41292, 2481, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 2608, 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, 9385, 3471, 286, 262, 983, 319, 2693, 2608, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 41292, 2481, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 2608, 6 ]
How many dates have a big ten team of #10 purdue?
SELECT COUNT("Date") FROM table_24297 WHERE "Big Ten Team" = '#10 Purdue'
[ 2437, 867, 9667, 423, 257, 1263, 3478, 1074, 286, 1303, 940, 1308, 23301, 30, 46506, 327, 28270, 7203, 10430, 4943, 16034, 3084, 62, 1731, 26561, 33411, 366, 12804, 9368, 4816, 1, 796, 705, 2, 940, 34699, 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 ]
[ 2437, 867, 9667, 423, 257, 1263, 3478, 1074, 286, 1303, 940, 1308, 23301, 30, 46506, 327, 28270, 7203, 10430, 4943, 16034, 3084, 62, 1731, 26561, 33411, 366, 12804, 9368, 4816, 1, 796, 705, 2, 940, 34699, 6 ]
what is the number of patients whose days of hospital stay is greater than 6 and lab test name is uptake ratio?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "6" AND lab.label = "Uptake Ratio"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 718, 290, 2248, 1332, 1438, 318, 35340, 8064, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 718, 290, 2248, 1332, 1438, 318, 35340, 8064, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3235...
What was the total tenure time with a rank of 49?
SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49
[ 2061, 373, 262, 2472, 17081, 640, 351, 257, 4279, 286, 5125, 30, 46506, 2472, 62, 1452, 495, 62, 2435, 16034, 3084, 62, 3672, 62, 18, 33411, 2472, 62, 1452, 495, 62, 43027, 796, 5125 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 17081, 640, 351, 257, 4279, 286, 5125, 30, 46506, 2472, 62, 1452, 495, 62, 2435, 16034, 3084, 62, 3672, 62, 18, 33411, 2472, 62, 1452, 495, 62, 43027, 796, 5125 ]
gerald geis represents how many counties in total ?
SELECT "counties represented" FROM table_204_887 WHERE "representative" = 'gerald geis'
[ 26941, 4903, 271, 6870, 703, 867, 14683, 287, 2472, 5633, 46506, 366, 9127, 444, 7997, 1, 16034, 3084, 62, 18638, 62, 46660, 33411, 366, 15603, 876, 1, 796, 705, 26941, 4903, 271, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26941, 4903, 271, 6870, 703, 867, 14683, 287, 2472, 5633, 46506, 366, 9127, 444, 7997, 1, 16034, 3084, 62, 18638, 62, 46660, 33411, 366, 15603, 876, 1, 796, 705, 26941, 4903, 271, 6 ]
What is the position of the player with a 5 (4 in 32.66s) in the 6 atlas stones event?
SELECT position FROM table_24302700_6 WHERE event_6_atlas_stones = "5 (4 in 32.66s)"
[ 2061, 318, 262, 2292, 286, 262, 2137, 351, 257, 642, 357, 19, 287, 3933, 13, 2791, 82, 8, 287, 262, 718, 379, 21921, 14966, 1785, 30, 46506, 2292, 16034, 3084, 62, 1731, 1270, 1983, 405, 62, 21, 33411, 1785, 62, 21, 62, 265, 21921...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 642, 357, 19, 287, 3933, 13, 2791, 82, 8, 287, 262, 718, 379, 21921, 14966, 1785, 30, 46506, 2292, 16034, 3084, 62, 1731, 1270, 1983, 405, 62, 21, 33411, 1785, 62, 21, 62, 265, 21921...
did patient 003-42706 receive a thrombolytics procedure from other hospitals in 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '003-42706' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '003-42706' AND patient.hospitaldischargetime IS NULL)) AND tr...
[ 20839, 5827, 3571, 18, 12, 42363, 3312, 3328, 257, 294, 398, 2127, 306, 14094, 8771, 422, 584, 11301, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 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...
[ 20839, 5827, 3571, 18, 12, 42363, 3312, 3328, 257, 294, 398, 2127, 306, 14094, 8771, 422, 584, 11301, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506,...
Which song was written by Nigel Stock and is 4:12 long?
SELECT title FROM table_name_58 WHERE songwriter_s_ = "nigel stock" AND time = "4:12"
[ 13828, 3496, 373, 3194, 416, 28772, 10500, 290, 318, 604, 25, 1065, 890, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 3365, 33411, 3496, 16002, 62, 82, 62, 796, 366, 77, 47709, 4283, 1, 5357, 640, 796, 366, 19, 25, 1065, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3496, 373, 3194, 416, 28772, 10500, 290, 318, 604, 25, 1065, 890, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 3365, 33411, 3496, 16002, 62, 82, 62, 796, 366, 77, 47709, 4283, 1, 5357, 640, 796, 366, 19, 25, 1065, 1 ]
Who directed the episode that had 5.92 million viewers?
SELECT "Directed by" FROM table_27556 WHERE "U.S. viewers (million)" = '5.92'
[ 8241, 7924, 262, 4471, 326, 550, 642, 13, 5892, 1510, 10209, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 1983, 37864, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 20, 13, 5892, 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, 7924, 262, 4471, 326, 550, 642, 13, 5892, 1510, 10209, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 1983, 37864, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 20, 13, 5892, 6 ]
When aaron brooks (6) had the highest amount of assists what is the date?
SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)"
[ 2215, 257, 8045, 1379, 28194, 357, 21, 8, 550, 262, 4511, 2033, 286, 13648, 644, 318, 262, 3128, 30, 46506, 3128, 16034, 3084, 62, 1558, 2078, 3459, 1495, 62, 21, 33411, 1029, 62, 562, 1023, 796, 366, 34451, 17704, 357, 21, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 257, 8045, 1379, 28194, 357, 21, 8, 550, 262, 4511, 2033, 286, 13648, 644, 318, 262, 3128, 30, 46506, 3128, 16034, 3084, 62, 1558, 2078, 3459, 1495, 62, 21, 33411, 1029, 62, 562, 1023, 796, 366, 34451, 17704, 357, 21, 16725 ]
list the top four most frequent drugs with which patients were prescribed during the same month after having been prescribed diprivan.
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'diprivan') AS t1 JOIN (SELECT patient.uniquepid, me...
[ 4868, 262, 1353, 1440, 749, 10792, 5010, 351, 543, 3871, 547, 14798, 1141, 262, 976, 1227, 706, 1719, 587, 14798, 19550, 380, 10438, 13, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 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...
[ 4868, 262, 1353, 1440, 749, 10792, 5010, 351, 543, 3871, 547, 14798, 1141, 262, 976, 1227, 706, 1719, 587, 14798, 19550, 380, 10438, 13, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62,...
what is the place when the score is 76-69-71-70=286?
SELECT place FROM table_name_34 WHERE score = 76 - 69 - 71 - 70 = 286
[ 10919, 318, 262, 1295, 618, 262, 4776, 318, 8684, 12, 3388, 12, 4869, 12, 2154, 28, 27033, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2682, 33411, 4776, 796, 8684, 532, 8644, 532, 9166, 532, 4317, 796, 39697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 618, 262, 4776, 318, 8684, 12, 3388, 12, 4869, 12, 2154, 28, 27033, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2682, 33411, 4776, 796, 8684, 532, 8644, 532, 9166, 532, 4317, 796, 39697 ]
Show the years, book titles, and publishers for all books, in descending order by year.
SELECT year, book_title, publisher FROM book_club ORDER BY year DESC
[ 15307, 262, 812, 11, 1492, 8714, 11, 290, 17604, 329, 477, 3835, 11, 287, 31491, 1502, 416, 614, 13, 46506, 614, 11, 1492, 62, 7839, 11, 9991, 16034, 1492, 62, 18664, 38678, 11050, 614, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 812, 11, 1492, 8714, 11, 290, 17604, 329, 477, 3835, 11, 287, 31491, 1502, 416, 614, 13, 46506, 614, 11, 1492, 62, 7839, 11, 9991, 16034, 1492, 62, 18664, 38678, 11050, 614, 22196, 34 ]
When bill oddie and frank skinner are both on the davids team what is the episode?
SELECT episode FROM table_23575917_6 WHERE davids_team = "Bill Oddie and Frank Skinner"
[ 2215, 2855, 5629, 494, 290, 14346, 4168, 1008, 389, 1111, 319, 262, 288, 615, 2340, 1074, 644, 318, 262, 4471, 30, 46506, 4471, 16034, 3084, 62, 22370, 38314, 1558, 62, 21, 33411, 288, 615, 2340, 62, 15097, 796, 366, 17798, 20664, 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 ]
[ 2215, 2855, 5629, 494, 290, 14346, 4168, 1008, 389, 1111, 319, 262, 288, 615, 2340, 1074, 644, 318, 262, 4471, 30, 46506, 4471, 16034, 3084, 62, 22370, 38314, 1558, 62, 21, 33411, 288, 615, 2340, 62, 15097, 796, 366, 17798, 20664, 494...
Can you tell me the Score that has the Game of 40?
SELECT "Score" FROM table_8636 WHERE "Game" = '40'
[ 6090, 345, 1560, 502, 262, 15178, 326, 468, 262, 3776, 286, 2319, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 4521, 2623, 33411, 366, 8777, 1, 796, 705, 1821, 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 ]
[ 6090, 345, 1560, 502, 262, 15178, 326, 468, 262, 3776, 286, 2319, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 4521, 2623, 33411, 366, 8777, 1, 796, 705, 1821, 6 ]
Which Height has a Player of mike bibby?
SELECT height FROM table_name_43 WHERE player = "mike bibby"
[ 13828, 27280, 468, 257, 7853, 286, 285, 522, 275, 571, 1525, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 3559, 33411, 2137, 796, 366, 76, 522, 275, 571, 1525, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 27280, 468, 257, 7853, 286, 285, 522, 275, 571, 1525, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 3559, 33411, 2137, 796, 366, 76, 522, 275, 571, 1525, 1 ]
What was Gary Megson's manner of departure?
SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson"
[ 2061, 373, 10936, 8336, 1559, 338, 5642, 286, 12928, 30, 46506, 5642, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 1129, 2327, 5824, 1983, 62, 21, 33411, 28181, 62, 37153, 796, 366, 33820, 8336, 1559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10936, 8336, 1559, 338, 5642, 286, 12928, 30, 46506, 5642, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 1129, 2327, 5824, 1983, 62, 21, 33411, 28181, 62, 37153, 796, 366, 33820, 8336, 1559, 1 ]
Draw a bar chart of date moved in versus how many date moved in, and sort in asc by the y axis.
SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events GROUP BY date_moved_in ORDER BY COUNT(date_moved_in)
[ 25302, 257, 2318, 8262, 286, 3128, 3888, 287, 9051, 703, 867, 3128, 3888, 287, 11, 290, 3297, 287, 10570, 416, 262, 331, 16488, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62, 259, 8, 16034, 2209...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25302, 257, 2318, 8262, 286, 3128, 3888, 287, 9051, 703, 867, 3128, 3888, 287, 11, 290, 3297, 287, 10570, 416, 262, 331, 16488, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62, 259, 8, 16034, 2209...
how many representatives placed at both miss nepal and miss pokhara .
SELECT COUNT("representative") FROM table_204_172 WHERE NOT "placement in miss nepal" IS NULL AND NOT "placement in miss pokhara" IS NULL
[ 4919, 867, 10826, 4624, 379, 1111, 2051, 497, 18596, 290, 2051, 279, 482, 71, 3301, 764, 46506, 327, 28270, 7203, 15603, 876, 4943, 16034, 3084, 62, 18638, 62, 23628, 33411, 5626, 366, 489, 5592, 287, 2051, 497, 18596, 1, 3180, 15697, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10826, 4624, 379, 1111, 2051, 497, 18596, 290, 2051, 279, 482, 71, 3301, 764, 46506, 327, 28270, 7203, 15603, 876, 4943, 16034, 3084, 62, 18638, 62, 23628, 33411, 5626, 366, 489, 5592, 287, 2051, 497, 18596, 1, 3180, 15697, ...
What was the location of the game with a score of 2:3?
SELECT "Location" FROM table_42639 WHERE "Score" = '2:3'
[ 2061, 373, 262, 4067, 286, 262, 983, 351, 257, 4776, 286, 362, 25, 18, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 42780, 2670, 33411, 366, 26595, 1, 796, 705, 17, 25, 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, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4067, 286, 262, 983, 351, 257, 4776, 286, 362, 25, 18, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 42780, 2670, 33411, 366, 26595, 1, 796, 705, 17, 25, 18, 6 ]
provide the duration of hospital stay and death status of subject id 17519.
SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "17519"
[ 15234, 485, 262, 9478, 286, 4436, 2652, 290, 1918, 3722, 286, 2426, 4686, 19038, 1129, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 17430, 1129, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 9478, 286, 4436, 2652, 290, 1918, 3722, 286, 2426, 4686, 19038, 1129, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 17430, 1129, ...
how many patients are below 77 years of age and used acetaminophen-caff-butalbital?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "77" AND prescriptions.drug = "Acetaminophen-Caff-Butalbital"
[ 4919, 867, 3871, 389, 2174, 8541, 812, 286, 2479, 290, 973, 25174, 5669, 47806, 12, 66, 2001, 12, 4360, 282, 65, 1287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 2174, 8541, 812, 286, 2479, 290, 973, 25174, 5669, 47806, 12, 66, 2001, 12, 4360, 282, 65, 1287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
What is the most possible bronze medals when rank is more than 11 and there are fewer than 0 gold medals?
SELECT MAX("Bronze") FROM table_12955 WHERE "Rank" > '11' AND "Gold" < '0'
[ 2061, 318, 262, 749, 1744, 22101, 28057, 618, 4279, 318, 517, 621, 1367, 290, 612, 389, 7380, 621, 657, 3869, 28057, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 18741, 2816, 33411, 366, 27520, 1, 1875, 705, 1157, 6, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 749, 1744, 22101, 28057, 618, 4279, 318, 517, 621, 1367, 290, 612, 389, 7380, 621, 657, 3869, 28057, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 18741, 2816, 33411, 366, 27520, 1, 1875, 705, 1157, 6, 53...
which team had the highest number of losses ?
SELECT "club" FROM table_203_145 ORDER BY "losses" DESC LIMIT 1
[ 4758, 1074, 550, 262, 4511, 1271, 286, 9089, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 22416, 62, 18781, 38678, 11050, 366, 22462, 274, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1074, 550, 262, 4511, 1271, 286, 9089, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 22416, 62, 18781, 38678, 11050, 366, 22462, 274, 1, 22196, 34, 27564, 2043, 352 ]
Which region does Old Dominion University represent?
SELECT region FROM table_name_33 WHERE host = "old dominion university"
[ 13828, 3814, 857, 5706, 28098, 2059, 2380, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 2091, 33411, 2583, 796, 366, 727, 43866, 6403, 1 ]
[ 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, 3814, 857, 5706, 28098, 2059, 2380, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 2091, 33411, 2583, 796, 366, 727, 43866, 6403, 1 ]
What was the 2nd leg score having an aggregate score of 4-2?
SELECT "2nd leg" FROM table_38613 WHERE "Aggregate" = '4-2'
[ 2061, 373, 262, 362, 358, 1232, 4776, 1719, 281, 19406, 4776, 286, 604, 12, 17, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 21734, 1485, 33411, 366, 46384, 49373, 1, 796, 705, 19, 12, 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 ]
[ 2061, 373, 262, 362, 358, 1232, 4776, 1719, 281, 19406, 4776, 286, 604, 12, 17, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 21734, 1485, 33411, 366, 46384, 49373, 1, 796, 705, 19, 12, 17, 6 ]
From what school was the linebacker that had a pick less than 245 and was drafted in round 6?
SELECT "School" FROM table_79437 WHERE "Position" = 'linebacker' AND "Pick" < '245' AND "Round" = '6'
[ 4863, 644, 1524, 373, 262, 18961, 326, 550, 257, 2298, 1342, 621, 29637, 290, 373, 15937, 287, 2835, 718, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 3720, 43284, 33411, 366, 26545, 1, 796, 705, 1370, 49978, 6, 5357, 366, 31686, 1, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4863, 644, 1524, 373, 262, 18961, 326, 550, 257, 2298, 1342, 621, 29637, 290, 373, 15937, 287, 2835, 718, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 3720, 43284, 33411, 366, 26545, 1, 796, 705, 1370, 49978, 6, 5357, 366, 31686, 1, 1...
how many people were diagnosed with bacteremia - unclear source and did not visit the hospital within the same month in this year?
SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'bacteremia - unclear source' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRE...
[ 4919, 867, 661, 547, 14641, 351, 275, 529, 567, 20730, 532, 10061, 2723, 290, 750, 407, 3187, 262, 4436, 1626, 262, 976, 1227, 287, 428, 614, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 661, 547, 14641, 351, 275, 529, 567, 20730, 532, 10061, 2723, 290, 750, 407, 3187, 262, 4436, 1626, 262, 976, 1227, 287, 428, 614, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, ...
what is item id of subject name kelly gallardo?
SELECT lab.itemid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Kelly Gallardo"
[ 10919, 318, 2378, 4686, 286, 2426, 1438, 885, 12810, 7976, 13109, 30, 46506, 2248, 13, 9186, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 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 ]
[ 10919, 318, 2378, 4686, 286, 2426, 1438, 885, 12810, 7976, 13109, 30, 46506, 2248, 13, 9186, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, ...
Which Platforms have a Hazmat of , and a Type of urban & rural, and a Brigade of lara?
SELECT "Platforms" FROM table_8399 WHERE "Hazmat" = '–' AND "Type" = 'urban & rural' AND "Brigade" = 'lara'
[ 13828, 19193, 82, 423, 257, 17064, 6759, 286, 837, 290, 257, 5994, 286, 7876, 1222, 10016, 11, 290, 257, 26012, 286, 300, 3301, 30, 46506, 366, 37148, 82, 1, 16034, 3084, 62, 5999, 2079, 33411, 366, 39, 1031, 6759, 1, 796, 705, 1906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 19193, 82, 423, 257, 17064, 6759, 286, 837, 290, 257, 5994, 286, 7876, 1222, 10016, 11, 290, 257, 26012, 286, 300, 3301, 30, 46506, 366, 37148, 82, 1, 16034, 3084, 62, 5999, 2079, 33411, 366, 39, 1031, 6759, 1, 796, 705, 1906...
what is the number difference between the total amount of executions in persona vs. executions in effigie ?
SELECT ABS(SUM("executions in persona") - SUM("executions in effigie")) FROM table_203_303
[ 10919, 318, 262, 1271, 3580, 1022, 262, 2472, 2033, 286, 30632, 287, 27822, 3691, 13, 30632, 287, 914, 328, 494, 5633, 46506, 29950, 7, 50, 5883, 7203, 18558, 3508, 287, 27822, 4943, 532, 35683, 7203, 18558, 3508, 287, 914, 328, 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 ]
[ 10919, 318, 262, 1271, 3580, 1022, 262, 2472, 2033, 286, 30632, 287, 27822, 3691, 13, 30632, 287, 914, 328, 494, 5633, 46506, 29950, 7, 50, 5883, 7203, 18558, 3508, 287, 27822, 4943, 532, 35683, 7203, 18558, 3508, 287, 914, 328, 494, ...
What is the Power when the acceleration 0 100km/h (0 62mph) is 9.1 s?
SELECT "Power" FROM table_63234 WHERE "Acceleration 0\u2013100km/h (0\u201362mph)" = '9.1 s'
[ 2061, 318, 262, 4333, 618, 262, 20309, 657, 1802, 13276, 14, 71, 357, 15, 8190, 23335, 8, 318, 860, 13, 16, 264, 30, 46506, 366, 13434, 1, 16034, 3084, 62, 5066, 24409, 33411, 366, 12832, 7015, 341, 657, 59, 84, 6390, 3064, 13276, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4333, 618, 262, 20309, 657, 1802, 13276, 14, 71, 357, 15, 8190, 23335, 8, 318, 860, 13, 16, 264, 30, 46506, 366, 13434, 1, 16034, 3084, 62, 5066, 24409, 33411, 366, 12832, 7015, 341, 657, 59, 84, 6390, 3064, 13276, ...
Name the number of Earnings per share ( ) which has a Net profit (US $m) larger than 66, and a Year to April smaller than 2010?
SELECT COUNT("Earnings per share (\u00a2)") FROM table_60285 WHERE "Net profit (US $m)" > '66' AND "Year to April" < '2010'
[ 5376, 262, 1271, 286, 22535, 654, 583, 2648, 357, 1267, 543, 468, 257, 3433, 7630, 357, 2937, 720, 76, 8, 4025, 621, 7930, 11, 290, 257, 6280, 284, 3035, 4833, 621, 3050, 30, 46506, 327, 28270, 7203, 49725, 654, 583, 2648, 357, 59, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5376, 262, 1271, 286, 22535, 654, 583, 2648, 357, 1267, 543, 468, 257, 3433, 7630, 357, 2937, 720, 76, 8, 4025, 621, 7930, 11, 290, 257, 6280, 284, 3035, 4833, 621, 3050, 30, 46506, 327, 28270, 7203, 49725, 654, 583, 2648, 357, 59, ...
What is the minimum manhunt beauty contest?
SELECT MIN(manhunt_international) FROM table_30018460_1
[ 2061, 318, 262, 5288, 582, 35060, 8737, 8414, 30, 46506, 20625, 7, 805, 35060, 62, 45609, 8, 16034, 3084, 62, 6200, 22883, 1899, 62, 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 ]
[ 2061, 318, 262, 5288, 582, 35060, 8737, 8414, 30, 46506, 20625, 7, 805, 35060, 62, 45609, 8, 16034, 3084, 62, 6200, 22883, 1899, 62, 16 ]
What was the featured in Engine through rounds 10-13?
SELECT engine FROM table_name_85 WHERE rounds = "10-13"
[ 2061, 373, 262, 8096, 287, 7117, 832, 9196, 838, 12, 1485, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 5332, 33411, 9196, 796, 366, 940, 12, 1485, 1 ]
[ 1, 1, 1, 1, 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, 8096, 287, 7117, 832, 9196, 838, 12, 1485, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 5332, 33411, 9196, 796, 366, 940, 12, 1485, 1 ]
give me patient 018-81471's daily minimum paco2 until 2104.
SELECT MIN(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-81471')) AND lab.labname = 'paco2' AND STRFTIME('%y', lab.labresulttime) <= '2...
[ 26535, 502, 5827, 5534, 23, 12, 23, 1415, 4869, 338, 4445, 5288, 279, 10602, 17, 1566, 362, 13464, 13, 46506, 20625, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 5534, 23, 12, 23, 1415, 4869, 338, 4445, 5288, 279, 10602, 17, 1566, 362, 13464, 13, 46506, 20625, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26...
what is the year when the date is not played?
SELECT year FROM table_name_84 WHERE date = "not played"
[ 10919, 318, 262, 614, 618, 262, 3128, 318, 407, 2826, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 5705, 33411, 3128, 796, 366, 1662, 2826, 1 ]
[ 1, 1, 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, 614, 618, 262, 3128, 318, 407, 2826, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 5705, 33411, 3128, 796, 366, 1662, 2826, 1 ]
What date had a versus of source: cricinfo.com?
SELECT date FROM table_name_93 WHERE versus = "source: cricinfo.com"
[ 2061, 3128, 550, 257, 9051, 286, 2723, 25, 1067, 291, 10951, 13, 785, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6052, 33411, 9051, 796, 366, 10459, 25, 1067, 291, 10951, 13, 785, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 550, 257, 9051, 286, 2723, 25, 1067, 291, 10951, 13, 785, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6052, 33411, 9051, 796, 366, 10459, 25, 1067, 291, 10951, 13, 785, 1 ]
What result has a goal of 5?
SELECT "Result" FROM table_35453 WHERE "Goal" = '5'
[ 2061, 1255, 468, 257, 3061, 286, 642, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2327, 36625, 33411, 366, 49045, 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 ]
[ 2061, 1255, 468, 257, 3061, 286, 642, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2327, 36625, 33411, 366, 49045, 1, 796, 705, 20, 6 ]
how many patients are diagnosed with primary disease pituitary bleed and born before 2056?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PITUITARY BLEED" AND demographic.dob_year < "2056"
[ 4919, 867, 3871, 389, 14641, 351, 4165, 4369, 6028, 5013, 560, 30182, 290, 4642, 878, 1160, 3980, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 389, 14641, 351, 4165, 4369, 6028, 5013, 560, 30182, 290, 4642, 878, 1160, 3980, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47,...
Who were the Opponents when Laura DuPont had Pam Shriver as Partner with a Score of 6-3, 6-3?
SELECT opponents FROM table_name_10 WHERE partner = "pam shriver" AND score = "6-3, 6-3"
[ 8241, 547, 262, 9385, 3906, 618, 16753, 10343, 48039, 550, 24497, 911, 38291, 355, 35532, 351, 257, 15178, 286, 718, 12, 18, 11, 718, 12, 18, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 940, 33411, 5212, 796, 366, 79, 321, 35064, 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 ]
[ 8241, 547, 262, 9385, 3906, 618, 16753, 10343, 48039, 550, 24497, 911, 38291, 355, 35532, 351, 257, 15178, 286, 718, 12, 18, 11, 718, 12, 18, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 940, 33411, 5212, 796, 366, 79, 321, 35064, 33...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of job_id and the average of salary , and group by attribute job_id, and could you display total number in descending order?
SELECT JOB_ID, AVG(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(SALARY) DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286,...
What position does the player with a first round score of 35.7 play?
SELECT pos FROM table_name_21 WHERE first_round = "35.7"
[ 2061, 2292, 857, 262, 2137, 351, 257, 717, 2835, 4776, 286, 3439, 13, 22, 711, 30, 46506, 1426, 16034, 3084, 62, 3672, 62, 2481, 33411, 717, 62, 744, 796, 366, 2327, 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 ]
[ 2061, 2292, 857, 262, 2137, 351, 257, 717, 2835, 4776, 286, 3439, 13, 22, 711, 30, 46506, 1426, 16034, 3084, 62, 3672, 62, 2481, 33411, 717, 62, 744, 796, 366, 2327, 13, 22, 1 ]
What runner-up has 1925 as the year?
SELECT runner_up FROM table_name_6 WHERE year = "1925"
[ 2061, 17490, 12, 929, 468, 36864, 355, 262, 614, 30, 46506, 17490, 62, 929, 16034, 3084, 62, 3672, 62, 21, 33411, 614, 796, 366, 1129, 1495, 1 ]
[ 1, 1, 1, 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, 17490, 12, 929, 468, 36864, 355, 262, 614, 30, 46506, 17490, 62, 929, 16034, 3084, 62, 3672, 62, 21, 33411, 614, 796, 366, 1129, 1495, 1 ]
Show party names and the number of events for each party. Visualize by pie chart.
SELECT Party_name, COUNT(*) FROM party_events AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID
[ 15307, 2151, 3891, 290, 262, 1271, 286, 2995, 329, 1123, 2151, 13, 15612, 1096, 416, 2508, 8262, 13, 46506, 3615, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2151, 62, 31534, 7054, 309, 16, 32357, 1268, 2151, 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 ]
[ 15307, 2151, 3891, 290, 262, 1271, 286, 2995, 329, 1123, 2151, 13, 15612, 1096, 416, 2508, 8262, 13, 46506, 3615, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2151, 62, 31534, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, ...
Name the most red/yellow cards for positive play being 255
SELECT MAX("Red/Yellow cards") FROM table_73427 WHERE "Positive play" = '255'
[ 5376, 262, 749, 2266, 14, 36022, 4116, 329, 3967, 711, 852, 14280, 46506, 25882, 7203, 7738, 14, 39499, 4116, 4943, 16034, 3084, 62, 22, 2682, 1983, 33411, 366, 21604, 1800, 711, 1, 796, 705, 13381, 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 ]
[ 5376, 262, 749, 2266, 14, 36022, 4116, 329, 3967, 711, 852, 14280, 46506, 25882, 7203, 7738, 14, 39499, 4116, 4943, 16034, 3084, 62, 22, 2682, 1983, 33411, 366, 21604, 1800, 711, 1, 796, 705, 13381, 6 ]
What year has a genre the platform game?
SELECT "Year" FROM table_13807 WHERE "Genre" = 'platform game'
[ 2061, 614, 468, 257, 12121, 262, 3859, 983, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1485, 36928, 33411, 366, 13746, 260, 1, 796, 705, 24254, 983, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 468, 257, 12121, 262, 3859, 983, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1485, 36928, 33411, 366, 13746, 260, 1, 796, 705, 24254, 983, 6 ]
Questions closed as dupe of <tag>.
SELECT p0.Id AS "post_link" FROM Posts AS p0 INNER JOIN PostLinks AS pl ON pl.PostId = p0.Id AND pl.LinkTypeId = 3 INNER JOIN Posts AS p2 ON p2.Id = pl.RelatedPostId INNER JOIN PostTags AS pt ON pt.PostId = p2.Id INNER JOIN Tags AS t ON t.Id = pt.TagId AND t.TagName = '##TargetTag##' WHERE NOT p0.ClosedDate IS NULL
[ 35741, 4838, 355, 7043, 431, 286, 1279, 12985, 28401, 46506, 279, 15, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 279, 15, 3268, 21479, 32357, 1268, 2947, 31815, 7054, 458, 6177, 458, 13, 6307, 7390, 796, 279, 15, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 4838, 355, 7043, 431, 286, 1279, 12985, 28401, 46506, 279, 15, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 279, 15, 3268, 21479, 32357, 1268, 2947, 31815, 7054, 458, 6177, 458, 13, 6307, 7390, 796, 279, 15, 13, ...
Who wrote the episode with e4515 as the production code?
SELECT "Written by" FROM table_73845 WHERE "Production code" = 'E4515'
[ 8241, 2630, 262, 4471, 351, 304, 2231, 1314, 355, 262, 3227, 2438, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 22, 2548, 2231, 33411, 366, 35027, 2438, 1, 796, 705, 36, 2231, 1314, 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 ]
[ 8241, 2630, 262, 4471, 351, 304, 2231, 1314, 355, 262, 3227, 2438, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 22, 2548, 2231, 33411, 366, 35027, 2438, 1, 796, 705, 36, 2231, 1314, 6 ]
Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?
SELECT "Grand Prix" FROM table_57327 WHERE "Fastest Lap" = 'gerhard berger' AND "Pole Position" = 'jacques villeneuve'
[ 13828, 4490, 1293, 87, 550, 27602, 10424, 18157, 1362, 287, 465, 14162, 14779, 290, 257, 474, 330, 13281, 4489, 1734, 45177, 16825, 2292, 30, 46506, 366, 23581, 23832, 1, 16034, 3084, 62, 3553, 34159, 33411, 366, 22968, 395, 26944, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4490, 1293, 87, 550, 27602, 10424, 18157, 1362, 287, 465, 14162, 14779, 290, 257, 474, 330, 13281, 4489, 1734, 45177, 16825, 2292, 30, 46506, 366, 23581, 23832, 1, 16034, 3084, 62, 3553, 34159, 33411, 366, 22968, 395, 26944, 1, 7...
How many gold when silver is less than 32, bronze is 25, and overall is less than 67?
SELECT SUM("Gold") FROM table_8240 WHERE "Silver" < '32' AND "Bronze" = '25' AND "Overall" < '67'
[ 2437, 867, 3869, 618, 8465, 318, 1342, 621, 3933, 11, 22101, 318, 1679, 11, 290, 4045, 318, 1342, 621, 8275, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 23, 16102, 33411, 366, 26766, 1, 1279, 705, 2624, 6, 5357, 366, 18760, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3869, 618, 8465, 318, 1342, 621, 3933, 11, 22101, 318, 1679, 11, 290, 4045, 318, 1342, 621, 8275, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 23, 16102, 33411, 366, 26766, 1, 1279, 705, 2624, 6, 5357, 366, 18760, ...
What is the away team score for North Melbourne's home team?
SELECT away_team AS score FROM table_name_5 WHERE away_team = "north melbourne"
[ 2061, 318, 262, 1497, 1074, 4776, 329, 2258, 14819, 338, 1363, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 20, 33411, 1497, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 4776, 329, 2258, 14819, 338, 1363, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 20, 33411, 1497, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
how many hours has elapsed since the first time patient 006-80884 had a tube feeding amount intake on the current intensive care unit visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ...
[ 4919, 867, 2250, 468, 42118, 1201, 262, 717, 640, 5827, 3571, 21, 12, 1795, 40353, 550, 257, 12403, 13017, 2033, 10337, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 42118, 1201, 262, 717, 640, 5827, 3571, 21, 12, 1795, 40353, 550, 257, 12403, 13017, 2033, 10337, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, ...
What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286?
SELECT "To par" FROM table_12712 WHERE "Money ( \u00a3 )" = '40,850' AND "Score" = '72-74-70-70=286'
[ 2061, 318, 262, 284, 1582, 286, 262, 43791, 2232, 351, 1592, 23400, 286, 2319, 11, 25764, 290, 257, 4776, 286, 7724, 12, 4524, 12, 2154, 12, 2154, 28, 27033, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 16799, 1065, 33411, 366, 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...
[ 2061, 318, 262, 284, 1582, 286, 262, 43791, 2232, 351, 1592, 23400, 286, 2319, 11, 25764, 290, 257, 4776, 286, 7724, 12, 4524, 12, 2154, 12, 2154, 28, 27033, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 16799, 1065, 33411, 366, 2...
Who teaches 532 besides Prof. Patricia Reuter-lorenz ?
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 532 AND NOT instructor.name LIKE '%Patricia Reuter-lorenz%' AND offering_instructor.instructor_id = instructor.instructor_id...
[ 8241, 17324, 642, 2624, 13769, 4415, 13, 30223, 797, 11894, 12, 31131, 27305, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17324, 642, 2624, 13769, 4415, 13, 30223, 797, 11894, 12, 31131, 27305, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, ...
What is the birth date of A. J. Holmes who has a right-handed batting style?
SELECT birth_date FROM table_name_57 WHERE batting_style = "right-handed" AND name = "a. j. holmes"
[ 2061, 318, 262, 4082, 3128, 286, 317, 13, 449, 13, 17628, 508, 468, 257, 826, 12, 13638, 23761, 3918, 30, 46506, 4082, 62, 4475, 16034, 3084, 62, 3672, 62, 3553, 33411, 23761, 62, 7635, 796, 366, 3506, 12, 13638, 1, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4082, 3128, 286, 317, 13, 449, 13, 17628, 508, 468, 257, 826, 12, 13638, 23761, 3918, 30, 46506, 4082, 62, 4475, 16034, 3084, 62, 3672, 62, 3553, 33411, 23761, 62, 7635, 796, 366, 3506, 12, 13638, 1, 5357, 1438, 796,...
Name the joined for blue hose
SELECT "Joined" FROM table_20586 WHERE "Nickname" = 'Blue Hose'
[ 5376, 262, 5399, 329, 4171, 31489, 46506, 366, 24363, 1, 16034, 3084, 62, 1238, 29796, 33411, 366, 23609, 3672, 1, 796, 705, 14573, 367, 577, 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 ]
[ 5376, 262, 5399, 329, 4171, 31489, 46506, 366, 24363, 1, 16034, 3084, 62, 1238, 29796, 33411, 366, 23609, 3672, 1, 796, 705, 14573, 367, 577, 6 ]
have patient 1862 had any d5w intake until 53 months ago?
SELECT COUNT(*) > 0 FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1862)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'd5w' AND ...
[ 14150, 5827, 49658, 550, 597, 288, 20, 86, 10337, 1566, 7192, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 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...
[ 14150, 5827, 49658, 550, 597, 288, 20, 86, 10337, 1566, 7192, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, ...
number of patients who had been diagnosed with multiple sclerosis in 2100.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'multiple sclerosis') AND STRFTIME('%y', diagnoses_icd.char...
[ 17618, 286, 3871, 508, 550, 587, 14641, 351, 3294, 46225, 287, 38123, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 40567, 62, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17618, 286, 3871, 508, 550, 587, 14641, 351, 3294, 46225, 287, 38123, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 40567, 62, 291, ...
Which tournament had a 2R categorization in 2009 and SF in 2010?
SELECT tournament FROM table_name_83 WHERE 2009 = "2r" AND 2010 = "sf"
[ 13828, 7756, 550, 257, 362, 49, 17851, 1634, 287, 3717, 290, 14362, 287, 3050, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 5999, 33411, 3717, 796, 366, 17, 81, 1, 5357, 3050, 796, 366, 28202, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 550, 257, 362, 49, 17851, 1634, 287, 3717, 290, 14362, 287, 3050, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 5999, 33411, 3717, 796, 366, 17, 81, 1, 5357, 3050, 796, 366, 28202, 1 ]
how many times had patient 027-146673 visited icu in 2105?
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-146673') AND STRFTIME('%y', patient.unitadmittime) = '2105'
[ 4919, 867, 1661, 550, 5827, 657, 1983, 12, 1415, 2791, 4790, 8672, 14158, 84, 287, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 20850, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 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...
[ 4919, 867, 1661, 550, 5827, 657, 1983, 12, 1415, 2791, 4790, 8672, 14158, 84, 287, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 20850, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 3...
What is the average Wins, when F/Laps is greater than 1, and when Points is 80?
SELECT AVG("Wins") FROM table_42823 WHERE "F/Laps" > '1' AND "Points" = '80'
[ 2061, 318, 262, 2811, 24423, 11, 618, 376, 14, 43, 1686, 318, 3744, 621, 352, 11, 290, 618, 11045, 318, 4019, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 40173, 1954, 33411, 366, 37, 14, 43, 1686, 1, 1875, 705, 16, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24423, 11, 618, 376, 14, 43, 1686, 318, 3744, 621, 352, 11, 290, 618, 11045, 318, 4019, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 40173, 1954, 33411, 366, 37, 14, 43, 1686, 1, 1875, 705, 16, 6,...
What is the agg when team #2 is 2006 UEFA Intertoto Cup?
SELECT "Agg." FROM table_48302 WHERE "Team #2" = '2006 uefa intertoto cup'
[ 2061, 318, 262, 4194, 618, 1074, 1303, 17, 318, 4793, 40858, 4225, 83, 2069, 5454, 30, 46506, 366, 46384, 526, 16034, 3084, 62, 2780, 22709, 33411, 366, 15592, 1303, 17, 1, 796, 705, 13330, 334, 891, 64, 987, 83, 2069, 6508, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4194, 618, 1074, 1303, 17, 318, 4793, 40858, 4225, 83, 2069, 5454, 30, 46506, 366, 46384, 526, 16034, 3084, 62, 2780, 22709, 33411, 366, 15592, 1303, 17, 1, 796, 705, 13330, 334, 891, 64, 987, 83, 2069, 6508, 6 ]
What is the date for the flag of Norway?
SELECT date FROM table_name_73 WHERE flag = "norway"
[ 2061, 318, 262, 3128, 329, 262, 6056, 286, 15238, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 6056, 796, 366, 13099, 1014, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 329, 262, 6056, 286, 15238, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 6056, 796, 366, 13099, 1014, 1 ]