instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What Dutch word has the same meaning as the Greek word (pl )?
SELECT "Dutch" FROM table_40477 WHERE "Greek" = 'πλέω (pléō)'
[ 2061, 10914, 1573, 468, 262, 976, 3616, 355, 262, 8312, 1573, 357, 489, 1267, 30, 46506, 366, 49717, 1, 16034, 3084, 62, 1821, 32883, 33411, 366, 44059, 1, 796, 705, 46582, 39377, 138, 255, 49535, 357, 489, 2634, 13090, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 10914, 1573, 468, 262, 976, 3616, 355, 262, 8312, 1573, 357, 489, 1267, 30, 46506, 366, 49717, 1, 16034, 3084, 62, 1821, 32883, 33411, 366, 44059, 1, 796, 705, 46582, 39377, 138, 255, 49535, 357, 489, 2634, 13090, 33047 ]
What is the average capacity for 150 suites?
SELECT AVG("Capacity") FROM table_70089 WHERE "Suites" = '150'
[ 2061, 318, 262, 2811, 5339, 329, 6640, 45861, 30, 46506, 35224, 7203, 15610, 4355, 4943, 16034, 3084, 62, 9879, 4531, 33411, 366, 5606, 2737, 1, 796, 705, 8628, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 5339, 329, 6640, 45861, 30, 46506, 35224, 7203, 15610, 4355, 4943, 16034, 3084, 62, 9879, 4531, 33411, 366, 5606, 2737, 1, 796, 705, 8628, 6 ]
What is the average Bronze, when Total is 4, and when Silver is less than 2?
SELECT AVG("Bronze") FROM table_49688 WHERE "Total" = '4' AND "Silver" < '2'
[ 2061, 318, 262, 2811, 19461, 11, 618, 7472, 318, 604, 11, 290, 618, 7698, 318, 1342, 621, 362, 30, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2920, 34427, 33411, 366, 14957, 1, 796, 705, 19, 6, 5357, 366, 26766, 1, 1279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 19461, 11, 618, 7472, 318, 604, 11, 290, 618, 7698, 318, 1342, 621, 362, 30, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2920, 34427, 33411, 366, 14957, 1, 796, 705, 19, 6, 5357, 366, 26766, 1, 1279...
What is the lowest Subject, when Plural is t der (their)?
SELECT MIN(subject) FROM table_name_58 WHERE plural = "tãder (their)"
[ 2061, 318, 262, 9016, 15540, 11, 618, 1345, 1523, 318, 256, 4587, 357, 24571, 19427, 46506, 20625, 7, 32796, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 22801, 796, 366, 83, 26102, 1082, 357, 24571, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 15540, 11, 618, 1345, 1523, 318, 256, 4587, 357, 24571, 19427, 46506, 20625, 7, 32796, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 22801, 796, 366, 83, 26102, 1082, 357, 24571, 16725 ]
What is the last 1/4 for the QUA race with a finishing time of 2:03.1?
SELECT "Last 1/4" FROM table_79223 WHERE "Race" = 'qua' AND "Fin. Time" = '2:03.1'
[ 2061, 318, 262, 938, 352, 14, 19, 329, 262, 19604, 32, 3234, 351, 257, 12848, 640, 286, 362, 25, 3070, 13, 16, 30, 46506, 366, 5956, 352, 14, 19, 1, 16034, 3084, 62, 3720, 22047, 33411, 366, 35157, 1, 796, 705, 39566, 6, 5357, 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 ]
[ 2061, 318, 262, 938, 352, 14, 19, 329, 262, 19604, 32, 3234, 351, 257, 12848, 640, 286, 362, 25, 3070, 13, 16, 30, 46506, 366, 5956, 352, 14, 19, 1, 16034, 3084, 62, 3720, 22047, 33411, 366, 35157, 1, 796, 705, 39566, 6, 5357, 3...
What is the per-capita GDP of the country with an overall GDP of 80.955?
SELECT "GDP per capita (US$)" FROM table_67543 WHERE "GDP (billion US$)" = '80.955'
[ 2061, 318, 262, 583, 12, 11128, 5350, 12396, 286, 262, 1499, 351, 281, 4045, 12396, 286, 4019, 13, 24, 2816, 30, 46506, 366, 38, 6322, 583, 21344, 357, 2937, 3, 16725, 16034, 3084, 62, 42444, 3559, 33411, 366, 38, 6322, 357, 24540, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 583, 12, 11128, 5350, 12396, 286, 262, 1499, 351, 281, 4045, 12396, 286, 4019, 13, 24, 2816, 30, 46506, 366, 38, 6322, 583, 21344, 357, 2937, 3, 16725, 16034, 3084, 62, 42444, 3559, 33411, 366, 38, 6322, 357, 24540, ...
What contestant is from santo domingo este and has height smaller than 1.79?
SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este"
[ 2061, 44047, 318, 422, 264, 14723, 2401, 32735, 43577, 290, 468, 6001, 4833, 621, 352, 13, 3720, 30, 46506, 44047, 16034, 3084, 62, 3672, 62, 22, 33411, 6001, 1279, 352, 13, 3720, 5357, 20994, 796, 366, 82, 14723, 2401, 32735, 43577, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 44047, 318, 422, 264, 14723, 2401, 32735, 43577, 290, 468, 6001, 4833, 621, 352, 13, 3720, 30, 46506, 44047, 16034, 3084, 62, 3672, 62, 22, 33411, 6001, 1279, 352, 13, 3720, 5357, 20994, 796, 366, 82, 14723, 2401, 32735, 43577, ...
Which Incumbent has a First elected larger than 1884?
SELECT incumbent FROM table_name_58 WHERE first_elected > 1884
[ 13828, 3457, 2178, 298, 468, 257, 3274, 7018, 4025, 621, 1248, 5705, 30, 46506, 23526, 16034, 3084, 62, 3672, 62, 3365, 33411, 717, 62, 28604, 1875, 1248, 5705 ]
[ 1, 1, 1, 1, 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, 3457, 2178, 298, 468, 257, 3274, 7018, 4025, 621, 1248, 5705, 30, 46506, 23526, 16034, 3084, 62, 3672, 62, 3365, 33411, 717, 62, 28604, 1875, 1248, 5705 ]
Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?
SELECT MIN("Goals") FROM table_38075 WHERE "Matches" = '16' AND "Scorer" = 'park sang-in'
[ 13828, 28510, 318, 262, 9016, 530, 326, 468, 6550, 2052, 286, 1467, 11, 290, 257, 1446, 11934, 286, 3952, 25889, 12, 259, 30, 46506, 20625, 7203, 5247, 874, 4943, 16034, 3084, 62, 23734, 2425, 33411, 366, 19044, 2052, 1, 796, 705, 143...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28510, 318, 262, 9016, 530, 326, 468, 6550, 2052, 286, 1467, 11, 290, 257, 1446, 11934, 286, 3952, 25889, 12, 259, 30, 46506, 20625, 7203, 5247, 874, 4943, 16034, 3084, 62, 23734, 2425, 33411, 366, 19044, 2052, 1, 796, 705, 143...
Show all branch names with the number of members in each branch registered after 2015 with a bar chart, show in ascending by the bars.
SELECT Name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.Branch_ID = T2.Branch_ID WHERE T1.Register_Year > 2015 GROUP BY T2.Branch_ID ORDER BY Name
[ 15307, 477, 8478, 3891, 351, 262, 1271, 286, 1866, 287, 1123, 8478, 6823, 706, 1853, 351, 257, 2318, 8262, 11, 905, 287, 41988, 416, 262, 9210, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 9931, 62, 30238, 62, 1671, 3702, 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...
[ 15307, 477, 8478, 3891, 351, 262, 1271, 286, 1866, 287, 1123, 8478, 6823, 706, 1853, 351, 257, 2318, 8262, 11, 905, 287, 41988, 416, 262, 9210, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 9931, 62, 30238, 62, 1671, 3702, 7054, ...
How many laps did mike spence complete grids above 12?
SELECT COUNT("Laps") FROM table_55714 WHERE "Driver" = 'mike spence' AND "Grid" > '12'
[ 2437, 867, 24590, 750, 285, 522, 599, 594, 1844, 50000, 2029, 1105, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 41948, 1415, 33411, 366, 32103, 1, 796, 705, 76, 522, 599, 594, 6, 5357, 366, 41339, 1, 1875, 705, 106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24590, 750, 285, 522, 599, 594, 1844, 50000, 2029, 1105, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 41948, 1415, 33411, 366, 32103, 1, 796, 705, 76, 522, 599, 594, 6, 5357, 366, 41339, 1, 1875, 705, 106...
what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151?
SELECT "GP-GS" FROM table_66515 WHERE "Receptions" > '4' AND "Long" = '55' AND "Avg/G" = '151'
[ 10919, 318, 262, 27809, 12, 14542, 618, 262, 35401, 318, 517, 621, 604, 11, 890, 318, 5996, 290, 42781, 14, 70, 318, 25326, 30, 46506, 366, 16960, 12, 14313, 1, 16034, 3084, 62, 36879, 1314, 33411, 366, 3041, 11755, 1, 1875, 705, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 27809, 12, 14542, 618, 262, 35401, 318, 517, 621, 604, 11, 890, 318, 5996, 290, 42781, 14, 70, 318, 25326, 30, 46506, 366, 16960, 12, 14313, 1, 16034, 3084, 62, 36879, 1314, 33411, 366, 3041, 11755, 1, 1875, 705, 19...
Draw a bar chart of name versus age, and I want to rank by the y-axis in descending.
SELECT Name, Age FROM editor ORDER BY Age DESC
[ 25302, 257, 2318, 8262, 286, 1438, 9051, 2479, 11, 290, 314, 765, 284, 4279, 416, 262, 331, 12, 22704, 287, 31491, 13, 46506, 6530, 11, 7129, 16034, 5464, 38678, 11050, 7129, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 1438, 9051, 2479, 11, 290, 314, 765, 284, 4279, 416, 262, 331, 12, 22704, 287, 31491, 13, 46506, 6530, 11, 7129, 16034, 5464, 38678, 11050, 7129, 22196, 34 ]
What station on the network is tv3?
SELECT "Network" FROM table_20525 WHERE "Station" = 'TV3'
[ 2061, 4429, 319, 262, 3127, 318, 31557, 18, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 21261, 1495, 33411, 366, 12367, 1, 796, 705, 6849, 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 ]
[ 2061, 4429, 319, 262, 3127, 318, 31557, 18, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 21261, 1495, 33411, 366, 12367, 1, 796, 705, 6849, 18, 6 ]
What is the document type code with most number of documents?
SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 3188, 2099, 2438, 351, 749, 1271, 286, 4963, 30, 46506, 3188, 62, 4906, 62, 8189, 16034, 33267, 44441, 11050, 3188, 62, 4906, 62, 8189, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3188, 2099, 2438, 351, 749, 1271, 286, 4963, 30, 46506, 3188, 62, 4906, 62, 8189, 16034, 33267, 44441, 11050, 3188, 62, 4906, 62, 8189, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What was the date for game 6?
SELECT "Date" FROM table_14584 WHERE "Game" = '6'
[ 2061, 373, 262, 3128, 329, 983, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1415, 46352, 33411, 366, 8777, 1, 796, 705, 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 ]
[ 2061, 373, 262, 3128, 329, 983, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1415, 46352, 33411, 366, 8777, 1, 796, 705, 21, 6 ]
hematocrit of less than or equal to 30 % .
SELECT * FROM table_dev_28 WHERE hematocrit_hct <= 30
[ 10024, 420, 799, 286, 1342, 621, 393, 4961, 284, 1542, 4064, 764, 46506, 1635, 16034, 3084, 62, 7959, 62, 2078, 33411, 339, 6759, 420, 799, 62, 71, 310, 19841, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10024, 420, 799, 286, 1342, 621, 393, 4961, 284, 1542, 4064, 764, 46506, 1635, 16034, 3084, 62, 7959, 62, 2078, 33411, 339, 6759, 420, 799, 62, 71, 310, 19841, 1542 ]
Name the sum of spectators for time more than 20.05 and team #2 of estonia
SELECT SUM(spectators) FROM table_name_66 WHERE time___cest__ > 20.05 AND team__number2 = "estonia"
[ 5376, 262, 2160, 286, 31704, 329, 640, 517, 621, 1160, 13, 2713, 290, 1074, 1303, 17, 286, 1556, 11339, 46506, 35683, 7, 4443, 2024, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 640, 17569, 9165, 834, 1875, 1160, 13, 2713, 5357, 1074, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2160, 286, 31704, 329, 640, 517, 621, 1160, 13, 2713, 290, 1074, 1303, 17, 286, 1556, 11339, 46506, 35683, 7, 4443, 2024, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 640, 17569, 9165, 834, 1875, 1160, 13, 2713, 5357, 1074, ...
What is the team's record in 3a volleyball?
SELECT record FROM table_name_89 WHERE class = "3a" AND sport = "volleyball"
[ 2061, 318, 262, 1074, 338, 1700, 287, 513, 64, 50196, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4531, 33411, 1398, 796, 366, 18, 64, 1, 5357, 6332, 796, 366, 10396, 1636, 1894, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 1700, 287, 513, 64, 50196, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4531, 33411, 1398, 796, 366, 18, 64, 1, 5357, 6332, 796, 366, 10396, 1636, 1894, 1 ]
how many more people live in dennery than the forest reserve ?
SELECT (SELECT "population\n(2010 census)" FROM table_203_212 WHERE "district" = 'dennery') - (SELECT "population\n(2010 census)" FROM table_203_212 WHERE "district" = 'forest reserve')
[ 4919, 867, 517, 661, 2107, 287, 2853, 35865, 621, 262, 8222, 11515, 5633, 46506, 357, 46506, 366, 39748, 59, 77, 7, 10333, 21649, 16725, 16034, 3084, 62, 22416, 62, 21777, 33411, 366, 17080, 2012, 1, 796, 705, 6559, 35865, 11537, 532, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 517, 661, 2107, 287, 2853, 35865, 621, 262, 8222, 11515, 5633, 46506, 357, 46506, 366, 39748, 59, 77, 7, 10333, 21649, 16725, 16034, 3084, 62, 22416, 62, 21777, 33411, 366, 17080, 2012, 1, 796, 705, 6559, 35865, 11537, 532, ...
What are the names of all aircrafts that John Williams have certificates to be able to fly?
SELECT T3.name FROM employee AS T1 JOIN certificate AS T2 ON T1.eid = T2.eid JOIN aircraft AS T3 ON T3.aid = T2.aid WHERE T1.name = "John Williams"
[ 2061, 389, 262, 3891, 286, 477, 6215, 82, 326, 1757, 6484, 423, 20835, 284, 307, 1498, 284, 6129, 30, 46506, 309, 18, 13, 3672, 16034, 6538, 7054, 309, 16, 32357, 1268, 10703, 7054, 309, 17, 6177, 309, 16, 13, 68, 312, 796, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3891, 286, 477, 6215, 82, 326, 1757, 6484, 423, 20835, 284, 307, 1498, 284, 6129, 30, 46506, 309, 18, 13, 3672, 16034, 6538, 7054, 309, 16, 32357, 1268, 10703, 7054, 309, 17, 6177, 309, 16, 13, 68, 312, 796, 309, 1...
Name the Years which have Transmission of digital satellite, an On demand of no, and a Free or pay of free + ppv?
SELECT "Years" FROM table_60010 WHERE "Transmission" = 'digital satellite' AND "On demand" = 'no' AND "Free or pay" = 'free + ppv'
[ 5376, 262, 13212, 543, 423, 41653, 286, 4875, 11210, 11, 281, 1550, 3512, 286, 645, 11, 290, 257, 3232, 393, 1414, 286, 1479, 1343, 9788, 85, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 8054, 940, 33411, 366, 8291, 3411, 1, 796, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5376, 262, 13212, 543, 423, 41653, 286, 4875, 11210, 11, 281, 1550, 3512, 286, 645, 11, 290, 257, 3232, 393, 1414, 286, 1479, 1343, 9788, 85, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 8054, 940, 33411, 366, 8291, 3411, 1, 796, 705,...
how many patients are with private insurance and admitted under emergency room admit?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.admission_location = "EMERGENCY ROOM ADMIT"
[ 4919, 867, 3871, 389, 351, 2839, 5096, 290, 6848, 739, 6334, 2119, 9159, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 389, 351, 2839, 5096, 290, 6848, 739, 6334, 2119, 9159, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, ...
What are the duration of the longest and shortest pop tracks in milliseconds?
SELECT MAX(milliseconds), MIN(milliseconds) FROM genre AS T1 JOIN track AS T2 ON T1.genreid = T2.genreid WHERE T1.name = "Pop"
[ 2061, 389, 262, 9478, 286, 262, 14069, 290, 35581, 1461, 8339, 287, 38694, 30, 46506, 25882, 7, 17805, 27866, 24764, 828, 20625, 7, 17805, 27866, 24764, 8, 16034, 12121, 7054, 309, 16, 32357, 1268, 2610, 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 ]
[ 2061, 389, 262, 9478, 286, 262, 14069, 290, 35581, 1461, 8339, 287, 38694, 30, 46506, 25882, 7, 17805, 27866, 24764, 828, 20625, 7, 17805, 27866, 24764, 8, 16034, 12121, 7054, 309, 16, 32357, 1268, 2610, 7054, 309, 17, 6177, 309, 16, ...
What is the friendly game for Germany of France?
SELECT friendly FROM table_name_58 WHERE germany = "france"
[ 2061, 318, 262, 8030, 983, 329, 4486, 286, 4881, 30, 46506, 8030, 16034, 3084, 62, 3672, 62, 3365, 33411, 308, 2224, 88, 796, 366, 69, 8132, 1 ]
[ 1, 1, 1, 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, 8030, 983, 329, 4486, 286, 4881, 30, 46506, 8030, 16034, 3084, 62, 3672, 62, 3365, 33411, 308, 2224, 88, 796, 366, 69, 8132, 1 ]
Tell me the number of asian patients who have had a specific gravity lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "ASIAN" AND lab.label = "Specific Gravity"
[ 24446, 502, 262, 1271, 286, 355, 666, 3871, 508, 423, 550, 257, 2176, 13522, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 355, 666, 3871, 508, 423, 550, 257, 2176, 13522, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1810...
during the last hospital encounter, when was the last time patient 26195 was prescribed amikacin?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26195 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug = 'amikacin' ORDER BY prescriptions.startdate DESC LIMIT...
[ 42122, 262, 938, 4436, 8791, 11, 618, 373, 262, 938, 640, 5827, 2608, 22186, 373, 14798, 716, 1134, 330, 259, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 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...
[ 42122, 262, 938, 4436, 8791, 11, 618, 373, 262, 938, 640, 5827, 2608, 22186, 373, 14798, 716, 1134, 330, 259, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76...
What is the name of the driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team?
SELECT driver FROM table_name_32 WHERE engine = "rotax max" AND class = "rotax heavy" AND chassis = "arrow" AND team = "twr raceline seating"
[ 2061, 318, 262, 1438, 286, 262, 4639, 351, 257, 5724, 897, 3509, 3113, 11, 287, 262, 5724, 897, 4334, 1398, 11, 351, 15452, 355, 24587, 290, 319, 262, 17306, 49, 24746, 4470, 1001, 803, 1074, 30, 46506, 4639, 16034, 3084, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1438, 286, 262, 4639, 351, 257, 5724, 897, 3509, 3113, 11, 287, 262, 5724, 897, 4334, 1398, 11, 351, 15452, 355, 24587, 290, 319, 262, 17306, 49, 24746, 4470, 1001, 803, 1074, 30, 46506, 4639, 16034, 3084, 62, 3672, ...
What is the rank # of kelli miller the winning pitcher?
SELECT rank_number FROM table_22098274_1 WHERE winning_pitcher = "Kelli Miller"
[ 2061, 318, 262, 4279, 1303, 286, 885, 15516, 3939, 263, 262, 5442, 18086, 30, 46506, 4279, 62, 17618, 16034, 3084, 62, 17572, 4089, 28857, 62, 16, 33411, 5442, 62, 15544, 2044, 796, 366, 42, 23225, 7920, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 1303, 286, 885, 15516, 3939, 263, 262, 5442, 18086, 30, 46506, 4279, 62, 17618, 16034, 3084, 62, 17572, 4089, 28857, 62, 16, 33411, 5442, 62, 15544, 2044, 796, 366, 42, 23225, 7920, 1 ]
i need late flight wednesday from OAKLAND to SALT LAKE CITY
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 (((flight.departure_time BETWEEN 2400 AND 2000) AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_...
[ 72, 761, 2739, 5474, 29445, 3462, 422, 440, 10206, 28182, 284, 311, 31429, 9131, 7336, 27993, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 2739, 5474, 29445, 3462, 422, 440, 10206, 28182, 284, 311, 31429, 9131, 7336, 27993, 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, ...
Show the number of the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000, could you display by the how many date of transaction in ascending?
SELECT date_of_transaction, COUNT(date_of_transaction) FROM Transactions WHERE share_count > 100 OR amount_of_transaction > 1000 ORDER BY COUNT(date_of_transaction)
[ 15307, 262, 1271, 286, 262, 9667, 286, 8945, 611, 262, 2648, 954, 318, 5749, 621, 1802, 393, 262, 2033, 318, 5749, 621, 8576, 11, 714, 345, 3359, 416, 262, 703, 867, 3128, 286, 8611, 287, 41988, 30, 46506, 3128, 62, 1659, 62, 7645, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 262, 9667, 286, 8945, 611, 262, 2648, 954, 318, 5749, 621, 1802, 393, 262, 2033, 318, 5749, 621, 8576, 11, 714, 345, 3359, 416, 262, 703, 867, 3128, 286, 8611, 287, 41988, 30, 46506, 3128, 62, 1659, 62, 7645, ...
which country has the most stadiums with a capacity of more than 70,000 ?
SELECT "country" FROM table_204_392 WHERE "capacity" > 70000 GROUP BY "country" ORDER BY COUNT("stadium") DESC LIMIT 1
[ 4758, 1499, 468, 262, 749, 37924, 351, 257, 5339, 286, 517, 621, 4317, 11, 830, 5633, 46506, 366, 19315, 1, 16034, 3084, 62, 18638, 62, 32321, 33411, 366, 42404, 1, 1875, 767, 2388, 44441, 11050, 366, 19315, 1, 38678, 11050, 327, 2827...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 468, 262, 749, 37924, 351, 257, 5339, 286, 517, 621, 4317, 11, 830, 5633, 46506, 366, 19315, 1, 16034, 3084, 62, 18638, 62, 32321, 33411, 366, 42404, 1, 1875, 767, 2388, 44441, 11050, 366, 19315, 1, 38678, 11050, 327, 2827...
What is the earliest year in which the result is championship US Open (2)?
SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (2)"
[ 2061, 318, 262, 14555, 614, 287, 543, 262, 1255, 318, 12184, 1294, 4946, 357, 17, 19427, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 1959, 24136, 22572, 62, 17, 33411, 12184, 796, 366, 2937, 4946, 357, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14555, 614, 287, 543, 262, 1255, 318, 12184, 1294, 4946, 357, 17, 19427, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 1959, 24136, 22572, 62, 17, 33411, 12184, 796, 366, 2937, 4946, 357, 17, 16725 ]
Name the years in orlando for penn state
SELECT years_in_orlando FROM table_15621965_1 WHERE school_club_team = "Penn State"
[ 5376, 262, 812, 287, 393, 11993, 329, 22429, 1181, 46506, 812, 62, 259, 62, 273, 11993, 16034, 3084, 62, 1314, 5237, 45271, 62, 16, 33411, 1524, 62, 18664, 62, 15097, 796, 366, 39899, 1812, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 287, 393, 11993, 329, 22429, 1181, 46506, 812, 62, 259, 62, 273, 11993, 16034, 3084, 62, 1314, 5237, 45271, 62, 16, 33411, 1524, 62, 18664, 62, 15097, 796, 366, 39899, 1812, 1 ]
What was the name of the epiode written by Gary M. Goodrich?
SELECT title FROM table_2409041_9 WHERE written_by = "Gary M. Goodrich"
[ 2061, 373, 262, 1438, 286, 262, 2462, 72, 1098, 3194, 416, 10936, 337, 13, 4599, 7527, 30, 46506, 3670, 16034, 3084, 62, 1731, 2931, 50049, 62, 24, 33411, 3194, 62, 1525, 796, 366, 33820, 337, 13, 4599, 7527, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1438, 286, 262, 2462, 72, 1098, 3194, 416, 10936, 337, 13, 4599, 7527, 30, 46506, 3670, 16034, 3084, 62, 1731, 2931, 50049, 62, 24, 33411, 3194, 62, 1525, 796, 366, 33820, 337, 13, 4599, 7527, 1 ]
What game had Al Jury as field judge?
SELECT game FROM table_name_8 WHERE field_judge = "al jury"
[ 2061, 983, 550, 978, 48705, 355, 2214, 5052, 30, 46506, 983, 16034, 3084, 62, 3672, 62, 23, 33411, 2214, 62, 10456, 469, 796, 366, 282, 9002, 1 ]
[ 1, 1, 1, 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, 983, 550, 978, 48705, 355, 2214, 5052, 30, 46506, 983, 16034, 3084, 62, 3672, 62, 23, 33411, 2214, 62, 10456, 469, 796, 366, 282, 9002, 1 ]
BOSTON to PITTSBURGH
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU...
[ 8202, 41924, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 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...
[ 8202, 41924, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16...
what is procedure long title and lab test name of subject id 18077?
SELECT procedures.long_title, lab.label FROM procedures INNER JOIN lab ON procedures.hadm_id = lab.hadm_id WHERE procedures.subject_id = "18077"
[ 10919, 318, 8771, 890, 3670, 290, 2248, 1332, 1438, 286, 2426, 4686, 1248, 2998, 22, 30, 46506, 9021, 13, 6511, 62, 7839, 11, 2248, 13, 18242, 16034, 9021, 3268, 21479, 32357, 1268, 2248, 6177, 9021, 13, 18108, 76, 62, 312, 796, 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 ]
[ 10919, 318, 8771, 890, 3670, 290, 2248, 1332, 1438, 286, 2426, 4686, 1248, 2998, 22, 30, 46506, 9021, 13, 6511, 62, 7839, 11, 2248, 13, 18242, 16034, 9021, 3268, 21479, 32357, 1268, 2248, 6177, 9021, 13, 18108, 76, 62, 312, 796, 2248,...
what is admission time and diagnoses long title of subject name antonio mccarthy?
SELECT demographic.admittime, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Antonio Mccarthy"
[ 10919, 318, 13938, 640, 290, 40567, 890, 3670, 286, 2426, 1438, 281, 1122, 952, 285, 535, 18270, 30, 46506, 16728, 13, 324, 20124, 524, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 13938, 640, 290, 40567, 890, 3670, 286, 2426, 1438, 281, 1122, 952, 285, 535, 18270, 30, 46506, 16728, 13, 324, 20124, 524, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108...
What is the away team score for South Melbourne?
SELECT "Away team score" FROM table_57298 WHERE "Away team" = 'south melbourne'
[ 2061, 318, 262, 1497, 1074, 4776, 329, 2520, 14819, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 3553, 27728, 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 ]
[ 2061, 318, 262, 1497, 1074, 4776, 329, 2520, 14819, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 3553, 27728, 33411, 366, 32, 1014, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
Bar chart x axis date of latest revision y axis the number of date of latest revision
SELECT date_of_latest_revision, COUNT(date_of_latest_revision) FROM Catalogs
[ 10374, 8262, 2124, 16488, 3128, 286, 3452, 18440, 331, 16488, 262, 1271, 286, 3128, 286, 3452, 18440, 46506, 3128, 62, 1659, 62, 42861, 62, 260, 10178, 11, 327, 28270, 7, 4475, 62, 1659, 62, 42861, 62, 260, 10178, 8, 16034, 44515, 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 ]
[ 10374, 8262, 2124, 16488, 3128, 286, 3452, 18440, 331, 16488, 262, 1271, 286, 3128, 286, 3452, 18440, 46506, 3128, 62, 1659, 62, 42861, 62, 260, 10178, 11, 327, 28270, 7, 4475, 62, 1659, 62, 42861, 62, 260, 10178, 8, 16034, 44515, 82 ...
How many heights are listed for Jesse Holley in the WR position?
SELECT COUNT(height) FROM table_22603701_1 WHERE position = "WR" AND name = "Jesse Holley"
[ 2437, 867, 23245, 389, 5610, 329, 18033, 6479, 1636, 287, 262, 11342, 2292, 30, 46506, 327, 28270, 7, 17015, 8, 16034, 3084, 62, 1828, 1899, 2718, 486, 62, 16, 33411, 2292, 796, 366, 18564, 1, 5357, 1438, 796, 366, 22290, 325, 6479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23245, 389, 5610, 329, 18033, 6479, 1636, 287, 262, 11342, 2292, 30, 46506, 327, 28270, 7, 17015, 8, 16034, 3084, 62, 1828, 1899, 2718, 486, 62, 16, 33411, 2292, 796, 366, 18564, 1, 5357, 1438, 796, 366, 22290, 325, 6479, ...
what's the first time patient 90019 has had a procedure since 2101?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 90019) AND STRFTIME('%y', procedures_icd.charttime) >= '2101' ORDER BY procedures_icd.charttime LIMIT 1
[ 10919, 338, 262, 717, 640, 5827, 15897, 1129, 468, 550, 257, 8771, 1201, 2310, 486, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 640, 5827, 15897, 1129, 468, 550, 257, 8771, 1201, 2310, 486, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, ...
What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE?
SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce"
[ 2061, 338, 262, 6932, 360, 13173, 351, 262, 13397, 267, 1659, 2574, 1869, 7246, 11, 290, 262, 18581, 286, 24938, 37078, 30, 46506, 2613, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 5774, 33411, 4067, 796, 366, 417, 582, 7246, 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 ]
[ 2061, 338, 262, 6932, 360, 13173, 351, 262, 13397, 267, 1659, 2574, 1869, 7246, 11, 290, 262, 18581, 286, 24938, 37078, 30, 46506, 2613, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 5774, 33411, 4067, 796, 366, 417, 582, 7246, 1, 5357, ...
show me the top four most common diagnoses for patients aged 20s until 4 years ago?
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 20 AND 29) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-4 yea...
[ 12860, 502, 262, 1353, 1440, 749, 2219, 40567, 329, 3871, 9722, 1160, 82, 1566, 604, 812, 2084, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 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...
[ 12860, 502, 262, 1353, 1440, 749, 2219, 40567, 329, 3871, 9722, 1160, 82, 1566, 604, 812, 2084, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 35...
How many games lost associated with under 14 played?
SELECT COUNT(lost) FROM table_name_66 WHERE played < 14
[ 2437, 867, 1830, 2626, 3917, 351, 739, 1478, 2826, 30, 46506, 327, 28270, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 2826, 1279, 1478 ]
[ 1, 1, 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, 1830, 2626, 3917, 351, 739, 1478, 2826, 30, 46506, 327, 28270, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 2826, 1279, 1478 ]
On December 5 what team played their home game?
SELECT "Home" FROM table_36593 WHERE "Date" = 'december 5'
[ 2202, 3426, 642, 644, 1074, 2826, 511, 1363, 983, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 2623, 49051, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 642, 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 ]
[ 2202, 3426, 642, 644, 1074, 2826, 511, 1363, 983, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 2623, 49051, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 642, 6 ]
What is the number of carriers of phones? Give me a bar chart.
SELECT Carrier, COUNT(Carrier) FROM phone GROUP BY Carrier
[ 2061, 318, 262, 1271, 286, 16651, 286, 9512, 30, 13786, 502, 257, 2318, 8262, 13, 46506, 30252, 11, 327, 28270, 7, 9914, 5277, 8, 16034, 3072, 44441, 11050, 30252 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 16651, 286, 9512, 30, 13786, 502, 257, 2318, 8262, 13, 46506, 30252, 11, 327, 28270, 7, 9914, 5277, 8, 16034, 3072, 44441, 11050, 30252 ]
What's the total number built with a chassis code of w108.057?
SELECT COUNT("Number built") FROM table_12358 WHERE "Chassis code" = 'w108.057'
[ 2061, 338, 262, 2472, 1271, 3170, 351, 257, 24587, 2438, 286, 266, 15711, 13, 43526, 30, 46506, 327, 28270, 7203, 15057, 3170, 4943, 16034, 3084, 62, 1065, 31128, 33411, 366, 1925, 20297, 2438, 1, 796, 705, 86, 15711, 13, 43526, 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, 338, 262, 2472, 1271, 3170, 351, 257, 24587, 2438, 286, 266, 15711, 13, 43526, 30, 46506, 327, 28270, 7203, 15057, 3170, 4943, 16034, 3084, 62, 1065, 31128, 33411, 366, 1925, 20297, 2438, 1, 796, 705, 86, 15711, 13, 43526, 6 ]
During the Fall and Winter , what upper-level electives are being offered ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (semester.semester = ...
[ 7191, 262, 7218, 290, 10633, 837, 644, 6727, 12, 5715, 1742, 1083, 389, 852, 4438, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7191, 262, 7218, 290, 10633, 837, 644, 6727, 12, 5715, 1742, 1083, 389, 852, 4438, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 23...
How many alt names does 1964-011a have?
SELECT COUNT("Alt name") FROM table_72285 WHERE "ID" = '1964-011A'
[ 2437, 867, 5988, 3891, 857, 17575, 12, 28555, 64, 423, 30, 46506, 327, 28270, 7203, 29161, 1438, 4943, 16034, 3084, 62, 22, 1828, 5332, 33411, 366, 2389, 1, 796, 705, 46477, 12, 28555, 32, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 5988, 3891, 857, 17575, 12, 28555, 64, 423, 30, 46506, 327, 28270, 7203, 29161, 1438, 4943, 16034, 3084, 62, 22, 1828, 5332, 33411, 366, 2389, 1, 796, 705, 46477, 12, 28555, 32, 6 ]
when was patient 11688's heart rate last measured greater than 87.0 on 11/16/last year?
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 11688)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart ra...
[ 12518, 373, 5827, 1367, 34427, 338, 2612, 2494, 938, 8630, 3744, 621, 10083, 13, 15, 319, 1367, 14, 1433, 14, 12957, 614, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 1367, 34427, 338, 2612, 2494, 938, 8630, 3744, 621, 10083, 13, 15, 319, 1367, 14, 1433, 14, 12957, 614, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 326...
among the patients diagnosed with accident in home, calculate the five year survival probability.
SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id...
[ 35131, 262, 3871, 14641, 351, 5778, 287, 1363, 11, 15284, 262, 1936, 614, 9441, 12867, 13, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67, 375, 3180, 15697, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 3871, 13, 67, 375...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35131, 262, 3871, 14641, 351, 5778, 287, 1363, 11, 15284, 262, 1936, 614, 9441, 12867, 13, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67, 375, 3180, 15697, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 3871, 13, 67, 375...
What is the percentage for Schweitzer when the lead margin is 29?
SELECT "Democrat: Brian Schweitzer" FROM table_47386 WHERE "Lead Margin" = '29'
[ 2061, 318, 262, 5873, 329, 40430, 10557, 618, 262, 1085, 10330, 318, 2808, 30, 46506, 366, 11522, 35128, 25, 8403, 40430, 10557, 1, 16034, 3084, 62, 2857, 21734, 33411, 366, 20451, 11899, 259, 1, 796, 705, 1959, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5873, 329, 40430, 10557, 618, 262, 1085, 10330, 318, 2808, 30, 46506, 366, 11522, 35128, 25, 8403, 40430, 10557, 1, 16034, 3084, 62, 2857, 21734, 33411, 366, 20451, 11899, 259, 1, 796, 705, 1959, 6 ]
give me the number of patients whose age is less than 47 and lab test fluid is urine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Urine"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 6298, 290, 2248, 1332, 11711, 318, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 6298, 290, 2248, 1332, 11711, 318, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, ...
Who directed the episode that had 0.57 million U.S. viewers?
SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.57"
[ 8241, 7924, 262, 4471, 326, 550, 657, 13, 3553, 1510, 471, 13, 50, 13, 10209, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 26276, 1415, 2998, 21, 62, 19, 33411, 514, 62, 1177, 364, 834, 17805, 507, 62, 796, 366, 15, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 7924, 262, 4471, 326, 550, 657, 13, 3553, 1510, 471, 13, 50, 13, 10209, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 26276, 1415, 2998, 21, 62, 19, 33411, 514, 62, 1177, 364, 834, 17805, 507, 62, 796, 366, 15, 13, 3553, 1 ]
What is the date of the circuit of Monaco?
SELECT "Date" FROM table_77968 WHERE "Circuit" = 'monaco'
[ 2061, 318, 262, 3128, 286, 262, 10349, 286, 31630, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3324, 38956, 33411, 366, 31560, 5013, 1, 796, 705, 2144, 10602, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 10349, 286, 31630, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3324, 38956, 33411, 366, 31560, 5013, 1, 796, 705, 2144, 10602, 6 ]
How many millions of U.S viewers watched the episode written by Liz Feldman?
SELECT us_viewers__million_ FROM table_29920800_1 WHERE written_by = "Liz Feldman"
[ 2437, 867, 5242, 286, 471, 13, 50, 10209, 7342, 262, 4471, 3194, 416, 28313, 45498, 30, 46506, 514, 62, 1177, 364, 834, 14100, 62, 16034, 3084, 62, 22579, 1238, 7410, 62, 16, 33411, 3194, 62, 1525, 796, 366, 43, 528, 45498, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5242, 286, 471, 13, 50, 10209, 7342, 262, 4471, 3194, 416, 28313, 45498, 30, 46506, 514, 62, 1177, 364, 834, 14100, 62, 16034, 3084, 62, 22579, 1238, 7410, 62, 16, 33411, 3194, 62, 1525, 796, 366, 43, 528, 45498, 1 ]
what are the two year survival rates of patients who had been prescribed ipratropium-albuterol after having been diagnosed with hypernatremia?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
[ 10919, 389, 262, 734, 614, 9441, 3965, 286, 3871, 508, 550, 587, 14798, 20966, 10366, 1773, 1505, 12, 282, 4360, 263, 349, 706, 1719, 587, 14641, 351, 8718, 32353, 2787, 544, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 638...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 734, 614, 9441, 3965, 286, 3871, 508, 550, 587, 14798, 20966, 10366, 1773, 1505, 12, 282, 4360, 263, 349, 706, 1719, 587, 14641, 351, 8718, 32353, 2787, 544, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 638...
what were the top three most commonly prescribed medications that patients were prescribed during the same hospital encounter after being diagnosed with septic arthritis?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'septic arthriti...
[ 10919, 547, 262, 1353, 1115, 749, 8811, 14798, 17638, 326, 3871, 547, 14798, 1141, 262, 976, 4436, 8791, 706, 852, 14641, 351, 384, 17459, 37954, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1353, 1115, 749, 8811, 14798, 17638, 326, 3871, 547, 14798, 1141, 262, 976, 4436, 8791, 706, 852, 14641, 351, 384, 17459, 37954, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 36...
what was the difference between her qualifying scores for balance beam between boston and philadelphia ?
SELECT ABS((SELECT "qualifying score" FROM table_204_975 WHERE "event" = 'balance beam' AND "location" = 'boston') - (SELECT "qualifying score" FROM table_204_975 WHERE "event" = 'balance beam' AND "location" = 'philadelphia'))
[ 10919, 373, 262, 3580, 1022, 607, 18677, 8198, 329, 5236, 15584, 1022, 275, 5744, 290, 5206, 8273, 5633, 46506, 29950, 19510, 46506, 366, 13255, 4035, 4776, 1, 16034, 3084, 62, 18638, 62, 42716, 33411, 366, 15596, 1, 796, 705, 20427, 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...
[ 10919, 373, 262, 3580, 1022, 607, 18677, 8198, 329, 5236, 15584, 1022, 275, 5744, 290, 5206, 8273, 5633, 46506, 29950, 19510, 46506, 366, 13255, 4035, 4776, 1, 16034, 3084, 62, 18638, 62, 42716, 33411, 366, 15596, 1, 796, 705, 20427, 15...
Who is responsible for teaching intelligent systems courses ?
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN area ON course_offering.course_id = area.course_id WHERE area.area LIKE '%...
[ 8241, 318, 4497, 329, 7743, 12661, 3341, 10902, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 318, 4497, 329, 7743, 12661, 3341, 10902, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 2...
Which Japanese Title has a TV Station of tbs, and a Romaji Title of hana yori dango?
SELECT "Japanese Title" FROM table_65179 WHERE "TV Station" = 'tbs' AND "Romaji Title" = 'hana yori dango'
[ 13828, 4960, 11851, 468, 257, 3195, 9327, 286, 256, 1443, 11, 290, 257, 3570, 26436, 11851, 286, 289, 2271, 331, 10145, 288, 14208, 30, 46506, 366, 25324, 11851, 1, 16034, 3084, 62, 2996, 21738, 33411, 366, 6849, 9327, 1, 796, 705, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4960, 11851, 468, 257, 3195, 9327, 286, 256, 1443, 11, 290, 257, 3570, 26436, 11851, 286, 289, 2271, 331, 10145, 288, 14208, 30, 46506, 366, 25324, 11851, 1, 16034, 3084, 62, 2996, 21738, 33411, 366, 6849, 9327, 1, 796, 705, 83...
what flights are available from BOSTON to washington dc late the 25 or early the 26
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 ((((flight.departure_time <= 2400 AND flight.departure_time >= 2000) AND date_day.day_number = 25 AND date_day.month_number = 11 AND date_day.yea...
[ 10919, 13956, 389, 1695, 422, 347, 10892, 1340, 284, 20518, 1122, 30736, 2739, 262, 1679, 393, 1903, 262, 2608, 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...
[ 10919, 13956, 389, 1695, 422, 347, 10892, 1340, 284, 20518, 1122, 30736, 2739, 262, 1679, 393, 1903, 262, 2608, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15...
how long is the bit rate number for gold radio service ?
SELECT "bit rate" FROM table_203_603 WHERE "service" = 'gold'
[ 4919, 890, 318, 262, 1643, 2494, 1271, 329, 3869, 5243, 2139, 5633, 46506, 366, 2545, 2494, 1, 16034, 3084, 62, 22416, 62, 35642, 33411, 366, 15271, 1, 796, 705, 24267, 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 ]
[ 4919, 890, 318, 262, 1643, 2494, 1271, 329, 3869, 5243, 2139, 5633, 46506, 366, 2545, 2494, 1, 16034, 3084, 62, 22416, 62, 35642, 33411, 366, 15271, 1, 796, 705, 24267, 6 ]
What horses does r. a. Scott own?
SELECT horse FROM table_19624708_1 WHERE owner = "R. A. Scott"
[ 2061, 14260, 857, 374, 13, 257, 13, 4746, 898, 30, 46506, 8223, 16034, 3084, 62, 25272, 1731, 32583, 62, 16, 33411, 4870, 796, 366, 49, 13, 317, 13, 4746, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 14260, 857, 374, 13, 257, 13, 4746, 898, 30, 46506, 8223, 16034, 3084, 62, 25272, 1731, 32583, 62, 16, 33411, 4870, 796, 366, 49, 13, 317, 13, 4746, 1 ]
give me the number of patients whose insurance is medicare and procedure icd9 code is 3782?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicare" AND procedures.icd9_code = "3782"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5096, 318, 6924, 533, 290, 8771, 14158, 67, 24, 2438, 318, 45473, 17, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5096, 318, 6924, 533, 290, 8771, 14158, 67, 24, 2438, 318, 45473, 17, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
What's the name of the person in the CF Pos?
SELECT name FROM table_name_43 WHERE pos = "cf"
[ 2061, 338, 262, 1438, 286, 262, 1048, 287, 262, 18551, 18574, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3559, 33411, 1426, 796, 366, 12993, 1 ]
[ 1, 1, 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, 1438, 286, 262, 1048, 287, 262, 18551, 18574, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3559, 33411, 1426, 796, 366, 12993, 1 ]
Who had the fastest lap when the winning driver was kristian ghedina?
SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Kristian Ghedina"
[ 8241, 550, 262, 14162, 14779, 618, 262, 5442, 4639, 373, 479, 1585, 666, 308, 704, 1437, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 26276, 1264, 5892, 62, 20, 33411, 5442, 62, 26230, 796, 366, 40756, 666, 402, 704, 1437, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 14162, 14779, 618, 262, 5442, 4639, 373, 479, 1585, 666, 308, 704, 1437, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 26276, 1264, 5892, 62, 20, 33411, 5442, 62, 26230, 796, 366, 40756, 666, 402, 704, 1437, 1 ]
Who is the studio host that has a play-by-play announcer of Bob Cole and a colour commentator of Harry Neale?
SELECT "Studio host" FROM table_55631 WHERE "Play-by-play" = 'bob cole' AND "Colour commentator(s)" = 'harry neale'
[ 8241, 318, 262, 8034, 2583, 326, 468, 257, 711, 12, 1525, 12, 1759, 49032, 286, 5811, 11768, 290, 257, 9568, 28823, 286, 5850, 3169, 1000, 30, 46506, 366, 41501, 2583, 1, 16034, 3084, 62, 37864, 3132, 33411, 366, 11002, 12, 1525, 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...
[ 8241, 318, 262, 8034, 2583, 326, 468, 257, 711, 12, 1525, 12, 1759, 49032, 286, 5811, 11768, 290, 257, 9568, 28823, 286, 5850, 3169, 1000, 30, 46506, 366, 41501, 2583, 1, 16034, 3084, 62, 37864, 3132, 33411, 366, 11002, 12, 1525, 12, ...
Deleted posts based on comments. Your comments with the most upvotes
SELECT p.Id AS "post_link", p.LastActivityDate FROM Posts AS p INNER JOIN Comments AS c ON c.PostId = p.Id INNER JOIN Users AS u ON p.OwnerUserId = u.Id INNER JOIN PostHistory AS h ON p.Id = h.PostId WHERE c.UserId = '##USERID##' AND h.PostHistoryTypeId = '12' ORDER BY p.LastActivityDate DESC
[ 5005, 33342, 6851, 1912, 319, 3651, 13, 3406, 3651, 351, 262, 749, 510, 29307, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 5956, 16516, 10430, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 19502, 7054, 269, 6177...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5005, 33342, 6851, 1912, 319, 3651, 13, 3406, 3651, 351, 262, 749, 510, 29307, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 5956, 16516, 10430, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 19502, 7054, 269, 6177...
When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?
SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS 5306-A Manual Synchromesh 6 Speed"
[ 2215, 262, 11478, 787, 14, 4906, 14, 12287, 318, 4483, 261, 43458, 642, 20548, 12, 64, 10107, 6171, 28663, 5069, 718, 2866, 11, 644, 318, 262, 1988, 286, 262, 308, 11215, 357, 10025, 8, 6276, 5339, 30, 46506, 308, 11215, 834, 10025, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11478, 787, 14, 4906, 14, 12287, 318, 4483, 261, 43458, 642, 20548, 12, 64, 10107, 6171, 28663, 5069, 718, 2866, 11, 644, 318, 262, 1988, 286, 262, 308, 11215, 357, 10025, 8, 6276, 5339, 30, 46506, 308, 11215, 834, 10025, ...
For those employees who was hired before 2002-06-21, find job_id and the sum of department_id , and group by attribute job_id, and visualize them by a bar chart, display JOB_ID in ascending order.
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1064, 1693, 62, 312, 290, 262, 2160, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 3359, 449, 9864...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1064, 1693, 62, 312, 290, 262, 2160, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 3359, 449, 9864...
Who were the partners in 2012?
SELECT "Partner" FROM table_2651 WHERE "Year" = '2012'
[ 8241, 547, 262, 4887, 287, 2321, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 2075, 4349, 33411, 366, 17688, 1, 796, 705, 6999, 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 ]
[ 8241, 547, 262, 4887, 287, 2321, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 2075, 4349, 33411, 366, 17688, 1, 796, 705, 6999, 6 ]
Name the most gold when bronze is more than 0 and rank is more than 5 with total more than 2
SELECT MAX(gold) FROM table_name_70 WHERE bronze > 0 AND rank > 5 AND total > 2
[ 5376, 262, 749, 3869, 618, 22101, 318, 517, 621, 657, 290, 4279, 318, 517, 621, 642, 351, 2472, 517, 621, 362, 46506, 25882, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 22101, 1875, 657, 5357, 4279, 1875, 642, 5357, 2472, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 3869, 618, 22101, 318, 517, 621, 657, 290, 4279, 318, 517, 621, 642, 351, 2472, 517, 621, 362, 46506, 25882, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 22101, 1875, 657, 5357, 4279, 1875, 642, 5357, 2472, 1...
Mame the reg season for 2001
SELECT "Reg. Season" FROM table_73738 WHERE "Year" = '2001'
[ 44, 480, 262, 842, 1622, 329, 5878, 46506, 366, 8081, 13, 7369, 1, 16034, 3084, 62, 22, 2718, 2548, 33411, 366, 17688, 1, 796, 705, 14585, 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 ]
[ 44, 480, 262, 842, 1622, 329, 5878, 46506, 366, 8081, 13, 7369, 1, 16034, 3084, 62, 22, 2718, 2548, 33411, 366, 17688, 1, 796, 705, 14585, 6 ]
What is the name of the person who plays the GK position and is from the Wolverhampton Wanderers?
SELECT "Name" FROM table_61690 WHERE "Position" = 'gk' AND "From" = 'wolverhampton wanderers'
[ 2061, 318, 262, 1438, 286, 262, 1048, 508, 5341, 262, 402, 42, 2292, 290, 318, 422, 262, 26328, 2763, 10972, 22420, 19288, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 44214, 3829, 33411, 366, 26545, 1, 796, 705, 70, 74, 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, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1048, 508, 5341, 262, 402, 42, 2292, 290, 318, 422, 262, 26328, 2763, 10972, 22420, 19288, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 44214, 3829, 33411, 366, 26545, 1, 796, 705, 70, 74, 6, 5357, 366, ...
What is the year where the runner-up outcome was at its basic minimum?
SELECT MIN("Year") FROM table_25443 WHERE "Outcome" = 'Runner-up'
[ 2061, 318, 262, 614, 810, 262, 17490, 12, 929, 8055, 373, 379, 663, 4096, 5288, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 1495, 34938, 33411, 366, 7975, 2958, 1, 796, 705, 49493, 12, 929, 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 ]
[ 2061, 318, 262, 614, 810, 262, 17490, 12, 929, 8055, 373, 379, 663, 4096, 5288, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 1495, 34938, 33411, 366, 7975, 2958, 1, 796, 705, 49493, 12, 929, 6 ]
Which team had the least number of attendances in home games in 1980?
SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance LIMIT 1
[ 13828, 1074, 550, 262, 1551, 1271, 286, 5262, 1817, 287, 1363, 1830, 287, 7169, 30, 46506, 309, 17, 13, 3672, 16034, 1363, 62, 6057, 7054, 309, 16, 32357, 1268, 1074, 7054, 309, 17, 6177, 309, 16, 13, 15097, 62, 312, 796, 309, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 1074, 550, 262, 1551, 1271, 286, 5262, 1817, 287, 1363, 1830, 287, 7169, 30, 46506, 309, 17, 13, 3672, 16034, 1363, 62, 6057, 7054, 309, 16, 32357, 1268, 1074, 7054, 309, 17, 6177, 309, 16, 13, 15097, 62, 312, 796, 309, 17, ...
what is the average total when silver is more than 2, bronze is 12 and gold is less than 12?
SELECT AVG("Total") FROM table_64767 WHERE "Silver" > '2' AND "Bronze" = '12' AND "Gold" < '12'
[ 10919, 318, 262, 2811, 2472, 618, 8465, 318, 517, 621, 362, 11, 22101, 318, 1105, 290, 3869, 318, 1342, 621, 1105, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 2414, 32059, 33411, 366, 26766, 1, 1875, 705, 17, 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, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2811, 2472, 618, 8465, 318, 517, 621, 362, 11, 22101, 318, 1105, 290, 3869, 318, 1342, 621, 1105, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 2414, 32059, 33411, 366, 26766, 1, 1875, 705, 17, 6, 5357, 366, ...
give the number of patients whose drug code is csa50i and lab test fluid is ascites.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "CSA50I" AND lab.fluid = "Ascites"
[ 26535, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 269, 11400, 1120, 72, 290, 2248, 1332, 11711, 318, 10570, 2737, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 269, 11400, 1120, 72, 290, 2248, 1332, 11711, 318, 10570, 2737, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Which park had most attendances in 2008?
SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1
[ 13828, 3952, 550, 749, 5262, 1817, 287, 3648, 30, 46506, 309, 17, 13, 20928, 62, 3672, 16034, 1363, 62, 6057, 7054, 309, 16, 32357, 1268, 3952, 7054, 309, 17, 6177, 309, 16, 13, 20928, 62, 312, 796, 309, 17, 13, 20928, 62, 312, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3952, 550, 749, 5262, 1817, 287, 3648, 30, 46506, 309, 17, 13, 20928, 62, 3672, 16034, 1363, 62, 6057, 7054, 309, 16, 32357, 1268, 3952, 7054, 309, 17, 6177, 309, 16, 13, 20928, 62, 312, 796, 309, 17, 13, 20928, 62, 312, 33...
Create a bar chart showing manager_id across last name, and could you sort by the Y from high to low?
SELECT LAST_NAME, MANAGER_ID FROM employees ORDER BY MANAGER_ID DESC
[ 16447, 257, 2318, 8262, 4478, 4706, 62, 312, 1973, 938, 1438, 11, 290, 714, 345, 3297, 416, 262, 575, 422, 1029, 284, 1877, 30, 46506, 41894, 62, 20608, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 38678, 11050, 17254, 4760, 1137, 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 ]
[ 16447, 257, 2318, 8262, 4478, 4706, 62, 312, 1973, 938, 1438, 11, 290, 714, 345, 3297, 416, 262, 575, 422, 1029, 284, 1877, 30, 46506, 41894, 62, 20608, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 38678, 11050, 17254, 4760, 1137, 62...
Who did the team play against in the game that resulted with a loss?
SELECT "Opponent" FROM table_24097 WHERE "Result" = 'Loss'
[ 8241, 750, 262, 1074, 711, 1028, 287, 262, 983, 326, 8724, 351, 257, 2994, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1731, 2931, 22, 33411, 366, 23004, 1, 796, 705, 43, 793, 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 ]
[ 8241, 750, 262, 1074, 711, 1028, 287, 262, 983, 326, 8724, 351, 257, 2994, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1731, 2931, 22, 33411, 366, 23004, 1, 796, 705, 43, 793, 6 ]
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"
[ 13828, 7117, 468, 257, 6280, 326, 338, 406, 32270, 621, 4793, 290, 4333, 286, 347, 14082, 357, 42, 54, 19427, 46506, 3113, 16034, 3084, 62, 3672, 62, 23, 33411, 614, 1875, 4793, 5357, 1176, 796, 366, 65, 24831, 357, 46265, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7117, 468, 257, 6280, 326, 338, 406, 32270, 621, 4793, 290, 4333, 286, 347, 14082, 357, 42, 54, 19427, 46506, 3113, 16034, 3084, 62, 3672, 62, 23, 33411, 614, 1875, 4793, 5357, 1176, 796, 366, 65, 24831, 357, 46265, 16725 ]
Of the 15 -credit classes , which ones are upper-level ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 15 AND program_course.category LIKE 'ULCS'
[ 5189, 262, 1315, 532, 43082, 6097, 837, 543, 3392, 389, 6727, 12, 5715, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5189, 262, 1315, 532, 43082, 6097, 837, 543, 3392, 389, 6727, 12, 5715, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, ...
Who was the incumbent in the Arkansas 2 district election?
SELECT "Incumbent" FROM table_18436 WHERE "District" = 'Arkansas 2'
[ 8241, 373, 262, 23526, 287, 262, 14538, 362, 4783, 3071, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 22883, 2623, 33411, 366, 44857, 1, 796, 705, 42007, 6618, 362, 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, 373, 262, 23526, 287, 262, 14538, 362, 4783, 3071, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 22883, 2623, 33411, 366, 44857, 1, 796, 705, 42007, 6618, 362, 6 ]
count the number of patients whose marital status is divorced and admission year is less than 2119?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admityear < "2119"
[ 9127, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 25107, 290, 13938, 614, 318, 1342, 621, 2310, 1129, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 1337...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 318, 25107, 290, 13938, 614, 318, 1342, 621, 2310, 1129, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 1337...
Show all artist names and the number of exhibitions for each artist Show bar chart, show X from high to low order.
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID ORDER BY Name DESC
[ 15307, 477, 6802, 3891, 290, 262, 1271, 286, 48130, 329, 1123, 6802, 5438, 2318, 8262, 11, 905, 1395, 422, 1029, 284, 1877, 1502, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 477, 6802, 3891, 290, 262, 1271, 286, 48130, 329, 1123, 6802, 5438, 2318, 8262, 11, 905, 1395, 422, 1029, 284, 1877, 1502, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17...
how many countries won more than 3 bronze metals ?
SELECT COUNT("nation") FROM table_204_183 WHERE "bronze" > 3
[ 4919, 867, 2678, 1839, 517, 621, 513, 22101, 21782, 5633, 46506, 327, 28270, 7203, 25729, 4943, 16034, 3084, 62, 18638, 62, 24839, 33411, 366, 65, 1313, 2736, 1, 1875, 513 ]
[ 1, 1, 1, 1, 1, 1, 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, 2678, 1839, 517, 621, 513, 22101, 21782, 5633, 46506, 327, 28270, 7203, 25729, 4943, 16034, 3084, 62, 18638, 62, 24839, 33411, 366, 65, 1313, 2736, 1, 1875, 513 ]
When 10 is the number who is the writer?
SELECT writer_s_ FROM table_24781886_2 WHERE _number = 10
[ 2215, 838, 318, 262, 1271, 508, 318, 262, 6260, 30, 46506, 6260, 62, 82, 62, 16034, 3084, 62, 1731, 3695, 1507, 4521, 62, 17, 33411, 4808, 17618, 796, 838 ]
[ 1, 1, 1, 1, 1, 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, 838, 318, 262, 1271, 508, 318, 262, 6260, 30, 46506, 6260, 62, 82, 62, 16034, 3084, 62, 1731, 3695, 1507, 4521, 62, 17, 33411, 4808, 17618, 796, 838 ]
Who were the candidates when Noble Jones Gregory was incumbent?
SELECT "Candidates" FROM table_773 WHERE "Incumbent" = 'Noble Jones Gregory'
[ 8241, 547, 262, 5871, 618, 20833, 5437, 20653, 373, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 46871, 33411, 366, 25517, 2178, 298, 1, 796, 705, 21191, 293, 5437, 20653, 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 ]
[ 8241, 547, 262, 5871, 618, 20833, 5437, 20653, 373, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 46871, 33411, 366, 25517, 2178, 298, 1, 796, 705, 21191, 293, 5437, 20653, 6 ]
What nationality is mark eaton, center position?
SELECT "Nationality" FROM table_11492 WHERE "Position" = 'center' AND "Player" = 'mark eaton'
[ 2061, 29835, 318, 1317, 4483, 261, 11, 3641, 2292, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 1157, 40256, 33411, 366, 26545, 1, 796, 705, 16159, 6, 5357, 366, 14140, 1, 796, 705, 4102, 4483, 261, 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 ]
[ 2061, 29835, 318, 1317, 4483, 261, 11, 3641, 2292, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 1157, 40256, 33411, 366, 26545, 1, 796, 705, 16159, 6, 5357, 366, 14140, 1, 796, 705, 4102, 4483, 261, 6 ]
What was the lattitude for the area with 4.243 square miles of water?
SELECT latitude FROM table_18600760_10 WHERE water__sqmi_ = "4.243"
[ 2061, 373, 262, 47240, 3984, 329, 262, 1989, 351, 604, 13, 26660, 6616, 4608, 286, 1660, 30, 46506, 32477, 16034, 3084, 62, 1507, 8054, 40761, 62, 940, 33411, 1660, 834, 31166, 11632, 62, 796, 366, 19, 13, 26660, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 47240, 3984, 329, 262, 1989, 351, 604, 13, 26660, 6616, 4608, 286, 1660, 30, 46506, 32477, 16034, 3084, 62, 1507, 8054, 40761, 62, 940, 33411, 1660, 834, 31166, 11632, 62, 796, 366, 19, 13, 26660, 1 ]
A bar chart for what are the number of the names of all the playlists?, and I want to sort by the Y from high to low.
SELECT name, COUNT(name) FROM playlists GROUP BY name ORDER BY COUNT(name) DESC
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 3891, 286, 477, 262, 711, 20713, 21747, 290, 314, 765, 284, 3297, 416, 262, 575, 422, 1029, 284, 1877, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 711, 20713, 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, 1, 1, 1 ]
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 3891, 286, 477, 262, 711, 20713, 21747, 290, 314, 765, 284, 3297, 416, 262, 575, 422, 1029, 284, 1877, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 711, 20713, 44441, 11050,...
Who was the away team when the attendance was 76?
SELECT "Away team" FROM table_51010 WHERE "Attendance" = '76'
[ 8241, 373, 262, 1497, 1074, 618, 262, 14858, 373, 8684, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 4349, 20943, 33411, 366, 8086, 437, 590, 1, 796, 705, 4304, 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, 373, 262, 1497, 1074, 618, 262, 14858, 373, 8684, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 4349, 20943, 33411, 366, 8086, 437, 590, 1, 796, 705, 4304, 6 ]
amount of posts per day.
SELECT ROW_NUMBER() OVER (ORDER BY MIN(CreationDate)) AS rowNumber, COUNT(*) AS amount, DATE(MIN(CreationDate)) AS date FROM Posts WHERE OwnerUserId = '##UserId##' AND CreationDate BETWEEN '2008-08-01' AND '2008-08-17' GROUP BY DATE(CreationDate) ORDER BY MIN(CreationDate)
[ 17287, 286, 6851, 583, 1110, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 20625, 7, 12443, 341, 10430, 4008, 7054, 5752, 15057, 11, 327, 28270, 7, 28104, 7054, 2033, 11, 360, 6158, 7, 23678, 7, 12443, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17287, 286, 6851, 583, 1110, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 20625, 7, 12443, 341, 10430, 4008, 7054, 5752, 15057, 11, 327, 28270, 7, 28104, 7054, 2033, 11, 360, 6158, 7, 23678, 7, 12443, ...
what artist won in 1953
SELECT "Artist" FROM table_34580 WHERE "Year" = '1953'
[ 10919, 6802, 1839, 287, 24217, 46506, 366, 43020, 1, 16034, 3084, 62, 27712, 1795, 33411, 366, 17688, 1, 796, 705, 1129, 4310, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 6802, 1839, 287, 24217, 46506, 366, 43020, 1, 16034, 3084, 62, 27712, 1795, 33411, 366, 17688, 1, 796, 705, 1129, 4310, 6 ]
How many scores where achieved on January 19?
SELECT COUNT("Score") FROM table_29894 WHERE "Date" = 'January 19'
[ 2437, 867, 8198, 810, 8793, 319, 3269, 678, 30, 46506, 327, 28270, 7203, 26595, 4943, 16034, 3084, 62, 1959, 4531, 19, 33411, 366, 10430, 1, 796, 705, 21339, 678, 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 ]
[ 2437, 867, 8198, 810, 8793, 319, 3269, 678, 30, 46506, 327, 28270, 7203, 26595, 4943, 16034, 3084, 62, 1959, 4531, 19, 33411, 366, 10430, 1, 796, 705, 21339, 678, 6 ]
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, and order Y-axis from low to high order please.
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(EMPLOYEE_ID)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 1502, 575, 12, 22704, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 1502, 575, 12, 22704, ...