instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many points did the opponents score at the game in Knoxville?
SELECT MIN("Opp. Points") FROM table_25551 WHERE "Location" = 'Knoxville'
[ 2437, 867, 2173, 750, 262, 7691, 4776, 379, 262, 983, 287, 27633, 4244, 30, 46506, 20625, 7203, 27524, 13, 11045, 4943, 16034, 3084, 62, 1495, 43697, 33411, 366, 14749, 1, 796, 705, 25095, 1140, 4244, 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 ]
[ 2437, 867, 2173, 750, 262, 7691, 4776, 379, 262, 983, 287, 27633, 4244, 30, 46506, 20625, 7203, 27524, 13, 11045, 4943, 16034, 3084, 62, 1495, 43697, 33411, 366, 14749, 1, 796, 705, 25095, 1140, 4244, 6 ]
what is the average top-10 when the cuts made is less than 9 and the events is more than 14?
SELECT AVG(top_10) FROM table_name_48 WHERE cuts_made < 9 AND events > 14
[ 10919, 318, 262, 2811, 1353, 12, 940, 618, 262, 6630, 925, 318, 1342, 621, 860, 290, 262, 2995, 318, 517, 621, 1478, 30, 46506, 35224, 7, 4852, 62, 940, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 6630, 62, 9727, 1279, 860, 5357, 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 ]
[ 10919, 318, 262, 2811, 1353, 12, 940, 618, 262, 6630, 925, 318, 1342, 621, 860, 290, 262, 2995, 318, 517, 621, 1478, 30, 46506, 35224, 7, 4852, 62, 940, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 6630, 62, 9727, 1279, 860, 5357, 2...
Who is the composer on the tracks less than 4?
SELECT composer FROM table_name_36 WHERE track < 4
[ 8241, 318, 262, 26777, 319, 262, 8339, 1342, 621, 604, 30, 46506, 26777, 16034, 3084, 62, 3672, 62, 2623, 33411, 2610, 1279, 604 ]
[ 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, 26777, 319, 262, 8339, 1342, 621, 604, 30, 46506, 26777, 16034, 3084, 62, 3672, 62, 2623, 33411, 2610, 1279, 604 ]
count the number of patients whose procedure icd9 code is 8968 and drug type is additive?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "8968" AND prescriptions.drug_type = "ADDITIVE"
[ 9127, 262, 1271, 286, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 9919, 3104, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14158, 67, 24, 2438, 318, 9919, 3104, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 617...
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of last_name and department_id .
SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 938, 62, 3672, 290, 5011, 62, 312, 764, 46506, 41894, 62, 20608, 11, 5550, 30709...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 938, 62, 3672, 290, 5011, 62, 312, 764, 46506, 41894, 62, 20608, 11, 5550, 30709...
what are some good restaurants in mountain view for arabic food ?
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 10919, 389, 617, 922, 10808, 287, 8598, 1570, 329, 610, 397, 291, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 617, 922, 10808, 287, 8598, 1570, 329, 610, 397, 291, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, ...
Who was the director of the film that was not nominated and had the Spanish title of play?
SELECT director FROM table_20404716_1 WHERE result = "Not Nominated" AND spanish_title = "Play"
[ 8241, 373, 262, 3437, 286, 262, 2646, 326, 373, 407, 19332, 290, 550, 262, 7897, 3670, 286, 711, 30, 46506, 3437, 16034, 3084, 62, 1238, 1821, 2857, 1433, 62, 16, 33411, 1255, 796, 366, 3673, 21198, 3898, 1, 5357, 599, 7115, 62, 783...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3437, 286, 262, 2646, 326, 373, 407, 19332, 290, 550, 262, 7897, 3670, 286, 711, 30, 46506, 3437, 16034, 3084, 62, 1238, 1821, 2857, 1433, 62, 16, 33411, 1255, 796, 366, 3673, 21198, 3898, 1, 5357, 599, 7115, 62, 783...
What is the average game number that was on october 19?
SELECT AVG("Game") FROM table_46062 WHERE "October" = '19'
[ 2061, 318, 262, 2811, 983, 1271, 326, 373, 319, 19318, 2023, 678, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 34716, 5237, 33411, 366, 18517, 1, 796, 705, 1129, 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, 2811, 983, 1271, 326, 373, 319, 19318, 2023, 678, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 34716, 5237, 33411, 366, 18517, 1, 796, 705, 1129, 6 ]
what is date of birth and lab test fluid of subject name jerry deberry?
SELECT demographic.dob, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Jerry Deberry"
[ 10919, 318, 3128, 286, 4082, 290, 2248, 1332, 11711, 286, 2426, 1438, 474, 6996, 390, 8396, 30, 46506, 16728, 13, 67, 672, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 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, 1 ]
[ 10919, 318, 3128, 286, 4082, 290, 2248, 1332, 11711, 286, 2426, 1438, 474, 6996, 390, 8396, 30, 46506, 16728, 13, 67, 672, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 79...
now i'd like information on flights from DENVER to SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA...
[ 2197, 1312, 1549, 588, 1321, 319, 13956, 422, 37692, 5959, 284, 37376, 8782, 20940, 37719, 14058, 16779, 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...
[ 2197, 1312, 1549, 588, 1321, 319, 13956, 422, 37692, 5959, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62...
Name the position for michael warner
SELECT "Position" FROM table_27278 WHERE "Player" = 'Michael Warner'
[ 5376, 262, 2292, 329, 285, 40302, 1175, 1008, 46506, 366, 26545, 1, 16034, 3084, 62, 1983, 25870, 33411, 366, 14140, 1, 796, 705, 13256, 14469, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2292, 329, 285, 40302, 1175, 1008, 46506, 366, 26545, 1, 16034, 3084, 62, 1983, 25870, 33411, 366, 14140, 1, 796, 705, 13256, 14469, 6 ]
which artist had almost no points ?
SELECT "artist" FROM table_203_862 ORDER BY "points" LIMIT 1
[ 4758, 6802, 550, 2048, 645, 2173, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 22416, 62, 4521, 17, 38678, 11050, 366, 13033, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 6802, 550, 2048, 645, 2173, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 22416, 62, 4521, 17, 38678, 11050, 366, 13033, 1, 27564, 2043, 352 ]
what is the minimum number of patients diagnosed with abn react-artif implant daily until 3 years ago?
SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'abn react-artif implant') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-3 year')...
[ 10919, 318, 262, 5288, 1271, 286, 3871, 14641, 351, 450, 77, 6324, 12, 433, 361, 29016, 4445, 1566, 513, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, 291...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 5288, 1271, 286, 3871, 14641, 351, 450, 77, 6324, 12, 433, 361, 29016, 4445, 1566, 513, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, 291...
Total Characters Posted by User.
SELECT Posts.Title, LENGTH(Posts.Body) FROM Users INNER JOIN Posts ON Posts.OwnerUserId = 24
[ 14957, 26813, 12918, 416, 11787, 13, 46506, 12043, 13, 19160, 11, 406, 49494, 7, 21496, 13, 25842, 8, 16034, 18987, 3268, 21479, 32357, 1268, 12043, 6177, 12043, 13, 42419, 12982, 7390, 796, 1987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14957, 26813, 12918, 416, 11787, 13, 46506, 12043, 13, 19160, 11, 406, 49494, 7, 21496, 13, 25842, 8, 16034, 18987, 3268, 21479, 32357, 1268, 12043, 6177, 12043, 13, 42419, 12982, 7390, 796, 1987 ]
what is the description next to medusa ?
SELECT "description" FROM table_204_427 WHERE "creature (other planes)" = 'medusa'
[ 10919, 318, 262, 6764, 1306, 284, 1117, 22064, 5633, 46506, 366, 11213, 1, 16034, 3084, 62, 18638, 62, 42363, 33411, 366, 20123, 495, 357, 847, 13016, 16725, 796, 705, 1150, 22064, 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, 318, 262, 6764, 1306, 284, 1117, 22064, 5633, 46506, 366, 11213, 1, 16034, 3084, 62, 18638, 62, 42363, 33411, 366, 20123, 495, 357, 847, 13016, 16725, 796, 705, 1150, 22064, 6 ]
did marco simoncelli or alvaro bautista held rank 1 ?
SELECT "rider" FROM table_204_352 WHERE "rider" IN ('marco simoncelli', 'alvaro bautista') AND "pos" = 1
[ 20839, 1667, 1073, 985, 261, 3846, 72, 393, 435, 7785, 78, 275, 2306, 12523, 2714, 4279, 352, 5633, 46506, 366, 49449, 1, 16034, 3084, 62, 18638, 62, 33394, 33411, 366, 49449, 1, 3268, 19203, 3876, 1073, 985, 261, 3846, 72, 3256, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 1667, 1073, 985, 261, 3846, 72, 393, 435, 7785, 78, 275, 2306, 12523, 2714, 4279, 352, 5633, 46506, 366, 49449, 1, 16034, 3084, 62, 18638, 62, 33394, 33411, 366, 49449, 1, 3268, 19203, 3876, 1073, 985, 261, 3846, 72, 3256, 705,...
What are the number of the last names for all scholarship students?, and could you order by the y axis from high to low?
SELECT LName, COUNT(LName) FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.OnScholarship = 'Y' GROUP BY LName ORDER BY COUNT(LName) DESC
[ 2061, 389, 262, 1271, 286, 262, 938, 3891, 329, 477, 18652, 2444, 21747, 290, 714, 345, 1502, 416, 262, 331, 16488, 422, 1029, 284, 1877, 30, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 7092, 12360, 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...
[ 2061, 389, 262, 1271, 286, 262, 938, 3891, 329, 477, 18652, 2444, 21747, 290, 714, 345, 1502, 416, 262, 331, 16488, 422, 1029, 284, 1877, 30, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 7092, 12360, 7054, 309, 16, 32357...
List all dates where South Florida was a visiting team.
SELECT date FROM table_26842217_6 WHERE visiting_team = "South Florida"
[ 8053, 477, 9667, 810, 2520, 4744, 373, 257, 10013, 1074, 13, 46506, 3128, 16034, 3084, 62, 2075, 5705, 1828, 1558, 62, 21, 33411, 10013, 62, 15097, 796, 366, 14942, 4744, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 477, 9667, 810, 2520, 4744, 373, 257, 10013, 1074, 13, 46506, 3128, 16034, 3084, 62, 2075, 5705, 1828, 1558, 62, 21, 33411, 10013, 62, 15097, 796, 366, 14942, 4744, 1 ]
What was the date for a round that only had 1 match?
SELECT date FROM table_name_36 WHERE matches = 1
[ 2061, 373, 262, 3128, 329, 257, 2835, 326, 691, 550, 352, 2872, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2623, 33411, 7466, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 329, 257, 2835, 326, 691, 550, 352, 2872, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2623, 33411, 7466, 796, 352 ]
What is the Frequency MHz for the station with a call sign of w224bn?
SELECT AVG(frequency_mhz) FROM table_name_2 WHERE call_sign = "w224bn"
[ 2061, 318, 262, 31902, 19805, 329, 262, 4429, 351, 257, 869, 1051, 286, 266, 24137, 9374, 30, 46506, 35224, 7, 35324, 62, 76, 32179, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 869, 62, 12683, 796, 366, 86, 24137, 9374, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31902, 19805, 329, 262, 4429, 351, 257, 869, 1051, 286, 266, 24137, 9374, 30, 46506, 35224, 7, 35324, 62, 76, 32179, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 869, 62, 12683, 796, 366, 86, 24137, 9374, 1 ]
provide the number of patients whose days of hospital stay is greater than 11 and diagnoses long title is aftercare for healing traumatic fracture of lower leg?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "11" AND diagnoses.long_title = "Aftercare for healing traumatic fracture of lower leg"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1367, 290, 40567, 890, 3670, 318, 706, 6651, 329, 11516, 25115, 31846, 286, 2793, 1232, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1367, 290, 40567, 890, 3670, 318, 706, 6651, 329, 11516, 25115, 31846, 286, 2793, 1232, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 6...
fasting glucose > 270 mg / dl
SELECT * FROM table_train_153 WHERE fasting_glucose > 270
[ 7217, 278, 15701, 1875, 20479, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 27432, 62, 21395, 33411, 24845, 62, 4743, 1229, 577, 1875, 20479 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7217, 278, 15701, 1875, 20479, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 27432, 62, 21395, 33411, 24845, 62, 4743, 1229, 577, 1875, 20479 ]
count the number of people who were diagnosed with chr osteomyelit nec in 2105.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'chr osteomyelit nec') AND STRFTIME('%y', diagnoses_icd.cha...
[ 9127, 262, 1271, 286, 661, 508, 547, 14641, 351, 442, 81, 32674, 9145, 417, 270, 27576, 287, 362, 13348, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 661, 508, 547, 14641, 351, 442, 81, 32674, 9145, 417, 270, 27576, 287, 362, 13348, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 31...
For those records from the products and each product's manufacturer, visualize the relationship between code and revenue , and group by attribute name.
SELECT T1.Code, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 262, 2776, 1022, 2438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 16, 13, 10669, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 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 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 262, 2776, 1022, 2438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 16, 13, 10669, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32...
What is the highest up:down ratio with 4 mbit/s upstream?
SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s"
[ 2061, 318, 262, 4511, 510, 25, 2902, 8064, 351, 604, 285, 2545, 14, 82, 28717, 30, 46506, 25882, 7, 929, 8, 7054, 1058, 2902, 62, 10366, 952, 16034, 3084, 62, 3672, 62, 4761, 33411, 28717, 796, 366, 19, 285, 2545, 14, 82, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 510, 25, 2902, 8064, 351, 604, 285, 2545, 14, 82, 28717, 30, 46506, 25882, 7, 929, 8, 7054, 1058, 2902, 62, 10366, 952, 16034, 3084, 62, 3672, 62, 4761, 33411, 28717, 796, 366, 19, 285, 2545, 14, 82, 1 ]
what is the number of games played against vietnam ?
SELECT COUNT(*) FROM table_204_913 WHERE "opponent" = 'vietnam'
[ 10919, 318, 262, 1271, 286, 1830, 2826, 1028, 410, 1155, 7402, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 24, 1485, 33411, 366, 10365, 3471, 1, 796, 705, 85, 1155, 7402, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 1830, 2826, 1028, 410, 1155, 7402, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 24, 1485, 33411, 366, 10365, 3471, 1, 796, 705, 85, 1155, 7402, 6 ]
Who was the builder for joffre
SELECT "Builder" FROM table_52551 WHERE "Name/Number" = 'joffre'
[ 8241, 373, 262, 27098, 329, 474, 2364, 260, 46506, 366, 32875, 1, 16034, 3084, 62, 39088, 4349, 33411, 366, 5376, 14, 15057, 1, 796, 705, 73, 2364, 260, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 27098, 329, 474, 2364, 260, 46506, 366, 32875, 1, 16034, 3084, 62, 39088, 4349, 33411, 366, 5376, 14, 15057, 1, 796, 705, 73, 2364, 260, 6 ]
how many total goals have been scored against croatia in the world cup ?
SELECT SUM("ga") FROM table_203_469
[ 4919, 867, 2472, 4661, 423, 587, 7781, 1028, 6763, 265, 544, 287, 262, 995, 6508, 5633, 46506, 35683, 7203, 4908, 4943, 16034, 3084, 62, 22416, 62, 42947 ]
[ 1, 1, 1, 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, 2472, 4661, 423, 587, 7781, 1028, 6763, 265, 544, 287, 262, 995, 6508, 5633, 46506, 35683, 7203, 4908, 4943, 16034, 3084, 62, 22416, 62, 42947 ]
Who wrote the episode with 18.07 million viewers?
SELECT "Written by" FROM table_28424 WHERE "U.S. viewers (million)" = '18.07'
[ 8241, 2630, 262, 4471, 351, 1248, 13, 2998, 1510, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 30336, 1731, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 1507, 13, 2998, 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 ]
[ 8241, 2630, 262, 4471, 351, 1248, 13, 2998, 1510, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 30336, 1731, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 1507, 13, 2998, 6 ]
What is the Call sign for the ERP W 19?
SELECT call_sign FROM table_name_75 WHERE erp_w = 19
[ 2061, 318, 262, 4889, 1051, 329, 262, 13793, 47, 370, 678, 30, 46506, 869, 62, 12683, 16034, 3084, 62, 3672, 62, 2425, 33411, 1931, 79, 62, 86, 796, 678 ]
[ 1, 1, 1, 1, 1, 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, 4889, 1051, 329, 262, 13793, 47, 370, 678, 30, 46506, 869, 62, 12683, 16034, 3084, 62, 3672, 62, 2425, 33411, 1931, 79, 62, 86, 796, 678 ]
what is the school in michigantown?
SELECT school FROM table_name_93 WHERE location = "michigantown"
[ 10919, 318, 262, 1524, 287, 285, 488, 328, 415, 593, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 6052, 33411, 4067, 796, 366, 76, 488, 328, 415, 593, 1 ]
[ 1, 1, 1, 1, 1, 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, 1524, 287, 285, 488, 328, 415, 593, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 6052, 33411, 4067, 796, 366, 76, 488, 328, 415, 593, 1 ]
how many patients of black/cape verdean ethnicity are below the age 89?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.age < "89"
[ 4919, 867, 3871, 286, 2042, 14, 36435, 3326, 2934, 272, 26289, 389, 2174, 262, 2479, 9919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 2042, 14, 36435, 3326, 2934, 272, 26289, 389, 2174, 262, 2479, 9919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120,...
What is the highest pts after 1952 with connaught type a?
SELECT MAX("Pts.") FROM table_70085 WHERE "Year" > '1952' AND "Chassis" = 'connaught type a'
[ 2061, 318, 262, 4511, 43344, 706, 26352, 351, 48260, 3413, 2099, 257, 30, 46506, 25882, 7203, 47, 912, 19570, 16034, 3084, 62, 9879, 5332, 33411, 366, 17688, 1, 1875, 705, 1129, 4309, 6, 5357, 366, 1925, 20297, 1, 796, 705, 37043, 341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 43344, 706, 26352, 351, 48260, 3413, 2099, 257, 30, 46506, 25882, 7203, 47, 912, 19570, 16034, 3084, 62, 9879, 5332, 33411, 366, 17688, 1, 1875, 705, 1129, 4309, 6, 5357, 366, 1925, 20297, 1, 796, 705, 37043, 341...
How many counties have 2 as the total, 0 as the city with a town less than 1?
SELECT SUM(county) FROM table_name_54 WHERE total = 2 AND city = 0 AND town < 1
[ 2437, 867, 14683, 423, 362, 355, 262, 2472, 11, 657, 355, 262, 1748, 351, 257, 3240, 1342, 621, 352, 30, 46506, 35683, 7, 9127, 88, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 2472, 796, 362, 5357, 1748, 796, 657, 5357, 3240, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14683, 423, 362, 355, 262, 2472, 11, 657, 355, 262, 1748, 351, 257, 3240, 1342, 621, 352, 30, 46506, 35683, 7, 9127, 88, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 2472, 796, 362, 5357, 1748, 796, 657, 5357, 3240, 1279, ...
Please tell the revenues of the companies with the highest revenues in each headquarter city, and sort by the y-axis in asc.
SELECT Headquarter, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter ORDER BY MAX(Revenue)
[ 5492, 1560, 262, 13089, 286, 262, 2706, 351, 262, 4511, 13089, 287, 1123, 1182, 24385, 1748, 11, 290, 3297, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 7123, 24385, 11, 25882, 7, 3041, 4080, 8, 16034, 17858, 17496, 44441, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 1560, 262, 13089, 286, 262, 2706, 351, 262, 4511, 13089, 287, 1123, 1182, 24385, 1748, 11, 290, 3297, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 7123, 24385, 11, 25882, 7, 3041, 4080, 8, 16034, 17858, 17496, 44441, 11050, ...
Tell me the rank for year of 2012 and out of larger than 176
SELECT rank FROM table_name_66 WHERE year = "2012" AND out_of > 176
[ 24446, 502, 262, 4279, 329, 614, 286, 2321, 290, 503, 286, 4025, 621, 26937, 46506, 4279, 16034, 3084, 62, 3672, 62, 2791, 33411, 614, 796, 366, 6999, 1, 5357, 503, 62, 1659, 1875, 26937 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4279, 329, 614, 286, 2321, 290, 503, 286, 4025, 621, 26937, 46506, 4279, 16034, 3084, 62, 3672, 62, 2791, 33411, 614, 796, 366, 6999, 1, 5357, 503, 62, 1659, 1875, 26937 ]
What kind of Obama that has a Source of rasmussen reports?
SELECT "Obama" FROM table_42109 WHERE "Source" = 'rasmussen reports'
[ 2061, 1611, 286, 2486, 326, 468, 257, 8090, 286, 374, 8597, 35951, 3136, 30, 46506, 366, 15948, 1, 16034, 3084, 62, 3682, 14454, 33411, 366, 7416, 1, 796, 705, 81, 8597, 35951, 3136, 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, 1611, 286, 2486, 326, 468, 257, 8090, 286, 374, 8597, 35951, 3136, 30, 46506, 366, 15948, 1, 16034, 3084, 62, 3682, 14454, 33411, 366, 7416, 1, 796, 705, 81, 8597, 35951, 3136, 6 ]
What is the acronym for the school whose website is ul.edu.lb
SELECT acronym FROM table_1160660_1 WHERE website = "ul.edu.lb"
[ 2061, 318, 262, 38787, 329, 262, 1524, 3025, 3052, 318, 14856, 13, 15532, 13, 23160, 46506, 38787, 16034, 3084, 62, 1157, 33206, 1899, 62, 16, 33411, 3052, 796, 366, 377, 13, 15532, 13, 23160, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38787, 329, 262, 1524, 3025, 3052, 318, 14856, 13, 15532, 13, 23160, 46506, 38787, 16034, 3084, 62, 1157, 33206, 1899, 62, 16, 33411, 3052, 796, 366, 377, 13, 15532, 13, 23160, 1 ]
what is the arabic capital name where the english capital name is beirut?
SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Beirut"
[ 10919, 318, 262, 610, 397, 291, 3139, 1438, 810, 262, 46932, 3139, 1438, 318, 307, 343, 315, 30, 46506, 610, 397, 291, 62, 27544, 62, 3672, 16034, 3084, 62, 1314, 45214, 38205, 62, 16, 33411, 46932, 62, 27544, 62, 3672, 796, 366, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 610, 397, 291, 3139, 1438, 810, 262, 46932, 3139, 1438, 318, 307, 343, 315, 30, 46506, 610, 397, 291, 62, 27544, 62, 3672, 16034, 3084, 62, 1314, 45214, 38205, 62, 16, 33411, 46932, 62, 27544, 62, 3672, 796, 366, 38...
what did patient 035-24054 have first as the output on the current icu visit?
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-24054') AND patient.unitdischargetime IS NULL) AND intak...
[ 10919, 750, 5827, 657, 2327, 12, 1731, 2713, 19, 423, 717, 355, 262, 5072, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 5827, 657, 2327, 12, 1731, 2713, 19, 423, 717, 355, 262, 5072, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 465...
What are the number of the dates of the assessment notes?
SELECT date_of_notes, COUNT(date_of_notes) FROM Assessment_Notes
[ 2061, 389, 262, 1271, 286, 262, 9667, 286, 262, 8922, 4710, 30, 46506, 3128, 62, 1659, 62, 17815, 11, 327, 28270, 7, 4475, 62, 1659, 62, 17815, 8, 16034, 25809, 62, 16130 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1271, 286, 262, 9667, 286, 262, 8922, 4710, 30, 46506, 3128, 62, 1659, 62, 17815, 11, 327, 28270, 7, 4475, 62, 1659, 62, 17815, 8, 16034, 25809, 62, 16130 ]
Whose name in Polish holds the Lublin seat?
SELECT "Name in Polish" FROM table_16924 WHERE "Seat" = 'Lublin'
[ 1199, 577, 1438, 287, 15945, 6622, 262, 40753, 2815, 5852, 30, 46506, 366, 5376, 287, 15945, 1, 16034, 3084, 62, 22172, 1731, 33411, 366, 50, 4098, 1, 796, 705, 43, 549, 2815, 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 ]
[ 1199, 577, 1438, 287, 15945, 6622, 262, 40753, 2815, 5852, 30, 46506, 366, 5376, 287, 15945, 1, 16034, 3084, 62, 22172, 1731, 33411, 366, 50, 4098, 1, 796, 705, 43, 549, 2815, 6 ]
How many instructors are in the department with the highest budget, and what is their average salary?
SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1
[ 2437, 867, 33667, 389, 287, 262, 5011, 351, 262, 4511, 4466, 11, 290, 644, 318, 511, 2811, 9588, 30, 46506, 35224, 7, 51, 16, 13, 21680, 560, 828, 327, 28270, 7, 28104, 16034, 21187, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 33667, 389, 287, 262, 5011, 351, 262, 4511, 4466, 11, 290, 644, 318, 511, 2811, 9588, 30, 46506, 35224, 7, 51, 16, 13, 21680, 560, 828, 327, 28270, 7, 28104, 16034, 21187, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, ...
Give me a bar graph for what is the total number of last names of all candidates?, I want to rank in asc by the how many last name please.
SELECT last_name, COUNT(last_name) FROM People GROUP BY last_name ORDER BY COUNT(last_name)
[ 23318, 502, 257, 2318, 4823, 329, 644, 318, 262, 2472, 1271, 286, 938, 3891, 286, 477, 5871, 21747, 314, 765, 284, 4279, 287, 10570, 416, 262, 703, 867, 938, 1438, 3387, 13, 46506, 938, 62, 3672, 11, 327, 28270, 7, 12957, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 4823, 329, 644, 318, 262, 2472, 1271, 286, 938, 3891, 286, 477, 5871, 21747, 314, 765, 284, 4279, 287, 10570, 416, 262, 703, 867, 938, 1438, 3387, 13, 46506, 938, 62, 3672, 11, 327, 28270, 7, 12957, 62, 3672, ...
how many patients are diagnosed with staphylococcus pneumonia have blood gas lab test category?
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 = "Other Staphylococcus pneumonia" AND lab."CATEGORY" = "Blood Gas"
[ 4919, 867, 3871, 389, 14641, 351, 336, 6570, 2645, 34403, 9042, 35647, 423, 2910, 3623, 2248, 1332, 6536, 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...
[ 4919, 867, 3871, 389, 14641, 351, 336, 6570, 2645, 34403, 9042, 35647, 423, 2910, 3623, 2248, 1332, 6536, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177,...
Who is the August playmate with the October playmate Shannon Long?
SELECT august FROM table_name_51 WHERE october = "shannon long"
[ 8241, 318, 262, 2932, 711, 9830, 351, 262, 3267, 711, 9830, 28108, 5882, 30, 46506, 16339, 436, 16034, 3084, 62, 3672, 62, 4349, 33411, 19318, 2023, 796, 366, 1477, 8825, 890, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2932, 711, 9830, 351, 262, 3267, 711, 9830, 28108, 5882, 30, 46506, 16339, 436, 16034, 3084, 62, 3672, 62, 4349, 33411, 19318, 2023, 796, 366, 1477, 8825, 890, 1 ]
How many different circuits had Gary Gibson has the Lites 1 race two winning team?
SELECT COUNT(lites_2_race_one_winning_team) FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "Gary Gibson"
[ 2437, 867, 1180, 24907, 550, 10936, 20400, 468, 262, 406, 2737, 352, 3234, 734, 5442, 1074, 30, 46506, 327, 28270, 7, 75, 2737, 62, 17, 62, 16740, 62, 505, 62, 14463, 62, 15097, 8, 16034, 3084, 62, 25540, 2548, 8054, 62, 18, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1180, 24907, 550, 10936, 20400, 468, 262, 406, 2737, 352, 3234, 734, 5442, 1074, 30, 46506, 327, 28270, 7, 75, 2737, 62, 17, 62, 16740, 62, 505, 62, 14463, 62, 15097, 8, 16034, 3084, 62, 25540, 2548, 8054, 62, 18, 33411, ...
Please list the total number of title with the production code 211.
SELECT COUNT("Title") FROM table_515 WHERE "Production Code" = '211'
[ 5492, 1351, 262, 2472, 1271, 286, 3670, 351, 262, 3227, 2438, 28714, 13, 46506, 327, 28270, 7203, 19160, 4943, 16034, 3084, 62, 45969, 33411, 366, 35027, 6127, 1, 796, 705, 21895, 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 ]
[ 5492, 1351, 262, 2472, 1271, 286, 3670, 351, 262, 3227, 2438, 28714, 13, 46506, 327, 28270, 7203, 19160, 4943, 16034, 3084, 62, 45969, 33411, 366, 35027, 6127, 1, 796, 705, 21895, 6 ]
papers on Liquid Automatica
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'Liquid' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND venue.venueid = paper.venueid AND venue.venuename = 'Automatica'
[ 40491, 319, 21020, 30199, 64, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 41966, 6, 5357, 3348, 2539, 3467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 40491, 319, 21020, 30199, 64, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 41966, 6, 5357, 3348, 2539, 3467...
Accepted answers by a given user.
SELECT a.Id AS "post_link", a.Score, a.CreationDate FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.OwnerUserId = '##userid##' ORDER BY a.CreationDate DESC LIMIT 100
[ 38855, 276, 7429, 416, 257, 1813, 2836, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 11, 257, 13, 12443, 341, 10430, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 10662, 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...
[ 38855, 276, 7429, 416, 257, 1813, 2836, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 11, 257, 13, 12443, 341, 10430, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 10662, 13, ...
Return a histogram on how many exhibitions has each artist had?, and rank in descending by the Y.
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID ORDER BY COUNT(*) DESC
[ 13615, 257, 1554, 21857, 319, 703, 867, 48130, 468, 1123, 6802, 550, 21747, 290, 4279, 287, 31491, 416, 262, 575, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268, 6802, 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...
[ 13615, 257, 1554, 21857, 319, 703, 867, 48130, 468, 1123, 6802, 550, 21747, 290, 4279, 287, 31491, 416, 262, 575, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17, 6177, 309, 16,...
Where was the game played when the Buffalo Bills had a record of 8-8?
SELECT "Location" FROM table_7507 WHERE "Record" = '8-8'
[ 8496, 373, 262, 983, 2826, 618, 262, 14905, 20209, 550, 257, 1700, 286, 807, 12, 23, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 15426, 22, 33411, 366, 23739, 1, 796, 705, 23, 12, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 983, 2826, 618, 262, 14905, 20209, 550, 257, 1700, 286, 807, 12, 23, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 15426, 22, 33411, 366, 23739, 1, 796, 705, 23, 12, 23, 6 ]
Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold?
SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6
[ 18712, 263, 621, 604, 11, 290, 257, 7698, 4025, 621, 657, 11, 290, 257, 10916, 286, 513, 11, 290, 257, 19461, 4833, 621, 718, 788, 644, 318, 262, 2160, 286, 262, 3869, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3324...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18712, 263, 621, 604, 11, 290, 257, 7698, 4025, 621, 657, 11, 290, 257, 10916, 286, 513, 11, 290, 257, 19461, 4833, 621, 718, 788, 644, 318, 262, 2160, 286, 262, 3869, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3324...
Which lowest played has a Position of 2, and Goals against larger than 53?
SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53
[ 13828, 9016, 2826, 468, 257, 23158, 286, 362, 11, 290, 28510, 1028, 4025, 621, 7192, 30, 46506, 20625, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 21, 33411, 2292, 796, 362, 5357, 4661, 62, 32826, 1875, 7192 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 2826, 468, 257, 23158, 286, 362, 11, 290, 28510, 1028, 4025, 621, 7192, 30, 46506, 20625, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 21, 33411, 2292, 796, 362, 5357, 4661, 62, 32826, 1875, 7192 ]
when was patient 035-20156 given a chloride lab test for the last time?
SELECT 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 = '035-20156')) AND lab.labname = 'chloride' ORDER BY lab.labresulttime DESC LIMIT 1
[ 12518, 373, 5827, 657, 2327, 12, 1264, 3980, 1813, 257, 44921, 2248, 1332, 329, 262, 938, 640, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 657, 2327, 12, 1264, 3980, 1813, 257, 44921, 2248, 1332, 329, 262, 938, 640, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31...
What country has signed type moving from porto?
SELECT country FROM table_name_75 WHERE type = "signed" AND moving_from = "porto"
[ 2061, 1499, 468, 4488, 2099, 3867, 422, 2493, 78, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2425, 33411, 2099, 796, 366, 32696, 1, 5357, 3867, 62, 6738, 796, 366, 634, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 468, 4488, 2099, 3867, 422, 2493, 78, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2425, 33411, 2099, 796, 366, 32696, 1, 5357, 3867, 62, 6738, 796, 366, 634, 78, 1 ]
What station was owned since 2011, and a channel (tv/rf) of 27?
SELECT "Station" FROM table_65083 WHERE "Owned Since" = '2011' AND "Channel ( TV / RF )" = '27'
[ 2061, 4429, 373, 6898, 1201, 2813, 11, 290, 257, 6518, 357, 14981, 14, 41871, 8, 286, 2681, 30, 46506, 366, 12367, 1, 16034, 3084, 62, 17544, 5999, 33411, 366, 23858, 276, 4619, 1, 796, 705, 9804, 6, 5357, 366, 29239, 357, 3195, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4429, 373, 6898, 1201, 2813, 11, 290, 257, 6518, 357, 14981, 14, 41871, 8, 286, 2681, 30, 46506, 366, 12367, 1, 16034, 3084, 62, 17544, 5999, 33411, 366, 23858, 276, 4619, 1, 796, 705, 9804, 6, 5357, 366, 29239, 357, 3195, 122...
What is the largest Against with an Opposing Teams of wales?
SELECT MAX("Against") FROM table_61812 WHERE "Opposing Teams" = 'wales'
[ 2061, 318, 262, 4387, 12914, 351, 281, 9385, 2752, 24690, 286, 266, 2040, 30, 46506, 25882, 7203, 39276, 4943, 16034, 3084, 62, 47448, 1065, 33411, 366, 27524, 2752, 24690, 1, 796, 705, 86, 2040, 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, 4387, 12914, 351, 281, 9385, 2752, 24690, 286, 266, 2040, 30, 46506, 25882, 7203, 39276, 4943, 16034, 3084, 62, 47448, 1065, 33411, 366, 27524, 2752, 24690, 1, 796, 705, 86, 2040, 6 ]
please list all flights into DENVER before 1200 on UA and NW
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE ((flight.airline_code = 'NW') OR (flight.airline_code = 'UA')) AND (city.city_code = airport_service.city_code AND city.city_name = 'DENVER' AND flight.arrival_time < 1200 AND flight.to_airport = airport_service.airport_code)
[ 29688, 1351, 477, 13956, 656, 37692, 5959, 878, 24938, 319, 46164, 290, 21966, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 14808, 22560, 13, 958, 1370, 62, 8189, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29688, 1351, 477, 13956, 656, 37692, 5959, 878, 24938, 319, 46164, 290, 21966, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 14808, 22560, 13, 958, 1370, 62, 8189, 796, 705, ...
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of hire_date and the amount of hire_date bin hire_date by weekday, and rank in asc by the Y.
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY COUNT(HIRE_DATE)
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 4279, 287, 10570, 416...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 4279, 287, 10570, 416...
Name the lowest Col (m) with a Peak of pico basil , and a Prominence (m) smaller than 3,011?
SELECT MIN(col__m_) FROM table_name_50 WHERE peak = "pico basilé" AND prominence__m_ < 3 OFFSET 011
[ 5376, 262, 9016, 1623, 357, 76, 8, 351, 257, 23974, 286, 279, 3713, 37792, 837, 290, 257, 10335, 18386, 357, 76, 8, 4833, 621, 513, 11, 28555, 30, 46506, 20625, 7, 4033, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 9103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 1623, 357, 76, 8, 351, 257, 23974, 286, 279, 3713, 37792, 837, 290, 257, 10335, 18386, 357, 76, 8, 4833, 621, 513, 11, 28555, 30, 46506, 20625, 7, 4033, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 9103...
give the number of patients whose discharge location is dead/expired and who were admitted before the year 2174.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DEAD/EXPIRED" AND demographic.admityear < "2174"
[ 26535, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 2636, 14, 1069, 6474, 290, 508, 547, 6848, 878, 262, 614, 362, 22985, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 2636, 14, 1069, 6474, 290, 508, 547, 6848, 878, 262, 614, 362, 22985, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, ...
what is age and gender of subject id 76508?
SELECT demographic.age, demographic.gender FROM demographic WHERE demographic.subject_id = "76508"
[ 10919, 318, 2479, 290, 5279, 286, 2426, 4686, 8684, 33042, 30, 46506, 16728, 13, 496, 11, 16728, 13, 8388, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 4304, 33042, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 290, 5279, 286, 2426, 4686, 8684, 33042, 30, 46506, 16728, 13, 496, 11, 16728, 13, 8388, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 4304, 33042, 1 ]
Show me the comparison of the total number of all ships' nationalities with a bar graph, and I want to sort in desc by the x axis.
SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Nationality ORDER BY Nationality DESC
[ 15307, 502, 262, 7208, 286, 262, 2472, 1271, 286, 477, 7937, 6, 2260, 871, 351, 257, 2318, 4823, 11, 290, 314, 765, 284, 3297, 287, 1715, 416, 262, 2124, 16488, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 4074, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 262, 7208, 286, 262, 2472, 1271, 286, 477, 7937, 6, 2260, 871, 351, 257, 2318, 4823, 11, 290, 314, 765, 284, 3297, 287, 1715, 416, 262, 2124, 16488, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 4074, ...
What is the sum of all crowds present at the Glenferrie Oval venue?
SELECT SUM("Crowd") FROM table_74737 WHERE "Venue" = 'glenferrie oval'
[ 2061, 318, 262, 2160, 286, 477, 15779, 1944, 379, 262, 20716, 2232, 5034, 25165, 14359, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 48882, 2718, 33411, 366, 37522, 518, 1, 796, 705, 4743, 268, 2232, 5034, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 477, 15779, 1944, 379, 262, 20716, 2232, 5034, 25165, 14359, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 48882, 2718, 33411, 366, 37522, 518, 1, 796, 705, 4743, 268, 2232, 5034, 41186, 6 ]
What is the losing bonus when drawn was 0, and there were 101 points?
SELECT "Losing bonus" FROM table_76846 WHERE "Drawn" = '0' AND "Points" = '101'
[ 2061, 318, 262, 6078, 7202, 618, 7428, 373, 657, 11, 290, 612, 547, 8949, 2173, 30, 46506, 366, 43, 2752, 7202, 1, 16034, 3084, 62, 30610, 3510, 33411, 366, 35, 5791, 1, 796, 705, 15, 6, 5357, 366, 40710, 1, 796, 705, 8784, 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 ]
[ 2061, 318, 262, 6078, 7202, 618, 7428, 373, 657, 11, 290, 612, 547, 8949, 2173, 30, 46506, 366, 43, 2752, 7202, 1, 16034, 3084, 62, 30610, 3510, 33411, 366, 35, 5791, 1, 796, 705, 15, 6, 5357, 366, 40710, 1, 796, 705, 8784, 6 ]
Name the score for game for 25
SELECT score FROM table_17103729_8 WHERE game = 25
[ 5376, 262, 4776, 329, 983, 329, 1679, 46506, 4776, 16034, 3084, 62, 1558, 940, 2718, 1959, 62, 23, 33411, 983, 796, 1679 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4776, 329, 983, 329, 1679, 46506, 4776, 16034, 3084, 62, 1558, 940, 2718, 1959, 62, 23, 33411, 983, 796, 1679 ]
what were the top three most frequent drugs that followed during the same hospital visit for patients who were receiving sm bowel stoma closure in 2102?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FR...
[ 10919, 547, 262, 1353, 1115, 749, 10792, 5010, 326, 3940, 1141, 262, 976, 4436, 3187, 329, 3871, 508, 547, 6464, 895, 35711, 336, 6086, 16512, 287, 362, 15377, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 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...
[ 10919, 547, 262, 1353, 1115, 749, 10792, 5010, 326, 3940, 1141, 262, 976, 4436, 3187, 329, 3871, 508, 547, 6464, 895, 35711, 336, 6086, 16512, 287, 362, 15377, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, ...
Monthly tag upvote Trends (# Upvotes per tag per Month).
SELECT DATEADD(mm, (YEAR(Votes.CreationDate) - 1900) * 12 + MONTH(Votes.CreationDate) - 1, 0) AS Month, Tags.TagName, CAST(COUNT(*) AS DECIMAL) / 20.0 AS Upvotes FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Votes ON Votes.PostId = PostTags.PostId WHERE Tags.TagName IN ('angular', 'reactjs', 'vue.j...
[ 31948, 306, 7621, 510, 27257, 34308, 17426, 3205, 29307, 583, 7621, 583, 16061, 737, 46506, 360, 6158, 29266, 7, 3020, 11, 357, 56, 17133, 7, 53, 6421, 13, 12443, 341, 10430, 8, 532, 21489, 8, 1635, 1105, 1343, 25000, 4221, 7, 53, 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...
[ 31948, 306, 7621, 510, 27257, 34308, 17426, 3205, 29307, 583, 7621, 583, 16061, 737, 46506, 360, 6158, 29266, 7, 3020, 11, 357, 56, 17133, 7, 53, 6421, 13, 12443, 341, 10430, 8, 532, 21489, 8, 1635, 1105, 1343, 25000, 4221, 7, 53, 6...
What authority controls the school in Levin that has a decile of 6, and a roll of 226?
SELECT authority FROM table_name_54 WHERE decile = 6 AND area = "levin" AND roll = 226
[ 2061, 4934, 6973, 262, 1524, 287, 32325, 326, 468, 257, 875, 576, 286, 718, 11, 290, 257, 4836, 286, 31510, 30, 46506, 4934, 16034, 3084, 62, 3672, 62, 4051, 33411, 875, 576, 796, 718, 5357, 1989, 796, 366, 2768, 259, 1, 5357, 4836,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4934, 6973, 262, 1524, 287, 32325, 326, 468, 257, 875, 576, 286, 718, 11, 290, 257, 4836, 286, 31510, 30, 46506, 4934, 16034, 3084, 62, 3672, 62, 4051, 33411, 875, 576, 796, 718, 5357, 1989, 796, 366, 2768, 259, 1, 5357, 4836,...
Which player went to the college Southern California?
SELECT player FROM table_11677691_4 WHERE college = "Southern California"
[ 13828, 2137, 1816, 284, 262, 4152, 8050, 3442, 30, 46506, 2137, 16034, 3084, 62, 1157, 40179, 49541, 62, 19, 33411, 4152, 796, 366, 44993, 3442, 1 ]
[ 1, 1, 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, 2137, 1816, 284, 262, 4152, 8050, 3442, 30, 46506, 2137, 16034, 3084, 62, 1157, 40179, 49541, 62, 19, 33411, 4152, 796, 366, 44993, 3442, 1 ]
Name the college for andrej podkonicky
SELECT "College/junior/club team" FROM table_74274 WHERE "Player" = 'Andrej Podkonicky'
[ 5376, 262, 4152, 329, 290, 260, 73, 24573, 74, 261, 17479, 46506, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 1, 16034, 3084, 62, 4524, 28857, 33411, 366, 14140, 1, 796, 705, 31258, 73, 17437, 74, 261, 17479, 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 ]
[ 5376, 262, 4152, 329, 290, 260, 73, 24573, 74, 261, 17479, 46506, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 1, 16034, 3084, 62, 4524, 28857, 33411, 366, 14140, 1, 796, 705, 31258, 73, 17437, 74, 261, 17479, 6 ]
Which Opponents have a Year of 1998 99, and a Team of aston villa?
SELECT opponents FROM table_name_23 WHERE year = "1998–99" AND team = "aston villa"
[ 13828, 9385, 3906, 423, 257, 6280, 286, 7795, 7388, 11, 290, 257, 4816, 286, 16128, 4489, 64, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 1954, 33411, 614, 796, 366, 21113, 1906, 2079, 1, 5357, 1074, 796, 366, 45966, 4489, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9385, 3906, 423, 257, 6280, 286, 7795, 7388, 11, 290, 257, 4816, 286, 16128, 4489, 64, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 1954, 33411, 614, 796, 366, 21113, 1906, 2079, 1, 5357, 1074, 796, 366, 45966, 4489, 64, 1 ]
What are the requirements for a CS-LSA degree ?
SELECT DISTINCT program_requirement.additional_req, program_requirement.category, program_requirement.min_credit, program.name FROM program, program_requirement WHERE program.name LIKE '%CS-LSA%' AND program.program_id = program_requirement.program_id
[ 2061, 389, 262, 5359, 329, 257, 9429, 12, 43, 4090, 4922, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 8897, 24615, 13, 2860, 1859, 62, 42180, 11, 1430, 62, 8897, 24615, 13, 22872, 11, 1430, 62, 8897, 24615, 13, 1084, 62, 43082, 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...
[ 2061, 389, 262, 5359, 329, 257, 9429, 12, 43, 4090, 4922, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 8897, 24615, 13, 2860, 1859, 62, 42180, 11, 1430, 62, 8897, 24615, 13, 22872, 11, 1430, 62, 8897, 24615, 13, 1084, 62, 43082, 11...
what is the character with the duration of 11 years?
SELECT character FROM table_name_47 WHERE duration = "11 years"
[ 10919, 318, 262, 2095, 351, 262, 9478, 286, 1367, 812, 30, 46506, 2095, 16034, 3084, 62, 3672, 62, 2857, 33411, 9478, 796, 366, 1157, 812, 1 ]
[ 1, 1, 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, 2095, 351, 262, 9478, 286, 1367, 812, 30, 46506, 2095, 16034, 3084, 62, 3672, 62, 2857, 33411, 9478, 796, 366, 1157, 812, 1 ]
What other mozilla has January 2010 as the period?
SELECT "Other Mozilla" FROM table_64269 WHERE "Period" = 'january 2010'
[ 2061, 584, 6941, 16496, 468, 3269, 3050, 355, 262, 2278, 30, 46506, 366, 6395, 29258, 1, 16034, 3084, 62, 2414, 26276, 33411, 366, 5990, 2101, 1, 796, 705, 13881, 2838, 3050, 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, 584, 6941, 16496, 468, 3269, 3050, 355, 262, 2278, 30, 46506, 366, 6395, 29258, 1, 16034, 3084, 62, 2414, 26276, 33411, 366, 5990, 2101, 1, 796, 705, 13881, 2838, 3050, 6 ]
Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?
SELECT "NFL team" FROM table_60452 WHERE "Overall" > '118' AND "Pick" > '9' AND "Round" > '5' AND "Position" = 'de'
[ 13828, 5134, 1074, 7690, 257, 2292, 286, 5550, 618, 262, 2298, 373, 4025, 621, 860, 11, 706, 2835, 642, 11, 290, 262, 625, 282, 373, 4025, 621, 19035, 30, 46506, 366, 32078, 1074, 1, 16034, 3084, 62, 1899, 37730, 33411, 366, 16350, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5134, 1074, 7690, 257, 2292, 286, 5550, 618, 262, 2298, 373, 4025, 621, 860, 11, 706, 2835, 642, 11, 290, 262, 625, 282, 373, 4025, 621, 19035, 30, 46506, 366, 32078, 1074, 1, 16034, 3084, 62, 1899, 37730, 33411, 366, 16350, ...
What years did art grand prix compete?
SELECT "Season" FROM table_16297 WHERE "Team Name" = 'ART Grand Prix'
[ 2061, 812, 750, 1242, 4490, 1293, 87, 9320, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 1433, 26561, 33411, 366, 15592, 6530, 1, 796, 705, 7227, 5675, 23832, 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, 812, 750, 1242, 4490, 1293, 87, 9320, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 1433, 26561, 33411, 366, 15592, 6530, 1, 796, 705, 7227, 5675, 23832, 6 ]
count the numbers of people that have been admitted to the hospital since 4 years ago.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-4 year')
[ 9127, 262, 3146, 286, 661, 326, 423, 587, 6848, 284, 262, 4436, 1201, 604, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 360, 1404, 2767, 12789, 7, 26029, 13, 49257,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3146, 286, 661, 326, 423, 587, 6848, 284, 262, 4436, 1201, 604, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 360, 1404, 2767, 12789, 7, 26029, 13, 49257,...
Titles from last 6 months.
SELECT (Title) FROM Posts WHERE CreationDate > '2016-11-05 14:29:36'
[ 51, 30540, 422, 938, 718, 1933, 13, 46506, 357, 19160, 8, 16034, 12043, 33411, 21582, 10430, 1875, 705, 5304, 12, 1157, 12, 2713, 1478, 25, 1959, 25, 2623, 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 ]
[ 51, 30540, 422, 938, 718, 1933, 13, 46506, 357, 19160, 8, 16034, 12043, 33411, 21582, 10430, 1875, 705, 5304, 12, 1157, 12, 2713, 1478, 25, 1959, 25, 2623, 6 ]
Which Image attachment has a Threaded of yes, and a Calendar of yes?
SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes"
[ 13828, 7412, 18231, 468, 257, 14122, 276, 286, 3763, 11, 290, 257, 26506, 286, 3763, 30, 46506, 2939, 62, 1078, 15520, 16034, 3084, 62, 3672, 62, 2598, 33411, 40945, 796, 366, 8505, 1, 5357, 11845, 796, 366, 8505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7412, 18231, 468, 257, 14122, 276, 286, 3763, 11, 290, 257, 26506, 286, 3763, 30, 46506, 2939, 62, 1078, 15520, 16034, 3084, 62, 3672, 62, 2598, 33411, 40945, 796, 366, 8505, 1, 5357, 11845, 796, 366, 8505, 1 ]
Unanswered questions on which a bounty was once set.
SELECT p.Id AS "post_link", p.Score, p.OwnerUserId AS "user_link", p.Tags FROM Posts AS p INNER JOIN Votes AS v ON p.Id = v.PostId WHERE v.VoteTypeId = 8 ORDER BY p.CreationDate
[ 3118, 31966, 2683, 319, 543, 257, 24180, 373, 1752, 900, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 11, 279, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 279, 13, 36142, 16034, 12043, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3118, 31966, 2683, 319, 543, 257, 24180, 373, 1752, 900, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 11, 279, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 279, 13, 36142, 16034, 12043, 7054, ...
What is the Place of the Player with 122,100 Money and a Score of 68-70-68-74=280?
SELECT "Place" FROM table_43876 WHERE "Money ( \u00a3 )" > '122,100' AND "Score" = '68-70-68-74=280'
[ 2061, 318, 262, 8474, 286, 262, 7853, 351, 19409, 11, 3064, 12911, 290, 257, 15178, 286, 8257, 12, 2154, 12, 3104, 12, 4524, 28, 21033, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 43704, 4304, 33411, 366, 26788, 357, 3467, 84, 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, 1, 1, 1, 1, 1, 1, 1, 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, 8474, 286, 262, 7853, 351, 19409, 11, 3064, 12911, 290, 257, 15178, 286, 8257, 12, 2154, 12, 3104, 12, 4524, 28, 21033, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 43704, 4304, 33411, 366, 26788, 357, 3467, 84, 405, 6...
give me the number of patients whose days of hospital stay is greater than 1 and drug code is meth40?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "1" AND prescriptions.formulary_drug_cd = "METH40"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 352, 290, 2563, 2438, 318, 11248, 1821, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 352, 290, 2563, 2438, 318, 11248, 1821, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
what is the drug that was prescribed to patient 005-77687 during the same hospital visit after the diagnosis of acute renal failure - acute tubular necrosis in this month?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =...
[ 10919, 318, 262, 2563, 326, 373, 14798, 284, 5827, 3571, 20, 12, 3324, 39925, 1141, 262, 976, 4436, 3187, 706, 262, 13669, 286, 14352, 44375, 5287, 532, 14352, 12202, 934, 27576, 37172, 287, 428, 1227, 30, 46506, 256, 17, 13, 30349, 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...
[ 10919, 318, 262, 2563, 326, 373, 14798, 284, 5827, 3571, 20, 12, 3324, 39925, 1141, 262, 976, 4436, 3187, 706, 262, 13669, 286, 14352, 44375, 5287, 532, 14352, 12202, 934, 27576, 37172, 287, 428, 1227, 30, 46506, 256, 17, 13, 30349, 3...
Name the date for chris evert opponent and carpet surface
SELECT "Date" FROM table_69647 WHERE "Opponent" = 'chris evert' AND "Surface" = 'carpet'
[ 5376, 262, 3128, 329, 442, 2442, 1683, 83, 6125, 290, 20710, 4417, 46506, 366, 10430, 1, 16034, 3084, 62, 3388, 33981, 33411, 366, 27524, 3471, 1, 796, 705, 354, 2442, 1683, 83, 6, 5357, 366, 14214, 2550, 1, 796, 705, 66, 5117, 316,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 329, 442, 2442, 1683, 83, 6125, 290, 20710, 4417, 46506, 366, 10430, 1, 16034, 3084, 62, 3388, 33981, 33411, 366, 27524, 3471, 1, 796, 705, 354, 2442, 1683, 83, 6, 5357, 366, 14214, 2550, 1, 796, 705, 66, 5117, 316,...
What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?
SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur batteries"
[ 2061, 338, 262, 3227, 611, 262, 3037, 318, 21072, 12, 82, 4754, 333, 13591, 290, 3763, 284, 11422, 5696, 30, 46506, 287, 62, 25493, 16034, 3084, 62, 3672, 62, 2670, 33411, 11422, 62, 33665, 82, 796, 366, 8505, 1, 5357, 3037, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 3227, 611, 262, 3037, 318, 21072, 12, 82, 4754, 333, 13591, 290, 3763, 284, 11422, 5696, 30, 46506, 287, 62, 25493, 16034, 3084, 62, 3672, 62, 2670, 33411, 11422, 62, 33665, 82, 796, 366, 8505, 1, 5357, 3037, 796, 36...
show me flights from DALLAS to PITTSBURGH
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU...
[ 12860, 502, 13956, 422, 360, 7036, 1921, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 422, 360, 7036, 1921, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 154...
Name the starts for 2009
SELECT "Starts" FROM table_29380 WHERE "Season" = '2009'
[ 5376, 262, 4940, 329, 3717, 46506, 366, 1273, 5889, 1, 16034, 3084, 62, 1959, 23734, 33411, 366, 18960, 1, 796, 705, 10531, 6 ]
[ 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, 4940, 329, 3717, 46506, 366, 1273, 5889, 1, 16034, 3084, 62, 1959, 23734, 33411, 366, 18960, 1, 796, 705, 10531, 6 ]
What was the score when attendance was 19,887?
SELECT "Record" FROM table_32479 WHERE "Attendance" = '19,887'
[ 2061, 373, 262, 4776, 618, 14858, 373, 678, 11, 46660, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 33916, 3720, 33411, 366, 8086, 437, 590, 1, 796, 705, 1129, 11, 46660, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 618, 14858, 373, 678, 11, 46660, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 33916, 3720, 33411, 366, 8086, 437, 590, 1, 796, 705, 1129, 11, 46660, 6 ]
Show me minimal weight by sex in a histogram, order total number from high to low order.
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex ORDER BY MIN(Weight) DESC
[ 15307, 502, 10926, 3463, 416, 1714, 287, 257, 1554, 21857, 11, 1502, 2472, 1271, 422, 1029, 284, 1877, 1502, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 20625, 7, 25844, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 10926, 3463, 416, 1714, 287, 257, 1554, 21857, 11, 1502, 2472, 1271, 422, 1029, 284, 1877, 1502, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 20625, 7, 25844, 8, 22196, 34 ]
What is the average attendance that has june 24 as the date?
SELECT AVG(attendance) FROM table_name_14 WHERE date = "june 24"
[ 2061, 318, 262, 2811, 14858, 326, 468, 474, 1726, 1987, 355, 262, 3128, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 3128, 796, 366, 73, 1726, 1987, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 326, 468, 474, 1726, 1987, 355, 262, 3128, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 3128, 796, 366, 73, 1726, 1987, 1 ]
What players played the position of left tackle?
SELECT "Player" FROM table_1034 WHERE "Position" = 'Left tackle'
[ 2061, 1938, 2826, 262, 2292, 286, 1364, 9761, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 940, 2682, 33411, 366, 26545, 1, 796, 705, 18819, 9761, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1938, 2826, 262, 2292, 286, 1364, 9761, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 940, 2682, 33411, 366, 26545, 1, 796, 705, 18819, 9761, 6 ]
Show the party and the number of drivers in each party with a bar chart, and order from low to high by the bars.
SELECT Party, COUNT(*) FROM driver GROUP BY Party ORDER BY Party
[ 15307, 262, 2151, 290, 262, 1271, 286, 6643, 287, 1123, 2151, 351, 257, 2318, 8262, 11, 290, 1502, 422, 1877, 284, 1029, 416, 262, 9210, 13, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 4639, 44441, 11050, 3615, 38678, 11050, 3615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2151, 290, 262, 1271, 286, 6643, 287, 1123, 2151, 351, 257, 2318, 8262, 11, 290, 1502, 422, 1877, 284, 1029, 416, 262, 9210, 13, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 4639, 44441, 11050, 3615, 38678, 11050, 3615 ]
How much money did Willie Klein take home from the game in which he had a to par score larger than 13?
SELECT SUM("Money ( $ )") FROM table_62381 WHERE "Player" = 'willie klein' AND "To par" > '13'
[ 2437, 881, 1637, 750, 28623, 22864, 1011, 1363, 422, 262, 983, 287, 543, 339, 550, 257, 284, 1582, 4776, 4025, 621, 1511, 30, 46506, 35683, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 46872, 6659, 33411, 366, 14140, 1, 796, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 1637, 750, 28623, 22864, 1011, 1363, 422, 262, 983, 287, 543, 339, 550, 257, 284, 1582, 4776, 4025, 621, 1511, 30, 46506, 35683, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 46872, 6659, 33411, 366, 14140, 1, 796, 70...
In what group stage were 177.2 points awarded?
SELECT COUNT(group_stage) FROM table_1059743_2 WHERE points = "177.2"
[ 818, 644, 1448, 3800, 547, 26607, 13, 17, 2173, 11343, 30, 46506, 327, 28270, 7, 8094, 62, 14247, 8, 16034, 3084, 62, 940, 43239, 3559, 62, 17, 33411, 2173, 796, 366, 22413, 13, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 1448, 3800, 547, 26607, 13, 17, 2173, 11343, 30, 46506, 327, 28270, 7, 8094, 62, 14247, 8, 16034, 3084, 62, 940, 43239, 3559, 62, 17, 33411, 2173, 796, 366, 22413, 13, 17, 1 ]
Name the position for eifelland racing
SELECT "Position" FROM table_73854 WHERE "Team" = 'Eifelland Racing'
[ 5376, 262, 2292, 329, 304, 361, 695, 392, 11717, 46506, 366, 26545, 1, 16034, 3084, 62, 22, 2548, 4051, 33411, 366, 15592, 1, 796, 705, 36, 361, 695, 392, 14954, 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, 2292, 329, 304, 361, 695, 392, 11717, 46506, 366, 26545, 1, 16034, 3084, 62, 22, 2548, 4051, 33411, 366, 15592, 1, 796, 705, 36, 361, 695, 392, 14954, 6 ]
What is the purse when Aidan O'brien was the trainer?
SELECT "Purse" FROM table_6133 WHERE "Trainer" = 'aidan o''brien'
[ 2061, 318, 262, 27517, 618, 22225, 272, 440, 6, 65, 15355, 373, 262, 21997, 30, 46506, 366, 47, 12321, 1, 16034, 3084, 62, 21, 16945, 33411, 366, 2898, 10613, 1, 796, 705, 1698, 272, 267, 7061, 65, 15355, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 27517, 618, 22225, 272, 440, 6, 65, 15355, 373, 262, 21997, 30, 46506, 366, 47, 12321, 1, 16034, 3084, 62, 21, 16945, 33411, 366, 2898, 10613, 1, 796, 705, 1698, 272, 267, 7061, 65, 15355, 6 ]
Who is the home team when the away team is newcastle united?
SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united"
[ 8241, 318, 262, 1363, 1074, 618, 262, 1497, 1074, 318, 649, 18676, 16503, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1433, 33411, 1497, 62, 15097, 796, 366, 3605, 18676, 16503, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 618, 262, 1497, 1074, 318, 649, 18676, 16503, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1433, 33411, 1497, 62, 15097, 796, 366, 3605, 18676, 16503, 1 ]
Which district had a first elected in 1882 with a result of re-elected?
SELECT "District" FROM table_36247 WHERE "First elected" = '1882' AND "Result" = 're-elected'
[ 13828, 4783, 550, 257, 717, 7018, 287, 1248, 6469, 351, 257, 1255, 286, 302, 12, 28604, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 2623, 23753, 33411, 366, 5962, 7018, 1, 796, 705, 1507, 6469, 6, 5357, 366, 23004, 1, 796, 705, 260, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4783, 550, 257, 717, 7018, 287, 1248, 6469, 351, 257, 1255, 286, 302, 12, 28604, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 2623, 23753, 33411, 366, 5962, 7018, 1, 796, 705, 1507, 6469, 6, 5357, 366, 23004, 1, 796, 705, 260, ...