instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?
SELECT COUNT(platelet_count) FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged"
[ 2437, 867, 640, 857, 262, 7480, 1616, 954, 3051, 618, 386, 400, 398, 8800, 640, 290, 16832, 640, 389, 20573, 30, 46506, 327, 28270, 7, 6816, 1616, 62, 9127, 8, 16034, 3084, 62, 1828, 1433, 4310, 62, 16, 33411, 386, 400, 398, 8800, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 857, 262, 7480, 1616, 954, 3051, 618, 386, 400, 398, 8800, 640, 290, 16832, 640, 389, 20573, 30, 46506, 327, 28270, 7, 6816, 1616, 62, 9127, 8, 16034, 3084, 62, 1828, 1433, 4310, 62, 16, 33411, 386, 400, 398, 8800, ...
How many total credits do I receive for 353 ?
SELECT DISTINCT credits FROM course WHERE department = 'EECS' AND number = 353
[ 2437, 867, 2472, 10824, 466, 314, 3328, 329, 47567, 5633, 46506, 360, 8808, 1268, 4177, 10824, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 47567 ]
[ 1, 1, 1, 1, 1, 1, 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, 2472, 10824, 466, 314, 3328, 329, 47567, 5633, 46506, 360, 8808, 1268, 4177, 10824, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 47567 ]
which airlines have connections between PITTSBURGH and BALTIMORE
SELECT DISTINCT airline.airline_code FROM airline, 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.cit...
[ 4758, 26225, 423, 8787, 1022, 49040, 4694, 38926, 17511, 290, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4758, 26225, 423, 8787, 1022, 49040, 4694, 38926, 17511, 290, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
What was the Agg., when Team 1 was VSADC?
SELECT "Agg." FROM table_69488 WHERE "Team 1" = 'vsadc'
[ 2061, 373, 262, 19015, 1539, 618, 4816, 352, 373, 22269, 2885, 34, 30, 46506, 366, 46384, 526, 16034, 3084, 62, 3388, 33646, 33411, 366, 15592, 352, 1, 796, 705, 14259, 324, 66, 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, 19015, 1539, 618, 4816, 352, 373, 22269, 2885, 34, 30, 46506, 366, 46384, 526, 16034, 3084, 62, 3388, 33646, 33411, 366, 15592, 352, 1, 796, 705, 14259, 324, 66, 6 ]
give me the number of patients who have elective hospital admissions along with diagnosis icd9 code 4373.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.icd9_code = "4373"
[ 26535, 502, 262, 1271, 286, 3871, 508, 423, 1742, 425, 4436, 25349, 1863, 351, 13669, 14158, 67, 24, 2438, 604, 34770, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 423, 1742, 425, 4436, 25349, 1863, 351, 13669, 14158, 67, 24, 2438, 604, 34770, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10?
SELECT AVG(fighting_spirit) FROM table_name_55 WHERE name = "tsurugamine" AND technique < 10
[ 13828, 19098, 7710, 468, 257, 6530, 286, 256, 11793, 1018, 9862, 11, 290, 257, 41317, 4833, 621, 838, 30, 46506, 35224, 7, 26594, 62, 38685, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 1438, 796, 366, 912, 333, 1018, 9862, 1, 5357, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 19098, 7710, 468, 257, 6530, 286, 256, 11793, 1018, 9862, 11, 290, 257, 41317, 4833, 621, 838, 30, 46506, 35224, 7, 26594, 62, 38685, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 1438, 796, 366, 912, 333, 1018, 9862, 1, 5357, 8...
What United States player holds the place of t8?`
SELECT "Player" FROM table_68084 WHERE "Place" = 't8' AND "Country" = 'united states'
[ 2061, 1578, 1829, 2137, 6622, 262, 1295, 286, 256, 23, 30, 63, 46506, 366, 14140, 1, 16034, 3084, 62, 37397, 5705, 33411, 366, 27271, 1, 796, 705, 83, 23, 6, 5357, 366, 33921, 1, 796, 705, 41187, 2585, 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 ]
[ 2061, 1578, 1829, 2137, 6622, 262, 1295, 286, 256, 23, 30, 63, 46506, 366, 14140, 1, 16034, 3084, 62, 37397, 5705, 33411, 366, 27271, 1, 796, 705, 83, 23, 6, 5357, 366, 33921, 1, 796, 705, 41187, 2585, 6 ]
In zip code 94107, on which day neither Fog nor Rain was not observed?
SELECT date FROM weather WHERE zip_code = 94107 AND events <> "Fog" AND events <> "Rain"
[ 818, 19974, 2438, 10048, 15982, 11, 319, 543, 1110, 6159, 33381, 4249, 10301, 373, 407, 6515, 30, 46506, 3128, 16034, 6193, 33411, 19974, 62, 8189, 796, 10048, 15982, 5357, 2995, 1279, 29, 366, 37, 519, 1, 5357, 2995, 1279, 29, 366, 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 ]
[ 818, 19974, 2438, 10048, 15982, 11, 319, 543, 1110, 6159, 33381, 4249, 10301, 373, 407, 6515, 30, 46506, 3128, 16034, 6193, 33411, 19974, 62, 8189, 796, 10048, 15982, 5357, 2995, 1279, 29, 366, 37, 519, 1, 5357, 2995, 1279, 29, 366, 3...
Show minimal age from each job
SELECT job, MIN(age) FROM Person GROUP BY job
[ 15307, 10926, 2479, 422, 1123, 1693, 46506, 1693, 11, 20625, 7, 496, 8, 16034, 7755, 44441, 11050, 1693 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 10926, 2479, 422, 1123, 1693, 46506, 1693, 11, 20625, 7, 496, 8, 16034, 7755, 44441, 11050, 1693 ]
Who was picked for the draft by St. Louis Blues?
SELECT "Player" FROM table_4131 WHERE "NHL team" = 'St. Louis Blues'
[ 8241, 373, 6497, 329, 262, 4538, 416, 520, 13, 5593, 15261, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 19, 22042, 33411, 366, 45, 6581, 1074, 1, 796, 705, 1273, 13, 5593, 15261, 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 ]
[ 8241, 373, 6497, 329, 262, 4538, 416, 520, 13, 5593, 15261, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 19, 22042, 33411, 366, 45, 6581, 1074, 1, 796, 705, 1273, 13, 5593, 15261, 6 ]
how many states are on the chart ?
SELECT COUNT("state") FROM table_204_125
[ 4919, 867, 2585, 389, 319, 262, 8262, 5633, 46506, 327, 28270, 7203, 5219, 4943, 16034, 3084, 62, 18638, 62, 11623 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 2585, 389, 319, 262, 8262, 5633, 46506, 327, 28270, 7203, 5219, 4943, 16034, 3084, 62, 18638, 62, 11623 ]
How many cities were there in 2012 where the rate of burglary was 224.8?
SELECT COUNT("Property Crime") FROM table_22191 WHERE "Burglary" = '224.8'
[ 2437, 867, 4736, 547, 612, 287, 2321, 810, 262, 2494, 286, 33724, 373, 26063, 13, 23, 30, 46506, 327, 28270, 7203, 21746, 10003, 4943, 16034, 3084, 62, 1828, 26492, 33411, 366, 33, 3686, 75, 560, 1, 796, 705, 24137, 13, 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 ]
[ 2437, 867, 4736, 547, 612, 287, 2321, 810, 262, 2494, 286, 33724, 373, 26063, 13, 23, 30, 46506, 327, 28270, 7203, 21746, 10003, 4943, 16034, 3084, 62, 1828, 26492, 33411, 366, 33, 3686, 75, 560, 1, 796, 705, 24137, 13, 23, 6 ]
What is the hometown of the representative that served the twenty-sixth legislature?
SELECT "Hometown" FROM table_67311 WHERE "Legislatures" = 'twenty-sixth'
[ 2061, 318, 262, 20994, 286, 262, 8852, 326, 4983, 262, 8208, 12, 19412, 400, 15928, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 3134, 36244, 33411, 366, 11484, 3044, 6691, 1, 796, 705, 4246, 3787, 12, 19412, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20994, 286, 262, 8852, 326, 4983, 262, 8208, 12, 19412, 400, 15928, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 3134, 36244, 33411, 366, 11484, 3044, 6691, 1, 796, 705, 4246, 3787, 12, 19412, 400, 6 ]
When did series number 65 originally air?
SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = 65
[ 2215, 750, 2168, 1271, 6135, 6198, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 2481, 21288, 22042, 62, 17, 33411, 645, 62, 259, 62, 25076, 796, 6135 ]
[ 1, 1, 1, 1, 1, 1, 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, 750, 2168, 1271, 6135, 6198, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 2481, 21288, 22042, 62, 17, 33411, 645, 62, 259, 62, 25076, 796, 6135 ]
What is the highest number of ties?
SELECT MAX("Ties") FROM table_159
[ 2061, 318, 262, 4511, 1271, 286, 8470, 30, 46506, 25882, 7203, 51, 444, 4943, 16034, 3084, 62, 19707 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 8470, 30, 46506, 25882, 7203, 51, 444, 4943, 16034, 3084, 62, 19707 ]
Who was the opponent on April 28?
SELECT opponent FROM table_name_60 WHERE date = "april 28"
[ 8241, 373, 262, 6125, 319, 3035, 2579, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1899, 33411, 3128, 796, 366, 499, 22379, 2579, 1 ]
[ 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, 6125, 319, 3035, 2579, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1899, 33411, 3128, 796, 366, 499, 22379, 2579, 1 ]
What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents? Show a bar graph.
SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000
[ 2061, 389, 262, 4783, 3891, 290, 1748, 9684, 329, 477, 12815, 326, 1022, 939, 11, 830, 290, 362, 11, 830, 11, 830, 5085, 30, 5438, 257, 2318, 4823, 13, 46506, 5665, 62, 3672, 11, 2254, 62, 45251, 16034, 4783, 33411, 2254, 62, 45251,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4783, 3891, 290, 1748, 9684, 329, 477, 12815, 326, 1022, 939, 11, 830, 290, 362, 11, 830, 11, 830, 5085, 30, 5438, 257, 2318, 4823, 13, 46506, 5665, 62, 3672, 11, 2254, 62, 45251, 16034, 4783, 33411, 2254, 62, 45251,...
Name the role for studio of rep with sheila mannors leading lady and title of westward ho
SELECT "Role" FROM table_70340 WHERE "Studio" = 'rep' AND "Leading lady" = 'sheila mannors' AND "Title" = 'westward ho'
[ 5376, 262, 2597, 329, 8034, 286, 1128, 351, 673, 10102, 582, 77, 669, 3756, 10846, 290, 3670, 286, 7421, 904, 8169, 46506, 366, 47445, 1, 16034, 3084, 62, 2154, 23601, 33411, 366, 41501, 1, 796, 705, 7856, 6, 5357, 366, 20451, 278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2597, 329, 8034, 286, 1128, 351, 673, 10102, 582, 77, 669, 3756, 10846, 290, 3670, 286, 7421, 904, 8169, 46506, 366, 47445, 1, 16034, 3084, 62, 2154, 23601, 33411, 366, 41501, 1, 796, 705, 7856, 6, 5357, 366, 20451, 278, ...
Who had high rebounds on May 1?
SELECT "High rebounds" FROM table_39432 WHERE "Date" = 'may 1'
[ 8241, 550, 1029, 18841, 319, 1737, 352, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 34626, 2624, 33411, 366, 10430, 1, 796, 705, 11261, 352, 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 ]
[ 8241, 550, 1029, 18841, 319, 1737, 352, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 34626, 2624, 33411, 366, 10430, 1, 796, 705, 11261, 352, 6 ]
What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16?
SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16
[ 2061, 318, 262, 2472, 1271, 286, 2472, 10209, 351, 257, 2648, 286, 1248, 13, 23, 4, 290, 257, 10273, 12759, 739, 1467, 30, 46506, 327, 28270, 7, 23350, 62, 1177, 364, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 2648, 796, 366, 1507, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 10209, 351, 257, 2648, 286, 1248, 13, 23, 4, 290, 257, 10273, 12759, 739, 1467, 30, 46506, 327, 28270, 7, 23350, 62, 1177, 364, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 2648, 796, 366, 1507, ...
What event was in New Orleans, Louisiana, USA?
SELECT event FROM table_name_55 WHERE location = "new orleans, louisiana, usa"
[ 2061, 1785, 373, 287, 968, 12255, 11, 13340, 11, 4916, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 2816, 33411, 4067, 796, 366, 3605, 393, 11861, 11, 21081, 271, 7484, 11, 514, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1785, 373, 287, 968, 12255, 11, 13340, 11, 4916, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 2816, 33411, 4067, 796, 366, 3605, 393, 11861, 11, 21081, 271, 7484, 11, 514, 64, 1 ]
Which Year has a Returned On of march 10, 2013?
SELECT AVG(year) FROM table_name_92 WHERE returned_on = "march 10, 2013"
[ 13828, 6280, 468, 257, 8229, 276, 1550, 286, 9960, 838, 11, 2211, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 4504, 62, 261, 796, 366, 76, 998, 838, 11, 2211, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 468, 257, 8229, 276, 1550, 286, 9960, 838, 11, 2211, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 4504, 62, 261, 796, 366, 76, 998, 838, 11, 2211, 1 ]
which athlete had the fastest run ?
SELECT "athlete" FROM table_203_358 ORDER BY "total" LIMIT 1
[ 4758, 16076, 550, 262, 14162, 1057, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 22416, 62, 31128, 38678, 11050, 366, 23350, 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, 1 ]
[ 4758, 16076, 550, 262, 14162, 1057, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 22416, 62, 31128, 38678, 11050, 366, 23350, 1, 27564, 2043, 352 ]
what kind of chassis and engine did the fastest driver drive ?
SELECT "chassis", "engine" FROM table_204_511 ORDER BY "number" LIMIT 1
[ 10919, 1611, 286, 24587, 290, 3113, 750, 262, 14162, 4639, 3708, 5633, 46506, 366, 354, 20297, 1600, 366, 18392, 1, 16034, 3084, 62, 18638, 62, 41647, 38678, 11050, 366, 17618, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1611, 286, 24587, 290, 3113, 750, 262, 14162, 4639, 3708, 5633, 46506, 366, 354, 20297, 1600, 366, 18392, 1, 16034, 3084, 62, 18638, 62, 41647, 38678, 11050, 366, 17618, 1, 27564, 2043, 352 ]
How many legs were own by alan tabern?
SELECT MAX(legs_won) FROM table_27906667_2 WHERE player = "Alan Tabern"
[ 2437, 867, 7405, 547, 898, 416, 435, 272, 7400, 1142, 30, 46506, 25882, 7, 1455, 82, 62, 26502, 8, 16034, 3084, 62, 1983, 3829, 2791, 3134, 62, 17, 33411, 2137, 796, 366, 36235, 16904, 1142, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7405, 547, 898, 416, 435, 272, 7400, 1142, 30, 46506, 25882, 7, 1455, 82, 62, 26502, 8, 16034, 3084, 62, 1983, 3829, 2791, 3134, 62, 17, 33411, 2137, 796, 366, 36235, 16904, 1142, 1 ]
WHich Scored 1,500 Points has a Years Played of 2004 2008 and a Name of jolene anderson?
SELECT "Scored 1,500 Points" FROM table_48080 WHERE "Years Played" = '2004–2008' AND "Name" = 'jolene anderson'
[ 12418, 488, 1446, 1850, 352, 11, 4059, 11045, 468, 257, 13212, 33101, 286, 5472, 3648, 290, 257, 6530, 286, 474, 349, 1734, 290, 882, 30, 46506, 366, 3351, 1850, 352, 11, 4059, 11045, 1, 16034, 3084, 62, 22148, 1795, 33411, 366, 40630...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12418, 488, 1446, 1850, 352, 11, 4059, 11045, 468, 257, 13212, 33101, 286, 5472, 3648, 290, 257, 6530, 286, 474, 349, 1734, 290, 882, 30, 46506, 366, 3351, 1850, 352, 11, 4059, 11045, 1, 16034, 3084, 62, 22148, 1795, 33411, 366, 40630...
give me the number of widow patients who have other preterm infants, 750-999 grams diagnoses.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "WIDOWED" AND diagnoses.long_title = "Other preterm infants, 750-999 grams"
[ 26535, 502, 262, 1271, 286, 27075, 3871, 508, 423, 584, 662, 4354, 18775, 11, 19683, 12, 17032, 16379, 40567, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 27075, 3871, 508, 423, 584, 662, 4354, 18775, 11, 19683, 12, 17032, 16379, 40567, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
What was the method of resolution for the fight against jake brown?
SELECT "Method" FROM table_45173 WHERE "Opponent" = 'jake brown'
[ 2061, 373, 262, 2446, 286, 6323, 329, 262, 1907, 1028, 474, 539, 7586, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 2231, 25399, 33411, 366, 27524, 3471, 1, 796, 705, 73, 539, 7586, 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, 2446, 286, 6323, 329, 262, 1907, 1028, 474, 539, 7586, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 2231, 25399, 33411, 366, 27524, 3471, 1, 796, 705, 73, 539, 7586, 6 ]
What was the Attendance after Week 4 on October 10, 1971?
SELECT AVG("Attendance") FROM table_45982 WHERE "Date" = 'october 10, 1971' AND "Week" > '4'
[ 2061, 373, 262, 46502, 590, 706, 6119, 604, 319, 3267, 838, 11, 16382, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2231, 4089, 17, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 838, 11, 16382, 6, 5357, 366, 20916, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 46502, 590, 706, 6119, 604, 319, 3267, 838, 11, 16382, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2231, 4089, 17, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 838, 11, 16382, 6, 5357, 366, 20916, ...
how many patients were diagnosed with hypotension nec and did not come to the hospital during the same month until 2104?
SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hypotensio...
[ 4919, 867, 3871, 547, 14641, 351, 8813, 3004, 27576, 290, 750, 407, 1282, 284, 262, 4436, 1141, 262, 976, 1227, 1566, 362, 13464, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 14641, 351, 8813, 3004, 27576, 290, 750, 407, 1282, 284, 262, 4436, 1141, 262, 976, 1227, 1566, 362, 13464, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357...
How many perpetrators are there?
SELECT COUNT(*) FROM perpetrator
[ 2437, 867, 25185, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 33599 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 25185, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 33599 ]
count the number of patients whose diagnoses short title is crbl emblsm w infrct and drug type is main?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Crbl emblsm w infrct" AND prescriptions.drug_type = "MAIN"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 1067, 2436, 795, 2436, 5796, 266, 1167, 81, 310, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 1067, 2436, 795, 2436, 5796, 266, 1167, 81, 310, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
Which March 3 has a Poll of baseball america (top 25)?
SELECT "Mar. 3" FROM table_70611 WHERE "Poll" = 'baseball america (top 25)'
[ 13828, 2805, 513, 468, 257, 12868, 286, 9283, 45630, 64, 357, 4852, 1679, 19427, 46506, 366, 7676, 13, 513, 1, 16034, 3084, 62, 35402, 1157, 33411, 366, 39176, 1, 796, 705, 8692, 1894, 45630, 64, 357, 4852, 1679, 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 ]
[ 13828, 2805, 513, 468, 257, 12868, 286, 9283, 45630, 64, 357, 4852, 1679, 19427, 46506, 366, 7676, 13, 513, 1, 16034, 3084, 62, 35402, 1157, 33411, 366, 39176, 1, 796, 705, 8692, 1894, 45630, 64, 357, 4852, 1679, 33047 ]
what is the name of the drug that has been prescribed two or more times in 12/2105 to patient 015-58787?
SELECT t1.drugname FROM (SELECT medication.drugname, COUNT(medication.drugstarttime) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015...
[ 10919, 318, 262, 1438, 286, 262, 2563, 326, 468, 587, 14798, 734, 393, 517, 1661, 287, 1105, 14, 17, 13348, 284, 5827, 5534, 20, 12, 3365, 41019, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 262, 2563, 326, 468, 587, 14798, 734, 393, 517, 1661, 287, 1105, 14, 17, 13348, 284, 5827, 5534, 20, 12, 3365, 41019, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 32...
under which health insurance is the patient with patient id 19420 covered?
SELECT demographic.insurance FROM demographic WHERE demographic.subject_id = "19420"
[ 4625, 543, 1535, 5096, 318, 262, 5827, 351, 5827, 4686, 678, 27211, 5017, 30, 46506, 16728, 13, 1040, 3874, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 22913, 1238, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4625, 543, 1535, 5096, 318, 262, 5827, 351, 5827, 4686, 678, 27211, 5017, 30, 46506, 16728, 13, 1040, 3874, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 22913, 1238, 1 ]
did patient 7073 undergo any procedures until 2104?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7073) AND STRFTIME('%y', procedures_icd.charttime) <= '2104'
[ 20839, 5827, 767, 2998, 18, 17777, 597, 9021, 1566, 362, 13464, 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...
[ 20839, 5827, 767, 2998, 18, 17777, 597, 9021, 1566, 362, 13464, 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,...
What is Try Bonus, when Tries For is '39'?
SELECT try_bonus FROM table_name_98 WHERE tries_for = "39"
[ 2061, 318, 9993, 18770, 11, 618, 309, 1678, 1114, 318, 705, 2670, 30960, 46506, 1949, 62, 4189, 385, 16034, 3084, 62, 3672, 62, 4089, 33411, 8404, 62, 1640, 796, 366, 2670, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 9993, 18770, 11, 618, 309, 1678, 1114, 318, 705, 2670, 30960, 46506, 1949, 62, 4189, 385, 16034, 3084, 62, 3672, 62, 4089, 33411, 8404, 62, 1640, 796, 366, 2670, 1 ]
Who replaced the manager of team arminia bielefeld?
SELECT replaced_by FROM table_name_44 WHERE team = "arminia bielefeld"
[ 8241, 6928, 262, 4706, 286, 1074, 610, 1084, 544, 275, 494, 293, 16265, 30, 46506, 6928, 62, 1525, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 796, 366, 283, 1084, 544, 275, 494, 293, 16265, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 610, 1084, 544, 275, 494, 293, 16265, 30, 46506, 6928, 62, 1525, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 796, 366, 283, 1084, 544, 275, 494, 293, 16265, 1 ]
What was the loss of the game with a record of 84-71?
SELECT "Loss" FROM table_68521 WHERE "Record" = '84-71'
[ 2061, 373, 262, 2994, 286, 262, 983, 351, 257, 1700, 286, 9508, 12, 4869, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 35978, 2481, 33411, 366, 23739, 1, 796, 705, 5705, 12, 4869, 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, 373, 262, 2994, 286, 262, 983, 351, 257, 1700, 286, 9508, 12, 4869, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 35978, 2481, 33411, 366, 23739, 1, 796, 705, 5705, 12, 4869, 6 ]
TeX.SX \\ corruption (grouped by id).
SELECT COUNT(q.Body), q.OwnerUserId, q.OwnerDisplayName FROM Posts AS q WHERE (REPLACE(REPLACE(q.Body, '\\', ''), ' ', 'X') LIKE '%\XXXX%') AND q.OwnerUserId IN (SELECT p.OwnerUserId FROM Posts AS p WHERE (REPLACE(REPLACE(p.Body, '\\', ''), ' ', 'X') LIKE '%\XXXX%') AND q.AcceptedAnswerId != q.Id GROUP BY p.OwnerUserId...
[ 49568, 13, 50, 55, 26867, 9253, 357, 8094, 276, 416, 4686, 737, 46506, 327, 28270, 7, 80, 13, 25842, 828, 10662, 13, 42419, 12982, 7390, 11, 10662, 13, 42419, 23114, 5376, 16034, 12043, 7054, 10662, 33411, 357, 2200, 6489, 11598, 7, 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...
[ 49568, 13, 50, 55, 26867, 9253, 357, 8094, 276, 416, 4686, 737, 46506, 327, 28270, 7, 80, 13, 25842, 828, 10662, 13, 42419, 12982, 7390, 11, 10662, 13, 42419, 23114, 5376, 16034, 12043, 7054, 10662, 33411, 357, 2200, 6489, 11598, 7, 2...
What is the lowest total points Karine Tr cy has with less than 4 draws?
SELECT MIN(total_points) FROM table_name_8 WHERE draw < 4 AND artist = "karine trécy"
[ 2061, 318, 262, 9016, 2472, 2173, 9375, 500, 833, 3075, 468, 351, 1342, 621, 604, 14293, 30, 46506, 20625, 7, 23350, 62, 13033, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 3197, 1279, 604, 5357, 6802, 796, 366, 21070, 500, 491, 2634, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 2472, 2173, 9375, 500, 833, 3075, 468, 351, 1342, 621, 604, 14293, 30, 46506, 20625, 7, 23350, 62, 13033, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 3197, 1279, 604, 5357, 6802, 796, 366, 21070, 500, 491, 2634, 9...
What event did Will Fry win?
SELECT "Event" FROM table_70220 WHERE "Winner" = 'will fry'
[ 2061, 1785, 750, 2561, 25305, 1592, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2154, 17572, 33411, 366, 48056, 1, 796, 705, 10594, 32959, 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, 1785, 750, 2561, 25305, 1592, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2154, 17572, 33411, 366, 48056, 1, 796, 705, 10594, 32959, 6 ]
What PRR class has a Wheel arrangement of a1a-a1a?
SELECT prr_class FROM table_name_33 WHERE wheel_arrangement = "a1a-a1a"
[ 2061, 4810, 49, 1398, 468, 257, 15810, 13888, 286, 257, 16, 64, 12, 64, 16, 64, 30, 46506, 778, 81, 62, 4871, 16034, 3084, 62, 3672, 62, 2091, 33411, 7825, 62, 3258, 648, 972, 796, 366, 64, 16, 64, 12, 64, 16, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4810, 49, 1398, 468, 257, 15810, 13888, 286, 257, 16, 64, 12, 64, 16, 64, 30, 46506, 778, 81, 62, 4871, 16034, 3084, 62, 3672, 62, 2091, 33411, 7825, 62, 3258, 648, 972, 796, 366, 64, 16, 64, 12, 64, 16, 64, 1 ]
What's the process technology of the Intel WiFi Link 5100 wireless LAN?
SELECT process_technology FROM table_199666_1 WHERE wireless_lan = "Intel WiFi Link 5100"
[ 2061, 338, 262, 1429, 3037, 286, 262, 8180, 24904, 7502, 642, 3064, 12521, 24192, 30, 46506, 1429, 62, 45503, 16034, 3084, 62, 19104, 27310, 62, 16, 33411, 12521, 62, 9620, 796, 366, 24123, 24904, 7502, 642, 3064, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1429, 3037, 286, 262, 8180, 24904, 7502, 642, 3064, 12521, 24192, 30, 46506, 1429, 62, 45503, 16034, 3084, 62, 19104, 27310, 62, 16, 33411, 12521, 62, 9620, 796, 366, 24123, 24904, 7502, 642, 3064, 1 ]
Which college has a pick number of 155?
SELECT college FROM table_name_19 WHERE pick__number = 155
[ 13828, 4152, 468, 257, 2298, 1271, 286, 20708, 30, 46506, 4152, 16034, 3084, 62, 3672, 62, 1129, 33411, 2298, 834, 17618, 796, 20708 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4152, 468, 257, 2298, 1271, 286, 20708, 30, 46506, 4152, 16034, 3084, 62, 3672, 62, 1129, 33411, 2298, 834, 17618, 796, 20708 ]
How tall is the building ranked #13?
SELECT "Height ft (m)" FROM table_62431 WHERE "Rank" = '13'
[ 2437, 7331, 318, 262, 2615, 10307, 1303, 1485, 30, 46506, 366, 23106, 10117, 357, 76, 16725, 16034, 3084, 62, 21, 1731, 3132, 33411, 366, 27520, 1, 796, 705, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 7331, 318, 262, 2615, 10307, 1303, 1485, 30, 46506, 366, 23106, 10117, 357, 76, 16725, 16034, 3084, 62, 21, 1731, 3132, 33411, 366, 27520, 1, 796, 705, 1485, 6 ]
just show me the top five most common diagnoses in 2105?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE STRFTIME('%y', diagnoses_icd.charttime) = '2105' GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t...
[ 3137, 905, 502, 262, 1353, 1936, 749, 2219, 40567, 287, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3137, 905, 502, 262, 1353, 1936, 749, 2219, 40567, 287, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67...
What was Spring Creek School's area when the decile was 4?
SELECT "Area" FROM table_15610 WHERE "Decile" = '4' AND "Name" = 'spring creek school'
[ 2061, 373, 8225, 13509, 3961, 338, 1989, 618, 262, 875, 576, 373, 604, 30, 46506, 366, 30547, 1, 16034, 3084, 62, 21599, 940, 33411, 366, 10707, 576, 1, 796, 705, 19, 6, 5357, 366, 5376, 1, 796, 705, 16469, 39459, 1524, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 8225, 13509, 3961, 338, 1989, 618, 262, 875, 576, 373, 604, 30, 46506, 366, 30547, 1, 16034, 3084, 62, 21599, 940, 33411, 366, 10707, 576, 1, 796, 705, 19, 6, 5357, 366, 5376, 1, 796, 705, 16469, 39459, 1524, 6 ]
What campus is in Brgy. Alangilan, Batangas City?
SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city"
[ 2061, 7611, 318, 287, 1709, 1360, 13, 978, 648, 38239, 11, 6577, 648, 292, 2254, 30, 46506, 7611, 16034, 3084, 62, 3672, 62, 3270, 33411, 4067, 796, 366, 1671, 1360, 13, 435, 648, 38239, 11, 7365, 648, 292, 1748, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7611, 318, 287, 1709, 1360, 13, 978, 648, 38239, 11, 6577, 648, 292, 2254, 30, 46506, 7611, 16034, 3084, 62, 3672, 62, 3270, 33411, 4067, 796, 366, 1671, 1360, 13, 435, 648, 38239, 11, 7365, 648, 292, 1748, 1 ]
How many US events did jason bennett win?
SELECT AVG("Events won (US Series)") FROM table_68183 WHERE "Name" = 'jason bennett'
[ 2437, 867, 1294, 2995, 750, 474, 888, 275, 48151, 1592, 30, 46506, 35224, 7203, 37103, 1839, 357, 2937, 7171, 8, 4943, 16034, 3084, 62, 3104, 24839, 33411, 366, 5376, 1, 796, 705, 73, 888, 275, 48151, 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, 1294, 2995, 750, 474, 888, 275, 48151, 1592, 30, 46506, 35224, 7203, 37103, 1839, 357, 2937, 7171, 8, 4943, 16034, 3084, 62, 3104, 24839, 33411, 366, 5376, 1, 796, 705, 73, 888, 275, 48151, 6 ]
there are only how many participants from crystal place ?
SELECT COUNT(*) FROM table_204_686 WHERE "from" = 'crystal palace'
[ 8117, 389, 691, 703, 867, 6809, 422, 15121, 1295, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 33808, 33411, 366, 6738, 1, 796, 705, 20470, 7757, 20562, 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 ]
[ 8117, 389, 691, 703, 867, 6809, 422, 15121, 1295, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 33808, 33411, 366, 6738, 1, 796, 705, 20470, 7757, 20562, 6 ]
What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg?
SELECT "2nd leg" FROM table_12743 WHERE "Home (2nd leg)" = 'estudiantes la plata'
[ 2061, 373, 262, 362, 358, 1232, 326, 550, 262, 10062, 463, 3014, 274, 4689, 1345, 1045, 1363, 329, 262, 362, 358, 1232, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 16799, 3559, 33411, 366, 16060, 357, 17, 358, 1232, 16725, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 362, 358, 1232, 326, 550, 262, 10062, 463, 3014, 274, 4689, 1345, 1045, 1363, 329, 262, 362, 358, 1232, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 16799, 3559, 33411, 366, 16060, 357, 17, 358, 1232, 16725, 79...
Questions in the [row] tag with pending flags.
SELECT * FROM FlagTypes
[ 35741, 287, 262, 685, 808, 60, 7621, 351, 13310, 9701, 13, 46506, 1635, 16034, 19762, 31431 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 287, 262, 685, 808, 60, 7621, 351, 13310, 9701, 13, 46506, 1635, 16034, 19762, 31431 ]
Which faith has a name of Belswains?
SELECT "Faith" FROM table_37936 WHERE "Name" = 'belswains'
[ 13828, 4562, 468, 257, 1438, 286, 347, 1424, 86, 1299, 30, 46506, 366, 45536, 1, 16034, 3084, 62, 29088, 2623, 33411, 366, 5376, 1, 796, 705, 65, 1424, 86, 1299, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4562, 468, 257, 1438, 286, 347, 1424, 86, 1299, 30, 46506, 366, 45536, 1, 16034, 3084, 62, 29088, 2623, 33411, 366, 5376, 1, 796, 705, 65, 1424, 86, 1299, 6 ]
What date was the Tigullio Circuit?
SELECT "Date" FROM table_12105 WHERE "Circuit" = 'tigullio'
[ 2061, 3128, 373, 262, 14189, 724, 952, 13588, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1065, 13348, 33411, 366, 31560, 5013, 1, 796, 705, 83, 328, 724, 952, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 373, 262, 14189, 724, 952, 13588, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1065, 13348, 33411, 366, 31560, 5013, 1, 796, 705, 83, 328, 724, 952, 6 ]
Create a bar chart showing the total number across city code
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code
[ 16447, 257, 2318, 8262, 4478, 262, 2472, 1271, 1973, 1748, 2438, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2318, 8262, 4478, 262, 2472, 1271, 1973, 1748, 2438, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189 ]
What character is portrayed by Joe Jonas?
SELECT character FROM table_name_59 WHERE portrayed_by = "joe jonas"
[ 2061, 2095, 318, 19152, 416, 5689, 40458, 30, 46506, 2095, 16034, 3084, 62, 3672, 62, 3270, 33411, 19152, 62, 1525, 796, 366, 73, 2577, 474, 261, 292, 1 ]
[ 1, 1, 1, 1, 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, 2095, 318, 19152, 416, 5689, 40458, 30, 46506, 2095, 16034, 3084, 62, 3672, 62, 3270, 33411, 19152, 62, 1525, 796, 366, 73, 2577, 474, 261, 292, 1 ]
What was the W-L record when HIgh Points was andre miller (30)?
SELECT "Record" FROM table_21522 WHERE "High points" = 'Andre Miller (30)'
[ 2061, 373, 262, 370, 12, 43, 1700, 618, 36210, 456, 11045, 373, 290, 260, 3939, 263, 357, 1270, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 23349, 1828, 33411, 366, 11922, 2173, 1, 796, 705, 31258, 7920, 357, 1270, 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, 1 ]
[ 2061, 373, 262, 370, 12, 43, 1700, 618, 36210, 456, 11045, 373, 290, 260, 3939, 263, 357, 1270, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 23349, 1828, 33411, 366, 11922, 2173, 1, 796, 705, 31258, 7920, 357, 1270, 33047 ]
How many viewers watched the episode written by shana goldberg-meehan & greg malins?
SELECT "U.S. viewers (million)" FROM table_29496 WHERE "Written by" = 'Shana Goldberg-Meehan & Greg Malins'
[ 2437, 867, 10209, 7342, 262, 4471, 3194, 416, 427, 2271, 3869, 3900, 12, 1326, 68, 7637, 1222, 308, 2301, 6428, 1040, 30, 46506, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 16034, 3084, 62, 1959, 37747, 33411, 366, 25354, 416, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 10209, 7342, 262, 4471, 3194, 416, 427, 2271, 3869, 3900, 12, 1326, 68, 7637, 1222, 308, 2301, 6428, 1040, 30, 46506, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 16034, 3084, 62, 1959, 37747, 33411, 366, 25354, 416, 1, ...
what is the number of players from the edinburgh kings ?
SELECT COUNT("player") FROM table_203_418 WHERE "current club" = 'edinburgh kings'
[ 10919, 318, 262, 1271, 286, 1938, 422, 262, 1225, 22222, 21557, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 22416, 62, 39667, 33411, 366, 14421, 3430, 1, 796, 705, 276, 22222, 21557, 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 ]
[ 10919, 318, 262, 1271, 286, 1938, 422, 262, 1225, 22222, 21557, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 22416, 62, 39667, 33411, 366, 14421, 3430, 1, 796, 705, 276, 22222, 21557, 6 ]
what is the name of the treatment which has been given to patient 98517 two times in 03/this year?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 985...
[ 10919, 318, 262, 1438, 286, 262, 3513, 543, 468, 587, 1813, 284, 5827, 860, 5332, 1558, 734, 1661, 287, 7643, 14, 5661, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 262, 3513, 543, 468, 587, 1813, 284, 5827, 860, 5332, 1558, 734, 1661, 287, 7643, 14, 5661, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, ...
Name the high assists for april 8
SELECT high_assists FROM table_17355628_10 WHERE date = "April 8"
[ 5376, 262, 1029, 13648, 329, 46593, 346, 807, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1558, 2327, 3980, 2078, 62, 940, 33411, 3128, 796, 366, 16784, 807, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1029, 13648, 329, 46593, 346, 807, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1558, 2327, 3980, 2078, 62, 940, 33411, 3128, 796, 366, 16784, 807, 1 ]
count the number of patients whose days of hospital stay is greater than 17 and diagnoses icd9 code is v1006?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "17" AND diagnoses.icd9_code = "V1006"
[ 9127, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1596, 290, 40567, 14158, 67, 24, 2438, 318, 410, 3064, 21, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1596, 290, 40567, 14158, 67, 24, 2438, 318, 410, 3064, 21, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
Find the ratio of closed question to asked questions for a given user.
SELECT COUNT(*) AS "TotalQuestions", (SELECT COUNT(*) AS "TotalClosed" FROM Posts AS C WHERE C.OwnerUserId = P.OwnerUserId AND ClosedDate != '') AS "TotalClosed", (SELECT COUNT(*) AS "TotalClosed" FROM Posts AS C WHERE C.OwnerUserId = P.OwnerUserId AND ClosedDate != '') * 100.0 / COUNT(*) * 1.0 AS "percent" FROM Posts ...
[ 16742, 262, 8064, 286, 4838, 1808, 284, 1965, 2683, 329, 257, 1813, 2836, 13, 46506, 327, 28270, 7, 28104, 7054, 366, 14957, 35741, 1600, 357, 46506, 327, 28270, 7, 28104, 7054, 366, 14957, 2601, 1335, 1, 16034, 12043, 7054, 327, 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, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 8064, 286, 4838, 1808, 284, 1965, 2683, 329, 257, 1813, 2836, 13, 46506, 327, 28270, 7, 28104, 7054, 366, 14957, 35741, 1600, 357, 46506, 327, 28270, 7, 28104, 7054, 366, 14957, 2601, 1335, 1, 16034, 12043, 7054, 327, 33411,...
what is the score on march 8?
SELECT "Score" FROM table_48673 WHERE "Date" = 'march 8'
[ 10919, 318, 262, 4776, 319, 9960, 807, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2780, 45758, 33411, 366, 10430, 1, 796, 705, 76, 998, 807, 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 ]
[ 10919, 318, 262, 4776, 319, 9960, 807, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2780, 45758, 33411, 366, 10430, 1, 796, 705, 76, 998, 807, 6 ]
how many competitions were not friendly ?
SELECT COUNT(*) FROM table_204_920 WHERE "goal" <> 'friendly'
[ 4919, 867, 24174, 547, 407, 8030, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 37128, 33411, 366, 35231, 1, 1279, 29, 705, 13120, 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 ]
[ 4919, 867, 24174, 547, 407, 8030, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 37128, 33411, 366, 35231, 1, 1279, 29, 705, 13120, 6 ]
What chassis was paired with climax straight-4?
SELECT "Chassis" FROM table_15671 WHERE "Engine" = 'climax straight-4'
[ 2061, 24587, 373, 20312, 351, 30032, 3892, 12, 19, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 1314, 46250, 33411, 366, 13798, 1, 796, 705, 565, 320, 897, 3892, 12, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 24587, 373, 20312, 351, 30032, 3892, 12, 19, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 1314, 46250, 33411, 366, 13798, 1, 796, 705, 565, 320, 897, 3892, 12, 19, 6 ]
Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5?
SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 5
[ 13828, 20321, 468, 257, 7929, 21743, 286, 474, 86, 6015, 14, 79, 86, 6015, 11, 290, 257, 10485, 4025, 621, 642, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 2481, 33411, 1104, 62, 22872, 796, 366, 73, 86, 6015, 14, 79, 86, 6015, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20321, 468, 257, 7929, 21743, 286, 474, 86, 6015, 14, 79, 86, 6015, 11, 290, 257, 10485, 4025, 621, 642, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 2481, 33411, 1104, 62, 22872, 796, 366, 73, 86, 6015, 14, 79, 86, 6015, 1,...
What is the score for Billy Andrade?
SELECT "Score" FROM table_8435 WHERE "Player" = 'billy andrade'
[ 2061, 318, 262, 4776, 329, 15890, 843, 27585, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5705, 2327, 33411, 366, 14140, 1, 796, 705, 65, 6548, 290, 27585, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 329, 15890, 843, 27585, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5705, 2327, 33411, 366, 14140, 1, 796, 705, 65, 6548, 290, 27585, 6 ]
What are the number of the wines that have prices lower than 50 and have appelations in Monterey county?
SELECT Name, COUNT(Name) FROM appellations AS T1 JOIN wine AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = "Monterey" AND T2.Price < 50 GROUP BY Name
[ 2061, 389, 262, 1271, 286, 262, 30680, 326, 423, 4536, 2793, 621, 2026, 290, 423, 598, 417, 602, 287, 5575, 48023, 7968, 30, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 24781, 602, 7054, 309, 16, 32357, 1268, 8237, 7054, 309, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1271, 286, 262, 30680, 326, 423, 4536, 2793, 621, 2026, 290, 423, 598, 417, 602, 287, 5575, 48023, 7968, 30, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 24781, 602, 7054, 309, 16, 32357, 1268, 8237, 7054, 309, 17...
what is the frequency (hz) when the g ( s/km) is 53.205?
SELECT "Frequency (Hz)" FROM table_28333 WHERE "G (\u03bcS/km)" = '53.205'
[ 10919, 318, 262, 8373, 357, 32179, 8, 618, 262, 308, 357, 264, 14, 13276, 8, 318, 7192, 13, 21261, 30, 46506, 366, 37, 28707, 357, 7399, 16725, 16034, 3084, 62, 2078, 20370, 33411, 366, 38, 357, 59, 84, 3070, 15630, 50, 14, 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 ]
[ 10919, 318, 262, 8373, 357, 32179, 8, 618, 262, 308, 357, 264, 14, 13276, 8, 318, 7192, 13, 21261, 30, 46506, 366, 37, 28707, 357, 7399, 16725, 16034, 3084, 62, 2078, 20370, 33411, 366, 38, 357, 59, 84, 3070, 15630, 50, 14, 13276, ...
Which game is located in Boston Garden and has a record of 49-17?
SELECT game FROM table_name_81 WHERE location = "boston garden" AND record = "49-17"
[ 13828, 983, 318, 5140, 287, 6182, 11652, 290, 468, 257, 1700, 286, 5125, 12, 1558, 30, 46506, 983, 16034, 3084, 62, 3672, 62, 6659, 33411, 4067, 796, 366, 65, 5744, 11376, 1, 5357, 1700, 796, 366, 2920, 12, 1558, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 983, 318, 5140, 287, 6182, 11652, 290, 468, 257, 1700, 286, 5125, 12, 1558, 30, 46506, 983, 16034, 3084, 62, 3672, 62, 6659, 33411, 4067, 796, 366, 65, 5744, 11376, 1, 5357, 1700, 796, 366, 2920, 12, 1558, 1 ]
Top 20 by Tag Master.
SELECT q.Id, q.Title AS "Title", u.Id AS "Asker", u.Id AS "user_link", au.Id AS "Answerer", au.Id AS "user_link", q.CreationDate AS "When Asked", a.CreationDate AS "When Answered", q.LastActivityDate AS "Last Active", q.ViewCount AS "Views", q.AnswerCount AS "Total Answers", q.CommentCount AS "Q Comments", a.CommentCou...
[ 9126, 1160, 416, 17467, 5599, 13, 46506, 10662, 13, 7390, 11, 10662, 13, 19160, 7054, 366, 19160, 1600, 334, 13, 7390, 7054, 366, 1722, 6122, 1600, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 35851, 13, 7390, 7054, 366, 2025, 2032...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 1160, 416, 17467, 5599, 13, 46506, 10662, 13, 7390, 11, 10662, 13, 19160, 7054, 366, 19160, 1600, 334, 13, 7390, 7054, 366, 1722, 6122, 1600, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 35851, 13, 7390, 7054, 366, 2025, 2032...
How many opponents was a game with a record 17-6 played against?
SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = "17-6"
[ 2437, 867, 7691, 373, 257, 983, 351, 257, 1700, 1596, 12, 21, 2826, 1028, 30, 46506, 327, 28270, 7, 10365, 3471, 8, 16034, 3084, 62, 1507, 4531, 2857, 2598, 62, 21, 33411, 1700, 796, 366, 1558, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7691, 373, 257, 983, 351, 257, 1700, 1596, 12, 21, 2826, 1028, 30, 46506, 327, 28270, 7, 10365, 3471, 8, 16034, 3084, 62, 1507, 4531, 2857, 2598, 62, 21, 33411, 1700, 796, 366, 1558, 12, 21, 1 ]
Where was the location for the August 29, 1980 game?
SELECT "Venue" FROM table_5265 WHERE "Date" = 'august 29, 1980'
[ 8496, 373, 262, 4067, 329, 262, 2932, 2808, 11, 7169, 983, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 20, 22980, 33411, 366, 10430, 1, 796, 705, 7493, 436, 2808, 11, 7169, 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 ]
[ 8496, 373, 262, 4067, 329, 262, 2932, 2808, 11, 7169, 983, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 20, 22980, 33411, 366, 10430, 1, 796, 705, 7493, 436, 2808, 11, 7169, 6 ]
What is the best when the qual 2 is 1:47.042?
SELECT "Best" FROM table_44252 WHERE "Qual 2" = '1:47.042'
[ 2061, 318, 262, 1266, 618, 262, 4140, 362, 318, 352, 25, 2857, 13, 3023, 17, 30, 46506, 366, 13014, 1, 16034, 3084, 62, 2598, 22800, 33411, 366, 46181, 362, 1, 796, 705, 16, 25, 2857, 13, 3023, 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 ]
[ 2061, 318, 262, 1266, 618, 262, 4140, 362, 318, 352, 25, 2857, 13, 3023, 17, 30, 46506, 366, 13014, 1, 16034, 3084, 62, 2598, 22800, 33411, 366, 46181, 362, 1, 796, 705, 16, 25, 2857, 13, 3023, 17, 6 ]
give me the number of patients whose age is less than 48 and diagnoses long title is vascular hamartomas?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "48" AND diagnoses.long_title = "Vascular hamartomas"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 4764, 290, 40567, 890, 3670, 318, 39495, 8891, 433, 16911, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 4764, 290, 40567, 890, 3670, 318, 39495, 8891, 433, 16911, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
How many patients born before 2058 have other body fluid lab tests done?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2058" AND lab.fluid = "Other Body Fluid"
[ 2437, 867, 3871, 4642, 878, 1160, 3365, 423, 584, 1767, 11711, 2248, 5254, 1760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3871, 4642, 878, 1160, 3365, 423, 584, 1767, 11711, 2248, 5254, 1760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 6...
fibrinogen < 1.5 g / l )
SELECT * FROM table_train_118 WHERE fibrinogen < 1.5
[ 69, 2889, 259, 6644, 1279, 352, 13, 20, 308, 1220, 300, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 16817, 33411, 277, 2889, 259, 6644, 1279, 352, 13, 20 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 69, 2889, 259, 6644, 1279, 352, 13, 20, 308, 1220, 300, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 16817, 33411, 277, 2889, 259, 6644, 1279, 352, 13, 20 ]
Find the number of rooms with a king bed.
SELECT COUNT(*) FROM rooms WHERE bedtype = "King"
[ 16742, 262, 1271, 286, 9519, 351, 257, 5822, 3996, 13, 46506, 327, 28270, 7, 28104, 16034, 9519, 33411, 3996, 4906, 796, 366, 15708, 1 ]
[ 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, 1271, 286, 9519, 351, 257, 5822, 3996, 13, 46506, 327, 28270, 7, 28104, 16034, 9519, 33411, 3996, 4906, 796, 366, 15708, 1 ]
What are keyphrases by Christof Dallermassl in 2000 ?
SELECT DISTINCT paperkeyphrase.keyphraseid FROM author, paper, paperkeyphrase, writes WHERE author.authorname = 'Christof Dallermassl' AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2000 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 2061, 389, 1994, 746, 81, 1386, 416, 1951, 1659, 360, 439, 7780, 562, 75, 287, 4751, 5633, 46506, 360, 8808, 1268, 4177, 3348, 2539, 34675, 13, 2539, 34675, 312, 16034, 1772, 11, 3348, 11, 3348, 2539, 34675, 11, 6797, 33411, 1772, 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...
[ 2061, 389, 1994, 746, 81, 1386, 416, 1951, 1659, 360, 439, 7780, 562, 75, 287, 4751, 5633, 46506, 360, 8808, 1268, 4177, 3348, 2539, 34675, 13, 2539, 34675, 312, 16034, 1772, 11, 3348, 11, 3348, 2539, 34675, 11, 6797, 33411, 1772, 13,...
What are the lowest points from 1992 with a Chassis of Minardi m192?
SELECT MIN("Points") FROM table_71355 WHERE "Year" = '1992' AND "Chassis" = 'minardi m192'
[ 2061, 389, 262, 9016, 2173, 422, 9768, 351, 257, 609, 20297, 286, 1855, 22490, 285, 17477, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 50055, 2816, 33411, 366, 17688, 1, 796, 705, 23847, 6, 5357, 366, 1925, 20297, 1, 796, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 9016, 2173, 422, 9768, 351, 257, 609, 20297, 286, 1855, 22490, 285, 17477, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 50055, 2816, 33411, 366, 17688, 1, 796, 705, 23847, 6, 5357, 366, 1925, 20297, 1, 796, 70...
which type of terrain is listed the most ?
SELECT "terrain" FROM table_204_312 GROUP BY "terrain" ORDER BY COUNT(*) DESC LIMIT 1
[ 4758, 2099, 286, 15510, 318, 5610, 262, 749, 5633, 46506, 366, 353, 3201, 1, 16034, 3084, 62, 18638, 62, 27970, 44441, 11050, 366, 353, 3201, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 2099, 286, 15510, 318, 5610, 262, 749, 5633, 46506, 366, 353, 3201, 1, 16034, 3084, 62, 18638, 62, 27970, 44441, 11050, 366, 353, 3201, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What was the score of the game when the record was 22 46?
SELECT score FROM table_name_36 WHERE record = "22–46"
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1700, 373, 2534, 6337, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2623, 33411, 1700, 796, 366, 1828, 1906, 3510, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1700, 373, 2534, 6337, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2623, 33411, 1700, 796, 366, 1828, 1906, 3510, 1 ]
Which method has a record of 11-10?
SELECT "Method" FROM table_54358 WHERE "Record" = '11-10'
[ 13828, 2446, 468, 257, 1700, 286, 1367, 12, 940, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 4051, 31128, 33411, 366, 23739, 1, 796, 705, 1157, 12, 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, 1, 1, 1, 1, 1 ]
[ 13828, 2446, 468, 257, 1700, 286, 1367, 12, 940, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 4051, 31128, 33411, 366, 23739, 1, 796, 705, 1157, 12, 940, 6 ]
What is the away team's score when the home team scores 18.12 (120)?
SELECT "Away team" FROM table_4820 WHERE "Home team score" = '18.12 (120)'
[ 2061, 318, 262, 1497, 1074, 338, 4776, 618, 262, 1363, 1074, 8198, 1248, 13, 1065, 357, 10232, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2780, 1238, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1507, 13, 1065, 357, 10232, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 4776, 618, 262, 1363, 1074, 8198, 1248, 13, 1065, 357, 10232, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2780, 1238, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1507, 13, 1065, 357, 10232, ...
WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY?
SELECT result FROM table_16741821_8 WHERE surface = "Clay" AND against = "Lithuania"
[ 32971, 370, 9338, 11096, 3963, 3336, 15731, 35342, 42099, 33302, 28180, 1961, 36218, 38604, 406, 10554, 52, 1565, 3539, 5357, 3336, 41016, 49836, 21725, 337, 19266, 3963, 7852, 4792, 30, 46506, 1255, 16034, 3084, 62, 1433, 4524, 1507, 2481,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 370, 9338, 11096, 3963, 3336, 15731, 35342, 42099, 33302, 28180, 1961, 36218, 38604, 406, 10554, 52, 1565, 3539, 5357, 3336, 41016, 49836, 21725, 337, 19266, 3963, 7852, 4792, 30, 46506, 1255, 16034, 3084, 62, 1433, 4524, 1507, 2481,...
How many courses are provided in each year? binning by year and visualize with a grouping line chart by different semesters .
SELECT year, COUNT(*) FROM section GROUP BY semester
[ 2437, 867, 10902, 389, 2810, 287, 1123, 614, 30, 9874, 768, 416, 614, 290, 38350, 351, 257, 36115, 1627, 8262, 416, 1180, 5026, 8586, 764, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, 11050, 24878 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 389, 2810, 287, 1123, 614, 30, 9874, 768, 416, 614, 290, 38350, 351, 257, 36115, 1627, 8262, 416, 1180, 5026, 8586, 764, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, 11050, 24878 ]
Is ENGR 996 having class on Friday ?
SELECT DISTINCT course_offering.friday FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'ENGR' AND course.number = 996 AND semester.semester = 'WN' AND semester.year = 2016
[ 3792, 36924, 49, 860, 4846, 1719, 1398, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 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...
[ 3792, 36924, 49, 860, 4846, 1719, 1398, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2...
Last site access by a Mathematics moderator.
SELECT u.Id AS "user_link", u.LastAccessDate FROM Users AS u WHERE u.Id IN (622, 9754, 12952, 13854, 21674, 23350, 44121, 59234, 83702, 85306)
[ 5956, 2524, 1895, 416, 257, 39448, 31847, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 5956, 15457, 10430, 16034, 18987, 7054, 334, 33411, 334, 13, 7390, 3268, 357, 21, 1828, 11, 860, 41874, 11, 1105, 49234, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5956, 2524, 1895, 416, 257, 39448, 31847, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 5956, 15457, 10430, 16034, 18987, 7054, 334, 33411, 334, 13, 7390, 3268, 357, 21, 1828, 11, 860, 41874, 11, 1105, 49234, 11,...
For those employees who was hired before 2002-06-21, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id.
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449, 9864, 62, 2389, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449, 9864, 62, 2389, 11, ...
What's the venue for the asian games tournament?
SELECT venue FROM table_name_55 WHERE tournament = "asian games"
[ 2061, 338, 262, 14359, 329, 262, 355, 666, 1830, 7756, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2816, 33411, 7756, 796, 366, 292, 666, 1830, 1 ]
[ 1, 1, 1, 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, 14359, 329, 262, 355, 666, 1830, 7756, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2816, 33411, 7756, 796, 366, 292, 666, 1830, 1 ]
what flights are available between PHILADELPHIA and DENVER on 9 16
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 = 'DENVER' AND date_day.day_number = 16 AND date_day.month_number = 9 AND da...
[ 10919, 13956, 389, 1695, 1022, 9370, 4146, 2885, 3698, 11909, 3539, 290, 37692, 5959, 319, 860, 1467, 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...
[ 10919, 13956, 389, 1695, 1022, 9370, 4146, 2885, 3698, 11909, 3539, 290, 37692, 5959, 319, 860, 1467, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003...
What is the maximum lost with points 1 more than 58 and 66 goals against?
SELECT MAX("Lost") FROM table_43674 WHERE "Points 1" > '58' AND "Goals Against" = '66'
[ 2061, 318, 262, 5415, 2626, 351, 2173, 352, 517, 621, 7618, 290, 7930, 4661, 1028, 30, 46506, 25882, 7203, 31042, 4943, 16034, 3084, 62, 43690, 4524, 33411, 366, 40710, 352, 1, 1875, 705, 3365, 6, 5357, 366, 5247, 874, 12914, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5415, 2626, 351, 2173, 352, 517, 621, 7618, 290, 7930, 4661, 1028, 30, 46506, 25882, 7203, 31042, 4943, 16034, 3084, 62, 43690, 4524, 33411, 366, 40710, 352, 1, 1875, 705, 3365, 6, 5357, 366, 5247, 874, 12914, 1, 796, ...
how many patients whose admission type is newborn and diagnoses icd9 code is 77081?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "NEWBORN" AND diagnoses.icd9_code = "77081"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 23856, 290, 40567, 14158, 67, 24, 2438, 318, 44586, 6659, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 23856, 290, 40567, 14158, 67, 24, 2438, 318, 44586, 6659, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
In the game where the home team scored 12.14 (86), what was the total crowd number?
SELECT COUNT("Crowd") FROM table_55102 WHERE "Home team score" = '12.14 (86)'
[ 818, 262, 983, 810, 262, 1363, 1074, 7781, 1105, 13, 1415, 357, 4521, 828, 644, 373, 262, 2472, 4315, 1271, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 2816, 15377, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 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, 1, 1, 1, 1 ]
[ 818, 262, 983, 810, 262, 1363, 1074, 7781, 1105, 13, 1415, 357, 4521, 828, 644, 373, 262, 2472, 4315, 1271, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 2816, 15377, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, ...
allergy to dha ( omega 3 ) or vitamin d
SELECT * FROM table_train_270 WHERE allergy_to_dha = 1 OR allergy_to_omega_3 = 1 OR allergy_to_vitamin_d = 1
[ 439, 26079, 284, 288, 3099, 357, 37615, 513, 1267, 393, 14411, 288, 46506, 1635, 16034, 3084, 62, 27432, 62, 20233, 33411, 36197, 62, 1462, 62, 67, 3099, 796, 352, 6375, 36197, 62, 1462, 62, 462, 4908, 62, 18, 796, 352, 6375, 36197, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 439, 26079, 284, 288, 3099, 357, 37615, 513, 1267, 393, 14411, 288, 46506, 1635, 16034, 3084, 62, 27432, 62, 20233, 33411, 36197, 62, 1462, 62, 67, 3099, 796, 352, 6375, 36197, 62, 1462, 62, 462, 4908, 62, 18, 796, 352, 6375, 36197, ...
i would like to see the flights from BALTIMORE 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 = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHIL...
[ 72, 561, 588, 284, 766, 262, 13956, 422, 347, 31429, 3955, 6965, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 284, 766, 262, 13956, 422, 347, 31429, 3955, 6965, 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, ...
what are the flights from DALLAS to BOSTON for tomorrow night or 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 ((((flight.departure_time BETWEEN 1800 AND 2200) OR (NOT flight.departure_time BETWEEN 601 AND 1759)) AND date_day.day_number = 20 AND date_day.m...
[ 10919, 389, 262, 13956, 422, 360, 7036, 1921, 284, 347, 10892, 1340, 329, 9439, 1755, 393, 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, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 13956, 422, 360, 7036, 1921, 284, 347, 10892, 1340, 329, 9439, 1755, 393, 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, 6...
What is the right ascension (J2000) with a Declination (J2000) of 12 43 , is a constellation of dorado, and has an NGC number larger than 2068?
SELECT right_ascension___j2000__ FROM table_name_55 WHERE ngc_number > 2068 AND constellation = "dorado" AND declination___j2000__ = "°12′43″"
[ 2061, 318, 262, 826, 10570, 3004, 357, 41, 11024, 8, 351, 257, 16691, 1883, 357, 41, 11024, 8, 286, 1105, 5946, 837, 318, 257, 38712, 286, 288, 273, 4533, 11, 290, 468, 281, 399, 15916, 1271, 4025, 621, 1160, 3104, 30, 46506, 826, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 826, 10570, 3004, 357, 41, 11024, 8, 351, 257, 16691, 1883, 357, 41, 11024, 8, 286, 1105, 5946, 837, 318, 257, 38712, 286, 288, 273, 4533, 11, 290, 468, 281, 399, 15916, 1271, 4025, 621, 1160, 3104, 30, 46506, 826, ...