instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Give me a bar chart for total number of team id of each acc road, order by the X-axis in ascending.
SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road
[ 23318, 502, 257, 2318, 8262, 329, 2472, 1271, 286, 1074, 4686, 286, 1123, 697, 2975, 11, 1502, 416, 262, 1395, 12, 22704, 287, 41988, 13, 46506, 15859, 62, 29197, 11, 35683, 7, 15592, 62, 2389, 8, 16034, 9669, 62, 15699, 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 ]
[ 23318, 502, 257, 2318, 8262, 329, 2472, 1271, 286, 1074, 4686, 286, 1123, 697, 2975, 11, 1502, 416, 262, 1395, 12, 22704, 287, 41988, 13, 46506, 15859, 62, 29197, 11, 35683, 7, 15592, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050,...
October 28, 2001 was what week of the season?
SELECT week FROM table_name_98 WHERE date = "october 28, 2001"
[ 18517, 2579, 11, 5878, 373, 644, 1285, 286, 262, 1622, 30, 46506, 1285, 16034, 3084, 62, 3672, 62, 4089, 33411, 3128, 796, 366, 38441, 2023, 2579, 11, 5878, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18517, 2579, 11, 5878, 373, 644, 1285, 286, 262, 1622, 30, 46506, 1285, 16034, 3084, 62, 3672, 62, 4089, 33411, 3128, 796, 366, 38441, 2023, 2579, 11, 5878, 1 ]
Bar graph to show the average of product price from different product category code, and I want to display by the Y-axis in ascending.
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code ORDER BY AVG(product_price)
[ 10374, 4823, 284, 905, 262, 2811, 286, 1720, 2756, 422, 1180, 1720, 6536, 2438, 11, 290, 314, 765, 284, 3359, 416, 262, 575, 12, 22704, 287, 41988, 13, 46506, 1720, 62, 22872, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 1867...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 262, 2811, 286, 1720, 2756, 422, 1180, 1720, 6536, 2438, 11, 290, 314, 765, 284, 3359, 416, 262, 575, 12, 22704, 287, 41988, 13, 46506, 1720, 62, 22872, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 1867...
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla"
[ 2202, 644, 3128, 750, 262, 2872, 1028, 33026, 952, 327, 541, 33011, 11, 2826, 319, 257, 21558, 4417, 11, 3051, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3365, 33411, 4417, 796, 366, 565, 323, 1, 5357, 6125, 62, 259, 62, 1169, 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 ]
[ 2202, 644, 3128, 750, 262, 2872, 1028, 33026, 952, 327, 541, 33011, 11, 2826, 319, 257, 21558, 4417, 11, 3051, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3365, 33411, 4417, 796, 366, 565, 323, 1, 5357, 6125, 62, 259, 62, 1169, 62, ...
What is % of All, when Dennis Kucinich is '5%'?
SELECT "% of all" FROM table_59430 WHERE "Dennis Kucinich" = '5%'
[ 2061, 318, 4064, 286, 1439, 11, 618, 16902, 509, 1229, 259, 488, 318, 705, 20, 4, 30960, 46506, 36521, 286, 477, 1, 16034, 3084, 62, 3270, 31794, 33411, 366, 35, 10679, 509, 1229, 259, 488, 1, 796, 705, 20, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 4064, 286, 1439, 11, 618, 16902, 509, 1229, 259, 488, 318, 705, 20, 4, 30960, 46506, 36521, 286, 477, 1, 16034, 3084, 62, 3270, 31794, 33411, 366, 35, 10679, 509, 1229, 259, 488, 1, 796, 705, 20, 4, 6 ]
select Id, Age from Users group by Age.
SELECT Id, Age, UpVotes FROM Users WHERE UpVotes > 10000 GROUP BY Id, UpVotes, Age
[ 19738, 5121, 11, 7129, 422, 18987, 1448, 416, 7129, 13, 46506, 5121, 11, 7129, 11, 3205, 53, 6421, 16034, 18987, 33411, 3205, 53, 6421, 1875, 33028, 44441, 11050, 5121, 11, 3205, 53, 6421, 11, 7129 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 5121, 11, 7129, 422, 18987, 1448, 416, 7129, 13, 46506, 5121, 11, 7129, 11, 3205, 53, 6421, 16034, 18987, 33411, 3205, 53, 6421, 1875, 33028, 44441, 11050, 5121, 11, 3205, 53, 6421, 11, 7129 ]
What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent?
SELECT MIN(november) FROM table_name_69 WHERE game > 22 AND opponent = "toronto maple leafs"
[ 2061, 318, 262, 14555, 983, 287, 3389, 351, 517, 621, 2534, 5776, 290, 6586, 21249, 25479, 355, 262, 9385, 3471, 30, 46506, 20625, 7, 77, 3239, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 983, 1875, 2534, 5357, 6125, 796, 366, 13165, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 983, 287, 3389, 351, 517, 621, 2534, 5776, 290, 6586, 21249, 25479, 355, 262, 9385, 3471, 30, 46506, 20625, 7, 77, 3239, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 983, 1875, 2534, 5357, 6125, 796, 366, 13165, ...
icml papers in 2016 in deep learning
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'deep learning' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2016 AND venue.venueid = paper.venueid AND venue.venuename = 'icml'
[ 291, 4029, 9473, 287, 1584, 287, 2769, 4673, 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, 22089, 4673, 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...
[ 291, 4029, 9473, 287, 1584, 287, 2769, 4673, 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, 22089, 4673, 6, ...
What is the record of game 42, which had a clemmensen decision?
SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42
[ 2061, 318, 262, 1700, 286, 983, 5433, 11, 543, 550, 257, 1190, 3020, 18756, 2551, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4304, 33411, 2551, 796, 366, 2375, 3020, 18756, 1, 5357, 983, 796, 5433 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 286, 983, 5433, 11, 543, 550, 257, 1190, 3020, 18756, 2551, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4304, 33411, 2551, 796, 366, 2375, 3020, 18756, 1, 5357, 983, 796, 5433 ]
What are Utah's high points?
SELECT "High points" FROM table_50277 WHERE "Team" = 'utah'
[ 2061, 389, 10202, 338, 1029, 2173, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1120, 27019, 33411, 366, 15592, 1, 796, 705, 315, 993, 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 ]
[ 2061, 389, 10202, 338, 1029, 2173, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1120, 27019, 33411, 366, 15592, 1, 796, 705, 315, 993, 6 ]
calculate the number of patients with leukocytosis - neutrophilia diagnosed until 2104.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'leukocytosis - neutrophilia' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104')
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 443, 2724, 13733, 83, 5958, 532, 22190, 10051, 17517, 14641, 1566, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 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...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 443, 2724, 13733, 83, 5958, 532, 22190, 10051, 17517, 14641, 1566, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13,...
WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK?
SELECT "Position" FROM table_49927 WHERE "Nationality" = 'canada' AND "Round" < '7' AND "Player" = 'zach boychuk'
[ 32971, 3180, 3336, 28069, 17941, 7473, 15628, 26853, 11, 371, 15919, 9447, 7036, 1137, 2320, 1565, 767, 11, 28180, 1137, 1168, 16219, 16494, 56, 3398, 15039, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 28324, 1983, 33411, 366, 16186, 414, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32971, 3180, 3336, 28069, 17941, 7473, 15628, 26853, 11, 371, 15919, 9447, 7036, 1137, 2320, 1565, 767, 11, 28180, 1137, 1168, 16219, 16494, 56, 3398, 15039, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 28324, 1983, 33411, 366, 16186, 414, ...
show flights from DENVER to OAKLAND arriving between 0 and 100 o'clock
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 ((flight.arrival_time <= 100 AND flight.arrival_time >= 0) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAND' AND flight.to_airp...
[ 12860, 13956, 422, 37692, 5959, 284, 440, 10206, 28182, 14820, 1022, 657, 290, 1802, 267, 6, 15750, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 13956, 422, 37692, 5959, 284, 440, 10206, 28182, 14820, 1022, 657, 290, 1802, 267, 6, 15750, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
Who were the opponents when the score was 2 6, 3 6?
SELECT opponents_in_the_final FROM table_name_86 WHERE score_in_the_final = "2–6, 3–6"
[ 8241, 547, 262, 7691, 618, 262, 4776, 373, 362, 718, 11, 513, 718, 30, 46506, 7691, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 4521, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 17, 1906, 21, 11, 513, 1906, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 7691, 618, 262, 4776, 373, 362, 718, 11, 513, 718, 30, 46506, 7691, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 4521, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 17, 1906, 21, 11, 513, 1906, ...
Before 1957, what was the largest in Attendance at Varsity Stadium?
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"
[ 8421, 25177, 11, 644, 373, 262, 4387, 287, 46502, 590, 379, 569, 45826, 10499, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 1622, 1279, 25177, 5357, 14359, 796, 366, 85, 45826, 10308, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8421, 25177, 11, 644, 373, 262, 4387, 287, 46502, 590, 379, 569, 45826, 10499, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 1622, 1279, 25177, 5357, 14359, 796, 366, 85, 45826, 10308, 1 ]
What are the titles of all movies that have between 3 and 5 stars, and count them by a bar chart, and display X-axis in ascending order.
SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title ORDER BY title
[ 2061, 389, 262, 8714, 286, 477, 6918, 326, 423, 1022, 513, 290, 642, 5788, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 3359, 1395, 12, 22704, 287, 41988, 1502, 13, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 12028, 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...
[ 2061, 389, 262, 8714, 286, 477, 6918, 326, 423, 1022, 513, 290, 642, 5788, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 3359, 1395, 12, 22704, 287, 41988, 1502, 13, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 12028, 7054, ...
I want the score for 28 march 1979
SELECT "Score" FROM table_31872 WHERE "Date" = '28 march 1979'
[ 40, 765, 262, 4776, 329, 2579, 9960, 13521, 46506, 366, 26595, 1, 16034, 3084, 62, 36042, 4761, 33411, 366, 10430, 1, 796, 705, 2078, 9960, 13521, 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 ]
[ 40, 765, 262, 4776, 329, 2579, 9960, 13521, 46506, 366, 26595, 1, 16034, 3084, 62, 36042, 4761, 33411, 366, 10430, 1, 796, 705, 2078, 9960, 13521, 6 ]
Which syndicate is associated with the stars & stripes yacht?
SELECT syndicate FROM table_name_8 WHERE yacht = "stars & stripes"
[ 13828, 11150, 5344, 318, 3917, 351, 262, 5788, 1222, 28806, 43207, 30, 46506, 11150, 5344, 16034, 3084, 62, 3672, 62, 23, 33411, 43207, 796, 366, 30783, 1222, 28806, 1 ]
[ 1, 1, 1, 1, 1, 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, 11150, 5344, 318, 3917, 351, 262, 5788, 1222, 28806, 43207, 30, 46506, 11150, 5344, 16034, 3084, 62, 3672, 62, 23, 33411, 43207, 796, 366, 30783, 1222, 28806, 1 ]
how many candidates with district being california 7
SELECT COUNT("Candidates") FROM table_72431 WHERE "District" = 'California 7'
[ 4919, 867, 5871, 351, 4783, 852, 2386, 361, 3317, 767, 46506, 327, 28270, 7203, 41572, 37051, 4943, 16034, 3084, 62, 22, 1731, 3132, 33411, 366, 44857, 1, 796, 705, 25284, 767, 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 ]
[ 4919, 867, 5871, 351, 4783, 852, 2386, 361, 3317, 767, 46506, 327, 28270, 7203, 41572, 37051, 4943, 16034, 3084, 62, 22, 1731, 3132, 33411, 366, 44857, 1, 796, 705, 25284, 767, 6 ]
what was the organism found in patient 031-3355's first blood, venipuncture test on the current hospital visit?
SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.cultur...
[ 10919, 373, 262, 26433, 1043, 287, 5827, 657, 3132, 12, 2091, 2816, 338, 717, 2910, 11, 8710, 541, 39187, 1332, 319, 262, 1459, 4436, 3187, 30, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26433, 1043, 287, 5827, 657, 3132, 12, 2091, 2816, 338, 717, 2910, 11, 8710, 541, 39187, 1332, 319, 262, 1459, 4436, 3187, 30, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850...
ru.SO tags with in wiki.
SELECT TagName, Count, LastEditorUserId, LastEditDate, Body FROM Tags INNER JOIN Posts ON WikiPostId = Posts.Id WHERE Body LIKE '% %' OR Body LIKE '% %' OR Body LIKE N'% %' ORDER BY Count DESC
[ 622, 13, 15821, 15940, 351, 287, 22719, 13, 46506, 17467, 5376, 11, 2764, 11, 4586, 17171, 12982, 7390, 11, 4586, 18378, 10430, 11, 12290, 16034, 44789, 3268, 21479, 32357, 1268, 12043, 6177, 13078, 6307, 7390, 796, 12043, 13, 7390, 33411...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 622, 13, 15821, 15940, 351, 287, 22719, 13, 46506, 17467, 5376, 11, 2764, 11, 4586, 17171, 12982, 7390, 11, 4586, 18378, 10430, 11, 12290, 16034, 44789, 3268, 21479, 32357, 1268, 12043, 6177, 13078, 6307, 7390, 796, 12043, 13, 7390, 33411...
count how many times did patient 030-30152 go to hospital.
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '030-30152'
[ 9127, 703, 867, 1661, 750, 5827, 657, 1270, 12, 18938, 4309, 467, 284, 4436, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 13948, 10057, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 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 ]
[ 9127, 703, 867, 1661, 750, 5827, 657, 1270, 12, 18938, 4309, 467, 284, 4436, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 13948, 10057, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, ...
What is the mean game number when the points scored were more than 99?
SELECT AVG(game) FROM table_name_73 WHERE points > 99
[ 2061, 318, 262, 1612, 983, 1271, 618, 262, 2173, 7781, 547, 517, 621, 7388, 30, 46506, 35224, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 2173, 1875, 7388 ]
[ 1, 1, 1, 1, 1, 1, 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, 1612, 983, 1271, 618, 262, 2173, 7781, 547, 517, 621, 7388, 30, 46506, 35224, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 2173, 1875, 7388 ]
What is Event, when Round is '10'?
SELECT event FROM table_name_62 WHERE round = 10
[ 2061, 318, 8558, 11, 618, 10485, 318, 705, 940, 30960, 46506, 1785, 16034, 3084, 62, 3672, 62, 5237, 33411, 2835, 796, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 8558, 11, 618, 10485, 318, 705, 940, 30960, 46506, 1785, 16034, 3084, 62, 3672, 62, 5237, 33411, 2835, 796, 838 ]
what is the latitude of the feature of longitude 80.0e
SELECT latitude FROM table_16799784_7 WHERE longitude = "80.0E"
[ 10919, 318, 262, 32477, 286, 262, 3895, 286, 890, 3984, 4019, 13, 15, 68, 46506, 32477, 16034, 3084, 62, 21940, 2079, 37688, 62, 22, 33411, 890, 3984, 796, 366, 1795, 13, 15, 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 ]
[ 10919, 318, 262, 32477, 286, 262, 3895, 286, 890, 3984, 4019, 13, 15, 68, 46506, 32477, 16034, 3084, 62, 21940, 2079, 37688, 62, 22, 33411, 890, 3984, 796, 366, 1795, 13, 15, 36, 1 ]
Who was the winning team on the circuit Zolder?
SELECT winning_team FROM table_18095719_2 WHERE circuit = "Zolder"
[ 8241, 373, 262, 5442, 1074, 319, 262, 10349, 1168, 19892, 30, 46506, 5442, 62, 15097, 16034, 3084, 62, 1507, 2931, 3553, 1129, 62, 17, 33411, 10349, 796, 366, 57, 19892, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 5442, 1074, 319, 262, 10349, 1168, 19892, 30, 46506, 5442, 62, 15097, 16034, 3084, 62, 1507, 2931, 3553, 1129, 62, 17, 33411, 10349, 796, 366, 57, 19892, 1 ]
Which Date has an Attendance of 9,535?
SELECT date FROM table_name_73 WHERE attendance = "9,535"
[ 13828, 7536, 468, 281, 46502, 590, 286, 860, 11, 44465, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 14858, 796, 366, 24, 11, 44465, 1 ]
[ 1, 1, 1, 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, 7536, 468, 281, 46502, 590, 286, 860, 11, 44465, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 14858, 796, 366, 24, 11, 44465, 1 ]
Who is the player when the category is steals per game?
SELECT "Player" FROM table_4070 WHERE "Category" = 'Steals per game'
[ 8241, 318, 262, 2137, 618, 262, 6536, 318, 28052, 583, 983, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 1821, 2154, 33411, 366, 27313, 1, 796, 705, 7447, 874, 583, 983, 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 ]
[ 8241, 318, 262, 2137, 618, 262, 6536, 318, 28052, 583, 983, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 1821, 2154, 33411, 366, 27313, 1, 796, 705, 7447, 874, 583, 983, 6 ]
Tell me the opponents for score in the final of 1 6, 2 6
SELECT opponents_in_the_final FROM table_name_68 WHERE score_in_the_final = "1–6, 2–6"
[ 24446, 502, 262, 7691, 329, 4776, 287, 262, 2457, 286, 352, 718, 11, 362, 718, 46506, 7691, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 3104, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 16, 1906, 21, 11, 362,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 7691, 329, 4776, 287, 262, 2457, 286, 352, 718, 11, 362, 718, 46506, 7691, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 3104, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 16, 1906, 21, 11, 362,...
Find the number of students who are older than 18 and do not have allergy to either food or animal.
SELECT COUNT(*) FROM student WHERE age > 18 AND NOT stuid IN (SELECT stuid FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food" OR T2.allergytype = "animal")
[ 16742, 262, 1271, 286, 2444, 508, 389, 4697, 621, 1248, 290, 466, 407, 423, 36197, 284, 2035, 2057, 393, 5044, 13, 46506, 327, 28270, 7, 28104, 16034, 3710, 33411, 2479, 1875, 1248, 5357, 5626, 336, 27112, 3268, 357, 46506, 336, 27112, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 2444, 508, 389, 4697, 621, 1248, 290, 466, 407, 423, 36197, 284, 2035, 2057, 393, 5044, 13, 46506, 327, 28270, 7, 28104, 16034, 3710, 33411, 2479, 1875, 1248, 5357, 5626, 336, 27112, 3268, 357, 46506, 336, 27112, ...
what is the ingesting method of levothyroxine?
SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'levothyroxine'
[ 10919, 318, 262, 26151, 278, 2446, 286, 23145, 14863, 13907, 500, 30, 46506, 360, 8808, 1268, 4177, 14103, 13, 81, 448, 1329, 1084, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 2768, 14863, 13907, 500, 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 ]
[ 10919, 318, 262, 26151, 278, 2446, 286, 23145, 14863, 13907, 500, 30, 46506, 360, 8808, 1268, 4177, 14103, 13, 81, 448, 1329, 1084, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 2768, 14863, 13907, 500, 6 ]
tell me the patient ids who are diagnosed with hx of liver malignancy since 2104.
SELECT 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 = 'hx of liver malignancy') AND STRFTIME('%y', diagnoses_icd.charttime) >= '2...
[ 33331, 502, 262, 5827, 220, 2340, 508, 389, 14641, 351, 289, 87, 286, 14383, 6428, 570, 3883, 1201, 362, 13464, 13, 46506, 25349, 13, 32796, 62, 312, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 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...
[ 33331, 502, 262, 5827, 220, 2340, 508, 389, 14641, 351, 289, 87, 286, 14383, 6428, 570, 3883, 1201, 362, 13464, 13, 46506, 25349, 13, 32796, 62, 312, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 40567, 62, 291...
how many of the patients aged below 68 were on medicaid insurance?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.age < "68"
[ 4919, 867, 286, 262, 3871, 9722, 2174, 8257, 547, 319, 6924, 1698, 5096, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 39112, 1698, 1, 5357, 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 ]
[ 4919, 867, 286, 262, 3871, 9722, 2174, 8257, 547, 319, 6924, 1698, 5096, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 39112, 1698, 1, 5357, 16728, ...
Tell me the sum of top 5 with events less than 12 and top 25 less than 0
SELECT SUM(top_5) FROM table_name_98 WHERE events < 12 AND top_25 < 0
[ 24446, 502, 262, 2160, 286, 1353, 642, 351, 2995, 1342, 621, 1105, 290, 1353, 1679, 1342, 621, 657, 46506, 35683, 7, 4852, 62, 20, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 2995, 1279, 1105, 5357, 1353, 62, 1495, 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, 1, 1, 1 ]
[ 24446, 502, 262, 2160, 286, 1353, 642, 351, 2995, 1342, 621, 1105, 290, 1353, 1679, 1342, 621, 657, 46506, 35683, 7, 4852, 62, 20, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 2995, 1279, 1105, 5357, 1353, 62, 1495, 1279, 657 ]
What is the 1993 value of the 1997 Grand Slams?
SELECT 1993 FROM table_name_49 WHERE 1997 = "grand slams"
[ 2061, 318, 262, 9656, 1988, 286, 262, 8309, 5675, 30382, 82, 30, 46506, 9656, 16034, 3084, 62, 3672, 62, 2920, 33411, 8309, 796, 366, 23936, 45846, 1 ]
[ 1, 1, 1, 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, 9656, 1988, 286, 262, 8309, 5675, 30382, 82, 30, 46506, 9656, 16034, 3084, 62, 3672, 62, 2920, 33411, 8309, 796, 366, 23936, 45846, 1 ]
Show me about the distribution of date_address_from and the average of monthly_rental bin date_address_from by weekday in a bar chart.
SELECT date_address_from, AVG(monthly_rental) FROM Student_Addresses ORDER BY monthly_rental DESC
[ 15307, 502, 546, 262, 6082, 286, 3128, 62, 21975, 62, 6738, 290, 262, 2811, 286, 9651, 62, 1156, 282, 9874, 3128, 62, 21975, 62, 6738, 416, 28269, 287, 257, 2318, 8262, 13, 46506, 3128, 62, 21975, 62, 6738, 11, 35224, 7, 8424, 306, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 6082, 286, 3128, 62, 21975, 62, 6738, 290, 262, 2811, 286, 9651, 62, 1156, 282, 9874, 3128, 62, 21975, 62, 6738, 416, 28269, 287, 257, 2318, 8262, 13, 46506, 3128, 62, 21975, 62, 6738, 11, 35224, 7, 8424, 306, ...
Tell me the 2008 for when 2001 of wta premier 5 tournaments
SELECT 2008 FROM table_name_87 WHERE 2001 = "wta premier 5 tournaments"
[ 24446, 502, 262, 3648, 329, 618, 5878, 286, 266, 8326, 18256, 642, 18130, 46506, 3648, 16034, 3084, 62, 3672, 62, 5774, 33411, 5878, 796, 366, 86, 8326, 18256, 642, 18130, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3648, 329, 618, 5878, 286, 266, 8326, 18256, 642, 18130, 46506, 3648, 16034, 3084, 62, 3672, 62, 5774, 33411, 5878, 796, 366, 86, 8326, 18256, 642, 18130, 1 ]
What is the least amount of field goals made by a player?
SELECT MIN(field_goals) FROM table_14342367_7
[ 2061, 318, 262, 1551, 2033, 286, 2214, 4661, 925, 416, 257, 2137, 30, 46506, 20625, 7, 3245, 62, 2188, 874, 8, 16034, 3084, 62, 1415, 2682, 1954, 3134, 62, 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 ]
[ 2061, 318, 262, 1551, 2033, 286, 2214, 4661, 925, 416, 257, 2137, 30, 46506, 20625, 7, 3245, 62, 2188, 874, 8, 16034, 3084, 62, 1415, 2682, 1954, 3134, 62, 22 ]
How many cities have an enrollment of 19082?
SELECT COUNT("City") FROM table_72350 WHERE "Enrollment" = '19082'
[ 2437, 867, 4736, 423, 281, 20753, 286, 40417, 17, 30, 46506, 327, 28270, 7203, 14941, 4943, 16034, 3084, 62, 22, 1954, 1120, 33411, 366, 4834, 48108, 1, 796, 705, 1129, 2919, 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 ]
[ 2437, 867, 4736, 423, 281, 20753, 286, 40417, 17, 30, 46506, 327, 28270, 7203, 14941, 4943, 16034, 3084, 62, 22, 1954, 1120, 33411, 366, 4834, 48108, 1, 796, 705, 1129, 2919, 17, 6 ]
How many engine b5234 t3?
SELECT COUNT("model") FROM table_16818 WHERE "engine type" = 'B5234 T3'
[ 2437, 867, 3113, 275, 20, 24409, 256, 18, 30, 46506, 327, 28270, 7203, 19849, 4943, 16034, 3084, 62, 14656, 1507, 33411, 366, 18392, 2099, 1, 796, 705, 33, 20, 24409, 309, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3113, 275, 20, 24409, 256, 18, 30, 46506, 327, 28270, 7203, 19849, 4943, 16034, 3084, 62, 14656, 1507, 33411, 366, 18392, 2099, 1, 796, 705, 33, 20, 24409, 309, 18, 6 ]
what is the number of patients whose admission type is emergency and procedure long title is transplant from live non-related donor?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Transplant from live non-related donor"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 8771, 890, 3670, 318, 23319, 422, 2107, 1729, 12, 5363, 17052, 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, 13938, 2099, 318, 6334, 290, 8771, 890, 3670, 318, 23319, 422, 2107, 1729, 12, 5363, 17052, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What's the number of wins when the flags were less than 8 and 52.11% of wins?
SELECT COUNT(wins) FROM table_name_60 WHERE percentage_wins = "52.11%" AND flags < 8
[ 2061, 338, 262, 1271, 286, 7864, 618, 262, 9701, 547, 1342, 621, 807, 290, 6740, 13, 1157, 4, 286, 7864, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 5873, 62, 86, 1040, 796, 366, 4309, 13, 1157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 7864, 618, 262, 9701, 547, 1342, 621, 807, 290, 6740, 13, 1157, 4, 286, 7864, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 5873, 62, 86, 1040, 796, 366, 4309, 13, 1157, ...
what type of ground transportation is available in WASHINGTON
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'WASHINGTON' AND ground_service.city_code = city.city_code
[ 10919, 2099, 286, 2323, 9358, 318, 1695, 287, 370, 19436, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 21793, 6, 5357, 2323, 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 ]
[ 10919, 2099, 286, 2323, 9358, 318, 1695, 287, 370, 19436, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 21793, 6, 5357, 2323, 62, ...
Where was the audition venue where Peninha was the guest fourth judge?
SELECT "Audition Venue" FROM table_29667 WHERE "Guest Fourth Judge" = 'Peninha'
[ 8496, 373, 262, 31678, 14359, 810, 7507, 259, 3099, 373, 262, 8319, 5544, 5052, 30, 46506, 366, 16353, 653, 9932, 518, 1, 16034, 3084, 62, 1959, 28933, 33411, 366, 42481, 15692, 8974, 1, 796, 705, 25553, 259, 3099, 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 ]
[ 8496, 373, 262, 31678, 14359, 810, 7507, 259, 3099, 373, 262, 8319, 5544, 5052, 30, 46506, 366, 16353, 653, 9932, 518, 1, 16034, 3084, 62, 1959, 28933, 33411, 366, 42481, 15692, 8974, 1, 796, 705, 25553, 259, 3099, 6 ]
What is the team name for the racer who had a first qualification time of 1:22.655?
SELECT "Team" FROM table_10356 WHERE "Qual 1" = '1:22.655'
[ 2061, 318, 262, 1074, 1438, 329, 262, 48233, 508, 550, 257, 717, 28587, 640, 286, 352, 25, 1828, 13, 35916, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 940, 32066, 33411, 366, 46181, 352, 1, 796, 705, 16, 25, 1828, 13, 35916, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1074, 1438, 329, 262, 48233, 508, 550, 257, 717, 28587, 640, 286, 352, 25, 1828, 13, 35916, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 940, 32066, 33411, 366, 46181, 352, 1, 796, 705, 16, 25, 1828, 13, 35916, 6 ]
i'd like to fly from ATLANTA to DENVER on 8 29
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND date_day.day_number = 29 AND date_day.month_number = 8 AND da...
[ 72, 1549, 588, 284, 6129, 422, 5161, 25697, 5603, 284, 37692, 5959, 319, 807, 2808, 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, 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...
[ 72, 1549, 588, 284, 6129, 422, 5161, 25697, 5603, 284, 37692, 5959, 319, 807, 2808, 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, 705...
Stack Oveflow users names, reputation and number of posts (main + meta) with main/meta ratio.
SELECT 'https://stackoverflow.com/u/' + CAST(Main.Id AS TEXT) + '|' + Main.DisplayName, Main.Reputation, Main.Total AS "# of posts (main)", Meta.Total AS "# of posts (meta)", CASE WHEN Meta.Total = 0 THEN NULL ELSE ROUND(CAST(Main.Total AS FLOAT) / Meta.Total, 2) END AS "Ratio" FROM (SELECT u.Id, u.DisplayName, u.Reput...
[ 25896, 440, 303, 11125, 2985, 3891, 11, 8507, 290, 1271, 286, 6851, 357, 12417, 1343, 13634, 8, 351, 1388, 14, 28961, 8064, 13, 46506, 705, 5450, 1378, 25558, 2502, 11125, 13, 785, 14, 84, 14, 6, 1343, 327, 11262, 7, 13383, 13, 7390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25896, 440, 303, 11125, 2985, 3891, 11, 8507, 290, 1271, 286, 6851, 357, 12417, 1343, 13634, 8, 351, 1388, 14, 28961, 8064, 13, 46506, 705, 5450, 1378, 25558, 2502, 11125, 13, 785, 14, 84, 14, 6, 1343, 327, 11262, 7, 13383, 13, 7390...
transplant self medication program is which type of drug?
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Transplant Self Medication Program"
[ 7645, 15060, 2116, 14103, 1430, 318, 543, 2099, 286, 2563, 30, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 8291, 15060, 12189, 2019, 3299, 6118, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7645, 15060, 2116, 14103, 1430, 318, 543, 2099, 286, 2563, 30, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 8291, 15060, 12189, 2019, 3299, 6118, 1 ]
Show the name of each party and the corresponding number of delegates from that party Plot them as bar chart, sort by the x axis from low to high please.
SELECT T2.Party, SUM(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY T2.Party
[ 15307, 262, 1438, 286, 1123, 2151, 290, 262, 11188, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 3297, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 3387, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 1123, 2151, 290, 262, 11188, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 3297, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 3387, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, ...
What is the slowest 50m split time for a total of 53.74 in a lane of less than 3?
SELECT MAX(split__50m_) FROM table_name_8 WHERE time = 53.74 AND lane < 3
[ 2061, 318, 262, 3105, 395, 2026, 76, 6626, 640, 329, 257, 2472, 286, 7192, 13, 4524, 287, 257, 11193, 286, 1342, 621, 513, 30, 46506, 25882, 7, 35312, 834, 1120, 76, 62, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 640, 796, 7192, 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 ]
[ 2061, 318, 262, 3105, 395, 2026, 76, 6626, 640, 329, 257, 2472, 286, 7192, 13, 4524, 287, 257, 11193, 286, 1342, 621, 513, 30, 46506, 25882, 7, 35312, 834, 1120, 76, 62, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 640, 796, 7192, 13,...
Find the number of students in one classroom. Plot them as scatter chart.
SELECT COUNT(*), Classroom FROM list GROUP BY Classroom
[ 16742, 262, 1271, 286, 2444, 287, 530, 15806, 13, 28114, 606, 355, 41058, 8262, 13, 46506, 327, 28270, 46491, 828, 5016, 3823, 16034, 1351, 44441, 11050, 5016, 3823 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 2444, 287, 530, 15806, 13, 28114, 606, 355, 41058, 8262, 13, 46506, 327, 28270, 46491, 828, 5016, 3823, 16034, 1351, 44441, 11050, 5016, 3823 ]
Where is the University at Albany located?
SELECT location FROM table_12936521_2 WHERE institution = "University at Albany"
[ 8496, 318, 262, 2059, 379, 29285, 5140, 30, 46506, 4067, 16034, 3084, 62, 18741, 24760, 2481, 62, 17, 33411, 9901, 796, 366, 21009, 379, 29285, 1 ]
[ 1, 1, 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, 318, 262, 2059, 379, 29285, 5140, 30, 46506, 4067, 16034, 3084, 62, 18741, 24760, 2481, 62, 17, 33411, 9901, 796, 366, 21009, 379, 29285, 1 ]
What is the Russian name with lbr as the Latin 3-letter code?
SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr"
[ 2061, 318, 262, 3394, 1438, 351, 300, 1671, 355, 262, 9133, 513, 12, 9291, 2438, 30, 46506, 374, 31562, 62, 3672, 16034, 3084, 62, 3672, 62, 4521, 33411, 3042, 259, 62, 18, 62, 9291, 62, 8189, 796, 366, 75, 1671, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3394, 1438, 351, 300, 1671, 355, 262, 9133, 513, 12, 9291, 2438, 30, 46506, 374, 31562, 62, 3672, 16034, 3084, 62, 3672, 62, 4521, 33411, 3042, 259, 62, 18, 62, 9291, 62, 8189, 796, 366, 75, 1671, 1 ]
What location is Vin Weber from?
SELECT district FROM table_1341568_24 WHERE incumbent = "Vin Weber"
[ 2061, 4067, 318, 11820, 28137, 422, 30, 46506, 4783, 16034, 3084, 62, 19880, 1314, 3104, 62, 1731, 33411, 23526, 796, 366, 53, 259, 28137, 1 ]
[ 1, 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, 4067, 318, 11820, 28137, 422, 30, 46506, 4783, 16034, 3084, 62, 19880, 1314, 3104, 62, 1731, 33411, 23526, 796, 366, 53, 259, 28137, 1 ]
Find the number of complaints with Product Failure type for each complaint status.
SELECT complaint_status_code, COUNT(*) FROM complaints WHERE complaint_type_code = "Product Failure" GROUP BY complaint_status_code
[ 16742, 262, 1271, 286, 9687, 351, 8721, 25743, 2099, 329, 1123, 8224, 3722, 13, 46506, 8224, 62, 13376, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 9687, 33411, 8224, 62, 4906, 62, 8189, 796, 366, 15667, 25743, 1, 44441, 11050, 8224, 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 ]
[ 16742, 262, 1271, 286, 9687, 351, 8721, 25743, 2099, 329, 1123, 8224, 3722, 13, 46506, 8224, 62, 13376, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 9687, 33411, 8224, 62, 4906, 62, 8189, 796, 366, 15667, 25743, 1, 44441, 11050, 8224, 6...
Give me a scatter chart to show the least rating star of the movie and the star rating of the movie, group the title.
SELECT stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title
[ 23318, 502, 257, 41058, 8262, 284, 905, 262, 1551, 7955, 3491, 286, 262, 3807, 290, 262, 3491, 7955, 286, 262, 3807, 11, 1448, 262, 3670, 13, 46506, 5788, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 41058, 8262, 284, 905, 262, 1551, 7955, 3491, 286, 262, 3807, 290, 262, 3491, 7955, 286, 262, 3807, 11, 1448, 262, 3670, 13, 46506, 5788, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268,...
give me the number of patients whose item id is 51221 and lab test abnormal status is abnormal?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51221" AND lab.flag = "abnormal"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2378, 4686, 318, 22243, 2481, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2378, 4686, 318, 22243, 2481, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
Are they offering ANTHRARC 494 section 692 in the Spring 2019 semester ?
SELECT COUNT(*) > 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.section_number = 692 AND course.department = 'ANTHRARC' AND course.number = 494 AND semester.semester = 'Spring' AND sem...
[ 8491, 484, 6011, 3537, 4221, 49, 25793, 5125, 19, 2665, 718, 5892, 287, 262, 8225, 13130, 24878, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 484, 6011, 3537, 4221, 49, 25793, 5125, 19, 2665, 718, 5892, 287, 262, 8225, 13130, 24878, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, ...
Posts with the most images. Posts containing images, sorted by the number of images.
SELECT Id AS "post_link", LENGTH(Body) - LENGTH(REPLACE(Body, '<img ', '<img')) AS "images", Score, CASE PostTypeId WHEN 1 THEN 'Q' WHEN 2 THEN 'A' ELSE '?' END AS "type", Body FROM Posts WHERE Body LIKE '%<img %' ORDER BY Images DESC
[ 21496, 351, 262, 749, 4263, 13, 12043, 7268, 4263, 11, 23243, 416, 262, 1271, 286, 4263, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 406, 49494, 7, 25842, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 25842, 11, 705, 27, 9600, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21496, 351, 262, 749, 4263, 13, 12043, 7268, 4263, 11, 23243, 416, 262, 1271, 286, 4263, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 406, 49494, 7, 25842, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 25842, 11, 705, 27, 9600, ...
how many patients with medicaid have been diagnosed with coronary artery bypass graft?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicaid" AND diagnoses.short_title = "Aortocoronary bypass"
[ 4919, 867, 3871, 351, 6924, 1698, 423, 587, 14641, 351, 37151, 37646, 17286, 38455, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 351, 6924, 1698, 423, 587, 14641, 351, 37151, 37646, 17286, 38455, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76,...
I want to know the events for 106 bands
SELECT "Event" FROM table_31778 WHERE "Acts" = '106 bands'
[ 40, 765, 284, 760, 262, 2995, 329, 15696, 11760, 46506, 366, 9237, 1, 16034, 3084, 62, 34125, 3695, 33411, 366, 6398, 82, 1, 796, 705, 15801, 11760, 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 ]
[ 40, 765, 284, 760, 262, 2995, 329, 15696, 11760, 46506, 366, 9237, 1, 16034, 3084, 62, 34125, 3695, 33411, 366, 6398, 82, 1, 796, 705, 15801, 11760, 6 ]
What is the score when there are less than 2 goals?
SELECT score FROM table_name_18 WHERE goal < 2
[ 2061, 318, 262, 4776, 618, 612, 389, 1342, 621, 362, 4661, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1507, 33411, 3061, 1279, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 618, 612, 389, 1342, 621, 362, 4661, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1507, 33411, 3061, 1279, 362 ]
how many people died after being diagnosed with esophagitis - regurgitant in the same hospital visit in 2104?
SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime, t1.patienthealthsystemstayid FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = ...
[ 4919, 867, 661, 3724, 706, 852, 14641, 351, 1658, 2522, 363, 11815, 532, 842, 3686, 23737, 287, 262, 976, 4436, 3187, 287, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 661, 3724, 706, 852, 14641, 351, 1658, 2522, 363, 11815, 532, 842, 3686, 23737, 287, 262, 976, 4436, 3187, 287, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, ...
list airlines serving between DENVER and SAN FRANCISCO
SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_na...
[ 4868, 26225, 7351, 1022, 37692, 5959, 290, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 26225, 7351, 1022, 37692, 5959, 290, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15...
Find the number of female students (with F sex) living in Smith Hall
SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'
[ 16742, 262, 1271, 286, 4048, 2444, 357, 4480, 376, 1714, 8, 2877, 287, 4176, 4789, 46506, 327, 28270, 7, 28104, 16034, 3710, 7054, 309, 16, 32357, 1268, 3160, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 301, 27112, 796, 309, 17, 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...
[ 16742, 262, 1271, 286, 4048, 2444, 357, 4480, 376, 1714, 8, 2877, 287, 4176, 4789, 46506, 327, 28270, 7, 28104, 16034, 3710, 7054, 309, 16, 32357, 1268, 3160, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 301, 27112, 796, 309, 17, 13, ...
for the time of 49.04 and lane less than 3, what is the nationality?
SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04
[ 1640, 262, 640, 286, 5125, 13, 3023, 290, 11193, 1342, 621, 513, 11, 644, 318, 262, 29835, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 1983, 33411, 11193, 1279, 513, 5357, 640, 796, 5125, 13, 3023 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1640, 262, 640, 286, 5125, 13, 3023, 290, 11193, 1342, 621, 513, 11, 644, 318, 262, 29835, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 1983, 33411, 11193, 1279, 513, 5357, 640, 796, 5125, 13, 3023 ]
Name the population for s rv gur
SELECT population FROM table_16278673_1 WHERE municipality = "Sørvágur"
[ 5376, 262, 3265, 329, 264, 374, 85, 308, 333, 46506, 3265, 16034, 3084, 62, 1433, 25870, 45758, 62, 16, 33411, 27264, 796, 366, 50, 24172, 81, 85, 6557, 45073, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 3265, 329, 264, 374, 85, 308, 333, 46506, 3265, 16034, 3084, 62, 1433, 25870, 45758, 62, 16, 33411, 27264, 796, 366, 50, 24172, 81, 85, 6557, 45073, 1 ]
How many roller coasters are there?
SELECT COUNT(*) FROM roller_coaster
[ 2437, 867, 24471, 763, 7060, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 24471, 62, 1073, 1603 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 24471, 763, 7060, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 24471, 62, 1073, 1603 ]
what is minimum age of patients whose gender is m and discharge location is long term care hospital?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "LONG TERM CARE HOSPITAL"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 5279, 318, 285, 290, 17655, 4067, 318, 890, 3381, 1337, 4436, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 6381, 10136, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 3871, 3025, 5279, 318, 285, 290, 17655, 4067, 318, 890, 3381, 1337, 4436, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 6381, 10136, ...
Who has the par score of 70-76-68-214?
SELECT "To par" FROM table_67572 WHERE "Score" = '70-76-68-214'
[ 8241, 468, 262, 1582, 4776, 286, 4317, 12, 4304, 12, 3104, 12, 22291, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 42444, 4761, 33411, 366, 26595, 1, 796, 705, 2154, 12, 4304, 12, 3104, 12, 22291, 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 ]
[ 8241, 468, 262, 1582, 4776, 286, 4317, 12, 4304, 12, 3104, 12, 22291, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 42444, 4761, 33411, 366, 26595, 1, 796, 705, 2154, 12, 4304, 12, 3104, 12, 22291, 6 ]
What is the highest lost with a drawn more than 11, a position lower than 17 and more than 61 goals?
SELECT MAX("Lost") FROM table_45230 WHERE "Drawn" > '11' AND "Position" < '17' AND "Goals For" > '61'
[ 2061, 318, 262, 4511, 2626, 351, 257, 7428, 517, 621, 1367, 11, 257, 2292, 2793, 621, 1596, 290, 517, 621, 8454, 4661, 30, 46506, 25882, 7203, 31042, 4943, 16034, 3084, 62, 2231, 19214, 33411, 366, 35, 5791, 1, 1875, 705, 1157, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2626, 351, 257, 7428, 517, 621, 1367, 11, 257, 2292, 2793, 621, 1596, 290, 517, 621, 8454, 4661, 30, 46506, 25882, 7203, 31042, 4943, 16034, 3084, 62, 2231, 19214, 33411, 366, 35, 5791, 1, 1875, 705, 1157, 6, 5...
what are the number of times model 25 is listed on this chart ?
SELECT COUNT(*) FROM table_203_136 WHERE "name" = 'model 25'
[ 10919, 389, 262, 1271, 286, 1661, 2746, 1679, 318, 5610, 319, 428, 8262, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 20809, 33411, 366, 3672, 1, 796, 705, 19849, 1679, 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 ]
[ 10919, 389, 262, 1271, 286, 1661, 2746, 1679, 318, 5610, 319, 428, 8262, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 20809, 33411, 366, 3672, 1, 796, 705, 19849, 1679, 6 ]
What is the total number of Rapes that have Embezzlements a figure of 820 and total number of convictions less than 94,574?
SELECT COUNT(rape__art_190_stgb_) FROM table_name_27 WHERE embezzlement__art_138_stgb_ = 820 AND total_convictions < 94 OFFSET 574
[ 2061, 318, 262, 2472, 1271, 286, 371, 7916, 326, 423, 2295, 1350, 3019, 3639, 257, 3785, 286, 48964, 290, 2472, 1271, 286, 19131, 1342, 621, 10048, 11, 46900, 30, 46506, 327, 28270, 7, 13484, 834, 433, 62, 19782, 62, 301, 22296, 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...
[ 2061, 318, 262, 2472, 1271, 286, 371, 7916, 326, 423, 2295, 1350, 3019, 3639, 257, 3785, 286, 48964, 290, 2472, 1271, 286, 19131, 1342, 621, 10048, 11, 46900, 30, 46506, 327, 28270, 7, 13484, 834, 433, 62, 19782, 62, 301, 22296, 62, ...
Name the date for bundaberg rum stadium
SELECT "Date" FROM table_20745 WHERE "Ground" = 'Bundaberg Rum Stadium'
[ 5376, 262, 3128, 329, 12207, 397, 6422, 7440, 10308, 46506, 366, 10430, 1, 16034, 3084, 62, 22745, 2231, 33411, 366, 35539, 1, 796, 705, 33, 917, 397, 6422, 25463, 10499, 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, 3128, 329, 12207, 397, 6422, 7440, 10308, 46506, 366, 10430, 1, 16034, 3084, 62, 22745, 2231, 33411, 366, 35539, 1, 796, 705, 33, 917, 397, 6422, 25463, 10499, 6 ]
What was the highest week with 84,856 in attendance?
SELECT MAX("Week") FROM table_39066 WHERE "Attendance" = '84,856'
[ 2061, 373, 262, 4511, 1285, 351, 9508, 11, 23, 3980, 287, 14858, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 25964, 2791, 33411, 366, 8086, 437, 590, 1, 796, 705, 5705, 11, 23, 3980, 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, 373, 262, 4511, 1285, 351, 9508, 11, 23, 3980, 287, 14858, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 25964, 2791, 33411, 366, 8086, 437, 590, 1, 796, 705, 5705, 11, 23, 3980, 6 ]
papers by Koos Koole
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'Koos Koole' AND writes.authorid = author.authorid
[ 40491, 416, 509, 16426, 509, 2238, 293, 46506, 360, 8808, 1268, 4177, 6797, 13, 20189, 312, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 42, 16426, 509, 2238, 293, 6, 5357, 6797, 13, 9800, 312, 796, 1772, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40491, 416, 509, 16426, 509, 2238, 293, 46506, 360, 8808, 1268, 4177, 6797, 13, 20189, 312, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 42, 16426, 509, 2238, 293, 6, 5357, 6797, 13, 9800, 312, 796, 1772, 13, ...
find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.
SELECT T3.location, T3.representative_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.assets_billion DESC LIMIT 3
[ 19796, 262, 4067, 290, 19920, 1438, 286, 262, 3623, 8985, 6898, 416, 262, 2706, 351, 1353, 513, 31433, 6867, 13, 46506, 309, 18, 13, 24886, 11, 309, 18, 13, 15603, 876, 62, 3672, 16034, 4429, 62, 39722, 7054, 309, 16, 32357, 1268, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 4067, 290, 19920, 1438, 286, 262, 3623, 8985, 6898, 416, 262, 2706, 351, 1353, 513, 31433, 6867, 13, 46506, 309, 18, 13, 24886, 11, 309, 18, 13, 15603, 876, 62, 3672, 16034, 4429, 62, 39722, 7054, 309, 16, 32357, 1268, 1...
what is the date of appointment 11 june 2010?
SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 2010"
[ 10919, 318, 262, 3128, 286, 12557, 1367, 474, 1726, 3050, 30, 46506, 1074, 16034, 3084, 62, 26276, 18294, 4051, 62, 18, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 1157, 2795, 3050, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 12557, 1367, 474, 1726, 3050, 30, 46506, 1074, 16034, 3084, 62, 26276, 18294, 4051, 62, 18, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 1157, 2795, 3050, 1 ]
What is the result of the 2011 Concacaf Gold Cup competition?
SELECT result FROM table_name_49 WHERE competition = "2011 concacaf gold cup"
[ 2061, 318, 262, 1255, 286, 262, 2813, 13223, 330, 1878, 3561, 5454, 5449, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2920, 33411, 5449, 796, 366, 9804, 1673, 330, 1878, 3869, 6508, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 2813, 13223, 330, 1878, 3561, 5454, 5449, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2920, 33411, 5449, 796, 366, 9804, 1673, 330, 1878, 3869, 6508, 1 ]
How many were in attendance when the score was 4 4 ?
SELECT attendance FROM table_name_33 WHERE score = "† 4–4 †"
[ 2437, 867, 547, 287, 14858, 618, 262, 4776, 373, 604, 604, 5633, 46506, 14858, 16034, 3084, 62, 3672, 62, 2091, 33411, 4776, 796, 366, 33912, 604, 1906, 19, 564, 254, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 547, 287, 14858, 618, 262, 4776, 373, 604, 604, 5633, 46506, 14858, 16034, 3084, 62, 3672, 62, 2091, 33411, 4776, 796, 366, 33912, 604, 1906, 19, 564, 254, 1 ]
Name the disposition for date built is march 1909
SELECT "Disposition" FROM table_21742 WHERE "Date built" = 'March 1909'
[ 5376, 262, 24665, 329, 3128, 3170, 318, 9960, 41507, 46506, 366, 7279, 9150, 1, 16034, 3084, 62, 24591, 3682, 33411, 366, 10430, 3170, 1, 796, 705, 16192, 41507, 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 ]
[ 5376, 262, 24665, 329, 3128, 3170, 318, 9960, 41507, 46506, 366, 7279, 9150, 1, 16034, 3084, 62, 24591, 3682, 33411, 366, 10430, 3170, 1, 796, 705, 16192, 41507, 6 ]
show me the flights from ST. PETERSBURG to TORONTO that leave monday
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 = 'TORONTO' AND date_day.day_number = 21 AND date_day.month_number = 2 AND d...
[ 12860, 502, 262, 13956, 422, 3563, 13, 32043, 4877, 38926, 38, 284, 40691, 1340, 10468, 326, 2666, 285, 3204, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 13956, 422, 3563, 13, 32043, 4877, 38926, 38, 284, 40691, 1340, 10468, 326, 2666, 285, 3204, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
what are the different software platforms for devices, and how many devices have each?, sort by the Y-axis from high to low.
SELECT Software_Platform, COUNT(*) FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
[ 10919, 389, 262, 1180, 3788, 9554, 329, 4410, 11, 290, 703, 867, 4410, 423, 1123, 21747, 3297, 416, 262, 575, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 10442, 62, 37148, 11, 327, 28270, 7, 28104, 16034, 3335, 44441, 11050, 10442, 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 ]
[ 10919, 389, 262, 1180, 3788, 9554, 329, 4410, 11, 290, 703, 867, 4410, 423, 1123, 21747, 3297, 416, 262, 575, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 10442, 62, 37148, 11, 327, 28270, 7, 28104, 16034, 3335, 44441, 11050, 10442, 62...
What are the names of the pilots that have not won any matches in Australia?
SELECT name FROM pilot WHERE NOT pilot_id IN (SELECT winning_pilot FROM match WHERE country = 'Australia')
[ 2061, 389, 262, 3891, 286, 262, 14982, 326, 423, 407, 1839, 597, 7466, 287, 4505, 30, 46506, 1438, 16034, 8022, 33411, 5626, 8022, 62, 312, 3268, 357, 46506, 5442, 62, 79, 23439, 16034, 2872, 33411, 1499, 796, 705, 27429, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 262, 14982, 326, 423, 407, 1839, 597, 7466, 287, 4505, 30, 46506, 1438, 16034, 8022, 33411, 5626, 8022, 62, 312, 3268, 357, 46506, 5442, 62, 79, 23439, 16034, 2872, 33411, 1499, 796, 705, 27429, 11537 ]
What year was the game at Bad Neuenahr Eppelborn?
SELECT "Year" FROM table_66064 WHERE "Venue" = 'bad neuenahr eppelborn'
[ 2061, 614, 373, 262, 983, 379, 7772, 3169, 84, 268, 993, 81, 412, 46357, 6286, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 39885, 2414, 33411, 366, 37522, 518, 1, 796, 705, 14774, 497, 84, 268, 993, 81, 304, 46357, 6286, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 983, 379, 7772, 3169, 84, 268, 993, 81, 412, 46357, 6286, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 39885, 2414, 33411, 366, 37522, 518, 1, 796, 705, 14774, 497, 84, 268, 993, 81, 304, 46357, 6286, 6 ]
What was the score of cook 3/6?
SELECT "Result" FROM table_11933 WHERE "Goals" = 'cook 3/6'
[ 2061, 373, 262, 4776, 286, 4255, 513, 14, 21, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 16315, 2091, 33411, 366, 5247, 874, 1, 796, 705, 27916, 513, 14, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 4255, 513, 14, 21, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 16315, 2091, 33411, 366, 5247, 874, 1, 796, 705, 27916, 513, 14, 21, 6 ]
What's the number of the game played on June 22?
SELECT MAX("Game") FROM table_23310 WHERE "Date" = 'June 22'
[ 2061, 338, 262, 1271, 286, 262, 983, 2826, 319, 2795, 2534, 30, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 25429, 940, 33411, 366, 10430, 1, 796, 705, 15749, 2534, 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, 338, 262, 1271, 286, 262, 983, 2826, 319, 2795, 2534, 30, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 25429, 940, 33411, 366, 10430, 1, 796, 705, 15749, 2534, 6 ]
Who was the opponent at the game with a result of W 13 12?
SELECT "Opponent" FROM table_7675 WHERE "Result" = 'w 13–12'
[ 8241, 373, 262, 6125, 379, 262, 983, 351, 257, 1255, 286, 370, 1511, 1105, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 4304, 2425, 33411, 366, 23004, 1, 796, 705, 86, 1511, 1906, 1065, 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 ]
[ 8241, 373, 262, 6125, 379, 262, 983, 351, 257, 1255, 286, 370, 1511, 1105, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 4304, 2425, 33411, 366, 23004, 1, 796, 705, 86, 1511, 1906, 1065, 6 ]
Return the number of the claim start date for the claims whose claimed amount is no more than the average, could you show by the Y-axis in ascending?
SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) ORDER BY COUNT(Date_Claim_Made)
[ 13615, 262, 1271, 286, 262, 1624, 923, 3128, 329, 262, 3667, 3025, 4752, 2033, 318, 645, 517, 621, 262, 2811, 11, 714, 345, 905, 416, 262, 575, 12, 22704, 287, 41988, 30, 46506, 7536, 62, 44819, 62, 24616, 11, 327, 28270, 7, 10430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 262, 1271, 286, 262, 1624, 923, 3128, 329, 262, 3667, 3025, 4752, 2033, 318, 645, 517, 621, 262, 2811, 11, 714, 345, 905, 416, 262, 575, 12, 22704, 287, 41988, 30, 46506, 7536, 62, 44819, 62, 24616, 11, 327, 28270, 7, 10430, ...
What example for did- is shown for a Consonant final stem of -i, and a Noun example: datv- of datv-it?
SELECT "Example: did-" FROM table_8902 WHERE "Consonant final stem" = '-i' AND "Noun example: datv-" = 'datv-it'
[ 2061, 1672, 329, 750, 12, 318, 3402, 329, 257, 3515, 261, 415, 2457, 10717, 286, 532, 72, 11, 290, 257, 399, 977, 1672, 25, 4818, 85, 12, 286, 4818, 85, 12, 270, 30, 46506, 366, 16281, 25, 750, 21215, 16034, 3084, 62, 4531, 2999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1672, 329, 750, 12, 318, 3402, 329, 257, 3515, 261, 415, 2457, 10717, 286, 532, 72, 11, 290, 257, 399, 977, 1672, 25, 4818, 85, 12, 286, 4818, 85, 12, 270, 30, 46506, 366, 16281, 25, 750, 21215, 16034, 3084, 62, 4531, 2999, ...
what is the highest grid when the laps is less than 44 and the constructor is renault?
SELECT MAX("Grid") FROM table_10745 WHERE "Laps" < '44' AND "Constructor" = 'renault'
[ 10919, 318, 262, 4511, 10706, 618, 262, 24590, 318, 1342, 621, 5846, 290, 262, 23772, 318, 8851, 1721, 30, 46506, 25882, 7203, 41339, 4943, 16034, 3084, 62, 15982, 2231, 33411, 366, 43, 1686, 1, 1279, 705, 2598, 6, 5357, 366, 42316, 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 ]
[ 10919, 318, 262, 4511, 10706, 618, 262, 24590, 318, 1342, 621, 5846, 290, 262, 23772, 318, 8851, 1721, 30, 46506, 25882, 7203, 41339, 4943, 16034, 3084, 62, 15982, 2231, 33411, 366, 43, 1686, 1, 1279, 705, 2598, 6, 5357, 366, 42316, 2...
how many patients whose age is less than 79 and diagnoses long title is malignant neoplasm of liver, primary?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "79" AND diagnoses.long_title = "Malignant neoplasm of liver, primary"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 9225, 290, 40567, 890, 3670, 318, 6428, 25114, 497, 20106, 8597, 286, 14383, 11, 4165, 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...
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 9225, 290, 40567, 890, 3670, 318, 6428, 25114, 497, 20106, 8597, 286, 14383, 11, 4165, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
Give the average age of patients who have private insurance and have discharge location as rehab/disticnt part hosp.
SELECT AVG(demographic.age) FROM demographic WHERE demographic.insurance = "Private" AND demographic.discharge_location = "REHAB/DISTINCT PART HOSP"
[ 23318, 262, 2811, 2479, 286, 3871, 508, 423, 2839, 5096, 290, 423, 17655, 4067, 355, 14321, 14, 67, 2569, 429, 636, 10496, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2811, 2479, 286, 3871, 508, 423, 2839, 5096, 290, 423, 17655, 4067, 355, 14321, 14, 67, 2569, 429, 636, 10496, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, ...
what's the last diagnosis patient 022-78464 got until 4 years ago?
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-78464')) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CU...
[ 10919, 338, 262, 938, 13669, 5827, 657, 1828, 12, 37688, 2414, 1392, 1566, 604, 812, 2084, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 13669, 5827, 657, 1828, 12, 37688, 2414, 1392, 1566, 604, 812, 2084, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712,...
What is the Venue of the WCQ5 Competition?
SELECT "Venue" FROM table_60430 WHERE "Competition" = 'wcq5'
[ 2061, 318, 262, 9932, 518, 286, 262, 28387, 48, 20, 27348, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1899, 31794, 33411, 366, 7293, 15620, 1, 796, 705, 86, 66, 80, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9932, 518, 286, 262, 28387, 48, 20, 27348, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1899, 31794, 33411, 366, 7293, 15620, 1, 796, 705, 86, 66, 80, 20, 6 ]
What place has a to par of E?
SELECT place FROM table_name_46 WHERE to_par = "e"
[ 2061, 1295, 468, 257, 284, 1582, 286, 412, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 3510, 33411, 284, 62, 1845, 796, 366, 68, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 468, 257, 284, 1582, 286, 412, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 3510, 33411, 284, 62, 1845, 796, 366, 68, 1 ]
I want the date with the venue of mcalpine stadium
SELECT "Date" FROM table_52641 WHERE "Venue" = 'mcalpine stadium'
[ 40, 765, 262, 3128, 351, 262, 14359, 286, 285, 9948, 23908, 10308, 46506, 366, 10430, 1, 16034, 3084, 62, 48531, 3901, 33411, 366, 37522, 518, 1, 796, 705, 76, 9948, 23908, 10308, 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 ]
[ 40, 765, 262, 3128, 351, 262, 14359, 286, 285, 9948, 23908, 10308, 46506, 366, 10430, 1, 16034, 3084, 62, 48531, 3901, 33411, 366, 37522, 518, 1, 796, 705, 76, 9948, 23908, 10308, 6 ]
What was the average crowd size for the game when the Gold Coast Blaze was the home team?
SELECT AVG(crowd) FROM table_name_77 WHERE home_team = "gold coast blaze"
[ 2061, 373, 262, 2811, 4315, 2546, 329, 262, 983, 618, 262, 3561, 8545, 33965, 373, 262, 1363, 1074, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 1363, 62, 15097, 796, 366, 24267, 7051, 31259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 4315, 2546, 329, 262, 983, 618, 262, 3561, 8545, 33965, 373, 262, 1363, 1074, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 1363, 62, 15097, 796, 366, 24267, 7051, 31259, 1 ]
What is the 2013 value with a qf in 2011?
SELECT 2013 FROM table_name_68 WHERE 2011 = "qf"
[ 2061, 318, 262, 2211, 1988, 351, 257, 10662, 69, 287, 2813, 30, 46506, 2211, 16034, 3084, 62, 3672, 62, 3104, 33411, 2813, 796, 366, 80, 69, 1 ]
[ 1, 1, 1, 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, 2211, 1988, 351, 257, 10662, 69, 287, 2813, 30, 46506, 2211, 16034, 3084, 62, 3672, 62, 3104, 33411, 2813, 796, 366, 80, 69, 1 ]
what is the average total hospital cost to include intracranial/cerebral perfusion pressure monitoring - cerebral tissue oxygenation monitor since 2103?
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'intracranial/cerebral perfusion pressure mon...
[ 10919, 318, 262, 2811, 2472, 4436, 1575, 284, 2291, 9913, 330, 2596, 498, 14, 344, 260, 24427, 23035, 4241, 3833, 9904, 532, 31169, 10712, 11863, 341, 5671, 1201, 362, 15197, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 4436, 1575, 284, 2291, 9913, 330, 2596, 498, 14, 344, 260, 24427, 23035, 4241, 3833, 9904, 532, 31169, 10712, 11863, 341, 5671, 1201, 362, 15197, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 4...