instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Show the names for all females from Canada having a wedding in year 2016.
SELECT T2.name FROM wedding AS T1 JOIN people AS T2 ON T1.female_id = T2.people_id WHERE T1.year = 2016 AND T2.is_male = 'F' AND T2.country = 'Canada'
[ 15307, 262, 3891, 329, 477, 12366, 422, 3340, 1719, 257, 10614, 287, 614, 1584, 13, 46506, 309, 17, 13, 3672, 16034, 10614, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 24724, 62, 312, 796, 309, 17, 13, 15332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 329, 477, 12366, 422, 3340, 1719, 257, 10614, 287, 614, 1584, 13, 46506, 309, 17, 13, 3672, 16034, 10614, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 24724, 62, 312, 796, 309, 17, 13, 15332, ...
Tell me the lowest week for attedance less thaan 32,738
SELECT MIN("Week") FROM table_32015 WHERE "Attendance" < '32,738'
[ 24446, 502, 262, 9016, 1285, 329, 708, 276, 590, 1342, 28110, 272, 3933, 11, 22, 2548, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 18, 4626, 33411, 366, 8086, 437, 590, 1, 1279, 705, 2624, 11, 22, 2548, 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 ]
[ 24446, 502, 262, 9016, 1285, 329, 708, 276, 590, 1342, 28110, 272, 3933, 11, 22, 2548, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 18, 4626, 33411, 366, 8086, 437, 590, 1, 1279, 705, 2624, 11, 22, 2548, 6 ]
How many tournaments have their current venue as the Lindner Family Tennis Center?
SELECT COUNT("Tournament") FROM table_72596 WHERE "Current Venue" = 'Lindner Family Tennis Center'
[ 2437, 867, 18130, 423, 511, 1459, 14359, 355, 262, 9329, 1008, 7884, 37213, 3337, 30, 46506, 327, 28270, 7203, 51, 5138, 4943, 16034, 3084, 62, 45151, 4846, 33411, 366, 11297, 9932, 518, 1, 796, 705, 43410, 1008, 7884, 37213, 3337, 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 ]
[ 2437, 867, 18130, 423, 511, 1459, 14359, 355, 262, 9329, 1008, 7884, 37213, 3337, 30, 46506, 327, 28270, 7203, 51, 5138, 4943, 16034, 3084, 62, 45151, 4846, 33411, 366, 11297, 9932, 518, 1, 796, 705, 43410, 1008, 7884, 37213, 3337, 6 ]
What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand?
SELECT date FROM table_name_98 WHERE position = "back" AND year > 1964 AND test_debut = "1st rl test v new zealand"
[ 2061, 3128, 468, 257, 23158, 286, 736, 11, 1568, 621, 17575, 11, 290, 257, 6208, 8886, 286, 352, 301, 374, 75, 1332, 410, 649, 27689, 392, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4089, 33411, 2292, 796, 366, 1891, 1, 5357, 614, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 468, 257, 23158, 286, 736, 11, 1568, 621, 17575, 11, 290, 257, 6208, 8886, 286, 352, 301, 374, 75, 1332, 410, 649, 27689, 392, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4089, 33411, 2292, 796, 366, 1891, 1, 5357, 614, ...
What is the Format and Special Notes for of the pact: ...of the gods?
SELECT "Format, Special Notes" FROM table_53218 WHERE "Title" = 'the pact: ...of the gods'
[ 2061, 318, 262, 18980, 290, 6093, 11822, 329, 286, 262, 28242, 25, 2644, 1659, 262, 11858, 30, 46506, 366, 26227, 11, 6093, 11822, 1, 16034, 3084, 62, 20, 2624, 1507, 33411, 366, 19160, 1, 796, 705, 1169, 28242, 25, 2644, 1659, 262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18980, 290, 6093, 11822, 329, 286, 262, 28242, 25, 2644, 1659, 262, 11858, 30, 46506, 366, 26227, 11, 6093, 11822, 1, 16034, 3084, 62, 20, 2624, 1507, 33411, 366, 19160, 1, 796, 705, 1169, 28242, 25, 2644, 1659, 262, ...
what was the venue that hosted Carlton as the away team?
SELECT venue FROM table_name_24 WHERE away_team = "carlton"
[ 10919, 373, 262, 14359, 326, 12007, 44348, 355, 262, 1497, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1731, 33411, 1497, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 14359, 326, 12007, 44348, 355, 262, 1497, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1731, 33411, 1497, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
type i diabetes or type ii diabetics weighing less than 120 lbs
SELECT * FROM table_train_209 WHERE (diabetic = 'i' OR diabetic = 'ii') AND body_weight <= 120
[ 4906, 1312, 12593, 393, 2099, 21065, 2566, 8380, 873, 21990, 1342, 621, 7982, 15785, 46506, 1635, 16034, 3084, 62, 27432, 62, 22567, 33411, 357, 10989, 33312, 796, 705, 72, 6, 6375, 44016, 796, 705, 4178, 11537, 5357, 1767, 62, 6551, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4906, 1312, 12593, 393, 2099, 21065, 2566, 8380, 873, 21990, 1342, 621, 7982, 15785, 46506, 1635, 16034, 3084, 62, 27432, 62, 22567, 33411, 357, 10989, 33312, 796, 705, 72, 6, 6375, 44016, 796, 705, 4178, 11537, 5357, 1767, 62, 6551, 19...
what are all the percent (1990) where state is united states
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states"
[ 10919, 389, 477, 262, 1411, 357, 19891, 8, 810, 1181, 318, 16503, 2585, 46506, 1411, 834, 19891, 62, 16034, 3084, 62, 16817, 1954, 1415, 62, 20, 33411, 1181, 796, 366, 17013, 2585, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 1411, 357, 19891, 8, 810, 1181, 318, 16503, 2585, 46506, 1411, 834, 19891, 62, 16034, 3084, 62, 16817, 1954, 1415, 62, 20, 33411, 1181, 796, 366, 17013, 2585, 1 ]
Which Cashes has a Match Play smaller than 13, and a Events of 7?
SELECT COUNT("Cashes") FROM table_40422 WHERE "Match Play" < '13' AND "Events" = '7'
[ 13828, 327, 7465, 468, 257, 13225, 3811, 4833, 621, 1511, 11, 290, 257, 18715, 286, 767, 30, 46506, 327, 28270, 7203, 34, 7465, 4943, 16034, 3084, 62, 26429, 1828, 33411, 366, 23850, 3811, 1, 1279, 705, 1485, 6, 5357, 366, 37103, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 327, 7465, 468, 257, 13225, 3811, 4833, 621, 1511, 11, 290, 257, 18715, 286, 767, 30, 46506, 327, 28270, 7203, 34, 7465, 4943, 16034, 3084, 62, 26429, 1828, 33411, 366, 23850, 3811, 1, 1279, 705, 1485, 6, 5357, 366, 37103, 1, ...
Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.
SELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics')
[ 16742, 262, 1438, 290, 9588, 286, 33667, 3025, 9588, 318, 2174, 262, 2811, 9588, 286, 262, 33667, 287, 262, 23123, 5011, 13, 46506, 1438, 11, 9588, 16034, 21187, 33411, 9588, 1279, 357, 46506, 35224, 7, 21680, 560, 8, 16034, 21187, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1438, 290, 9588, 286, 33667, 3025, 9588, 318, 2174, 262, 2811, 9588, 286, 262, 33667, 287, 262, 23123, 5011, 13, 46506, 1438, 11, 9588, 16034, 21187, 33411, 9588, 1279, 357, 46506, 35224, 7, 21680, 560, 8, 16034, 21187, 3341...
What is the epa highway fuel economy for an electric suv?
SELECT "EPA rated Highway fuel economy" FROM table_73209 WHERE "Type of powertrain" = 'Electric SUV'
[ 2061, 318, 262, 2462, 64, 12763, 5252, 3773, 329, 281, 5186, 424, 85, 30, 46506, 366, 40906, 13178, 14914, 5252, 3773, 1, 16034, 3084, 62, 4790, 22567, 33411, 366, 6030, 286, 1176, 27432, 1, 796, 705, 44132, 26763, 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, 2462, 64, 12763, 5252, 3773, 329, 281, 5186, 424, 85, 30, 46506, 366, 40906, 13178, 14914, 5252, 3773, 1, 16034, 3084, 62, 4790, 22567, 33411, 366, 6030, 286, 1176, 27432, 1, 796, 705, 44132, 26763, 6 ]
Count the hometown by hometown, could you display how many hometown in ascending order?
SELECT Hometown, COUNT(Hometown) FROM member GROUP BY Hometown ORDER BY COUNT(Hometown)
[ 12332, 262, 20994, 416, 20994, 11, 714, 345, 3359, 703, 867, 20994, 287, 41988, 1502, 30, 46506, 367, 19191, 11, 327, 28270, 7, 39, 19191, 8, 16034, 2888, 44441, 11050, 367, 19191, 38678, 11050, 327, 28270, 7, 39, 19191, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 20994, 416, 20994, 11, 714, 345, 3359, 703, 867, 20994, 287, 41988, 1502, 30, 46506, 367, 19191, 11, 327, 28270, 7, 39, 19191, 8, 16034, 2888, 44441, 11050, 367, 19191, 38678, 11050, 327, 28270, 7, 39, 19191, 8 ]
I want a bar chart to show the average cloud cover of the dates that have the 5 highest cloud cover rates each year.
SELECT date, AVG(cloud_cover) FROM weather
[ 40, 765, 257, 2318, 8262, 284, 905, 262, 2811, 6279, 3002, 286, 262, 9667, 326, 423, 262, 642, 4511, 6279, 3002, 3965, 1123, 614, 13, 46506, 3128, 11, 35224, 7, 17721, 62, 9631, 8, 16034, 6193 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 284, 905, 262, 2811, 6279, 3002, 286, 262, 9667, 326, 423, 262, 642, 4511, 6279, 3002, 3965, 1123, 614, 13, 46506, 3128, 11, 35224, 7, 17721, 62, 9631, 8, 16034, 6193 ]
What is Date, when Championship is Mackay?
SELECT "Date" FROM table_44607 WHERE "Championship" = 'mackay'
[ 2061, 318, 7536, 11, 618, 10749, 318, 16640, 323, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2598, 31980, 33411, 366, 1925, 4350, 1056, 1, 796, 705, 76, 441, 323, 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, 7536, 11, 618, 10749, 318, 16640, 323, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2598, 31980, 33411, 366, 1925, 4350, 1056, 1, 796, 705, 76, 441, 323, 6 ]
What is Style, when Choreographer(s) is Dave Scott?
SELECT "Style" FROM table_6862 WHERE "Choreographer(s)" = 'dave scott'
[ 2061, 318, 17738, 11, 618, 609, 382, 18539, 7, 82, 8, 318, 9935, 4746, 30, 46506, 366, 21466, 1, 16034, 3084, 62, 3104, 5237, 33411, 366, 1925, 382, 18539, 7, 82, 16725, 796, 705, 67, 1015, 629, 1252, 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, 17738, 11, 618, 609, 382, 18539, 7, 82, 8, 318, 9935, 4746, 30, 46506, 366, 21466, 1, 16034, 3084, 62, 3104, 5237, 33411, 366, 1925, 382, 18539, 7, 82, 16725, 796, 705, 67, 1015, 629, 1252, 6 ]
Which Venue has an Away team of south melbourne?
SELECT "Venue" FROM table_55311 WHERE "Away team" = 'south melbourne'
[ 13828, 9932, 518, 468, 281, 21986, 1074, 286, 5366, 7758, 12544, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2816, 36244, 33411, 366, 32, 1014, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9932, 518, 468, 281, 21986, 1074, 286, 5366, 7758, 12544, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2816, 36244, 33411, 366, 32, 1014, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
how many days has it been since the first stay of patient 17462 in the careunit tsicu on the current hospital encounter?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17462 AND admissions.dischtime IS NULL) AND transfers.careunit = 'tsicu' ORDER BY transfers.intime LIMIT 1
[ 4919, 867, 1528, 468, 340, 587, 1201, 262, 717, 2652, 286, 5827, 1596, 39997, 287, 262, 1337, 20850, 256, 21383, 84, 319, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 468, 340, 587, 1201, 262, 717, 2652, 286, 5827, 1596, 39997, 287, 262, 1337, 20850, 256, 21383, 84, 319, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694,...
what was the builder in 1929
SELECT "Builder" FROM table_33975 WHERE "Year built" = '1929'
[ 10919, 373, 262, 27098, 287, 31883, 46506, 366, 32875, 1, 16034, 3084, 62, 29626, 2425, 33411, 366, 17688, 3170, 1, 796, 705, 1129, 1959, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 27098, 287, 31883, 46506, 366, 32875, 1, 16034, 3084, 62, 29626, 2425, 33411, 366, 17688, 3170, 1, 796, 705, 1129, 1959, 6 ]
What is the name of the restaurant originally named Essence?
SELECT "Restaurant Name" FROM table_63331 WHERE "Original Name" = 'essence'
[ 2061, 318, 262, 1438, 286, 262, 7072, 6198, 3706, 36152, 30, 46506, 366, 19452, 2899, 415, 6530, 1, 16034, 3084, 62, 21, 2091, 3132, 33411, 366, 20556, 6530, 1, 796, 705, 408, 594, 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, 1438, 286, 262, 7072, 6198, 3706, 36152, 30, 46506, 366, 19452, 2899, 415, 6530, 1, 16034, 3084, 62, 21, 2091, 3132, 33411, 366, 20556, 6530, 1, 796, 705, 408, 594, 6 ]
Most Popular Tags of 2018.
SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS Rank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS Questions, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts....
[ 6943, 22623, 44789, 286, 2864, 13, 46506, 997, 13, 24835, 5376, 7054, 17467, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 2494, 13, 32184, 22196, 34, 8, 7054, 10916, 11, 371, 3913, 62, 41359, 13246, 3419, 28729...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 22623, 44789, 286, 2864, 13, 46506, 997, 13, 24835, 5376, 7054, 17467, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 2494, 13, 32184, 22196, 34, 8, 7054, 10916, 11, 371, 3913, 62, 41359, 13246, 3419, 28729...
what is primary disease and admission time of subject id 29541?
SELECT demographic.diagnosis, demographic.admittime FROM demographic WHERE demographic.subject_id = "29541"
[ 10919, 318, 4165, 4369, 290, 13938, 640, 286, 2426, 4686, 34772, 3901, 30, 46506, 16728, 13, 47356, 5958, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 25710, 3901, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4165, 4369, 290, 13938, 640, 286, 2426, 4686, 34772, 3901, 30, 46506, 16728, 13, 47356, 5958, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 25710, 3901, 1 ]
For those employees who did not have any job in the past, give me the trend about commission_pct over hire_date , and I want to display by the x axis from low to high.
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 5182, 546, 5810, 62, 79, 310, 625, 11078, 62, 4475, 837, 290, 314, 765, 284, 3359, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 13, 46506, 36210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 5182, 546, 5810, 62, 79, 310, 625, 11078, 62, 4475, 837, 290, 314, 765, 284, 3359, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 13, 46506, 36210, ...
who was the opponent for the boston red sox on july 27 , 1946 ?
SELECT "opponent" FROM table_203_549 WHERE "team" = 'boston red sox' AND "date" = 'july 27, 1946'
[ 8727, 373, 262, 6125, 329, 262, 275, 5744, 2266, 523, 87, 319, 474, 2062, 2681, 837, 22717, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 44966, 33411, 366, 15097, 1, 796, 705, 65, 5744, 2266, 523, 87, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 373, 262, 6125, 329, 262, 275, 5744, 2266, 523, 87, 319, 474, 2062, 2681, 837, 22717, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 44966, 33411, 366, 15097, 1, 796, 705, 65, 5744, 2266, 523, 87, 6, 5357, 366, ...
count the number of patients whose days of hospital stay is greater than 26 and procedure icd9 code is 8659?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "26" AND procedures.icd9_code = "8659"
[ 9127, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 2608, 290, 8771, 14158, 67, 24, 2438, 318, 807, 36445, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 318, 3744, 621, 2608, 290, 8771, 14158, 67, 24, 2438, 318, 807, 36445, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
What is the full number of New Council when the previous council was 54 and the staying councilor number is bigger than 36?
SELECT COUNT(new_council) FROM table_name_82 WHERE previous_council = 54 AND staying_councillors > 36
[ 2061, 318, 262, 1336, 1271, 286, 968, 4281, 618, 262, 2180, 6745, 373, 7175, 290, 262, 10589, 6745, 273, 1271, 318, 5749, 621, 4570, 30, 46506, 327, 28270, 7, 3605, 62, 66, 977, 2856, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 2180,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1336, 1271, 286, 968, 4281, 618, 262, 2180, 6745, 373, 7175, 290, 262, 10589, 6745, 273, 1271, 318, 5749, 621, 4570, 30, 46506, 327, 28270, 7, 3605, 62, 66, 977, 2856, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 2180,...
@ Chicago had a high points of what?
SELECT high_points FROM table_17355408_7 WHERE team = "@ Chicago"
[ 31, 4842, 550, 257, 1029, 2173, 286, 644, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1558, 28567, 26200, 62, 22, 33411, 1074, 796, 44212, 4842, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 31, 4842, 550, 257, 1029, 2173, 286, 644, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1558, 28567, 26200, 62, 22, 33411, 1074, 796, 44212, 4842, 1 ]
Which race has a Margin of 8?
SELECT "Race" FROM table_54142 WHERE "Margin" = '8'
[ 13828, 3234, 468, 257, 11899, 259, 286, 807, 30, 46506, 366, 35157, 1, 16034, 3084, 62, 4051, 23726, 33411, 366, 24428, 259, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3234, 468, 257, 11899, 259, 286, 807, 30, 46506, 366, 35157, 1, 16034, 3084, 62, 4051, 23726, 33411, 366, 24428, 259, 1, 796, 705, 23, 6 ]
What Poles have Races smaller than 4?
SELECT AVG("Poles") FROM table_58629 WHERE "Races" < '4'
[ 2061, 45631, 423, 45134, 4833, 621, 604, 30, 46506, 35224, 7203, 47, 4316, 4943, 16034, 3084, 62, 29796, 1959, 33411, 366, 49, 2114, 1, 1279, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 45631, 423, 45134, 4833, 621, 604, 30, 46506, 35224, 7203, 47, 4316, 4943, 16034, 3084, 62, 29796, 1959, 33411, 366, 49, 2114, 1, 1279, 705, 19, 6 ]
What are the names of the managers for gas stations that are operated by the ExxonMobil company?
SELECT T3.manager_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 WHERE T2.company = 'ExxonMobil'
[ 2061, 389, 262, 3891, 286, 262, 11663, 329, 3623, 8985, 326, 389, 12228, 416, 262, 27879, 47100, 1664, 30, 46506, 309, 18, 13, 37153, 62, 3672, 16034, 4429, 62, 39722, 7054, 309, 16, 32357, 1268, 1664, 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...
[ 2061, 389, 262, 3891, 286, 262, 11663, 329, 3623, 8985, 326, 389, 12228, 416, 262, 27879, 47100, 1664, 30, 46506, 309, 18, 13, 37153, 62, 3672, 16034, 4429, 62, 39722, 7054, 309, 16, 32357, 1268, 1664, 7054, 309, 17, 6177, 309, 16, ...
What activities do we have?
SELECT activity_name FROM activity
[ 2061, 4568, 466, 356, 423, 30, 46506, 3842, 62, 3672, 16034, 3842 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4568, 466, 356, 423, 30, 46506, 3842, 62, 3672, 16034, 3842 ]
what is the posisiotn where the start is 3?
SELECT "Position" FROM table_21259 WHERE "Starts" = '3'
[ 10919, 318, 262, 1426, 271, 5151, 77, 810, 262, 923, 318, 513, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 21777, 3270, 33411, 366, 1273, 5889, 1, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1426, 271, 5151, 77, 810, 262, 923, 318, 513, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 21777, 3270, 33411, 366, 1273, 5889, 1, 796, 705, 18, 6 ]
Bin the Year into weekday interval, then group and count by Year, and I want to display by the how many year in ascending.
SELECT Year, COUNT(Year) FROM exhibition ORDER BY COUNT(Year)
[ 33, 259, 262, 6280, 656, 28269, 16654, 11, 788, 1448, 290, 954, 416, 6280, 11, 290, 314, 765, 284, 3359, 416, 262, 703, 867, 614, 287, 41988, 13, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 17127, 38678, 11050, 327, 28270, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33, 259, 262, 6280, 656, 28269, 16654, 11, 788, 1448, 290, 954, 416, 6280, 11, 290, 314, 765, 284, 3359, 416, 262, 703, 867, 614, 287, 41988, 13, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 17127, 38678, 11050, 327, 28270, 7, ...
How many legs has the player with high checkout of 80 won?
SELECT "Legs Won" FROM table_23668 WHERE "High Checkout" = '80'
[ 2437, 867, 7405, 468, 262, 2137, 351, 1029, 28006, 286, 4019, 1839, 30, 46506, 366, 11484, 82, 23306, 1, 16034, 3084, 62, 1954, 35809, 33411, 366, 11922, 6822, 448, 1, 796, 705, 1795, 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 ]
[ 2437, 867, 7405, 468, 262, 2137, 351, 1029, 28006, 286, 4019, 1839, 30, 46506, 366, 11484, 82, 23306, 1, 16034, 3084, 62, 1954, 35809, 33411, 366, 11922, 6822, 448, 1, 796, 705, 1795, 6 ]
how many of the patients discharged to rehab/distinct part hosp had drug detoxification?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND procedures.short_title = "Drug detoxification"
[ 4919, 867, 286, 262, 3871, 26476, 284, 14321, 14, 17080, 4612, 636, 10496, 550, 2563, 44674, 2649, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 286, 262, 3871, 26476, 284, 14321, 14, 17080, 4612, 636, 10496, 550, 2563, 44674, 2649, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
tell me the maximum hospital cost that includes cholecystectomy in 2105?
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cholecystectomy')) AND STRFTIME('%y', cost.chargetime) = ...
[ 33331, 502, 262, 5415, 4436, 1575, 326, 3407, 1727, 293, 948, 301, 42505, 287, 362, 13348, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 1575, 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...
[ 33331, 502, 262, 5415, 4436, 1575, 326, 3407, 1727, 293, 948, 301, 42505, 287, 362, 13348, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 1575, 13, ...
What is the date the high rebounds were by lamarcus aldridge (6)?
SELECT date FROM table_27734769_8 WHERE high_rebounds = "LaMarcus Aldridge (6)"
[ 2061, 318, 262, 3128, 262, 1029, 18841, 547, 416, 30592, 5605, 385, 257, 335, 12818, 357, 21, 19427, 46506, 3128, 16034, 3084, 62, 27019, 30995, 3388, 62, 23, 33411, 1029, 62, 34806, 3733, 796, 366, 14772, 35110, 15586, 12818, 357, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 262, 1029, 18841, 547, 416, 30592, 5605, 385, 257, 335, 12818, 357, 21, 19427, 46506, 3128, 16034, 3084, 62, 27019, 30995, 3388, 62, 23, 33411, 1029, 62, 34806, 3733, 796, 366, 14772, 35110, 15586, 12818, 357, 21, ...
How many episodes were originally aired Saturday, May 30, 2009?
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 30, 2009"
[ 2437, 867, 8640, 547, 6198, 18530, 3909, 11, 1737, 1542, 11, 3717, 30, 46506, 327, 28270, 7, 38668, 834, 17618, 8, 16034, 3084, 62, 17430, 25191, 2816, 62, 17, 33411, 514, 62, 958, 62, 4475, 796, 366, 19844, 11, 1737, 1542, 11, 3717...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8640, 547, 6198, 18530, 3909, 11, 1737, 1542, 11, 3717, 30, 46506, 327, 28270, 7, 38668, 834, 17618, 8, 16034, 3084, 62, 17430, 25191, 2816, 62, 17, 33411, 514, 62, 958, 62, 4475, 796, 366, 19844, 11, 1737, 1542, 11, 3717...
How many Points have an Against smaller than 43, and a Position smaller than 1?
SELECT SUM(points) FROM table_name_49 WHERE against < 43 AND position < 1
[ 2437, 867, 11045, 423, 281, 12914, 4833, 621, 5946, 11, 290, 257, 23158, 4833, 621, 352, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 1028, 1279, 5946, 5357, 2292, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 11045, 423, 281, 12914, 4833, 621, 5946, 11, 290, 257, 23158, 4833, 621, 352, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 1028, 1279, 5946, 5357, 2292, 1279, 352 ]
When was the game that was held at the Princes Park?
SELECT "Date" FROM table_32808 WHERE "Venue" = 'princes park'
[ 2215, 373, 262, 983, 326, 373, 2714, 379, 262, 7489, 728, 3250, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2624, 28362, 33411, 366, 37522, 518, 1, 796, 705, 1050, 17386, 3952, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 983, 326, 373, 2714, 379, 262, 7489, 728, 3250, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2624, 28362, 33411, 366, 37522, 518, 1, 796, 705, 1050, 17386, 3952, 6 ]
Who is the GamePlan when Arabella Lazenby is the RolePlay actor?
SELECT "GamePlan" FROM table_62573 WHERE "RolePlay" = 'arabella lazenby'
[ 8241, 318, 262, 3776, 20854, 618, 4498, 12627, 22807, 268, 1525, 318, 262, 20934, 11002, 8674, 30, 46506, 366, 8777, 20854, 1, 16034, 3084, 62, 26704, 4790, 33411, 366, 47445, 11002, 1, 796, 705, 283, 43653, 37296, 268, 1525, 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 ]
[ 8241, 318, 262, 3776, 20854, 618, 4498, 12627, 22807, 268, 1525, 318, 262, 20934, 11002, 8674, 30, 46506, 366, 8777, 20854, 1, 16034, 3084, 62, 26704, 4790, 33411, 366, 47445, 11002, 1, 796, 705, 283, 43653, 37296, 268, 1525, 6 ]
when was the last time that patient 81461 had the chloride minimum value since 12/2105?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 81461) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'chloride') AND STRFTIME('%y-%m', labevents.charttime) >= '2105-12' ORDER BY lab...
[ 12518, 373, 262, 938, 640, 326, 5827, 807, 1415, 5333, 550, 262, 44921, 5288, 1988, 1201, 1105, 14, 17, 13348, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 938, 640, 326, 5827, 807, 1415, 5333, 550, 262, 44921, 5288, 1988, 1201, 1105, 14, 17, 13348, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, ...
Golfer Steve Pate has what To par?
SELECT "To par" FROM table_60556 WHERE "Player" = 'steve pate'
[ 38, 349, 2232, 6542, 350, 378, 468, 644, 1675, 1582, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 1899, 37864, 33411, 366, 14140, 1, 796, 705, 4169, 303, 279, 378, 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 ]
[ 38, 349, 2232, 6542, 350, 378, 468, 644, 1675, 1582, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 1899, 37864, 33411, 366, 14140, 1, 796, 705, 4169, 303, 279, 378, 6 ]
how many current patients are of the age 30s?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age BETWEEN 30 AND 39
[ 4919, 867, 1459, 3871, 389, 286, 262, 2479, 1542, 82, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 5827, 13, 496, 386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1459, 3871, 389, 286, 262, 2479, 1542, 82, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 5827, 13, 496, 386...
Which Reaction has a Rank smaller than 4, and a Nationality of trinidad and tobago, and a Time larger than 45.13?
SELECT AVG("React") FROM table_63826 WHERE "Rank" < '4' AND "Nationality" = 'trinidad and tobago' AND "Time" > '45.13'
[ 13828, 39912, 468, 257, 10916, 4833, 621, 604, 11, 290, 257, 2351, 414, 286, 491, 259, 32482, 290, 10773, 3839, 11, 290, 257, 3862, 4025, 621, 4153, 13, 1485, 30, 46506, 35224, 7203, 3041, 529, 4943, 16034, 3084, 62, 21, 2548, 2075, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 39912, 468, 257, 10916, 4833, 621, 604, 11, 290, 257, 2351, 414, 286, 491, 259, 32482, 290, 10773, 3839, 11, 290, 257, 3862, 4025, 621, 4153, 13, 1485, 30, 46506, 35224, 7203, 3041, 529, 4943, 16034, 3084, 62, 21, 2548, 2075, ...
What happened on 2009-03-14?
SELECT "Circumstances" FROM table_68619 WHERE "Date" = '2009-03-14'
[ 2061, 3022, 319, 3717, 12, 3070, 12, 1415, 30, 46506, 366, 31560, 388, 301, 1817, 1, 16034, 3084, 62, 33808, 1129, 33411, 366, 10430, 1, 796, 705, 10531, 12, 3070, 12, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3022, 319, 3717, 12, 3070, 12, 1415, 30, 46506, 366, 31560, 388, 301, 1817, 1, 16034, 3084, 62, 33808, 1129, 33411, 366, 10430, 1, 796, 705, 10531, 12, 3070, 12, 1415, 6 ]
What is the lowest Pick # of Saint Vincent College?
SELECT MIN(pick__number) FROM table_name_78 WHERE college = "saint vincent college"
[ 2061, 318, 262, 9016, 12346, 1303, 286, 9281, 18653, 5535, 30, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 3695, 33411, 4152, 796, 366, 82, 2913, 410, 42816, 4152, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 12346, 1303, 286, 9281, 18653, 5535, 30, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 3695, 33411, 4152, 796, 366, 82, 2913, 410, 42816, 4152, 1 ]
Titles with Answers > 0.
SELECT P.Title, P.AcceptedAnswerId, P.AnswerCount, YEAR(P.CreationDate) FROM Posts AS P WHERE P.Title LIKE '%appium%' AND P.AnswerCount > 0 AND ((P.Tags LIKE '%android-testing%') OR (P.Tags LIKE '%robotium%') OR (P.Tags LIKE '%androidviewclient%') OR (P.Tags LIKE '%monkeyrunner%') OR (P.Tags LIKE '%robolectric%') OR (P...
[ 51, 30540, 351, 42612, 1875, 657, 13, 46506, 350, 13, 19160, 11, 350, 13, 38855, 276, 33706, 7390, 11, 350, 13, 33706, 12332, 11, 32914, 7, 47, 13, 12443, 341, 10430, 8, 16034, 12043, 7054, 350, 33411, 350, 13, 19160, 34178, 705, 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...
[ 51, 30540, 351, 42612, 1875, 657, 13, 46506, 350, 13, 19160, 11, 350, 13, 38855, 276, 33706, 7390, 11, 350, 13, 33706, 12332, 11, 32914, 7, 47, 13, 12443, 341, 10430, 8, 16034, 12043, 7054, 350, 33411, 350, 13, 19160, 34178, 705, 4,...
How many starts did Pearson have when his winnings were $101,438?
SELECT "Starts" FROM table_28552 WHERE "Winnings" = '$101,438'
[ 2437, 867, 4940, 750, 31074, 423, 618, 465, 1592, 23400, 547, 720, 8784, 11, 43704, 30, 46506, 366, 1273, 5889, 1, 16034, 3084, 62, 2078, 40427, 33411, 366, 54, 3732, 654, 1, 796, 705, 3, 8784, 11, 43704, 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 ]
[ 2437, 867, 4940, 750, 31074, 423, 618, 465, 1592, 23400, 547, 720, 8784, 11, 43704, 30, 46506, 366, 1273, 5889, 1, 16034, 3084, 62, 2078, 40427, 33411, 366, 54, 3732, 654, 1, 796, 705, 3, 8784, 11, 43704, 6 ]
when did first patient 2238 have the minimum value of fibrinogen, functional in 04/last year?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2238) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'fibrinogen, functional') AND DATETIME(labevents.charttime, 'start of year') = DA...
[ 12518, 750, 717, 5827, 362, 23721, 423, 262, 5288, 1988, 286, 277, 2889, 259, 6644, 11, 10345, 287, 8702, 14, 12957, 614, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 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...
[ 12518, 750, 717, 5827, 362, 23721, 423, 262, 5288, 1988, 286, 277, 2889, 259, 6644, 11, 10345, 287, 8702, 14, 12957, 614, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 3...
What is State, when AAM Accredited is No, when ASTC Member is No, and when City is Tulsa?
SELECT state FROM table_name_49 WHERE aam_accredited = "no" AND astc_member = "no" AND city = "tulsa"
[ 2061, 318, 1812, 11, 618, 317, 2390, 6366, 19465, 318, 1400, 11, 618, 29273, 34, 10239, 318, 1400, 11, 290, 618, 2254, 318, 36443, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2920, 33411, 257, 321, 62, 4134, 19465, 796, 366, 3919, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1812, 11, 618, 317, 2390, 6366, 19465, 318, 1400, 11, 618, 29273, 34, 10239, 318, 1400, 11, 290, 618, 2254, 318, 36443, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2920, 33411, 257, 321, 62, 4134, 19465, 796, 366, 3919, 1...
what is the total number of male patients diagnosed with icd9 code 99592?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.icd9_code = "99592"
[ 10919, 318, 262, 2472, 1271, 286, 4257, 3871, 14641, 351, 14158, 67, 24, 2438, 7388, 45839, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2472, 1271, 286, 4257, 3871, 14641, 351, 14158, 67, 24, 2438, 7388, 45839, 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, ...
i need a flight leaving PITTSBURGH next monday arriving in FORT WORTH before 1000
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 ((date_day.day_number = 21 AND date_day.month_number = 2 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.arrival_time <...
[ 72, 761, 257, 5474, 4305, 49040, 4694, 38926, 17511, 1306, 285, 3204, 14820, 287, 7473, 51, 21881, 4221, 878, 8576, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 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...
[ 72, 761, 257, 5474, 4305, 49040, 4694, 38926, 17511, 1306, 285, 3204, 14820, 287, 7473, 51, 21881, 4221, 878, 8576, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62...
Show the proportion of the number of countries for all people whose age is smaller than the average.
SELECT Country, COUNT(Country) FROM people WHERE Age < (SELECT AVG(Age) FROM people) GROUP BY Country
[ 15307, 262, 9823, 286, 262, 1271, 286, 2678, 329, 477, 661, 3025, 2479, 318, 4833, 621, 262, 2811, 13, 46506, 12946, 11, 327, 28270, 7, 33921, 8, 16034, 661, 33411, 7129, 1279, 357, 46506, 35224, 7, 23396, 8, 16034, 661, 8, 44441, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9823, 286, 262, 1271, 286, 2678, 329, 477, 661, 3025, 2479, 318, 4833, 621, 262, 2811, 13, 46506, 12946, 11, 327, 28270, 7, 33921, 8, 16034, 661, 33411, 7129, 1279, 357, 46506, 35224, 7, 23396, 8, 16034, 661, 8, 44441, 1...
What was the result of the tournament in 2001?
SELECT result FROM table_name_67 WHERE year = 2001
[ 2061, 373, 262, 1255, 286, 262, 7756, 287, 5878, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3134, 33411, 614, 796, 5878 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 7756, 287, 5878, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3134, 33411, 614, 796, 5878 ]
what is the population where municipality is san jacinto?
SELECT population__2010_ FROM table_1691800_2 WHERE municipality = "San Jacinto"
[ 10919, 318, 262, 3265, 810, 27264, 318, 5336, 474, 330, 20424, 30, 46506, 3265, 834, 10333, 62, 16034, 3084, 62, 22172, 39188, 62, 17, 33411, 27264, 796, 366, 15017, 8445, 20424, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 810, 27264, 318, 5336, 474, 330, 20424, 30, 46506, 3265, 834, 10333, 62, 16034, 3084, 62, 22172, 39188, 62, 17, 33411, 27264, 796, 366, 15017, 8445, 20424, 1 ]
Name the visitor for home of ny rangers
SELECT "Visitor" FROM table_58576 WHERE "Home" = 'ny rangers'
[ 5376, 262, 21493, 329, 1363, 286, 299, 88, 374, 6606, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3365, 37452, 33411, 366, 16060, 1, 796, 705, 3281, 374, 6606, 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 ]
[ 5376, 262, 21493, 329, 1363, 286, 299, 88, 374, 6606, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3365, 37452, 33411, 366, 16060, 1, 796, 705, 3281, 374, 6606, 6 ]
What qual had a finish of 16 in 1968?
SELECT qual FROM table_name_64 WHERE finish = "16" AND year = "1968"
[ 2061, 4140, 550, 257, 5461, 286, 1467, 287, 15963, 30, 46506, 4140, 16034, 3084, 62, 3672, 62, 2414, 33411, 5461, 796, 366, 1433, 1, 5357, 614, 796, 366, 42246, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 4140, 550, 257, 5461, 286, 1467, 287, 15963, 30, 46506, 4140, 16034, 3084, 62, 3672, 62, 2414, 33411, 5461, 796, 366, 1433, 1, 5357, 614, 796, 366, 42246, 1 ]
specify icd9 code for patient id 76446
SELECT procedures.short_title FROM procedures WHERE procedures.subject_id = "76446"
[ 16684, 1958, 14158, 67, 24, 2438, 329, 5827, 4686, 767, 2414, 3510, 46506, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 22, 2414, 3510, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16684, 1958, 14158, 67, 24, 2438, 329, 5827, 4686, 767, 2414, 3510, 46506, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 22, 2414, 3510, 1 ]
list the flights from ST. PETERSBURG to TORONTO
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 = 'ST. PETERSBURG' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ...
[ 4868, 262, 13956, 422, 3563, 13, 32043, 4877, 38926, 38, 284, 40691, 35830, 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, 15271, 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...
[ 4868, 262, 13956, 422, 3563, 13, 32043, 4877, 38926, 38, 284, 40691, 35830, 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, 15271, 7054, ...
What is the total where the gold is larger than 2?
SELECT COUNT("Total") FROM table_76070 WHERE "Gold" > '2'
[ 2061, 318, 262, 2472, 810, 262, 3869, 318, 4025, 621, 362, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 40761, 2154, 33411, 366, 13306, 1, 1875, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 810, 262, 3869, 318, 4025, 621, 362, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 40761, 2154, 33411, 366, 13306, 1, 1875, 705, 17, 6 ]
When the game is listed as 2, what is the score?
SELECT "Score" FROM table_6938 WHERE "Game" = '2'
[ 2215, 262, 983, 318, 5610, 355, 362, 11, 644, 318, 262, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 2548, 33411, 366, 8777, 1, 796, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 983, 318, 5610, 355, 362, 11, 644, 318, 262, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 2548, 33411, 366, 8777, 1, 796, 705, 17, 6 ]
When was the first year when Fowler joined?
SELECT MIN("Year Left") FROM table_69534 WHERE "Location" = 'fowler'
[ 2215, 373, 262, 717, 614, 618, 33693, 5399, 30, 46506, 20625, 7203, 17688, 9578, 4943, 16034, 3084, 62, 37381, 2682, 33411, 366, 14749, 1, 796, 705, 69, 30014, 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 ]
[ 2215, 373, 262, 717, 614, 618, 33693, 5399, 30, 46506, 20625, 7203, 17688, 9578, 4943, 16034, 3084, 62, 37381, 2682, 33411, 366, 14749, 1, 796, 705, 69, 30014, 6 ]
how many dates are on the chart
SELECT COUNT("date") FROM table_204_917
[ 4919, 867, 9667, 389, 319, 262, 8262, 46506, 327, 28270, 7203, 4475, 4943, 16034, 3084, 62, 18638, 62, 24, 1558 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 9667, 389, 319, 262, 8262, 46506, 327, 28270, 7203, 4475, 4943, 16034, 3084, 62, 18638, 62, 24, 1558 ]
Show the name of each county along with the corresponding number of delegates from that county with a bar chart, I want to rank by the Y from high to low.
SELECT County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY T1.County_Id ORDER BY COUNT(*) DESC
[ 15307, 262, 1438, 286, 1123, 7968, 1863, 351, 262, 11188, 1271, 286, 15265, 422, 326, 7968, 351, 257, 2318, 8262, 11, 314, 765, 284, 4279, 416, 262, 575, 422, 1029, 284, 1877, 13, 46506, 3418, 62, 3672, 11, 327, 28270, 7, 28104, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 1438, 286, 1123, 7968, 1863, 351, 262, 11188, 1271, 286, 15265, 422, 326, 7968, 351, 257, 2318, 8262, 11, 314, 765, 284, 4279, 416, 262, 575, 422, 1029, 284, 1877, 13, 46506, 3418, 62, 3672, 11, 327, 28270, 7, 28104, 160...
What team picked 80?
SELECT "Team" FROM table_11793 WHERE "Pick" = '80'
[ 2061, 1074, 6497, 4019, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1157, 44750, 33411, 366, 31686, 1, 796, 705, 1795, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 6497, 4019, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1157, 44750, 33411, 366, 31686, 1, 796, 705, 1795, 6 ]
in this month patient 004-32341 received a magnesium test?
SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-32341')) AND lab.labname = 'magnesium' AND DATETIME(lab.labresulttime, 'start of mon...
[ 259, 428, 1227, 5827, 3571, 19, 12, 32637, 3901, 2722, 257, 33525, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 428, 1227, 5827, 3571, 19, 12, 32637, 3901, 2722, 257, 33525, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 58...
Who was the player in Round 7, on the MWEHL Team Detroit Honeybaked, and the NHL Team, Philadelphia Flyers teams?
SELECT player FROM table_name_32 WHERE round = "7" AND mwehl_team = "detroit honeybaked" AND nhl_team = "philadelphia flyers"
[ 8241, 373, 262, 2137, 287, 10485, 767, 11, 319, 262, 337, 8845, 6581, 4816, 8488, 21788, 65, 4335, 11, 290, 262, 9481, 4816, 11, 8857, 30652, 3466, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2624, 33411, 2835, 796, 366, 22, 1, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 373, 262, 2137, 287, 10485, 767, 11, 319, 262, 337, 8845, 6581, 4816, 8488, 21788, 65, 4335, 11, 290, 262, 9481, 4816, 11, 8857, 30652, 3466, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2624, 33411, 2835, 796, 366, 22, 1, 5357...
Which municipalities located in the county of Finnmark have populations bigger than 6187.0?
SELECT "Municipality" FROM table_72714 WHERE "County" = 'Finnmark' AND "Population" > '6187.0'
[ 13828, 29364, 5140, 287, 262, 7968, 286, 15368, 4102, 423, 9684, 5749, 621, 718, 23451, 13, 15, 30, 46506, 366, 44, 9462, 1483, 1, 16034, 3084, 62, 47760, 1415, 33411, 366, 12332, 88, 1, 796, 705, 37, 3732, 4102, 6, 5357, 366, 45251...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29364, 5140, 287, 262, 7968, 286, 15368, 4102, 423, 9684, 5749, 621, 718, 23451, 13, 15, 30, 46506, 366, 44, 9462, 1483, 1, 16034, 3084, 62, 47760, 1415, 33411, 366, 12332, 88, 1, 796, 705, 37, 3732, 4102, 6, 5357, 366, 45251...
What is the canadian air date when the US air date is 24 august 2012?
SELECT canadian_air_date FROM table_30012404_4 WHERE us_air_date = "24 August 2012"
[ 2061, 318, 262, 460, 18425, 1633, 3128, 618, 262, 1294, 1633, 3128, 318, 1987, 16339, 436, 2321, 30, 46506, 460, 18425, 62, 958, 62, 4475, 16034, 3084, 62, 6200, 1065, 26429, 62, 19, 33411, 514, 62, 958, 62, 4475, 796, 366, 1731, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 460, 18425, 1633, 3128, 618, 262, 1294, 1633, 3128, 318, 1987, 16339, 436, 2321, 30, 46506, 460, 18425, 62, 958, 62, 4475, 16034, 3084, 62, 6200, 1065, 26429, 62, 19, 33411, 514, 62, 958, 62, 4475, 796, 366, 1731, 29...
patients with systolic blood pressure ( while sitting ) greater then than 180 mm hg or less then 90 mm hg, or diastolic blood pressure ( while sitting ) greater than 100 mm hg or less than 50 mm hg at screening
SELECT * FROM table_train_135 WHERE systolic_blood_pressure_sbp > 180 OR systolic_blood_pressure_sbp < 90 OR diastolic_blood_pressure_dbp > 100 OR diastolic_blood_pressure_dbp < 50
[ 8071, 2334, 351, 827, 301, 4160, 2910, 3833, 357, 981, 5586, 1267, 3744, 788, 621, 11546, 8085, 289, 70, 393, 1342, 788, 4101, 8085, 289, 70, 11, 393, 2566, 459, 4160, 2910, 3833, 357, 981, 5586, 1267, 3744, 621, 1802, 8085, 289, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8071, 2334, 351, 827, 301, 4160, 2910, 3833, 357, 981, 5586, 1267, 3744, 788, 621, 11546, 8085, 289, 70, 393, 1342, 788, 4101, 8085, 289, 70, 11, 393, 2566, 459, 4160, 2910, 3833, 357, 981, 5586, 1267, 3744, 621, 1802, 8085, 289, 70...
provide the number of patients who were admitted in emergency and diagnosed with other disorders of the pituitary and other syndromes of diencephalohypophyseal origin.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Other disorders of the pituitary and other syndromes of diencephalohypophyseal origin"
[ 15234, 485, 262, 1271, 286, 3871, 508, 547, 6848, 287, 6334, 290, 14641, 351, 584, 11916, 286, 262, 6028, 5013, 560, 290, 584, 11150, 398, 274, 286, 288, 1240, 27451, 1219, 4464, 16982, 325, 282, 8159, 13, 46506, 327, 28270, 7, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 547, 6848, 287, 6334, 290, 14641, 351, 584, 11916, 286, 262, 6028, 5013, 560, 290, 584, 11150, 398, 274, 286, 288, 1240, 27451, 1219, 4464, 16982, 325, 282, 8159, 13, 46506, 327, 28270, 7, 35, ...
What is the club for the 132 SHTS?
SELECT "Club" FROM table_6735 WHERE "SHTS" = '132'
[ 2061, 318, 262, 3430, 329, 262, 21761, 6006, 4694, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 3134, 2327, 33411, 366, 9693, 4694, 1, 796, 705, 19924, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3430, 329, 262, 21761, 6006, 4694, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 3134, 2327, 33411, 366, 9693, 4694, 1, 796, 705, 19924, 6 ]
Whats the season/episode of segment a digital dentistry
SELECT netflix FROM table_15187735_16 WHERE segment_a = "Digital Dentistry"
[ 1199, 1381, 262, 1622, 14, 38668, 286, 10618, 257, 4875, 18794, 4592, 46506, 2010, 10046, 16034, 3084, 62, 1314, 1507, 3324, 2327, 62, 1433, 33411, 10618, 62, 64, 796, 366, 27640, 39078, 4592, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1381, 262, 1622, 14, 38668, 286, 10618, 257, 4875, 18794, 4592, 46506, 2010, 10046, 16034, 3084, 62, 1314, 1507, 3324, 2327, 62, 1433, 33411, 10618, 62, 64, 796, 366, 27640, 39078, 4592, 1 ]
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time.
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 640, 13, 46506, 36210, 2200, 62, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 640, 13, 46506, 36210, 2200, 62, 35, ...
Which Physical property has a Helium of 0.0693?
SELECT physical_property FROM table_name_13 WHERE helium = "0.0693"
[ 13828, 16331, 3119, 468, 257, 5053, 1505, 286, 657, 13, 3312, 6052, 30, 46506, 3518, 62, 26745, 16034, 3084, 62, 3672, 62, 1485, 33411, 43142, 796, 366, 15, 13, 3312, 6052, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 16331, 3119, 468, 257, 5053, 1505, 286, 657, 13, 3312, 6052, 30, 46506, 3518, 62, 26745, 16034, 3084, 62, 3672, 62, 1485, 33411, 43142, 796, 366, 15, 13, 3312, 6052, 1 ]
What was the score of the game against portland?
SELECT score FROM table_27723526_10 WHERE team = "Portland"
[ 2061, 373, 262, 4776, 286, 262, 983, 1028, 2493, 1044, 30, 46506, 4776, 16034, 3084, 62, 27019, 22370, 2075, 62, 940, 33411, 1074, 796, 366, 45330, 1 ]
[ 1, 1, 1, 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, 262, 983, 1028, 2493, 1044, 30, 46506, 4776, 16034, 3084, 62, 27019, 22370, 2075, 62, 940, 33411, 1074, 796, 366, 45330, 1 ]
had the heart rate of patient 5828 been on the current icu visit ever less than 72.0?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5828) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_item...
[ 18108, 262, 2612, 2494, 286, 5827, 7618, 2078, 587, 319, 262, 1459, 14158, 84, 3187, 1683, 1342, 621, 7724, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 262, 2612, 2494, 286, 5827, 7618, 2078, 587, 319, 262, 1459, 14158, 84, 3187, 1683, 1342, 621, 7724, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, ...
When was Leyton Orient an away team?
SELECT date FROM table_name_68 WHERE opponent = "leyton orient" AND venue = "away"
[ 2215, 373, 1004, 31616, 35275, 281, 1497, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3104, 33411, 6125, 796, 366, 1636, 1122, 11367, 1, 5357, 14359, 796, 366, 8272, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 1004, 31616, 35275, 281, 1497, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3104, 33411, 6125, 796, 366, 1636, 1122, 11367, 1, 5357, 14359, 796, 366, 8272, 1 ]
For all employees who have the letters D or S in their first name, give me the comparison about the sum of salary over the job_id , and group by attribute job_id, and could you list x-axis from low to high order?
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 714, 345, 1351, 2124, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 714, 345, 1351, 2124, 12, ...
List the name of all the distinct customers who have orders with status 'Packing'.
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Packing"
[ 8053, 262, 1438, 286, 477, 262, 7310, 4297, 508, 423, 6266, 351, 3722, 705, 47, 5430, 4458, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 6266, 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...
[ 8053, 262, 1438, 286, 477, 262, 7310, 4297, 508, 423, 6266, 351, 3722, 705, 47, 5430, 4458, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 6266, 7054, 309, 17, 6177, 309, 16...
What is the u form of the word with a neuter form of skip and a masculine a-ending of fisker?
SELECT masculine_u_stems FROM table_name_18 WHERE neuter_a_stems = "skip" AND masculine_a_stems = "fisker"
[ 2061, 318, 262, 334, 1296, 286, 262, 1573, 351, 257, 497, 11894, 1296, 286, 14267, 290, 257, 27543, 257, 12, 1571, 286, 277, 1984, 263, 30, 46506, 27543, 62, 84, 62, 927, 82, 16034, 3084, 62, 3672, 62, 1507, 33411, 497, 11894, 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, 334, 1296, 286, 262, 1573, 351, 257, 497, 11894, 1296, 286, 14267, 290, 257, 27543, 257, 12, 1571, 286, 277, 1984, 263, 30, 46506, 27543, 62, 84, 62, 927, 82, 16034, 3084, 62, 3672, 62, 1507, 33411, 497, 11894, 62, ...
How many people attended Melbourne's away game?
SELECT SUM("Crowd") FROM table_51450 WHERE "Away team" = 'melbourne'
[ 2437, 867, 661, 9141, 14819, 338, 1497, 983, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 47396, 1120, 33411, 366, 32, 1014, 1074, 1, 796, 705, 17694, 12544, 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 ]
[ 2437, 867, 661, 9141, 14819, 338, 1497, 983, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 47396, 1120, 33411, 366, 32, 1014, 1074, 1, 796, 705, 17694, 12544, 6 ]
Who is the player from the United States with a total less than 293 and won in 1984?
SELECT player FROM table_name_74 WHERE country = "united states" AND total < 293 AND year_s__won = "1984"
[ 8241, 318, 262, 2137, 422, 262, 1578, 1829, 351, 257, 2472, 1342, 621, 37224, 290, 1839, 287, 12844, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4524, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 2472, 1279, 37224, 5357, 614, 62, 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, 1, 1, 1, 1 ]
[ 8241, 318, 262, 2137, 422, 262, 1578, 1829, 351, 257, 2472, 1342, 621, 37224, 290, 1839, 287, 12844, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4524, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 2472, 1279, 37224, 5357, 614, 62, 82, ...
What is the Win% of the 1989-90 Team?
SELECT win_percentage FROM table_name_44 WHERE team = "1989-90"
[ 2061, 318, 262, 7178, 4, 286, 262, 11104, 12, 3829, 4816, 30, 46506, 1592, 62, 25067, 496, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 796, 366, 25475, 12, 3829, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 7178, 4, 286, 262, 11104, 12, 3829, 4816, 30, 46506, 1592, 62, 25067, 496, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 796, 366, 25475, 12, 3829, 1 ]
If the height order is 1 and the soundfield type is mixed-order, what are all the channels?
SELECT "Channels" FROM table_73540 WHERE "Soundfield type" = 'mixed-order' AND "Height order" = '1'
[ 1532, 262, 6001, 1502, 318, 352, 290, 262, 2128, 3245, 2099, 318, 7668, 12, 2875, 11, 644, 389, 477, 262, 9619, 30, 46506, 366, 1925, 8961, 1, 16034, 3084, 62, 22, 2327, 1821, 33411, 366, 21369, 3245, 2099, 1, 796, 705, 76, 2966, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 6001, 1502, 318, 352, 290, 262, 2128, 3245, 2099, 318, 7668, 12, 2875, 11, 644, 389, 477, 262, 9619, 30, 46506, 366, 1925, 8961, 1, 16034, 3084, 62, 22, 2327, 1821, 33411, 366, 21369, 3245, 2099, 1, 796, 705, 76, 2966, ...
What was the date when the record was 35-57?
SELECT date FROM table_name_14 WHERE record = "35-57"
[ 2061, 373, 262, 3128, 618, 262, 1700, 373, 3439, 12, 3553, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1415, 33411, 1700, 796, 366, 2327, 12, 3553, 1 ]
[ 1, 1, 1, 1, 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, 618, 262, 1700, 373, 3439, 12, 3553, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1415, 33411, 1700, 796, 366, 2327, 12, 3553, 1 ]
which artist is listed next after charles grafly ?
SELECT "artist" FROM table_204_191 WHERE id = (SELECT id FROM table_204_191 WHERE "artist" = 'charles grafly') + 1
[ 4758, 6802, 318, 5610, 1306, 706, 1149, 829, 7933, 12254, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 18638, 62, 26492, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 26492, 33411, 366, 49016, 1, 796, 705, 10641, 829, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 5610, 1306, 706, 1149, 829, 7933, 12254, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 18638, 62, 26492, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 26492, 33411, 366, 49016, 1, 796, 705, 10641, 829, ...
How many on the list are called the Austrian Grand Prix?
SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian grand_prix"
[ 2437, 867, 319, 262, 1351, 389, 1444, 262, 25691, 5675, 23832, 30, 46506, 327, 28270, 7, 4372, 8, 16034, 3084, 62, 16616, 1495, 3104, 62, 18, 33411, 4490, 62, 3448, 87, 796, 366, 15160, 4484, 4490, 62, 3448, 87, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 262, 1351, 389, 1444, 262, 25691, 5675, 23832, 30, 46506, 327, 28270, 7, 4372, 8, 16034, 3084, 62, 16616, 1495, 3104, 62, 18, 33411, 4490, 62, 3448, 87, 796, 366, 15160, 4484, 4490, 62, 3448, 87, 1 ]
what is the procedure of the patient id 8323?
SELECT procedures.short_title FROM procedures WHERE procedures.subject_id = "8323"
[ 10919, 318, 262, 8771, 286, 262, 5827, 4686, 9698, 1954, 30, 46506, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 5999, 1954, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 8771, 286, 262, 5827, 4686, 9698, 1954, 30, 46506, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 5999, 1954, 1 ]
What's the number of poles in the season where the team had a Kalex motorcycle?
SELECT "Poles" FROM table_73169 WHERE "Motorcycle" = 'Kalex'
[ 2061, 338, 262, 1271, 286, 24971, 287, 262, 1622, 810, 262, 1074, 550, 257, 509, 1000, 87, 18757, 30, 46506, 366, 47, 4316, 1, 16034, 3084, 62, 4790, 22172, 33411, 366, 34919, 13696, 1, 796, 705, 42, 1000, 87, 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, 338, 262, 1271, 286, 24971, 287, 262, 1622, 810, 262, 1074, 550, 257, 509, 1000, 87, 18757, 30, 46506, 366, 47, 4316, 1, 16034, 3084, 62, 4790, 22172, 33411, 366, 34919, 13696, 1, 796, 705, 42, 1000, 87, 6 ]
Google Cloud Tags by year.
WITH tag_year AS (SELECT TIME_TO_STR(Posts.CreationDate, '%B') + ' ' + CAST(TIME_TO_STR(Posts.CreationDate, '%Y') AS TEXT) AS year, Tags.TagName AS cloud, Posts.Id AS postid FROM PostTags JOIN Tags ON PostTags.TagId = Tags.Id JOIN Posts ON PostTags.PostId = Posts.Id JOIN PostTypes ON Posts.PostTypeId = PostTypes.Id WHE...
[ 11708, 10130, 44789, 416, 614, 13, 54, 10554, 7621, 62, 1941, 7054, 357, 46506, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 33, 11537, 1343, 705, 705, 1343, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 11708, 10130, 44789, 416, 614, 13, 54, 10554, 7621, 62, 1941, 7054, 357, 46506, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 33, 11537, 1343, 705, 705, 1343, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7...
Name the least episode for fibre cement siding
SELECT MIN(episode) FROM table_15187735_18 WHERE segment_d = "Fibre Cement Siding"
[ 5376, 262, 1551, 4471, 329, 33073, 20534, 264, 2530, 46506, 20625, 7, 38668, 8, 16034, 3084, 62, 1314, 1507, 3324, 2327, 62, 1507, 33411, 10618, 62, 67, 796, 366, 37, 571, 260, 327, 972, 311, 2530, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1551, 4471, 329, 33073, 20534, 264, 2530, 46506, 20625, 7, 38668, 8, 16034, 3084, 62, 1314, 1507, 3324, 2327, 62, 1507, 33411, 10618, 62, 67, 796, 366, 37, 571, 260, 327, 972, 311, 2530, 1 ]
Where week is greater than 7 and attendance is 66,251 what is the result?
SELECT result FROM table_name_31 WHERE week > 7 AND attendance = "66,251"
[ 8496, 1285, 318, 3744, 621, 767, 290, 14858, 318, 7930, 11, 28072, 644, 318, 262, 1255, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3132, 33411, 1285, 1875, 767, 5357, 14858, 796, 366, 2791, 11, 28072, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1285, 318, 3744, 621, 767, 290, 14858, 318, 7930, 11, 28072, 644, 318, 262, 1255, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3132, 33411, 1285, 1875, 767, 5357, 14858, 796, 366, 2791, 11, 28072, 1 ]
can you show me evening flights from NASHVILLE to HOUSTON that serve DINNER
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, food_service WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'HOUSTON' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food_s...
[ 5171, 345, 905, 502, 6180, 13956, 422, 7210, 39, 38526, 284, 29068, 41924, 326, 4691, 360, 1268, 45, 4877, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5171, 345, 905, 502, 6180, 13956, 422, 7210, 39, 38526, 284, 29068, 41924, 326, 4691, 360, 1268, 45, 4877, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 1...
What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?
SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008"
[ 2061, 1611, 286, 45444, 468, 257, 31902, 286, 4751, 76, 32179, 11, 290, 257, 13868, 3128, 287, 10662, 18, 3648, 30, 46506, 15004, 16034, 3084, 62, 3672, 62, 2414, 33411, 8373, 796, 366, 11024, 76, 32179, 1, 5357, 2650, 62, 4475, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1611, 286, 45444, 468, 257, 31902, 286, 4751, 76, 32179, 11, 290, 257, 13868, 3128, 287, 10662, 18, 3648, 30, 46506, 15004, 16034, 3084, 62, 3672, 62, 2414, 33411, 8373, 796, 366, 11024, 76, 32179, 1, 5357, 2650, 62, 4475, 796, ...
Alton Lister Category:Articles with hCards has what as the listed years?
SELECT years FROM table_name_56 WHERE player = "alton lister category:articles with hcards"
[ 2348, 1122, 406, 1694, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 468, 644, 355, 262, 5610, 812, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 3980, 33411, 2137, 796, 366, 282, 1122, 300, 1694, 6536, 25, 26845, 351, 289, 27761, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2348, 1122, 406, 1694, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 468, 644, 355, 262, 5610, 812, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 3980, 33411, 2137, 796, 366, 282, 1122, 300, 1694, 6536, 25, 26845, 351, 289, 27761, 1 ]
what kind of plane flies from BOSTON to PITTSBURGH after 1200
SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.c...
[ 10919, 1611, 286, 6614, 17607, 422, 347, 10892, 1340, 284, 49040, 4694, 38926, 17511, 706, 24938, 46506, 360, 8808, 1268, 4177, 6215, 13, 958, 3323, 62, 8189, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 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, 1...
[ 10919, 1611, 286, 6614, 17607, 422, 347, 10892, 1340, 284, 49040, 4694, 38926, 17511, 706, 24938, 46506, 360, 8808, 1268, 4177, 6215, 13, 958, 3323, 62, 8189, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 1...
which one has the least vote
SELECT "party/electoral alliance" FROM table_204_982 ORDER BY "votes" LIMIT 1
[ 4758, 530, 468, 262, 1551, 3015, 46506, 366, 10608, 14, 9509, 6864, 12801, 1, 16034, 3084, 62, 18638, 62, 4089, 17, 38678, 11050, 366, 29307, 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, 1, 1, 1 ]
[ 4758, 530, 468, 262, 1551, 3015, 46506, 366, 10608, 14, 9509, 6864, 12801, 1, 16034, 3084, 62, 18638, 62, 4089, 17, 38678, 11050, 366, 29307, 1, 27564, 2043, 352 ]
What years had a manager who lost more than 1 and drawn more than 11?
SELECT ukraine_career FROM table_name_26 WHERE lost > 1 AND drawn > 11
[ 2061, 812, 550, 257, 4706, 508, 2626, 517, 621, 352, 290, 7428, 517, 621, 1367, 30, 46506, 334, 74, 23440, 62, 6651, 263, 16034, 3084, 62, 3672, 62, 2075, 33411, 2626, 1875, 352, 5357, 7428, 1875, 1367 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 257, 4706, 508, 2626, 517, 621, 352, 290, 7428, 517, 621, 1367, 30, 46506, 334, 74, 23440, 62, 6651, 263, 16034, 3084, 62, 3672, 62, 2075, 33411, 2626, 1875, 352, 5357, 7428, 1875, 1367 ]
provide the number of patients whose primary disease is acidosis and procedure short title is contrast aortogram?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ACIDOSIS" AND procedures.short_title = "Contrast aortogram"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 7408, 5958, 290, 8771, 1790, 3670, 318, 6273, 257, 419, 21857, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 7408, 5958, 290, 8771, 1790, 3670, 318, 6273, 257, 419, 21857, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...