instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What's the most jim colbert got paid?
SELECT MAX(earnings__) AS $__ FROM table_name_23 WHERE player = "jim colbert"
[ 2061, 338, 262, 749, 474, 320, 951, 4835, 1392, 3432, 30, 46506, 25882, 7, 451, 23400, 834, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 1954, 33411, 2137, 796, 366, 73, 320, 951, 4835, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 474, 320, 951, 4835, 1392, 3432, 30, 46506, 25882, 7, 451, 23400, 834, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 1954, 33411, 2137, 796, 366, 73, 320, 951, 4835, 1 ]
For all employees who have the letters D or S in their first name, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id by a bar chart.
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 13, ...
WHERE with an equality search.
SELECT * FROM dbo.Users WHERE Reputation > 250000
[ 47357, 351, 281, 10537, 2989, 13, 46506, 1635, 16034, 288, 2127, 13, 14490, 33411, 1432, 7094, 1875, 1679, 2388 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 47357, 351, 281, 10537, 2989, 13, 46506, 1635, 16034, 288, 2127, 13, 14490, 33411, 1432, 7094, 1875, 1679, 2388 ]
In the Class T, what is the total of the 1958 UTA?
SELECT COUNT("1958 UTA") FROM table_69542 WHERE "Class" = 't'
[ 818, 262, 5016, 309, 11, 644, 318, 262, 2472, 286, 262, 24648, 471, 5603, 30, 46506, 327, 28270, 7203, 1129, 3365, 471, 5603, 4943, 16034, 3084, 62, 37381, 3682, 33411, 366, 9487, 1, 796, 705, 83, 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 ]
[ 818, 262, 5016, 309, 11, 644, 318, 262, 2472, 286, 262, 24648, 471, 5603, 30, 46506, 327, 28270, 7203, 1129, 3365, 471, 5603, 4943, 16034, 3084, 62, 37381, 3682, 33411, 366, 9487, 1, 796, 705, 83, 6 ]
what is the highest attendance for a total attendance-regular season record
SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season"
[ 10919, 318, 262, 4511, 14858, 329, 257, 2472, 14858, 12, 16338, 1622, 1700, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 22291, 2623, 34770, 62, 1065, 33411, 2099, 62, 1659, 62, 22105, 796, 366, 14957, 14858, 12, 40164, 1622, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 4511, 14858, 329, 257, 2472, 14858, 12, 16338, 1622, 1700, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 22291, 2623, 34770, 62, 1065, 33411, 2099, 62, 1659, 62, 22105, 796, 366, 14957, 14858, 12, 40164, 1622, ...
what was the last value on the creatine kinase (ck) lab test of patient 54894 this month?
SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 54894) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'creatine kinase (ck)') AND DATETIME(labevents.charttime, 'start of month') = DAT...
[ 10919, 373, 262, 938, 1988, 319, 262, 49346, 18967, 589, 357, 694, 8, 2248, 1332, 286, 5827, 642, 2780, 5824, 428, 1227, 30, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 1988, 319, 262, 49346, 18967, 589, 357, 694, 8, 2248, 1332, 286, 5827, 642, 2780, 5824, 428, 1227, 30, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268...
What are all names for the position FS?
SELECT name FROM table_14624447_24 WHERE position = "FS"
[ 2061, 389, 477, 3891, 329, 262, 2292, 23324, 30, 46506, 1438, 16034, 3084, 62, 20964, 1731, 34825, 62, 1731, 33411, 2292, 796, 366, 10652, 1 ]
[ 1, 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, 477, 3891, 329, 262, 2292, 23324, 30, 46506, 1438, 16034, 3084, 62, 20964, 1731, 34825, 62, 1731, 33411, 2292, 796, 366, 10652, 1 ]
how long was patient 002-3784's first stay at the icu?
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-3784') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 4919, 890, 373, 5827, 3571, 17, 12, 2718, 5705, 338, 717, 2652, 379, 262, 14158, 84, 30, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 890, 373, 5827, 3571, 17, 12, 2718, 5705, 338, 717, 2652, 379, 262, 14158, 84, 30, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13,...
what have you tried comments.
SELECT Id FROM Comments WHERE Text = 'http://whathaveyoutried.com'
[ 10919, 423, 345, 3088, 3651, 13, 46506, 5121, 16034, 19502, 33411, 8255, 796, 705, 4023, 1378, 1929, 776, 1015, 32015, 2228, 13, 785, 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 ]
[ 10919, 423, 345, 3088, 3651, 13, 46506, 5121, 16034, 19502, 33411, 8255, 796, 705, 4023, 1378, 1929, 776, 1015, 32015, 2228, 13, 785, 6 ]
what is the maximum number of points?
SELECT MAX("Points") FROM table_74137
[ 10919, 318, 262, 5415, 1271, 286, 2173, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 4524, 19708 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5415, 1271, 286, 2173, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 4524, 19708 ]
after december 29 what is the score?
SELECT score FROM table_name_50 WHERE december > 29
[ 8499, 390, 3273, 2808, 644, 318, 262, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1120, 33411, 390, 3273, 1875, 2808 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8499, 390, 3273, 2808, 644, 318, 262, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1120, 33411, 390, 3273, 1875, 2808 ]
Name the most 3 car sets
SELECT MAX("3-car sets") FROM table_22913
[ 5376, 262, 749, 513, 1097, 5621, 46506, 25882, 7203, 18, 12, 7718, 5621, 4943, 16034, 3084, 62, 23539, 1485 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 513, 1097, 5621, 46506, 25882, 7203, 18, 12, 7718, 5621, 4943, 16034, 3084, 62, 23539, 1485 ]
What is the 2011 value of the 2012 grand slam tournaments?
SELECT "2011" FROM table_47288 WHERE "2012" = 'grand slam tournaments'
[ 2061, 318, 262, 2813, 1988, 286, 262, 2321, 4490, 21158, 18130, 30, 46506, 366, 9804, 1, 16034, 3084, 62, 2857, 25270, 33411, 366, 6999, 1, 796, 705, 23936, 21158, 18130, 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, 2813, 1988, 286, 262, 2321, 4490, 21158, 18130, 30, 46506, 366, 9804, 1, 16034, 3084, 62, 2857, 25270, 33411, 366, 6999, 1, 796, 705, 23936, 21158, 18130, 6 ]
the heartrate of patient 027-211129 last measured on the first intensive care unit visit is greater than it was second to last measured on the first intensive care unit visit?
SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-211129') AND NOT patient.unitdischargetime IS...
[ 1169, 2612, 4873, 286, 5827, 657, 1983, 12, 21895, 18741, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 318, 3744, 621, 340, 373, 1218, 284, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 357, 46506, 9204, 41007, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1169, 2612, 4873, 286, 5827, 657, 1983, 12, 21895, 18741, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 318, 3744, 621, 340, 373, 1218, 284, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 357, 46506, 9204, 41007, 2...
what state had only 30 seats in their assembly ?
SELECT "state" FROM table_203_562 WHERE "total no. of seats in assembly" = 30
[ 10919, 1181, 550, 691, 1542, 8632, 287, 511, 10474, 5633, 46506, 366, 5219, 1, 16034, 3084, 62, 22416, 62, 43918, 33411, 366, 23350, 645, 13, 286, 8632, 287, 10474, 1, 796, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1181, 550, 691, 1542, 8632, 287, 511, 10474, 5633, 46506, 366, 5219, 1, 16034, 3084, 62, 22416, 62, 43918, 33411, 366, 23350, 645, 13, 286, 8632, 287, 10474, 1, 796, 1542 ]
Name the telephone 052 for area km2 being 5.42
SELECT "Telephone (052)" FROM table_19358 WHERE "Area (km 2 )" = '5.42'
[ 5376, 262, 11426, 657, 4309, 329, 1989, 10571, 17, 852, 642, 13, 3682, 46506, 366, 31709, 4862, 357, 37841, 16725, 16034, 3084, 62, 1129, 31128, 33411, 366, 30547, 357, 13276, 362, 1267, 1, 796, 705, 20, 13, 3682, 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 ]
[ 5376, 262, 11426, 657, 4309, 329, 1989, 10571, 17, 852, 642, 13, 3682, 46506, 366, 31709, 4862, 357, 37841, 16725, 16034, 3084, 62, 1129, 31128, 33411, 366, 30547, 357, 13276, 362, 1267, 1, 796, 705, 20, 13, 3682, 6 ]
During round 8 when the Position being picked was rb, what was the highest overall pick?
SELECT MAX(overall) FROM table_name_62 WHERE position = "rb" AND round = 8
[ 7191, 2835, 807, 618, 262, 23158, 852, 6497, 373, 374, 65, 11, 644, 373, 262, 4511, 4045, 2298, 30, 46506, 25882, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 2292, 796, 366, 26145, 1, 5357, 2835, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7191, 2835, 807, 618, 262, 23158, 852, 6497, 373, 374, 65, 11, 644, 373, 262, 4511, 4045, 2298, 30, 46506, 25882, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 2292, 796, 366, 26145, 1, 5357, 2835, 796, 807 ]
Which series has a season prior to 2009?
SELECT "Series" FROM table_9256 WHERE "Season" < '2009'
[ 13828, 2168, 468, 257, 1622, 3161, 284, 3717, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 24, 11645, 33411, 366, 18960, 1, 1279, 705, 10531, 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 ]
[ 13828, 2168, 468, 257, 1622, 3161, 284, 3717, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 24, 11645, 33411, 366, 18960, 1, 1279, 705, 10531, 6 ]
what would be cost of a round trip from PITTSBURGH to SAN FRANCISCO
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.c...
[ 10919, 561, 307, 1575, 286, 257, 2835, 5296, 422, 49040, 4694, 38926, 17511, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 561, 307, 1575, 286, 257, 2835, 5296, 422, 49040, 4694, 38926, 17511, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, ...
What is the 2000 kwh p y with a 2400 kwh/kw p y less than 12.5, a 3.8 1600 kwh/kw p y, and a 1800 kwh/kw p y less than 3.3?
SELECT MAX("2000 kWh/kW p y") FROM table_41662 WHERE "2400 kWh/kW p y" < '12.5' AND "1600 kWh/kW p y" = '3.8' AND "1800 kWh/kW p y" < '3.3'
[ 2061, 318, 262, 4751, 479, 1929, 279, 331, 351, 257, 48548, 479, 1929, 14, 46265, 279, 331, 1342, 621, 1105, 13, 20, 11, 257, 513, 13, 23, 26143, 479, 1929, 14, 46265, 279, 331, 11, 290, 257, 21431, 479, 1929, 14, 46265, 279, 331,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4751, 479, 1929, 279, 331, 351, 257, 48548, 479, 1929, 14, 46265, 279, 331, 1342, 621, 1105, 13, 20, 11, 257, 513, 13, 23, 26143, 479, 1929, 14, 46265, 279, 331, 11, 290, 257, 21431, 479, 1929, 14, 46265, 279, 331,...
What are the invoice dates for customers with the first name Astrid and the last name Gruber, and count them by a bar chart, display by the Y in desc.
SELECT InvoiceDate, COUNT(InvoiceDate) FROM Customer AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber" ORDER BY COUNT(InvoiceDate) DESC
[ 2061, 389, 262, 45458, 9667, 329, 4297, 351, 262, 717, 1438, 317, 2536, 312, 290, 262, 938, 1438, 25665, 527, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 3359, 416, 262, 575, 287, 1715, 13, 46506, 10001, 2942, 10430, 11, 327, 28270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 45458, 9667, 329, 4297, 351, 262, 717, 1438, 317, 2536, 312, 290, 262, 938, 1438, 25665, 527, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 3359, 416, 262, 575, 287, 1715, 13, 46506, 10001, 2942, 10430, 11, 327, 28270...
A ferrari flat-12 engine with more than 1 point has what kind of chassis?
SELECT chassis FROM table_name_80 WHERE engine = "ferrari flat-12" AND points > 1
[ 32, 277, 8056, 2743, 6228, 12, 1065, 3113, 351, 517, 621, 352, 966, 468, 644, 1611, 286, 24587, 30, 46506, 24587, 16034, 3084, 62, 3672, 62, 1795, 33411, 3113, 796, 366, 2232, 81, 2743, 6228, 12, 1065, 1, 5357, 2173, 1875, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 277, 8056, 2743, 6228, 12, 1065, 3113, 351, 517, 621, 352, 966, 468, 644, 1611, 286, 24587, 30, 46506, 24587, 16034, 3084, 62, 3672, 62, 1795, 33411, 3113, 796, 366, 2232, 81, 2743, 6228, 12, 1065, 1, 5357, 2173, 1875, 352 ]
What yacht had LOA Metres of 13.34?
SELECT "Yacht" FROM table_3316 WHERE "LOA (Metres)" = '13.34'
[ 2061, 43207, 550, 17579, 32, 3395, 411, 286, 1511, 13, 2682, 30, 46506, 366, 56, 19725, 1, 16034, 3084, 62, 2091, 1433, 33411, 366, 21982, 32, 357, 9171, 411, 16725, 796, 705, 1485, 13, 2682, 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, 43207, 550, 17579, 32, 3395, 411, 286, 1511, 13, 2682, 30, 46506, 366, 56, 19725, 1, 16034, 3084, 62, 2091, 1433, 33411, 366, 21982, 32, 357, 9171, 411, 16725, 796, 705, 1485, 13, 2682, 6 ]
Return the number of music festivals of each category in a bar chart, could you show by the Y in asc?
SELECT Category, COUNT(*) FROM music_festival GROUP BY Category ORDER BY COUNT(*)
[ 13615, 262, 1271, 286, 2647, 25575, 286, 1123, 6536, 287, 257, 2318, 8262, 11, 714, 345, 905, 416, 262, 575, 287, 10570, 30, 46506, 21743, 11, 327, 28270, 7, 28104, 16034, 2647, 62, 69, 6743, 44441, 11050, 21743, 38678, 11050, 327, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 1271, 286, 2647, 25575, 286, 1123, 6536, 287, 257, 2318, 8262, 11, 714, 345, 905, 416, 262, 575, 287, 10570, 30, 46506, 21743, 11, 327, 28270, 7, 28104, 16034, 2647, 62, 69, 6743, 44441, 11050, 21743, 38678, 11050, 327, 28...
Return a bar chart about the distribution of ACC_Road and Team_ID , and group by attribute All_Home, I want to list from low to high by the ACC_Road.
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY ACC_Road
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 314, 765, 284, 1351, 422, 1877, 284, 1029, 416, 262, 15859, 62, 29197, 13, 46506, 15859, 62, 29197, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 546, 262, 6082, 286, 15859, 62, 29197, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 314, 765, 284, 1351, 422, 1877, 284, 1029, 416, 262, 15859, 62, 29197, 13, 46506, 15859, 62, 29197, ...
what would be the minimum yearly number of patients diagnosed with hx-circulatory dis nec since 2101?
SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hx-circulatory dis nec') AND STRFTIME('%y', diagnoses_icd.charttime) >= '2101' GROUP BY STRFTIME('%y',...
[ 10919, 561, 307, 262, 5288, 24169, 1271, 286, 3871, 14641, 351, 289, 87, 12, 21170, 21386, 595, 27576, 1201, 2310, 486, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 561, 307, 262, 5288, 24169, 1271, 286, 3871, 14641, 351, 289, 87, 12, 21170, 21386, 595, 27576, 1201, 2310, 486, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, ...
Visualize the total smallest rating of different movie title using a bar chart, and could you order from high to low by the y axis?
SELECT T2.title, SUM(MIN(T1.stars)) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.title ORDER BY SUM(MIN(T1.stars)) DESC
[ 36259, 1096, 262, 2472, 18197, 7955, 286, 1180, 3807, 3670, 1262, 257, 2318, 8262, 11, 290, 714, 345, 1502, 422, 1029, 284, 1877, 416, 262, 331, 16488, 30, 46506, 309, 17, 13, 7839, 11, 35683, 7, 23678, 7, 51, 16, 13, 30783, 4008, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36259, 1096, 262, 2472, 18197, 7955, 286, 1180, 3807, 3670, 1262, 257, 2318, 8262, 11, 290, 714, 345, 1502, 422, 1029, 284, 1877, 416, 262, 331, 16488, 30, 46506, 309, 17, 13, 7839, 11, 35683, 7, 23678, 7, 51, 16, 13, 30783, 4008, ...
tell me the number of pillow pals reintroduced in 1999 .
SELECT COUNT("name") FROM table_204_111 WHERE "reintroduced" = 1999
[ 33331, 502, 262, 1271, 286, 28774, 39898, 38368, 771, 287, 7358, 764, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 16243, 33411, 366, 260, 27427, 771, 1, 796, 7358 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 28774, 39898, 38368, 771, 287, 7358, 764, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 16243, 33411, 366, 260, 27427, 771, 1, 796, 7358 ]
provide the number of inpatient hospital discharged patients who had unspecified osteomyelitis, other specified sites diagnoses.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND diagnoses.long_title = "Unspecified osteomyelitis, other specified sites"
[ 15234, 485, 262, 1271, 286, 287, 26029, 4436, 26476, 3871, 508, 550, 29547, 32674, 9145, 417, 11815, 11, 584, 7368, 5043, 40567, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 287, 26029, 4436, 26476, 3871, 508, 550, 29547, 32674, 9145, 417, 11815, 11, 584, 7368, 5043, 40567, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
Opponent of at san francisco 49ers had what lowest week?
SELECT MIN(week) FROM table_name_43 WHERE opponent = "at san francisco 49ers"
[ 27524, 3471, 286, 379, 5336, 46754, 4861, 5125, 364, 550, 644, 9016, 1285, 30, 46506, 20625, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 6125, 796, 366, 265, 5336, 46754, 4861, 5125, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 27524, 3471, 286, 379, 5336, 46754, 4861, 5125, 364, 550, 644, 9016, 1285, 30, 46506, 20625, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 6125, 796, 366, 265, 5336, 46754, 4861, 5125, 364, 1 ]
Where is the IHSAA Class of aaa school with more than 590 enrolled?
SELECT "Location" FROM table_64094 WHERE "IHSAA Class" = 'aaa' AND "Enrollment" > '590'
[ 8496, 318, 262, 314, 7998, 3838, 5016, 286, 257, 7252, 1524, 351, 517, 621, 642, 3829, 18724, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 31102, 5824, 33411, 366, 40, 7998, 3838, 5016, 1, 796, 705, 46071, 6, 5357, 366, 4834, 48108, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 7998, 3838, 5016, 286, 257, 7252, 1524, 351, 517, 621, 642, 3829, 18724, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 31102, 5824, 33411, 366, 40, 7998, 3838, 5016, 1, 796, 705, 46071, 6, 5357, 366, 4834, 48108, 1...
which opponent had the highest attendance after north carolina on june 21 ?
SELECT "opponent" FROM table_203_471 WHERE "date" > (SELECT "date" FROM table_203_471 WHERE "date" = 'june 21') ORDER BY "attendance" DESC LIMIT 1
[ 4758, 6125, 550, 262, 4511, 14858, 706, 5093, 1097, 47196, 319, 474, 1726, 2310, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 38339, 33411, 366, 4475, 1, 1875, 357, 46506, 366, 4475, 1, 16034, 3084, 62, 22416, 62, 383...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6125, 550, 262, 4511, 14858, 706, 5093, 1097, 47196, 319, 474, 1726, 2310, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 38339, 33411, 366, 4475, 1, 1875, 357, 46506, 366, 4475, 1, 16034, 3084, 62, 22416, 62, 383...
give me the number of patients whose gender is f and lab test name is bilirubin, indirect?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "Bilirubin, Indirect"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 2248, 1332, 1438, 318, 47027, 343, 549, 259, 11, 12913, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 2248, 1332, 1438, 318, 47027, 343, 549, 259, 11, 12913, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
What is the Competition for Season 2002 03, and the Opponent was zenit st. petersburg?
SELECT "Competition" FROM table_43371 WHERE "Season" = '2002–03' AND "Opponent" = 'zenit st. petersburg'
[ 2061, 318, 262, 27348, 329, 7369, 6244, 7643, 11, 290, 262, 9385, 3471, 373, 1976, 268, 270, 336, 13, 4273, 364, 7423, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 42117, 4869, 33411, 366, 18960, 1, 796, 705, 16942, 1906, 3070, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27348, 329, 7369, 6244, 7643, 11, 290, 262, 9385, 3471, 373, 1976, 268, 270, 336, 13, 4273, 364, 7423, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 42117, 4869, 33411, 366, 18960, 1, 796, 705, 16942, 1906, 3070, ...
Visualize a bar chart for what are the ids and trade names of the medicine that can interact with at least 3 enzymes?
SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3292, 3891, 286, 262, 9007, 326, 460, 9427, 351, 379, 1551, 513, 29120, 30, 46506, 9601, 62, 5376, 11, 4686, 16034, 9007, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3292, 3891, 286, 262, 9007, 326, 460, 9427, 351, 379, 1551, 513, 29120, 30, 46506, 9601, 62, 5376, 11, 4686, 16034, 9007, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 2...
What was Fredrik Jacobson's score?
SELECT score FROM table_name_88 WHERE player = "fredrik jacobson"
[ 2061, 373, 8559, 12602, 12806, 1559, 338, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3459, 33411, 2137, 796, 366, 39193, 12602, 474, 330, 672, 1559, 1 ]
[ 1, 1, 1, 1, 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, 8559, 12602, 12806, 1559, 338, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3459, 33411, 2137, 796, 366, 39193, 12602, 474, 330, 672, 1559, 1 ]
What is the 2nd leg of the second team in the 2007 uefa intertoto cup?
SELECT 2 AS nd_leg FROM table_name_78 WHERE team__number2 = "2007 uefa intertoto cup"
[ 2061, 318, 262, 362, 358, 1232, 286, 262, 1218, 1074, 287, 262, 4343, 334, 891, 64, 987, 83, 2069, 6508, 30, 46506, 362, 7054, 299, 67, 62, 1455, 16034, 3084, 62, 3672, 62, 3695, 33411, 1074, 834, 17618, 17, 796, 366, 12726, 334, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 358, 1232, 286, 262, 1218, 1074, 287, 262, 4343, 334, 891, 64, 987, 83, 2069, 6508, 30, 46506, 362, 7054, 299, 67, 62, 1455, 16034, 3084, 62, 3672, 62, 3695, 33411, 1074, 834, 17618, 17, 796, 366, 12726, 334, ...
who weighs the most on the team ?
SELECT "name" FROM table_204_105 ORDER BY "weight (lbs.)" DESC LIMIT 1
[ 8727, 24034, 262, 749, 319, 262, 1074, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 13348, 38678, 11050, 366, 6551, 357, 32133, 2014, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 24034, 262, 749, 319, 262, 1074, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 13348, 38678, 11050, 366, 6551, 357, 32133, 2014, 1, 22196, 34, 27564, 2043, 352 ]
What is the Set 3 with a Set 2 with 15 6?
SELECT "Set 3" FROM table_52876 WHERE "Set 2" = '15–6'
[ 2061, 318, 262, 5345, 513, 351, 257, 5345, 362, 351, 1315, 718, 30, 46506, 366, 7248, 513, 1, 16034, 3084, 62, 49351, 4304, 33411, 366, 7248, 362, 1, 796, 705, 1314, 1906, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5345, 513, 351, 257, 5345, 362, 351, 1315, 718, 30, 46506, 366, 7248, 513, 1, 16034, 3084, 62, 49351, 4304, 33411, 366, 7248, 362, 1, 796, 705, 1314, 1906, 21, 6 ]
In district North Carolina 10, what are the candidates?
SELECT candidates FROM table_2668336_17 WHERE district = "North Carolina 10"
[ 818, 4783, 2258, 5913, 838, 11, 644, 389, 262, 5871, 30, 46506, 5871, 16034, 3084, 62, 2075, 3104, 29211, 62, 1558, 33411, 4783, 796, 366, 14157, 5913, 838, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 4783, 2258, 5913, 838, 11, 644, 389, 262, 5871, 30, 46506, 5871, 16034, 3084, 62, 2075, 3104, 29211, 62, 1558, 33411, 4783, 796, 366, 14157, 5913, 838, 1 ]
Which class would be easiest for me to fill the MDE requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou...
[ 13828, 1398, 561, 307, 16638, 329, 502, 284, 6070, 262, 337, 7206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 561, 307, 16638, 329, 502, 284, 6070, 262, 337, 7206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 1...
what are the four most frequently prescribed drugs for patients who have been prescribed 37.5 g tube : dextrose (diabetic use) 40 % po gel also at the same time until 1 year ago?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = '37.5 g tube : dextrose (diabetic use) 40 % po gel' ...
[ 10919, 389, 262, 1440, 749, 6777, 14798, 5010, 329, 3871, 508, 423, 587, 14798, 5214, 13, 20, 308, 12403, 1058, 390, 742, 13698, 357, 10989, 33312, 779, 8, 2319, 4064, 745, 20383, 635, 379, 262, 976, 640, 1566, 352, 614, 2084, 30, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1440, 749, 6777, 14798, 5010, 329, 3871, 508, 423, 587, 14798, 5214, 13, 20, 308, 12403, 1058, 390, 742, 13698, 357, 10989, 33312, 779, 8, 2319, 4064, 745, 20383, 635, 379, 262, 976, 640, 1566, 352, 614, 2084, 30, 4...
did big bang release more or less albums than 2ne1 ?
SELECT (SELECT COUNT(*) FROM table_204_680 WHERE "artist" = 'big bang') > (SELECT COUNT(*) FROM table_204_680 WHERE "artist" = '2ne1')
[ 20839, 1263, 20188, 2650, 517, 393, 1342, 16788, 621, 362, 710, 16, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 37397, 33411, 366, 49016, 1, 796, 705, 14261, 20188, 11537, 1875, 357, 46506, 327, 28270, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 1263, 20188, 2650, 517, 393, 1342, 16788, 621, 362, 710, 16, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 37397, 33411, 366, 49016, 1, 796, 705, 14261, 20188, 11537, 1875, 357, 46506, 327, 28270, 7, ...
What is the fewest number of medals associated with under 6 games and over 0 golds?
SELECT MIN(total) FROM table_name_44 WHERE games < 6 AND gold > 0
[ 2061, 318, 262, 1178, 395, 1271, 286, 28057, 3917, 351, 739, 718, 1830, 290, 625, 657, 3869, 82, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 1830, 1279, 718, 5357, 3869, 1875, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1178, 395, 1271, 286, 28057, 3917, 351, 739, 718, 1830, 290, 625, 657, 3869, 82, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 1830, 1279, 718, 5357, 3869, 1875, 657 ]
You can give me a pie chart, that groups and counts the country name.
SELECT COUNTRY_NAME, COUNT(COUNTRY_NAME) FROM countries GROUP BY COUNTRY_NAME
[ 1639, 460, 1577, 502, 257, 2508, 8262, 11, 326, 2628, 290, 9853, 262, 1499, 1438, 13, 46506, 31404, 40405, 62, 20608, 11, 327, 28270, 7, 34, 19385, 40405, 62, 20608, 8, 16034, 2678, 44441, 11050, 31404, 40405, 62, 20608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1639, 460, 1577, 502, 257, 2508, 8262, 11, 326, 2628, 290, 9853, 262, 1499, 1438, 13, 46506, 31404, 40405, 62, 20608, 11, 327, 28270, 7, 34, 19385, 40405, 62, 20608, 8, 16034, 2678, 44441, 11050, 31404, 40405, 62, 20608 ]
What is the Date, when the Record is, 'track', when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles?
SELECT date FROM table_name_66 WHERE record = "track" AND time__seconds_ > 43.564 AND sport = "luge - women's singles"
[ 2061, 318, 262, 7536, 11, 618, 262, 13266, 318, 11, 705, 11659, 3256, 618, 262, 3862, 357, 43012, 8, 318, 2392, 621, 5946, 13, 20, 2414, 11, 290, 618, 262, 12771, 318, 300, 2217, 532, 1466, 338, 25287, 30, 46506, 3128, 16034, 3084, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 11, 618, 262, 13266, 318, 11, 705, 11659, 3256, 618, 262, 3862, 357, 43012, 8, 318, 2392, 621, 5946, 13, 20, 2414, 11, 290, 618, 262, 12771, 318, 300, 2217, 532, 1466, 338, 25287, 30, 46506, 3128, 16034, 3084, ...
has patient 31854 had any medication prescribed in 12/2105?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31854) AND STRFTIME('%y-%m', prescriptions.startdate) = '2105-12'
[ 10134, 5827, 39320, 4051, 550, 597, 14103, 14798, 287, 1105, 14, 17, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 39320, 4051, 550, 597, 14103, 14798, 287, 1105, 14, 17, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
What is the Power (kW) for the station with a frequency of 95.1mhz?
SELECT "Power (kW)" FROM table_47024 WHERE "Frequency" = '95.1mhz'
[ 2061, 318, 262, 4333, 357, 74, 54, 8, 329, 262, 4429, 351, 257, 8373, 286, 6957, 13, 16, 76, 32179, 30, 46506, 366, 13434, 357, 74, 54, 16725, 16034, 3084, 62, 27790, 1731, 33411, 366, 37, 28707, 1, 796, 705, 3865, 13, 16, 76, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4333, 357, 74, 54, 8, 329, 262, 4429, 351, 257, 8373, 286, 6957, 13, 16, 76, 32179, 30, 46506, 366, 13434, 357, 74, 54, 16725, 16034, 3084, 62, 27790, 1731, 33411, 366, 37, 28707, 1, 796, 705, 3865, 13, 16, 76, 3...
Who's from Bay City, TX?
SELECT player FROM table_name_20 WHERE hometown = "bay city, tx"
[ 8241, 338, 422, 4696, 2254, 11, 15326, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1238, 33411, 20994, 796, 366, 24406, 1748, 11, 27765, 1 ]
[ 1, 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, 338, 422, 4696, 2254, 11, 15326, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1238, 33411, 20994, 796, 366, 24406, 1748, 11, 27765, 1 ]
Who is the director of the game with HIroshi Sato as the producer on the GBA platform?
SELECT "Director" FROM table_35802 WHERE "Producer" = 'hiroshi sato' AND "Platform(s)" = 'gba'
[ 8241, 318, 262, 3437, 286, 262, 983, 351, 36210, 305, 44019, 311, 5549, 355, 262, 9920, 319, 262, 402, 4339, 3859, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2327, 30863, 33411, 366, 11547, 2189, 1, 796, 705, 49907, 44019, 3332, 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 ]
[ 8241, 318, 262, 3437, 286, 262, 983, 351, 36210, 305, 44019, 311, 5549, 355, 262, 9920, 319, 262, 402, 4339, 3859, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2327, 30863, 33411, 366, 11547, 2189, 1, 796, 705, 49907, 44019, 3332, 78, ...
When has a Source of surveyusa and a Obama of 54%?
SELECT "Date" FROM table_42112 WHERE "Source" = 'surveyusa' AND "Obama" = '54%'
[ 2215, 468, 257, 8090, 286, 5526, 22064, 290, 257, 2486, 286, 7175, 4, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 46636, 1065, 33411, 366, 7416, 1, 796, 705, 11793, 3304, 22064, 6, 5357, 366, 15948, 1, 796, 705, 4051, 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 ]
[ 2215, 468, 257, 8090, 286, 5526, 22064, 290, 257, 2486, 286, 7175, 4, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 46636, 1065, 33411, 366, 7416, 1, 796, 705, 11793, 3304, 22064, 6, 5357, 366, 15948, 1, 796, 705, 4051, 4, 6 ]
In the 2005 season, how many races did the 15th place team complete?
SELECT AVG("Races") FROM table_41767 WHERE "Final Placing" = '15th' AND "Season" = '2005'
[ 818, 262, 5075, 1622, 11, 703, 867, 9558, 750, 262, 1315, 400, 1295, 1074, 1844, 30, 46506, 35224, 7203, 49, 2114, 4943, 16034, 3084, 62, 38547, 3134, 33411, 366, 19006, 1345, 4092, 1, 796, 705, 1314, 400, 6, 5357, 366, 18960, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 262, 5075, 1622, 11, 703, 867, 9558, 750, 262, 1315, 400, 1295, 1074, 1844, 30, 46506, 35224, 7203, 49, 2114, 4943, 16034, 3084, 62, 38547, 3134, 33411, 366, 19006, 1345, 4092, 1, 796, 705, 1314, 400, 6, 5357, 366, 18960, 1, 79...
give me the number of patients whose ethnicity is black/haitian and lab test name is parathyroid hormone?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND lab.label = "Parathyroid Hormone"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 3099, 270, 666, 290, 2248, 1332, 1438, 318, 1582, 10036, 3882, 17770, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 3099, 270, 666, 290, 2248, 1332, 1438, 318, 1582, 10036, 3882, 17770, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What is the highest sd when the status is second round lost to iveta bene ov ?
SELECT MAX("Sd") FROM table_28440 WHERE "Status" = 'Second round lost to Iveta Benešová'
[ 2061, 318, 262, 4511, 45647, 618, 262, 3722, 318, 1218, 2835, 2626, 284, 220, 425, 8326, 10004, 19643, 5633, 46506, 25882, 7203, 50, 67, 4943, 16034, 3084, 62, 2078, 25644, 33411, 366, 19580, 1, 796, 705, 12211, 2835, 2626, 284, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 45647, 618, 262, 3722, 318, 1218, 2835, 2626, 284, 220, 425, 8326, 10004, 19643, 5633, 46506, 25882, 7203, 50, 67, 4943, 16034, 3084, 62, 2078, 25644, 33411, 366, 19580, 1, 796, 705, 12211, 2835, 2626, 284, 314, ...
how many patients have been given fiber-optic bronchoscopy two or more times since 1 year ago?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'fiber-optic bronchosc...
[ 4919, 867, 3871, 423, 587, 1813, 13608, 12, 8738, 291, 18443, 354, 17500, 11081, 734, 393, 517, 1661, 1201, 352, 614, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 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...
[ 4919, 867, 3871, 423, 587, 1813, 13608, 12, 8738, 291, 18443, 354, 17500, 11081, 734, 393, 517, 1661, 1201, 352, 614, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13...
Who was the Cover model when the Centerfold Model was Marketa Janska?
SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska"
[ 8241, 373, 262, 17546, 2746, 618, 262, 3337, 11379, 9104, 373, 5991, 64, 449, 504, 4914, 30, 46506, 3002, 62, 19849, 16034, 3084, 62, 3672, 62, 3559, 33411, 3641, 11379, 62, 19849, 796, 366, 10728, 64, 474, 504, 4914, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17546, 2746, 618, 262, 3337, 11379, 9104, 373, 5991, 64, 449, 504, 4914, 30, 46506, 3002, 62, 19849, 16034, 3084, 62, 3672, 62, 3559, 33411, 3641, 11379, 62, 19849, 796, 366, 10728, 64, 474, 504, 4914, 1 ]
Who directed Teenage Mutant Ninja Turtles?
SELECT "Director" FROM table_44122 WHERE "Title" = 'teenage mutant ninja turtles'
[ 8241, 7924, 21432, 496, 35319, 14152, 44356, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2598, 18376, 33411, 366, 19160, 1, 796, 705, 7821, 496, 30118, 37049, 36288, 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 ]
[ 8241, 7924, 21432, 496, 35319, 14152, 44356, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2598, 18376, 33411, 366, 19160, 1, 796, 705, 7821, 496, 30118, 37049, 36288, 6 ]
how many quarries opened before 1892 ?
SELECT COUNT(*) FROM table_203_2 WHERE "opened" <= 1892
[ 4919, 867, 36343, 1678, 4721, 878, 1248, 5892, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 17, 33411, 366, 26350, 1, 19841, 1248, 5892 ]
[ 1, 1, 1, 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, 36343, 1678, 4721, 878, 1248, 5892, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 17, 33411, 366, 26350, 1, 19841, 1248, 5892 ]
find posts with thank you.
SELECT * FROM Users WHERE CreationDate < '2019-01-01' AND CreationDate > '2018-01-01'
[ 19796, 6851, 351, 5875, 345, 13, 46506, 1635, 16034, 18987, 33411, 21582, 10430, 1279, 705, 23344, 12, 486, 12, 486, 6, 5357, 21582, 10430, 1875, 705, 7908, 12, 486, 12, 486, 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 ]
[ 19796, 6851, 351, 5875, 345, 13, 46506, 1635, 16034, 18987, 33411, 21582, 10430, 1279, 705, 23344, 12, 486, 12, 486, 6, 5357, 21582, 10430, 1875, 705, 7908, 12, 486, 12, 486, 6 ]
Is 413 required in all upper level classes ?
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%topic0%' OR name LIKE '%topic0%') AND department = 'EECS'
[ 3792, 46618, 2672, 287, 477, 6727, 1241, 6097, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 26652, 15, 4, 6, 6375, 1438, 34178, 705, 4, 26652, 15, 4, 11537, 5357, 5011, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 46618, 2672, 287, 477, 6727, 1241, 6097, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 26652, 15, 4, 6, 6375, 1438, 34178, 705, 4, 26652, 15, 4, 11537, 5357, 5011, ...
What is the date of the Rome to Florence course?
SELECT "Date" FROM table_70810 WHERE "Course" = 'rome to florence'
[ 2061, 318, 262, 3128, 286, 262, 10598, 284, 28537, 1781, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 32583, 940, 33411, 366, 49046, 1, 796, 705, 5998, 284, 781, 382, 1198, 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, 318, 262, 3128, 286, 262, 10598, 284, 28537, 1781, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 32583, 940, 33411, 366, 49046, 1, 796, 705, 5998, 284, 781, 382, 1198, 6 ]
What was the major version when the webkit version was 528.17?
SELECT major_version FROM table_24257833_4 WHERE webkit_version = "528.17"
[ 2061, 373, 262, 1688, 2196, 618, 262, 3992, 15813, 2196, 373, 642, 2078, 13, 1558, 30, 46506, 1688, 62, 9641, 16034, 3084, 62, 1731, 1495, 3695, 2091, 62, 19, 33411, 3992, 15813, 62, 9641, 796, 366, 49351, 13, 1558, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1688, 2196, 618, 262, 3992, 15813, 2196, 373, 642, 2078, 13, 1558, 30, 46506, 1688, 62, 9641, 16034, 3084, 62, 1731, 1495, 3695, 2091, 62, 19, 33411, 3992, 15813, 62, 9641, 796, 366, 49351, 13, 1558, 1 ]
Show employee_id from each email, could you show x axis in ascending order?
SELECT EMAIL, EMPLOYEE_ID FROM employees ORDER BY EMAIL
[ 15307, 6538, 62, 312, 422, 1123, 3053, 11, 714, 345, 905, 2124, 16488, 287, 41988, 1502, 30, 46506, 412, 5673, 4146, 11, 17228, 6489, 21414, 6500, 62, 2389, 16034, 4409, 38678, 11050, 412, 5673, 4146 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6538, 62, 312, 422, 1123, 3053, 11, 714, 345, 905, 2124, 16488, 287, 41988, 1502, 30, 46506, 412, 5673, 4146, 11, 17228, 6489, 21414, 6500, 62, 2389, 16034, 4409, 38678, 11050, 412, 5673, 4146 ]
What is the name of episode number 12 of the season?
SELECT "Title" FROM table_30023 WHERE "Episode #" = '12'
[ 2061, 318, 262, 1438, 286, 4471, 1271, 1105, 286, 262, 1622, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 6200, 1954, 33411, 366, 23758, 1303, 1, 796, 705, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 4471, 1271, 1105, 286, 262, 1622, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 6200, 1954, 33411, 366, 23758, 1303, 1, 796, 705, 1065, 6 ]
count the number of patients who are dead after being diagnosed with proteus infection nos in the same month since 5 years ago.
SELECT COUNT(DISTINCT t2.subject_id) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_di...
[ 9127, 262, 1271, 286, 3871, 508, 389, 2636, 706, 852, 14641, 351, 5915, 385, 10280, 43630, 287, 262, 976, 1227, 1201, 642, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 32796, 62, 312, 8, 16034, 357, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 389, 2636, 706, 852, 14641, 351, 5915, 385, 10280, 43630, 287, 262, 976, 1227, 1201, 642, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 32796, 62, 312, 8, 16034, 357, 46506,...
Team 2 Al-Ain played in what venue?
SELECT venue FROM table_name_89 WHERE team_2 = "al-ain"
[ 15592, 362, 978, 12, 32, 259, 2826, 287, 644, 14359, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4531, 33411, 1074, 62, 17, 796, 366, 282, 12, 391, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15592, 362, 978, 12, 32, 259, 2826, 287, 644, 14359, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4531, 33411, 1074, 62, 17, 796, 366, 282, 12, 391, 1 ]
get all posts from July 2018.
SELECT * FROM Posts WHERE CreationDate >= '2018-07-01' AND CreationDate <= '2018-07-31'
[ 1136, 477, 6851, 422, 2901, 2864, 13, 46506, 1635, 16034, 12043, 33411, 21582, 10430, 18189, 705, 7908, 12, 2998, 12, 486, 6, 5357, 21582, 10430, 19841, 705, 7908, 12, 2998, 12, 3132, 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 ]
[ 1136, 477, 6851, 422, 2901, 2864, 13, 46506, 1635, 16034, 12043, 33411, 21582, 10430, 18189, 705, 7908, 12, 2998, 12, 486, 6, 5357, 21582, 10430, 19841, 705, 7908, 12, 2998, 12, 3132, 6 ]
What was the greatest Took Office dates that Left Office in 1998?
SELECT MAX("Took office") FROM table_55850 WHERE "Left office" = '1998'
[ 2061, 373, 262, 6000, 309, 566, 4452, 9667, 326, 9578, 4452, 287, 7795, 30, 46506, 25882, 7203, 51, 566, 2607, 4943, 16034, 3084, 62, 2816, 25764, 33411, 366, 18819, 2607, 1, 796, 705, 21113, 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 ]
[ 2061, 373, 262, 6000, 309, 566, 4452, 9667, 326, 9578, 4452, 287, 7795, 30, 46506, 25882, 7203, 51, 566, 2607, 4943, 16034, 3084, 62, 2816, 25764, 33411, 366, 18819, 2607, 1, 796, 705, 21113, 6 ]
Show me about the distribution of meter_200 and the sum of meter_100 , and group by attribute meter_200 in a bar chart.
SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200
[ 15307, 502, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 287, 257, 2318, 8262, 13, 46506, 16430, 62, 2167, 11, 35683, 7, 27231, 62, 3064, 8, 16034, 9422, 64...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16430, 62, 2167, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 287, 257, 2318, 8262, 13, 46506, 16430, 62, 2167, 11, 35683, 7, 27231, 62, 3064, 8, 16034, 9422, 64...
microalbuminuria up to 300 mg / 24 hours is acceptable if serum creatinine is < 1.4 for female , < 1.5 for male and estimated gfr ( egfr ) is > 60 )
SELECT * FROM table_dev_42 WHERE microalbuminuria <= 300 OR ((gender = 'male' AND serum_creatinine < 1.5) OR (gender = 'female' AND serum_creatinine < 1.4)) AND estimated_glomerular_filtration_rate_egfr > 60
[ 24055, 40916, 259, 34484, 510, 284, 5867, 10527, 1220, 1987, 2250, 318, 10909, 611, 20502, 1827, 259, 500, 318, 1279, 352, 13, 19, 329, 4048, 837, 1279, 352, 13, 20, 329, 4257, 290, 6108, 308, 8310, 357, 29206, 8310, 1267, 318, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24055, 40916, 259, 34484, 510, 284, 5867, 10527, 1220, 1987, 2250, 318, 10909, 611, 20502, 1827, 259, 500, 318, 1279, 352, 13, 19, 329, 4048, 837, 1279, 352, 13, 20, 329, 4257, 290, 6108, 308, 8310, 357, 29206, 8310, 1267, 318, 1875, ...
Name the office running for for anthony mussara
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"
[ 5376, 262, 2607, 2491, 329, 329, 26794, 1647, 285, 1046, 3301, 46506, 2607, 62, 20270, 62, 1640, 16034, 3084, 62, 1507, 40486, 3901, 62, 16, 33411, 4540, 796, 366, 32697, 43309, 3301, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2607, 2491, 329, 329, 26794, 1647, 285, 1046, 3301, 46506, 2607, 62, 20270, 62, 1640, 16034, 3084, 62, 1507, 40486, 3901, 62, 16, 33411, 4540, 796, 366, 32697, 43309, 3301, 1 ]
tell me the number of times they qualified for the playoffs .
SELECT COUNT(*) FROM table_204_676 WHERE "playoffs" <> 'did not qualify'
[ 33331, 502, 262, 1271, 286, 1661, 484, 10617, 329, 262, 12980, 764, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 42548, 33411, 366, 1759, 8210, 1, 1279, 29, 705, 20839, 407, 12780, 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 ]
[ 33331, 502, 262, 1271, 286, 1661, 484, 10617, 329, 262, 12980, 764, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 42548, 33411, 366, 1759, 8210, 1, 1279, 29, 705, 20839, 407, 12780, 6 ]
What is the 2011 when the Tournament was the grand slam tournaments?
SELECT 2011 FROM table_name_63 WHERE tournament = "grand slam tournaments"
[ 2061, 318, 262, 2813, 618, 262, 9595, 373, 262, 4490, 21158, 18130, 30, 46506, 2813, 16034, 3084, 62, 3672, 62, 5066, 33411, 7756, 796, 366, 23936, 21158, 18130, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2813, 618, 262, 9595, 373, 262, 4490, 21158, 18130, 30, 46506, 2813, 16034, 3084, 62, 3672, 62, 5066, 33411, 7756, 796, 366, 23936, 21158, 18130, 1 ]
Name the total number of points with year less than 1955 and rank of 5th with wins less than 0
SELECT COUNT("Points") FROM table_67094 WHERE "Year" < '1955' AND "Rank" = '5th' AND "Wins" < '0'
[ 5376, 262, 2472, 1271, 286, 2173, 351, 614, 1342, 621, 25325, 290, 4279, 286, 642, 400, 351, 7864, 1342, 621, 657, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 43798, 5824, 33411, 366, 17688, 1, 1279, 705, 1129, 2816, 6, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 2173, 351, 614, 1342, 621, 25325, 290, 4279, 286, 642, 400, 351, 7864, 1342, 621, 657, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 43798, 5824, 33411, 366, 17688, 1, 1279, 705, 1129, 2816, 6, 535...
What was the attendance on week 12?
SELECT "Attendance" FROM table_10609 WHERE "Week" = '12'
[ 2061, 373, 262, 14858, 319, 1285, 1105, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 940, 31751, 33411, 366, 20916, 1, 796, 705, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 319, 1285, 1105, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 940, 31751, 33411, 366, 20916, 1, 796, 705, 1065, 6 ]
What song was written after 1976 and directed by Rahul Dev Burman?
SELECT "Song" FROM table_68645 WHERE "Year" > '1976' AND "Music director(s)" = 'rahul dev burman'
[ 2061, 3496, 373, 3194, 706, 15408, 290, 7924, 416, 48543, 6245, 5481, 805, 30, 46506, 366, 44241, 1, 16034, 3084, 62, 33808, 2231, 33411, 366, 17688, 1, 1875, 705, 38108, 6, 5357, 366, 22648, 3437, 7, 82, 16725, 796, 705, 11392, 377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3496, 373, 3194, 706, 15408, 290, 7924, 416, 48543, 6245, 5481, 805, 30, 46506, 366, 44241, 1, 16034, 3084, 62, 33808, 2231, 33411, 366, 17688, 1, 1875, 705, 38108, 6, 5357, 366, 22648, 3437, 7, 82, 16725, 796, 705, 11392, 377, ...
Show all publishers and the number of books for each publisher.
SELECT publisher, COUNT(*) FROM book_club GROUP BY publisher
[ 15307, 477, 17604, 290, 262, 1271, 286, 3835, 329, 1123, 9991, 13, 46506, 9991, 11, 327, 28270, 7, 28104, 16034, 1492, 62, 18664, 44441, 11050, 9991 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 17604, 290, 262, 1271, 286, 3835, 329, 1123, 9991, 13, 46506, 9991, 11, 327, 28270, 7, 28104, 16034, 1492, 62, 18664, 44441, 11050, 9991 ]
Which polling institute showed a lead of 6%?
SELECT "Polling institute" FROM table_66677 WHERE "Lead" = '6%'
[ 13828, 13985, 24224, 3751, 257, 1085, 286, 718, 4, 30, 46506, 366, 39176, 278, 24224, 1, 16034, 3084, 62, 2791, 40179, 33411, 366, 20451, 1, 796, 705, 21, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 13985, 24224, 3751, 257, 1085, 286, 718, 4, 30, 46506, 366, 39176, 278, 24224, 1, 16034, 3084, 62, 2791, 40179, 33411, 366, 20451, 1, 796, 705, 21, 4, 6 ]
how many points did the argentinos juniors team score during the 1986-87 season?
SELECT "1986-87" FROM table_19368 WHERE "Team" = 'Argentinos Juniors'
[ 4919, 867, 2173, 750, 262, 1822, 298, 11996, 10891, 12706, 1074, 4776, 1141, 262, 12113, 12, 5774, 1622, 30, 46506, 366, 28054, 12, 5774, 1, 16034, 3084, 62, 1129, 27412, 33411, 366, 15592, 1, 796, 705, 3163, 6783, 11996, 7653, 12706, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2173, 750, 262, 1822, 298, 11996, 10891, 12706, 1074, 4776, 1141, 262, 12113, 12, 5774, 1622, 30, 46506, 366, 28054, 12, 5774, 1, 16034, 3084, 62, 1129, 27412, 33411, 366, 15592, 1, 796, 705, 3163, 6783, 11996, 7653, 12706, ...
Which Qual has Laps smaller than 195, and a Rank of 25?
SELECT "Qual" FROM table_13661 WHERE "Laps" < '195' AND "Rank" = '25'
[ 13828, 9537, 468, 406, 1686, 4833, 621, 24793, 11, 290, 257, 10916, 286, 1679, 30, 46506, 366, 46181, 1, 16034, 3084, 62, 1485, 47159, 33411, 366, 43, 1686, 1, 1279, 705, 22186, 6, 5357, 366, 27520, 1, 796, 705, 1495, 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 ]
[ 13828, 9537, 468, 406, 1686, 4833, 621, 24793, 11, 290, 257, 10916, 286, 1679, 30, 46506, 366, 46181, 1, 16034, 3084, 62, 1485, 47159, 33411, 366, 43, 1686, 1, 1279, 705, 22186, 6, 5357, 366, 27520, 1, 796, 705, 1495, 6 ]
what is the number of patients whose diagnoses long title is unspecified osteomyelitis, other specified sites and drug type is additive?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Unspecified osteomyelitis, other specified sites" AND prescriptions.drug_type = "ADDITIVE"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 29547, 32674, 9145, 417, 11815, 11, 584, 7368, 5043, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 29547, 32674, 9145, 417, 11815, 11, 584, 7368, 5043, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1672...
Number of questions and answers by year.
SELECT YEAR(p.CreationDate) AS Year, COUNT(CASE WHEN PostTypeId = 1 THEN p.Id ELSE NULL END) AS Questions, COUNT(CASE WHEN PostTypeId = 2 THEN p.Id ELSE NULL END) AS Answers FROM Posts AS p WHERE PostTypeId IN (1, 2) GROUP BY YEAR(p.CreationDate)
[ 15057, 286, 2683, 290, 7429, 416, 614, 13, 46506, 32914, 7, 79, 13, 12443, 341, 10430, 8, 7054, 6280, 11, 327, 28270, 7, 34, 11159, 42099, 2947, 6030, 7390, 796, 352, 42243, 279, 13, 7390, 17852, 5188, 15697, 23578, 8, 7054, 20396, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15057, 286, 2683, 290, 7429, 416, 614, 13, 46506, 32914, 7, 79, 13, 12443, 341, 10430, 8, 7054, 6280, 11, 327, 28270, 7, 34, 11159, 42099, 2947, 6030, 7390, 796, 352, 42243, 279, 13, 7390, 17852, 5188, 15697, 23578, 8, 7054, 20396, ...
What is the fielding team with 155 runs?
SELECT fielding_team FROM table_11303072_5 WHERE runs = "155"
[ 2061, 318, 262, 43985, 1074, 351, 20708, 4539, 30, 46506, 43985, 62, 15097, 16034, 3084, 62, 1157, 1270, 1270, 4761, 62, 20, 33411, 4539, 796, 366, 18742, 1 ]
[ 1, 1, 1, 1, 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, 43985, 1074, 351, 20708, 4539, 30, 46506, 43985, 62, 15097, 16034, 3084, 62, 1157, 1270, 1270, 4761, 62, 20, 33411, 4539, 796, 366, 18742, 1 ]
Top SO users in Srikakulam.
SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE LOWER(Location) LIKE '%Pathapatnam%' OR LOWER(Location) LIKE '%pathapatnam%' ORDER BY Reputation DESC LIMIT 100
[ 9126, 12809, 2985, 287, 311, 12602, 461, 377, 321, 13, 46506, 5121, 11, 16531, 5376, 11, 1432, 7094, 11, 15887, 28165, 11, 13397, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 705, 4, 15235, 499, 265, 7402, 4, 6, 6375, 406, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 12809, 2985, 287, 311, 12602, 461, 377, 321, 13, 46506, 5121, 11, 16531, 5376, 11, 1432, 7094, 11, 15887, 28165, 11, 13397, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 705, 4, 15235, 499, 265, 7402, 4, 6, 6375, 406, 3...
What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
SELECT SUM("Total") FROM table_31791 WHERE "Rank" > '6' AND "Gold" > '0' AND "Silver" = '2'
[ 2061, 318, 262, 2160, 286, 477, 26310, 351, 257, 4279, 3744, 621, 718, 11, 3869, 3744, 621, 657, 11, 290, 8465, 3744, 621, 362, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 34125, 6420, 33411, 366, 27520, 1, 1875, 705, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 477, 26310, 351, 257, 4279, 3744, 621, 718, 11, 3869, 3744, 621, 657, 11, 290, 8465, 3744, 621, 362, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 34125, 6420, 33411, 366, 27520, 1, 1875, 705, 21, ...
Who had all the high rebounds when kevin love (20) scored the highest points?
SELECT "High rebounds" FROM table_21245 WHERE "High points" = 'Kevin Love (20)'
[ 8241, 550, 477, 262, 1029, 18841, 618, 885, 7114, 1842, 357, 1238, 8, 7781, 262, 4511, 2173, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 21777, 2231, 33411, 366, 11922, 2173, 1, 796, 705, 23865, 5896, 357, 1238, 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 ]
[ 8241, 550, 477, 262, 1029, 18841, 618, 885, 7114, 1842, 357, 1238, 8, 7781, 262, 4511, 2173, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 21777, 2231, 33411, 366, 11922, 2173, 1, 796, 705, 23865, 5896, 357, 1238, 33047 ]
Posts with Tags for the last 60 days.
SELECT * FROM Posts INNER JOIN PostTags ON Posts.Id = PostTags.PostId INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE DATEDIFF(day, Posts.CreationDate, GETDATE()) < 60
[ 21496, 351, 44789, 329, 262, 938, 3126, 1528, 13, 46506, 1635, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 12043, 13, 7390, 796, 2947, 36142, 13, 6307, 7390, 3268, 21479, 32357, 1268, 44789, 6177, 2947, 36142, 13, 24835, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 21496, 351, 44789, 329, 262, 938, 3126, 1528, 13, 46506, 1635, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 12043, 13, 7390, 796, 2947, 36142, 13, 6307, 7390, 3268, 21479, 32357, 1268, 44789, 6177, 2947, 36142, 13, 24835, 73...
what is the average total hospital cost which involves nonop cardiac/vasc exam in a year before?
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'nonop cardiac/vasc exam')) AND DATETIME(cost.chargetime, ...
[ 10919, 318, 262, 2811, 2472, 4436, 1575, 543, 9018, 1729, 404, 26077, 14, 85, 3372, 2814, 287, 257, 614, 878, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2811, 2472, 4436, 1575, 543, 9018, 1729, 404, 26077, 14, 85, 3372, 2814, 287, 257, 614, 878, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575...
What is the length of the Panther Chameleon?
SELECT length__female_ FROM table_name_15 WHERE common_name = "panther chameleon"
[ 2061, 318, 262, 4129, 286, 262, 30364, 609, 480, 38970, 30, 46506, 4129, 834, 24724, 62, 16034, 3084, 62, 3672, 62, 1314, 33411, 2219, 62, 3672, 796, 366, 79, 415, 372, 442, 480, 38970, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4129, 286, 262, 30364, 609, 480, 38970, 30, 46506, 4129, 834, 24724, 62, 16034, 3084, 62, 3672, 62, 1314, 33411, 2219, 62, 3672, 796, 366, 79, 415, 372, 442, 480, 38970, 1 ]
how many patients whose religion is greek orthodox?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "GREEK ORTHODOX"
[ 4919, 867, 3871, 3025, 5737, 318, 308, 10316, 28299, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 38, 11587, 42, 6375, 4221, 3727, 48632, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5737, 318, 308, 10316, 28299, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 38, 11587, 42, 6375, 4221, 3727, 48632, 1 ]
When was the Lisa 2 model discontinued?
SELECT discontinued FROM table_name_45 WHERE model = "lisa 2"
[ 2215, 373, 262, 15378, 362, 2746, 31349, 30, 46506, 31349, 16034, 3084, 62, 3672, 62, 2231, 33411, 2746, 796, 366, 75, 9160, 362, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 15378, 362, 2746, 31349, 30, 46506, 31349, 16034, 3084, 62, 3672, 62, 2231, 33411, 2746, 796, 366, 75, 9160, 362, 1 ]
What is the lowest number of floors recorded for buildings built by Dubai Marriott Harbour Hotel & Suites?
SELECT MIN(floors) FROM table_name_82 WHERE name = "dubai marriott harbour hotel & suites"
[ 2061, 318, 262, 9016, 1271, 286, 18570, 6264, 329, 6832, 3170, 416, 24520, 49722, 42177, 12696, 1222, 1778, 2737, 30, 46506, 20625, 7, 48679, 669, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 1438, 796, 366, 67, 549, 1872, 1667, 43517, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 18570, 6264, 329, 6832, 3170, 416, 24520, 49722, 42177, 12696, 1222, 1778, 2737, 30, 46506, 20625, 7, 48679, 669, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 1438, 796, 366, 67, 549, 1872, 1667, 43517, ...
What is the nickname of the newberry college?
SELECT "Nickname" FROM table_17014 WHERE "Institution" = 'Newberry College'
[ 2061, 318, 262, 21814, 286, 262, 649, 8396, 4152, 30, 46506, 366, 23609, 3672, 1, 16034, 3084, 62, 1558, 28645, 33411, 366, 6310, 2738, 1, 796, 705, 3791, 8396, 5535, 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, 21814, 286, 262, 649, 8396, 4152, 30, 46506, 366, 23609, 3672, 1, 16034, 3084, 62, 1558, 28645, 33411, 366, 6310, 2738, 1, 796, 705, 3791, 8396, 5535, 6 ]
How to check if a specific user answered my question?.
SELECT Q.Id AS "post_link", CONCAT('site://a/', A.Id, '|', A.Id) AS "answer_link" FROM Posts AS Q JOIN Posts AS A ON A.ParentId = Q.Id AND A.PostTypeId = 2 AND A.OwnerUserId = @AnswererId WHERE Q.PostTypeId = 1 AND Q.OwnerUserId = @OpId
[ 2437, 284, 2198, 611, 257, 2176, 2836, 9373, 616, 1808, 30, 13, 46506, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 39962, 1404, 10786, 15654, 1378, 64, 14, 3256, 317, 13, 7390, 11, 705, 91, 3256, 317, 13, 7390, 8, 7054, 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...
[ 2437, 284, 2198, 611, 257, 2176, 2836, 9373, 616, 1808, 30, 13, 46506, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 39962, 1404, 10786, 15654, 1378, 64, 14, 3256, 317, 13, 7390, 11, 705, 91, 3256, 317, 13, 7390, 8, 7054, 366, ...
How many people were assisted in 1997?
SELECT "People Assisted" FROM table_78290 WHERE "Year" = '1997'
[ 2437, 867, 661, 547, 18419, 287, 8309, 30, 46506, 366, 8061, 2195, 6347, 1, 16034, 3084, 62, 3695, 24369, 33411, 366, 17688, 1, 796, 705, 21498, 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 ]
[ 2437, 867, 661, 547, 18419, 287, 8309, 30, 46506, 366, 8061, 2195, 6347, 1, 16034, 3084, 62, 3695, 24369, 33411, 366, 17688, 1, 796, 705, 21498, 6 ]
what is the cheapest flight from DENVER to PITTSBURGH
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1....
[ 10919, 318, 262, 28918, 5474, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28918, 5474, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 316...
What was the theatre where Peter P. Peters is the role?
SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = "peter p. peters"
[ 2061, 373, 262, 21421, 810, 5613, 350, 13, 15722, 318, 262, 2597, 30, 46506, 21421, 11, 4808, 19149, 952, 11, 4808, 273, 62, 27349, 16034, 3084, 62, 3672, 62, 23, 33411, 2597, 796, 366, 79, 2357, 279, 13, 4273, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21421, 810, 5613, 350, 13, 15722, 318, 262, 2597, 30, 46506, 21421, 11, 4808, 19149, 952, 11, 4808, 273, 62, 27349, 16034, 3084, 62, 3672, 62, 23, 33411, 2597, 796, 366, 79, 2357, 279, 13, 4273, 364, 1 ]
What is the total number of rounds of the end player with a pick number greater than 303?
SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end"
[ 2061, 318, 262, 2472, 1271, 286, 9196, 286, 262, 886, 2137, 351, 257, 2298, 1271, 3744, 621, 30727, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 2298, 1875, 30727, 5357, 2292, 796, 366, 437, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 9196, 286, 262, 886, 2137, 351, 257, 2298, 1271, 3744, 621, 30727, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 2298, 1875, 30727, 5357, 2292, 796, 366, 437, 1 ]
Just show employees' salaries by their first name in a bar chart, and list from low to high by the y-axis please.
SELECT FIRST_NAME, SALARY FROM employees ORDER BY SALARY
[ 5703, 905, 4409, 6, 17058, 416, 511, 717, 1438, 287, 257, 2318, 8262, 11, 290, 1351, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 3387, 13, 46506, 31328, 62, 20608, 11, 42475, 13153, 16034, 4409, 38678, 11050, 42475, 13153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5703, 905, 4409, 6, 17058, 416, 511, 717, 1438, 287, 257, 2318, 8262, 11, 290, 1351, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 3387, 13, 46506, 31328, 62, 20608, 11, 42475, 13153, 16034, 4409, 38678, 11050, 42475, 13153 ]
close votes agianst posts that are not closed.
SELECT p.Id AS "post_link", COUNT(*) AS "close_votes" FROM Posts AS p INNER JOIN PostHistory AS ph ON ph.PostId = p.Id WHERE p.ClosedDate IS NULL AND ph.PostHistoryTypeId = 10 AND p.PostTypeId = 1 GROUP BY p.Id
[ 19836, 5690, 556, 666, 301, 6851, 326, 389, 407, 4838, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 366, 19836, 62, 29307, 1, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 18122, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19836, 5690, 556, 666, 301, 6851, 326, 389, 407, 4838, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 366, 19836, 62, 29307, 1, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 18122, 70...