instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was the position with the total number less than 1?
SELECT COUNT("Position") FROM table_75691 WHERE "Lost" < '1'
[ 2061, 373, 262, 2292, 351, 262, 2472, 1271, 1342, 621, 352, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 2425, 49541, 33411, 366, 31042, 1, 1279, 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 ]
[ 2061, 373, 262, 2292, 351, 262, 2472, 1271, 1342, 621, 352, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 2425, 49541, 33411, 366, 31042, 1, 1279, 705, 16, 6 ]
Ten lowest scored accepted answers.
SELECT q.Title, a.Score FROM Posts AS q LEFT JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.PostTypeId = 2 AND q.PostTypeId = 1 ORDER BY a.Score
[ 24893, 9016, 7781, 6292, 7429, 13, 46506, 10662, 13, 19160, 11, 257, 13, 26595, 16034, 12043, 7054, 10662, 12509, 9792, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, 38855, 276, 33706, 7390, 796, 257, 13, 7390, 33411, 257, 13, 6307, 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 ]
[ 24893, 9016, 7781, 6292, 7429, 13, 46506, 10662, 13, 19160, 11, 257, 13, 26595, 16034, 12043, 7054, 10662, 12509, 9792, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, 38855, 276, 33706, 7390, 796, 257, 13, 7390, 33411, 257, 13, 6307, 6...
What was the 2nd leg for 2004?
SELECT "2nd leg" FROM table_47626 WHERE "Year" = '2004'
[ 2061, 373, 262, 362, 358, 1232, 329, 5472, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 35435, 2075, 33411, 366, 17688, 1, 796, 705, 15724, 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, 373, 262, 362, 358, 1232, 329, 5472, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 35435, 2075, 33411, 366, 17688, 1, 796, 705, 15724, 6 ]
i live in DENVER and i'd like to make a trip to PITTSBURGH
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU...
[ 72, 2107, 287, 37692, 5959, 290, 1312, 1549, 588, 284, 787, 257, 5296, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 2107, 287, 37692, 5959, 290, 1312, 1549, 588, 284, 787, 257, 5296, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9...
Draw a bar chart for what is the average account balance of customers with credit score below 50 for the different account types?, display by the bars in desc please.
SELECT acc_type, AVG(acc_bal) FROM customer WHERE credit_score < 50 GROUP BY acc_type ORDER BY acc_type DESC
[ 25302, 257, 2318, 8262, 329, 644, 318, 262, 2811, 1848, 5236, 286, 4297, 351, 3884, 4776, 2174, 2026, 329, 262, 1180, 1848, 3858, 21747, 3359, 416, 262, 9210, 287, 1715, 3387, 13, 46506, 697, 62, 4906, 11, 35224, 7, 4134, 62, 6893, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 644, 318, 262, 2811, 1848, 5236, 286, 4297, 351, 3884, 4776, 2174, 2026, 329, 262, 1180, 1848, 3858, 21747, 3359, 416, 262, 9210, 287, 1715, 3387, 13, 46506, 697, 62, 4906, 11, 35224, 7, 4134, 62, 6893, ...
Who are the different directors of films which had market estimation in 1995?
SELECT DISTINCT T1.director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.film_id = T2.film_id WHERE T2.year = 1995
[ 8241, 389, 262, 1180, 13445, 286, 7328, 543, 550, 1910, 31850, 287, 8735, 30, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 35248, 16034, 2646, 7054, 309, 16, 32357, 1268, 2646, 62, 10728, 62, 395, 18991, 7054, 309, 17, 6177, 309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 262, 1180, 13445, 286, 7328, 543, 550, 1910, 31850, 287, 8735, 30, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 35248, 16034, 2646, 7054, 309, 16, 32357, 1268, 2646, 62, 10728, 62, 395, 18991, 7054, 309, 17, 6177, 309, 16, ...
What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger?
SELECT COUNT(rank) FROM table_name_41 WHERE time = 49 AND lane > 7
[ 2061, 318, 262, 10916, 286, 262, 9422, 647, 351, 257, 3862, 286, 5125, 287, 15016, 767, 393, 4025, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 640, 796, 5125, 5357, 11193, 1875, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10916, 286, 262, 9422, 647, 351, 257, 3862, 286, 5125, 287, 15016, 767, 393, 4025, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 640, 796, 5125, 5357, 11193, 1875, 767 ]
What was the water depth in the Gulf of Mexico named Discoverer Clear Leader?
SELECT "Water depth" FROM table_37193 WHERE "Location" = 'gulf of mexico' AND "Name" = 'discoverer clear leader'
[ 2061, 373, 262, 1660, 6795, 287, 262, 12108, 286, 5828, 3706, 8444, 659, 11751, 11459, 10540, 30, 46506, 366, 19184, 6795, 1, 16034, 3084, 62, 2718, 24943, 33411, 366, 14749, 1, 796, 705, 70, 4754, 286, 502, 87, 3713, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1660, 6795, 287, 262, 12108, 286, 5828, 3706, 8444, 659, 11751, 11459, 10540, 30, 46506, 366, 19184, 6795, 1, 16034, 3084, 62, 2718, 24943, 33411, 366, 14749, 1, 796, 705, 70, 4754, 286, 502, 87, 3713, 6, 5357, 366, ...
what is drug type and drug dose of drug name amaryl?
SELECT prescriptions.drug_type, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Amaryl"
[ 10919, 318, 2563, 2099, 290, 2563, 10742, 286, 2563, 1438, 716, 36822, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 30349, 62, 34436, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 5840, 36822, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2099, 290, 2563, 10742, 286, 2563, 1438, 716, 36822, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 30349, 62, 34436, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 5840, 36822, 1 ]
What city held that game with a 5:2 result?
SELECT "City" FROM table_37778 WHERE "Results\u00b9" = '5:2'
[ 2061, 1748, 2714, 326, 983, 351, 257, 642, 25, 17, 1255, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 2718, 39761, 33411, 366, 25468, 59, 84, 405, 65, 24, 1, 796, 705, 20, 25, 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 ]
[ 2061, 1748, 2714, 326, 983, 351, 257, 642, 25, 17, 1255, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 2718, 39761, 33411, 366, 25468, 59, 84, 405, 65, 24, 1, 796, 705, 20, 25, 17, 6 ]
Which Points have a Draw of 2?
SELECT AVG(points) FROM table_name_46 WHERE draw = 2
[ 13828, 11045, 423, 257, 15315, 286, 362, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 3197, 796, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 11045, 423, 257, 15315, 286, 362, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 3197, 796, 362 ]
Who played home team at Victoria Park?
SELECT "Home team" FROM table_57988 WHERE "Venue" = 'victoria park'
[ 8241, 2826, 1363, 1074, 379, 12313, 3250, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 41734, 3459, 33411, 366, 37522, 518, 1, 796, 705, 32433, 7661, 3952, 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 ]
[ 8241, 2826, 1363, 1074, 379, 12313, 3250, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 41734, 3459, 33411, 366, 37522, 518, 1, 796, 705, 32433, 7661, 3952, 6 ]
what was the first time that patient 42956 had the maximum amount of sodium until 04/2105?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 42956) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'sodium') AND STRFTIME('%y-%m', labevents.charttime) <= '2105-04' ORDER BY labev...
[ 10919, 373, 262, 717, 640, 326, 5827, 42313, 3980, 550, 262, 5415, 2033, 286, 21072, 1566, 8702, 14, 17, 13348, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 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...
[ 10919, 373, 262, 717, 640, 326, 5827, 42313, 3980, 550, 262, 5415, 2033, 286, 21072, 1566, 8702, 14, 17, 13348, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, ...
Questions self-answered after someone else with a decent answer length.
SELECT COUNT(DISTINCT q.Id) FROM Posts AS q JOIN Posts AS a ON q.Id = a.ParentId WHERE q.PostTypeId = 1 AND a.PostTypeId = 2 AND q.ClosedDate IS NULL AND (LEN(a.Body) >= 200 OR (LEN(a.Body) < 200 AND a.Score >= 2)) AND DATEPART(yyyy, q.CreationDate) = 2012 AND a.OwnerUserId = q.OwnerUserId AND DATEDIFF(DD, q.CreationDa...
[ 35741, 2116, 12, 31966, 706, 2130, 2073, 351, 257, 7709, 3280, 4129, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 10662, 13, 7390, 8, 16034, 12043, 7054, 10662, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, 7390, 796, 257, 13, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 2116, 12, 31966, 706, 2130, 2073, 351, 257, 7709, 3280, 4129, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 10662, 13, 7390, 8, 16034, 12043, 7054, 10662, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, 7390, 796, 257, 13, 24...
How many 9 -credit , upper-level classes are there ?
SELECT COUNT(DISTINCT course.course_id) FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 9 AND program_course.category LIKE 'ULCS'
[ 2437, 867, 860, 532, 43082, 837, 6727, 12, 5715, 6097, 389, 612, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 8, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 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...
[ 2437, 867, 860, 532, 43082, 837, 6727, 12, 5715, 6097, 389, 612, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 8, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, ...
Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura?
SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura"
[ 13828, 17175, 8228, 640, 468, 257, 24295, 286, 5766, 2124, 23580, 355, 1775, 287, 716, 2645, 1868, 1308, 79, 5330, 30, 46506, 16832, 62, 2435, 16034, 3084, 62, 3672, 62, 3132, 33411, 4006, 796, 366, 31412, 2124, 23580, 355, 1775, 287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17175, 8228, 640, 468, 257, 24295, 286, 5766, 2124, 23580, 355, 1775, 287, 716, 2645, 1868, 1308, 79, 5330, 30, 46506, 16832, 62, 2435, 16034, 3084, 62, 3672, 62, 3132, 33411, 4006, 796, 366, 31412, 2124, 23580, 355, 1775, 287, ...
What's the lowest Attendance for a Week of 2?
SELECT MIN(attendance) FROM table_name_3 WHERE week = 2
[ 2061, 338, 262, 9016, 46502, 590, 329, 257, 6119, 286, 362, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 1285, 796, 362 ]
[ 1, 1, 1, 1, 1, 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, 9016, 46502, 590, 329, 257, 6119, 286, 362, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 1285, 796, 362 ]
flights from CINCINNATI to DALLAS departing after 718
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND flight.departure_time > 718 AND flight.to_airport = AIRPORT_SERVICE_1.airport...
[ 2704, 2337, 422, 327, 30158, 1268, 34259, 40, 284, 360, 7036, 1921, 37717, 706, 767, 1507, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2704, 2337, 422, 327, 30158, 1268, 34259, 40, 284, 360, 7036, 1921, 37717, 706, 767, 1507, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 152...
Which patients on main drug type prescriptions have diagnoses icd9 code 5180?
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.icd9_code = "5180" AND prescriptions.drug_type = "MAIN"
[ 13828, 3871, 319, 1388, 2563, 2099, 34092, 423, 40567, 14158, 67, 24, 2438, 642, 15259, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 3871, 319, 1388, 2563, 2099, 34092, 423, 40567, 14158, 67, 24, 2438, 642, 15259, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108,...
How many students are living in a dorm with a TV Lounge? Show a bar chart grouping by first name, and rank by the Y in ascending.
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM Has_amenity AS T3 JOIN Dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge') GROUP BY Fname ORDER BY COUNT(Fname)
[ 2437, 867, 2444, 389, 2877, 287, 257, 18586, 351, 257, 3195, 36333, 30, 5438, 257, 2318, 8262, 36115, 416, 717, 1438, 11, 290, 4279, 416, 262, 575, 287, 41988, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 2444, 389, 2877, 287, 257, 18586, 351, 257, 3195, 36333, 30, 5438, 257, 2318, 8262, 36115, 416, 717, 1438, 11, 290, 4279, 416, 262, 575, 287, 41988, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054...
What is the Club name what shows 405 for the Points against?
SELECT "Club" FROM table_38289 WHERE "Points against" = '405'
[ 2061, 318, 262, 6289, 1438, 644, 2523, 36966, 329, 262, 11045, 1028, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 2548, 27693, 33411, 366, 40710, 1028, 1, 796, 705, 26598, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6289, 1438, 644, 2523, 36966, 329, 262, 11045, 1028, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 2548, 27693, 33411, 366, 40710, 1028, 1, 796, 705, 26598, 6 ]
find the diagnoses title and description of diagnoses icd9 code 7761.
SELECT diagnoses.short_title, diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "7761"
[ 19796, 262, 40567, 3670, 290, 6764, 286, 40567, 14158, 67, 24, 2438, 767, 4304, 16, 13, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 40567, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 3324, 5333, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19796, 262, 40567, 3670, 290, 6764, 286, 40567, 14158, 67, 24, 2438, 767, 4304, 16, 13, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 40567, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 3324, 5333, 1...
what is the total number of attendance where the date is december 29?
SELECT COUNT(location_attendance) FROM table_17080868_6 WHERE date = "December 29"
[ 10919, 318, 262, 2472, 1271, 286, 14858, 810, 262, 3128, 318, 390, 3273, 2808, 30, 46506, 327, 28270, 7, 24886, 62, 1078, 437, 590, 8, 16034, 3084, 62, 17279, 28362, 3104, 62, 21, 33411, 3128, 796, 366, 20588, 2808, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 14858, 810, 262, 3128, 318, 390, 3273, 2808, 30, 46506, 327, 28270, 7, 24886, 62, 1078, 437, 590, 8, 16034, 3084, 62, 17279, 28362, 3104, 62, 21, 33411, 3128, 796, 366, 20588, 2808, 1 ]
What score did Dixon give to the song 'samba / young hearts run free', which was in second place?
SELECT "Dixon" FROM table_15986 WHERE "Dance/song" = 'Samba / Young Hearts Run Free' AND "Result" = 'Second place'
[ 2061, 4776, 750, 31178, 1577, 284, 262, 3496, 705, 82, 31842, 1220, 1862, 11954, 1057, 1479, 3256, 543, 373, 287, 1218, 1295, 30, 46506, 366, 35, 12305, 1, 16034, 3084, 62, 1314, 49087, 33411, 366, 35, 590, 14, 34050, 1, 796, 705, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4776, 750, 31178, 1577, 284, 262, 3496, 705, 82, 31842, 1220, 1862, 11954, 1057, 1479, 3256, 543, 373, 287, 1218, 1295, 30, 46506, 366, 35, 12305, 1, 16034, 3084, 62, 1314, 49087, 33411, 366, 35, 590, 14, 34050, 1, 796, 705, 5...
had patient 20898 ever been diagnosed with anything in 2105?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20898) AND STRFTIME('%y', diagnoses_icd.charttime) = '2105'
[ 18108, 5827, 27121, 4089, 1683, 587, 14641, 351, 1997, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 27121, 4089, 1683, 587, 14641, 351, 1997, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, ...
What are the hometowns that are shared by at least two gymnasts?
SELECT T2.hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.gymnast_id = T2.people_id GROUP BY T2.hometown HAVING COUNT(*) >= 2
[ 2061, 389, 262, 20994, 82, 326, 389, 4888, 416, 379, 1551, 734, 38581, 5773, 30, 46506, 309, 17, 13, 71, 19191, 16034, 38581, 459, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 1360, 10295, 459, 62, 312, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 20994, 82, 326, 389, 4888, 416, 379, 1551, 734, 38581, 5773, 30, 46506, 309, 17, 13, 71, 19191, 16034, 38581, 459, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 1360, 10295, 459, 62, 312, 796, ...
What country has a 70-73-70=213 score?
SELECT "Country" FROM table_44549 WHERE "Score" = '70-73-70=213'
[ 2061, 1499, 468, 257, 4317, 12, 4790, 12, 2154, 28, 26427, 4776, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 43489, 2920, 33411, 366, 26595, 1, 796, 705, 2154, 12, 4790, 12, 2154, 28, 26427, 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, 1499, 468, 257, 4317, 12, 4790, 12, 2154, 28, 26427, 4776, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 43489, 2920, 33411, 366, 26595, 1, 796, 705, 2154, 12, 4790, 12, 2154, 28, 26427, 6 ]
Who directed the episode that aired on July 29, 2011?
SELECT directed_by FROM table_18424435_5 WHERE us_air_date = "July 29, 2011"
[ 8241, 7924, 262, 4471, 326, 18530, 319, 2901, 2808, 11, 2813, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 22883, 25707, 2327, 62, 20, 33411, 514, 62, 958, 62, 4475, 796, 366, 16157, 2808, 11, 2813, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18530, 319, 2901, 2808, 11, 2813, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 22883, 25707, 2327, 62, 20, 33411, 514, 62, 958, 62, 4475, 796, 366, 16157, 2808, 11, 2813, 1 ]
What city is the lamar tower 1, ranked above 5?
SELECT city FROM table_name_87 WHERE rank < 5 AND name = "lamar tower 1"
[ 2061, 1748, 318, 262, 30592, 283, 10580, 352, 11, 10307, 2029, 642, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 5774, 33411, 4279, 1279, 642, 5357, 1438, 796, 366, 2543, 283, 10580, 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 ]
[ 2061, 1748, 318, 262, 30592, 283, 10580, 352, 11, 10307, 2029, 642, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 5774, 33411, 4279, 1279, 642, 5357, 1438, 796, 366, 2543, 283, 10580, 352, 1 ]
Display a bar chart for how old is the average person for each job?, sort by the X in ascending.
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY job
[ 23114, 257, 2318, 8262, 329, 703, 1468, 318, 262, 2811, 1048, 329, 1123, 1693, 21747, 3297, 416, 262, 1395, 287, 41988, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 1693 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2318, 8262, 329, 703, 1468, 318, 262, 2811, 1048, 329, 1123, 1693, 21747, 3297, 416, 262, 1395, 287, 41988, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 1693 ]
What's the average game against the New Jersey Devils with 19 points?
SELECT AVG("Game") FROM table_36373 WHERE "Points" = '19' AND "Opponent" = 'new jersey devils'
[ 2061, 338, 262, 2811, 983, 1028, 262, 968, 8221, 26199, 351, 678, 2173, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 2623, 34770, 33411, 366, 40710, 1, 796, 705, 1129, 6, 5357, 366, 27524, 3471, 1, 796, 705, 3605, 22383, 42466...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 983, 1028, 262, 968, 8221, 26199, 351, 678, 2173, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 2623, 34770, 33411, 366, 40710, 1, 796, 705, 1129, 6, 5357, 366, 27524, 3471, 1, 796, 705, 3605, 22383, 42466...
How many were built with a locomotive number of 11-20?
SELECT no_built FROM table_name_17 WHERE loco_nos = "11-20"
[ 2437, 867, 547, 3170, 351, 257, 33334, 19138, 1271, 286, 1367, 12, 1238, 30, 46506, 645, 62, 18780, 16034, 3084, 62, 3672, 62, 1558, 33411, 1179, 78, 62, 39369, 796, 366, 1157, 12, 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, 1, 1, 1 ]
[ 2437, 867, 547, 3170, 351, 257, 33334, 19138, 1271, 286, 1367, 12, 1238, 30, 46506, 645, 62, 18780, 16034, 3084, 62, 3672, 62, 1558, 33411, 1179, 78, 62, 39369, 796, 366, 1157, 12, 1238, 1 ]
what is the number of patients whose drug route is dwell?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "DWELL"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2563, 6339, 318, 14046, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 340...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 6339, 318, 14046, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 340...
What is JCTV's digital channel?
SELECT digital_channel FROM table_1404984_1 WHERE network = "JCTV"
[ 2061, 318, 449, 30428, 338, 4875, 6518, 30, 46506, 4875, 62, 17620, 16034, 3084, 62, 15187, 2920, 5705, 62, 16, 33411, 3127, 796, 366, 41, 30428, 1 ]
[ 1, 1, 1, 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, 449, 30428, 338, 4875, 6518, 30, 46506, 4875, 62, 17620, 16034, 3084, 62, 15187, 2920, 5705, 62, 16, 33411, 3127, 796, 366, 41, 30428, 1 ]
What is the 2010 with a rank higher than 15 and a 2011 maserati?
SELECT "2010" FROM table_50049 WHERE "Rank" > '15' AND "2011" = 'maserati'
[ 2061, 318, 262, 3050, 351, 257, 4279, 2440, 621, 1315, 290, 257, 2813, 285, 6005, 7246, 30, 46506, 366, 10333, 1, 16034, 3084, 62, 4059, 2920, 33411, 366, 27520, 1, 1875, 705, 1314, 6, 5357, 366, 9804, 1, 796, 705, 5356, 263, 7246, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3050, 351, 257, 4279, 2440, 621, 1315, 290, 257, 2813, 285, 6005, 7246, 30, 46506, 366, 10333, 1, 16034, 3084, 62, 4059, 2920, 33411, 366, 27520, 1, 1875, 705, 1314, 6, 5357, 366, 9804, 1, 796, 705, 5356, 263, 7246, ...
What age group has a time of 6:37.73 at the 200m breaststroke?
SELECT "Age Group" FROM table_32538 WHERE "Event" = '200m breaststroke' AND "Time" = '6:37.73'
[ 2061, 2479, 1448, 468, 257, 640, 286, 718, 25, 2718, 13, 4790, 379, 262, 939, 76, 9296, 30757, 30, 46506, 366, 23396, 4912, 1, 16034, 3084, 62, 26582, 2548, 33411, 366, 9237, 1, 796, 705, 2167, 76, 9296, 30757, 6, 5357, 366, 7575, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 1448, 468, 257, 640, 286, 718, 25, 2718, 13, 4790, 379, 262, 939, 76, 9296, 30757, 30, 46506, 366, 23396, 4912, 1, 16034, 3084, 62, 26582, 2548, 33411, 366, 9237, 1, 796, 705, 2167, 76, 9296, 30757, 6, 5357, 366, 7575, ...
What 1941 has N/A as 1945, N/A for 1948, and 9 for 1953?
SELECT 1941 FROM table_name_7 WHERE 1945 = "n/a" AND 1948 = "n/a" AND 1953 = "9"
[ 2061, 23234, 468, 399, 14, 32, 355, 15761, 11, 399, 14, 32, 329, 21794, 11, 290, 860, 329, 24217, 30, 46506, 23234, 16034, 3084, 62, 3672, 62, 22, 33411, 15761, 796, 366, 77, 14, 64, 1, 5357, 21794, 796, 366, 77, 14, 64, 1, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 23234, 468, 399, 14, 32, 355, 15761, 11, 399, 14, 32, 329, 21794, 11, 290, 860, 329, 24217, 30, 46506, 23234, 16034, 3084, 62, 3672, 62, 22, 33411, 15761, 796, 366, 77, 14, 64, 1, 5357, 21794, 796, 366, 77, 14, 64, 1, 5357...
The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook.
SELECT results FROM table_14154271_2 WHERE gt2_winning_team = "Lars-Erik Nielsen Allan Simonsen Richard Westbrook"
[ 464, 2482, 329, 308, 83, 17, 5442, 1074, 318, 477, 300, 945, 12, 263, 1134, 37628, 25328, 477, 272, 985, 684, 268, 5527, 446, 7421, 19094, 13, 46506, 2482, 16034, 3084, 62, 1415, 21526, 28977, 62, 17, 33411, 308, 83, 17, 62, 14463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 2482, 329, 308, 83, 17, 5442, 1074, 318, 477, 300, 945, 12, 263, 1134, 37628, 25328, 477, 272, 985, 684, 268, 5527, 446, 7421, 19094, 13, 46506, 2482, 16034, 3084, 62, 1415, 21526, 28977, 62, 17, 33411, 308, 83, 17, 62, 14463, ...
What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
SELECT "Time" FROM table_66352 WHERE "Notes" = 'fa' AND "Rank" < '2'
[ 2061, 318, 262, 3862, 286, 262, 7853, 351, 257, 10916, 286, 352, 393, 362, 290, 11822, 286, 9677, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 2791, 33394, 33411, 366, 16130, 1, 796, 705, 13331, 6, 5357, 366, 27520, 1, 1279, 705, 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 ]
[ 2061, 318, 262, 3862, 286, 262, 7853, 351, 257, 10916, 286, 352, 393, 362, 290, 11822, 286, 9677, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 2791, 33394, 33411, 366, 16130, 1, 796, 705, 13331, 6, 5357, 366, 27520, 1, 1279, 705, 17, ...
Find the number of courses offered by Psychology department in each year with a line chart, and sort by the x axis in desc.
SELECT year, COUNT(year) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY year ORDER BY year DESC
[ 16742, 262, 1271, 286, 10902, 4438, 416, 18430, 5011, 287, 1123, 614, 351, 257, 1627, 8262, 11, 290, 3297, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 614, 11, 327, 28270, 7, 1941, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 2665, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 4438, 416, 18430, 5011, 287, 1123, 614, 351, 257, 1627, 8262, 11, 290, 3297, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 614, 11, 327, 28270, 7, 1941, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 2665, ...
how many days has it been since patient 5828 has been admitted to the hospital?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', admissions.admittime)) FROM admissions WHERE admissions.subject_id = 5828 AND admissions.dischtime IS NULL
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 7618, 2078, 468, 587, 6848, 284, 262, 4436, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 2534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 468, 340, 587, 1201, 5827, 7618, 2078, 468, 587, 6848, 284, 262, 4436, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 2534...
What is the date of vacancy for 10 december 2007 when quit?
SELECT date_of_vacancy FROM table_11713303_2 WHERE date_of_appointment = "10 December 2007" AND manner_of_departure = "Quit"
[ 2061, 318, 262, 3128, 286, 39836, 329, 838, 390, 3273, 4343, 618, 11238, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, 3084, 62, 17657, 1485, 22572, 62, 17, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 940, 3426, 4343, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 39836, 329, 838, 390, 3273, 4343, 618, 11238, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, 3084, 62, 17657, 1485, 22572, 62, 17, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 940, 3426, 4343, 1...
all flights from CHARLOTTE to anywhere on US
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 = 'CHARLOTTE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND flight.from_airport = A...
[ 439, 13956, 422, 28521, 43, 2394, 9328, 284, 6609, 319, 1294, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 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...
[ 439, 13956, 422, 28521, 43, 2394, 9328, 284, 6609, 319, 1294, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 3...
Which highest Overall has a Pick # of 4, and a Round larger than 7?
SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7
[ 13828, 4511, 14674, 468, 257, 12346, 1303, 286, 604, 11, 290, 257, 10485, 4025, 621, 767, 30, 46506, 25882, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 2298, 834, 17618, 796, 604, 5357, 2835, 1875, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 14674, 468, 257, 12346, 1303, 286, 604, 11, 290, 257, 10485, 4025, 621, 767, 30, 46506, 25882, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 2298, 834, 17618, 796, 604, 5357, 2835, 1875, 767 ]
What was the score of cook 3/6?
SELECT result FROM table_name_40 WHERE goals = "cook 3/6"
[ 2061, 373, 262, 4776, 286, 4255, 513, 14, 21, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1821, 33411, 4661, 796, 366, 27916, 513, 14, 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 ]
[ 2061, 373, 262, 4776, 286, 4255, 513, 14, 21, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1821, 33411, 4661, 796, 366, 27916, 513, 14, 21, 1 ]
how many draws are there when percentage is 100.00% and played is 7?
SELECT "Drawn" FROM table_15296 WHERE "Percentage" = '100.00%' AND "Played" = '7'
[ 4919, 867, 14293, 389, 612, 618, 5873, 318, 1802, 13, 405, 4, 290, 2826, 318, 767, 30, 46506, 366, 35, 5791, 1, 16034, 3084, 62, 1314, 27137, 33411, 366, 31905, 496, 1, 796, 705, 3064, 13, 405, 4, 6, 5357, 366, 11002, 276, 1, 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 ]
[ 4919, 867, 14293, 389, 612, 618, 5873, 318, 1802, 13, 405, 4, 290, 2826, 318, 767, 30, 46506, 366, 35, 5791, 1, 16034, 3084, 62, 1314, 27137, 33411, 366, 31905, 496, 1, 796, 705, 3064, 13, 405, 4, 6, 5357, 366, 11002, 276, 1, 79...
which drug is prescribed to the patient kevin jones?
SELECT prescriptions.drug FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Kevin Jones"
[ 4758, 2563, 318, 14798, 284, 262, 5827, 885, 7114, 474, 1952, 30, 46506, 34092, 13, 30349, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 318, 14798, 284, 262, 5827, 885, 7114, 474, 1952, 30, 46506, 34092, 13, 30349, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, ...
what is the difference between the hematocrit of patient 1232 measured at 2102-04-11 05:25:00 compared to the value measured at 2102-04-08 23:25:00?
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1232) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hematocrit') AND labevents.charttime = '2102-04-11 05:25:00') - (SELECT l...
[ 10919, 318, 262, 3580, 1022, 262, 339, 6759, 420, 799, 286, 5827, 1105, 2624, 8630, 379, 362, 15377, 12, 3023, 12, 1157, 8870, 25, 1495, 25, 405, 3688, 284, 262, 1988, 8630, 379, 362, 15377, 12, 3023, 12, 2919, 2242, 25, 1495, 25, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 1022, 262, 339, 6759, 420, 799, 286, 5827, 1105, 2624, 8630, 379, 362, 15377, 12, 3023, 12, 1157, 8870, 25, 1495, 25, 405, 3688, 284, 262, 1988, 8630, 379, 362, 15377, 12, 3023, 12, 2919, 2242, 25, 1495, 25, ...
What day was kibawe created?
SELECT "Date of Creation" FROM table_28319 WHERE "City / Municipality" = 'Kibawe'
[ 2061, 1110, 373, 479, 571, 707, 68, 2727, 30, 46506, 366, 10430, 286, 21582, 1, 16034, 3084, 62, 30290, 1129, 33411, 366, 14941, 1220, 27338, 1483, 1, 796, 705, 42, 571, 707, 68, 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, 1110, 373, 479, 571, 707, 68, 2727, 30, 46506, 366, 10430, 286, 21582, 1, 16034, 3084, 62, 30290, 1129, 33411, 366, 14941, 1220, 27338, 1483, 1, 796, 705, 42, 571, 707, 68, 6 ]
what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1
SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1
[ 10919, 338, 262, 2472, 1592, 954, 329, 5776, 4833, 621, 767, 11, 290, 257, 28510, 1114, 4025, 621, 362, 11, 290, 257, 28510, 12914, 4833, 621, 718, 11, 290, 15315, 82, 286, 352, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 338, 262, 2472, 1592, 954, 329, 5776, 4833, 621, 767, 11, 290, 257, 28510, 1114, 4025, 621, 362, 11, 290, 257, 28510, 12914, 4833, 621, 718, 11, 290, 15315, 82, 286, 352, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, ...
Tracked users who made Edits versus 'created' content.. Also shows 'created' content type. See http://meta.stackoverflow.com/questions/130648/does-stack-exchange-follow-the-1-rule
SELECT ph.UserId, SUM(CASE WHEN ph.PostHistoryTypeId > 3 AND ph.PostHistoryTypeId < 7 THEN 1 ELSE 0 END) AS NumEdits FROM PostHistory AS ph GROUP BY ph.UserId LIMIT 100
[ 2898, 6021, 2985, 508, 925, 1717, 896, 9051, 705, 25598, 6, 2695, 492, 4418, 2523, 705, 25598, 6, 2695, 2099, 13, 201, 198, 6214, 2638, 1378, 28961, 13, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 12952, 34287, 14, 22437, 12, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2898, 6021, 2985, 508, 925, 1717, 896, 9051, 705, 25598, 6, 2695, 492, 4418, 2523, 705, 25598, 6, 2695, 2099, 13, 201, 198, 6214, 2638, 1378, 28961, 13, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 12952, 34287, 14, 22437, 12, 25...
What was the score on 20/6/97?
SELECT "Score" FROM table_78210 WHERE "Date" = '20/6/97'
[ 2061, 373, 262, 4776, 319, 1160, 14, 21, 14, 5607, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3695, 21536, 33411, 366, 10430, 1, 796, 705, 1238, 14, 21, 14, 5607, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 319, 1160, 14, 21, 14, 5607, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3695, 21536, 33411, 366, 10430, 1, 796, 705, 1238, 14, 21, 14, 5607, 6 ]
when did patient 029-16431 come this year for the last time to the hospital?
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '029-16431' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 12518, 750, 5827, 657, 1959, 12, 23237, 3132, 1282, 428, 614, 329, 262, 938, 640, 284, 262, 4436, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 48891, 12, 23237, 3132, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 657, 1959, 12, 23237, 3132, 1282, 428, 614, 329, 262, 938, 640, 284, 262, 4436, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 48891, 12, 23237, 3132, 6, 5...
for the patients with age 20s since 2103 what are the top three most frequent diagnoses?
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 diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN...
[ 1640, 262, 3871, 351, 2479, 1160, 82, 1201, 362, 15197, 644, 389, 262, 1353, 1115, 749, 10792, 40567, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 262, 3871, 351, 2479, 1160, 82, 1201, 362, 15197, 644, 389, 262, 1353, 1115, 749, 10792, 40567, 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, ...
What driver has less than 18 laps and a grid number under 16?
SELECT "Driver" FROM table_52246 WHERE "Laps" < '18' AND "Grid" < '16'
[ 2061, 4639, 468, 1342, 621, 1248, 24590, 290, 257, 10706, 1271, 739, 1467, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 4309, 26912, 33411, 366, 43, 1686, 1, 1279, 705, 1507, 6, 5357, 366, 41339, 1, 1279, 705, 1433, 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, 4639, 468, 1342, 621, 1248, 24590, 290, 257, 10706, 1271, 739, 1467, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 4309, 26912, 33411, 366, 43, 1686, 1, 1279, 705, 1507, 6, 5357, 366, 41339, 1, 1279, 705, 1433, 6 ]
tell me the length of the first stay of patient 011-12267 in the icu.
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-12267') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 33331, 502, 262, 4129, 286, 262, 717, 2652, 286, 5827, 5534, 16, 12, 1065, 25674, 287, 262, 14158, 84, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 4129, 286, 262, 717, 2652, 286, 5827, 5534, 16, 12, 1065, 25674, 287, 262, 14158, 84, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 7...
For the model/engine of 1.8 Duratec HE, what is the torque?
SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.8 Duratec HE"
[ 1890, 262, 2746, 14, 18392, 286, 352, 13, 23, 11164, 378, 66, 11179, 11, 644, 318, 262, 26415, 30, 46506, 26415, 834, 21533, 834, 48235, 16034, 3084, 62, 1065, 1065, 23362, 62, 16, 33411, 2746, 62, 18392, 796, 366, 16, 13, 23, 11164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2746, 14, 18392, 286, 352, 13, 23, 11164, 378, 66, 11179, 11, 644, 318, 262, 26415, 30, 46506, 26415, 834, 21533, 834, 48235, 16034, 3084, 62, 1065, 1065, 23362, 62, 16, 33411, 2746, 62, 18392, 796, 366, 16, 13, 23, 11164...
Where was the game site on October 29, 1989?
SELECT "Game Site" FROM table_20485 WHERE "Date" = 'October 29, 1989'
[ 8496, 373, 262, 983, 2524, 319, 3267, 2808, 11, 11104, 30, 46506, 366, 8777, 14413, 1, 16034, 3084, 62, 1238, 32642, 33411, 366, 10430, 1, 796, 705, 18517, 2808, 11, 11104, 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 ]
[ 8496, 373, 262, 983, 2524, 319, 3267, 2808, 11, 11104, 30, 46506, 366, 8777, 14413, 1, 16034, 3084, 62, 1238, 32642, 33411, 366, 10430, 1, 796, 705, 18517, 2808, 11, 11104, 6 ]
Show me the total number by country in a histogram, rank total number from low to high order.
SELECT Country, COUNT(*) FROM airport GROUP BY Country ORDER BY COUNT(*)
[ 15307, 502, 262, 2472, 1271, 416, 1499, 287, 257, 1554, 21857, 11, 4279, 2472, 1271, 422, 1877, 284, 1029, 1502, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 9003, 44441, 11050, 12946, 38678, 11050, 327, 28270, 7, 28104 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 262, 2472, 1271, 416, 1499, 287, 257, 1554, 21857, 11, 4279, 2472, 1271, 422, 1877, 284, 1029, 1502, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 9003, 44441, 11050, 12946, 38678, 11050, 327, 28270, 7, 28104 ]
What was the attendance on August 2?
SELECT MAX("Attendance") FROM table_67851 WHERE "Date" = 'august 2'
[ 2061, 373, 262, 14858, 319, 2932, 362, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 30924, 4349, 33411, 366, 10430, 1, 796, 705, 7493, 436, 362, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 319, 2932, 362, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 30924, 4349, 33411, 366, 10430, 1, 796, 705, 7493, 436, 362, 6 ]
How many products have the characteristic named 'hot'?
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN characteristics AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t3.characteristic_name = "hot"
[ 2437, 867, 3186, 423, 262, 16704, 3706, 705, 8940, 30960, 46506, 327, 28270, 7, 28104, 16034, 3186, 7054, 256, 16, 32357, 1268, 1720, 62, 22769, 3969, 7054, 256, 17, 6177, 256, 16, 13, 11167, 62, 312, 796, 256, 17, 13, 11167, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3186, 423, 262, 16704, 3706, 705, 8940, 30960, 46506, 327, 28270, 7, 28104, 16034, 3186, 7054, 256, 16, 32357, 1268, 1720, 62, 22769, 3969, 7054, 256, 17, 6177, 256, 16, 13, 11167, 62, 312, 796, 256, 17, 13, 11167, 62, 31...
what is the number of patients whose diagnoses long title is presence of cerebrospinal fluid drainage device and lab test abnormal status is abnormal?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Presence of cerebrospinal fluid drainage device" AND lab.flag = "abnormal"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 4931, 286, 6736, 7957, 2777, 1292, 11711, 37664, 3335, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 4931, 286, 6736, 7957, 2777, 1292, 11711, 37664, 3335, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, ...
Which 1995 has a 1993 of 3r?
SELECT 1995 FROM table_name_86 WHERE 1993 = "3r"
[ 13828, 8735, 468, 257, 9656, 286, 513, 81, 30, 46506, 8735, 16034, 3084, 62, 3672, 62, 4521, 33411, 9656, 796, 366, 18, 81, 1 ]
[ 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, 8735, 468, 257, 9656, 286, 513, 81, 30, 46506, 8735, 16034, 3084, 62, 3672, 62, 4521, 33411, 9656, 796, 366, 18, 81, 1 ]
How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver?
SELECT MIN(bronze) FROM table_name_9 WHERE rank = "11" AND silver < 1
[ 2437, 867, 19461, 28057, 329, 262, 8741, 351, 257, 10916, 286, 1367, 290, 1342, 621, 352, 7698, 30, 46506, 20625, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4279, 796, 366, 1157, 1, 5357, 8465, 1279, 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, 1, 1, 1, 1 ]
[ 2437, 867, 19461, 28057, 329, 262, 8741, 351, 257, 10916, 286, 1367, 290, 1342, 621, 352, 7698, 30, 46506, 20625, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4279, 796, 366, 1157, 1, 5357, 8465, 1279, 352 ]
For how many years did the song 'Lost Without Your Love' win the gold RIAA Sales Certification, and have a Billboard 200 Peak greater than 26?
SELECT SUM("Year") FROM table_43342 WHERE "RIAA Sales Certification" = 'gold' AND "Title" = 'lost without your love' AND "Billboard 200 Peak" > '26'
[ 1890, 703, 867, 812, 750, 262, 3496, 705, 31042, 9170, 3406, 5896, 6, 1592, 262, 3869, 371, 3539, 32, 17329, 40609, 11, 290, 423, 257, 36229, 939, 23974, 3744, 621, 2608, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 42117, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 812, 750, 262, 3496, 705, 31042, 9170, 3406, 5896, 6, 1592, 262, 3869, 371, 3539, 32, 17329, 40609, 11, 290, 423, 257, 36229, 939, 23974, 3744, 621, 2608, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 42117, 36...
What is the notes entry for the row with a Time of 1:42.309?
SELECT "Notes" FROM table_64368 WHERE "Time" = '1:42.309'
[ 2061, 318, 262, 4710, 5726, 329, 262, 5752, 351, 257, 3862, 286, 352, 25, 3682, 13, 26895, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 2414, 27412, 33411, 366, 7575, 1, 796, 705, 16, 25, 3682, 13, 26895, 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, 4710, 5726, 329, 262, 5752, 351, 257, 3862, 286, 352, 25, 3682, 13, 26895, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 2414, 27412, 33411, 366, 7575, 1, 796, 705, 16, 25, 3682, 13, 26895, 6 ]
what is the poles when the wins is 0 and points is 0?
SELECT poles FROM table_name_86 WHERE wins = "0" AND points = "0"
[ 10919, 318, 262, 24971, 618, 262, 7864, 318, 657, 290, 2173, 318, 657, 30, 46506, 24971, 16034, 3084, 62, 3672, 62, 4521, 33411, 7864, 796, 366, 15, 1, 5357, 2173, 796, 366, 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 ]
[ 10919, 318, 262, 24971, 618, 262, 7864, 318, 657, 290, 2173, 318, 657, 30, 46506, 24971, 16034, 3084, 62, 3672, 62, 4521, 33411, 7864, 796, 366, 15, 1, 5357, 2173, 796, 366, 15, 1 ]
What is the highest number of the fastest laps when there were 0 poles, more than 2 podiums, and more than 15 races?
SELECT MAX(fastest_laps) FROM table_name_9 WHERE poles = 0 AND races > 15 AND podiums > 2
[ 2061, 318, 262, 4511, 1271, 286, 262, 14162, 24590, 618, 612, 547, 657, 24971, 11, 517, 621, 362, 27941, 82, 11, 290, 517, 621, 1315, 9558, 30, 46506, 25882, 7, 7217, 395, 62, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 262, 14162, 24590, 618, 612, 547, 657, 24971, 11, 517, 621, 362, 27941, 82, 11, 290, 517, 621, 1315, 9558, 30, 46506, 25882, 7, 7217, 395, 62, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 249...
What is the season where Vasco da gama is the score?
SELECT "Season" FROM table_70021 WHERE "Score" = 'vasco da gama'
[ 2061, 318, 262, 1622, 810, 23663, 1073, 12379, 308, 1689, 318, 262, 4776, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 9879, 2481, 33411, 366, 26595, 1, 796, 705, 11017, 1073, 12379, 308, 1689, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1622, 810, 23663, 1073, 12379, 308, 1689, 318, 262, 4776, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 9879, 2481, 33411, 366, 26595, 1, 796, 705, 11017, 1073, 12379, 308, 1689, 6 ]
how many patients with secondary neuroendocrine tumor of bone were treated with base drug?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Secondary neuroendocrine tumor of bone" AND prescriptions.drug_type = "BASE"
[ 4919, 867, 3871, 351, 9233, 7669, 437, 38658, 22359, 286, 9970, 547, 5716, 351, 2779, 2563, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 351, 9233, 7669, 437, 38658, 22359, 286, 9970, 547, 5716, 351, 2779, 2563, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, ...
Who is the opponent in a game higher than 76 on April 6?
SELECT opponent FROM table_name_52 WHERE game > 76 AND april = 6
[ 8241, 318, 262, 6125, 287, 257, 983, 2440, 621, 8684, 319, 3035, 718, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4309, 33411, 983, 1875, 8684, 5357, 46593, 346, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 6125, 287, 257, 983, 2440, 621, 8684, 319, 3035, 718, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4309, 33411, 983, 1875, 8684, 5357, 46593, 346, 796, 718 ]
Which Drawn has a Team of internacional-sp?
SELECT SUM(drawn) FROM table_name_77 WHERE team = "internacional-sp"
[ 13828, 50061, 468, 257, 4816, 286, 1788, 330, 1538, 12, 2777, 30, 46506, 35683, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 1074, 796, 366, 23124, 330, 1538, 12, 2777, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50061, 468, 257, 4816, 286, 1788, 330, 1538, 12, 2777, 30, 46506, 35683, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 1074, 796, 366, 23124, 330, 1538, 12, 2777, 1 ]
What is the rank of the largest attendance over 101,474 played against Rice?
SELECT AVG("Rank") FROM table_43698 WHERE "Attendance" > '101,474' AND "Opponent" = 'rice'
[ 2061, 318, 262, 4279, 286, 262, 4387, 14858, 625, 8949, 11, 38652, 2826, 1028, 13823, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 43690, 4089, 33411, 366, 8086, 437, 590, 1, 1875, 705, 8784, 11, 38652, 6, 5357, 366, 27524, 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 ]
[ 2061, 318, 262, 4279, 286, 262, 4387, 14858, 625, 8949, 11, 38652, 2826, 1028, 13823, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 43690, 4089, 33411, 366, 8086, 437, 590, 1, 1875, 705, 8784, 11, 38652, 6, 5357, 366, 27524, 3...
Find the number of professors in accounting department.
SELECT COUNT(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE DEPT_NAME = "Accounting"
[ 16742, 262, 1271, 286, 20339, 287, 14317, 5011, 13, 46506, 327, 28270, 7, 28104, 16034, 6240, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 17, 13, 2934, 457, 62, 8189, 33411, 555...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20339, 287, 14317, 5011, 13, 46506, 327, 28270, 7, 28104, 16034, 6240, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 17, 13, 2934, 457, 62, 8189, 33411, 555...
what the first height of patient 28959 when they came to the hospital first time.
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28959 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartevents.ite...
[ 10919, 262, 717, 6001, 286, 5827, 38902, 3270, 618, 484, 1625, 284, 262, 4436, 717, 640, 13, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 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...
[ 10919, 262, 717, 6001, 286, 5827, 38902, 3270, 618, 484, 1625, 284, 262, 4436, 717, 640, 13, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 59...
What is the surface of the French Championships?
SELECT surface FROM table_2215159_2 WHERE championship = "French championships"
[ 2061, 318, 262, 4417, 286, 262, 4141, 24782, 30, 46506, 4417, 16034, 3084, 62, 1828, 1314, 19707, 62, 17, 33411, 12184, 796, 366, 24111, 27459, 1 ]
[ 1, 1, 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, 4417, 286, 262, 4141, 24782, 30, 46506, 4417, 16034, 3084, 62, 1828, 1314, 19707, 62, 17, 33411, 12184, 796, 366, 24111, 27459, 1 ]
What is the enrollment for Augsburg college?
SELECT MIN("Enrollment") FROM table_3493 WHERE "Institution" = 'Augsburg College'
[ 2061, 318, 262, 20753, 329, 2447, 30359, 4152, 30, 46506, 20625, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2682, 6052, 33411, 366, 6310, 2738, 1, 796, 705, 32, 10339, 7423, 5535, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20753, 329, 2447, 30359, 4152, 30, 46506, 20625, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2682, 6052, 33411, 366, 6310, 2738, 1, 796, 705, 32, 10339, 7423, 5535, 6 ]
How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?
SELECT SUM("Years Played") FROM table_54791 WHERE "Singles Win-Loss" = '4-9' AND "First year played" < '1999'
[ 2437, 867, 812, 750, 262, 1074, 326, 468, 257, 5573, 829, 1592, 12, 43, 793, 286, 604, 12, 24, 290, 717, 2826, 878, 7358, 30, 46506, 35683, 7203, 40630, 33101, 4943, 16034, 3084, 62, 20, 2857, 6420, 33411, 366, 29974, 829, 7178, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 812, 750, 262, 1074, 326, 468, 257, 5573, 829, 1592, 12, 43, 793, 286, 604, 12, 24, 290, 717, 2826, 878, 7358, 30, 46506, 35683, 7203, 40630, 33101, 4943, 16034, 3084, 62, 20, 2857, 6420, 33411, 366, 29974, 829, 7178, 12,...
List the order id, customer id for orders in Cancelled status, ordered by their order dates.
SELECT order_id, customer_id FROM customer_orders WHERE order_status_code = "Cancelled" ORDER BY order_date
[ 8053, 262, 1502, 4686, 11, 6491, 4686, 329, 6266, 287, 43780, 3353, 3722, 11, 6149, 416, 511, 1502, 9667, 13, 46506, 1502, 62, 312, 11, 6491, 62, 312, 16034, 6491, 62, 6361, 33411, 1502, 62, 13376, 62, 8189, 796, 366, 34, 590, 3353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1502, 4686, 11, 6491, 4686, 329, 6266, 287, 43780, 3353, 3722, 11, 6149, 416, 511, 1502, 9667, 13, 46506, 1502, 62, 312, 11, 6491, 62, 312, 16034, 6491, 62, 6361, 33411, 1502, 62, 13376, 62, 8189, 796, 366, 34, 590, 3353,...
What is the 7th runner-up of the country with a 10th runner-up greater than 0, a 9th runner-up greater than 0, and an 8th runner-up greater than 1?
SELECT SUM("7th runner-up") FROM table_75070 WHERE "10th runner-up" > '0' AND "9th runner-up" > '0' AND "8th runner-up" > '1'
[ 2061, 318, 262, 767, 400, 17490, 12, 929, 286, 262, 1499, 351, 257, 838, 400, 17490, 12, 929, 3744, 621, 657, 11, 257, 860, 400, 17490, 12, 929, 3744, 621, 657, 11, 290, 281, 807, 400, 17490, 12, 929, 3744, 621, 352, 30, 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...
[ 2061, 318, 262, 767, 400, 17490, 12, 929, 286, 262, 1499, 351, 257, 838, 400, 17490, 12, 929, 3744, 621, 657, 11, 257, 860, 400, 17490, 12, 929, 3744, 621, 657, 11, 290, 281, 807, 400, 17490, 12, 929, 3744, 621, 352, 30, 46506, ...
Show the album names and ids for albums that contain tracks with unit price bigger than 1 Visualize by bar chart, show in descending by the total number please.
SELECT T1.Title, T1.AlbumId FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 ORDER BY T1.AlbumId DESC
[ 15307, 262, 5062, 3891, 290, 220, 2340, 329, 16788, 326, 3994, 8339, 351, 4326, 2756, 5749, 621, 352, 15612, 1096, 416, 2318, 8262, 11, 905, 287, 31491, 416, 262, 2472, 1271, 3387, 13, 46506, 309, 16, 13, 19160, 11, 309, 16, 13, 234...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5062, 3891, 290, 220, 2340, 329, 16788, 326, 3994, 8339, 351, 4326, 2756, 5749, 621, 352, 15612, 1096, 416, 2318, 8262, 11, 905, 287, 31491, 416, 262, 2472, 1271, 3387, 13, 46506, 309, 16, 13, 19160, 11, 309, 16, 13, 234...
patients with loss of consciousness or ( glasgow < 14 )
SELECT * FROM table_test_2 WHERE loss_of_consciousness = 1 OR glasgow_come_score_gcs < 14
[ 8071, 2334, 351, 2994, 286, 10510, 393, 357, 1278, 292, 21175, 1279, 1478, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 17, 33411, 2994, 62, 1659, 62, 16796, 1108, 796, 352, 6375, 1278, 292, 21175, 62, 2958, 62, 26675, 62, 70, 6359, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8071, 2334, 351, 2994, 286, 10510, 393, 357, 1278, 292, 21175, 1279, 1478, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 17, 33411, 2994, 62, 1659, 62, 16796, 1108, 796, 352, 6375, 1278, 292, 21175, 62, 2958, 62, 26675, 62, 70, 6359, ...
Name the total number of attendance for october 20, 1946 with week less than 4
SELECT COUNT("Attendance") FROM table_34508 WHERE "Date" = 'october 20, 1946' AND "Week" < '4'
[ 5376, 262, 2472, 1271, 286, 14858, 329, 19318, 2023, 1160, 11, 22717, 351, 1285, 1342, 621, 604, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2682, 33042, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1160, 11, 22717, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 14858, 329, 19318, 2023, 1160, 11, 22717, 351, 1285, 1342, 621, 604, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2682, 33042, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1160, 11, 22717, ...
This year , will there be an Nutritional Epidemiology lab ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE (course.description LIKE '%lab%' OR course.name LIKE '%lab%') AND (course.description LIKE '%Nutritional Epidemiology%' OR course.name LIKE '%Nutritional Epidemiology%') AND course.course_id = course_offering.course_id AND semester.semester_id = course_of...
[ 1212, 614, 837, 481, 612, 307, 281, 11959, 21297, 38437, 12371, 2248, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 357, 17319, 13, 11213, 34178, 705, 4, 23912, 4, 6, 6375, 1781...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1212, 614, 837, 481, 612, 307, 281, 11959, 21297, 38437, 12371, 2248, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 357, 17319, 13, 11213, 34178, 705, 4, 23912, 4, 6, 6375, 1781...
Which label's year was 1990?
SELECT "Label" FROM table_42514 WHERE "Year" = '1990'
[ 13828, 6167, 338, 614, 373, 6303, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 32114, 1415, 33411, 366, 17688, 1, 796, 705, 19891, 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 ]
[ 13828, 6167, 338, 614, 373, 6303, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 32114, 1415, 33411, 366, 17688, 1, 796, 705, 19891, 6 ]
Which Opponent has a Record of 43-56?
SELECT opponent FROM table_name_75 WHERE record = "43-56"
[ 13828, 9385, 3471, 468, 257, 13266, 286, 5946, 12, 3980, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2425, 33411, 1700, 796, 366, 3559, 12, 3980, 1 ]
[ 1, 1, 1, 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, 9385, 3471, 468, 257, 13266, 286, 5946, 12, 3980, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2425, 33411, 1700, 796, 366, 3559, 12, 3980, 1 ]
How many tries for did the team with a try bonus of 5 score?
SELECT "Tries for" FROM table_69524 WHERE "Try bonus" = '5'
[ 2437, 867, 8404, 329, 750, 262, 1074, 351, 257, 1949, 7202, 286, 642, 4776, 30, 46506, 366, 51, 1678, 329, 1, 16034, 3084, 62, 37381, 1731, 33411, 366, 23433, 7202, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8404, 329, 750, 262, 1074, 351, 257, 1949, 7202, 286, 642, 4776, 30, 46506, 366, 51, 1678, 329, 1, 16034, 3084, 62, 37381, 1731, 33411, 366, 23433, 7202, 1, 796, 705, 20, 6 ]
show me all flights from DENVER to PITTSBURGH which serve DINNER
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, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food...
[ 12860, 502, 477, 13956, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 543, 4691, 360, 1268, 45, 4877, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 13956, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 543, 4691, 360, 1268, 45, 4877, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
Name the guest 3 for iyare igiehon
SELECT "Guest 3" FROM table_23733 WHERE "Guest 2" = 'Iyare Igiehon'
[ 5376, 262, 8319, 513, 329, 1312, 88, 533, 45329, 494, 24130, 46506, 366, 42481, 513, 1, 16034, 3084, 62, 24693, 2091, 33411, 366, 42481, 362, 1, 796, 705, 40, 88, 533, 314, 22699, 24130, 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 ]
[ 5376, 262, 8319, 513, 329, 1312, 88, 533, 45329, 494, 24130, 46506, 366, 42481, 513, 1, 16034, 3084, 62, 24693, 2091, 33411, 366, 42481, 362, 1, 796, 705, 40, 88, 533, 314, 22699, 24130, 6 ]
What is the lowest 2011 number (,000)?
SELECT MIN(2011 AS _number__), 000 AS _ FROM table_273617_6
[ 2061, 318, 262, 9016, 2813, 1271, 357, 11, 830, 19427, 46506, 20625, 7, 9804, 7054, 4808, 17618, 834, 828, 12877, 7054, 4808, 16034, 3084, 62, 1983, 2623, 1558, 62, 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 ]
[ 2061, 318, 262, 9016, 2813, 1271, 357, 11, 830, 19427, 46506, 20625, 7, 9804, 7054, 4808, 17618, 834, 828, 12877, 7054, 4808, 16034, 3084, 62, 1983, 2623, 1558, 62, 21 ]
For those employees who was hired before 2002-06-21, visualize a scatter chart about the correlation between manager_id and department_id .
SELECT MANAGER_ID, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 4706, 62, 312, 290, 5011, 62, 312, 764, 46506, 17254, 4760, 1137, 62, 2389, 11, 5550, 30709, 10979, 62, 2389, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 4706, 62, 312, 290, 5011, 62, 312, 764, 46506, 17254, 4760, 1137, 62, 2389, 11, 5550, 30709, 10979, 62, 2389, 16034, ...
What is the name of the network in the United Kingdom which aired in 1985 1992?
SELECT "Network" FROM table_79775 WHERE "Region/Country" = 'united kingdom' AND "Dates aired" = '1985–1992'
[ 2061, 318, 262, 1438, 286, 262, 3127, 287, 262, 1578, 7526, 543, 18530, 287, 12863, 9768, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 3720, 34483, 33411, 366, 47371, 14, 33921, 1, 796, 705, 41187, 13239, 6, 5357, 366, 35, 689, 18530, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 3127, 287, 262, 1578, 7526, 543, 18530, 287, 12863, 9768, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 3720, 34483, 33411, 366, 47371, 14, 33921, 1, 796, 705, 41187, 13239, 6, 5357, 366, 35, 689, 18530, ...
What State/Country is Sean Langman the skipper?
SELECT "State/country" FROM table_27807 WHERE "Skipper" = 'Sean Langman'
[ 2061, 1812, 14, 33921, 318, 11465, 16332, 805, 262, 1341, 14710, 30, 46506, 366, 9012, 14, 19315, 1, 16034, 3084, 62, 1983, 36928, 33411, 366, 50, 4106, 2848, 1, 796, 705, 26408, 16332, 805, 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, 1812, 14, 33921, 318, 11465, 16332, 805, 262, 1341, 14710, 30, 46506, 366, 9012, 14, 19315, 1, 16034, 3084, 62, 1983, 36928, 33411, 366, 50, 4106, 2848, 1, 796, 705, 26408, 16332, 805, 6 ]
What is the number of airlines based in Russia?
SELECT COUNT(*) FROM airlines WHERE country = 'Russia'
[ 2061, 318, 262, 1271, 286, 26225, 1912, 287, 3284, 30, 46506, 327, 28270, 7, 28104, 16034, 26225, 33411, 1499, 796, 705, 16347, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 26225, 1912, 287, 3284, 30, 46506, 327, 28270, 7, 28104, 16034, 26225, 33411, 1499, 796, 705, 16347, 6 ]
blood platelet counts < 100000 / mm3
SELECT * FROM table_test_6 WHERE blood_platelet_counts < 100000
[ 18041, 7480, 1616, 9853, 1279, 1802, 830, 1220, 8085, 18, 46506, 1635, 16034, 3084, 62, 9288, 62, 21, 33411, 2910, 62, 6816, 1616, 62, 9127, 82, 1279, 1802, 830 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18041, 7480, 1616, 9853, 1279, 1802, 830, 1220, 8085, 18, 46506, 1635, 16034, 3084, 62, 9288, 62, 21, 33411, 2910, 62, 6816, 1616, 62, 9127, 82, 1279, 1802, 830 ]
what was the average number of votes for the first 5 elections ?
SELECT AVG("votes") FROM table_204_683 WHERE "no." <= 5
[ 10919, 373, 262, 2811, 1271, 286, 5690, 329, 262, 717, 642, 7024, 5633, 46506, 35224, 7203, 29307, 4943, 16034, 3084, 62, 18638, 62, 47521, 33411, 366, 3919, 526, 19841, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 2811, 1271, 286, 5690, 329, 262, 717, 642, 7024, 5633, 46506, 35224, 7203, 29307, 4943, 16034, 3084, 62, 18638, 62, 47521, 33411, 366, 3919, 526, 19841, 642 ]
Show me a bar chart for what are the ids and details of events that have more than one participants?, and display from high to low by the y-axis.
SELECT T1.Event_Details, T1.Event_ID FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_Details ORDER BY T1.Event_ID DESC
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3307, 286, 2995, 326, 423, 517, 621, 530, 6809, 21747, 290, 3359, 422, 1029, 284, 1877, 416, 262, 331, 12, 22704, 13, 46506, 309, 16, 13, 9237, 62, 24259, 11, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3307, 286, 2995, 326, 423, 517, 621, 530, 6809, 21747, 290, 3359, 422, 1029, 284, 1877, 416, 262, 331, 12, 22704, 13, 46506, 309, 16, 13, 9237, 62, 24259, 11, 309, 1...
count the number of patients whose ethnicity is white - russian and admission year is less than 2151?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.admityear < "2151"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 532, 374, 31562, 290, 13938, 614, 318, 1342, 621, 22951, 16, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 2330, 532, 374, 31562, 290, 13938, 614, 318, 1342, 621, 22951, 16, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414,...
what was the name of the first intake of patient 23070 that they had on last month/30?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT inputevents_cv.itemid 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 = 23070)) AND DATETIME(inputevents_cv....
[ 10919, 373, 262, 1438, 286, 262, 717, 10337, 286, 5827, 18395, 2154, 326, 484, 550, 319, 938, 1227, 14, 1270, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 1438, 286, 262, 717, 10337, 286, 5827, 18395, 2154, 326, 484, 550, 319, 938, 1227, 14, 1270, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 287, ...
preexisting congestive heart failure
SELECT * FROM table_test_25 WHERE heart_disease = 1
[ 79, 631, 87, 9665, 22791, 425, 2612, 5287, 46506, 1635, 16034, 3084, 62, 9288, 62, 1495, 33411, 2612, 62, 67, 786, 589, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 79, 631, 87, 9665, 22791, 425, 2612, 5287, 46506, 1635, 16034, 3084, 62, 9288, 62, 1495, 33411, 2612, 62, 67, 786, 589, 796, 352 ]