instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
sequence
attention_mask
sequence
labels
sequence
what is minimum age of patients whose admission location is clinic referral/premature and primary disease is chest pain?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "CHEST PAIN"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 4165, 4369, 318, 7721, 2356, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5097, 1268, 2149, 4526, 24302, 35296, 14, 47, 40726, 40086, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 3398, 6465, 8147, 1268, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 4165, 4369, 318, 7721, 2356, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5097, 1268, 2149, 4526, 24302, 35296, 14, 47, 40726, 40086, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 3398, 6465, 8147, 1268, 1 ]
how many player with nhl team being vancouver canucks
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"
[ 4919, 867, 2137, 351, 299, 18519, 1074, 852, 410, 10264, 460, 6238, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 20198, 2623, 4761, 62, 24, 33411, 299, 18519, 62, 15097, 796, 366, 53, 10264, 31252, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 351, 299, 18519, 1074, 852, 410, 10264, 460, 6238, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 20198, 2623, 4761, 62, 24, 33411, 299, 18519, 62, 15097, 796, 366, 53, 10264, 31252, 1 ]
What is the sum of all from the Cultural and Educational Panel with less than 7 from the Labour Panel and less than 1 from the Agricultural Panel?
SELECT SUM(cultural_and_educational_panel) FROM table_name_23 WHERE labour_panel < 7 AND agricultural_panel < 1
[ 2061, 318, 262, 2160, 286, 477, 422, 262, 23897, 290, 30038, 18810, 351, 1342, 621, 767, 422, 262, 7179, 18810, 290, 1342, 621, 352, 422, 262, 36694, 18810, 30, 46506, 35683, 7, 30844, 62, 392, 62, 18123, 864, 62, 35330, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 10515, 62, 35330, 1279, 767, 5357, 14240, 62, 35330, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 477, 422, 262, 23897, 290, 30038, 18810, 351, 1342, 621, 767, 422, 262, 7179, 18810, 290, 1342, 621, 352, 422, 262, 36694, 18810, 30, 46506, 35683, 7, 30844, 62, 392, 62, 18123, 864, 62, 35330, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 10515, 62, 35330, 1279, 767, 5357, 14240, 62, 35330, 1279, 352 ]
tell me the number of patients whose lab test name is carboxyhemoglobin and duration of hospital stay is more than 7 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "7" AND lab.label = "Carboxyhemoglobin"
[ 33331, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 1097, 3524, 88, 4411, 49835, 290, 9478, 286, 4436, 2652, 318, 517, 621, 767, 1528, 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, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 12545, 62, 31712, 1875, 366, 22, 1, 5357, 2248, 13, 18242, 796, 366, 9914, 3524, 88, 4411, 49835, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 1097, 3524, 88, 4411, 49835, 290, 9478, 286, 4436, 2652, 318, 517, 621, 767, 1528, 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, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 12545, 62, 31712, 1875, 366, 22, 1, 5357, 2248, 13, 18242, 796, 366, 9914, 3524, 88, 4411, 49835, 1 ]
What are the dates of the orders made by the customer named 'Jeramie', and count them by a bar chart
SELECT date_order_placed, COUNT(date_order_placed) FROM Customers AS T1 JOIN Orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie"
[ 2061, 389, 262, 9667, 286, 262, 6266, 925, 416, 262, 6491, 3706, 705, 36134, 321, 494, 3256, 290, 954, 606, 416, 257, 2318, 8262, 46506, 3128, 62, 2875, 62, 21820, 11, 327, 28270, 7, 4475, 62, 2875, 62, 21820, 8, 16034, 36707, 7054, 309, 16, 32357, 1268, 30689, 7054, 309, 17, 6177, 309, 16, 13, 23144, 263, 62, 312, 796, 309, 17, 13, 23144, 263, 62, 312, 33411, 309, 16, 13, 23144, 263, 62, 3672, 796, 366, 36134, 321, 494, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 286, 262, 6266, 925, 416, 262, 6491, 3706, 705, 36134, 321, 494, 3256, 290, 954, 606, 416, 257, 2318, 8262, 46506, 3128, 62, 2875, 62, 21820, 11, 327, 28270, 7, 4475, 62, 2875, 62, 21820, 8, 16034, 36707, 7054, 309, 16, 32357, 1268, 30689, 7054, 309, 17, 6177, 309, 16, 13, 23144, 263, 62, 312, 796, 309, 17, 13, 23144, 263, 62, 312, 33411, 309, 16, 13, 23144, 263, 62, 3672, 796, 366, 36134, 321, 494, 1 ]
hw many patients stayed in hospital for more than 15 days and were diagnosed with erthematous cond nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "15" AND diagnoses.short_title = "Erythematous cond NOS"
[ 36599, 867, 3871, 9658, 287, 4436, 329, 517, 621, 1315, 1528, 290, 547, 14641, 351, 220, 861, 10024, 516, 1779, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 12545, 62, 31712, 1875, 366, 1314, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 36, 563, 1169, 6759, 516, 1779, 399, 2640, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36599, 867, 3871, 9658, 287, 4436, 329, 517, 621, 1315, 1528, 290, 547, 14641, 351, 220, 861, 10024, 516, 1779, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 12545, 62, 31712, 1875, 366, 1314, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 36, 563, 1169, 6759, 516, 1779, 399, 2640, 1 ]
What was the decision of the game when the Lightning had a record of 6 8 1?
SELECT "Decision" FROM table_53118 WHERE "Record" = '6–8–1'
[ 2061, 373, 262, 2551, 286, 262, 983, 618, 262, 12469, 550, 257, 1700, 286, 718, 807, 352, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 4310, 16817, 33411, 366, 23739, 1, 796, 705, 21, 1906, 23, 1906, 16, 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, 373, 262, 2551, 286, 262, 983, 618, 262, 12469, 550, 257, 1700, 286, 718, 807, 352, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 4310, 16817, 33411, 366, 23739, 1, 796, 705, 21, 1906, 23, 1906, 16, 6 ]
When was Inki and the Minah Bird released?
SELECT release_date FROM table_name_71 WHERE title = "inki and the minah bird"
[ 2215, 373, 554, 4106, 290, 262, 1855, 993, 14506, 2716, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 4869, 33411, 3670, 796, 366, 38799, 290, 262, 949, 993, 6512, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 554, 4106, 290, 262, 1855, 993, 14506, 2716, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 4869, 33411, 3670, 796, 366, 38799, 290, 262, 949, 993, 6512, 1 ]
please list the morning flights from KANSAS CITY to ATLANTA
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 = 'KANSAS CITY' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.departure_time BETWEEN 0 AND 1200
[ 29688, 1351, 262, 3329, 13956, 422, 509, 15037, 1921, 27993, 284, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 42, 15037, 1921, 27993, 6, 5357 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 29688, 1351, 262, 3329, 13956, 422, 509, 15037, 1921, 27993, 284, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 42, 15037, 1921, 27993, 6, 5357 ]
Which Sydney has a Gold Coast of yes, an Adelaide of no, and an Auckland of yes?
SELECT "Sydney" FROM table_15346 WHERE "Gold Coast" = 'yes' AND "Adelaide" = 'no' AND "Auckland" = 'yes'
[ 13828, 11852, 468, 257, 3561, 8545, 286, 3763, 11, 281, 27139, 286, 645, 11, 290, 281, 30422, 286, 3763, 30, 46506, 366, 50, 5173, 1681, 1, 16034, 3084, 62, 1314, 30557, 33411, 366, 13306, 8545, 1, 796, 705, 8505, 6, 5357, 366, 2782, 25078, 1, 796, 705, 3919, 6, 5357, 366, 32, 28789, 1, 796, 705, 8505, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 11852, 468, 257, 3561, 8545, 286, 3763, 11, 281, 27139, 286, 645, 11, 290, 281, 30422, 286, 3763, 30, 46506, 366, 50, 5173, 1681, 1, 16034, 3084, 62, 1314, 30557, 33411, 366, 13306, 8545, 1, 796, 705, 8505, 6, 5357, 366, 2782, 25078, 1, 796, 705, 3919, 6, 5357, 366, 32, 28789, 1, 796, 705, 8505, 6 ]
What are the names of all the customers?
SELECT customer_name FROM customers
[ 2061, 389, 262, 3891, 286, 477, 262, 4297, 30, 46506, 6491, 62, 3672, 16034, 4297 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 477, 262, 4297, 30, 46506, 6491, 62, 3672, 16034, 4297 ]
What is the document type name and the document type description and creation date for all the documents?
SELECT T1.document_type_name, T1.document_type_description, T2.Document_date FROM Ref_document_types AS T1 JOIN Documents AS T2 ON T1.document_type_code = T2.document_type_code
[ 2061, 318, 262, 3188, 2099, 1438, 290, 262, 3188, 2099, 6764, 290, 6282, 3128, 329, 477, 262, 4963, 30, 46506, 309, 16, 13, 22897, 62, 4906, 62, 3672, 11, 309, 16, 13, 22897, 62, 4906, 62, 11213, 11, 309, 17, 13, 24941, 62, 4475, 16034, 6524, 62, 22897, 62, 19199, 7054, 309, 16, 32357, 1268, 33267, 7054, 309, 17, 6177, 309, 16, 13, 22897, 62, 4906, 62, 8189, 796, 309, 17, 13, 22897, 62, 4906, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 290, 262, 3188, 2099, 6764, 290, 6282, 3128, 329, 477, 262, 4963, 30, 46506, 309, 16, 13, 22897, 62, 4906, 62, 3672, 11, 309, 16, 13, 22897, 62, 4906, 62, 11213, 11, 309, 17, 13, 24941, 62, 4475, 16034, 6524, 62, 22897, 62, 19199, 7054, 309, 16, 32357, 1268, 33267, 7054, 309, 17, 6177, 309, 16, 13, 22897, 62, 4906, 62, 8189, 796, 309, 17, 13, 22897, 62, 4906, 62, 8189 ]
What are the ids and names for each of the documents?
SELECT document_id, document_name FROM documents
[ 2061, 389, 262, 220, 2340, 290, 3891, 329, 1123, 286, 262, 4963, 30, 46506, 3188, 62, 312, 11, 3188, 62, 3672, 16034, 4963 ]
[ 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, 220, 2340, 290, 3891, 329, 1123, 286, 262, 4963, 30, 46506, 3188, 62, 312, 11, 3188, 62, 3672, 16034, 4963 ]
What's the NHL team that drafted the player from Sudbury Wolves (OHA)?
SELECT nhl_team FROM table_1965650_4 WHERE college_junior_club_team = "Sudbury Wolves (OHA)"
[ 2061, 338, 262, 9481, 1074, 326, 15937, 262, 2137, 422, 14818, 10711, 25953, 357, 46, 7801, 19427, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 45271, 17544, 62, 19, 33411, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 796, 366, 50, 463, 10711, 25953, 357, 46, 7801, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 9481, 1074, 326, 15937, 262, 2137, 422, 14818, 10711, 25953, 357, 46, 7801, 19427, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 45271, 17544, 62, 19, 33411, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 796, 366, 50, 463, 10711, 25953, 357, 46, 7801, 16725 ]
flights from WESTCHESTER COUNTY to ST. PAUL
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 = 'WESTCHESTER COUNTY' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ST. PAUL' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
[ 2704, 2337, 422, 370, 6465, 3398, 1546, 5781, 41012, 284, 3563, 13, 8147, 6239, 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, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 54, 6465, 3398, 1546, 5781, 41012, 6, 5357 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2704, 2337, 422, 370, 6465, 3398, 1546, 5781, 41012, 284, 3563, 13, 8147, 6239, 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, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 54, 6465, 3398, 1546, 5781, 41012, 6, 5357 ]
DBA - Total Posts by Database Server Per Month - DB2.
SELECT CONCAT(YEAR(P.CreationDate), '-', MONTH(P.CreationDate)) AS YearMonth, 'DB2' AS TagName, COUNT(*) AS PostCount FROM Posts AS P INNER JOIN PostTags AS PT ON (P.Id = PT.PostId) INNER JOIN Tags AS T ON (PT.TagId = T.Id) WHERE T.TagName LIKE 'db2%' GROUP BY YEAR(P.CreationDate), MONTH(P.CreationDate) ORDER BY YEAR(P.CreationDate) DESC, MONTH(P.CreationDate) DESC
[ 35, 4339, 532, 7472, 12043, 416, 24047, 9652, 2448, 16061, 532, 20137, 17, 13, 46506, 39962, 1404, 7, 56, 17133, 7, 47, 13, 12443, 341, 10430, 828, 705, 12, 3256, 25000, 4221, 7, 47, 13, 12443, 341, 10430, 4008, 7054, 6280, 31948, 11, 705, 11012, 17, 6, 7054, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 2947, 12332, 16034, 12043, 7054, 350, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 19310, 6177, 357, 47, 13, 7390, 796, 19310, 13, 6307, 7390, 8, 3268, 21479, 32357, 1268, 44789, 7054, 309, 6177, 357, 11571, 13, 24835, 7390, 796, 309, 13, 7390, 8, 33411 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35, 4339, 532, 7472, 12043, 416, 24047, 9652, 2448, 16061, 532, 20137, 17, 13, 46506, 39962, 1404, 7, 56, 17133, 7, 47, 13, 12443, 341, 10430, 828, 705, 12, 3256, 25000, 4221, 7, 47, 13, 12443, 341, 10430, 4008, 7054, 6280, 31948, 11, 705, 11012, 17, 6, 7054, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 2947, 12332, 16034, 12043, 7054, 350, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 19310, 6177, 357, 47, 13, 7390, 796, 19310, 13, 6307, 7390, 8, 3268, 21479, 32357, 1268, 44789, 7054, 309, 6177, 357, 11571, 13, 24835, 7390, 796, 309, 13, 7390, 8, 33411 ]
Bar graph to show sum card number from different card type code
SELECT card_type_code, SUM(card_number) FROM Customers_Cards GROUP BY card_type_code
[ 10374, 4823, 284, 905, 2160, 2657, 1271, 422, 1180, 2657, 2099, 2438, 46506, 2657, 62, 4906, 62, 8189, 11, 35683, 7, 9517, 62, 17618, 8, 16034, 36707, 62, 34, 1371, 44441, 11050, 2657, 62, 4906, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 2160, 2657, 1271, 422, 1180, 2657, 2099, 2438, 46506, 2657, 62, 4906, 62, 8189, 11, 35683, 7, 9517, 62, 17618, 8, 16034, 36707, 62, 34, 1371, 44441, 11050, 2657, 62, 4906, 62, 8189 ]
What is AAM Member, when AAM Accredited is No, when State is California, when ASTC Member is Yes, and when City is Sacramento?
SELECT aam_member FROM table_name_21 WHERE aam_accredited = "no" AND state = "california" AND astc_member = "yes" AND city = "sacramento"
[ 2061, 318, 317, 2390, 10239, 11, 618, 317, 2390, 6366, 19465, 318, 1400, 11, 618, 1812, 318, 3442, 11, 618, 29273, 34, 10239, 318, 3363, 11, 290, 618, 2254, 318, 19375, 30, 46506, 257, 321, 62, 19522, 16034, 3084, 62, 3672, 62, 2481, 33411, 257, 321, 62, 4134, 19465, 796, 366, 3919, 1, 5357, 1181, 796, 366, 9948, 361, 3317, 1, 5357, 6468, 66, 62, 19522, 796, 366, 8505, 1, 5357, 1748, 796, 366, 30584, 15141, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 317, 2390, 10239, 11, 618, 317, 2390, 6366, 19465, 318, 1400, 11, 618, 1812, 318, 3442, 11, 618, 29273, 34, 10239, 318, 3363, 11, 290, 618, 2254, 318, 19375, 30, 46506, 257, 321, 62, 19522, 16034, 3084, 62, 3672, 62, 2481, 33411, 257, 321, 62, 4134, 19465, 796, 366, 3919, 1, 5357, 1181, 796, 366, 9948, 361, 3317, 1, 5357, 6468, 66, 62, 19522, 796, 366, 8505, 1, 5357, 1748, 796, 366, 30584, 15141, 78, 1 ]
What is the lowest overall amount of shutouts?
SELECT MIN("Shutouts") FROM table_74416
[ 2061, 318, 262, 9016, 4045, 2033, 286, 4423, 5269, 30, 46506, 20625, 7203, 39079, 5269, 4943, 16034, 3084, 62, 22, 2598, 1433 ]
[ 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, 4045, 2033, 286, 4423, 5269, 30, 46506, 20625, 7203, 39079, 5269, 4943, 16034, 3084, 62, 22, 2598, 1433 ]
when was the last time that patient 7112 during this hospital visit received a hemoglobin lab test?
SELECT labevents.charttime FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'hemoglobin') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7112 AND admissions.dischtime IS NULL) ORDER BY labevents.charttime DESC LIMIT 1
[ 12518, 373, 262, 938, 640, 326, 5827, 9166, 1065, 1141, 428, 4436, 3187, 2722, 257, 16869, 49835, 2248, 1332, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 4411, 49835, 11537, 5357, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 9166, 1065, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 38678 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 262, 938, 640, 326, 5827, 9166, 1065, 1141, 428, 4436, 3187, 2722, 257, 16869, 49835, 2248, 1332, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 4411, 49835, 11537, 5357, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 9166, 1065, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 38678 ]
How many votes did Northern Ireland cast if the total was 35?
SELECT northern_ireland FROM table_10128185_2 WHERE total = 35
[ 2437, 867, 5690, 750, 8342, 7517, 3350, 611, 262, 2472, 373, 3439, 30, 46506, 7840, 62, 557, 1044, 16034, 3084, 62, 8784, 2078, 21652, 62, 17, 33411, 2472, 796, 3439 ]
[ 1, 1, 1, 1, 1, 1, 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, 5690, 750, 8342, 7517, 3350, 611, 262, 2472, 373, 3439, 30, 46506, 7840, 62, 557, 1044, 16034, 3084, 62, 8784, 2078, 21652, 62, 17, 33411, 2472, 796, 3439 ]
what is the distance from LAX airport to LOS ANGELES
SELECT DISTINCT airport_service.miles_distant FROM airport, airport_service, city WHERE airport.airport_code = 'LAX' AND airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'LOS ANGELES'
[ 10919, 318, 262, 5253, 422, 9131, 55, 9003, 284, 406, 2640, 44892, 1546, 46506, 360, 8808, 1268, 4177, 9003, 62, 15271, 13, 76, 2915, 62, 67, 10167, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 13534, 55, 6, 5357, 9003, 13, 958, 634, 62, 8189, 796, 9003, 62, 15271, 13, 958, 634, 62, 8189, 5357, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 45376, 44892, 1546, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5253, 422, 9131, 55, 9003, 284, 406, 2640, 44892, 1546, 46506, 360, 8808, 1268, 4177, 9003, 62, 15271, 13, 76, 2915, 62, 67, 10167, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 13534, 55, 6, 5357, 9003, 13, 958, 634, 62, 8189, 796, 9003, 62, 15271, 13, 958, 634, 62, 8189, 5357, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 45376, 44892, 1546, 6 ]
what is the name of the swara that comes after panchama ?
SELECT "swara" FROM table_203_352 WHERE id = (SELECT id FROM table_203_352 WHERE "swara" = 'panchama') + 1
[ 10919, 318, 262, 1438, 286, 262, 1509, 3301, 326, 2058, 706, 3425, 354, 1689, 5633, 46506, 366, 2032, 3301, 1, 16034, 3084, 62, 22416, 62, 33394, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 33394, 33411, 366, 2032, 3301, 1, 796, 705, 79, 3702, 1689, 11537, 1343, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1438, 286, 262, 1509, 3301, 326, 2058, 706, 3425, 354, 1689, 5633, 46506, 366, 2032, 3301, 1, 16034, 3084, 62, 22416, 62, 33394, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 33394, 33411, 366, 2032, 3301, 1, 796, 705, 79, 3702, 1689, 11537, 1343, 352 ]
How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129?
SELECT SUM(long) FROM table_name_58 WHERE loss > 2 AND gain = 157 AND avg_g < 129
[ 2437, 881, 5882, 468, 257, 22014, 4025, 621, 362, 11, 290, 257, 21686, 286, 23313, 11, 290, 281, 33455, 14, 38, 4833, 621, 20248, 30, 46506, 35683, 7, 6511, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 2994, 1875, 362, 5357, 4461, 796, 23313, 5357, 42781, 62, 70, 1279, 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 ]
[ 2437, 881, 5882, 468, 257, 22014, 4025, 621, 362, 11, 290, 257, 21686, 286, 23313, 11, 290, 281, 33455, 14, 38, 4833, 621, 20248, 30, 46506, 35683, 7, 6511, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 2994, 1875, 362, 5357, 4461, 796, 23313, 5357, 42781, 62, 70, 1279, 20248 ]
Player of corey pavin, and a To par larger than 5 has what average total?
SELECT AVG(total) FROM table_name_41 WHERE player = "corey pavin" AND to_par > 5
[ 14140, 286, 4755, 88, 279, 20637, 11, 290, 257, 1675, 1582, 4025, 621, 642, 468, 644, 2811, 2472, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 2137, 796, 366, 7295, 88, 279, 20637, 1, 5357, 284, 62, 1845, 1875, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14140, 286, 4755, 88, 279, 20637, 11, 290, 257, 1675, 1582, 4025, 621, 642, 468, 644, 2811, 2472, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 2137, 796, 366, 7295, 88, 279, 20637, 1, 5357, 284, 62, 1845, 1875, 642 ]
What was the date for Westport?
SELECT date FROM table_name_33 WHERE venue = "westport"
[ 2061, 373, 262, 3128, 329, 2688, 634, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2091, 33411, 14359, 796, 366, 7038, 634, 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, 2688, 634, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2091, 33411, 14359, 796, 366, 7038, 634, 1 ]
With a Grid less than 15, and a Time of +52.833, what is the highest number of Laps?
SELECT MAX("Laps") FROM table_48052 WHERE "Grid" < '15' AND "Time" = '+52.833'
[ 3152, 257, 24846, 1342, 621, 1315, 11, 290, 257, 3862, 286, 1343, 4309, 13, 48634, 11, 644, 318, 262, 4511, 1271, 286, 406, 1686, 30, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 22148, 4309, 33411, 366, 41339, 1, 1279, 705, 1314, 6, 5357, 366, 7575, 1, 796, 705, 10, 4309, 13, 48634, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 257, 24846, 1342, 621, 1315, 11, 290, 257, 3862, 286, 1343, 4309, 13, 48634, 11, 644, 318, 262, 4511, 1271, 286, 406, 1686, 30, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 22148, 4309, 33411, 366, 41339, 1, 1279, 705, 1314, 6, 5357, 366, 7575, 1, 796, 705, 10, 4309, 13, 48634, 6 ]
what is maximum age of patients whose marital status is widowed and admission type is emergency?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.admission_type = "EMERGENCY"
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 13938, 2099, 318, 6334, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, 2389, 3913, 1961, 1, 5357, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 13938, 2099, 318, 6334, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, 2389, 3913, 1961, 1, 5357, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1 ]
Show the number of students who are living in a dorm with a TV Lounge and group by first name in a bar chart.
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM Has_amenity AS T3 JOIN Dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge') GROUP BY Fname
[ 15307, 262, 1271, 286, 2444, 508, 389, 2877, 287, 257, 18586, 351, 257, 3195, 36333, 290, 1448, 416, 717, 1438, 287, 257, 2318, 8262, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054, 309, 16, 32357, 1268, 18965, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 301, 27112, 796, 309, 17, 13, 301, 27112, 33411, 309, 17, 13, 67, 579, 312, 3268, 357, 46506, 309, 18, 13, 67, 579, 312, 16034, 7875, 62, 41763, 414, 7054, 309, 18, 32357, 1268, 360, 579, 62, 41763, 414, 7054, 309, 19, 6177, 309, 18, 13, 41763, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2444, 508, 389, 2877, 287, 257, 18586, 351, 257, 3195, 36333, 290, 1448, 416, 717, 1438, 287, 257, 2318, 8262, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054, 309, 16, 32357, 1268, 18965, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 301, 27112, 796, 309, 17, 13, 301, 27112, 33411, 309, 17, 13, 67, 579, 312, 3268, 357, 46506, 309, 18, 13, 67, 579, 312, 16034, 7875, 62, 41763, 414, 7054, 309, 18, 32357, 1268, 360, 579, 62, 41763, 414, 7054, 309, 19, 6177, 309, 18, 13, 41763, 312 ]
What is the least amount of silver when there is less than 0 bronze?
SELECT MIN("Silver") FROM table_65873 WHERE "Bronze" < '0'
[ 2061, 318, 262, 1551, 2033, 286, 8465, 618, 612, 318, 1342, 621, 657, 22101, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 38431, 4790, 33411, 366, 18760, 2736, 1, 1279, 705, 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 ]
[ 2061, 318, 262, 1551, 2033, 286, 8465, 618, 612, 318, 1342, 621, 657, 22101, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 38431, 4790, 33411, 366, 18760, 2736, 1, 1279, 705, 15, 6 ]
give me the number of patients with diagnoses icd9 code e8799 who have been ordered other body fluid lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "E8799" AND lab.fluid = "Other Body Fluid"
[ 26535, 502, 262, 1271, 286, 3871, 351, 40567, 14158, 67, 24, 2438, 304, 5774, 2079, 508, 423, 587, 6149, 584, 1767, 11711, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 36, 5774, 2079, 1, 5357, 2248, 13, 35522, 312, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 40567, 14158, 67, 24, 2438, 304, 5774, 2079, 508, 423, 587, 6149, 584, 1767, 11711, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 36, 5774, 2079, 1, 5357, 2248, 13, 35522, 312, 796, 366 ]
What is the location of the church when the church name is Ortnevik Kyrkje?
SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje"
[ 2061, 318, 262, 4067, 286, 262, 4928, 618, 262, 4928, 1438, 318, 31427, 710, 28930, 42748, 74, 18015, 30, 46506, 4067, 62, 1659, 62, 1169, 62, 36964, 16034, 3084, 62, 23188, 29769, 62, 16, 33411, 4928, 62, 3672, 796, 366, 5574, 83, 710, 28930, 479, 2417, 74, 18015, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 286, 262, 4928, 618, 262, 4928, 1438, 318, 31427, 710, 28930, 42748, 74, 18015, 30, 46506, 4067, 62, 1659, 62, 1169, 62, 36964, 16034, 3084, 62, 23188, 29769, 62, 16, 33411, 4928, 62, 3672, 796, 366, 5574, 83, 710, 28930, 479, 2417, 74, 18015, 1 ]
What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws?
SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7
[ 2061, 318, 262, 2811, 1271, 286, 4661, 24684, 810, 517, 621, 678, 4661, 547, 7781, 11, 262, 1074, 550, 3261, 2173, 11, 290, 517, 621, 767, 14293, 30, 46506, 35224, 7, 2188, 874, 62, 1102, 771, 276, 834, 36484, 62, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 4661, 62, 1416, 1850, 834, 70, 69, 62, 1875, 678, 5357, 2173, 834, 457, 82, 62, 796, 3261, 5357, 3197, 834, 431, 62, 1875, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 4661, 24684, 810, 517, 621, 678, 4661, 547, 7781, 11, 262, 1074, 550, 3261, 2173, 11, 290, 517, 621, 767, 14293, 30, 46506, 35224, 7, 2188, 874, 62, 1102, 771, 276, 834, 36484, 62, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 4661, 62, 1416, 1850, 834, 70, 69, 62, 1875, 678, 5357, 2173, 834, 457, 82, 62, 796, 3261, 5357, 3197, 834, 431, 62, 1875, 767 ]
What was the away team score at victoria park?
SELECT away_team AS score FROM table_name_62 WHERE venue = "victoria park"
[ 2061, 373, 262, 1497, 1074, 4776, 379, 2210, 7661, 3952, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5237, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 4776, 379, 2210, 7661, 3952, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5237, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
What is the kit manufacturer that has billy bonds as the manager?
SELECT "Kit manufacturer" FROM table_80388 WHERE "Manager" = 'billy bonds'
[ 2061, 318, 262, 6220, 11554, 326, 468, 2855, 88, 13100, 355, 262, 4706, 30, 46506, 366, 20827, 11554, 1, 16034, 3084, 62, 1795, 30460, 33411, 366, 13511, 1, 796, 705, 65, 6548, 13100, 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, 6220, 11554, 326, 468, 2855, 88, 13100, 355, 262, 4706, 30, 46506, 366, 20827, 11554, 1, 16034, 3084, 62, 1795, 30460, 33411, 366, 13511, 1, 796, 705, 65, 6548, 13100, 6 ]
when did patient 002-68180 receive a laboratory test for the first time in their last hospital encounter?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-68180' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) ORDER BY lab.labresulttime LIMIT 1
[ 12518, 750, 5827, 3571, 17, 12, 3104, 15259, 3328, 257, 14010, 1332, 329, 262, 717, 640, 287, 511, 938, 4436, 8791, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 21601, 12, 3104, 15259, 6, 5357, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 49257, 324, 20124 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3571, 17, 12, 3104, 15259, 3328, 257, 14010, 1332, 329, 262, 717, 640, 287, 511, 938, 4436, 8791, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 21601, 12, 3104, 15259, 6, 5357, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 49257, 324, 20124 ]
what is the name of the episode whose writer is philippe browning?
SELECT title FROM table_2791668_1 WHERE written_by = "Philippe Browning"
[ 10919, 318, 262, 1438, 286, 262, 4471, 3025, 6260, 318, 872, 8908, 68, 7586, 278, 30, 46506, 3670, 16034, 3084, 62, 26050, 1433, 3104, 62, 16, 33411, 3194, 62, 1525, 796, 366, 49680, 68, 4373, 278, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 4471, 3025, 6260, 318, 872, 8908, 68, 7586, 278, 30, 46506, 3670, 16034, 3084, 62, 26050, 1433, 3104, 62, 16, 33411, 3194, 62, 1525, 796, 366, 49680, 68, 4373, 278, 1 ]
What's the 1881 when 1871 had 1017?
SELECT "1881" FROM table_13561 WHERE "1871" = '1017'
[ 2061, 338, 262, 1248, 6659, 618, 1248, 4869, 550, 8949, 22, 30, 46506, 366, 1507, 6659, 1, 16034, 3084, 62, 1485, 47915, 33411, 366, 1507, 4869, 1, 796, 705, 8784, 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 ]
[ 2061, 338, 262, 1248, 6659, 618, 1248, 4869, 550, 8949, 22, 30, 46506, 366, 1507, 6659, 1, 16034, 3084, 62, 1485, 47915, 33411, 366, 1507, 4869, 1, 796, 705, 8784, 22, 6 ]
Who was the player when totals were 105-161?
SELECT "Player" FROM table_30630 WHERE "Totals" = '105-161'
[ 8241, 373, 262, 2137, 618, 26310, 547, 13343, 12, 25948, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 20548, 1270, 33411, 366, 51, 313, 874, 1, 796, 705, 13348, 12, 25948, 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, 2137, 618, 26310, 547, 13343, 12, 25948, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 20548, 1270, 33411, 366, 51, 313, 874, 1, 796, 705, 13348, 12, 25948, 6 ]
A bar chart about what are the statuses and average populations of each city?
SELECT Status, AVG(Population) FROM city GROUP BY Status
[ 32, 2318, 8262, 546, 644, 389, 262, 1185, 2664, 290, 2811, 9684, 286, 1123, 1748, 30, 46506, 12678, 11, 35224, 7, 45251, 8, 16034, 1748, 44441, 11050, 12678 ]
[ 1, 1, 1, 1, 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, 546, 644, 389, 262, 1185, 2664, 290, 2811, 9684, 286, 1123, 1748, 30, 46506, 12678, 11, 35224, 7, 45251, 8, 16034, 1748, 44441, 11050, 12678 ]
when was the first time patient 006-159173 was measured heartrate less than 90.0 on 09/05/last year?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-159173')) AND vitalperiodic.heartrate < 90.0 AND NOT vitalperiodic.heartrate IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m-%d', vitalperiodic.observationtime) = '09-05' ORDER BY vitalperiodic.observationtime LIMIT 1
[ 12518, 373, 262, 717, 640, 5827, 3571, 21, 12, 19707, 25399, 373, 8630, 2612, 4873, 1342, 621, 4101, 13, 15, 319, 7769, 14, 2713, 14, 12957, 614, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 19707, 25399, 6, 4008, 5357, 9204, 41007, 291 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 262, 717, 640, 5827, 3571, 21, 12, 19707, 25399, 373, 8630, 2612, 4873, 1342, 621, 4101, 13, 15, 319, 7769, 14, 2713, 14, 12957, 614, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 19707, 25399, 6, 4008, 5357, 9204, 41007, 291 ]
which of the following roller coasters is the oldest : star of lake tai , star of nanchang , melbourne star
SELECT "name" FROM table_201_2 WHERE "name" IN ('star of lake tai', 'star of nanchang', 'melbourne star') ORDER BY "completed" LIMIT 1
[ 4758, 286, 262, 1708, 24471, 763, 7060, 318, 262, 13325, 1058, 3491, 286, 13546, 256, 1872, 837, 3491, 286, 299, 3702, 648, 837, 7758, 12544, 3491, 46506, 366, 3672, 1, 16034, 3084, 62, 1264, 62, 17, 33411, 366, 3672, 1, 3268, 19203, 7364, 286, 13546, 256, 1872, 3256, 705, 7364, 286, 299, 3702, 648, 3256, 705, 17694, 12544, 3491, 11537, 38678, 11050, 366, 785, 16838, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 1708, 24471, 763, 7060, 318, 262, 13325, 1058, 3491, 286, 13546, 256, 1872, 837, 3491, 286, 299, 3702, 648, 837, 7758, 12544, 3491, 46506, 366, 3672, 1, 16034, 3084, 62, 1264, 62, 17, 33411, 366, 3672, 1, 3268, 19203, 7364, 286, 13546, 256, 1872, 3256, 705, 7364, 286, 299, 3702, 648, 3256, 705, 17694, 12544, 3491, 11537, 38678, 11050, 366, 785, 16838, 1, 27564, 2043, 352 ]
Return a bar chart on what are the countries of perpetrators? Show each country and the corresponding number of perpetrators there, sort x-axis in descending order please.
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY Country DESC
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 2678, 286, 25185, 30, 5438, 1123, 1499, 290, 262, 11188, 1271, 286, 25185, 612, 11, 3297, 2124, 12, 22704, 287, 31491, 1502, 3387, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 33599, 44441, 11050, 12946, 38678, 11050, 12946, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 2678, 286, 25185, 30, 5438, 1123, 1499, 290, 262, 11188, 1271, 286, 25185, 612, 11, 3297, 2124, 12, 22704, 287, 31491, 1502, 3387, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 33599, 44441, 11050, 12946, 38678, 11050, 12946, 22196, 34 ]
what is the maximum number in the season wher the us viewers is 2.59?
SELECT MAX("No. in season") FROM table_23860 WHERE "U.S.viewers (million)" = '2.59'
[ 10919, 318, 262, 5415, 1271, 287, 262, 1622, 266, 372, 262, 514, 10209, 318, 362, 13, 3270, 30, 46506, 25882, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 23721, 1899, 33411, 366, 52, 13, 50, 13, 1177, 364, 357, 14100, 16725, 796, 705, 17, 13, 3270, 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 ]
[ 10919, 318, 262, 5415, 1271, 287, 262, 1622, 266, 372, 262, 514, 10209, 318, 362, 13, 3270, 30, 46506, 25882, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 23721, 1899, 33411, 366, 52, 13, 50, 13, 1177, 364, 357, 14100, 16725, 796, 705, 17, 13, 3270, 6 ]
Who is the athlete with a run 1 larger than 54.95 and a 56.19 run 2?
SELECT athlete FROM table_name_91 WHERE run_1 > 54.95 AND run_2 = 56.19
[ 8241, 318, 262, 16076, 351, 257, 1057, 352, 4025, 621, 7175, 13, 3865, 290, 257, 7265, 13, 1129, 1057, 362, 30, 46506, 16076, 16034, 3084, 62, 3672, 62, 6420, 33411, 1057, 62, 16, 1875, 7175, 13, 3865, 5357, 1057, 62, 17, 796, 7265, 13, 1129 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16076, 351, 257, 1057, 352, 4025, 621, 7175, 13, 3865, 290, 257, 7265, 13, 1129, 1057, 362, 30, 46506, 16076, 16034, 3084, 62, 3672, 62, 6420, 33411, 1057, 62, 16, 1875, 7175, 13, 3865, 5357, 1057, 62, 17, 796, 7265, 13, 1129 ]
what is the total number of times johan bryneel 's name appears on all of these lists ?
SELECT COUNT(*) FROM table_204_156 WHERE "best manager" = 'johan bruyneel'
[ 10919, 318, 262, 2472, 1271, 286, 1661, 474, 22436, 275, 563, 710, 417, 705, 82, 1438, 3568, 319, 477, 286, 777, 8341, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 21599, 33411, 366, 13466, 4706, 1, 796, 705, 73, 22436, 18145, 39547, 417, 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 ]
[ 10919, 318, 262, 2472, 1271, 286, 1661, 474, 22436, 275, 563, 710, 417, 705, 82, 1438, 3568, 319, 477, 286, 777, 8341, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 21599, 33411, 366, 13466, 4706, 1, 796, 705, 73, 22436, 18145, 39547, 417, 6 ]
what were the five most commonly given laboratory tests for patients who were previously diagnosed with signs and symptoms of sepsis (sirs) - due to infectious process with organ dysfunction within the same hospital visit, since 2 years ago?
SELECT t3.labname FROM (SELECT t2.labname, 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 = 'signs and symptoms of sepsis (sirs) - due to infectious process with organ dysfunction' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOIN (SELECT patient.uniquepid, lab.labname, lab.labresulttime, patient.patienthealthsystemstayid FROM lab JOIN patient ON lab.patientunitstayid = patient.patientunitstayid WHERE DATETIME(lab.labresulttime) >= DATETIME(CURRENT_TIME(), '-2 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.labresulttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.labname) AS t3 WHERE t3.c1 <= 5
[ 10919, 547, 262, 1936, 749, 8811, 1813, 14010, 5254, 329, 3871, 508, 547, 4271, 14641, 351, 5895, 290, 7460, 286, 384, 862, 271, 357, 82, 17062, 8, 532, 2233, 284, 25246, 1429, 351, 1618, 19327, 1626, 262, 976, 4436, 3187, 11, 1201, 362, 812, 2084, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 8811, 1813, 14010, 5254, 329, 3871, 508, 547, 4271, 14641, 351, 5895, 290, 7460, 286, 384, 862, 271, 357, 82, 17062, 8, 532, 2233, 284, 25246, 1429, 351, 1618, 19327, 1626, 262, 976, 4436, 3187, 11, 1201, 362, 812, 2084, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827 ]
when did patient 2425 on the first hospital encounter receive stool microbiology test for the last time?
SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2425 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND microbiologyevents.spec_type_desc = 'stool' ORDER BY microbiologyevents.charttime DESC LIMIT 1
[ 12518, 750, 5827, 1987, 1495, 319, 262, 717, 4436, 8791, 3328, 38753, 24559, 1435, 1332, 329, 262, 938, 640, 30, 46506, 24559, 1435, 31534, 13, 40926, 2435, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1987, 1495, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13, 324, 20124, 524, 27564, 2043, 352, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 301, 970, 6, 38678, 11050, 24559, 1435, 31534 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1987, 1495, 319, 262, 717, 4436, 8791, 3328, 38753, 24559, 1435, 1332, 329, 262, 938, 640, 30, 46506, 24559, 1435, 31534, 13, 40926, 2435, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1987, 1495, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, 13, 324, 20124, 524, 27564, 2043, 352, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 301, 970, 6, 38678, 11050, 24559, 1435, 31534 ]
tell me the total amount of gastric jejunostomy tube that patient 12927 had on this month/27.
SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.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 outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'gastric jejunostomy tube' AND d_items.linksto = 'outputevents') AND DATETIME(outputevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', outputevents.charttime) = '27'
[ 33331, 502, 262, 2472, 2033, 286, 21956, 1173, 11223, 29741, 455, 9145, 12403, 326, 5827, 20248, 1983, 550, 319, 428, 1227, 14, 1983, 13, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 20248, 1983, 4008, 5357, 38701, 1133 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 2472, 2033, 286, 21956, 1173, 11223, 29741, 455, 9145, 12403, 326, 5827, 20248, 1983, 550, 319, 428, 1227, 14, 1983, 13, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 20248, 1983, 4008, 5357, 38701, 1133 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the distribution of job_id and the average of manager_id , and group by attribute job_id in a bar chart, could you show Y from high to low order please?
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(MANAGER_ID) DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, 714, 345, 905, 575, 422, 1029, 284, 1877, 1502, 3387, 30, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 10725, 4760, 1137, 62, 2389, 8, 16034, 4409, 33411, 42475, 13153, 38651, 8845, 1677, 38055, 5357, 1105, 830, 5357, 22240, 40373, 62, 47, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, 714, 345, 905, 575, 422, 1029, 284, 1877, 1502, 3387, 30, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 10725, 4760, 1137, 62, 2389, 8, 16034, 4409, 33411, 42475, 13153, 38651, 8845, 1677, 38055, 5357, 1105, 830, 5357, 22240, 40373, 62, 47, 4177 ]
Average hours to first flag by post's creation date.
SELECT p.CreationDate FROM Posts AS p GROUP BY p.CreationDate ORDER BY p.CreationDate
[ 26287, 2250, 284, 717, 6056, 416, 1281, 338, 6282, 3128, 13, 46506, 279, 13, 12443, 341, 10430, 16034, 12043, 7054, 279, 44441, 11050, 279, 13, 12443, 341, 10430, 38678, 11050, 279, 13, 12443, 341, 10430 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26287, 2250, 284, 717, 6056, 416, 1281, 338, 6282, 3128, 13, 46506, 279, 13, 12443, 341, 10430, 16034, 12043, 7054, 279, 44441, 11050, 279, 13, 12443, 341, 10430, 38678, 11050, 279, 13, 12443, 341, 10430 ]
When the away team score was 11.5 (71), what was the date?
SELECT "Date" FROM table_10950 WHERE "Away team score" = '11.5 (71)'
[ 2215, 262, 1497, 1074, 4776, 373, 1367, 13, 20, 357, 4869, 828, 644, 373, 262, 3128, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 14454, 1120, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 20, 357, 4869, 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 ]
[ 2215, 262, 1497, 1074, 4776, 373, 1367, 13, 20, 357, 4869, 828, 644, 373, 262, 3128, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 14454, 1120, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 20, 357, 4869, 33047 ]
when was the last time patient 031-3355 was given microbiology tests in 12/this year?
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', microlab.culturetakentime) = '12' ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 12518, 373, 262, 938, 640, 5827, 657, 3132, 12, 2091, 2816, 373, 1813, 24559, 1435, 5254, 287, 1105, 14, 5661, 614, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 2091, 2816, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 24055, 23912, 13, 25584, 83, 461 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 262, 938, 640, 5827, 657, 3132, 12, 2091, 2816, 373, 1813, 24559, 1435, 5254, 287, 1105, 14, 5661, 614, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 2091, 2816, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 24055, 23912, 13, 25584, 83, 461 ]
All questions from the last n days.
SELECT * FROM Posts AS p WHERE p.PostTypeId = 1 AND p.AnswerCount > 0 AND p.CreationDate >= DATEADD(day, -5, GETDATE())
[ 3237, 2683, 422, 262, 938, 299, 1528, 13, 46506, 1635, 16034, 12043, 7054, 279, 33411, 279, 13, 6307, 6030, 7390, 796, 352, 5357, 279, 13, 33706, 12332, 1875, 657, 5357, 279, 13, 12443, 341, 10430, 18189, 360, 6158, 29266, 7, 820, 11, 532, 20, 11, 17151, 35, 6158, 28955 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3237, 2683, 422, 262, 938, 299, 1528, 13, 46506, 1635, 16034, 12043, 7054, 279, 33411, 279, 13, 6307, 6030, 7390, 796, 352, 5357, 279, 13, 33706, 12332, 1875, 657, 5357, 279, 13, 12443, 341, 10430, 18189, 360, 6158, 29266, 7, 820, 11, 532, 20, 11, 17151, 35, 6158, 28955 ]
What date was the loss of ponson (4 3)?
SELECT "Date" FROM table_67924 WHERE "Loss" = 'ponson (4–3)'
[ 2061, 3128, 373, 262, 2994, 286, 279, 36742, 357, 19, 513, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 37601, 1731, 33411, 366, 43, 793, 1, 796, 705, 79, 36742, 357, 19, 1906, 18, 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 ]
[ 2061, 3128, 373, 262, 2994, 286, 279, 36742, 357, 19, 513, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 37601, 1731, 33411, 366, 43, 793, 1, 796, 705, 79, 36742, 357, 19, 1906, 18, 33047 ]
What Lane has a 0.209 React entered with a Rank entry that is larger than 6?
SELECT lane FROM table_name_84 WHERE react > 0.209 AND rank > 6
[ 2061, 15016, 468, 257, 657, 13, 22567, 21492, 5982, 351, 257, 10916, 5726, 326, 318, 4025, 621, 718, 30, 46506, 11193, 16034, 3084, 62, 3672, 62, 5705, 33411, 6324, 1875, 657, 13, 22567, 5357, 4279, 1875, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15016, 468, 257, 657, 13, 22567, 21492, 5982, 351, 257, 10916, 5726, 326, 318, 4025, 621, 718, 30, 46506, 11193, 16034, 3084, 62, 3672, 62, 5705, 33411, 6324, 1875, 657, 13, 22567, 5357, 4279, 1875, 718 ]
what was the first value of the arterial bp [diastolic] of patient 23070 on 12/04/this year.
SELECT chartevents.valuenum 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 = 23070)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m-%d', chartevents.charttime) = '12-04' ORDER BY chartevents.charttime LIMIT 1
[ 10919, 373, 262, 717, 1988, 286, 262, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 286, 5827, 18395, 2154, 319, 1105, 14, 3023, 14, 5661, 614, 13, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 18395, 2154, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 1988, 286, 262, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 286, 5827, 18395, 2154, 319, 1105, 14, 3023, 14, 5661, 614, 13, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 18395, 2154, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268 ]
how many patients whose admission type is urgent and drug name is lactic acid 12% lotion?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.drug = "Lactic Acid 12% Lotion"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 2563, 1438, 318, 300, 12009, 7408, 1105, 4, 1256, 295, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1, 5357, 34092, 13, 30349, 796, 366, 43, 12009, 27066, 1105, 4, 406, 9650, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 2563, 1438, 318, 300, 12009, 7408, 1105, 4, 1256, 295, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1, 5357, 34092, 13, 30349, 796, 366, 43, 12009, 27066, 1105, 4, 406, 9650, 1 ]
Find posts with broken MathJax (single dollar sign).
SELECT Id AS "post_link", Body, CreationDate AS "date" FROM Posts WHERE Body LIKE '%$%' AND NOT Body LIKE '%$%$%'
[ 16742, 6851, 351, 5445, 16320, 41, 897, 357, 29762, 8872, 1051, 737, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 11, 21582, 10430, 7054, 366, 4475, 1, 16034, 12043, 33411, 12290, 34178, 705, 4, 3, 4, 6, 5357, 5626, 12290, 34178, 705, 4, 3, 4, 3, 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, 1, 1, 1, 1, 1 ]
[ 16742, 6851, 351, 5445, 16320, 41, 897, 357, 29762, 8872, 1051, 737, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 11, 21582, 10430, 7054, 366, 4475, 1, 16034, 12043, 33411, 12290, 34178, 705, 4, 3, 4, 6, 5357, 5626, 12290, 34178, 705, 4, 3, 4, 3, 4, 6 ]
How many musical guests and songs were in episodes with a production code k0519?
SELECT COUNT("Musical guest and song") FROM table_17267 WHERE "Production code" = 'K0519'
[ 2437, 867, 10530, 10650, 290, 7259, 547, 287, 8640, 351, 257, 3227, 2438, 479, 2713, 1129, 30, 46506, 327, 28270, 7203, 10694, 605, 8319, 290, 3496, 4943, 16034, 3084, 62, 1558, 25674, 33411, 366, 35027, 2438, 1, 796, 705, 42, 2713, 1129, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 10530, 10650, 290, 7259, 547, 287, 8640, 351, 257, 3227, 2438, 479, 2713, 1129, 30, 46506, 327, 28270, 7203, 10694, 605, 8319, 290, 3496, 4943, 16034, 3084, 62, 1558, 25674, 33411, 366, 35027, 2438, 1, 796, 705, 42, 2713, 1129, 6 ]
Who scored the most points against Washington?
SELECT "High points" FROM table_72713 WHERE "Team" = 'Washington'
[ 8241, 7781, 262, 749, 2173, 1028, 2669, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 47760, 1485, 33411, 366, 15592, 1, 796, 705, 17402, 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 ]
[ 8241, 7781, 262, 749, 2173, 1028, 2669, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 47760, 1485, 33411, 366, 15592, 1, 796, 705, 17402, 6 ]
What are the memories and carriers of phones?
SELECT memory_in_g, carrier FROM phone
[ 2061, 389, 262, 9846, 290, 16651, 286, 9512, 30, 46506, 4088, 62, 259, 62, 70, 11, 11920, 16034, 3072 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 9846, 290, 16651, 286, 9512, 30, 46506, 4088, 62, 259, 62, 70, 11, 11920, 16034, 3072 ]
What is the Population where the Median House-hold Income is $25,016?
SELECT MIN("Population") FROM table_39543 WHERE "Median House- hold Income" = '$25,016'
[ 2061, 318, 262, 20133, 810, 262, 26178, 2097, 12, 2946, 19003, 318, 720, 1495, 11, 27037, 30, 46506, 20625, 7203, 45251, 4943, 16034, 3084, 62, 31010, 3559, 33411, 366, 9921, 666, 2097, 12, 1745, 19003, 1, 796, 705, 3, 1495, 11, 27037, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20133, 810, 262, 26178, 2097, 12, 2946, 19003, 318, 720, 1495, 11, 27037, 30, 46506, 20625, 7203, 45251, 4943, 16034, 3084, 62, 31010, 3559, 33411, 366, 9921, 666, 2097, 12, 1745, 19003, 1, 796, 705, 3, 1495, 11, 27037, 6 ]
What is the lowest caps for the Club of SBV Excelsior?
SELECT MIN("Caps") FROM table_39294 WHERE "Club" = 'sbv excelsior'
[ 2061, 318, 262, 9016, 11022, 329, 262, 6289, 286, 18056, 53, 24134, 82, 1504, 30, 46506, 20625, 7203, 34, 1686, 4943, 16034, 3084, 62, 2670, 27696, 33411, 366, 42350, 1, 796, 705, 36299, 85, 27336, 82, 1504, 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, 9016, 11022, 329, 262, 6289, 286, 18056, 53, 24134, 82, 1504, 30, 46506, 20625, 7203, 34, 1686, 4943, 16034, 3084, 62, 2670, 27696, 33411, 366, 42350, 1, 796, 705, 36299, 85, 27336, 82, 1504, 6 ]
What position did the player from Florida International play?
SELECT "Position" FROM table_57899 WHERE "School/Club Team" = 'florida international'
[ 2061, 2292, 750, 262, 2137, 422, 4744, 4037, 711, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 38907, 2079, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 2704, 273, 3755, 3230, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 750, 262, 2137, 422, 4744, 4037, 711, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 38907, 2079, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 2704, 273, 3755, 3230, 6 ]
what is the soap opera when the years are 2000 2004, 2005 ?
SELECT "Soap Opera" FROM table_65080 WHERE "Years" = '2000–2004, 2005—'
[ 10919, 318, 262, 19533, 27296, 618, 262, 812, 389, 4751, 5472, 11, 5075, 5633, 46506, 366, 2396, 499, 26049, 1, 16034, 3084, 62, 17544, 1795, 33411, 366, 40630, 1, 796, 705, 11024, 1906, 15724, 11, 5075, 960, 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 ]
[ 10919, 318, 262, 19533, 27296, 618, 262, 812, 389, 4751, 5472, 11, 5075, 5633, 46506, 366, 2396, 499, 26049, 1, 16034, 3084, 62, 17544, 1795, 33411, 366, 40630, 1, 796, 705, 11024, 1906, 15724, 11, 5075, 960, 6 ]
Who was the opponent before 1990 that had a score of 4 6, 6 3, 6 4 and Partnering of Yannick Noah?
SELECT opponent_in_the_final FROM table_name_48 WHERE date < 1990 AND partnering = "yannick noah" AND score = "4–6, 6–3, 6–4"
[ 8241, 373, 262, 6125, 878, 6303, 326, 550, 257, 4776, 286, 604, 718, 11, 718, 513, 11, 718, 604, 290, 35532, 278, 286, 575, 1236, 624, 18394, 30, 46506, 6125, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 2780, 33411, 3128, 1279, 6303, 5357, 41759, 796, 366, 88, 1236, 624, 645, 993, 1, 5357, 4776, 796, 366, 19, 1906, 21, 11, 718, 1906, 18, 11, 718, 1906, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6125, 878, 6303, 326, 550, 257, 4776, 286, 604, 718, 11, 718, 513, 11, 718, 604, 290, 35532, 278, 286, 575, 1236, 624, 18394, 30, 46506, 6125, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 2780, 33411, 3128, 1279, 6303, 5357, 41759, 796, 366, 88, 1236, 624, 645, 993, 1, 5357, 4776, 796, 366, 19, 1906, 21, 11, 718, 1906, 18, 11, 718, 1906, 19, 1 ]
Create a bar chart showing the total number across rank, display Y in descending order.
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank ORDER BY COUNT(*) DESC
[ 16447, 257, 2318, 8262, 4478, 262, 2472, 1271, 1973, 4279, 11, 3359, 575, 287, 31491, 1502, 13, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 10916, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2318, 8262, 4478, 262, 2472, 1271, 1973, 4279, 11, 3359, 575, 287, 31491, 1502, 13, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 10916, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
What is the listed crowd at windy hill?
SELECT "Crowd" FROM table_53097 WHERE "Venue" = 'windy hill'
[ 2061, 318, 262, 5610, 4315, 379, 2344, 88, 12788, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 38612, 5607, 33411, 366, 37522, 518, 1, 796, 705, 7972, 88, 12788, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5610, 4315, 379, 2344, 88, 12788, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 38612, 5607, 33411, 366, 37522, 518, 1, 796, 705, 7972, 88, 12788, 6 ]
Name the minimum kerry # for bush % for 50.9%
SELECT MIN("Kerry#") FROM table_21577 WHERE "Bush%" = '50.9%'
[ 5376, 262, 5288, 479, 6996, 1303, 329, 24484, 4064, 329, 2026, 13, 24, 4, 46506, 20625, 7203, 42, 6996, 2, 4943, 16034, 3084, 62, 23349, 3324, 33411, 366, 36113, 39658, 796, 705, 1120, 13, 24, 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 ]
[ 5376, 262, 5288, 479, 6996, 1303, 329, 24484, 4064, 329, 2026, 13, 24, 4, 46506, 20625, 7203, 42, 6996, 2, 4943, 16034, 3084, 62, 23349, 3324, 33411, 366, 36113, 39658, 796, 705, 1120, 13, 24, 4, 6 ]
Show me a bar chart for how many bookings does each booking status have? List the booking status code and the number of corresponding bookings, could you rank booking_status_code from high to low order?
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY booking_status_code DESC
[ 15307, 502, 257, 2318, 8262, 329, 703, 867, 1492, 654, 857, 1123, 25452, 3722, 423, 30, 7343, 262, 25452, 3722, 2438, 290, 262, 1271, 286, 11188, 1492, 654, 11, 714, 345, 4279, 25452, 62, 13376, 62, 8189, 422, 1029, 284, 1877, 1502, 30, 46506, 25452, 62, 13376, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 5949, 1823, 62, 10482, 654, 44441, 11050, 25452, 62, 13376, 62, 8189, 38678, 11050, 25452, 62, 13376, 62, 8189, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 257, 2318, 8262, 329, 703, 867, 1492, 654, 857, 1123, 25452, 3722, 423, 30, 7343, 262, 25452, 3722, 2438, 290, 262, 1271, 286, 11188, 1492, 654, 11, 714, 345, 4279, 25452, 62, 13376, 62, 8189, 422, 1029, 284, 1877, 1502, 30, 46506, 25452, 62, 13376, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 5949, 1823, 62, 10482, 654, 44441, 11050, 25452, 62, 13376, 62, 8189, 38678, 11050, 25452, 62, 13376, 62, 8189, 22196, 34 ]
What is the date that the record was 51-14?
SELECT date FROM table_name_62 WHERE record = "51-14"
[ 2061, 318, 262, 3128, 326, 262, 1700, 373, 6885, 12, 1415, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5237, 33411, 1700, 796, 366, 4349, 12, 1415, 1 ]
[ 1, 1, 1, 1, 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, 326, 262, 1700, 373, 6885, 12, 1415, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5237, 33411, 1700, 796, 366, 4349, 12, 1415, 1 ]
Clinical Science and Practice is a part of which department ?
SELECT DISTINCT department FROM course WHERE name LIKE '%Clinical Science and Practice%'
[ 2601, 32352, 5800, 290, 19939, 318, 257, 636, 286, 543, 5011, 5633, 46506, 360, 8808, 1268, 4177, 5011, 16034, 1781, 33411, 1438, 34178, 705, 4, 2601, 32352, 5800, 290, 19939, 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 ]
[ 2601, 32352, 5800, 290, 19939, 318, 257, 636, 286, 543, 5011, 5633, 46506, 360, 8808, 1268, 4177, 5011, 16034, 1781, 33411, 1438, 34178, 705, 4, 2601, 32352, 5800, 290, 19939, 4, 6 ]
Who had the pole position in Detroit?
SELECT "Pole position" FROM table_3932 WHERE "Race" = 'Detroit'
[ 8241, 550, 262, 16825, 2292, 287, 8488, 30, 46506, 366, 47, 2305, 2292, 1, 16034, 3084, 62, 2670, 2624, 33411, 366, 35157, 1, 796, 705, 40404, 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 ]
[ 8241, 550, 262, 16825, 2292, 287, 8488, 30, 46506, 366, 47, 2305, 2292, 1, 16034, 3084, 62, 2670, 2624, 33411, 366, 35157, 1, 796, 705, 40404, 6 ]
When is the completed date of the destroyer with a pennant number h59?
SELECT completed FROM table_name_50 WHERE pennant_number = "h59"
[ 2215, 318, 262, 5668, 3128, 286, 262, 41056, 351, 257, 22429, 415, 1271, 289, 3270, 30, 46506, 5668, 16034, 3084, 62, 3672, 62, 1120, 33411, 22429, 415, 62, 17618, 796, 366, 71, 3270, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 5668, 3128, 286, 262, 41056, 351, 257, 22429, 415, 1271, 289, 3270, 30, 46506, 5668, 16034, 3084, 62, 3672, 62, 1120, 33411, 22429, 415, 62, 17618, 796, 366, 71, 3270, 1 ]
what album came out in the year previous to the album ofa'a haia ?
SELECT "title" FROM table_203_325 WHERE "year" = (SELECT "year" FROM table_203_325 WHERE "title" = "ofa'a haia") - 1
[ 10919, 5062, 1625, 503, 287, 262, 614, 2180, 284, 262, 5062, 286, 64, 6, 64, 387, 544, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 22416, 62, 26582, 33411, 366, 1941, 1, 796, 357, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 26582, 33411, 366, 7839, 1, 796, 366, 1659, 64, 6, 64, 387, 544, 4943, 532, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 5062, 1625, 503, 287, 262, 614, 2180, 284, 262, 5062, 286, 64, 6, 64, 387, 544, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 22416, 62, 26582, 33411, 366, 1941, 1, 796, 357, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 26582, 33411, 366, 7839, 1, 796, 366, 1659, 64, 6, 64, 387, 544, 4943, 532, 352 ]
Which event had a decision method?
SELECT event FROM table_name_12 WHERE method = "decision"
[ 13828, 1785, 550, 257, 2551, 2446, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1065, 33411, 2446, 796, 366, 12501, 1166, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1785, 550, 257, 2551, 2446, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1065, 33411, 2446, 796, 366, 12501, 1166, 1 ]
Git Top 100 By Vote.
SELECT Id, Title, Tags, ClosedDate, FavoriteCount, ViewCount, Score FROM Posts WHERE PostTypeId = 1 AND Tags LIKE '%git%' ORDER BY Score DESC, FavoriteCount DESC LIMIT 100
[ 38, 270, 5849, 1802, 2750, 19175, 13, 46506, 5121, 11, 11851, 11, 44789, 11, 30550, 10430, 11, 33992, 12332, 11, 3582, 12332, 11, 15178, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 44789, 34178, 705, 4, 18300, 4, 6, 38678, 11050, 15178, 22196, 34, 11, 33992, 12332, 22196, 34, 27564, 2043, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 38, 270, 5849, 1802, 2750, 19175, 13, 46506, 5121, 11, 11851, 11, 44789, 11, 30550, 10430, 11, 33992, 12332, 11, 3582, 12332, 11, 15178, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 44789, 34178, 705, 4, 18300, 4, 6, 38678, 11050, 15178, 22196, 34, 11, 33992, 12332, 22196, 34, 27564, 2043, 1802 ]
When the team is ypiranga-sp what is the number of won games?
SELECT MIN("Won") FROM table_20055 WHERE "Team" = 'Ypiranga-SP'
[ 2215, 262, 1074, 318, 331, 4063, 16484, 12, 2777, 644, 318, 262, 1271, 286, 1839, 1830, 30, 46506, 20625, 7203, 54, 261, 4943, 16034, 3084, 62, 2167, 2816, 33411, 366, 15592, 1, 796, 705, 56, 4063, 16484, 12, 4303, 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 ]
[ 2215, 262, 1074, 318, 331, 4063, 16484, 12, 2777, 644, 318, 262, 1271, 286, 1839, 1830, 30, 46506, 20625, 7203, 54, 261, 4943, 16034, 3084, 62, 2167, 2816, 33411, 366, 15592, 1, 796, 705, 56, 4063, 16484, 12, 4303, 6 ]
What record company has robert craft conducting?
SELECT "Record Company" FROM table_32673 WHERE "Conductor" = 'robert craft'
[ 2061, 1700, 1664, 468, 686, 4835, 5977, 14523, 30, 46506, 366, 23739, 5834, 1, 16034, 3084, 62, 39195, 4790, 33411, 366, 25559, 33029, 1, 796, 705, 305, 4835, 5977, 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 ]
[ 2061, 1700, 1664, 468, 686, 4835, 5977, 14523, 30, 46506, 366, 23739, 5834, 1, 16034, 3084, 62, 39195, 4790, 33411, 366, 25559, 33029, 1, 796, 705, 305, 4835, 5977, 6 ]
Name the status for karanvir bohra and date performed being july 30
SELECT "Status" FROM table_1854 WHERE "Main contestant" = 'Karanvir Bohra' AND "Date performed" = 'July 30'
[ 5376, 262, 3722, 329, 479, 19173, 37040, 275, 1219, 430, 290, 3128, 6157, 852, 474, 2062, 1542, 46506, 366, 19580, 1, 16034, 3084, 62, 1507, 4051, 33411, 366, 13383, 44047, 1, 796, 705, 42, 19173, 37040, 44366, 430, 6, 5357, 366, 10430, 6157, 1, 796, 705, 16157, 1542, 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 ]
[ 5376, 262, 3722, 329, 479, 19173, 37040, 275, 1219, 430, 290, 3128, 6157, 852, 474, 2062, 1542, 46506, 366, 19580, 1, 16034, 3084, 62, 1507, 4051, 33411, 366, 13383, 44047, 1, 796, 705, 42, 19173, 37040, 44366, 430, 6, 5357, 366, 10430, 6157, 1, 796, 705, 16157, 1542, 6 ]
Who has a time of 3:50.90?
SELECT name FROM table_name_35 WHERE time = "3:50.90"
[ 8241, 468, 257, 640, 286, 513, 25, 1120, 13, 3829, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2327, 33411, 640, 796, 366, 18, 25, 1120, 13, 3829, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 468, 257, 640, 286, 513, 25, 1120, 13, 3829, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2327, 33411, 640, 796, 366, 18, 25, 1120, 13, 3829, 1 ]
Tell me the D 41 for D 43 of d 18
SELECT "D 41" FROM table_55697 WHERE "D 43" = 'd 18'
[ 24446, 502, 262, 360, 6073, 329, 360, 5946, 286, 288, 1248, 46506, 366, 35, 6073, 1, 16034, 3084, 62, 2816, 40035, 33411, 366, 35, 5946, 1, 796, 705, 67, 1248, 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 ]
[ 24446, 502, 262, 360, 6073, 329, 360, 5946, 286, 288, 1248, 46506, 366, 35, 6073, 1, 16034, 3084, 62, 2816, 40035, 33411, 366, 35, 5946, 1, 796, 705, 67, 1248, 6 ]
Which province had population of 210295 South Asians in 2001?
SELECT province FROM table_1717824_1 WHERE south_asians_2001 = 210295
[ 13828, 8473, 550, 3265, 286, 20064, 25710, 2520, 30852, 287, 5878, 30, 46506, 8473, 16034, 3084, 62, 1558, 23188, 1731, 62, 16, 33411, 5366, 62, 292, 1547, 62, 14585, 796, 20064, 25710 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 8473, 550, 3265, 286, 20064, 25710, 2520, 30852, 287, 5878, 30, 46506, 8473, 16034, 3084, 62, 1558, 23188, 1731, 62, 16, 33411, 5366, 62, 292, 1547, 62, 14585, 796, 20064, 25710 ]
What is the margin of victory of the tournament on 5 Jun 1988?
SELECT "Margin of victory" FROM table_35292 WHERE "Date" = '5 jun 1988'
[ 2061, 318, 262, 10330, 286, 5373, 286, 262, 7756, 319, 642, 7653, 12122, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 2327, 32759, 33411, 366, 10430, 1, 796, 705, 20, 10891, 12122, 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, 318, 262, 10330, 286, 5373, 286, 262, 7756, 319, 642, 7653, 12122, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 2327, 32759, 33411, 366, 10430, 1, 796, 705, 20, 10891, 12122, 6 ]
what is the name of the medicine that patient 013-20464 was prescribed with within the same day after having been diagnosed with s/p thoracoscopic procedure - decortication in 07/this year?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-20464') AND diagnosis.diagnosisname = 's/p thoracoscopic procedure - decortication' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', diagnosis.diagnosistime) = '07') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-20464') AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', medication.drugstarttime) = '07') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t1.diagnosistime, 'start of day') = DATETIME(t2.drugstarttime, 'start of day')
[ 10919, 318, 262, 1438, 286, 262, 9007, 326, 5827, 5534, 18, 12, 18638, 2414, 373, 14798, 351, 1626, 262, 976, 1110, 706, 1719, 587, 14641, 351, 264, 14, 79, 41899, 330, 48228, 8771, 532, 875, 419, 3299, 287, 8753, 14, 5661, 614, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 9007, 326, 5827, 5534, 18, 12, 18638, 2414, 373, 14798, 351, 1626, 262, 976, 1110, 706, 1719, 587, 14641, 351, 264, 14, 79, 41899, 330, 48228, 8771, 532, 875, 419, 3299, 287, 8753, 14, 5661, 614, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057 ]
Who was pick 16 and before round 10?
SELECT player FROM table_name_30 WHERE round < 10 AND pick = 16
[ 8241, 373, 2298, 1467, 290, 878, 2835, 838, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1270, 33411, 2835, 1279, 838, 5357, 2298, 796, 1467 ]
[ 1, 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, 2298, 1467, 290, 878, 2835, 838, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1270, 33411, 2835, 1279, 838, 5357, 2298, 796, 1467 ]
What is the highest amount of employees with 110,520.2 in revenue, and a more than 2,237.7 profit?
SELECT MAX("Employees") FROM table_47881 WHERE "Revenue (Millions.$)" < '110,520.2' AND "Profit (Millions.$)" > '2,237.7'
[ 2061, 318, 262, 4511, 2033, 286, 4409, 351, 9796, 11, 31211, 13, 17, 287, 6426, 11, 290, 257, 517, 621, 362, 11, 24693, 13, 22, 7630, 30, 46506, 25882, 7203, 29733, 2841, 4943, 16034, 3084, 62, 2857, 3459, 16, 33411, 366, 3041, 4080, 357, 22603, 507, 48082, 16725, 1279, 705, 11442, 11, 31211, 13, 17, 6, 5357, 366, 2964, 11147, 357, 22603, 507, 48082, 16725, 1875, 705, 17, 11, 24693, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 4409, 351, 9796, 11, 31211, 13, 17, 287, 6426, 11, 290, 257, 517, 621, 362, 11, 24693, 13, 22, 7630, 30, 46506, 25882, 7203, 29733, 2841, 4943, 16034, 3084, 62, 2857, 3459, 16, 33411, 366, 3041, 4080, 357, 22603, 507, 48082, 16725, 1279, 705, 11442, 11, 31211, 13, 17, 6, 5357, 366, 2964, 11147, 357, 22603, 507, 48082, 16725, 1875, 705, 17, 11, 24693, 13, 22, 6 ]
since 05/13/2105 what was the heart rate average value of patient 18866?
SELECT AVG(chartevents.valuenum) 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 = 18866)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) >= '2105-05-13'
[ 20777, 8870, 14, 1485, 14, 17, 13348, 644, 373, 262, 2612, 2494, 2811, 1988, 286, 5827, 27778, 2791, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27778, 2791, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20777, 8870, 14, 1485, 14, 17, 13348, 644, 373, 262, 2612, 2494, 2811, 1988, 286, 5827, 27778, 2791, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27778, 2791, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13 ]
What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine?
SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = "escuderia bandeirantes" AND engine = "maserati straight-4"
[ 2061, 614, 547, 612, 1342, 621, 352, 13, 20, 2173, 290, 281, 7232, 5250, 286, 3671, 463, 5142, 4097, 68, 343, 39781, 11, 290, 257, 285, 6005, 7246, 3892, 12, 19, 3113, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 3829, 33411, 2173, 1279, 352, 13, 20, 5357, 920, 5250, 796, 366, 3798, 463, 5142, 4097, 68, 343, 39781, 1, 5357, 3113, 796, 366, 5356, 263, 7246, 3892, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 547, 612, 1342, 621, 352, 13, 20, 2173, 290, 281, 7232, 5250, 286, 3671, 463, 5142, 4097, 68, 343, 39781, 11, 290, 257, 285, 6005, 7246, 3892, 12, 19, 3113, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 3829, 33411, 2173, 1279, 352, 13, 20, 5357, 920, 5250, 796, 366, 3798, 463, 5142, 4097, 68, 343, 39781, 1, 5357, 3113, 796, 366, 5356, 263, 7246, 3892, 12, 19, 1 ]
Where is the company with estimated revenue of 33.3 billion headquartered?
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"
[ 8496, 318, 262, 1664, 351, 6108, 6426, 286, 4747, 13, 18, 2997, 48583, 30, 46506, 10043, 62, 19205, 16034, 3084, 62, 28896, 2075, 42250, 62, 17, 33411, 6426, 834, 3, 35546, 507, 834, 6999, 62, 395, 1920, 796, 366, 2091, 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 ]
[ 8496, 318, 262, 1664, 351, 6108, 6426, 286, 4747, 13, 18, 2997, 48583, 30, 46506, 10043, 62, 19205, 16034, 3084, 62, 28896, 2075, 42250, 62, 17, 33411, 6426, 834, 3, 35546, 507, 834, 6999, 62, 395, 1920, 796, 366, 2091, 13, 18, 1 ]
how many patients stayed in hospital for more than 7 days and were diagnosed with suicidal ideation?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "7" AND diagnoses.long_title = "Suicidal ideation"
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 767, 1528, 290, 547, 14641, 351, 26781, 1405, 341, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 12545, 62, 31712, 1875, 366, 22, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 5606, 21488, 1405, 341, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9658, 287, 4436, 329, 517, 621, 767, 1528, 290, 547, 14641, 351, 26781, 1405, 341, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 12545, 62, 31712, 1875, 366, 22, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 5606, 21488, 1405, 341, 1 ]
Who had a swimsuit score of 9.87?
SELECT COUNT(country) FROM table_11690135_1 WHERE swimsuit = "9.87"
[ 8241, 550, 257, 9422, 6063, 4776, 286, 860, 13, 5774, 30, 46506, 327, 28270, 7, 19315, 8, 16034, 3084, 62, 1157, 3388, 486, 2327, 62, 16, 33411, 9422, 6063, 796, 366, 24, 13, 5774, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 9422, 6063, 4776, 286, 860, 13, 5774, 30, 46506, 327, 28270, 7, 19315, 8, 16034, 3084, 62, 1157, 3388, 486, 2327, 62, 16, 33411, 9422, 6063, 796, 366, 24, 13, 5774, 1 ]
Where did the team play when the home team score was 12.9 (81)?
SELECT "Ground" FROM table_1445 WHERE "Home team score" = '12.9 (81)'
[ 8496, 750, 262, 1074, 711, 618, 262, 1363, 1074, 4776, 373, 1105, 13, 24, 357, 6659, 19427, 46506, 366, 35539, 1, 16034, 3084, 62, 1415, 2231, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, 13, 24, 357, 6659, 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 ]
[ 8496, 750, 262, 1074, 711, 618, 262, 1363, 1074, 4776, 373, 1105, 13, 24, 357, 6659, 19427, 46506, 366, 35539, 1, 16034, 3084, 62, 1415, 2231, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, 13, 24, 357, 6659, 33047 ]
what number of athletes had times that were below 12.40 ?
SELECT COUNT("athlete") FROM table_203_211 WHERE "time" < 12.4
[ 10919, 1271, 286, 10856, 550, 1661, 326, 547, 2174, 1105, 13, 1821, 5633, 46506, 327, 28270, 7203, 776, 5807, 4943, 16034, 3084, 62, 22416, 62, 21895, 33411, 366, 2435, 1, 1279, 1105, 13, 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 ]
[ 10919, 1271, 286, 10856, 550, 1661, 326, 547, 2174, 1105, 13, 1821, 5633, 46506, 327, 28270, 7203, 776, 5807, 4943, 16034, 3084, 62, 22416, 62, 21895, 33411, 366, 2435, 1, 1279, 1105, 13, 19 ]
How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals?
SELECT AVG("Extra points") FROM table_34975 WHERE "Touchdowns" < '2' AND "Player" = 'herrnstein' AND "Field goals" < '0'
[ 2437, 867, 3131, 2173, 389, 612, 326, 2332, 35906, 5714, 550, 351, 1342, 621, 362, 17692, 290, 1342, 621, 657, 2214, 4661, 30, 46506, 35224, 7203, 27726, 2173, 4943, 16034, 3084, 62, 27371, 2425, 33411, 366, 35211, 30371, 1, 1279, 705, 17, 6, 5357, 366, 14140, 1, 796, 705, 372, 35906, 5714, 6, 5357, 366, 15878, 4661, 1, 1279, 705, 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, 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, 3131, 2173, 389, 612, 326, 2332, 35906, 5714, 550, 351, 1342, 621, 362, 17692, 290, 1342, 621, 657, 2214, 4661, 30, 46506, 35224, 7203, 27726, 2173, 4943, 16034, 3084, 62, 27371, 2425, 33411, 366, 35211, 30371, 1, 1279, 705, 17, 6, 5357, 366, 14140, 1, 796, 705, 372, 35906, 5714, 6, 5357, 366, 15878, 4661, 1, 1279, 705, 15, 6 ]
How many have the title 'the tale of the room for rent
SELECT COUNT("#") FROM table_16126 WHERE "Title" = 'The Tale of the Room for Rent'
[ 2437, 867, 423, 262, 3670, 705, 1169, 12838, 286, 262, 2119, 329, 5602, 46506, 327, 28270, 7203, 2, 4943, 16034, 3084, 62, 1433, 19420, 33411, 366, 19160, 1, 796, 705, 464, 17388, 286, 262, 10096, 329, 29832, 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, 867, 423, 262, 3670, 705, 1169, 12838, 286, 262, 2119, 329, 5602, 46506, 327, 28270, 7203, 2, 4943, 16034, 3084, 62, 1433, 19420, 33411, 366, 19160, 1, 796, 705, 464, 17388, 286, 262, 10096, 329, 29832, 6 ]
Show me about the distribution of Sex and the sum of Weight , and group by attribute Sex in a bar chart, list in desc by the x axis.
SELECT Sex, SUM(Weight) FROM people GROUP BY Sex ORDER BY Sex DESC
[ 15307, 502, 546, 262, 6082, 286, 14419, 290, 262, 2160, 286, 14331, 837, 290, 1448, 416, 11688, 14419, 287, 257, 2318, 8262, 11, 1351, 287, 1715, 416, 262, 2124, 16488, 13, 46506, 14419, 11, 35683, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 14419, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 6082, 286, 14419, 290, 262, 2160, 286, 14331, 837, 290, 1448, 416, 11688, 14419, 287, 257, 2318, 8262, 11, 1351, 287, 1715, 416, 262, 2124, 16488, 13, 46506, 14419, 11, 35683, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 14419, 22196, 34 ]
Which is the most recent game with an attendance larger than 65,042?
SELECT MAX("Game") FROM table_11660 WHERE "Attendance" > '65,042'
[ 13828, 318, 262, 749, 2274, 983, 351, 281, 14858, 4025, 621, 6135, 11, 3023, 17, 30, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 18298, 1899, 33411, 366, 8086, 437, 590, 1, 1875, 705, 2996, 11, 3023, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 318, 262, 749, 2274, 983, 351, 281, 14858, 4025, 621, 6135, 11, 3023, 17, 30, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 18298, 1899, 33411, 366, 8086, 437, 590, 1, 1875, 705, 2996, 11, 3023, 17, 6 ]
Create a pie chart showing the total number across outcome code.
SELECT outcome_code, COUNT(*) FROM Mailshot_Customers GROUP BY outcome_code
[ 16447, 257, 2508, 8262, 4478, 262, 2472, 1271, 1973, 8055, 2438, 13, 46506, 8055, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 15022, 364, 44441, 11050, 8055, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2508, 8262, 4478, 262, 2472, 1271, 1973, 8055, 2438, 13, 46506, 8055, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 15022, 364, 44441, 11050, 8055, 62, 8189 ]