instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
calculate the average age of unmarried asian patients.
SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.ethnicity = "ASIAN"
[ 9948, 3129, 378, 262, 2811, 2479, 286, 39183, 355, 666, 3871, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 2751, 2538, 1, 5357, 16728, 13, 38546, 414, 796, 366, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9948, 3129, 378, 262, 2811, 2479, 286, 39183, 355, 666, 3871, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 2751, 2538, 1, 5357, 16728, 13, 38546, 414, 796, 366, 19...
Which Third/Vice skip has a Second of ric sylvain?
SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain"
[ 13828, 10467, 14, 47910, 14267, 468, 257, 5498, 286, 12410, 827, 6780, 391, 30, 46506, 2368, 62, 28281, 62, 48267, 16034, 3084, 62, 3672, 62, 1485, 33411, 1218, 796, 366, 2634, 1173, 827, 6780, 391, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10467, 14, 47910, 14267, 468, 257, 5498, 286, 12410, 827, 6780, 391, 30, 46506, 2368, 62, 28281, 62, 48267, 16034, 3084, 62, 3672, 62, 1485, 33411, 1218, 796, 366, 2634, 1173, 827, 6780, 391, 1 ]
What are the names and number of hours spent training for each player who trains for less than 1500 hours. Visualize by bar chart.
SELECT pName, HS FROM Player WHERE HS < 1500
[ 2061, 389, 262, 3891, 290, 1271, 286, 2250, 3377, 3047, 329, 1123, 2137, 508, 13404, 329, 1342, 621, 20007, 2250, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 279, 5376, 11, 18070, 16034, 7853, 33411, 18070, 1279, 20007 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 1271, 286, 2250, 3377, 3047, 329, 1123, 2137, 508, 13404, 329, 1342, 621, 20007, 2250, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 279, 5376, 11, 18070, 16034, 7853, 33411, 18070, 1279, 20007 ]
What year was the rider with a final position-tour of 88 and less than 11 final position-giros?
SELECT SUM("Year") FROM table_69461 WHERE "Final Position - Tour" = '88' AND "Final Position - Giro" < '11'
[ 2061, 614, 373, 262, 17876, 351, 257, 2457, 2292, 12, 83, 454, 286, 9193, 290, 1342, 621, 1367, 2457, 2292, 12, 12397, 4951, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 3388, 40652, 33411, 366, 19006, 23158, 532, 9852, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 17876, 351, 257, 2457, 2292, 12, 83, 454, 286, 9193, 290, 1342, 621, 1367, 2457, 2292, 12, 12397, 4951, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 3388, 40652, 33411, 366, 19006, 23158, 532, 9852, 1, 79...
What is the IATA of Guam?
SELECT iata FROM table_name_4 WHERE city = "guam"
[ 2061, 318, 262, 314, 13563, 286, 39282, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 19, 33411, 1748, 796, 366, 5162, 321, 1 ]
[ 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, 314, 13563, 286, 39282, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 19, 33411, 1748, 796, 366, 5162, 321, 1 ]
Algerian Users (Order by Rep).
SELECT * FROM Users AS U WHERE U.Location LIKE '%lgeria%' ORDER BY U.Reputation DESC
[ 2348, 1362, 666, 18987, 357, 18743, 416, 1432, 737, 46506, 1635, 16034, 18987, 7054, 471, 33411, 471, 13, 14749, 34178, 705, 4, 75, 1362, 544, 4, 6, 38678, 11050, 471, 13, 6207, 7094, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2348, 1362, 666, 18987, 357, 18743, 416, 1432, 737, 46506, 1635, 16034, 18987, 7054, 471, 33411, 471, 13, 14749, 34178, 705, 4, 75, 1362, 544, 4, 6, 38678, 11050, 471, 13, 6207, 7094, 22196, 34 ]
What is the smallest bronze with a Nation of west germany, and a Gold larger than 0?
SELECT MIN(bronze) FROM table_name_58 WHERE nation = "west germany" AND gold > 0
[ 2061, 318, 262, 18197, 22101, 351, 257, 8741, 286, 7421, 308, 2224, 88, 11, 290, 257, 3561, 4025, 621, 657, 30, 46506, 20625, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 3277, 796, 366, 7038, 308, 2224, 88, 1, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 22101, 351, 257, 8741, 286, 7421, 308, 2224, 88, 11, 290, 257, 3561, 4025, 621, 657, 30, 46506, 20625, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 3277, 796, 366, 7038, 308, 2224, 88, 1, 53...
How much freedom can did the people of Guinea experience in 2013?
SELECT "Freedom in the World 2013" FROM table_1415 WHERE "Country" = 'Guinea'
[ 2437, 881, 4925, 460, 750, 262, 661, 286, 22777, 1998, 287, 2211, 30, 46506, 366, 38885, 287, 262, 2159, 2211, 1, 16034, 3084, 62, 1415, 1314, 33411, 366, 33921, 1, 796, 705, 8205, 18343, 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, 881, 4925, 460, 750, 262, 661, 286, 22777, 1998, 287, 2211, 30, 46506, 366, 38885, 287, 262, 2159, 2211, 1, 16034, 3084, 62, 1415, 1314, 33411, 366, 33921, 1, 796, 705, 8205, 18343, 6 ]
What was the highest number of starts in 2007 when the average start was over 17.6?
SELECT MAX("Starts") FROM table_50059 WHERE "Year" = '2007' AND "Avg. Start" > '17.6'
[ 2061, 373, 262, 4511, 1271, 286, 4940, 287, 4343, 618, 262, 2811, 923, 373, 625, 1596, 13, 21, 30, 46506, 25882, 7203, 1273, 5889, 4943, 16034, 3084, 62, 4059, 3270, 33411, 366, 17688, 1, 796, 705, 12726, 6, 5357, 366, 48997, 13, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 1271, 286, 4940, 287, 4343, 618, 262, 2811, 923, 373, 625, 1596, 13, 21, 30, 46506, 25882, 7203, 1273, 5889, 4943, 16034, 3084, 62, 4059, 3270, 33411, 366, 17688, 1, 796, 705, 12726, 6, 5357, 366, 48997, 13, 72...
what is the total amount of urine production patient 009-5001 had since 03/26/2103?
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-5001')) AND intakeoutput.celllabel = 'urine'...
[ 10919, 318, 262, 2472, 2033, 286, 18922, 3227, 5827, 3571, 24, 12, 4059, 16, 550, 1201, 7643, 14, 2075, 14, 17, 15197, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2472, 2033, 286, 18922, 3227, 5827, 3571, 24, 12, 4059, 16, 550, 1201, 7643, 14, 2075, 14, 17, 15197, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, ...
On what day was there a Home game for Gillingham?
SELECT attendance FROM table_name_4 WHERE home_team = "gillingham"
[ 2202, 644, 1110, 373, 612, 257, 5995, 983, 329, 402, 4509, 2763, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 19, 33411, 1363, 62, 15097, 796, 366, 70, 4509, 2763, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 1110, 373, 612, 257, 5995, 983, 329, 402, 4509, 2763, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 19, 33411, 1363, 62, 15097, 796, 366, 70, 4509, 2763, 1 ]
what is the difference in height between garreth lodge and thomas pearson ?
SELECT ABS((SELECT "height" FROM table_203_418 WHERE "player" = 'garreth lodge') - (SELECT "height" FROM table_203_418 WHERE "player" = 'thomas pearson'))
[ 10919, 318, 262, 3580, 287, 6001, 1022, 5482, 40978, 35362, 290, 294, 16911, 25286, 1559, 5633, 46506, 29950, 19510, 46506, 366, 17015, 1, 16034, 3084, 62, 22416, 62, 39667, 33411, 366, 7829, 1, 796, 705, 4563, 40978, 35362, 11537, 532, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 6001, 1022, 5482, 40978, 35362, 290, 294, 16911, 25286, 1559, 5633, 46506, 29950, 19510, 46506, 366, 17015, 1, 16034, 3084, 62, 22416, 62, 39667, 33411, 366, 7829, 1, 796, 705, 4563, 40978, 35362, 11537, 532, ...
how many patients whose admission type is elective and drug name is milk of magnesia?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND prescriptions.drug = "Milk of Magnesia"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 2563, 1438, 318, 7545, 286, 2153, 31401, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 2563, 1438, 318, 7545, 286, 2153, 31401, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
When 441st bs, 7th bw is the unit what is the b-52 model?
SELECT b_52_model FROM table_18933037_3 WHERE unit = "441st BS, 7th BW"
[ 2215, 604, 3901, 301, 275, 82, 11, 767, 400, 275, 86, 318, 262, 4326, 644, 318, 262, 275, 12, 4309, 2746, 30, 46506, 275, 62, 4309, 62, 19849, 16034, 3084, 62, 1507, 6052, 1270, 2718, 62, 18, 33411, 4326, 796, 366, 39710, 301, 242...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 604, 3901, 301, 275, 82, 11, 767, 400, 275, 86, 318, 262, 4326, 644, 318, 262, 275, 12, 4309, 2746, 30, 46506, 275, 62, 4309, 62, 19849, 16034, 3084, 62, 1507, 6052, 1270, 2718, 62, 18, 33411, 4326, 796, 366, 39710, 301, 242...
when is the first time that patient 028-11360 has had a sao2 measured on the last intensive care unit visit?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-11360') AND NOT patient.unitdischargetime IS NU...
[ 12518, 318, 262, 717, 640, 326, 5827, 657, 2078, 12, 1157, 15277, 468, 550, 257, 473, 78, 17, 8630, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 717, 640, 326, 5827, 657, 2078, 12, 1157, 15277, 468, 550, 257, 473, 78, 17, 8630, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
list the nonstop flights early tuesday morning from DALLAS to 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, date_day, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 22 AND date_day.month_number = 3 AND...
[ 4868, 262, 1729, 11338, 13956, 1903, 256, 3322, 3329, 422, 360, 7036, 1921, 284, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 262, 1729, 11338, 13956, 1903, 256, 3322, 3329, 422, 360, 7036, 1921, 284, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003,...
What is the result when the week is greater than 7 and the Houston Oilers were the opponent?
SELECT result FROM table_name_60 WHERE week > 7 AND opponent = "houston oilers"
[ 2061, 318, 262, 1255, 618, 262, 1285, 318, 3744, 621, 767, 290, 262, 6995, 35004, 547, 262, 6125, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1899, 33411, 1285, 1875, 767, 5357, 6125, 796, 366, 71, 6526, 3056, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 618, 262, 1285, 318, 3744, 621, 767, 290, 262, 6995, 35004, 547, 262, 6125, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1899, 33411, 1285, 1875, 767, 5357, 6125, 796, 366, 71, 6526, 3056, 364, 1 ]
What body participated in 1973?
SELECT "Body" FROM table_66469 WHERE "Year" = '1973'
[ 2061, 1767, 14888, 287, 15674, 30, 46506, 366, 25842, 1, 16034, 3084, 62, 21, 2414, 3388, 33411, 366, 17688, 1, 796, 705, 40220, 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 ]
[ 2061, 1767, 14888, 287, 15674, 30, 46506, 366, 25842, 1, 16034, 3084, 62, 21, 2414, 3388, 33411, 366, 17688, 1, 796, 705, 40220, 6 ]
Count of first-posts per week.
WITH Raw AS (SELECT DATEADD(dd, 7 * FLOOR(DATEDIFF(day, '1970-01-05', CreationDate) / 7), '1970-01-05') AS PostWeek, Id FROM Posts WHERE Id IN (SELECT MIN(Id) FROM Posts GROUP BY OwnerUserId)) SELECT PostWeek, COUNT(*) AS Count FROM Raw GROUP BY PostWeek ORDER BY PostWeek
[ 12332, 286, 717, 12, 24875, 583, 1285, 13, 54, 10554, 16089, 7054, 357, 46506, 360, 6158, 29266, 7, 1860, 11, 767, 1635, 9977, 46, 1581, 7, 35, 11617, 29267, 7, 820, 11, 705, 30986, 12, 486, 12, 2713, 3256, 21582, 10430, 8, 1220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12332, 286, 717, 12, 24875, 583, 1285, 13, 54, 10554, 16089, 7054, 357, 46506, 360, 6158, 29266, 7, 1860, 11, 767, 1635, 9977, 46, 1581, 7, 35, 11617, 29267, 7, 820, 11, 705, 30986, 12, 486, 12, 2713, 3256, 21582, 10430, 8, 1220, ...
What jockey is on hard spun?
SELECT "Jockey" FROM table_55340 WHERE "Horse name" = 'hard spun'
[ 2061, 474, 8337, 318, 319, 1327, 26843, 30, 46506, 366, 41, 8337, 1, 16034, 3084, 62, 2816, 23601, 33411, 366, 39, 7615, 1438, 1, 796, 705, 10424, 26843, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 474, 8337, 318, 319, 1327, 26843, 30, 46506, 366, 41, 8337, 1, 16034, 3084, 62, 2816, 23601, 33411, 366, 39, 7615, 1438, 1, 796, 705, 10424, 26843, 6 ]
What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?
SELECT "Renewable electricity w/o Hydro (GW\u2022h)" FROM table_73768 WHERE "% Renewable" = '83.4'
[ 2061, 318, 262, 2033, 286, 15713, 8744, 1231, 17669, 1176, 618, 262, 5873, 286, 15713, 2568, 318, 9698, 13, 19, 30, 46506, 366, 26764, 413, 540, 8744, 266, 14, 78, 32116, 357, 33191, 59, 84, 1238, 1828, 71, 16725, 16034, 3084, 62, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2033, 286, 15713, 8744, 1231, 17669, 1176, 618, 262, 5873, 286, 15713, 2568, 318, 9698, 13, 19, 30, 46506, 366, 26764, 413, 540, 8744, 266, 14, 78, 32116, 357, 33191, 59, 84, 1238, 1828, 71, 16725, 16034, 3084, 62, 2...
how many patients whose religion is unobtainable and age is less than 86?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "UNOBTAINABLE" AND demographic.age < "86"
[ 4919, 867, 3871, 3025, 5737, 318, 41511, 3153, 540, 290, 2479, 318, 1342, 621, 9849, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 4944, 9864, 3033...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5737, 318, 41511, 3153, 540, 290, 2479, 318, 1342, 621, 9849, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 4944, 9864, 3033...
What is the sum of bronzes for teams with more than 0 silver and a total under 1?
SELECT SUM(bronze) FROM table_name_22 WHERE silver > 0 AND total < 1
[ 2061, 318, 262, 2160, 286, 18443, 12271, 329, 3466, 351, 517, 621, 657, 8465, 290, 257, 2472, 739, 352, 30, 46506, 35683, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 8465, 1875, 657, 5357, 2472, 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 ]
[ 2061, 318, 262, 2160, 286, 18443, 12271, 329, 3466, 351, 517, 621, 657, 8465, 290, 257, 2472, 739, 352, 30, 46506, 35683, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 8465, 1875, 657, 5357, 2472, 1279, 352 ]
What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound?
SELECT "Winning jockey" FROM table_10940 WHERE "Track" = 'tampa bay downs' AND "Winning horse" = 'barkley sound'
[ 2061, 40983, 449, 8337, 4966, 287, 262, 15528, 4696, 49618, 17762, 319, 40983, 18455, 45408, 9506, 30, 46506, 366, 16643, 768, 474, 8337, 1, 16034, 3084, 62, 14454, 1821, 33411, 366, 24802, 1, 796, 705, 83, 13299, 15489, 21838, 6, 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, 1 ]
[ 2061, 40983, 449, 8337, 4966, 287, 262, 15528, 4696, 49618, 17762, 319, 40983, 18455, 45408, 9506, 30, 46506, 366, 16643, 768, 474, 8337, 1, 16034, 3084, 62, 14454, 1821, 33411, 366, 24802, 1, 796, 705, 83, 13299, 15489, 21838, 6, 5357,...
what is the destination of the first passenger train to leave mangalore central ?
SELECT "destination" FROM table_204_824 WHERE "train name" = 'passenger' ORDER BY id LIMIT 1
[ 10919, 318, 262, 10965, 286, 262, 717, 11849, 4512, 284, 2666, 582, 13528, 382, 4318, 5633, 46506, 366, 16520, 1883, 1, 16034, 3084, 62, 18638, 62, 23, 1731, 33411, 366, 27432, 1438, 1, 796, 705, 6603, 6540, 6, 38678, 11050, 4686, 275...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10965, 286, 262, 717, 11849, 4512, 284, 2666, 582, 13528, 382, 4318, 5633, 46506, 366, 16520, 1883, 1, 16034, 3084, 62, 18638, 62, 23, 1731, 33411, 366, 27432, 1438, 1, 796, 705, 6603, 6540, 6, 38678, 11050, 4686, 275...
What is the total number of cuts made of tournaments with 2 Events?
SELECT COUNT("Cuts made") FROM table_76035 WHERE "Events" = '2'
[ 2061, 318, 262, 2472, 1271, 286, 6630, 925, 286, 18130, 351, 362, 18715, 30, 46506, 327, 28270, 7203, 34, 5500, 925, 4943, 16034, 3084, 62, 40761, 2327, 33411, 366, 37103, 1, 796, 705, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 6630, 925, 286, 18130, 351, 362, 18715, 30, 46506, 327, 28270, 7203, 34, 5500, 925, 4943, 16034, 3084, 62, 40761, 2327, 33411, 366, 37103, 1, 796, 705, 17, 6 ]
At what Platform is the Departure 18:00?
SELECT "Platform" FROM table_5089 WHERE "Departure" = '18:00'
[ 2953, 644, 19193, 318, 262, 2129, 433, 495, 1248, 25, 405, 30, 46506, 366, 37148, 1, 16034, 3084, 62, 1120, 4531, 33411, 366, 12156, 433, 495, 1, 796, 705, 1507, 25, 405, 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 ]
[ 2953, 644, 19193, 318, 262, 2129, 433, 495, 1248, 25, 405, 30, 46506, 366, 37148, 1, 16034, 3084, 62, 1120, 4531, 33411, 366, 12156, 433, 495, 1, 796, 705, 1507, 25, 405, 6 ]
what's the party with incumbent being william b. bankhead
SELECT party FROM table_1342292_2 WHERE incumbent = "William B. Bankhead"
[ 10919, 338, 262, 2151, 351, 23526, 852, 481, 1789, 275, 13, 3331, 2256, 46506, 2151, 16034, 3084, 62, 19880, 1828, 5892, 62, 17, 33411, 23526, 796, 366, 17121, 347, 13, 5018, 2256, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2151, 351, 23526, 852, 481, 1789, 275, 13, 3331, 2256, 46506, 2151, 16034, 3084, 62, 19880, 1828, 5892, 62, 17, 33411, 23526, 796, 366, 17121, 347, 13, 5018, 2256, 1 ]
Find ACC_Road and Team_ID , and group by attribute All_Home, and visualize them by a bar chart.
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road
[ 16742, 15859, 62, 29197, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 15859, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15859, 62, 29197, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 15859, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 160...
Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl?
SELECT "Track time" FROM table_57700 WHERE "Disc" > '2' AND "Track" < '22' AND "English title" = 'younger girl'
[ 13828, 17762, 640, 468, 257, 8444, 4025, 621, 362, 11, 257, 17762, 4833, 621, 2534, 11, 290, 281, 3594, 3670, 286, 7099, 2576, 30, 46506, 366, 24802, 640, 1, 16034, 3084, 62, 49447, 405, 33411, 366, 15642, 1, 1875, 705, 17, 6, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 17762, 640, 468, 257, 8444, 4025, 621, 362, 11, 257, 17762, 4833, 621, 2534, 11, 290, 281, 3594, 3670, 286, 7099, 2576, 30, 46506, 366, 24802, 640, 1, 16034, 3084, 62, 49447, 405, 33411, 366, 15642, 1, 1875, 705, 17, 6, 5357,...
Between 8:00 and 4:00 , is section for NEUROSCI 494 available ?
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.end_time <= '4:00' AND course_offering.start_time >= '8:00' AND course.course_id = course_offering.course_id AND course.department = 'NEUROSCI' AND course.num...
[ 25262, 807, 25, 405, 290, 604, 25, 405, 837, 318, 2665, 329, 10635, 4261, 2640, 25690, 5125, 19, 1695, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 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...
[ 25262, 807, 25, 405, 290, 604, 25, 405, 837, 318, 2665, 329, 10635, 4261, 2640, 25690, 5125, 19, 1695, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, ...
Which Year Joined has an Enrollment smaller than 726, and a School of tri-west?
SELECT MAX(year_joined) FROM table_name_97 WHERE enrollment < 726 AND school = "tri-west"
[ 13828, 6280, 16709, 468, 281, 2039, 48108, 4833, 621, 767, 2075, 11, 290, 257, 3961, 286, 1333, 12, 7038, 30, 46506, 25882, 7, 1941, 62, 46416, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 20753, 1279, 767, 2075, 5357, 1524, 796, 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 ]
[ 13828, 6280, 16709, 468, 281, 2039, 48108, 4833, 621, 767, 2075, 11, 290, 257, 3961, 286, 1333, 12, 7038, 30, 46506, 25882, 7, 1941, 62, 46416, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 20753, 1279, 767, 2075, 5357, 1524, 796, 366, ...
How many races in 2012 season have 0 podiums?
SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND podiums = 0
[ 2437, 867, 9558, 287, 2321, 1622, 423, 657, 27941, 82, 30, 46506, 327, 28270, 7, 81, 2114, 8, 16034, 3084, 62, 1954, 28460, 48528, 62, 16, 33411, 1622, 796, 2321, 5357, 27941, 82, 796, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9558, 287, 2321, 1622, 423, 657, 27941, 82, 30, 46506, 327, 28270, 7, 81, 2114, 8, 16034, 3084, 62, 1954, 28460, 48528, 62, 16, 33411, 1622, 796, 2321, 5357, 27941, 82, 796, 657 ]
How many settlements have as their cyrillic name and other names ?
SELECT settlement FROM table_2562572_27 WHERE cyrillic_name_other_names = "Панонија"
[ 2437, 867, 18573, 423, 355, 511, 269, 2417, 359, 291, 1438, 290, 584, 3891, 5633, 46506, 9443, 16034, 3084, 62, 11645, 1495, 4761, 62, 1983, 33411, 269, 2417, 359, 291, 62, 3672, 62, 847, 62, 14933, 796, 366, 140, 253, 16142, 22177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18573, 423, 355, 511, 269, 2417, 359, 291, 1438, 290, 584, 3891, 5633, 46506, 9443, 16034, 3084, 62, 11645, 1495, 4761, 62, 1983, 33411, 269, 2417, 359, 291, 62, 3672, 62, 847, 62, 14933, 796, 366, 140, 253, 16142, 22177, ...
Calculate the number of private patients admitted before 2168.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.admityear < "2168"
[ 9771, 3129, 378, 262, 1271, 286, 2839, 3871, 6848, 878, 362, 14656, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9771, 3129, 378, 262, 1271, 286, 2839, 3871, 6848, 878, 362, 14656, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 324, ...
Name the ebit for eps being 1.78
SELECT earnings_before_interest_and_taxes__€m_ FROM table_20614109_1 WHERE earnings_per_share__€_ = "1.78"
[ 5376, 262, 304, 2545, 329, 304, 862, 852, 352, 13, 3695, 46506, 12042, 62, 19052, 62, 9446, 62, 392, 62, 19290, 274, 834, 26391, 76, 62, 16034, 3084, 62, 22136, 1415, 14454, 62, 16, 33411, 12042, 62, 525, 62, 20077, 834, 26391, 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 ]
[ 5376, 262, 304, 2545, 329, 304, 862, 852, 352, 13, 3695, 46506, 12042, 62, 19052, 62, 9446, 62, 392, 62, 19290, 274, 834, 26391, 76, 62, 16034, 3084, 62, 22136, 1415, 14454, 62, 16, 33411, 12042, 62, 525, 62, 20077, 834, 26391, 62, ...
What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?
SELECT MIN("Grid") FROM table_54530 WHERE "Laps" = '25' AND "Manufacturer" = 'honda' AND "Time/Retired" = '+54.103'
[ 2061, 318, 262, 9016, 24846, 351, 1679, 24590, 15943, 416, 20059, 351, 257, 640, 286, 1343, 4051, 13, 15197, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 45326, 1270, 33411, 366, 43, 1686, 1, 796, 705, 1495, 6, 5357, 366, 444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24846, 351, 1679, 24590, 15943, 416, 20059, 351, 257, 640, 286, 1343, 4051, 13, 15197, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 45326, 1270, 33411, 366, 43, 1686, 1, 796, 705, 1495, 6, 5357, 366, 444...
what is diagnoses short title and diagnoses long title of subject name gwendolyn hager?
SELECT diagnoses.short_title, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Gwendolyn Hager"
[ 10919, 318, 40567, 1790, 3670, 290, 40567, 890, 3670, 286, 2426, 1438, 308, 86, 437, 34742, 289, 3536, 30, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 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...
[ 10919, 318, 40567, 1790, 3670, 290, 40567, 890, 3670, 286, 2426, 1438, 308, 86, 437, 34742, 289, 3536, 30, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13,...
Which Score has a Away team of walthamstow avenue?
SELECT "Score" FROM table_7609 WHERE "Away team" = 'walthamstow avenue'
[ 13828, 15178, 468, 257, 21986, 1074, 286, 266, 1094, 321, 301, 322, 36132, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 22, 31751, 33411, 366, 32, 1014, 1074, 1, 796, 705, 86, 1094, 321, 301, 322, 36132, 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 ]
[ 13828, 15178, 468, 257, 21986, 1074, 286, 266, 1094, 321, 301, 322, 36132, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 22, 31751, 33411, 366, 32, 1014, 1074, 1, 796, 705, 86, 1094, 321, 301, 322, 36132, 6 ]
What was the result in 2013 in the tournament whose 2010 result was q2?
SELECT 2013 FROM table_name_8 WHERE 2010 = "q2"
[ 2061, 373, 262, 1255, 287, 2211, 287, 262, 7756, 3025, 3050, 1255, 373, 10662, 17, 30, 46506, 2211, 16034, 3084, 62, 3672, 62, 23, 33411, 3050, 796, 366, 80, 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 ]
[ 2061, 373, 262, 1255, 287, 2211, 287, 262, 7756, 3025, 3050, 1255, 373, 10662, 17, 30, 46506, 2211, 16034, 3084, 62, 3672, 62, 23, 33411, 3050, 796, 366, 80, 17, 1 ]
Which Table diameter has a Crown height of 14.45%?
SELECT "Table diameter" FROM table_42671 WHERE "Crown height" = '14.45%'
[ 13828, 8655, 14753, 468, 257, 12223, 6001, 286, 1478, 13, 2231, 4, 30, 46506, 366, 10962, 14753, 1, 16034, 3084, 62, 42780, 4869, 33411, 366, 34, 2053, 6001, 1, 796, 705, 1415, 13, 2231, 4, 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 ]
[ 13828, 8655, 14753, 468, 257, 12223, 6001, 286, 1478, 13, 2231, 4, 30, 46506, 366, 10962, 14753, 1, 16034, 3084, 62, 42780, 4869, 33411, 366, 34, 2053, 6001, 1, 796, 705, 1415, 13, 2231, 4, 6 ]
Name the finish for a 39-31 record
SELECT "Finish" FROM table_55805 WHERE "Record" = '39-31'
[ 5376, 262, 5461, 329, 257, 5014, 12, 3132, 1700, 46506, 366, 48658, 1, 16034, 3084, 62, 2816, 28256, 33411, 366, 23739, 1, 796, 705, 2670, 12, 3132, 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 ]
[ 5376, 262, 5461, 329, 257, 5014, 12, 3132, 1700, 46506, 366, 48658, 1, 16034, 3084, 62, 2816, 28256, 33411, 366, 23739, 1, 796, 705, 2670, 12, 3132, 6 ]
How many actors from China have acted in ' Rush Hour 3
SELECT COUNT(DISTINCT (actor.name)) FROM actor, cast, movie WHERE actor.nationality = 'China' AND cast.aid = actor.aid AND movie.mid = cast.msid AND movie.title = 'Rush Hour 3'
[ 2437, 867, 10544, 422, 2807, 423, 13134, 287, 705, 13063, 19123, 513, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 357, 11218, 13, 3672, 4008, 16034, 8674, 11, 3350, 11, 3807, 33411, 8674, 13, 14648, 414, 796, 705, 14581, 6, 5357, 3350...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10544, 422, 2807, 423, 13134, 287, 705, 13063, 19123, 513, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 357, 11218, 13, 3672, 4008, 16034, 8674, 11, 3350, 11, 3807, 33411, 8674, 13, 14648, 414, 796, 705, 14581, 6, 5357, 3350...
Name the most appearances for bernard allou
SELECT MAX("Appearances\u00b9") FROM table_26961 WHERE "Name" = 'Bernard Allou'
[ 5376, 262, 749, 11057, 329, 275, 1142, 446, 477, 280, 46506, 25882, 7203, 47569, 59, 84, 405, 65, 24, 4943, 16034, 3084, 62, 2075, 4846, 16, 33411, 366, 5376, 1, 796, 705, 23927, 446, 1439, 280, 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 ]
[ 5376, 262, 749, 11057, 329, 275, 1142, 446, 477, 280, 46506, 25882, 7203, 47569, 59, 84, 405, 65, 24, 4943, 16034, 3084, 62, 2075, 4846, 16, 33411, 366, 5376, 1, 796, 705, 23927, 446, 1439, 280, 6 ]
How many people directed the episode that aired on February 5, 1968?
SELECT COUNT("Director") FROM table_3433 WHERE "Airdate" = 'February 5, 1968'
[ 2437, 867, 661, 7924, 262, 4471, 326, 18530, 319, 3945, 642, 11, 15963, 30, 46506, 327, 28270, 7203, 28702, 4943, 16034, 3084, 62, 2682, 2091, 33411, 366, 32, 1447, 378, 1, 796, 705, 21816, 642, 11, 15963, 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 ]
[ 2437, 867, 661, 7924, 262, 4471, 326, 18530, 319, 3945, 642, 11, 15963, 30, 46506, 327, 28270, 7203, 28702, 4943, 16034, 3084, 62, 2682, 2091, 33411, 366, 32, 1447, 378, 1, 796, 705, 21816, 642, 11, 15963, 6 ]
Question with the most answers.
SELECT Id AS "post_link", AnswerCount FROM Posts WHERE PostTypeId = 1 AND AnswerCount > 10 ORDER BY AnswerCount DESC
[ 24361, 351, 262, 749, 7429, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 23998, 12332, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 23998, 12332, 1875, 838, 38678, 11050, 23998, 12332, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24361, 351, 262, 749, 7429, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 23998, 12332, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 23998, 12332, 1875, 838, 38678, 11050, 23998, 12332, 22196, 34 ]
I want to see trend the number of season over season by Home_team, show x-axis in ascending order.
SELECT Season, COUNT(Season) FROM game GROUP BY Home_team, Season ORDER BY Season
[ 40, 765, 284, 766, 5182, 262, 1271, 286, 1622, 625, 1622, 416, 5995, 62, 15097, 11, 905, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, 44441, 11050, 5995, 62, 15097, 11, 7369, 38678, 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 ]
[ 40, 765, 284, 766, 5182, 262, 1271, 286, 1622, 625, 1622, 416, 5995, 62, 15097, 11, 905, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, 44441, 11050, 5995, 62, 15097, 11, 7369, 38678, 11...
what were the five most commonly ordered specimen tests in the previous year?
SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t...
[ 10919, 547, 262, 1936, 749, 8811, 6149, 31674, 5254, 287, 262, 2180, 614, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1936, 749, 8811, 6149, 31674, 5254, 287, 262, 2180, 614, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419, ...
Name the cfl team for patrice denis
SELECT "CFL Team" FROM table_3975 WHERE "Player" = 'Patrice Denis'
[ 5376, 262, 269, 2704, 1074, 329, 1458, 20970, 2853, 271, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 2670, 2425, 33411, 366, 14140, 1, 796, 705, 12130, 20970, 33089, 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, 269, 2704, 1074, 329, 1458, 20970, 2853, 271, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 2670, 2425, 33411, 366, 14140, 1, 796, 705, 12130, 20970, 33089, 6 ]
Which school has a decile of 8 and a roll of 705?
SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705
[ 13828, 1524, 468, 257, 875, 576, 286, 807, 290, 257, 4836, 286, 767, 2713, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 1983, 33411, 875, 576, 796, 807, 5357, 4836, 796, 767, 2713 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1524, 468, 257, 875, 576, 286, 807, 290, 257, 4836, 286, 767, 2713, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 1983, 33411, 875, 576, 796, 807, 5357, 4836, 796, 767, 2713 ]
What is the final placing of the team with 0 ples, more than 16 races, and 16 podiums?
SELECT final_placing FROM table_name_12 WHERE poles = 0 AND races > 16 AND podiums = 16
[ 2061, 318, 262, 2457, 12560, 286, 262, 1074, 351, 657, 458, 274, 11, 517, 621, 1467, 9558, 11, 290, 1467, 27941, 82, 30, 46506, 2457, 62, 489, 4092, 16034, 3084, 62, 3672, 62, 1065, 33411, 24971, 796, 657, 5357, 9558, 1875, 1467, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2457, 12560, 286, 262, 1074, 351, 657, 458, 274, 11, 517, 621, 1467, 9558, 11, 290, 1467, 27941, 82, 30, 46506, 2457, 62, 489, 4092, 16034, 3084, 62, 3672, 62, 1065, 33411, 24971, 796, 657, 5357, 9558, 1875, 1467, 53...
Who is the opponent for week 10?
SELECT opponent FROM table_name_17 WHERE week = 10
[ 8241, 318, 262, 6125, 329, 1285, 838, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1558, 33411, 1285, 796, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 6125, 329, 1285, 838, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1558, 33411, 1285, 796, 838 ]
How many forms have less than 18 pages?
SELECT COUNT("Form") FROM table_32934 WHERE "Pages" < '18'
[ 2437, 867, 5107, 423, 1342, 621, 1248, 5468, 30, 46506, 327, 28270, 7203, 8479, 4943, 16034, 3084, 62, 37967, 2682, 33411, 366, 47798, 1, 1279, 705, 1507, 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 ]
[ 2437, 867, 5107, 423, 1342, 621, 1248, 5468, 30, 46506, 327, 28270, 7203, 8479, 4943, 16034, 3084, 62, 37967, 2682, 33411, 366, 47798, 1, 1279, 705, 1507, 6 ]
how many patients whose age is less than 47 and lab test fluid is joint fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Joint Fluid"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 6298, 290, 2248, 1332, 11711, 318, 6466, 11711, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6298, 290, 2248, 1332, 11711, 318, 6466, 11711, 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, ...
How fast can the SLK200K, with a top speed of 236km/h (147mph), accelerate to 100km/h (62mph)?
SELECT "0\u2013100km/h (62mph)" FROM table_61050 WHERE "Model" = 'slk200k' AND "Top Speed" = '236km/h (147mph)'
[ 2437, 3049, 460, 262, 12419, 42, 2167, 42, 11, 351, 257, 1353, 2866, 286, 34044, 13276, 14, 71, 357, 20198, 23335, 828, 22636, 284, 1802, 13276, 14, 71, 357, 5237, 23335, 19427, 46506, 366, 15, 59, 84, 6390, 3064, 13276, 14, 71, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 3049, 460, 262, 12419, 42, 2167, 42, 11, 351, 257, 1353, 2866, 286, 34044, 13276, 14, 71, 357, 20198, 23335, 828, 22636, 284, 1802, 13276, 14, 71, 357, 5237, 23335, 19427, 46506, 366, 15, 59, 84, 6390, 3064, 13276, 14, 71, 357...
Regarding the seats that casted 8.1% of the vote how many seats were held?
SELECT seats FROM table_name_71 WHERE _percentage_of_votes = "8.1"
[ 39424, 262, 8632, 326, 3350, 276, 807, 13, 16, 4, 286, 262, 3015, 703, 867, 8632, 547, 2714, 30, 46506, 8632, 16034, 3084, 62, 3672, 62, 4869, 33411, 4808, 25067, 496, 62, 1659, 62, 29307, 796, 366, 23, 13, 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 ]
[ 39424, 262, 8632, 326, 3350, 276, 807, 13, 16, 4, 286, 262, 3015, 703, 867, 8632, 547, 2714, 30, 46506, 8632, 16034, 3084, 62, 3672, 62, 4869, 33411, 4808, 25067, 496, 62, 1659, 62, 29307, 796, 366, 23, 13, 16, 1 ]
Which team was the home team at Glenferrie Oval?
SELECT home_team FROM table_name_82 WHERE venue = "glenferrie oval"
[ 13828, 1074, 373, 262, 1363, 1074, 379, 20716, 2232, 5034, 25165, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 6469, 33411, 14359, 796, 366, 4743, 268, 2232, 5034, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 373, 262, 1363, 1074, 379, 20716, 2232, 5034, 25165, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 6469, 33411, 14359, 796, 366, 4743, 268, 2232, 5034, 41186, 1 ]
What was the total number of wins with player Mike Hill with a rank bigger than 2?
SELECT COUNT(wins) FROM table_name_73 WHERE rank > 2 AND player = "mike hill"
[ 2061, 373, 262, 2472, 1271, 286, 7864, 351, 2137, 4995, 3327, 351, 257, 4279, 5749, 621, 362, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 4279, 1875, 362, 5357, 2137, 796, 366, 76, 522, 12788, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2472, 1271, 286, 7864, 351, 2137, 4995, 3327, 351, 257, 4279, 5749, 621, 362, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 4279, 1875, 362, 5357, 2137, 796, 366, 76, 522, 12788, 1 ]
what album had the singles i want you to know and again on them ?
SELECT "album" FROM table_204_689 WHERE "title" = '"i want you to know"'
[ 10919, 5062, 550, 262, 25287, 1312, 765, 345, 284, 760, 290, 757, 319, 606, 5633, 46506, 366, 40916, 1, 16034, 3084, 62, 18638, 62, 40523, 33411, 366, 7839, 1, 796, 705, 1, 72, 765, 345, 284, 760, 30543 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5062, 550, 262, 25287, 1312, 765, 345, 284, 760, 290, 757, 319, 606, 5633, 46506, 366, 40916, 1, 16034, 3084, 62, 18638, 62, 40523, 33411, 366, 7839, 1, 796, 705, 1, 72, 765, 345, 284, 760, 30543 ]
Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs?
SELECT away_captain FROM table_name_56 WHERE result = "aus by 264 runs"
[ 8241, 373, 262, 21986, 10654, 329, 262, 6208, 2872, 286, 4505, 287, 4492, 810, 262, 25414, 373, 317, 2937, 416, 32158, 4539, 30, 46506, 1497, 62, 27144, 391, 16034, 3084, 62, 3672, 62, 3980, 33411, 1255, 796, 366, 8717, 416, 32158, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21986, 10654, 329, 262, 6208, 2872, 286, 4505, 287, 4492, 810, 262, 25414, 373, 317, 2937, 416, 32158, 4539, 30, 46506, 1497, 62, 27144, 391, 16034, 3084, 62, 3672, 62, 3980, 33411, 1255, 796, 366, 8717, 416, 32158, 45...
When has a Centerfold model of pilar lastra?
SELECT date FROM table_name_95 WHERE centerfold_model = "pilar lastra"
[ 2215, 468, 257, 3337, 11379, 2746, 286, 279, 1794, 938, 430, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3865, 33411, 3641, 11379, 62, 19849, 796, 366, 79, 1794, 938, 430, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 257, 3337, 11379, 2746, 286, 279, 1794, 938, 430, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3865, 33411, 3641, 11379, 62, 19849, 796, 366, 79, 1794, 938, 430, 1 ]
Show me a scatter plot of order id and total number of product quantity for .
SELECT order_id, SUM(product_quantity) FROM Order_Items GROUP BY order_id
[ 15307, 502, 257, 41058, 7110, 286, 1502, 4686, 290, 2472, 1271, 286, 1720, 12040, 329, 764, 46506, 1502, 62, 312, 11, 35683, 7, 11167, 62, 40972, 414, 8, 16034, 8284, 62, 23022, 44441, 11050, 1502, 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 ]
[ 15307, 502, 257, 41058, 7110, 286, 1502, 4686, 290, 2472, 1271, 286, 1720, 12040, 329, 764, 46506, 1502, 62, 312, 11, 35683, 7, 11167, 62, 40972, 414, 8, 16034, 8284, 62, 23022, 44441, 11050, 1502, 62, 312 ]
Most prolific answering user for each tag.
SELECT UserId, U.DisplayName, TagName, PostCount, RANK() OVER (PARTITION BY TagName ORDER BY PostCount DESC) AS PostCountRank FROM (SELECT COUNT(C.PostId) AS PostCount, C.UserId, C.UserDisplayName, T.TagName FROM Comments AS C INNER JOIN Posts AS P ON C.Id = P.AcceptedAnswerId INNER JOIN PostTags AS PT ON P.Id = PT.Pos...
[ 6943, 28892, 18877, 2836, 329, 1123, 7621, 13, 46506, 11787, 7390, 11, 471, 13, 23114, 5376, 11, 17467, 5376, 11, 2947, 12332, 11, 371, 15154, 3419, 28729, 357, 30709, 17941, 11050, 17467, 5376, 38678, 11050, 2947, 12332, 22196, 34, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 28892, 18877, 2836, 329, 1123, 7621, 13, 46506, 11787, 7390, 11, 471, 13, 23114, 5376, 11, 17467, 5376, 11, 2947, 12332, 11, 371, 15154, 3419, 28729, 357, 30709, 17941, 11050, 17467, 5376, 38678, 11050, 2947, 12332, 22196, 34, 8, ...
What was the maximum average of the episode with a Chinese title b?
SELECT MAX("Average") FROM table_22886 WHERE "Chinese title" = '古靈精探B'
[ 2061, 373, 262, 5415, 2811, 286, 262, 4471, 351, 257, 3999, 3670, 275, 30, 46506, 25882, 7203, 26287, 4943, 16034, 3084, 62, 1828, 44980, 33411, 366, 23604, 3670, 1, 796, 705, 20998, 97, 165, 251, 230, 163, 39333, 162, 236, 95, 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 ]
[ 2061, 373, 262, 5415, 2811, 286, 262, 4471, 351, 257, 3999, 3670, 275, 30, 46506, 25882, 7203, 26287, 4943, 16034, 3084, 62, 1828, 44980, 33411, 366, 23604, 3670, 1, 796, 705, 20998, 97, 165, 251, 230, 163, 39333, 162, 236, 95, 33, ...
What is the score of the home team aginst Essendon?
SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon"
[ 2061, 318, 262, 4776, 286, 262, 1363, 1074, 556, 8625, 11985, 43153, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 4531, 33411, 1497, 62, 15097, 796, 366, 408, 43153, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 1363, 1074, 556, 8625, 11985, 43153, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 4531, 33411, 1497, 62, 15097, 796, 366, 408, 43153, 1 ]
What is the total when silver is more than 0, and bronze less than 0?
SELECT MAX(total) FROM table_name_89 WHERE silver > 0 AND bronze < 0
[ 2061, 318, 262, 2472, 618, 8465, 318, 517, 621, 657, 11, 290, 22101, 1342, 621, 657, 30, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 8465, 1875, 657, 5357, 22101, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 618, 8465, 318, 517, 621, 657, 11, 290, 22101, 1342, 621, 657, 30, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 8465, 1875, 657, 5357, 22101, 1279, 657 ]
what were the five drugs most frequently prescribed to the patients aged 50s during the same hospital visit after they had been diagnosed with 35-36 comp wks gestation until 2101?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_...
[ 10919, 547, 262, 1936, 5010, 749, 6777, 14798, 284, 262, 3871, 9722, 2026, 82, 1141, 262, 976, 4436, 3187, 706, 484, 550, 587, 14641, 351, 3439, 12, 2623, 552, 266, 591, 47110, 1566, 2310, 486, 30, 46506, 256, 18, 13, 30349, 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, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1936, 5010, 749, 6777, 14798, 284, 262, 3871, 9722, 2026, 82, 1141, 262, 976, 4436, 3187, 706, 484, 550, 587, 14641, 351, 3439, 12, 2623, 552, 266, 591, 47110, 1566, 2310, 486, 30, 46506, 256, 18, 13, 30349, 16034, ...
Which team has a Home Team score of 5.12 (42)?
SELECT "Home team" FROM table_32986 WHERE "Home team score" = '5.12 (42)'
[ 13828, 1074, 468, 257, 5995, 4816, 4776, 286, 642, 13, 1065, 357, 3682, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 37967, 4521, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 20, 13, 1065, 357, 3682, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 468, 257, 5995, 4816, 4776, 286, 642, 13, 1065, 357, 3682, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 37967, 4521, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 20, 13, 1065, 357, 3682, 33047 ]
serum creatinine >= 1.5 mg / dl for male
SELECT * FROM table_train_151 WHERE gender = 'male' AND serum_creatinine >= 1.5
[ 2655, 388, 1827, 259, 500, 18189, 352, 13, 20, 10527, 1220, 288, 75, 329, 4257, 46506, 1635, 16034, 3084, 62, 27432, 62, 24309, 33411, 5279, 796, 705, 22606, 6, 5357, 20502, 62, 20123, 259, 500, 18189, 352, 13, 20 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2655, 388, 1827, 259, 500, 18189, 352, 13, 20, 10527, 1220, 288, 75, 329, 4257, 46506, 1635, 16034, 3084, 62, 27432, 62, 24309, 33411, 5279, 796, 705, 22606, 6, 5357, 20502, 62, 20123, 259, 500, 18189, 352, 13, 20 ]
count the number of patients whose procedure long title is initial insertion of dual-chamber device?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Initial insertion of dual-chamber device"
[ 9127, 262, 1271, 286, 3871, 3025, 8771, 890, 3670, 318, 4238, 36075, 286, 10668, 12, 354, 7789, 3335, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 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, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 8771, 890, 3670, 318, 4238, 36075, 286, 10668, 12, 354, 7789, 3335, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16...
which athlete had the most penalties in riding ?
SELECT "athlete" FROM table_204_731 ORDER BY "riding\npenalties (pts)" DESC LIMIT 1
[ 4758, 16076, 550, 262, 749, 12970, 287, 10311, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 18638, 62, 22, 3132, 38678, 11050, 366, 81, 2530, 59, 77, 3617, 10355, 357, 457, 82, 16725, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 16076, 550, 262, 749, 12970, 287, 10311, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 18638, 62, 22, 3132, 38678, 11050, 366, 81, 2530, 59, 77, 3617, 10355, 357, 457, 82, 16725, 22196, 34, 27564, 2043, 352 ]
Calculate the highest points where the win,loss, tie ratio is 28-12-6
SELECT MAX(points) FROM table_23308178_7 WHERE record = "28-12-6"
[ 9771, 3129, 378, 262, 4511, 2173, 810, 262, 1592, 11, 22462, 11, 9839, 8064, 318, 2579, 12, 1065, 12, 21, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 1954, 21495, 23188, 62, 22, 33411, 1700, 796, 366, 2078, 12, 1065, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9771, 3129, 378, 262, 4511, 2173, 810, 262, 1592, 11, 22462, 11, 9839, 8064, 318, 2579, 12, 1065, 12, 21, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 1954, 21495, 23188, 62, 22, 33411, 1700, 796, 366, 2078, 12, 1065, 12, 21, 1 ]
What is the average age for each dorm and what are the names of each dorm Plot them as bar chart, could you rank by the dorm_name in descending?
SELECT dorm_name, AVG(T1.Age) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_name ORDER BY dorm_name DESC
[ 2061, 318, 262, 2811, 2479, 329, 1123, 18586, 290, 644, 389, 262, 3891, 286, 1123, 18586, 28114, 606, 355, 2318, 8262, 11, 714, 345, 4279, 416, 262, 18586, 62, 3672, 287, 31491, 30, 46506, 18586, 62, 3672, 11, 35224, 7, 51, 16, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 2479, 329, 1123, 18586, 290, 644, 389, 262, 3891, 286, 1123, 18586, 28114, 606, 355, 2318, 8262, 11, 714, 345, 4279, 416, 262, 18586, 62, 3672, 287, 31491, 30, 46506, 18586, 62, 3672, 11, 35224, 7, 51, 16, 13, ...
What is the average number of losses for teams with 0 draws and 0 byes?
SELECT AVG(losses) FROM table_name_78 WHERE draws = 0 AND byes < 0
[ 2061, 318, 262, 2811, 1271, 286, 9089, 329, 3466, 351, 657, 14293, 290, 657, 416, 274, 30, 46506, 35224, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 3695, 33411, 14293, 796, 657, 5357, 416, 274, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 9089, 329, 3466, 351, 657, 14293, 290, 657, 416, 274, 30, 46506, 35224, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 3695, 33411, 14293, 796, 657, 5357, 416, 274, 1279, 657 ]
What is the number of platforms for each location? Show the comparison with a bar chart.
SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location
[ 2061, 318, 262, 1271, 286, 9554, 329, 1123, 4067, 30, 5438, 262, 7208, 351, 257, 2318, 8262, 13, 46506, 13397, 11, 35683, 7, 15057, 62, 1659, 62, 37148, 82, 8, 16034, 4429, 44441, 11050, 13397 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 9554, 329, 1123, 4067, 30, 5438, 262, 7208, 351, 257, 2318, 8262, 13, 46506, 13397, 11, 35683, 7, 15057, 62, 1659, 62, 37148, 82, 8, 16034, 4429, 44441, 11050, 13397 ]
what is the number of patients whose year of birth is less than 2130 and diagnoses short title is chest pain nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2130" AND diagnoses.short_title = "Chest pain NEC"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 2310, 1270, 290, 40567, 1790, 3670, 318, 7721, 2356, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 286, 4082, 318, 1342, 621, 2310, 1270, 290, 40567, 1790, 3670, 318, 7721, 2356, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?
SELECT "Position" FROM table_27355 WHERE "NFL Team" = 'New Orleans Saints'
[ 2061, 547, 262, 2298, 3146, 286, 262, 6110, 18034, 7147, 416, 262, 968, 12255, 13048, 287, 262, 13540, 4538, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 1983, 28567, 33411, 366, 32078, 4816, 1, 796, 705, 3791, 12255, 13048, 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, 547, 262, 2298, 3146, 286, 262, 6110, 18034, 7147, 416, 262, 968, 12255, 13048, 287, 262, 13540, 4538, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 1983, 28567, 33411, 366, 32078, 4816, 1, 796, 705, 3791, 12255, 13048, 6 ]
What is the school with the nickname Tornadoes Lady Tornadoes?
SELECT school FROM table_name_65 WHERE nickname_s_ = "tornadoes lady tornadoes"
[ 2061, 318, 262, 1524, 351, 262, 21814, 31940, 46368, 11182, 31940, 46368, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 2996, 33411, 21814, 62, 82, 62, 796, 366, 45910, 46368, 10846, 12445, 46368, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1524, 351, 262, 21814, 31940, 46368, 11182, 31940, 46368, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 2996, 33411, 21814, 62, 82, 62, 796, 366, 45910, 46368, 10846, 12445, 46368, 1 ]
Who was the vistiting team in the game with the final score of 7-13?
SELECT visiting_team FROM table_name_3 WHERE final_score = "7-13"
[ 8241, 373, 262, 410, 396, 1780, 1074, 287, 262, 983, 351, 262, 2457, 4776, 286, 767, 12, 1485, 30, 46506, 10013, 62, 15097, 16034, 3084, 62, 3672, 62, 18, 33411, 2457, 62, 26675, 796, 366, 22, 12, 1485, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 410, 396, 1780, 1074, 287, 262, 983, 351, 262, 2457, 4776, 286, 767, 12, 1485, 30, 46506, 10013, 62, 15097, 16034, 3084, 62, 3672, 62, 18, 33411, 2457, 62, 26675, 796, 366, 22, 12, 1485, 1 ]
What is the home team's score for the game at Junction Oval?
SELECT "Home team score" FROM table_11064 WHERE "Venue" = 'junction oval'
[ 2061, 318, 262, 1363, 1074, 338, 4776, 329, 262, 983, 379, 44410, 25165, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 11442, 2414, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 1074, 338, 4776, 329, 262, 983, 379, 44410, 25165, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 11442, 2414, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
Give me the comparison about the sum of Weight over the Sex , and group by attribute Sex by a bar chart, and show from high to low by the y axis please.
SELECT Sex, SUM(Weight) FROM people GROUP BY Sex ORDER BY SUM(Weight) DESC
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 14331, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 331, 16488, 3387, 13, 46506, 14419, 11, 35683, 7, 25844, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 14331, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 331, 16488, 3387, 13, 46506, 14419, 11, 35683, 7, 25844, 8, 1...
What is 'house', when 'what' is 'ano', and when 'three' is 'tulo'?
SELECT "house" FROM table_43846 WHERE "what" = 'ano' AND "three" = 'tulo'
[ 2061, 318, 705, 4803, 3256, 618, 705, 10919, 6, 318, 705, 5733, 3256, 290, 618, 705, 15542, 6, 318, 705, 83, 43348, 30960, 46506, 366, 4803, 1, 16034, 3084, 62, 43704, 3510, 33411, 366, 10919, 1, 796, 705, 5733, 6, 5357, 366, 15542,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 4803, 3256, 618, 705, 10919, 6, 318, 705, 5733, 3256, 290, 618, 705, 15542, 6, 318, 705, 83, 43348, 30960, 46506, 366, 4803, 1, 16034, 3084, 62, 43704, 3510, 33411, 366, 10919, 1, 796, 705, 5733, 6, 5357, 366, 15542,...
what is the number of patients whose primary disease is coronary artery disease and admission year is less than 2195?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE" AND demographic.admityear < "2195"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 37151, 37646, 4369, 290, 13938, 614, 318, 1342, 621, 362, 22186, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 37151, 37646, 4369, 290, 13938, 614, 318, 1342, 621, 362, 22186, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47...
For all employees who have the letters D or S in their first name, a line chart shows the change of employee_id over hire_date, and list from high to low by the x-axis.
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY HIRE_DATE DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 1627, 8262, 2523, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 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...
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 1627, 8262, 2523, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 3...
List the description of all aircrafts, and count them by a bar chart
SELECT Description, COUNT(Description) FROM aircraft GROUP BY Description
[ 8053, 262, 6764, 286, 477, 6215, 82, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 12489, 11, 327, 28270, 7, 11828, 8, 16034, 6215, 44441, 11050, 12489 ]
[ 1, 1, 1, 1, 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, 6764, 286, 477, 6215, 82, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 12489, 11, 327, 28270, 7, 11828, 8, 16034, 6215, 44441, 11050, 12489 ]
Who had the highest rebounds of the game with A. Johnson (14) as the highest assists?
SELECT high_rebounds FROM table_name_55 WHERE high_assists = "a. johnson (14)"
[ 8241, 550, 262, 4511, 18841, 286, 262, 983, 351, 317, 13, 5030, 357, 1415, 8, 355, 262, 4511, 13648, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 3672, 62, 2816, 33411, 1029, 62, 562, 1023, 796, 366, 64, 13, 45610, 1559, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 4511, 18841, 286, 262, 983, 351, 317, 13, 5030, 357, 1415, 8, 355, 262, 4511, 13648, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 3672, 62, 2816, 33411, 1029, 62, 562, 1023, 796, 366, 64, 13, 45610, 1559, 357, ...
Which position has a Nationality of united states, and a Player of roger powell?
SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
[ 13828, 2292, 468, 257, 2351, 414, 286, 16503, 2585, 11, 290, 257, 7853, 286, 686, 1362, 7182, 695, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 24, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 305, 1362, 7182, 695, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 468, 257, 2351, 414, 286, 16503, 2585, 11, 290, 257, 7853, 286, 686, 1362, 7182, 695, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 24, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 305, 1362, 7182, 695, 1...
What is the week with a record of 2-1?
SELECT COUNT(week) FROM table_name_56 WHERE record = "2-1"
[ 2061, 318, 262, 1285, 351, 257, 1700, 286, 362, 12, 16, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 3980, 33411, 1700, 796, 366, 17, 12, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1285, 351, 257, 1700, 286, 362, 12, 16, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 3980, 33411, 1700, 796, 366, 17, 12, 16, 1 ]
Show last names for all student who are on scholarship, and count them by a bar chart
SELECT LName, COUNT(LName) FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.OnScholarship = 'Y' GROUP BY LName
[ 15307, 938, 3891, 329, 477, 3710, 508, 389, 319, 18652, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 7092, 12360, 7054, 309, 16, 32357, 1268, 13613, 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, 1, 1, 1, 1...
[ 15307, 938, 3891, 329, 477, 3710, 508, 389, 319, 18652, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 7092, 12360, 7054, 309, 16, 32357, 1268, 13613, 7054, 309, 17, 6177, 309, 16, ...
Name the try bonus for kenfig hill rfc
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
[ 5376, 262, 1949, 7202, 329, 479, 268, 5647, 12788, 374, 16072, 46506, 1949, 62, 4189, 385, 16034, 3084, 62, 17059, 2414, 36680, 62, 18, 33411, 3430, 796, 366, 27827, 5647, 3327, 30978, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1949, 7202, 329, 479, 268, 5647, 12788, 374, 16072, 46506, 1949, 62, 4189, 385, 16034, 3084, 62, 17059, 2414, 36680, 62, 18, 33411, 3430, 796, 366, 27827, 5647, 3327, 30978, 1 ]
What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?
SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990
[ 2061, 547, 262, 5660, 2741, 12, 929, 3161, 284, 6303, 618, 21798, 406, 437, 75, 373, 15869, 287, 262, 1001, 12125, 3115, 37213, 9595, 30, 46506, 19323, 62, 929, 16034, 3084, 62, 3672, 62, 1795, 33411, 7827, 796, 366, 13809, 22096, 75,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 5660, 2741, 12, 929, 3161, 284, 6303, 618, 21798, 406, 437, 75, 373, 15869, 287, 262, 1001, 12125, 3115, 37213, 9595, 30, 46506, 19323, 62, 929, 16034, 3084, 62, 3672, 62, 1795, 33411, 7827, 796, 366, 13809, 22096, 75,...
who is the away team when the tie no is 7?
SELECT away_team FROM table_name_7 WHERE tie_no = "7"
[ 8727, 318, 262, 1497, 1074, 618, 262, 9839, 645, 318, 767, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 22, 33411, 9839, 62, 3919, 796, 366, 22, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 1497, 1074, 618, 262, 9839, 645, 318, 767, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 22, 33411, 9839, 62, 3919, 796, 366, 22, 1 ]
what was the difference in points in the game on october 30th against bury ?
SELECT "result" - "result" FROM table_203_368 WHERE "opponent" = 'bury'
[ 10919, 373, 262, 3580, 287, 2173, 287, 262, 983, 319, 19318, 2023, 1542, 400, 1028, 30033, 5633, 46506, 366, 20274, 1, 532, 366, 20274, 1, 16034, 3084, 62, 22416, 62, 27412, 33411, 366, 10365, 3471, 1, 796, 705, 10711, 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 ]
[ 10919, 373, 262, 3580, 287, 2173, 287, 262, 983, 319, 19318, 2023, 1542, 400, 1028, 30033, 5633, 46506, 366, 20274, 1, 532, 366, 20274, 1, 16034, 3084, 62, 22416, 62, 27412, 33411, 366, 10365, 3471, 1, 796, 705, 10711, 6 ]
tell me the number of patients on chlorothiazide prescription who have been hospitalized for more than 11 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "11" AND prescriptions.drug = "Chlorothiazide"
[ 33331, 502, 262, 1271, 286, 3871, 319, 20207, 849, 17890, 485, 15077, 508, 423, 587, 31736, 329, 517, 621, 1367, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 1271, 286, 3871, 319, 20207, 849, 17890, 485, 15077, 508, 423, 587, 31736, 329, 517, 621, 1367, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
Who is the manager of the St. Johnstone club?
SELECT manager FROM table_name_53 WHERE club = "st. johnstone"
[ 8241, 318, 262, 4706, 286, 262, 520, 13, 1757, 6440, 3430, 30, 46506, 4706, 16034, 3084, 62, 3672, 62, 4310, 33411, 3430, 796, 366, 301, 13, 45610, 6440, 1 ]
[ 1, 1, 1, 1, 1, 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, 4706, 286, 262, 520, 13, 1757, 6440, 3430, 30, 46506, 4706, 16034, 3084, 62, 3672, 62, 4310, 33411, 3430, 796, 366, 301, 13, 45610, 6440, 1 ]
What is the name of a league in the sport of baseball?
SELECT "League" FROM table_52178 WHERE "Sport" = 'baseball'
[ 2061, 318, 262, 1438, 286, 257, 4652, 287, 262, 6332, 286, 9283, 30, 46506, 366, 24623, 1, 16034, 3084, 62, 4309, 23188, 33411, 366, 42576, 1, 796, 705, 8692, 1894, 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, 1438, 286, 257, 4652, 287, 262, 6332, 286, 9283, 30, 46506, 366, 24623, 1, 16034, 3084, 62, 4309, 23188, 33411, 366, 42576, 1, 796, 705, 8692, 1894, 6 ]
User's answers with competing answers.
SELECT a.Id AS "post_link", a.Score FROM Posts AS a INNER JOIN Posts AS q ON a.ParentId = q.Id WHERE a.OwnerUserId = '##userid##' AND q.AnswerCount > 1 ORDER BY a.Score DESC
[ 12982, 338, 7429, 351, 11780, 7429, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 16034, 12043, 7054, 257, 3268, 21479, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12982, 338, 7429, 351, 11780, 7429, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 16034, 12043, 7054, 257, 3268, 21479, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 3341...
what's the swimsuit where average is 8.670
SELECT "Swimsuit" FROM table_72264 WHERE "Average" = '8.670'
[ 10919, 338, 262, 9422, 6063, 810, 2811, 318, 807, 13, 43798, 46506, 366, 10462, 320, 6063, 1, 16034, 3084, 62, 22, 1828, 2414, 33411, 366, 26287, 1, 796, 705, 23, 13, 43798, 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 ]
[ 10919, 338, 262, 9422, 6063, 810, 2811, 318, 807, 13, 43798, 46506, 366, 10462, 320, 6063, 1, 16034, 3084, 62, 22, 1828, 2414, 33411, 366, 26287, 1, 796, 705, 23, 13, 43798, 6 ]
How old are the students with allergies to food and animal types on average?
SELECT AVG(age) FROM student WHERE stuid IN (SELECT T1.stuid FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food" INTERSECT SELECT T1.stuid FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "animal")
[ 2437, 1468, 389, 262, 2444, 351, 36665, 284, 2057, 290, 5044, 3858, 319, 2811, 30, 46506, 35224, 7, 496, 8, 16034, 3710, 33411, 336, 27112, 3268, 357, 46506, 309, 16, 13, 301, 27112, 16034, 468, 62, 439, 26079, 7054, 309, 16, 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...
[ 2437, 1468, 389, 262, 2444, 351, 36665, 284, 2057, 290, 5044, 3858, 319, 2811, 30, 46506, 35224, 7, 496, 8, 16034, 3710, 33411, 336, 27112, 3268, 357, 46506, 309, 16, 13, 301, 27112, 16034, 468, 62, 439, 26079, 7054, 309, 16, 32357, ...
Which date has a To par of 12?
SELECT date FROM table_name_53 WHERE to_par = "–12"
[ 13828, 3128, 468, 257, 1675, 1582, 286, 1105, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4310, 33411, 284, 62, 1845, 796, 366, 1906, 1065, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3128, 468, 257, 1675, 1582, 286, 1105, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4310, 33411, 284, 62, 1845, 796, 366, 1906, 1065, 1 ]