instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
find the number of patients with lab test item id 50951 who were born before 1850.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "1850" AND lab.itemid = "50951"
[ 19796, 262, 1271, 286, 3871, 351, 2248, 1332, 2378, 4686, 2026, 50119, 508, 547, 4642, 878, 35745, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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...
[ 19796, 262, 1271, 286, 3871, 351, 2248, 1332, 2378, 4686, 2026, 50119, 508, 547, 4642, 878, 35745, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
What engine did Casey Mears use on the Reynard 01i Chassis?
SELECT "Engine" FROM table_4549 WHERE "Chassis" = 'reynard 01i' AND "Drivers" = 'casey mears'
[ 2061, 3113, 750, 21097, 337, 4127, 779, 319, 262, 18567, 446, 5534, 72, 609, 20297, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 2231, 2920, 33411, 366, 1925, 20297, 1, 796, 705, 260, 2047, 446, 5534, 72, 6, 5357, 366, 20564, 690, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3113, 750, 21097, 337, 4127, 779, 319, 262, 18567, 446, 5534, 72, 609, 20297, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 2231, 2920, 33411, 366, 1925, 20297, 1, 796, 705, 260, 2047, 446, 5534, 72, 6, 5357, 366, 20564, 690, 1, ...
What is the Player from appalachian state?
SELECT player FROM table_name_73 WHERE college = "appalachian state"
[ 2061, 318, 262, 7853, 422, 598, 33786, 666, 1181, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4790, 33411, 4152, 796, 366, 1324, 33786, 666, 1181, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7853, 422, 598, 33786, 666, 1181, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4790, 33411, 4152, 796, 366, 1324, 33786, 666, 1181, 1 ]
Top 100 users from Warsaw. Lists the top 100 users (ranked by reputation) that are located in Vancouver according to their profile information. Tries to filter out those in Vancouver, Washington. Based on http://data.stackexchange.com/stackoverflow/s/1166/top-100-users-from-vancouver
SELECT Id AS "user_link", DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE 'Ital%' ORDER BY Reputation DESC LIMIT 10000000000
[ 9126, 1802, 2985, 422, 32955, 13, 44968, 262, 1353, 1802, 2985, 357, 28282, 416, 8507, 8, 326, 389, 5140, 287, 10930, 1864, 284, 511, 7034, 1321, 13, 309, 1678, 284, 8106, 503, 883, 287, 10930, 11, 2669, 13, 201, 198, 201, 198, 1500...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1802, 2985, 422, 32955, 13, 44968, 262, 1353, 1802, 2985, 357, 28282, 416, 8507, 8, 326, 389, 5140, 287, 10930, 1864, 284, 511, 7034, 1321, 13, 309, 1678, 284, 8106, 503, 883, 287, 10930, 11, 2669, 13, 201, 198, 201, 198, 1500...
Which Score has a Total of 80 72?
SELECT score FROM table_name_55 WHERE total = "80–72"
[ 13828, 15178, 468, 257, 7472, 286, 4019, 7724, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2816, 33411, 2472, 796, 366, 1795, 1906, 4761, 1 ]
[ 1, 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, 15178, 468, 257, 7472, 286, 4019, 7724, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2816, 33411, 2472, 796, 366, 1795, 1906, 4761, 1 ]
I want to know the sum of points with a previous rank of 3
SELECT SUM("Points") FROM table_53260 WHERE "Previous Rank" = '3'
[ 40, 765, 284, 760, 262, 2160, 286, 2173, 351, 257, 2180, 4279, 286, 513, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 20, 2624, 1899, 33411, 366, 21448, 10916, 1, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 284, 760, 262, 2160, 286, 2173, 351, 257, 2180, 4279, 286, 513, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 20, 2624, 1899, 33411, 366, 21448, 10916, 1, 796, 705, 18, 6 ]
What was the result of the game against Luxembourg?
SELECT results¹ FROM table_name_97 WHERE opponent = "luxembourg"
[ 2061, 373, 262, 1255, 286, 262, 983, 1028, 31864, 30, 46506, 2482, 126, 117, 16034, 3084, 62, 3672, 62, 5607, 33411, 6125, 796, 366, 22564, 368, 24256, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 983, 1028, 31864, 30, 46506, 2482, 126, 117, 16034, 3084, 62, 3672, 62, 5607, 33411, 6125, 796, 366, 22564, 368, 24256, 1 ]
Return the number of customers who have at least one order with 'Cancelled' status.
SELECT COUNT(DISTINCT customer_id) FROM customer_orders WHERE order_status = "Cancelled"
[ 13615, 262, 1271, 286, 4297, 508, 423, 379, 1551, 530, 1502, 351, 705, 34, 590, 3353, 6, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 6491, 62, 312, 8, 16034, 6491, 62, 6361, 33411, 1502, 62, 13376, 796, 366, 34, 590, 335...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 1271, 286, 4297, 508, 423, 379, 1551, 530, 1502, 351, 705, 34, 590, 3353, 6, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 6491, 62, 312, 8, 16034, 6491, 62, 6361, 33411, 1502, 62, 13376, 796, 366, 34, 590, 335...
how many ties occurred in the second round ?
SELECT COUNT(*) FROM table_204_405 WHERE "2nd leg" = "2nd leg"
[ 4919, 867, 8470, 5091, 287, 262, 1218, 2835, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 26598, 33411, 366, 17, 358, 1232, 1, 796, 366, 17, 358, 1232, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 8470, 5091, 287, 262, 1218, 2835, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 26598, 33411, 366, 17, 358, 1232, 1, 796, 366, 17, 358, 1232, 1 ]
what is the week when attendance is more than 53,854 and the date is november 12, 1961?
SELECT "Week" FROM table_14288 WHERE "Attendance" > '53,854' AND "Date" = 'november 12, 1961'
[ 10919, 318, 262, 1285, 618, 14858, 318, 517, 621, 7192, 11, 23, 4051, 290, 262, 3128, 318, 645, 303, 1916, 1105, 11, 20510, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 1415, 25270, 33411, 366, 8086, 437, 590, 1, 1875, 705, 4310, 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 ]
[ 10919, 318, 262, 1285, 618, 14858, 318, 517, 621, 7192, 11, 23, 4051, 290, 262, 3128, 318, 645, 303, 1916, 1105, 11, 20510, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 1415, 25270, 33411, 366, 8086, 437, 590, 1, 1875, 705, 4310, 11, ...
show me the five most common diagnostics during the previous year?
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 5
[ 12860, 502, 262, 1936, 749, 2219, 6689, 34558, 1141, 262, 2180, 614, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 1936, 749, 2219, 6689, 34558, 1141, 262, 2180, 614, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
find the number of patients suffering from gastrointestinal bleed primary disease who were admitted for more than 2 days in hospital.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GASTROINTESTINAL BLEED" AND demographic.days_stay > "2"
[ 19796, 262, 1271, 286, 3871, 7195, 422, 40887, 30182, 4165, 4369, 508, 547, 6848, 329, 517, 621, 362, 1528, 287, 4436, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 7195, 422, 40887, 30182, 4165, 4369, 508, 547, 6848, 329, 517, 621, 362, 1528, 287, 4436, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356...
show me return flights from CINCINNATI to SALT LAKE CITY nonstop
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 = 'CINCINNATI' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SA...
[ 12860, 502, 1441, 13956, 422, 327, 30158, 1268, 34259, 40, 284, 311, 31429, 9131, 7336, 27993, 1729, 11338, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 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...
[ 12860, 502, 1441, 13956, 422, 327, 30158, 1268, 34259, 40, 284, 311, 31429, 9131, 7336, 27993, 1729, 11338, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11...
what are the top four most frequently prescribed drugs for patients aged 20s?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 20 AND 29) GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 4
[ 10919, 389, 262, 1353, 1440, 749, 6777, 14798, 5010, 329, 3871, 9722, 1160, 82, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1353, 1440, 749, 6777, 14798, 5010, 329, 3871, 9722, 1160, 82, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
How many schools did Bubba Starling attend?
SELECT COUNT(school) FROM table_11677100_17 WHERE player = "Bubba Starling"
[ 2437, 867, 4266, 750, 19645, 7012, 2907, 1359, 5262, 30, 46506, 327, 28270, 7, 14347, 8, 16034, 3084, 62, 1157, 40179, 3064, 62, 1558, 33411, 2137, 796, 366, 33, 549, 7012, 2907, 1359, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4266, 750, 19645, 7012, 2907, 1359, 5262, 30, 46506, 327, 28270, 7, 14347, 8, 16034, 3084, 62, 1157, 40179, 3064, 62, 1558, 33411, 2137, 796, 366, 33, 549, 7012, 2907, 1359, 1 ]
What are the names of gymnasts?
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID
[ 2061, 389, 262, 3891, 286, 38581, 5773, 30, 46506, 309, 17, 13, 5376, 16034, 38581, 459, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 38, 4948, 77, 459, 62, 2389, 796, 309, 17, 13, 8061, 62, 2389 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 38581, 5773, 30, 46506, 309, 17, 13, 5376, 16034, 38581, 459, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 38, 4948, 77, 459, 62, 2389, 796, 309, 17, 13, 8061, 62, 2389 ]
Name the number of area km 2 for population density is 87
SELECT COUNT(area_km_2) FROM table_1606824_1 WHERE pop_density_people_km_2 = "87"
[ 5376, 262, 1271, 286, 1989, 10571, 362, 329, 3265, 12109, 318, 10083, 46506, 327, 28270, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 14198, 3104, 1731, 62, 16, 33411, 1461, 62, 43337, 62, 15332, 62, 13276, 62, 17, 796, 366, 577...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 1989, 10571, 362, 329, 3265, 12109, 318, 10083, 46506, 327, 28270, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 14198, 3104, 1731, 62, 16, 33411, 1461, 62, 43337, 62, 15332, 62, 13276, 62, 17, 796, 366, 577...
What Version has a Title of alarm clock?
SELECT version FROM table_name_77 WHERE title = "alarm clock"
[ 2061, 10628, 468, 257, 11851, 286, 10436, 8801, 30, 46506, 2196, 16034, 3084, 62, 3672, 62, 3324, 33411, 3670, 796, 366, 282, 1670, 8801, 1 ]
[ 1, 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, 10628, 468, 257, 11851, 286, 10436, 8801, 30, 46506, 2196, 16034, 3084, 62, 3672, 62, 3324, 33411, 3670, 796, 366, 282, 1670, 8801, 1 ]
Name the total number of league for 5
SELECT COUNT(league) FROM table_17598822_11 WHERE total = 5
[ 5376, 262, 2472, 1271, 286, 4652, 329, 642, 46506, 327, 28270, 7, 19316, 8, 16034, 3084, 62, 1558, 3270, 3459, 1828, 62, 1157, 33411, 2472, 796, 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 ]
[ 5376, 262, 2472, 1271, 286, 4652, 329, 642, 46506, 327, 28270, 7, 19316, 8, 16034, 3084, 62, 1558, 3270, 3459, 1828, 62, 1157, 33411, 2472, 796, 642 ]
how many times has this athlete not finished in a competition ?
SELECT COUNT(*) FROM table_204_760 WHERE "position" IS NULL
[ 4919, 867, 1661, 468, 428, 16076, 407, 5201, 287, 257, 5449, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 40761, 33411, 366, 9150, 1, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 468, 428, 16076, 407, 5201, 287, 257, 5449, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 40761, 33411, 366, 9150, 1, 3180, 15697 ]
What is Tournament, when 2006 is 'A', and when 2009 is 'A'?
SELECT "Tournament" FROM table_44845 WHERE "2006" = 'a' AND "2009" = 'a'
[ 2061, 318, 9595, 11, 618, 4793, 318, 705, 32, 3256, 290, 618, 3717, 318, 705, 32, 30960, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 31115, 2231, 33411, 366, 13330, 1, 796, 705, 64, 6, 5357, 366, 10531, 1, 796, 705, 64, 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 ]
[ 2061, 318, 9595, 11, 618, 4793, 318, 705, 32, 3256, 290, 618, 3717, 318, 705, 32, 30960, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 31115, 2231, 33411, 366, 13330, 1, 796, 705, 64, 6, 5357, 366, 10531, 1, 796, 705, 64, 6 ]
provide the number of patients whose diagnoses long title is benign neoplasm of skin of other and unspecified parts of face and lab test category is chemistry?
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 = "Benign neoplasm of skin of other and unspecified parts of face" AND lab."CATEGORY" = "Chemistry"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 32293, 497, 20106, 8597, 286, 4168, 286, 584, 290, 29547, 3354, 286, 1986, 290, 2248, 1332, 6536, 318, 16585, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 32293, 497, 20106, 8597, 286, 4168, 286, 584, 290, 29547, 3354, 286, 1986, 290, 2248, 1332, 6536, 318, 16585, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32...
What is the name of the captain for team Norwich City?
SELECT "Captain" FROM table_54328 WHERE "Team" = 'norwich city'
[ 2061, 318, 262, 1438, 286, 262, 10654, 329, 1074, 43586, 2254, 30, 46506, 366, 27898, 1, 16034, 3084, 62, 20, 3559, 2078, 33411, 366, 15592, 1, 796, 705, 13099, 11451, 1748, 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, 1438, 286, 262, 10654, 329, 1074, 43586, 2254, 30, 46506, 366, 27898, 1, 16034, 3084, 62, 20, 3559, 2078, 33411, 366, 15592, 1, 796, 705, 13099, 11451, 1748, 6 ]
When 2008 is the year how many divisions are there?
SELECT COUNT("Division") FROM table_23379 WHERE "Year" = '2008'
[ 2215, 3648, 318, 262, 614, 703, 867, 17397, 389, 612, 30, 46506, 327, 28270, 7203, 24095, 1166, 4943, 16034, 3084, 62, 1954, 29088, 33411, 366, 17688, 1, 796, 705, 11528, 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 ]
[ 2215, 3648, 318, 262, 614, 703, 867, 17397, 389, 612, 30, 46506, 327, 28270, 7203, 24095, 1166, 4943, 16034, 3084, 62, 1954, 29088, 33411, 366, 17688, 1, 796, 705, 11528, 6 ]
What is the round when the match was against sergis kyratzis?
SELECT "Round" FROM table_9621 WHERE "Opponent" = 'sergis kyratzis'
[ 2061, 318, 262, 2835, 618, 262, 2872, 373, 1028, 1055, 70, 271, 479, 2417, 27906, 271, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 4846, 2481, 33411, 366, 27524, 3471, 1, 796, 705, 2655, 70, 271, 479, 2417, 27906, 271, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2835, 618, 262, 2872, 373, 1028, 1055, 70, 271, 479, 2417, 27906, 271, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 4846, 2481, 33411, 366, 27524, 3471, 1, 796, 705, 2655, 70, 271, 479, 2417, 27906, 271, 6 ]
Find the number of people who is under 40 for each gender.
SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender
[ 16742, 262, 1271, 286, 661, 508, 318, 739, 2319, 329, 1123, 5279, 13, 46506, 5279, 11, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1279, 2319, 44441, 11050, 5279 ]
[ 1, 1, 1, 1, 1, 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, 661, 508, 318, 739, 2319, 329, 1123, 5279, 13, 46506, 5279, 11, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1279, 2319, 44441, 11050, 5279 ]
What is the average Regional Finals score when the record is 3-2 and there are more than 3 bids?
SELECT AVG("Regional Finals") FROM table_74490 WHERE "Record" = '3-2' AND "# of Bids" > '3'
[ 2061, 318, 262, 2811, 15994, 19705, 4776, 618, 262, 1700, 318, 513, 12, 17, 290, 612, 389, 517, 621, 513, 27837, 30, 46506, 35224, 7203, 8081, 1538, 19705, 4943, 16034, 3084, 62, 22, 2598, 3829, 33411, 366, 23739, 1, 796, 705, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 15994, 19705, 4776, 618, 262, 1700, 318, 513, 12, 17, 290, 612, 389, 517, 621, 513, 27837, 30, 46506, 35224, 7203, 8081, 1538, 19705, 4943, 16034, 3084, 62, 22, 2598, 3829, 33411, 366, 23739, 1, 796, 705, 18, 1...
what was the total attendance for the game against texas ?
SELECT "attendance" FROM table_204_617 WHERE "opponent#" = 'texas'
[ 10919, 373, 262, 2472, 14858, 329, 262, 983, 1028, 48659, 292, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 47941, 33411, 366, 10365, 3471, 2, 1, 796, 705, 16886, 292, 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, 373, 262, 2472, 14858, 329, 262, 983, 1028, 48659, 292, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 47941, 33411, 366, 10365, 3471, 2, 1, 796, 705, 16886, 292, 6 ]
To how many patients was nifedipine cr administered of prescribed?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "NIFEdipine CR"
[ 2514, 703, 867, 3871, 373, 299, 361, 276, 541, 500, 1067, 17169, 286, 14798, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2514, 703, 867, 3871, 373, 299, 361, 276, 541, 500, 1067, 17169, 286, 14798, 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, ...
let me know the number of patients admitted before 2115 who had injection or infusion of oxazolidinone class of antibiotics.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2115" AND procedures.long_title = "Injection or infusion of oxazolidinone class of antibiotics"
[ 1616, 502, 760, 262, 1271, 286, 3871, 6848, 878, 362, 15363, 508, 550, 16954, 393, 35547, 286, 12018, 1031, 10180, 259, 505, 1398, 286, 22392, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 1616, 502, 760, 262, 1271, 286, 3871, 6848, 878, 362, 15363, 508, 550, 16954, 393, 35547, 286, 12018, 1031, 10180, 259, 505, 1398, 286, 22392, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728,...
what was the game number where the record was 46 24?
SELECT MIN("Game") FROM table_29771 WHERE "Record" = '46–24'
[ 10919, 373, 262, 983, 1271, 810, 262, 1700, 373, 6337, 1987, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 1959, 46761, 33411, 366, 23739, 1, 796, 705, 3510, 1906, 1731, 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 ]
[ 10919, 373, 262, 983, 1271, 810, 262, 1700, 373, 6337, 1987, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 1959, 46761, 33411, 366, 23739, 1, 796, 705, 3510, 1906, 1731, 6 ]
(Possibly) suspended users with the most rep..
SELECT * FROM Votes WHERE UserId = 2118383
[ 7, 47, 20846, 8, 9951, 2985, 351, 262, 749, 1128, 492, 46506, 1635, 16034, 39584, 33411, 11787, 7390, 796, 362, 16817, 34741 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7, 47, 20846, 8, 9951, 2985, 351, 262, 749, 1128, 492, 46506, 1635, 16034, 39584, 33411, 11787, 7390, 796, 362, 16817, 34741 ]
How many people played at the club that had a 'goal difference' of -8 and a position lower than 12?
SELECT SUM("Played") FROM table_68168 WHERE "Goal Difference" = '-8' AND "Position" < '12'
[ 2437, 867, 661, 2826, 379, 262, 3430, 326, 550, 257, 705, 35231, 3580, 6, 286, 532, 23, 290, 257, 2292, 2793, 621, 1105, 30, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 3104, 14656, 33411, 366, 49045, 43795, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 2826, 379, 262, 3430, 326, 550, 257, 705, 35231, 3580, 6, 286, 532, 23, 290, 257, 2292, 2793, 621, 1105, 30, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 3104, 14656, 33411, 366, 49045, 43795, 1, 796, 705, ...
What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s?
SELECT "Cache" FROM table_52008 WHERE "Memory" = '24 gb qpi 5.86 gt/s' AND "Number" = '64'
[ 2061, 318, 262, 34088, 329, 257, 7913, 5598, 351, 257, 14059, 286, 1987, 308, 65, 10662, 14415, 642, 13, 4521, 308, 83, 14, 82, 30, 46506, 366, 30562, 1, 16034, 3084, 62, 20, 11528, 33411, 366, 30871, 1, 796, 705, 1731, 308, 65, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 34088, 329, 257, 7913, 5598, 351, 257, 14059, 286, 1987, 308, 65, 10662, 14415, 642, 13, 4521, 308, 83, 14, 82, 30, 46506, 366, 30562, 1, 16034, 3084, 62, 20, 11528, 33411, 366, 30871, 1, 796, 705, 1731, 308, 65, 1...
Show me about the distribution of ACC_Road and the average of Team_ID , and group by attribute ACC_Road in a bar chart, and display x-axis in desc order please.
SELECT ACC_Road, AVG(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road DESC
[ 15307, 502, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 287, 257, 2318, 8262, 11, 290, 3359, 2124, 12, 22704, 287, 1715, 1502, 3387, 13, 46506, 15859, 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...
[ 15307, 502, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 287, 257, 2318, 8262, 11, 290, 3359, 2124, 12, 22704, 287, 1715, 1502, 3387, 13, 46506, 15859, 62, ...
What is the summary of the algorithm with a theta i of 0.43?
SELECT "Summary statistic \\omega_{S,i} (step 3)" FROM table_56059 WHERE "\\theta_i" = '0.43'
[ 2061, 318, 262, 10638, 286, 262, 11862, 351, 257, 262, 8326, 1312, 286, 657, 13, 3559, 30, 46506, 366, 22093, 24696, 26867, 462, 4908, 23330, 50, 11, 72, 92, 357, 9662, 513, 16725, 16034, 3084, 62, 34135, 3270, 33411, 366, 6852, 1169,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10638, 286, 262, 11862, 351, 257, 262, 8326, 1312, 286, 657, 13, 3559, 30, 46506, 366, 22093, 24696, 26867, 462, 4908, 23330, 50, 11, 72, 92, 357, 9662, 513, 16725, 16034, 3084, 62, 34135, 3270, 33411, 366, 6852, 1169,...
How many different jobs are listed?
SELECT COUNT(DISTINCT job) FROM person
[ 2437, 867, 1180, 3946, 389, 5610, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1693, 8, 16034, 1048 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1180, 3946, 389, 5610, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1693, 8, 16034, 1048 ]
Name the sum of played for c.d. luis ngel firpo and place more than 3
SELECT SUM("Played") FROM table_14888 WHERE "Team" = 'c.d. luis ángel firpo' AND "Place" > '3'
[ 5376, 262, 2160, 286, 2826, 329, 269, 13, 67, 13, 300, 84, 271, 23370, 417, 37979, 7501, 290, 1295, 517, 621, 513, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 1415, 28011, 33411, 366, 15592, 1, 796, 705, 66, 13, 67, 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 ]
[ 5376, 262, 2160, 286, 2826, 329, 269, 13, 67, 13, 300, 84, 271, 23370, 417, 37979, 7501, 290, 1295, 517, 621, 513, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 1415, 28011, 33411, 366, 15592, 1, 796, 705, 66, 13, 67, 13, ...
Which Bronze has a Rank of 3, and a Silver larger than 0?
SELECT MIN("Bronze") FROM table_76448 WHERE "Rank" = '3' AND "Silver" > '0'
[ 13828, 19461, 468, 257, 10916, 286, 513, 11, 290, 257, 7698, 4025, 621, 657, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 22, 2414, 2780, 33411, 366, 27520, 1, 796, 705, 18, 6, 5357, 366, 26766, 1, 1875, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 19461, 468, 257, 10916, 286, 513, 11, 290, 257, 7698, 4025, 621, 657, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 22, 2414, 2780, 33411, 366, 27520, 1, 796, 705, 18, 6, 5357, 366, 26766, 1, 1875, 705, 15, 6 ]
which team has the most wins ?
SELECT "team" FROM table_204_448 ORDER BY "winners" DESC LIMIT 1
[ 4758, 1074, 468, 262, 749, 7864, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 31115, 38678, 11050, 366, 5404, 2741, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1074, 468, 262, 749, 7864, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 31115, 38678, 11050, 366, 5404, 2741, 1, 22196, 34, 27564, 2043, 352 ]
mini _ mental status exam score > 16 and < 25 .
SELECT * FROM table_train_99 WHERE mini_mental_state_examination_mmse >= 16 AND mini_mental_state_examination_mmse <= 25
[ 45313, 4808, 5110, 3722, 2814, 4776, 1875, 1467, 290, 1279, 1679, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 2079, 33411, 9927, 62, 37098, 62, 5219, 62, 47779, 62, 3020, 325, 18189, 1467, 5357, 9927, 62, 37098, 62, 5219, 62, 47779, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 45313, 4808, 5110, 3722, 2814, 4776, 1875, 1467, 290, 1279, 1679, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 2079, 33411, 9927, 62, 37098, 62, 5219, 62, 47779, 62, 3020, 325, 18189, 1467, 5357, 9927, 62, 37098, 62, 5219, 62, 47779, ...
Which year did enrolled Gambier members leave?
SELECT MIN("Left") FROM table_73910 WHERE "Location (all in Ohio)" = 'Gambier'
[ 13828, 614, 750, 18724, 33330, 959, 1866, 2666, 30, 46506, 20625, 7203, 18819, 4943, 16034, 3084, 62, 22, 2670, 940, 33411, 366, 14749, 357, 439, 287, 6835, 16725, 796, 705, 38, 4131, 959, 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 ]
[ 13828, 614, 750, 18724, 33330, 959, 1866, 2666, 30, 46506, 20625, 7203, 18819, 4943, 16034, 3084, 62, 22, 2670, 940, 33411, 366, 14749, 357, 439, 287, 6835, 16725, 796, 705, 38, 4131, 959, 6 ]
What was the name of the tournament that the final was played against Yi Jingqian?
SELECT "Tournament" FROM table_40400 WHERE "Opponent in the final" = 'yi jingqian'
[ 2061, 373, 262, 1438, 286, 262, 7756, 326, 262, 2457, 373, 2826, 1028, 26463, 42279, 80, 666, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 1821, 7029, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 48111, 474, 278, 80, 666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 7756, 326, 262, 2457, 373, 2826, 1028, 26463, 42279, 80, 666, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 1821, 7029, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 48111, 474, 278, 80, 666, ...
count the number of patients that received antihypertensive drug within the same month after having been diagnosed with dementia until 2 years ago.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'dementia' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOIN (SELECT p...
[ 9127, 262, 1271, 286, 3871, 326, 2722, 3098, 12114, 11766, 2021, 2563, 1626, 262, 976, 1227, 706, 1719, 587, 14641, 351, 27886, 1566, 362, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 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...
[ 9127, 262, 1271, 286, 3871, 326, 2722, 3098, 12114, 11766, 2021, 2563, 1626, 262, 976, 1227, 706, 1719, 587, 14641, 351, 27886, 1566, 362, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, ...
What is the least silver when the total is more than 2, bronze is 3, gold is more than 0, and rank is 1?
SELECT MIN("Silver") FROM table_63103 WHERE "Total" > '2' AND "Bronze" = '3' AND "Gold" > '0' AND "Rank" = '1'
[ 2061, 318, 262, 1551, 8465, 618, 262, 2472, 318, 517, 621, 362, 11, 22101, 318, 513, 11, 3869, 318, 517, 621, 657, 11, 290, 4279, 318, 352, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 5066, 15197, 33411, 366, 14957, 1, 187...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1551, 8465, 618, 262, 2472, 318, 517, 621, 362, 11, 22101, 318, 513, 11, 3869, 318, 517, 621, 657, 11, 290, 4279, 318, 352, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 5066, 15197, 33411, 366, 14957, 1, 187...
has patient 021-49082 been given any medication when they came to the hospital last time?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-49082' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient....
[ 10134, 5827, 657, 2481, 12, 2920, 2919, 17, 587, 1813, 597, 14103, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 657, 2481, 12, 2920, 2919, 17, 587, 1813, 597, 14103, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
Posts grouped by time of the day for specific user.
SELECT CAST(TIME_TO_STR(CreationDate, '%-HOUR') AS TEXT) + '-' + CAST(TIME_TO_STR(CreationDate, '%-HOUR') + 1 AS TEXT) + ' UTC' AS time_of_the_day, CAST(TIME_TO_STR(CreationDate, '%-HOUR') + 5.5 AS TEXT) + '-' + CAST(TIME_TO_STR(CreationDate, '%-HOUR') + 6.5 AS TEXT) + ' IST' AS time_of_the_day_ist, COUNT(1) AS no_of_p...
[ 21496, 32824, 416, 640, 286, 262, 1110, 329, 2176, 2836, 13, 46506, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 33963, 39, 11698, 11537, 7054, 40383, 8, 1343, 705, 19355, 1343, 327, 11262, 7, 34694, 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...
[ 21496, 32824, 416, 640, 286, 262, 1110, 329, 2176, 2836, 13, 46506, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 33963, 39, 11698, 11537, 7054, 40383, 8, 1343, 705, 19355, 1343, 327, 11262, 7, 34694, 62, ...
creatinine level > 2 mg / dl for male , and > 1.8 mg / dl for female at screening.
SELECT * FROM table_dev_27 WHERE (creatinine_clearance_cl > 2 AND gender = 'male') OR (creatinine_clearance_cl > 1.8 AND gender = 'female')
[ 20123, 259, 500, 1241, 1875, 362, 10527, 1220, 288, 75, 329, 4257, 837, 290, 1875, 352, 13, 23, 10527, 1220, 288, 75, 329, 4048, 379, 14135, 13, 46506, 1635, 16034, 3084, 62, 7959, 62, 1983, 33411, 357, 20123, 259, 500, 62, 20063, 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...
[ 20123, 259, 500, 1241, 1875, 362, 10527, 1220, 288, 75, 329, 4257, 837, 290, 1875, 352, 13, 23, 10527, 1220, 288, 75, 329, 4048, 379, 14135, 13, 46506, 1635, 16034, 3084, 62, 7959, 62, 1983, 33411, 357, 20123, 259, 500, 62, 20063, 5...
Why did the manager who departed on August 1, 2008 leave?
SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008"
[ 5195, 750, 262, 4706, 508, 24057, 319, 2932, 352, 11, 3648, 2666, 30, 46506, 1738, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 3672, 62, 5705, 33411, 3128, 62, 448, 5146, 796, 366, 7493, 436, 352, 11, 3648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5195, 750, 262, 4706, 508, 24057, 319, 2932, 352, 11, 3648, 2666, 30, 46506, 1738, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 3672, 62, 5705, 33411, 3128, 62, 448, 5146, 796, 366, 7493, 436, 352, 11, 3648, 1 ]
Who was the opponent at the game that had a loss of Leonard (7 8)?
SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)"
[ 8241, 373, 262, 6125, 379, 262, 983, 326, 550, 257, 2994, 286, 20131, 357, 22, 807, 19427, 46506, 6125, 16034, 3084, 62, 3672, 62, 6469, 33411, 2994, 796, 366, 38970, 446, 357, 22, 1906, 23, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6125, 379, 262, 983, 326, 550, 257, 2994, 286, 20131, 357, 22, 807, 19427, 46506, 6125, 16034, 3084, 62, 3672, 62, 6469, 33411, 2994, 796, 366, 38970, 446, 357, 22, 1906, 23, 16725 ]
Which Byes has a Losses smaller than 1?
SELECT MAX("Byes") FROM table_41869 WHERE "Losses" < '1'
[ 13828, 2750, 274, 468, 257, 22014, 274, 4833, 621, 352, 30, 46506, 25882, 7203, 3886, 274, 4943, 16034, 3084, 62, 39667, 3388, 33411, 366, 43, 793, 274, 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, 1 ]
[ 13828, 2750, 274, 468, 257, 22014, 274, 4833, 621, 352, 30, 46506, 25882, 7203, 3886, 274, 4943, 16034, 3084, 62, 39667, 3388, 33411, 366, 43, 793, 274, 1, 1279, 705, 16, 6 ]
please give me the flights from CHICAGO to KANSAS CITY on 6 17
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 = 'KANSAS CITY' AND date_day.day_number = 17 AND date_day.month_number = 6 A...
[ 29688, 1577, 502, 262, 13956, 422, 5870, 2149, 4760, 46, 284, 509, 15037, 1921, 27993, 319, 718, 1596, 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...
[ 29688, 1577, 502, 262, 13956, 422, 5870, 2149, 4760, 46, 284, 509, 15037, 1921, 27993, 319, 718, 1596, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9...
what was the daily minimum intake of tpn d15.0 that patient 30044 had received until 2054 days ago?
SELECT MIN(inputevents_cv.amount) 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 = 30044)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab...
[ 10919, 373, 262, 4445, 5288, 10337, 286, 256, 21999, 288, 1314, 13, 15, 326, 5827, 5867, 2598, 550, 2722, 1566, 1160, 4051, 1528, 2084, 30, 46506, 20625, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4445, 5288, 10337, 286, 256, 21999, 288, 1314, 13, 15, 326, 5827, 5867, 2598, 550, 2722, 1566, 1160, 4051, 1528, 2084, 30, 46506, 20625, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, ...
What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790?
SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790
[ 2061, 318, 262, 1989, 357, 259, 10571, 17, 8, 329, 262, 413, 8605, 74, 5439, 1659, 11, 3025, 3265, 287, 2813, 373, 1342, 621, 15495, 11, 37750, 30, 46506, 35683, 7, 20337, 834, 13276, 62, 17, 834, 8, 16034, 3084, 62, 3672, 62, 313...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1989, 357, 259, 10571, 17, 8, 329, 262, 413, 8605, 74, 5439, 1659, 11, 3025, 3265, 287, 2813, 373, 1342, 621, 15495, 11, 37750, 30, 46506, 35683, 7, 20337, 834, 13276, 62, 17, 834, 8, 16034, 3084, 62, 3672, 62, 313...
What is the final score of the game on April 9?
SELECT "Score" FROM table_25817 WHERE "Date" = 'April 9'
[ 2061, 318, 262, 2457, 4776, 286, 262, 983, 319, 3035, 860, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 25600, 1558, 33411, 366, 10430, 1, 796, 705, 16784, 860, 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, 318, 262, 2457, 4776, 286, 262, 983, 319, 3035, 860, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 25600, 1558, 33411, 366, 10430, 1, 796, 705, 16784, 860, 6 ]
What is the height for the 2008 club Arona?
SELECT "Height" FROM table_62734 WHERE "2008 club" = 'arona'
[ 2061, 318, 262, 6001, 329, 262, 3648, 3430, 943, 4450, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 49856, 2682, 33411, 366, 11528, 3430, 1, 796, 705, 283, 4450, 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, 318, 262, 6001, 329, 262, 3648, 3430, 943, 4450, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 49856, 2682, 33411, 366, 11528, 3430, 1, 796, 705, 283, 4450, 6 ]
What is the losing bonus with 1 draw and 13 losses?
SELECT losing_bonus FROM table_name_22 WHERE drawn = "1" AND lost = "13"
[ 2061, 318, 262, 6078, 7202, 351, 352, 3197, 290, 1511, 9089, 30, 46506, 6078, 62, 4189, 385, 16034, 3084, 62, 3672, 62, 1828, 33411, 7428, 796, 366, 16, 1, 5357, 2626, 796, 366, 1485, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6078, 7202, 351, 352, 3197, 290, 1511, 9089, 30, 46506, 6078, 62, 4189, 385, 16034, 3084, 62, 3672, 62, 1828, 33411, 7428, 796, 366, 16, 1, 5357, 2626, 796, 366, 1485, 1 ]
show me flights leaving from SAN FRANCISCO to DENVER on 9 30
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 = 30 AND date_day.month_number = 9 AND da...
[ 12860, 502, 13956, 4305, 422, 37376, 8782, 20940, 1797, 8220, 284, 37692, 5959, 319, 860, 1542, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 4305, 422, 37376, 8782, 20940, 1797, 8220, 284, 37692, 5959, 319, 860, 1542, 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, ...
how can i get from BOSTON to ATLANTA and back in the same day and have the most hours on the ground in ATLANTA
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 = 'ATLANTA' AND flight.arrival_time = (SELECT MIN(FLIGHTalias1.arrival_time) FROM airport_s...
[ 4919, 460, 1312, 651, 422, 347, 10892, 1340, 284, 5161, 25697, 5603, 290, 736, 287, 262, 976, 1110, 290, 423, 262, 749, 2250, 319, 262, 2323, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 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...
[ 4919, 460, 1312, 651, 422, 347, 10892, 1340, 284, 5161, 25697, 5603, 290, 736, 287, 262, 976, 1110, 290, 423, 262, 749, 2250, 319, 262, 2323, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003...
how many patients whose age is less than 41 and diagnoses icd9 code is 34291?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "41" AND diagnoses.icd9_code = "34291"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 6073, 290, 40567, 14158, 67, 24, 2438, 318, 4974, 33551, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 6073, 290, 40567, 14158, 67, 24, 2438, 318, 4974, 33551, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 1...
What is the largest loss for the Tacuary team?
SELECT MAX("Losses") FROM table_19631 WHERE "Team" = 'Tacuary'
[ 2061, 318, 262, 4387, 2994, 329, 262, 26075, 2838, 1074, 30, 46506, 25882, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 25272, 3132, 33411, 366, 15592, 1, 796, 705, 51, 330, 2838, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 2994, 329, 262, 26075, 2838, 1074, 30, 46506, 25882, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 25272, 3132, 33411, 366, 15592, 1, 796, 705, 51, 330, 2838, 6 ]
What is the away team for the tie no. 29?
SELECT "Away team" FROM table_46068 WHERE "Tie no" = '29'
[ 2061, 318, 262, 1497, 1074, 329, 262, 9839, 645, 13, 2808, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 34716, 3104, 33411, 366, 51, 494, 645, 1, 796, 705, 1959, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 329, 262, 9839, 645, 13, 2808, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 34716, 3104, 33411, 366, 51, 494, 645, 1, 796, 705, 1959, 6 ]
how many patients were prescribed heparin (porcine) after bronchodilator during the same hospital encounter?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'bronchodilator') AS t1 JOIN (SELECT patient.uniquepid, medication.drugsta...
[ 4919, 867, 3871, 547, 14798, 339, 1845, 259, 357, 1819, 66, 500, 8, 706, 18443, 354, 375, 346, 1352, 1141, 262, 976, 4436, 8791, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14798, 339, 1845, 259, 357, 1819, 66, 500, 8, 706, 18443, 354, 375, 346, 1352, 1141, 262, 976, 4436, 8791, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 4650...
What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?
SELECT "Tertiary (18\u201324 years)" FROM table_27315 WHERE "Secondary (14\u201317 years)" = '71.43'
[ 2061, 318, 262, 20753, 8064, 287, 48358, 8042, 287, 262, 3814, 810, 262, 20753, 36535, 287, 9233, 318, 9166, 13, 3559, 30, 46506, 366, 51, 861, 8042, 357, 1507, 59, 84, 6390, 1731, 812, 16725, 16034, 3084, 62, 27367, 1314, 33411, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20753, 8064, 287, 48358, 8042, 287, 262, 3814, 810, 262, 20753, 36535, 287, 9233, 318, 9166, 13, 3559, 30, 46506, 366, 51, 861, 8042, 357, 1507, 59, 84, 6390, 1731, 812, 16725, 16034, 3084, 62, 27367, 1314, 33411, 366,...
What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993?
SELECT "Result" FROM table_52997 WHERE "Competition" = '1994 fifa world cup qualification' AND "Date" = 'may 15, 1993'
[ 2061, 338, 262, 25414, 329, 262, 27348, 286, 9162, 21285, 2159, 5454, 9537, 2649, 11, 351, 262, 7536, 286, 1737, 1315, 11, 9656, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 49721, 5607, 33411, 366, 7293, 15620, 1, 796, 705, 22666, 5515...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25414, 329, 262, 27348, 286, 9162, 21285, 2159, 5454, 9537, 2649, 11, 351, 262, 7536, 286, 1737, 1315, 11, 9656, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 49721, 5607, 33411, 366, 7293, 15620, 1, 796, 705, 22666, 5515...
How many patients admitted before the year 2127 had a lab test for thyroxine (t4)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2127" AND lab.label = "Thyroxine (T4)"
[ 2437, 867, 3871, 6848, 878, 262, 614, 362, 16799, 550, 257, 2248, 1332, 329, 11906, 13907, 500, 357, 83, 19, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3871, 6848, 878, 262, 614, 362, 16799, 550, 257, 2248, 1332, 329, 11906, 13907, 500, 357, 83, 19, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248...
Which Office has a Party of dem, and a First Elected of 1991 ?
SELECT "Office" FROM table_14813 WHERE "Party" = 'dem' AND "First Elected" = '1991†'
[ 13828, 4452, 468, 257, 3615, 286, 1357, 11, 290, 257, 3274, 5903, 276, 286, 10249, 5633, 46506, 366, 27743, 1, 16034, 3084, 62, 18294, 1485, 33411, 366, 33553, 1, 796, 705, 9536, 6, 5357, 366, 5962, 5903, 276, 1, 796, 705, 24529, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4452, 468, 257, 3615, 286, 1357, 11, 290, 257, 3274, 5903, 276, 286, 10249, 5633, 46506, 366, 27743, 1, 16034, 3084, 62, 18294, 1485, 33411, 366, 33553, 1, 796, 705, 9536, 6, 5357, 366, 5962, 5903, 276, 1, 796, 705, 24529, 33...
What are the counties represented in District 12.1 12a?
SELECT counties_represented FROM table_14009909_1 WHERE district = "12.1 12A"
[ 2061, 389, 262, 14683, 7997, 287, 5665, 1105, 13, 16, 1105, 64, 30, 46506, 14683, 62, 33469, 16034, 3084, 62, 1415, 405, 2079, 2931, 62, 16, 33411, 4783, 796, 366, 1065, 13, 16, 1105, 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 ]
[ 2061, 389, 262, 14683, 7997, 287, 5665, 1105, 13, 16, 1105, 64, 30, 46506, 14683, 62, 33469, 16034, 3084, 62, 1415, 405, 2079, 2931, 62, 16, 33411, 4783, 796, 366, 1065, 13, 16, 1105, 32, 1 ]
During the 2013 debut, what is the w-I(total) number?
SELECT COUNT("W-L (Total)") FROM table_160 WHERE "Debut" = '2013'
[ 7191, 262, 2211, 8886, 11, 644, 318, 262, 266, 12, 40, 7, 23350, 8, 1271, 30, 46506, 327, 28270, 7203, 54, 12, 43, 357, 14957, 8, 4943, 16034, 3084, 62, 14198, 33411, 366, 16587, 315, 1, 796, 705, 6390, 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 ]
[ 7191, 262, 2211, 8886, 11, 644, 318, 262, 266, 12, 40, 7, 23350, 8, 1271, 30, 46506, 327, 28270, 7203, 54, 12, 43, 357, 14957, 8, 4943, 16034, 3084, 62, 14198, 33411, 366, 16587, 315, 1, 796, 705, 6390, 6 ]
What school has an IHSAA Class of aaa, and their mascot is Tiger Cubs?
SELECT school FROM table_name_50 WHERE ihsaa_class = "aaa" AND mascot = "tiger cubs"
[ 2061, 1524, 468, 281, 314, 7998, 3838, 5016, 286, 257, 7252, 11, 290, 511, 37358, 318, 17030, 21562, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 1120, 33411, 1312, 11994, 7252, 62, 4871, 796, 366, 46071, 1, 5357, 37358, 796, 366, 83, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1524, 468, 281, 314, 7998, 3838, 5016, 286, 257, 7252, 11, 290, 511, 37358, 318, 17030, 21562, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 1120, 33411, 1312, 11994, 7252, 62, 4871, 796, 366, 46071, 1, 5357, 37358, 796, 366, 83, ...
What is the Opponent with a time of 2:05 p.m., and the results were w 26 20?
SELECT opponent FROM table_name_62 WHERE time = "2:05 p.m." AND result = "w 26–20"
[ 2061, 318, 262, 9385, 3471, 351, 257, 640, 286, 362, 25, 2713, 279, 13, 76, 1539, 290, 262, 2482, 547, 266, 2608, 1160, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5237, 33411, 640, 796, 366, 17, 25, 2713, 279, 13, 76, 526, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9385, 3471, 351, 257, 640, 286, 362, 25, 2713, 279, 13, 76, 1539, 290, 262, 2482, 547, 266, 2608, 1160, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5237, 33411, 640, 796, 366, 17, 25, 2713, 279, 13, 76, 526, 5357, ...
how many days have elapsed since patient 027-203413 received a lab test of bedside glucose for the first time in this hospital encounter?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-203413' AND patient.hosp...
[ 4919, 867, 1528, 423, 42118, 1201, 5827, 657, 1983, 12, 1238, 2682, 1485, 2722, 257, 2248, 1332, 286, 3996, 1589, 15701, 329, 262, 717, 640, 287, 428, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 423, 42118, 1201, 5827, 657, 1983, 12, 1238, 2682, 1485, 2722, 257, 2248, 1332, 286, 3996, 1589, 15701, 329, 262, 717, 640, 287, 428, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327,...
how many patients whose admission type is newborn and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "NEWBORN" AND lab.fluid = "Ascites"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 23856, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 23856, 290, 2248, 1332, 11711, 318, 10570, 2737, 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...
How tall is contestant Alexandra D az Bello?
SELECT "Height" FROM table_24998 WHERE "Contestant" = 'Alexandra Díaz Bello'
[ 2437, 7331, 318, 44047, 44075, 360, 35560, 7459, 78, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 1731, 34808, 33411, 366, 4264, 395, 415, 1, 796, 705, 15309, 15918, 360, 8836, 1031, 7459, 78, 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, 7331, 318, 44047, 44075, 360, 35560, 7459, 78, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 1731, 34808, 33411, 366, 4264, 395, 415, 1, 796, 705, 15309, 15918, 360, 8836, 1031, 7459, 78, 6 ]
Number of answers among users with every answer scoring at least 'minScore'.
SELECT uu.Id AS "user_link", aCt.aCt AS NumAnswers FROM Users AS uu INNER JOIN (SELECT uuu.Id, COUNT(*) AS aCt FROM Posts AS pp INNER JOIN Users AS uuu ON pp.OwnerUserId = uuu.Id WHERE pp.PostTypeId = 2 GROUP BY uuu.Id) AS aCt ON uu.Id = aCt.Id WHERE uu.Id NOT IN (SELECT u.Id FROM Posts AS p INNER JOIN Users AS u ON p....
[ 15057, 286, 7429, 1871, 2985, 351, 790, 3280, 9689, 379, 1551, 705, 1084, 26595, 4458, 46506, 334, 84, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 33707, 13, 64, 33707, 7054, 31835, 2025, 37848, 16034, 18987, 7054, 334, 84, 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...
[ 15057, 286, 7429, 1871, 2985, 351, 790, 3280, 9689, 379, 1551, 705, 1084, 26595, 4458, 46506, 334, 84, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 33707, 13, 64, 33707, 7054, 31835, 2025, 37848, 16034, 18987, 7054, 334, 84, 3268, ...
Which date has a week larger than 14?
SELECT date FROM table_name_42 WHERE week > 14
[ 13828, 3128, 468, 257, 1285, 4025, 621, 1478, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3682, 33411, 1285, 1875, 1478 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3128, 468, 257, 1285, 4025, 621, 1478, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3682, 33411, 1285, 1875, 1478 ]
how many patients whose diagnoses short title is rec depr psych-psychotic and drug route is po/ng?
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 = "Rec depr psych-psychotic" AND prescriptions.route = "PO/NG"
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 664, 390, 1050, 3795, 12, 23947, 6210, 290, 2563, 6339, 318, 745, 14, 782, 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...
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 664, 390, 1050, 3795, 12, 23947, 6210, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
how many patients are diagnosed with peritoneal adhesions and have a lab test category of blood gas?
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.short_title = "Peritoneal adhesions" AND lab."CATEGORY" = "Blood Gas"
[ 4919, 867, 3871, 389, 14641, 351, 583, 49644, 282, 512, 956, 507, 290, 423, 257, 2248, 1332, 6536, 286, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 14641, 351, 583, 49644, 282, 512, 956, 507, 290, 423, 257, 2248, 1332, 6536, 286, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Draw a bar chart about the distribution of ACC_Road and the average of Team_ID , and group by attribute ACC_Road, and I want to sort in desc by the Y-axis.
SELECT ACC_Road, AVG(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY AVG(Team_ID) DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 314, 765, 284, 3297, 287, 1715, 416, 262, 575, 12, 22704, 13, 46506, 15859, 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...
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 314, 765, 284, 3297, 287, 1715, 416, 262, 575, 12, 22704, 13, 46506, 15859, 6...
Name the most points for when tries against is 8
SELECT MAX("Points for") FROM table_30386 WHERE "Tries against" = '8'
[ 5376, 262, 749, 2173, 329, 618, 8404, 1028, 318, 807, 46506, 25882, 7203, 40710, 329, 4943, 16034, 3084, 62, 1270, 21734, 33411, 366, 51, 1678, 1028, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 2173, 329, 618, 8404, 1028, 318, 807, 46506, 25882, 7203, 40710, 329, 4943, 16034, 3084, 62, 1270, 21734, 33411, 366, 51, 1678, 1028, 1, 796, 705, 23, 6 ]
What is the OS X for the Home Media Center?
SELECT os_x FROM table_name_88 WHERE name = "home media center"
[ 2061, 318, 262, 7294, 1395, 329, 262, 5995, 6343, 3337, 30, 46506, 28686, 62, 87, 16034, 3084, 62, 3672, 62, 3459, 33411, 1438, 796, 366, 11195, 2056, 3641, 1 ]
[ 1, 1, 1, 1, 1, 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, 7294, 1395, 329, 262, 5995, 6343, 3337, 30, 46506, 28686, 62, 87, 16034, 3084, 62, 3672, 62, 3459, 33411, 1438, 796, 366, 11195, 2056, 3641, 1 ]
subject has a systolic blood pressure ( sitting ) of greater than 160 mmhg, a diastolic ( sitting ) greater than 95 mmhg, a pulse ( sitting or supine ) less than 50 or greater than 85 .
SELECT * FROM table_train_123 WHERE systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 95 OR (pulse_rate < 50 OR pulse_rate > 85)
[ 32796, 468, 257, 827, 301, 4160, 2910, 3833, 357, 5586, 1267, 286, 3744, 621, 13454, 8085, 71, 70, 11, 257, 2566, 459, 4160, 357, 5586, 1267, 3744, 621, 6957, 8085, 71, 70, 11, 257, 19445, 357, 5586, 393, 7418, 500, 1267, 1342, 621,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32796, 468, 257, 827, 301, 4160, 2910, 3833, 357, 5586, 1267, 286, 3744, 621, 13454, 8085, 71, 70, 11, 257, 2566, 459, 4160, 357, 5586, 1267, 3744, 621, 6957, 8085, 71, 70, 11, 257, 19445, 357, 5586, 393, 7418, 500, 1267, 1342, 621,...
was he nominated more than he actually won ?
SELECT (SELECT COUNT(*) FROM table_204_970 WHERE "result" = 'nominated') > (SELECT COUNT(*) FROM table_204_970 WHERE "result" = 'won')
[ 9776, 339, 19332, 517, 621, 339, 1682, 1839, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 43587, 33411, 366, 20274, 1, 796, 705, 26601, 3898, 11537, 1875, 357, 46506, 327, 28270, 7, 28104, 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 ]
[ 9776, 339, 19332, 517, 621, 339, 1682, 1839, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 43587, 33411, 366, 20274, 1, 796, 705, 26601, 3898, 11537, 1875, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, ...
Bar chart x axis position y axis how many position, could you list from low to high by the X-axis?
SELECT Position, COUNT(Position) FROM player GROUP BY Position HAVING AVG(Points) >= 20 ORDER BY Position
[ 10374, 8262, 2124, 16488, 2292, 331, 16488, 703, 867, 2292, 11, 714, 345, 1351, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 30, 46506, 23158, 11, 327, 28270, 7, 26545, 8, 16034, 2137, 44441, 11050, 23158, 367, 10116, 2751, 35224, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 2292, 331, 16488, 703, 867, 2292, 11, 714, 345, 1351, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 30, 46506, 23158, 11, 327, 28270, 7, 26545, 8, 16034, 2137, 44441, 11050, 23158, 367, 10116, 2751, 35224, ...
who achieved a time that was at least faster than 54.20 ?
SELECT "name" FROM table_204_3 WHERE "time" <= 54.20
[ 8727, 8793, 257, 640, 326, 373, 379, 1551, 5443, 621, 7175, 13, 1238, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 18, 33411, 366, 2435, 1, 19841, 7175, 13, 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 ]
[ 8727, 8793, 257, 640, 326, 373, 379, 1551, 5443, 621, 7175, 13, 1238, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 18, 33411, 366, 2435, 1, 19841, 7175, 13, 1238 ]
What place is the player with a score of 69-68=137?
SELECT place FROM table_name_84 WHERE score = 69 - 68 = 137
[ 2061, 1295, 318, 262, 2137, 351, 257, 4776, 286, 8644, 12, 3104, 28, 19708, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5705, 33411, 4776, 796, 8644, 532, 8257, 796, 21643 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1295, 318, 262, 2137, 351, 257, 4776, 286, 8644, 12, 3104, 28, 19708, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5705, 33411, 4776, 796, 8644, 532, 8257, 796, 21643 ]
Which time/retired has a qual of 144.02?
SELECT time_retired FROM table_name_75 WHERE qual = 144.02
[ 13828, 640, 14, 1186, 1202, 468, 257, 4140, 286, 20224, 13, 2999, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 2425, 33411, 4140, 796, 20224, 13, 2999 ]
[ 1, 1, 1, 1, 1, 1, 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, 640, 14, 1186, 1202, 468, 257, 4140, 286, 20224, 13, 2999, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 2425, 33411, 4140, 796, 20224, 13, 2999 ]
What is the total number of league goals for Simon Charlton?
SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton"
[ 2061, 318, 262, 2472, 1271, 286, 4652, 4661, 329, 11288, 6258, 1122, 30, 46506, 327, 28270, 7, 19316, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 1438, 796, 366, 14323, 261, 1149, 75, 1122, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4652, 4661, 329, 11288, 6258, 1122, 30, 46506, 327, 28270, 7, 19316, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 1438, 796, 366, 14323, 261, 1149, 75, 1122, 1 ]
What is Total, when FA Cup is 1 0 (3)?
SELECT total FROM table_name_77 WHERE fa_cup = "1 0 (3)"
[ 2061, 318, 7472, 11, 618, 9677, 5454, 318, 352, 657, 357, 18, 19427, 46506, 2472, 16034, 3084, 62, 3672, 62, 3324, 33411, 24685, 62, 25244, 796, 366, 16, 657, 357, 18, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7472, 11, 618, 9677, 5454, 318, 352, 657, 357, 18, 19427, 46506, 2472, 16034, 3084, 62, 3672, 62, 3324, 33411, 24685, 62, 25244, 796, 366, 16, 657, 357, 18, 16725 ]
What is the geo ID for the township with 0.771 square miles of water?
SELECT MAX("GEO ID") FROM table_22461 WHERE "Water (sqmi)" = '0.771'
[ 2061, 318, 262, 40087, 4522, 329, 262, 42823, 351, 657, 13, 46761, 6616, 4608, 286, 1660, 30, 46506, 25882, 7203, 38, 4720, 4522, 4943, 16034, 3084, 62, 24137, 5333, 33411, 366, 19184, 357, 31166, 11632, 16725, 796, 705, 15, 13, 46761, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40087, 4522, 329, 262, 42823, 351, 657, 13, 46761, 6616, 4608, 286, 1660, 30, 46506, 25882, 7203, 38, 4720, 4522, 4943, 16034, 3084, 62, 24137, 5333, 33411, 366, 19184, 357, 31166, 11632, 16725, 796, 705, 15, 13, 46761, ...
What was the top crowd when collingwood played home?
SELECT MAX("Crowd") FROM table_52952 WHERE "Home team" = 'collingwood'
[ 2061, 373, 262, 1353, 4315, 618, 2927, 278, 3822, 2826, 1363, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 49721, 4309, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 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, 1353, 4315, 618, 2927, 278, 3822, 2826, 1363, 30, 46506, 25882, 7203, 34, 3986, 4943, 16034, 3084, 62, 49721, 4309, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
when was the last time the arterial bp [systolic] of patient 10855 was greater than 141.0, on the current intensive care unit visit?
SELECT chartevents.charttime 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 = 10855) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WH...
[ 12518, 373, 262, 938, 640, 262, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 286, 5827, 15495, 2816, 373, 3744, 621, 25500, 13, 15, 11, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 938, 640, 262, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 286, 5827, 15495, 2816, 373, 3744, 621, 25500, 13, 15, 11, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, ...
What is the story timeline that was published first prior to 1984?
SELECT "Story timeline" FROM table_55594 WHERE "Published" < '1984' AND "In order of publication" = 'first'
[ 2061, 318, 262, 1621, 15264, 326, 373, 3199, 717, 3161, 284, 12844, 30, 46506, 366, 11605, 15264, 1, 16034, 3084, 62, 2816, 46438, 33411, 366, 24492, 1, 1279, 705, 28296, 6, 5357, 366, 818, 1502, 286, 9207, 1, 796, 705, 11085, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1621, 15264, 326, 373, 3199, 717, 3161, 284, 12844, 30, 46506, 366, 11605, 15264, 1, 16034, 3084, 62, 2816, 46438, 33411, 366, 24492, 1, 1279, 705, 28296, 6, 5357, 366, 818, 1502, 286, 9207, 1, 796, 705, 11085, 6 ]
is patient 23620's level of arterial bp mean last measured on the first intensive care unit visit less than it was first measured on the first intensive care unit visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23620) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.item...
[ 271, 5827, 34044, 1238, 338, 1241, 286, 30675, 498, 275, 79, 1612, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 1342, 621, 340, 373, 717, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 5827, 34044, 1238, 338, 1241, 286, 30675, 498, 275, 79, 1612, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 1342, 621, 340, 373, 717, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100...
i need to fly from DALLAS to SAN FRANCISCO and be in SAN FRANCISCO by 1600
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 = 'SAN FRANCISCO' AND flight.arrival_time <= 1600 AND flight.to_airport = AIRPORT_SERVICE_1....
[ 72, 761, 284, 6129, 422, 360, 7036, 1921, 284, 37376, 8782, 20940, 1797, 8220, 290, 307, 287, 37376, 8782, 20940, 1797, 8220, 416, 26143, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 284, 6129, 422, 360, 7036, 1921, 284, 37376, 8782, 20940, 1797, 8220, 290, 307, 287, 37376, 8782, 20940, 1797, 8220, 416, 26143, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490...
what is the number of patients who received a extracorporeal circulat procedure within the same month after having received a packed cell transfusion procedure during a year before?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'packed cell...
[ 10919, 318, 262, 1271, 286, 3871, 508, 2722, 257, 1070, 11510, 16300, 39396, 2498, 377, 265, 8771, 1626, 262, 976, 1227, 706, 1719, 2722, 257, 11856, 2685, 13501, 4241, 8771, 1141, 257, 614, 878, 30, 46506, 327, 28270, 7, 35, 8808, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 508, 2722, 257, 1070, 11510, 16300, 39396, 2498, 377, 265, 8771, 1626, 262, 976, 1227, 706, 1719, 2722, 257, 11856, 2685, 13501, 4241, 8771, 1141, 257, 614, 878, 30, 46506, 327, 28270, 7, 35, 8808, 12...
Which Adelaide has Perth no, Gold Coast no, and Sydney yes?
SELECT adelaide FROM table_name_13 WHERE perth = "no" AND gold_coast = "yes" AND sydney = "yes"
[ 13828, 27139, 468, 29913, 645, 11, 3561, 8545, 645, 11, 290, 11852, 3763, 30, 46506, 512, 25078, 16034, 3084, 62, 3672, 62, 1485, 33411, 583, 400, 796, 366, 3919, 1, 5357, 3869, 62, 1073, 459, 796, 366, 8505, 1, 5357, 827, 67, 1681,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 27139, 468, 29913, 645, 11, 3561, 8545, 645, 11, 290, 11852, 3763, 30, 46506, 512, 25078, 16034, 3084, 62, 3672, 62, 1485, 33411, 583, 400, 796, 366, 3919, 1, 5357, 3869, 62, 1073, 459, 796, 366, 8505, 1, 5357, 827, 67, 1681,...
Show the score of the movie with the lowest rating among all movies directed by each title with a scatter chart.
SELECT stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title
[ 15307, 262, 4776, 286, 262, 3807, 351, 262, 9016, 7955, 1871, 477, 6918, 7924, 416, 1123, 3670, 351, 257, 41058, 8262, 13, 46506, 5788, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 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 ]
[ 15307, 262, 4776, 286, 262, 3807, 351, 262, 9016, 7955, 1871, 477, 6918, 7924, 416, 1123, 3670, 351, 257, 41058, 8262, 13, 46506, 5788, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, ...
Name the party of georgia 4
SELECT party FROM table_1341604_11 WHERE district = "Georgia 4"
[ 5376, 262, 2151, 286, 4903, 2398, 544, 604, 46506, 2151, 16034, 3084, 62, 19880, 1433, 3023, 62, 1157, 33411, 4783, 796, 366, 41072, 604, 1 ]
[ 1, 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, 2151, 286, 4903, 2398, 544, 604, 46506, 2151, 16034, 3084, 62, 19880, 1433, 3023, 62, 1157, 33411, 4783, 796, 366, 41072, 604, 1 ]
among patients who were prescribed docusate sodium after they had been diagnosed with traumatic injury to major vessels - r femoral artery show me the three year survival rate.
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 3 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
[ 35131, 3871, 508, 547, 14798, 2205, 385, 378, 21072, 706, 484, 550, 587, 14641, 351, 25115, 5095, 284, 1688, 14891, 532, 374, 2796, 6864, 37646, 905, 502, 262, 1115, 614, 9441, 2494, 13, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35131, 3871, 508, 547, 14798, 2205, 385, 378, 21072, 706, 484, 550, 587, 14641, 351, 25115, 5095, 284, 1688, 14891, 532, 374, 2796, 6864, 37646, 905, 502, 262, 1115, 614, 9441, 2494, 13, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49...