instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
what is the final score when the date is 2009-02-26?
SELECT final_score FROM table_name_62 WHERE date = "2009-02-26"
[ 10919, 318, 262, 2457, 4776, 618, 262, 3128, 318, 3717, 12, 2999, 12, 2075, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 3672, 62, 5237, 33411, 3128, 796, 366, 10531, 12, 2999, 12, 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 ]
[ 10919, 318, 262, 2457, 4776, 618, 262, 3128, 318, 3717, 12, 2999, 12, 2075, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 3672, 62, 5237, 33411, 3128, 796, 366, 10531, 12, 2999, 12, 2075, 1 ]
What is the name of the Event with a venue that was in toronto, canada?
SELECT "Event" FROM table_36954 WHERE "Venue" = 'toronto, canada'
[ 2061, 318, 262, 1438, 286, 262, 8558, 351, 257, 14359, 326, 373, 287, 7332, 5957, 11, 460, 4763, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2623, 48372, 33411, 366, 37522, 518, 1, 796, 705, 13165, 5957, 11, 460, 4763, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 8558, 351, 257, 14359, 326, 373, 287, 7332, 5957, 11, 460, 4763, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2623, 48372, 33411, 366, 37522, 518, 1, 796, 705, 13165, 5957, 11, 460, 4763, 6 ]
What's the date of the discus throw in 2010 Georgetown?
SELECT "Date" FROM table_14052 WHERE "Games" = '2010 georgetown' AND "Event" = 'discus throw'
[ 2061, 338, 262, 3128, 286, 262, 1221, 385, 3714, 287, 3050, 31393, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1415, 37841, 33411, 366, 24474, 1, 796, 705, 10333, 4903, 29085, 6, 5357, 366, 9237, 1, 796, 705, 15410, 385, 3714, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 3128, 286, 262, 1221, 385, 3714, 287, 3050, 31393, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1415, 37841, 33411, 366, 24474, 1, 796, 705, 10333, 4903, 29085, 6, 5357, 366, 9237, 1, 796, 705, 15410, 385, 3714, 6 ]
Calculate the number of patients who had an initial insertion of dual-chamber device procedure.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Int insert dual-cham dev"
[ 9771, 3129, 378, 262, 1271, 286, 3871, 508, 550, 281, 4238, 36075, 286, 10668, 12, 354, 7789, 3335, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 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...
[ 9771, 3129, 378, 262, 1271, 286, 3871, 508, 550, 281, 4238, 36075, 286, 10668, 12, 354, 7789, 3335, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177...
How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?
SELECT COUNT("Year") FROM table_37227 WHERE "Producer" = 'star cinema' AND "Director" = 'rory quintos' AND "Title" = 'kay tagal kang hinintay'
[ 2437, 867, 812, 373, 17356, 17467, 282, 27504, 29094, 600, 323, 7924, 416, 37178, 33405, 418, 290, 4635, 416, 2907, 31535, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2718, 24403, 33411, 366, 11547, 2189, 1, 796, 705, 736...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 373, 17356, 17467, 282, 27504, 29094, 600, 323, 7924, 416, 37178, 33405, 418, 290, 4635, 416, 2907, 31535, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2718, 24403, 33411, 366, 11547, 2189, 1, 796, 705, 736...
What is the wattage/TDP associated with model name 4x0?
SELECT "TDP" FROM table_26575 WHERE "Model (list)" = '4x0'
[ 2061, 318, 262, 40114, 496, 14, 51, 6322, 3917, 351, 2746, 1438, 604, 87, 15, 30, 46506, 366, 51, 6322, 1, 16034, 3084, 62, 22980, 2425, 33411, 366, 17633, 357, 4868, 16725, 796, 705, 19, 87, 15, 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, 40114, 496, 14, 51, 6322, 3917, 351, 2746, 1438, 604, 87, 15, 30, 46506, 366, 51, 6322, 1, 16034, 3084, 62, 22980, 2425, 33411, 366, 17633, 357, 4868, 16725, 796, 705, 19, 87, 15, 6 ]
Who has 6/1 odds?
SELECT trainer FROM table_name_50 WHERE odds = "6/1"
[ 8241, 468, 718, 14, 16, 10402, 30, 46506, 21997, 16034, 3084, 62, 3672, 62, 1120, 33411, 10402, 796, 366, 21, 14, 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 ]
[ 8241, 468, 718, 14, 16, 10402, 30, 46506, 21997, 16034, 3084, 62, 3672, 62, 1120, 33411, 10402, 796, 366, 21, 14, 16, 1 ]
which parts have more than 2 faults? Show the part name and id, list Y-axis in ascending order.
SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id ORDER BY T1.part_id
[ 4758, 3354, 423, 517, 621, 362, 31025, 30, 5438, 262, 636, 1438, 290, 4686, 11, 1351, 575, 12, 22704, 287, 41988, 1502, 13, 46506, 309, 16, 13, 3911, 62, 3672, 11, 309, 16, 13, 3911, 62, 312, 16034, 22349, 7054, 309, 16, 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...
[ 4758, 3354, 423, 517, 621, 362, 31025, 30, 5438, 262, 636, 1438, 290, 4686, 11, 1351, 575, 12, 22704, 287, 41988, 1502, 13, 46506, 309, 16, 13, 3911, 62, 3672, 11, 309, 16, 13, 3911, 62, 312, 16034, 22349, 7054, 309, 16, 32357, 12...
what are all the state/nation where the race number is 36
SELECT "State/country" FROM table_27806 WHERE "Race number" = '36'
[ 10919, 389, 477, 262, 1181, 14, 25729, 810, 262, 3234, 1271, 318, 4570, 46506, 366, 9012, 14, 19315, 1, 16034, 3084, 62, 1983, 37988, 33411, 366, 35157, 1271, 1, 796, 705, 2623, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 477, 262, 1181, 14, 25729, 810, 262, 3234, 1271, 318, 4570, 46506, 366, 9012, 14, 19315, 1, 16034, 3084, 62, 1983, 37988, 33411, 366, 35157, 1271, 1, 796, 705, 2623, 6 ]
What is the district where the thanjavur medical college is located?
SELECT district FROM table_name_93 WHERE college_name = "thanjavur medical college"
[ 2061, 318, 262, 4783, 810, 262, 621, 73, 615, 333, 3315, 4152, 318, 5140, 30, 46506, 4783, 16034, 3084, 62, 3672, 62, 6052, 33411, 4152, 62, 3672, 796, 366, 14813, 73, 615, 333, 3315, 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, 1, 1 ]
[ 2061, 318, 262, 4783, 810, 262, 621, 73, 615, 333, 3315, 4152, 318, 5140, 30, 46506, 4783, 16034, 3084, 62, 3672, 62, 6052, 33411, 4152, 62, 3672, 796, 366, 14813, 73, 615, 333, 3315, 4152, 1 ]
Which chassis has fewer than 2 points, entrants of Goulds' Garage (Bristol), in 1954?
SELECT "Chassis" FROM table_70778 WHERE "Points" < '2' AND "Entrant" = 'goulds'' garage (bristol)' AND "Year" = '1954'
[ 13828, 24587, 468, 7380, 621, 362, 2173, 11, 49117, 286, 39292, 82, 6, 45502, 357, 33, 1585, 349, 828, 287, 24718, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 2154, 39761, 33411, 366, 40710, 1, 1279, 705, 17, 6, 5357, 366, 1453...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24587, 468, 7380, 621, 362, 2173, 11, 49117, 286, 39292, 82, 6, 45502, 357, 33, 1585, 349, 828, 287, 24718, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 2154, 39761, 33411, 366, 40710, 1, 1279, 705, 17, 6, 5357, 366, 1453...
What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)?
SELECT type FROM table_name_49 WHERE unit = "naval base swinoujscie (auxiliary squadron)"
[ 2061, 318, 262, 2099, 329, 257, 8837, 351, 257, 5610, 4326, 286, 19014, 2779, 1509, 259, 280, 73, 1416, 494, 357, 14644, 28129, 40733, 19427, 46506, 2099, 16034, 3084, 62, 3672, 62, 2920, 33411, 4326, 796, 366, 77, 9226, 2779, 1509, 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 ]
[ 2061, 318, 262, 2099, 329, 257, 8837, 351, 257, 5610, 4326, 286, 19014, 2779, 1509, 259, 280, 73, 1416, 494, 357, 14644, 28129, 40733, 19427, 46506, 2099, 16034, 3084, 62, 3672, 62, 2920, 33411, 4326, 796, 366, 77, 9226, 2779, 1509, 2...
What is the Opponent at the game with Attendance of 68,436?
SELECT opponent FROM table_name_97 WHERE attendance = "68,436"
[ 2061, 318, 262, 9385, 3471, 379, 262, 983, 351, 46502, 590, 286, 8257, 11, 43690, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5607, 33411, 14858, 796, 366, 3104, 11, 43690, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3471, 379, 262, 983, 351, 46502, 590, 286, 8257, 11, 43690, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5607, 33411, 14858, 796, 366, 3104, 11, 43690, 1 ]
How many share figures are there for the episode that aired on October 17, 2007?
SELECT COUNT("Share") FROM table_27190 WHERE "Air Date" = 'October 17, 2007'
[ 2437, 867, 2648, 5538, 389, 612, 329, 262, 4471, 326, 18530, 319, 3267, 1596, 11, 4343, 30, 46506, 327, 28270, 7203, 11649, 4943, 16034, 3084, 62, 1983, 19782, 33411, 366, 16170, 7536, 1, 796, 705, 18517, 1596, 11, 4343, 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 ]
[ 2437, 867, 2648, 5538, 389, 612, 329, 262, 4471, 326, 18530, 319, 3267, 1596, 11, 4343, 30, 46506, 327, 28270, 7203, 11649, 4943, 16034, 3084, 62, 1983, 19782, 33411, 366, 16170, 7536, 1, 796, 705, 18517, 1596, 11, 4343, 6 ]
Where the mantra is 'o ya v yuve nama ', what is the direction of the guardian?
SELECT "Direction" FROM table_15900 WHERE "Mantra" = 'Oṃ Yaṃ Vāyuve Namaḥ'
[ 8496, 262, 32628, 318, 705, 78, 21349, 410, 331, 45177, 299, 1689, 46083, 644, 318, 262, 4571, 286, 262, 21688, 30, 46506, 366, 35, 4154, 1, 16034, 3084, 62, 1314, 12865, 33411, 366, 44, 415, 430, 1, 796, 705, 46, 26292, 225, 26421,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 32628, 318, 705, 78, 21349, 410, 331, 45177, 299, 1689, 46083, 644, 318, 262, 4571, 286, 262, 21688, 30, 46506, 366, 35, 4154, 1, 16034, 3084, 62, 1314, 12865, 33411, 366, 44, 415, 430, 1, 796, 705, 46, 26292, 225, 26421,...
Name the english name for
SELECT "English Name" FROM table_23568 WHERE "Traditional" = '福鼎市'
[ 5376, 262, 46932, 1438, 329, 46506, 366, 15823, 6530, 1, 16034, 3084, 62, 22370, 3104, 33411, 366, 48485, 1, 796, 705, 163, 99, 237, 165, 120, 236, 30585, 224, 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, 46932, 1438, 329, 46506, 366, 15823, 6530, 1, 16034, 3084, 62, 22370, 3104, 33411, 366, 48485, 1, 796, 705, 163, 99, 237, 165, 120, 236, 30585, 224, 6 ]
Titre des 10 derni res questions pos es et pseudo de l'utilisateur.
SELECT TOP(10) AS title, DisplayName, pt.Name FROM Posts AS p JOIN Votes AS v ON p.Id = v.PostId JOIN Users AS u ON v.UserId = u.Id JOIN PostTypes AS pt ON p.PostTypeId = pt.Id
[ 51, 270, 260, 748, 838, 288, 1142, 72, 581, 2683, 1426, 1658, 2123, 24543, 390, 300, 6, 22602, 271, 15093, 13, 46506, 28662, 7, 940, 8, 7054, 3670, 11, 16531, 5376, 11, 42975, 13, 5376, 16034, 12043, 7054, 279, 32357, 1268, 39584, 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...
[ 51, 270, 260, 748, 838, 288, 1142, 72, 581, 2683, 1426, 1658, 2123, 24543, 390, 300, 6, 22602, 271, 15093, 13, 46506, 28662, 7, 940, 8, 7054, 3670, 11, 16531, 5376, 11, 42975, 13, 5376, 16034, 12043, 7054, 279, 32357, 1268, 39584, 7...
Name the finish for 4-4
SELECT finish FROM table_25920798_2 WHERE vote = "4-4"
[ 5376, 262, 5461, 329, 604, 12, 19, 46506, 5461, 16034, 3084, 62, 25191, 1238, 43240, 62, 17, 33411, 3015, 796, 366, 19, 12, 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 ]
[ 5376, 262, 5461, 329, 604, 12, 19, 46506, 5461, 16034, 3084, 62, 25191, 1238, 43240, 62, 17, 33411, 3015, 796, 366, 19, 12, 19, 1 ]
What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_54 WHERE _number_of_seats_won > 69 AND leader = "yasuhiro nakasone"
[ 2061, 318, 262, 2472, 1271, 286, 1303, 3226, 3771, 2309, 1523, 39584, 11, 618, 1303, 3226, 1001, 1381, 23306, 318, 3744, 621, 8644, 11, 290, 618, 10540, 318, 25957, 84, 49907, 22255, 292, 505, 30, 46506, 327, 28270, 28264, 17618, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2472, 1271, 286, 1303, 3226, 3771, 2309, 1523, 39584, 11, 618, 1303, 3226, 1001, 1381, 23306, 318, 3744, 621, 8644, 11, 290, 618, 10540, 318, 25957, 84, 49907, 22255, 292, 505, 30, 46506, 327, 28270, 28264, 17618, 62, ...
What is the Visitor in the game with a Record of 11 49 7?
SELECT "Visitor" FROM table_46245 WHERE "Record" = '11–49–7'
[ 2061, 318, 262, 6911, 2072, 287, 262, 983, 351, 257, 13266, 286, 1367, 5125, 767, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3510, 22995, 33411, 366, 23739, 1, 796, 705, 1157, 1906, 2920, 1906, 22, 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, 6911, 2072, 287, 262, 983, 351, 257, 13266, 286, 1367, 5125, 767, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3510, 22995, 33411, 366, 23739, 1, 796, 705, 1157, 1906, 2920, 1906, 22, 6 ]
How many products are there?
SELECT COUNT(*) FROM products
[ 2437, 867, 3186, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 3186 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3186, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 3186 ]
What school has the new conference as SELC?
SELECT "Institution" FROM table_28735 WHERE "New Conference" = 'SELC'
[ 2061, 1524, 468, 262, 649, 4495, 355, 311, 3698, 34, 30, 46506, 366, 6310, 2738, 1, 16034, 3084, 62, 27800, 2327, 33411, 366, 3791, 8785, 1, 796, 705, 50, 3698, 34, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1524, 468, 262, 649, 4495, 355, 311, 3698, 34, 30, 46506, 366, 6310, 2738, 1, 16034, 3084, 62, 27800, 2327, 33411, 366, 3791, 8785, 1, 796, 705, 50, 3698, 34, 6 ]
For those records from the products and each product's manufacturer, show me about the distribution of name and revenue , and group by attribute founder in a bar chart.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 13, 46506, 309, 16, 13, 5376, 11, 309, 17, 13, 3041, 4080, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 13, 46506, 309, 16, 13, 5376, 11, 309, 17, 13, 3041, 4080, 1...
Which country is Scott McCarron from?
SELECT country FROM table_name_90 WHERE player = "scott mccarron"
[ 13828, 1499, 318, 4746, 5108, 283, 1313, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3829, 33411, 2137, 796, 366, 1416, 1252, 285, 535, 283, 1313, 1 ]
[ 1, 1, 1, 1, 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, 1499, 318, 4746, 5108, 283, 1313, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3829, 33411, 2137, 796, 366, 1416, 1252, 285, 535, 283, 1313, 1 ]
Visualize a bar chart about the distribution of Sex and the sum of Height , and group by attribute Sex, and sort from low to high by the sum height.
SELECT Sex, SUM(Height) FROM people GROUP BY Sex ORDER BY SUM(Height)
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 14419, 290, 262, 2160, 286, 27280, 837, 290, 1448, 416, 11688, 14419, 11, 290, 3297, 422, 1877, 284, 1029, 416, 262, 2160, 6001, 13, 46506, 14419, 11, 35683, 7, 23106, 8, 16034, 661, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 14419, 290, 262, 2160, 286, 27280, 837, 290, 1448, 416, 11688, 14419, 11, 290, 3297, 422, 1877, 284, 1029, 416, 262, 2160, 6001, 13, 46506, 14419, 11, 35683, 7, 23106, 8, 16034, 661, ...
Name the segment 1 for episode # 2/225
SELECT "Segment 1" FROM table_26635 WHERE "Episode #" = '2/225'
[ 5376, 262, 10618, 352, 329, 4471, 1303, 362, 14, 18182, 46506, 366, 41030, 434, 352, 1, 16034, 3084, 62, 25540, 2327, 33411, 366, 23758, 1303, 1, 796, 705, 17, 14, 18182, 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 ]
[ 5376, 262, 10618, 352, 329, 4471, 1303, 362, 14, 18182, 46506, 366, 41030, 434, 352, 1, 16034, 3084, 62, 25540, 2327, 33411, 366, 23758, 1303, 1, 796, 705, 17, 14, 18182, 6 ]
when was first time patient 12927's heart rate measured or taken a day before?
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 = 12927)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart ra...
[ 12518, 373, 717, 640, 5827, 20248, 1983, 338, 2612, 2494, 8630, 393, 2077, 257, 1110, 878, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 640, 5827, 20248, 1983, 338, 2612, 2494, 8630, 393, 2077, 257, 1110, 878, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, ...
among the patients on elective admission, how many of them had venous cath nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.short_title = "Venous cath NEC"
[ 35131, 262, 3871, 319, 1742, 425, 13938, 11, 703, 867, 286, 606, 550, 8710, 516, 32171, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 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...
[ 35131, 262, 3871, 319, 1742, 425, 13938, 11, 703, 867, 286, 606, 550, 8710, 516, 32171, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13...
What is the 2009 value with q1 in 2010?
SELECT 2009 FROM table_name_60 WHERE 2010 = "q1"
[ 2061, 318, 262, 3717, 1988, 351, 10662, 16, 287, 3050, 30, 46506, 3717, 16034, 3084, 62, 3672, 62, 1899, 33411, 3050, 796, 366, 80, 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 ]
[ 2061, 318, 262, 3717, 1988, 351, 10662, 16, 287, 3050, 30, 46506, 3717, 16034, 3084, 62, 3672, 62, 1899, 33411, 3050, 796, 366, 80, 16, 1 ]
What is the date of the match with Brother Elephants as the opponent and a save of ||4,117?
SELECT "Date" FROM table_5383 WHERE "Opponent" = 'brother elephants' AND "Save" = '||4,117'
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 8402, 15987, 746, 1187, 355, 262, 6125, 290, 257, 3613, 286, 8614, 19, 11, 17657, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 34741, 33411, 366, 27524, 3471, 1, 796, 705, 37343, 25368, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 8402, 15987, 746, 1187, 355, 262, 6125, 290, 257, 3613, 286, 8614, 19, 11, 17657, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 34741, 33411, 366, 27524, 3471, 1, 796, 705, 37343, 25368, 6...
WHAT IS THE STROKE COUNT WITH RADICAL FREQUENCY SMALLER THAN 129?
SELECT AVG(stroke_count) FROM table_name_88 WHERE radical__variants_ = "皿" AND frequency < 129
[ 32971, 3180, 3336, 3563, 13252, 7336, 327, 28270, 13315, 33540, 20151, 44253, 10917, 45155, 9447, 7036, 1137, 2320, 1565, 20248, 30, 46506, 35224, 7, 30757, 62, 9127, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 7702, 834, 25641, 1187, 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 ]
[ 32971, 3180, 3336, 3563, 13252, 7336, 327, 28270, 13315, 33540, 20151, 44253, 10917, 45155, 9447, 7036, 1137, 2320, 1565, 20248, 30, 46506, 35224, 7, 30757, 62, 9127, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 7702, 834, 25641, 1187, 62, ...
What shows for money ( ) when South Africa is the country?
SELECT MAX("Money ( \u00a3 )") FROM table_59751 WHERE "Country" = 'south africa'
[ 2061, 2523, 329, 1637, 357, 1267, 618, 2520, 5478, 318, 262, 1499, 30, 46506, 25882, 7203, 26788, 357, 3467, 84, 405, 64, 18, 1267, 4943, 16034, 3084, 62, 3270, 48365, 33411, 366, 33921, 1, 796, 705, 35782, 6580, 30997, 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, 2523, 329, 1637, 357, 1267, 618, 2520, 5478, 318, 262, 1499, 30, 46506, 25882, 7203, 26788, 357, 3467, 84, 405, 64, 18, 1267, 4943, 16034, 3084, 62, 3270, 48365, 33411, 366, 33921, 1, 796, 705, 35782, 6580, 30997, 6 ]
give me all the flights from NEW YORK to MIAMI round trip with costs less than 466 dollars
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, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MIAMI' AND fare.round_trip_cost < 466 AND flight_fare.fare_id = fare.f...
[ 26535, 502, 477, 262, 13956, 422, 12682, 28154, 284, 15789, 43870, 2835, 5296, 351, 3484, 1342, 621, 604, 2791, 5054, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 13956, 422, 12682, 28154, 284, 15789, 43870, 2835, 5296, 351, 3484, 1342, 621, 604, 2791, 5054, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
Out of total number of patients admitted before 2198, how many of them were married.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admityear < "2198"
[ 7975, 286, 2472, 1271, 286, 3871, 6848, 878, 362, 22337, 11, 703, 867, 286, 606, 547, 6405, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7975, 286, 2472, 1271, 286, 3871, 6848, 878, 362, 22337, 11, 703, 867, 286, 606, 547, 6405, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 36...
What was the result of the election featuring james a. gallivan (d) unopposed?
SELECT "Result" FROM table_18695 WHERE "Candidates" = 'James A. Gallivan (D) Unopposed'
[ 2061, 373, 262, 1255, 286, 262, 3071, 9593, 474, 1047, 257, 13, 7976, 13809, 357, 67, 8, 555, 10365, 1335, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 37381, 33411, 366, 41572, 37051, 1, 796, 705, 14731, 317, 13, 7096, 13809, 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 ]
[ 2061, 373, 262, 1255, 286, 262, 3071, 9593, 474, 1047, 257, 13, 7976, 13809, 357, 67, 8, 555, 10365, 1335, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 37381, 33411, 366, 41572, 37051, 1, 796, 705, 14731, 317, 13, 7096, 13809, 3...
Which Competition has a Score of 0-1, and Opponents of pkns fc?
SELECT "Competition" FROM table_75462 WHERE "Score" = '0-1' AND "Opponents" = 'pkns fc'
[ 13828, 27348, 468, 257, 15178, 286, 657, 12, 16, 11, 290, 9385, 3906, 286, 279, 74, 5907, 277, 66, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 2425, 39997, 33411, 366, 26595, 1, 796, 705, 15, 12, 16, 6, 5357, 366, 27524, 3906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27348, 468, 257, 15178, 286, 657, 12, 16, 11, 290, 9385, 3906, 286, 279, 74, 5907, 277, 66, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 2425, 39997, 33411, 366, 26595, 1, 796, 705, 15, 12, 16, 6, 5357, 366, 27524, 3906...
What is the sum of Played, when Losses is '13', and when Position is greater than 11?
SELECT SUM("Played") FROM table_50768 WHERE "Losses" = '13' AND "Position" > '11'
[ 2061, 318, 262, 2160, 286, 33101, 11, 618, 22014, 274, 318, 705, 1485, 3256, 290, 618, 23158, 318, 3744, 621, 1367, 30, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 1120, 30610, 33411, 366, 43, 793, 274, 1, 796, 705, 1485, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 33101, 11, 618, 22014, 274, 318, 705, 1485, 3256, 290, 618, 23158, 318, 3744, 621, 1367, 30, 46506, 35683, 7203, 11002, 276, 4943, 16034, 3084, 62, 1120, 30610, 33411, 366, 43, 793, 274, 1, 796, 705, 1485, ...
How many drivers had a time of 3:09:45?
SELECT COUNT("Driver") FROM table_24591 WHERE "Race Time" = '3:09:45'
[ 2437, 867, 6643, 550, 257, 640, 286, 513, 25, 2931, 25, 2231, 30, 46506, 327, 28270, 7203, 32103, 4943, 16034, 3084, 62, 1731, 48952, 33411, 366, 35157, 3862, 1, 796, 705, 18, 25, 2931, 25, 2231, 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 ]
[ 2437, 867, 6643, 550, 257, 640, 286, 513, 25, 2931, 25, 2231, 30, 46506, 327, 28270, 7203, 32103, 4943, 16034, 3084, 62, 1731, 48952, 33411, 366, 35157, 3862, 1, 796, 705, 18, 25, 2931, 25, 2231, 6 ]
For those products with a price between 60 and 120, give me a pie chart to reflect the proportion of name and price.
SELECT Name, Price FROM Products WHERE Price BETWEEN 60 AND 120
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1577, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 1438, 290, 2756, 13, 46506, 6530, 11, 7886, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1577, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 1438, 290, 2756, 13, 46506, 6530, 11, 7886, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
Who had the high rebound total against golden state?
SELECT "High rebounds" FROM table_801 WHERE "Team" = 'Golden State'
[ 8241, 550, 262, 1029, 23623, 2472, 1028, 10861, 1181, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 41531, 33411, 366, 15592, 1, 796, 705, 32378, 1812, 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 ]
[ 8241, 550, 262, 1029, 23623, 2472, 1028, 10861, 1181, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 41531, 33411, 366, 15592, 1, 796, 705, 32378, 1812, 6 ]
Return a bar chart showing how many members have visited for each college, I want to display by the X in descending.
SELECT T1.Name, COUNT(T1.Name) FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID GROUP BY T1.Name ORDER BY T1.Name DESC
[ 13615, 257, 2318, 8262, 4478, 703, 867, 1866, 423, 8672, 329, 1123, 4152, 11, 314, 765, 284, 3359, 416, 262, 1395, 287, 31491, 13, 46506, 309, 16, 13, 5376, 11, 327, 28270, 7, 51, 16, 13, 5376, 8, 16034, 4152, 7054, 309, 16, 32357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 257, 2318, 8262, 4478, 703, 867, 1866, 423, 8672, 329, 1123, 4152, 11, 314, 765, 284, 3359, 416, 262, 1395, 287, 31491, 13, 46506, 309, 16, 13, 5376, 11, 327, 28270, 7, 51, 16, 13, 5376, 8, 16034, 4152, 7054, 309, 16, 32357...
What's the Icelandic word for the German word for hand?
SELECT icelandic FROM table_name_85 WHERE german = "hand"
[ 2061, 338, 262, 41959, 1573, 329, 262, 2679, 1573, 329, 1021, 30, 46506, 14158, 8822, 291, 16034, 3084, 62, 3672, 62, 5332, 33411, 308, 2224, 796, 366, 4993, 1 ]
[ 1, 1, 1, 1, 1, 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, 41959, 1573, 329, 262, 2679, 1573, 329, 1021, 30, 46506, 14158, 8822, 291, 16034, 3084, 62, 3672, 62, 5332, 33411, 308, 2224, 796, 366, 4993, 1 ]
Draw a bar chart of investor versus the total number, show total number in ascending order please.
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*)
[ 25302, 257, 2318, 8262, 286, 15811, 9051, 262, 2472, 1271, 11, 905, 2472, 1271, 287, 41988, 1502, 3387, 13, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 327, 28270, 7, 28104 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15811, 9051, 262, 2472, 1271, 11, 905, 2472, 1271, 287, 41988, 1502, 3387, 13, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 327, 28270, 7, 28104 ]
what was the name of the medication which was prescribed to patient 27362 the first time in 05/2104?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27362) AND STRFTIME('%y-%m', prescriptions.startdate) = '2104-05' ORDER BY prescriptions.startdate LIMIT 1
[ 10919, 373, 262, 1438, 286, 262, 14103, 543, 373, 14798, 284, 5827, 2681, 35667, 262, 717, 640, 287, 8870, 14, 17, 13464, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 14103, 543, 373, 14798, 284, 5827, 2681, 35667, 262, 717, 640, 287, 8870, 14, 17, 13464, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18...
Of all the 400 -level courses , which ones do not include labs ?
SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' AND number < 400 + 100 AND number >= 400
[ 5189, 477, 262, 7337, 532, 5715, 10902, 837, 543, 3392, 466, 407, 2291, 27887, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 45, 6, 5357, 127...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 7337, 532, 5715, 10902, 837, 543, 3392, 466, 407, 2291, 27887, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 45, 6, 5357, 127...
What was the score on 19/08/2012?
SELECT "Score" FROM table_9033 WHERE "Date" = '19/08/2012'
[ 2061, 373, 262, 4776, 319, 678, 14, 2919, 14, 6999, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3829, 2091, 33411, 366, 10430, 1, 796, 705, 1129, 14, 2919, 14, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 319, 678, 14, 2919, 14, 6999, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3829, 2091, 33411, 366, 10430, 1, 796, 705, 1129, 14, 2919, 14, 6999, 6 ]
Who did the Colts play against on September 25, 1966?
SELECT opponent FROM table_name_8 WHERE date = "september 25, 1966"
[ 8241, 750, 262, 20464, 711, 1028, 319, 2693, 1679, 11, 19322, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 23, 33411, 3128, 796, 366, 325, 457, 1491, 1679, 11, 19322, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 20464, 711, 1028, 319, 2693, 1679, 11, 19322, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 23, 33411, 3128, 796, 366, 325, 457, 1491, 1679, 11, 19322, 1 ]
Have I taken any ULCS courses ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON student_record.course_id = program_course.course_id WHERE program_course.category LIKE '%ULCS%' AND student_record.student_id = 1
[ 11980, 314, 2077, 597, 471, 29814, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 3710, 62, 22105, 6177, 3710, 62, 22105, 13, 17319, 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...
[ 11980, 314, 2077, 597, 471, 29814, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 3710, 62, 22105, 6177, 3710, 62, 22105, 13, 17319, 62, ...
count the number of male patients who were admitted in hospital before 2127.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.admityear < "2127"
[ 9127, 262, 1271, 286, 4257, 3871, 508, 547, 6848, 287, 4436, 878, 362, 16799, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 324,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 4257, 3871, 508, 547, 6848, 287, 4436, 878, 362, 16799, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 324,...
Find the name of customers who do not have a loan with a type of Mortgages.
SELECT cust_name FROM customer EXCEPT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE T2.loan_type = 'Mortgages'
[ 16742, 262, 1438, 286, 4297, 508, 466, 407, 423, 257, 8063, 351, 257, 2099, 286, 10788, 70, 1095, 13, 46506, 9378, 62, 3672, 16034, 6491, 7788, 42006, 33493, 309, 16, 13, 66, 436, 62, 3672, 16034, 6491, 7054, 309, 16, 32357, 1268, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1438, 286, 4297, 508, 466, 407, 423, 257, 8063, 351, 257, 2099, 286, 10788, 70, 1095, 13, 46506, 9378, 62, 3672, 16034, 6491, 7788, 42006, 33493, 309, 16, 13, 66, 436, 62, 3672, 16034, 6491, 7054, 309, 16, 32357, 1268, 8...
On May 17, what is the highest Attendance?
SELECT MAX("Attendance") FROM table_68425 WHERE "Date" = 'may 17'
[ 2202, 1737, 1596, 11, 644, 318, 262, 4511, 46502, 590, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3104, 32114, 33411, 366, 10430, 1, 796, 705, 11261, 1596, 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 ]
[ 2202, 1737, 1596, 11, 644, 318, 262, 4511, 46502, 590, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3104, 32114, 33411, 366, 10430, 1, 796, 705, 11261, 1596, 6 ]
when did patient 12917 come into the hospital through the transfer from hosp/extram since 2103 for the last time?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 12917 AND admissions.admission_location = 'transfer from hosp/extram' AND STRFTIME('%y', admissions.admittime) >= '2103' ORDER BY admissions.admittime DESC LIMIT 1
[ 12518, 750, 5827, 20248, 1558, 1282, 656, 262, 4436, 832, 262, 4351, 422, 10496, 14, 2302, 859, 1201, 362, 15197, 329, 262, 938, 640, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 20248, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 20248, 1558, 1282, 656, 262, 4436, 832, 262, 4351, 422, 10496, 14, 2302, 859, 1201, 362, 15197, 329, 262, 938, 640, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 20248, 1...
Name the most games with drawn more than 1
SELECT MAX(games) FROM table_name_69 WHERE drawn > 1
[ 5376, 262, 749, 1830, 351, 7428, 517, 621, 352, 46506, 25882, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 7428, 1875, 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 ]
[ 5376, 262, 749, 1830, 351, 7428, 517, 621, 352, 46506, 25882, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 7428, 1875, 352 ]
How much were tickets for the show in Indianapolis, Indiana?
SELECT "Ticket price(s)" FROM table_61778 WHERE "City, state" = 'indianapolis, indiana'
[ 2437, 881, 547, 8587, 329, 262, 905, 287, 19362, 11, 10278, 30, 46506, 366, 51, 9715, 2756, 7, 82, 16725, 16034, 3084, 62, 47941, 3695, 33411, 366, 14941, 11, 1181, 1, 796, 705, 521, 666, 11174, 11, 773, 7484, 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 ]
[ 2437, 881, 547, 8587, 329, 262, 905, 287, 19362, 11, 10278, 30, 46506, 366, 51, 9715, 2756, 7, 82, 16725, 16034, 3084, 62, 47941, 3695, 33411, 366, 14941, 11, 1181, 1, 796, 705, 521, 666, 11174, 11, 773, 7484, 6 ]
What was the percentage of votes for coakley when kennedy won 1.6%
SELECT "Coakley %" FROM table_26596 WHERE "Kennedy %" = '1.6%'
[ 2061, 373, 262, 5873, 286, 5690, 329, 763, 461, 1636, 618, 479, 1697, 4716, 1839, 352, 13, 21, 4, 46506, 366, 7222, 461, 1636, 4064, 1, 16034, 3084, 62, 2075, 45734, 33411, 366, 39324, 4716, 4064, 1, 796, 705, 16, 13, 21, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5873, 286, 5690, 329, 763, 461, 1636, 618, 479, 1697, 4716, 1839, 352, 13, 21, 4, 46506, 366, 7222, 461, 1636, 4064, 1, 16034, 3084, 62, 2075, 45734, 33411, 366, 39324, 4716, 4064, 1, 796, 705, 16, 13, 21, 4, 6 ]
What was Juli's winning margin on Aug 24, 1986?
SELECT "Margin of victory" FROM table_45347 WHERE "Date" = 'aug 24, 1986'
[ 2061, 373, 5979, 72, 338, 5442, 10330, 319, 2447, 1987, 11, 12113, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 2231, 30995, 33411, 366, 10430, 1, 796, 705, 7493, 1987, 11, 12113, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 5979, 72, 338, 5442, 10330, 319, 2447, 1987, 11, 12113, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 2231, 30995, 33411, 366, 10430, 1, 796, 705, 7493, 1987, 11, 12113, 6 ]
What was the score when attendance was 19,887?
SELECT record FROM table_name_2 WHERE attendance = "19,887"
[ 2061, 373, 262, 4776, 618, 14858, 373, 678, 11, 46660, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 17, 33411, 14858, 796, 366, 1129, 11, 46660, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 618, 14858, 373, 678, 11, 46660, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 17, 33411, 14858, 796, 366, 1129, 11, 46660, 1 ]
select Tags from Posts.
SELECT Tags FROM Posts WHERE NOT Tags IS NULL
[ 19738, 44789, 422, 12043, 13, 46506, 44789, 16034, 12043, 33411, 5626, 44789, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 44789, 422, 12043, 13, 46506, 44789, 16034, 12043, 33411, 5626, 44789, 3180, 15697 ]
provide the number of patients whose primary disease is coronary artery disease\coronary artery bypass graft /sda and drug name is glycopyrrolate?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" AND prescriptions.drug = "Glycopyrrolate"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 37151, 37646, 4369, 59, 10215, 261, 560, 37646, 17286, 38455, 1220, 82, 6814, 290, 2563, 1438, 318, 13874, 22163, 2417, 3225, 378, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 37151, 37646, 4369, 59, 10215, 261, 560, 37646, 17286, 38455, 1220, 82, 6814, 290, 2563, 1438, 318, 13874, 22163, 2417, 3225, 378, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, ...
what is the team when the driver is viktor jensen?
SELECT "Team" FROM table_10008 WHERE "Driver" = 'viktor jensen'
[ 10919, 318, 262, 1074, 618, 262, 4639, 318, 410, 1134, 13165, 474, 18756, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 12825, 23, 33411, 366, 32103, 1, 796, 705, 28930, 13165, 474, 18756, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1074, 618, 262, 4639, 318, 410, 1134, 13165, 474, 18756, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 12825, 23, 33411, 366, 32103, 1, 796, 705, 28930, 13165, 474, 18756, 6 ]
In what year did the Lions join?
SELECT MIN(joined) FROM table_1973729_1 WHERE nickname = "Lions"
[ 818, 644, 614, 750, 262, 14536, 4654, 30, 46506, 20625, 7, 46416, 8, 16034, 3084, 62, 24991, 2718, 1959, 62, 16, 33411, 21814, 796, 366, 43, 507, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 614, 750, 262, 14536, 4654, 30, 46506, 20625, 7, 46416, 8, 16034, 3084, 62, 24991, 2718, 1959, 62, 16, 33411, 21814, 796, 366, 43, 507, 1 ]
What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?
SELECT COUNT("Frequency") FROM table_35 WHERE "Market/Rank" = 'Burlington - Plattsburgh , Vermont - New York /143'
[ 2061, 318, 262, 31902, 379, 262, 5991, 14, 27520, 286, 37090, 532, 1345, 30353, 9228, 837, 16033, 532, 968, 1971, 1220, 21139, 30, 46506, 327, 28270, 7203, 37, 28707, 4943, 16034, 3084, 62, 2327, 33411, 366, 27470, 14, 27520, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 31902, 379, 262, 5991, 14, 27520, 286, 37090, 532, 1345, 30353, 9228, 837, 16033, 532, 968, 1971, 1220, 21139, 30, 46506, 327, 28270, 7203, 37, 28707, 4943, 16034, 3084, 62, 2327, 33411, 366, 27470, 14, 27520, 1, 796, ...
Show the names and total passengers for all train stations not in London with a bar chart.
SELECT Name, Total_Passengers FROM station WHERE Location <> 'London'
[ 15307, 262, 3891, 290, 2472, 10405, 329, 477, 4512, 8985, 407, 287, 3576, 351, 257, 2318, 8262, 13, 46506, 6530, 11, 7472, 62, 14478, 9302, 16034, 4429, 33411, 13397, 1279, 29, 705, 23421, 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 ]
[ 15307, 262, 3891, 290, 2472, 10405, 329, 477, 4512, 8985, 407, 287, 3576, 351, 257, 2318, 8262, 13, 46506, 6530, 11, 7472, 62, 14478, 9302, 16034, 4429, 33411, 13397, 1279, 29, 705, 23421, 6 ]
How many ranks have $1,084,439,099 as the worldwide gross?
SELECT SUM("Rank") FROM table_45666 WHERE "Worldwide Gross" = '$1,084,439,099'
[ 2437, 867, 9803, 423, 720, 16, 11, 2919, 19, 11, 47106, 11, 15, 2079, 355, 262, 8688, 10319, 30, 46506, 35683, 7203, 27520, 4943, 16034, 3084, 62, 2231, 27310, 33411, 366, 10603, 4421, 21796, 1, 796, 705, 3, 16, 11, 2919, 19, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9803, 423, 720, 16, 11, 2919, 19, 11, 47106, 11, 15, 2079, 355, 262, 8688, 10319, 30, 46506, 35683, 7203, 27520, 4943, 16034, 3084, 62, 2231, 27310, 33411, 366, 10603, 4421, 21796, 1, 796, 705, 3, 16, 11, 2919, 19, 11, ...
Find all the papers published by the institution 'Google'.
SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Google"
[ 16742, 477, 262, 9473, 3199, 416, 262, 9901, 705, 11708, 4458, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 7839, 16034, 9473, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 20189, 312, 796, 256, 17, 13, 201...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 9473, 3199, 416, 262, 9901, 705, 11708, 4458, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 7839, 16034, 9473, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 20189, 312, 796, 256, 17, 13, 201...
Draw a pie chart for how many actors have appeared in each musical?
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID
[ 25302, 257, 2508, 8262, 329, 703, 867, 10544, 423, 4120, 287, 1123, 10530, 30, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8674, 7054, 309, 16, 32357, 1268, 10530, 7054, 309, 17, 6177, 309, 16, 13, 10694, 605, 62, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2508, 8262, 329, 703, 867, 10544, 423, 4120, 287, 1123, 10530, 30, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8674, 7054, 309, 16, 32357, 1268, 10530, 7054, 309, 17, 6177, 309, 16, 13, 10694, 605, 62, 238...
i'd like to fly from BOSTON to BALTIMORE
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 = 'BALTIMO...
[ 72, 1549, 588, 284, 6129, 422, 347, 10892, 1340, 284, 347, 31429, 3955, 1581, 33635, 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, 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...
[ 72, 1549, 588, 284, 6129, 422, 347, 10892, 1340, 284, 347, 31429, 3955, 1581, 33635, 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, 70...
Who was the oppenent what the score was L 68-60?
SELECT "Opponent" FROM table_21327 WHERE "Score" = 'L 68-60'
[ 8241, 373, 262, 1269, 268, 298, 644, 262, 4776, 373, 406, 8257, 12, 1899, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 26427, 1983, 33411, 366, 26595, 1, 796, 705, 43, 8257, 12, 1899, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1269, 268, 298, 644, 262, 4776, 373, 406, 8257, 12, 1899, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 26427, 1983, 33411, 366, 26595, 1, 796, 705, 43, 8257, 12, 1899, 6 ]
What state has Richard Foster as a member?
SELECT state FROM table_name_49 WHERE member = "richard foster"
[ 2061, 1181, 468, 6219, 18489, 355, 257, 2888, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2920, 33411, 2888, 796, 366, 7527, 446, 17016, 1 ]
[ 1, 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, 1181, 468, 6219, 18489, 355, 257, 2888, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2920, 33411, 2888, 796, 366, 7527, 446, 17016, 1 ]
What yacht type is involved where Bob Oatley is the skipper?
SELECT "Yacht type" FROM table_27808 WHERE "Skipper" = 'Bob Oatley'
[ 2061, 43207, 2099, 318, 2950, 810, 5811, 440, 265, 1636, 318, 262, 1341, 14710, 30, 46506, 366, 56, 19725, 2099, 1, 16034, 3084, 62, 1983, 28362, 33411, 366, 50, 4106, 2848, 1, 796, 705, 18861, 440, 265, 1636, 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, 43207, 2099, 318, 2950, 810, 5811, 440, 265, 1636, 318, 262, 1341, 14710, 30, 46506, 366, 56, 19725, 2099, 1, 16034, 3084, 62, 1983, 28362, 33411, 366, 50, 4106, 2848, 1, 796, 705, 18861, 440, 265, 1636, 6 ]
Draw a bar chart for what are the ids and details of events that have more than one participants?
SELECT T1.Event_Details, T1.Event_ID FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_Details
[ 25302, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3307, 286, 2995, 326, 423, 517, 621, 530, 6809, 30, 46506, 309, 16, 13, 9237, 62, 24259, 11, 309, 16, 13, 9237, 62, 2389, 16034, 18715, 7054, 309, 16, 32357, 1268, 26122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 644, 389, 262, 220, 2340, 290, 3307, 286, 2995, 326, 423, 517, 621, 530, 6809, 30, 46506, 309, 16, 13, 9237, 62, 24259, 11, 309, 16, 13, 9237, 62, 2389, 16034, 18715, 7054, 309, 16, 32357, 1268, 26122, ...
What is the total number of runs for the player with fewer than 9 Inns?
SELECT COUNT(runs) FROM table_name_82 WHERE inns < 9
[ 2061, 318, 262, 2472, 1271, 286, 4539, 329, 262, 2137, 351, 7380, 621, 860, 554, 5907, 30, 46506, 327, 28270, 7, 48381, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 3527, 82, 1279, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 4539, 329, 262, 2137, 351, 7380, 621, 860, 554, 5907, 30, 46506, 327, 28270, 7, 48381, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 3527, 82, 1279, 860 ]
How many gold medals for the school with 2 total medals and under 0 bronzes?
SELECT COUNT(gold_medals) FROM table_name_27 WHERE total_medals = 2 AND bronze_medals < 0
[ 2437, 867, 3869, 28057, 329, 262, 1524, 351, 362, 2472, 28057, 290, 739, 657, 18443, 12271, 30, 46506, 327, 28270, 7, 24267, 62, 1150, 874, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 2472, 62, 1150, 874, 796, 362, 5357, 22101, 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 ]
[ 2437, 867, 3869, 28057, 329, 262, 1524, 351, 362, 2472, 28057, 290, 739, 657, 18443, 12271, 30, 46506, 327, 28270, 7, 24267, 62, 1150, 874, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 2472, 62, 1150, 874, 796, 362, 5357, 22101, 62, 1...
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of email and manager_id , and list x-axis in ascending order please.
SELECT EMAIL, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 3053, 290, 4706, 62, 312, 837, 290, 1351, 2124, 12, 22704, 287, 41988, 1502, 3387, 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...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 3053, 290, 4706, 62, 312, 837, 290, 1351, 2124, 12, 22704, 287, 41988, 1502, 3387, 13...
Which venue has h.paul 8/9 goals?
SELECT "Venue" FROM table_55550 WHERE "Goals" = 'h.paul 8/9'
[ 13828, 14359, 468, 289, 13, 79, 2518, 807, 14, 24, 4661, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2816, 22730, 33411, 366, 5247, 874, 1, 796, 705, 71, 13, 79, 2518, 807, 14, 24, 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 ]
[ 13828, 14359, 468, 289, 13, 79, 2518, 807, 14, 24, 4661, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2816, 22730, 33411, 366, 5247, 874, 1, 796, 705, 71, 13, 79, 2518, 807, 14, 24, 6 ]
Which coach works with Robert Harvey?
SELECT coach FROM table_name_1 WHERE captain = "robert harvey"
[ 13828, 3985, 2499, 351, 5199, 14943, 30, 46506, 3985, 16034, 3084, 62, 3672, 62, 16, 33411, 10654, 796, 366, 305, 4835, 3971, 3304, 1 ]
[ 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, 3985, 2499, 351, 5199, 14943, 30, 46506, 3985, 16034, 3084, 62, 3672, 62, 16, 33411, 10654, 796, 366, 305, 4835, 3971, 3304, 1 ]
now show me the flights from PITTSBURGH to BALTIMORE
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 = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BAL...
[ 2197, 905, 502, 262, 13956, 422, 49040, 4694, 38926, 17511, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2197, 905, 502, 262, 13956, 422, 49040, 4694, 38926, 17511, 284, 347, 31429, 3955, 1581, 33635, 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, ...
How many attended the game at Busch Stadium (ii) when the time was 3:54?
SELECT "Attendance" FROM table_52456 WHERE "Location" = 'busch stadium (ii)' AND "Time" = '3:54'
[ 2437, 867, 9141, 262, 983, 379, 5869, 354, 10499, 357, 4178, 8, 618, 262, 640, 373, 513, 25, 4051, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 48057, 3980, 33411, 366, 14749, 1, 796, 705, 10885, 354, 10308, 357, 4178, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9141, 262, 983, 379, 5869, 354, 10499, 357, 4178, 8, 618, 262, 640, 373, 513, 25, 4051, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 48057, 3980, 33411, 366, 14749, 1, 796, 705, 10885, 354, 10308, 357, 4178, 33047,...
How many students in each department? Give me a bar chart.
SELECT dept_name, COUNT(dept_name) FROM student GROUP BY dept_name ORDER BY tot_cred
[ 2437, 867, 2444, 287, 1123, 5011, 30, 13786, 502, 257, 2318, 8262, 13, 46506, 390, 457, 62, 3672, 11, 327, 28270, 7, 2934, 457, 62, 3672, 8, 16034, 3710, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 2006, 62, 66, 445 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2444, 287, 1123, 5011, 30, 13786, 502, 257, 2318, 8262, 13, 46506, 390, 457, 62, 3672, 11, 327, 28270, 7, 2934, 457, 62, 3672, 8, 16034, 3710, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 2006, 62, 66, 445 ]
What is the highest crude death rate when deaths are 3 433 and average population is greater than 298?
SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = "3 433" AND average_population__x_1000_ > 298
[ 2061, 318, 262, 4511, 14897, 1918, 2494, 618, 7040, 389, 513, 47407, 290, 2811, 3265, 318, 3744, 621, 37576, 30, 46506, 25882, 7, 6098, 2507, 62, 22595, 62, 4873, 834, 525, 62, 12825, 62, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 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 ]
[ 2061, 318, 262, 4511, 14897, 1918, 2494, 618, 7040, 389, 513, 47407, 290, 2811, 3265, 318, 3744, 621, 37576, 30, 46506, 25882, 7, 6098, 2507, 62, 22595, 62, 4873, 834, 525, 62, 12825, 62, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 7...
Name the number of year for 6 3, 6 2 hard surface
SELECT COUNT("Year") FROM table_73489 WHERE "Score in the final" = '6–3, 6–2' AND "Surface" = 'Hard'
[ 5376, 262, 1271, 286, 614, 329, 718, 513, 11, 718, 362, 1327, 4417, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 22, 2682, 4531, 33411, 366, 26595, 287, 262, 2457, 1, 796, 705, 21, 1906, 18, 11, 718, 1906, 17, 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 ]
[ 5376, 262, 1271, 286, 614, 329, 718, 513, 11, 718, 362, 1327, 4417, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 22, 2682, 4531, 33411, 366, 26595, 287, 262, 2457, 1, 796, 705, 21, 1906, 18, 11, 718, 1906, 17, 6, 5357, 3...
has tpn d17.5 been administered to patient 29666 in 04/this year?
SELECT COUNT(*) > 0 FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 29666)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'tpn d17....
[ 10134, 256, 21999, 288, 1558, 13, 20, 587, 17169, 284, 5827, 2808, 27310, 287, 8702, 14, 5661, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 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...
[ 10134, 256, 21999, 288, 1558, 13, 20, 587, 17169, 284, 5827, 2808, 27310, 287, 8702, 14, 5661, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, ...
what is the minimum amount of total hospital cost including intra-abdominal abscess - postoperative until 2102?
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'intra-abdominal abscess - postoperative')) A...
[ 10919, 318, 262, 5288, 2033, 286, 2472, 4436, 1575, 1390, 23422, 12, 397, 3438, 1292, 2352, 919, 532, 1281, 27173, 1566, 362, 15377, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 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...
[ 10919, 318, 262, 5288, 2033, 286, 2472, 4436, 1575, 1390, 23422, 12, 397, 3438, 1292, 2352, 919, 532, 1281, 27173, 1566, 362, 15377, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054,...
Get most upvoted tags for user.
SELECT TagName, COUNT(*) AS UpVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Votes ON Votes.PostId = Posts.Id AND VoteTypeId = 2 WHERE Posts.OwnerDisplayName = '##UserId##' GROUP BY TagName ORDER BY UpVotes DESC
[ 3855, 749, 510, 85, 5191, 15940, 329, 2836, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 3205, 53, 6421, 16034, 44789, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 3268, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3855, 749, 510, 85, 5191, 15940, 329, 2836, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 3205, 53, 6421, 16034, 44789, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 3268, 214...
What is the competition type when the score is 1-1?
SELECT competition FROM table_name_44 WHERE score = "1-1"
[ 2061, 318, 262, 5449, 2099, 618, 262, 4776, 318, 352, 12, 16, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2598, 33411, 4776, 796, 366, 16, 12, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5449, 2099, 618, 262, 4776, 318, 352, 12, 16, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2598, 33411, 4776, 796, 366, 16, 12, 16, 1 ]
Plot a scatter chart, team id by all_games_percent.
SELECT Team_ID, All_Games_Percent FROM basketball_match
[ 43328, 257, 41058, 8262, 11, 1074, 4686, 416, 477, 62, 19966, 62, 25067, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43328, 257, 41058, 8262, 11, 1074, 4686, 416, 477, 62, 19966, 62, 25067, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699 ]
What is the Digital PSIP for channels over 15 with callsign CFTU-DT?
SELECT "Digital PSIP" FROM table_63929 WHERE "Broadcast channel" > '15' AND "Call sign" = 'cftu-dt'
[ 2061, 318, 262, 10231, 6599, 4061, 329, 9619, 625, 1315, 351, 3848, 570, 327, 9792, 52, 12, 24544, 30, 46506, 366, 27640, 6599, 4061, 1, 16034, 3084, 62, 21, 2670, 1959, 33411, 366, 30507, 2701, 6518, 1, 1875, 705, 1314, 6, 5357, 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 ]
[ 2061, 318, 262, 10231, 6599, 4061, 329, 9619, 625, 1315, 351, 3848, 570, 327, 9792, 52, 12, 24544, 30, 46506, 366, 27640, 6599, 4061, 1, 16034, 3084, 62, 21, 2670, 1959, 33411, 366, 30507, 2701, 6518, 1, 1875, 705, 1314, 6, 5357, 36...
What rank does Rodney Marsh have?
SELECT MAX("Rank") FROM table_24143 WHERE "Player" = 'Rodney Marsh'
[ 2061, 4279, 857, 34895, 9786, 423, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1731, 21139, 33411, 366, 14140, 1, 796, 705, 27917, 1681, 9786, 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, 4279, 857, 34895, 9786, 423, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1731, 21139, 33411, 366, 14140, 1, 796, 705, 27917, 1681, 9786, 6 ]
Posts deleted on a particular Date. To search for Posts deleted on some particular Date, enter the DeletionDate in YYYY/MM/DD format
SELECT U.Id AS "user_link", P.Id AS "post_link", P.CreationDate, P.Score, P.ViewCount, P.CommentCount FROM Users AS u INNER JOIN Posts AS p ON u.Id = p.OwnerUserId WHERE MONTH(u.LastAccessDate) = MONTH(p.CreationDate) AND YEAR(u.LastAccessDate) = YEAR(p.CreationDate) AND p.PostTypeId = 1 AND p.AnswerCount = 0 AND p.Clo...
[ 21496, 13140, 319, 257, 1948, 7536, 13, 1675, 2989, 329, 12043, 13140, 319, 617, 1948, 7536, 11, 3802, 262, 1024, 1616, 295, 10430, 287, 575, 26314, 56, 14, 12038, 14, 16458, 5794, 46506, 471, 13, 7390, 7054, 366, 7220, 62, 8726, 1600...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21496, 13140, 319, 257, 1948, 7536, 13, 1675, 2989, 329, 12043, 13140, 319, 617, 1948, 7536, 11, 3802, 262, 1024, 1616, 295, 10430, 287, 575, 26314, 56, 14, 12038, 14, 16458, 5794, 46506, 471, 13, 7390, 7054, 366, 7220, 62, 8726, 1600...
What is the rank for more than 120.44 points in East Germany and a SP+FS of 3?
SELECT COUNT(rank) FROM table_name_21 WHERE points > 120.44 AND nation = "east germany" AND sp + fs = 3
[ 2061, 318, 262, 4279, 329, 517, 621, 7982, 13, 2598, 2173, 287, 3687, 4486, 290, 257, 6226, 10, 10652, 286, 513, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 2173, 1875, 7982, 13, 2598, 5357, 3277, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4279, 329, 517, 621, 7982, 13, 2598, 2173, 287, 3687, 4486, 290, 257, 6226, 10, 10652, 286, 513, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 2173, 1875, 7982, 13, 2598, 5357, 3277, 796...
what is the three most frequently ordered lab test until 2 years ago for patients in the age of 60 or above?
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 3
[ 10919, 318, 262, 1115, 749, 6777, 6149, 2248, 1332, 1566, 362, 812, 2084, 329, 3871, 287, 262, 2479, 286, 3126, 393, 2029, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 749, 6777, 6149, 2248, 1332, 1566, 362, 812, 2084, 329, 3871, 287, 262, 2479, 286, 3126, 393, 2029, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, ...
What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph?
SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "26' 04.60 86.814mph"
[ 2061, 318, 262, 1988, 329, 3321, 2932, 1987, 611, 3217, 2932, 2579, 318, 2608, 6, 8702, 13, 1899, 9849, 13, 23, 1415, 23335, 30, 46506, 937, 62, 1731, 62, 7493, 16034, 3084, 62, 24409, 38431, 2414, 62, 20, 33411, 32803, 62, 2078, 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 ]
[ 2061, 318, 262, 1988, 329, 3321, 2932, 1987, 611, 3217, 2932, 2579, 318, 2608, 6, 8702, 13, 1899, 9849, 13, 23, 1415, 23335, 30, 46506, 937, 62, 1731, 62, 7493, 16034, 3084, 62, 24409, 38431, 2414, 62, 20, 33411, 32803, 62, 2078, 62...
Name the period active for enya
SELECT "Period active" FROM table_71091 WHERE "Artist" = 'enya'
[ 5376, 262, 2278, 4075, 329, 551, 3972, 46506, 366, 5990, 2101, 4075, 1, 16034, 3084, 62, 43147, 6420, 33411, 366, 43020, 1, 796, 705, 268, 3972, 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 ]
[ 5376, 262, 2278, 4075, 329, 551, 3972, 46506, 366, 5990, 2101, 4075, 1, 16034, 3084, 62, 43147, 6420, 33411, 366, 43020, 1, 796, 705, 268, 3972, 6 ]
What are the names of the channels owned by CCTV or HBS?
SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS'
[ 2061, 389, 262, 3891, 286, 262, 9619, 6898, 416, 36983, 393, 367, 4462, 30, 46506, 1438, 16034, 6518, 33411, 47210, 21479, 796, 705, 4093, 6849, 6, 6375, 47210, 21479, 796, 705, 39, 4462, 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, 389, 262, 3891, 286, 262, 9619, 6898, 416, 36983, 393, 367, 4462, 30, 46506, 1438, 16034, 6518, 33411, 47210, 21479, 796, 705, 4093, 6849, 6, 6375, 47210, 21479, 796, 705, 39, 4462, 6 ]
What was the name of the player that had a vote percentage of 7.85%?
SELECT player FROM table_24765815_1 WHERE vote_percentage = "7.85%"
[ 2061, 373, 262, 1438, 286, 262, 2137, 326, 550, 257, 3015, 5873, 286, 767, 13, 5332, 4, 30, 46506, 2137, 16034, 3084, 62, 23753, 38431, 1314, 62, 16, 33411, 3015, 62, 25067, 496, 796, 366, 22, 13, 5332, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 326, 550, 257, 3015, 5873, 286, 767, 13, 5332, 4, 30, 46506, 2137, 16034, 3084, 62, 23753, 38431, 1314, 62, 16, 33411, 3015, 62, 25067, 496, 796, 366, 22, 13, 5332, 39658 ]
In which movie is Selva Nambi a co-singer?
SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi"
[ 818, 543, 3807, 318, 15300, 6862, 399, 4131, 72, 257, 763, 12, 82, 3889, 30, 46506, 3807, 16034, 3084, 62, 3672, 62, 1238, 33411, 763, 62, 12215, 364, 796, 366, 741, 6862, 299, 4131, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 543, 3807, 318, 15300, 6862, 399, 4131, 72, 257, 763, 12, 82, 3889, 30, 46506, 3807, 16034, 3084, 62, 3672, 62, 1238, 33411, 763, 62, 12215, 364, 796, 366, 741, 6862, 299, 4131, 72, 1 ]
what is the intake method of the ecotrin ec?
SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'ecotrin ec'
[ 10919, 318, 262, 10337, 2446, 286, 262, 9940, 313, 12769, 9940, 30, 46506, 360, 8808, 1268, 4177, 14103, 13, 81, 448, 1329, 1084, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 721, 313, 12769, 9940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 10337, 2446, 286, 262, 9940, 313, 12769, 9940, 30, 46506, 360, 8808, 1268, 4177, 14103, 13, 81, 448, 1329, 1084, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 721, 313, 12769, 9940, 6 ]
In what Round was the draft pick from Florida with an Overall less than 166?
SELECT AVG("Round") FROM table_5476 WHERE "College" = 'florida' AND "Overall" < '166'
[ 818, 644, 10485, 373, 262, 4538, 2298, 422, 4744, 351, 281, 14674, 1342, 621, 26753, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 20, 35435, 33411, 366, 38951, 1, 796, 705, 2704, 273, 3755, 6, 5357, 366, 16350, 1, 1279, 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 ]
[ 818, 644, 10485, 373, 262, 4538, 2298, 422, 4744, 351, 281, 14674, 1342, 621, 26753, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 20, 35435, 33411, 366, 38951, 1, 796, 705, 2704, 273, 3755, 6, 5357, 366, 16350, 1, 1279, 705, ...
Name the college for calgary stampeders
SELECT "College" FROM table_20904 WHERE "CFL Team" = 'Calgary Stampeders'
[ 5376, 262, 4152, 329, 2386, 14849, 28305, 364, 46506, 366, 38951, 1, 16034, 3084, 62, 22567, 3023, 33411, 366, 34, 3697, 4816, 1, 796, 705, 9771, 14849, 520, 13322, 364, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4152, 329, 2386, 14849, 28305, 364, 46506, 366, 38951, 1, 16034, 3084, 62, 22567, 3023, 33411, 366, 34, 3697, 4816, 1, 796, 705, 9771, 14849, 520, 13322, 364, 6 ]
How did the manager replaced by Michael Oenning depart?
SELECT "Manner of departure" FROM table_48703 WHERE "Replaced by" = 'michael oenning'
[ 2437, 750, 262, 4706, 6928, 416, 3899, 440, 268, 768, 6313, 30, 46506, 366, 5124, 1008, 286, 12928, 1, 16034, 3084, 62, 2780, 36809, 33411, 366, 3041, 21820, 416, 1, 796, 705, 76, 40302, 267, 268, 768, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 750, 262, 4706, 6928, 416, 3899, 440, 268, 768, 6313, 30, 46506, 366, 5124, 1008, 286, 12928, 1, 16034, 3084, 62, 2780, 36809, 33411, 366, 3041, 21820, 416, 1, 796, 705, 76, 40302, 267, 268, 768, 6 ]