instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was the score for Hawthorn when they were the away team?
SELECT away_team AS score FROM table_name_56 WHERE away_team = "hawthorn"
[ 2061, 373, 262, 4776, 329, 41457, 1211, 618, 484, 547, 262, 1497, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3980, 33411, 1497, 62, 15097, 796, 366, 26615, 400, 1211, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 329, 41457, 1211, 618, 484, 547, 262, 1497, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3980, 33411, 1497, 62, 15097, 796, 366, 26615, 400, 1211, 1 ]
My posts (only links) in reverse chronological order.
SELECT p.Id AS "post_link" FROM Posts AS p WHERE p.OwnerUserId = '##UserId##' ORDER BY p.CreationDate DESC
[ 3666, 6851, 357, 8807, 6117, 8, 287, 9575, 45946, 1502, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 279, 33411, 279, 13, 42419, 12982, 7390, 796, 705, 2235, 12982, 7390, 2235, 6, 38678, 11050, 279, 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 ]
[ 3666, 6851, 357, 8807, 6117, 8, 287, 9575, 45946, 1502, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 279, 33411, 279, 13, 42419, 12982, 7390, 796, 705, 2235, 12982, 7390, 2235, 6, 38678, 11050, 279, 13, ...
What is the Team that has a Races of 4, and a Points of 0?
SELECT "Team" FROM table_50631 WHERE "Races" = '4' AND "Points" = '0'
[ 2061, 318, 262, 4816, 326, 468, 257, 45134, 286, 604, 11, 290, 257, 11045, 286, 657, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 35638, 3132, 33411, 366, 49, 2114, 1, 796, 705, 19, 6, 5357, 366, 40710, 1, 796, 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 ]
[ 2061, 318, 262, 4816, 326, 468, 257, 45134, 286, 604, 11, 290, 257, 11045, 286, 657, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 35638, 3132, 33411, 366, 49, 2114, 1, 796, 705, 19, 6, 5357, 366, 40710, 1, 796, 705, 15, 6 ]
Name the maximum clock rate mhz
SELECT MAX(clock_rate__mhz_) FROM table_142573_1
[ 5376, 262, 5415, 8801, 2494, 285, 32179, 46506, 25882, 7, 15750, 62, 4873, 834, 76, 32179, 62, 8, 16034, 3084, 62, 1415, 1495, 4790, 62, 16 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 5415, 8801, 2494, 285, 32179, 46506, 25882, 7, 15750, 62, 4873, 834, 76, 32179, 62, 8, 16034, 3084, 62, 1415, 1495, 4790, 62, 16 ]
has patient 027-142451 had a wound care - dressing change procedure performed at other hospitals in 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '027-142451' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '027-142451' AND patient.hospitaldischargetime IS NULL)) AND ...
[ 10134, 5827, 657, 1983, 12, 1415, 1731, 4349, 550, 257, 11699, 1337, 532, 18544, 1487, 8771, 6157, 379, 584, 11301, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 657, 1983, 12, 1415, 1731, 4349, 550, 257, 11699, 1337, 532, 18544, 1487, 8771, 6157, 379, 584, 11301, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 326...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the average of department_id over the hire_date bin hire_date by weekday by a bar chart, list in asc by the y axis.
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(DEPARTMENT_ID)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 416,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 416,...
what are the evening flights from ATLANTA to BALTIMORE
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTI...
[ 10919, 389, 262, 6180, 13956, 422, 5161, 25697, 5603, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6180, 13956, 422, 5161, 25697, 5603, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271,...
What are the notes for the shirt that says +1 in the kit supplied by Rapido?
SELECT notes FROM table_name_85 WHERE kit_supplier = "rapido" AND shirt_printing = "名品+1"
[ 2061, 389, 262, 4710, 329, 262, 10147, 326, 1139, 1343, 16, 287, 262, 6220, 14275, 416, 12281, 17305, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 5332, 33411, 6220, 62, 18608, 2505, 796, 366, 2416, 17305, 1, 5357, 10147, 62, 4798, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4710, 329, 262, 10147, 326, 1139, 1343, 16, 287, 262, 6220, 14275, 416, 12281, 17305, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 5332, 33411, 6220, 62, 18608, 2505, 796, 366, 2416, 17305, 1, 5357, 10147, 62, 4798, 278...
How much Attendance has an Opponent of swindon wildcats?
SELECT COUNT("Attendance") FROM table_34417 WHERE "Opponent" = 'swindon wildcats'
[ 2437, 881, 46502, 590, 468, 281, 9385, 3471, 286, 1509, 521, 261, 4295, 24619, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 33535, 1558, 33411, 366, 27524, 3471, 1, 796, 705, 2032, 521, 261, 4295, 24619, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 46502, 590, 468, 281, 9385, 3471, 286, 1509, 521, 261, 4295, 24619, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 33535, 1558, 33411, 366, 27524, 3471, 1, 796, 705, 2032, 521, 261, 4295, 24619, 6 ]
When bahamas is the country what is the height in centimeters?
SELECT height__cm_ FROM table_18626383_2 WHERE country = "Bahamas"
[ 2215, 275, 993, 17485, 318, 262, 1499, 644, 318, 262, 6001, 287, 48829, 30, 46506, 6001, 834, 11215, 62, 16034, 3084, 62, 25096, 2075, 34741, 62, 17, 33411, 1499, 796, 366, 47514, 17485, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 275, 993, 17485, 318, 262, 1499, 644, 318, 262, 6001, 287, 48829, 30, 46506, 6001, 834, 11215, 62, 16034, 3084, 62, 25096, 2075, 34741, 62, 17, 33411, 1499, 796, 366, 47514, 17485, 1 ]
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?
SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23
[ 2061, 318, 262, 9016, 1271, 24684, 329, 262, 1074, 326, 550, 1342, 621, 807, 7864, 11, 7781, 2310, 11, 290, 550, 1342, 621, 2242, 2173, 30, 46506, 20625, 7, 1102, 771, 276, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 7864, 1279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 24684, 329, 262, 1074, 326, 550, 1342, 621, 807, 7864, 11, 7781, 2310, 11, 290, 550, 1342, 621, 2242, 2173, 30, 46506, 20625, 7, 1102, 771, 276, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 7864, 1279, 807,...
which patients have prescription for aripiprazole medication?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Aripiprazole"
[ 4758, 3871, 423, 15077, 329, 257, 5528, 541, 3247, 2305, 14103, 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, 340...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 423, 15077, 329, 257, 5528, 541, 3247, 2305, 14103, 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, 340...
What's the average total if the Bronze is 5 and the Silver is less than 4?
SELECT AVG(total) FROM table_name_25 WHERE bronze = 5 AND silver < 4
[ 2061, 338, 262, 2811, 2472, 611, 262, 19461, 318, 642, 290, 262, 7698, 318, 1342, 621, 604, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 22101, 796, 642, 5357, 8465, 1279, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2472, 611, 262, 19461, 318, 642, 290, 262, 7698, 318, 1342, 621, 604, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 1495, 33411, 22101, 796, 642, 5357, 8465, 1279, 604 ]
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id, and list bars in asc order.
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1351, 9210, 287...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1351, 9210, 287...
what was the score on june 29 when the devil rays los?
SELECT score FROM table_name_11 WHERE losing_team = "devil rays" AND date = "june 29"
[ 10919, 373, 262, 4776, 319, 474, 1726, 2808, 618, 262, 17118, 24823, 22346, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1157, 33411, 6078, 62, 15097, 796, 366, 7959, 346, 24823, 1, 5357, 3128, 796, 366, 73, 1726, 2808, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 319, 474, 1726, 2808, 618, 262, 17118, 24823, 22346, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1157, 33411, 6078, 62, 15097, 796, 366, 7959, 346, 24823, 1, 5357, 3128, 796, 366, 73, 1726, 2808, 1 ]
what is the maximum number of hull numbers?
SELECT MAX(hull_numbers) FROM table_12232526_2
[ 10919, 318, 262, 5415, 1271, 286, 23644, 3146, 30, 46506, 25882, 7, 71, 724, 62, 77, 17024, 8, 16034, 3084, 62, 1065, 1954, 1495, 2075, 62, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5415, 1271, 286, 23644, 3146, 30, 46506, 25882, 7, 71, 724, 62, 77, 17024, 8, 16034, 3084, 62, 1065, 1954, 1495, 2075, 62, 17 ]
how many patients whose age is less than 85 and procedure long title is other diagnostic procedures on skin and subcutaneous tissue?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "85" AND procedures.long_title = "Other diagnostic procedures on skin and subcutaneous tissue"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 7600, 290, 8771, 890, 3670, 318, 584, 23584, 9021, 319, 4168, 290, 850, 8968, 11655, 10712, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 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...
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 7600, 290, 8771, 890, 3670, 318, 584, 23584, 9021, 319, 4168, 290, 850, 8968, 11655, 10712, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268,...
when was last time patient 26350 was measured with a respiratory rate less than 18.0?
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26350)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'respirat...
[ 12518, 373, 938, 640, 5827, 2608, 14877, 373, 8630, 351, 257, 22949, 2494, 1342, 621, 1248, 13, 15, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 640, 5827, 2608, 14877, 373, 8630, 351, 257, 22949, 2494, 1342, 621, 1248, 13, 15, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, ...
What is the Place of the Player with a Score of 67-76-74-67=284?
SELECT place FROM table_name_37 WHERE score = 67 - 76 - 74 - 67 = 284
[ 2061, 318, 262, 8474, 286, 262, 7853, 351, 257, 15178, 286, 8275, 12, 4304, 12, 4524, 12, 3134, 28, 30336, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2718, 33411, 4776, 796, 8275, 532, 8684, 532, 8915, 532, 8275, 796, 40654 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8474, 286, 262, 7853, 351, 257, 15178, 286, 8275, 12, 4304, 12, 4524, 12, 3134, 28, 30336, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2718, 33411, 4776, 796, 8275, 532, 8684, 532, 8915, 532, 8275, 796, 40654 ]
What is the marketing region code that has the most drama workshop groups?
SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 7124, 3814, 2438, 326, 468, 262, 749, 10512, 20243, 2628, 30, 46506, 22137, 62, 47371, 62, 10669, 16034, 30647, 62, 23044, 8548, 62, 38, 14459, 44441, 11050, 22137, 62, 47371, 62, 10669, 38678, 11050, 327, 28270, 7, 2810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7124, 3814, 2438, 326, 468, 262, 749, 10512, 20243, 2628, 30, 46506, 22137, 62, 47371, 62, 10669, 16034, 30647, 62, 23044, 8548, 62, 38, 14459, 44441, 11050, 22137, 62, 47371, 62, 10669, 38678, 11050, 327, 28270, 7, 2810...
What is Place, when Score is '73-71=144', and when Player is 'Scott Simpson'?
SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson"
[ 2061, 318, 8474, 11, 618, 15178, 318, 705, 4790, 12, 4869, 28, 18444, 3256, 290, 618, 7853, 318, 705, 19040, 20531, 30960, 46506, 1295, 16034, 3084, 62, 3672, 62, 2791, 33411, 4776, 796, 8854, 532, 9166, 796, 20224, 5357, 2137, 796, 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 ]
[ 2061, 318, 8474, 11, 618, 15178, 318, 705, 4790, 12, 4869, 28, 18444, 3256, 290, 618, 7853, 318, 705, 19040, 20531, 30960, 46506, 1295, 16034, 3084, 62, 3672, 62, 2791, 33411, 4776, 796, 8854, 532, 9166, 796, 20224, 5357, 2137, 796, 3...
Custom Off Topic close reasons.
SELECT * FROM CloseAsOffTopicReasonTypes WHERE DeactivationDate IS NULL
[ 15022, 3242, 47373, 1969, 3840, 13, 46506, 1635, 16034, 13872, 1722, 9362, 33221, 45008, 31431, 33411, 1024, 48545, 10430, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15022, 3242, 47373, 1969, 3840, 13, 46506, 1635, 16034, 13872, 1722, 9362, 33221, 45008, 31431, 33411, 1024, 48545, 10430, 3180, 15697 ]
Name the recognised seats for pharmacology
SELECT "Recognised Seats" FROM table_2024 WHERE "Discipline" = 'Pharmacology'
[ 5376, 262, 20915, 8632, 329, 25702, 1435, 46506, 366, 6690, 2360, 1417, 1001, 1381, 1, 16034, 3084, 62, 1238, 1731, 33411, 366, 7279, 34647, 1, 796, 705, 2725, 32813, 1435, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 20915, 8632, 329, 25702, 1435, 46506, 366, 6690, 2360, 1417, 1001, 1381, 1, 16034, 3084, 62, 1238, 1731, 33411, 366, 7279, 34647, 1, 796, 705, 2725, 32813, 1435, 6 ]
What was the surface on the game with margit r tel anett schutting as the opponent?
SELECT "Surface" FROM table_56732 WHERE "Opponents" = 'margit rüütel anett schutting'
[ 2061, 373, 262, 4417, 319, 262, 983, 351, 6145, 270, 374, 13632, 281, 3087, 5513, 315, 889, 355, 262, 6125, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 20, 3134, 2624, 33411, 366, 27524, 3906, 1, 796, 705, 30887, 270, 374, 9116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4417, 319, 262, 983, 351, 6145, 270, 374, 13632, 281, 3087, 5513, 315, 889, 355, 262, 6125, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 20, 3134, 2624, 33411, 366, 27524, 3906, 1, 796, 705, 30887, 270, 374, 9116...
what was the cause of the most deaths ?
SELECT "description" FROM table_203_234 ORDER BY "total" DESC LIMIT 1
[ 10919, 373, 262, 2728, 286, 262, 749, 7040, 5633, 46506, 366, 11213, 1, 16034, 3084, 62, 22416, 62, 24409, 38678, 11050, 366, 23350, 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 ]
[ 10919, 373, 262, 2728, 286, 262, 749, 7040, 5633, 46506, 366, 11213, 1, 16034, 3084, 62, 22416, 62, 24409, 38678, 11050, 366, 23350, 1, 22196, 34, 27564, 2043, 352 ]
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
SELECT "Rookie" FROM table_55529 WHERE "Defensive" = 'matt vinc' AND "Offensive" = 'pat maddalena'
[ 8241, 373, 262, 12302, 508, 2826, 618, 4705, 569, 1939, 373, 6110, 290, 3208, 21457, 282, 8107, 373, 5859, 30, 46506, 366, 49, 18055, 1, 16034, 3084, 62, 31046, 1959, 33411, 366, 7469, 2021, 1, 796, 705, 76, 1078, 410, 1939, 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 ]
[ 8241, 373, 262, 12302, 508, 2826, 618, 4705, 569, 1939, 373, 6110, 290, 3208, 21457, 282, 8107, 373, 5859, 30, 46506, 366, 49, 18055, 1, 16034, 3084, 62, 31046, 1959, 33411, 366, 7469, 2021, 1, 796, 705, 76, 1078, 410, 1939, 6, 5357...
what is the maximum daily number of patients with thrombot microangiopathy diagnosed until 2104?
SELECT MAX(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 = 'thrombot microangiopathy') AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104' GROUP BY STRFTIME('%y...
[ 10919, 318, 262, 5415, 4445, 1271, 286, 3871, 351, 294, 398, 13645, 4580, 648, 14922, 10036, 14641, 1566, 362, 13464, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, 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...
[ 10919, 318, 262, 5415, 4445, 1271, 286, 3871, 351, 294, 398, 13645, 4580, 648, 14922, 10036, 14641, 1566, 362, 13464, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, 291...
which candidate had the most votes ?
SELECT "candidate" FROM table_202_125 ORDER BY "votes" DESC LIMIT 1
[ 4758, 4540, 550, 262, 749, 5690, 5633, 46506, 366, 46188, 20540, 1, 16034, 3084, 62, 19004, 62, 11623, 38678, 11050, 366, 29307, 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 ]
[ 4758, 4540, 550, 262, 749, 5690, 5633, 46506, 366, 46188, 20540, 1, 16034, 3084, 62, 19004, 62, 11623, 38678, 11050, 366, 29307, 1, 22196, 34, 27564, 2043, 352 ]
what are the four most frequent intakes in 2100?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT inputevents_cv.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM inputevents_cv WHERE STRFTIME('%y', inputevents_cv.charttime) = '2100' GROUP BY inputevents_cv.itemid) AS t1 WHERE t1.c1 <= 4)
[ 10919, 389, 262, 1440, 749, 10792, 42219, 287, 38123, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506, 287, 79, 1133, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10792, 42219, 287, 38123, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506, 287, 79, 1133, 85, ...
What is the score when the tie is 8?
SELECT "Score" FROM table_78916 WHERE "Tie no" = '8'
[ 2061, 318, 262, 4776, 618, 262, 9839, 318, 807, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 40401, 1433, 33411, 366, 51, 494, 645, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 618, 262, 9839, 318, 807, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 40401, 1433, 33411, 366, 51, 494, 645, 1, 796, 705, 23, 6 ]
What is the period total number if the name is Gerald o?
SELECT COUNT(period) FROM table_24565004_8 WHERE name = "Geraldão"
[ 2061, 318, 262, 2278, 2472, 1271, 611, 262, 1438, 318, 27027, 267, 30, 46506, 327, 28270, 7, 41007, 8, 16034, 3084, 62, 22995, 2996, 22914, 62, 23, 33411, 1438, 796, 366, 38, 12573, 28749, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2278, 2472, 1271, 611, 262, 1438, 318, 27027, 267, 30, 46506, 327, 28270, 7, 41007, 8, 16034, 3084, 62, 22995, 2996, 22914, 62, 23, 33411, 1438, 796, 366, 38, 12573, 28749, 1 ]
What music is in the film before 1962?
SELECT "Music" FROM table_55094 WHERE "Year" = '1962'
[ 2061, 2647, 318, 287, 262, 2646, 878, 20033, 30, 46506, 366, 22648, 1, 16034, 3084, 62, 22730, 5824, 33411, 366, 17688, 1, 796, 705, 1129, 5237, 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, 2647, 318, 287, 262, 2646, 878, 20033, 30, 46506, 366, 22648, 1, 16034, 3084, 62, 22730, 5824, 33411, 366, 17688, 1, 796, 705, 1129, 5237, 6 ]
Which Rim diameter has a Neck diameter of 11.84 (.466)?
SELECT "Rim diameter" FROM table_74705 WHERE "Neck diameter" = '11.84 (.466)'
[ 13828, 29542, 14753, 468, 257, 34726, 14753, 286, 1367, 13, 5705, 20262, 42199, 19427, 46506, 366, 49, 320, 14753, 1, 16034, 3084, 62, 4524, 34801, 33411, 366, 8199, 694, 14753, 1, 796, 705, 1157, 13, 5705, 20262, 42199, 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 ]
[ 13828, 29542, 14753, 468, 257, 34726, 14753, 286, 1367, 13, 5705, 20262, 42199, 19427, 46506, 366, 49, 320, 14753, 1, 16034, 3084, 62, 4524, 34801, 33411, 366, 8199, 694, 14753, 1, 796, 705, 1157, 13, 5705, 20262, 42199, 33047 ]
How many employees are there?
SELECT COUNT(*) FROM staff
[ 2437, 867, 4409, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 3085 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4409, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 3085 ]
what were the four most frequently taken specimen tests until 3 years ago?
SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE DATETIME(microbiologyevents.charttime) <= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t1.c1 <= 4
[ 10919, 547, 262, 1440, 749, 6777, 2077, 31674, 5254, 1566, 513, 812, 2084, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 749, 6777, 2077, 31674, 5254, 1566, 513, 812, 2084, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419,...
What is the booking status code of the apartment with apartment number 'Suite 634'?
SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_number = "Suite 634"
[ 2061, 318, 262, 25452, 3722, 2438, 286, 262, 7962, 351, 7962, 1271, 705, 5606, 578, 718, 2682, 30960, 46506, 309, 16, 13, 2070, 278, 62, 13376, 62, 8189, 16034, 5949, 1823, 62, 10482, 654, 7054, 309, 16, 32357, 1268, 22596, 902, 7054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 25452, 3722, 2438, 286, 262, 7962, 351, 7962, 1271, 705, 5606, 578, 718, 2682, 30960, 46506, 309, 16, 13, 2070, 278, 62, 13376, 62, 8189, 16034, 5949, 1823, 62, 10482, 654, 7054, 309, 16, 32357, 1268, 22596, 902, 7054,...
What is the time/retired for the driver with 16 grids?
SELECT "Time/Retired" FROM table_56288 WHERE "Grid" = '16'
[ 2061, 318, 262, 640, 14, 1186, 1202, 329, 262, 4639, 351, 1467, 50000, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 3980, 25270, 33411, 366, 41339, 1, 796, 705, 1433, 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, 640, 14, 1186, 1202, 329, 262, 4639, 351, 1467, 50000, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 3980, 25270, 33411, 366, 41339, 1, 796, 705, 1433, 6 ]
What was the record for the date above 27 and an opponent of the St. Louis Blues?
SELECT record FROM table_name_33 WHERE date > 27 AND opponent = "st. louis blues"
[ 2061, 373, 262, 1700, 329, 262, 3128, 2029, 2681, 290, 281, 6125, 286, 262, 520, 13, 5593, 15261, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2091, 33411, 3128, 1875, 2681, 5357, 6125, 796, 366, 301, 13, 21081, 271, 25570, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 329, 262, 3128, 2029, 2681, 290, 281, 6125, 286, 262, 520, 13, 5593, 15261, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2091, 33411, 3128, 1875, 2681, 5357, 6125, 796, 366, 301, 13, 21081, 271, 25570, 1 ]
show me the cheapest one way fare from BALTIMORE to DALLAS
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 = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.ci...
[ 12860, 502, 262, 28918, 530, 835, 14505, 422, 347, 31429, 3955, 6965, 284, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 28918, 530, 835, 14505, 422, 347, 31429, 3955, 6965, 284, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15...
What kind of No Result has a % Win of 100.00% and a Played larger than 4 in 2012?
SELECT MIN("No Result") FROM table_37364 WHERE "% Win" = '100.00%' AND "Played" > '4' AND "Year" = '2012'
[ 2061, 1611, 286, 1400, 25414, 468, 257, 4064, 7178, 286, 1802, 13, 405, 4, 290, 257, 33101, 4025, 621, 604, 287, 2321, 30, 46506, 20625, 7203, 2949, 25414, 4943, 16034, 3084, 62, 2718, 26780, 33411, 36521, 7178, 1, 796, 705, 3064, 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 ]
[ 2061, 1611, 286, 1400, 25414, 468, 257, 4064, 7178, 286, 1802, 13, 405, 4, 290, 257, 33101, 4025, 621, 604, 287, 2321, 30, 46506, 20625, 7203, 2949, 25414, 4943, 16034, 3084, 62, 2718, 26780, 33411, 36521, 7178, 1, 796, 705, 3064, 13,...
What is the value for the League Cup when the FA Cup value is 0 13 0 (49)?
SELECT league AS Cup FROM table_name_20 WHERE fa_cup = "0 13 0 (49)"
[ 2061, 318, 262, 1988, 329, 262, 4041, 5454, 618, 262, 9677, 5454, 1988, 318, 657, 1511, 657, 357, 2920, 19427, 46506, 4652, 7054, 5454, 16034, 3084, 62, 3672, 62, 1238, 33411, 24685, 62, 25244, 796, 366, 15, 1511, 657, 357, 2920, 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 ]
[ 2061, 318, 262, 1988, 329, 262, 4041, 5454, 618, 262, 9677, 5454, 1988, 318, 657, 1511, 657, 357, 2920, 19427, 46506, 4652, 7054, 5454, 16034, 3084, 62, 3672, 62, 1238, 33411, 24685, 62, 25244, 796, 366, 15, 1511, 657, 357, 2920, 1672...
Which tennis team is from the United States?
SELECT team FROM table_name_55 WHERE sport = "tennis" AND nation_of_citizenship = "united states"
[ 13828, 20790, 1074, 318, 422, 262, 1578, 1829, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2816, 33411, 6332, 796, 366, 1452, 21361, 1, 5357, 3277, 62, 1659, 62, 46801, 1056, 796, 366, 41187, 2585, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 20790, 1074, 318, 422, 262, 1578, 1829, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2816, 33411, 6332, 796, 366, 1452, 21361, 1, 5357, 3277, 62, 1659, 62, 46801, 1056, 796, 366, 41187, 2585, 1 ]
Who plays at Victoria Park?
SELECT away_team FROM table_name_14 WHERE venue = "victoria park"
[ 8241, 5341, 379, 12313, 3250, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 1415, 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 ]
[ 8241, 5341, 379, 12313, 3250, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 1415, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
For those records from the products and each product's manufacturer, return a bar chart about the distribution of headquarter and the sum of price , and group by attribute headquarter, and order from low to high by the y-axis.
SELECT Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Price)
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 1502, 422, 1877, 284, 1029, 416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 1502, 422, 1877, 284, 1029, 416, ...
Find the maximum capacity among rooms in each building with a bar chart, rank by the X-axis from high to low.
SELECT building, MAX(capacity) FROM classroom GROUP BY building ORDER BY building DESC
[ 16742, 262, 5415, 5339, 1871, 9519, 287, 1123, 2615, 351, 257, 2318, 8262, 11, 4279, 416, 262, 1395, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 2615, 11, 25882, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615, 38678, 11050, 2615, 22196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 5415, 5339, 1871, 9519, 287, 1123, 2615, 351, 257, 2318, 8262, 11, 4279, 416, 262, 1395, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 2615, 11, 25882, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615, 38678, 11050, 2615, 22196, ...
have a history of relevant severe drug allergy or hypersensitivity
SELECT * FROM table_train_140 WHERE allergy_to_drug = 1
[ 14150, 257, 2106, 286, 5981, 6049, 2563, 36197, 393, 45086, 40545, 46506, 1635, 16034, 3084, 62, 27432, 62, 15187, 33411, 36197, 62, 1462, 62, 30349, 796, 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 ]
[ 14150, 257, 2106, 286, 5981, 6049, 2563, 36197, 393, 45086, 40545, 46506, 1635, 16034, 3084, 62, 27432, 62, 15187, 33411, 36197, 62, 1462, 62, 30349, 796, 352 ]
what is the number of patients whose primary disease is complete heart block and age is less than 51?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "COMPLETE HEART BLOCK" AND demographic.age < "51"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 1844, 2612, 2512, 290, 2479, 318, 1342, 621, 6885, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 1844, 2612, 2512, 290, 2479, 318, 1342, 621, 6885, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796...
Show the average salary by each hire date of employees, and please bin the hire date into the day of week interval for showing a bar chart.
SELECT HIRE_DATE, AVG(SALARY) FROM employees
[ 15307, 262, 2811, 9588, 416, 1123, 11078, 3128, 286, 4409, 11, 290, 3387, 9874, 262, 11078, 3128, 656, 262, 1110, 286, 1285, 16654, 329, 4478, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2811, 9588, 416, 1123, 11078, 3128, 286, 4409, 11, 290, 3387, 9874, 262, 11078, 3128, 656, 262, 1110, 286, 1285, 16654, 329, 4478, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, ...
What is the height if de is the position?
SELECT COUNT("Height") FROM table_23982 WHERE "Position" = 'DE'
[ 2061, 318, 262, 6001, 611, 390, 318, 262, 2292, 30, 46506, 327, 28270, 7203, 23106, 4943, 16034, 3084, 62, 1954, 4089, 17, 33411, 366, 26545, 1, 796, 705, 7206, 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, 6001, 611, 390, 318, 262, 2292, 30, 46506, 327, 28270, 7203, 23106, 4943, 16034, 3084, 62, 1954, 4089, 17, 33411, 366, 26545, 1, 796, 705, 7206, 6 ]
What is shown on Friday when Tuesday is Jay Mohr Sports?
SELECT "Friday" FROM table_63879 WHERE "Tuesday" = 'jay mohr sports'
[ 2061, 318, 3402, 319, 3217, 618, 3431, 318, 9180, 9719, 81, 7092, 30, 46506, 366, 20610, 1, 16034, 3084, 62, 21, 2548, 3720, 33411, 366, 26133, 1, 796, 705, 33708, 285, 1219, 81, 5701, 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, 318, 3402, 319, 3217, 618, 3431, 318, 9180, 9719, 81, 7092, 30, 46506, 366, 20610, 1, 16034, 3084, 62, 21, 2548, 3720, 33411, 366, 26133, 1, 796, 705, 33708, 285, 1219, 81, 5701, 6 ]
Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
SELECT AVG("Top 5") FROM table_45367 WHERE "Position" = '52nd' AND "Year" < '2000'
[ 5376, 262, 2811, 5849, 642, 543, 468, 257, 23158, 286, 6740, 358, 351, 257, 6280, 4833, 621, 4751, 30, 46506, 35224, 7203, 9126, 642, 4943, 16034, 3084, 62, 2231, 27824, 33411, 366, 26545, 1, 796, 705, 4309, 358, 6, 5357, 366, 17688, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 5849, 642, 543, 468, 257, 23158, 286, 6740, 358, 351, 257, 6280, 4833, 621, 4751, 30, 46506, 35224, 7203, 9126, 642, 4943, 16034, 3084, 62, 2231, 27824, 33411, 366, 26545, 1, 796, 705, 4309, 358, 6, 5357, 366, 17688, ...
Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimor Municipality (%) of 5.1, and an Entre R os Municipality (%) smaller than 0.9?
SELECT MIN("Pocona Municipality (%)") FROM table_39524 WHERE "Puerto Villarroel Municipality (%)" < '14.6' AND "Chimor\u00e9 Municipality (%)" = '5.1' AND "Entre R\u00edos Municipality (%)" < '0.9'
[ 13828, 39375, 4450, 27338, 1483, 11509, 318, 262, 9016, 530, 326, 468, 257, 15295, 9757, 34852, 417, 27338, 1483, 11509, 4833, 621, 1478, 13, 21, 11, 290, 257, 28466, 273, 27338, 1483, 11509, 286, 642, 13, 16, 11, 290, 281, 7232, 260,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 39375, 4450, 27338, 1483, 11509, 318, 262, 9016, 530, 326, 468, 257, 15295, 9757, 34852, 417, 27338, 1483, 11509, 4833, 621, 1478, 13, 21, 11, 290, 257, 28466, 273, 27338, 1483, 11509, 286, 642, 13, 16, 11, 290, 281, 7232, 260,...
What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia?
SELECT ring_name FROM table_name_49 WHERE stable = "kasugano" AND birthplace = "z mtskheta , georgia"
[ 2061, 318, 12569, 6530, 11, 618, 520, 540, 318, 15035, 1018, 5733, 11, 290, 618, 17647, 5372, 318, 1168, 337, 912, 74, 3202, 64, 837, 7859, 30, 46506, 5858, 62, 3672, 16034, 3084, 62, 3672, 62, 2920, 33411, 8245, 796, 366, 42749, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12569, 6530, 11, 618, 520, 540, 318, 15035, 1018, 5733, 11, 290, 618, 17647, 5372, 318, 1168, 337, 912, 74, 3202, 64, 837, 7859, 30, 46506, 5858, 62, 3672, 16034, 3084, 62, 3672, 62, 2920, 33411, 8245, 796, 366, 42749, 10...
Number of close votes status.
SELECT COUNT(*) FROM Votes WHERE VoteTypeId = 6
[ 15057, 286, 1969, 5690, 3722, 13, 46506, 327, 28270, 7, 28104, 16034, 39584, 33411, 19175, 6030, 7390, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15057, 286, 1969, 5690, 3722, 13, 46506, 327, 28270, 7, 28104, 16034, 39584, 33411, 19175, 6030, 7390, 796, 718 ]
What is the average attendance at a week 4 game?
SELECT AVG(attendance) FROM table_name_97 WHERE week = 4
[ 2061, 318, 262, 2811, 14858, 379, 257, 1285, 604, 983, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 1285, 796, 604 ]
[ 1, 1, 1, 1, 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, 14858, 379, 257, 1285, 604, 983, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 1285, 796, 604 ]
What is the average bronze with a rank of 4 and less than 1 silver?
SELECT AVG(bronze) FROM table_name_73 WHERE rank = 4 AND silver < 1
[ 2061, 318, 262, 2811, 22101, 351, 257, 4279, 286, 604, 290, 1342, 621, 352, 8465, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 4279, 796, 604, 5357, 8465, 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 ]
[ 2061, 318, 262, 2811, 22101, 351, 257, 4279, 286, 604, 290, 1342, 621, 352, 8465, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 4279, 796, 604, 5357, 8465, 1279, 352 ]
What is the phonemic when the phonetic is [p a ]?
SELECT phonemic FROM table_name_42 WHERE phonetic = "[pʰaː˥˥]"
[ 2061, 318, 262, 32896, 5314, 618, 262, 32896, 5139, 318, 685, 79, 257, 2361, 30, 46506, 32896, 5314, 16034, 3084, 62, 3672, 62, 3682, 33411, 32896, 5139, 796, 12878, 79, 134, 108, 64, 135, 238, 135, 98, 135, 98, 30866 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32896, 5314, 618, 262, 32896, 5139, 318, 685, 79, 257, 2361, 30, 46506, 32896, 5314, 16034, 3084, 62, 3672, 62, 3682, 33411, 32896, 5139, 796, 12878, 79, 134, 108, 64, 135, 238, 135, 98, 135, 98, 30866 ]
Show the party and the number of drivers in each party. Plot them as bar chart.
SELECT Party, COUNT(*) FROM driver GROUP BY Party
[ 15307, 262, 2151, 290, 262, 1271, 286, 6643, 287, 1123, 2151, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 4639, 44441, 11050, 3615 ]
[ 1, 1, 1, 1, 1, 1, 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, 2151, 290, 262, 1271, 286, 6643, 287, 1123, 2151, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 4639, 44441, 11050, 3615 ]
WHAT IS THE TOTAL NUMBER OF SEATS IN Hamburgische B rgerschaft WITH AN ABBR OF b ndnis 90 / die gr nen (gal)?
SELECT COUNT(seats_in_hamburgische_bürgerschaft) FROM table_name_18 WHERE abbr = "bündnis 90 / die grünen (gal)"
[ 32971, 3180, 3336, 36247, 36871, 13246, 3963, 7946, 33586, 3268, 32526, 46097, 347, 374, 5355, 11693, 701, 13315, 3537, 9564, 11473, 3963, 275, 299, 67, 21361, 4101, 1220, 4656, 1036, 299, 268, 357, 13528, 19427, 46506, 327, 28270, 7, 325...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32971, 3180, 3336, 36247, 36871, 13246, 3963, 7946, 33586, 3268, 32526, 46097, 347, 374, 5355, 11693, 701, 13315, 3537, 9564, 11473, 3963, 275, 299, 67, 21361, 4101, 1220, 4656, 1036, 299, 268, 357, 13528, 19427, 46506, 327, 28270, 7, 325...
How many players came from Los Angeles?
SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles"
[ 2437, 867, 1938, 1625, 422, 5401, 5652, 30, 46506, 327, 28270, 7, 3672, 8, 16034, 3084, 62, 1731, 47838, 33394, 62, 16, 33411, 20994, 796, 366, 28903, 5652, 1 ]
[ 1, 1, 1, 1, 1, 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, 1938, 1625, 422, 5401, 5652, 30, 46506, 327, 28270, 7, 3672, 8, 16034, 3084, 62, 1731, 47838, 33394, 62, 16, 33411, 20994, 796, 366, 28903, 5652, 1 ]
When the status is rural community what's the lowest area in kilometers squared?
SELECT MIN(area_km_2) FROM table_name_47 WHERE status = "rural community"
[ 2215, 262, 3722, 318, 10016, 2055, 644, 338, 262, 9016, 1989, 287, 18212, 44345, 30, 46506, 20625, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 3722, 796, 366, 81, 1523, 2055, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3722, 318, 10016, 2055, 644, 338, 262, 9016, 1989, 287, 18212, 44345, 30, 46506, 20625, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 3722, 796, 366, 81, 1523, 2055, 1 ]
What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)?
SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = "69g (4g in high oleic variety)"
[ 2061, 318, 262, 7523, 966, 618, 262, 7514, 13271, 30192, 3735, 318, 8644, 70, 357, 19, 70, 287, 1029, 267, 293, 291, 4996, 19427, 46506, 7523, 62, 4122, 16034, 3084, 62, 3672, 62, 1731, 33411, 7514, 13271, 30192, 62, 17359, 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 ]
[ 2061, 318, 262, 7523, 966, 618, 262, 7514, 13271, 30192, 3735, 318, 8644, 70, 357, 19, 70, 287, 1029, 267, 293, 291, 4996, 19427, 46506, 7523, 62, 4122, 16034, 3084, 62, 3672, 62, 1731, 33411, 7514, 13271, 30192, 62, 17359, 796, 366, ...
Who had the high rebounds at the delta center?
SELECT "High rebounds" FROM table_18979 WHERE "Location Attendance" = 'Delta Center'
[ 8241, 550, 262, 1029, 18841, 379, 262, 25979, 3641, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 23362, 3720, 33411, 366, 14749, 46502, 590, 1, 796, 705, 42430, 3337, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 1029, 18841, 379, 262, 25979, 3641, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 23362, 3720, 33411, 366, 14749, 46502, 590, 1, 796, 705, 42430, 3337, 6 ]
Who was the incumbent from the Ohio 13 district?
SELECT incumbent FROM table_name_50 WHERE district = "ohio 13"
[ 8241, 373, 262, 23526, 422, 262, 6835, 1511, 4783, 30, 46506, 23526, 16034, 3084, 62, 3672, 62, 1120, 33411, 4783, 796, 366, 1219, 952, 1511, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 23526, 422, 262, 6835, 1511, 4783, 30, 46506, 23526, 16034, 3084, 62, 3672, 62, 1120, 33411, 4783, 796, 366, 1219, 952, 1511, 1 ]
what is the number of patients whose age is less than 68 and lab test fluid is joint fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "68" AND lab.fluid = "Joint Fluid"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8257, 290, 2248, 1332, 11711, 318, 6466, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8257, 290, 2248, 1332, 11711, 318, 6466, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
What was the result when incumbent John R. Tyson was elected?
SELECT result FROM table_1342426_3 WHERE incumbent = "John R. Tyson"
[ 2061, 373, 262, 1255, 618, 23526, 1757, 371, 13, 27320, 373, 7018, 30, 46506, 1255, 16034, 3084, 62, 19880, 1731, 2075, 62, 18, 33411, 23526, 796, 366, 7554, 371, 13, 27320, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 618, 23526, 1757, 371, 13, 27320, 373, 7018, 30, 46506, 1255, 16034, 3084, 62, 19880, 1731, 2075, 62, 18, 33411, 23526, 796, 366, 7554, 371, 13, 27320, 1 ]
Which Years in Senate has a Years in Assembly of 2010 present, and toni atkins?
SELECT "Years in Senate" FROM table_59660 WHERE "Years in Assembly" = '2010–present' AND "Name" = 'toni atkins'
[ 13828, 13212, 287, 3845, 468, 257, 13212, 287, 10006, 286, 3050, 1944, 11, 290, 5680, 72, 379, 5331, 30, 46506, 366, 40630, 287, 3845, 1, 16034, 3084, 62, 3270, 39885, 33411, 366, 40630, 287, 10006, 1, 796, 705, 10333, 1906, 25579, 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 ]
[ 13828, 13212, 287, 3845, 468, 257, 13212, 287, 10006, 286, 3050, 1944, 11, 290, 5680, 72, 379, 5331, 30, 46506, 366, 40630, 287, 3845, 1, 16034, 3084, 62, 3270, 39885, 33411, 366, 40630, 287, 10006, 1, 796, 705, 10333, 1906, 25579, 6,...
Find the id and location of circuits that belong to France or Belgium Plot them as bar chart, show X from high to low order please.
SELECT location, circuitId FROM circuits WHERE country = "France" OR country = "Belgium" ORDER BY location DESC
[ 16742, 262, 4686, 290, 4067, 286, 24907, 326, 5594, 284, 4881, 393, 15664, 28114, 606, 355, 2318, 8262, 11, 905, 1395, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 4067, 11, 10349, 7390, 16034, 24907, 33411, 1499, 796, 366, 28572, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 4686, 290, 4067, 286, 24907, 326, 5594, 284, 4881, 393, 15664, 28114, 606, 355, 2318, 8262, 11, 905, 1395, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 4067, 11, 10349, 7390, 16034, 24907, 33411, 1499, 796, 366, 28572, 1, ...
What year was a movie with the original title La Leggenda del Santo Bevitore submitted?
SELECT "Year (Ceremony)" FROM table_16052 WHERE "Original title" = 'La leggenda del santo bevitore'
[ 2061, 614, 373, 257, 3807, 351, 262, 2656, 3670, 4689, 1004, 1130, 7438, 1619, 10844, 78, 1355, 85, 270, 382, 8948, 30, 46506, 366, 17688, 357, 34, 567, 9926, 16725, 16034, 3084, 62, 1433, 37841, 33411, 366, 20556, 3670, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 257, 3807, 351, 262, 2656, 3670, 4689, 1004, 1130, 7438, 1619, 10844, 78, 1355, 85, 270, 382, 8948, 30, 46506, 366, 17688, 357, 34, 567, 9926, 16725, 16034, 3084, 62, 1433, 37841, 33411, 366, 20556, 3670, 1, 796, 705, ...
What transfer window has bra as the country, with 3.4m as the transfer fee?
SELECT transfer_window FROM table_name_79 WHERE country = "bra" AND transfer_fee = "£3.4m"
[ 2061, 4351, 4324, 468, 8290, 355, 262, 1499, 11, 351, 513, 13, 19, 76, 355, 262, 4351, 6838, 30, 46506, 4351, 62, 17497, 16034, 3084, 62, 3672, 62, 3720, 33411, 1499, 796, 366, 16057, 1, 5357, 4351, 62, 39071, 796, 366, 14988, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4351, 4324, 468, 8290, 355, 262, 1499, 11, 351, 513, 13, 19, 76, 355, 262, 4351, 6838, 30, 46506, 4351, 62, 17497, 16034, 3084, 62, 3672, 62, 3720, 33411, 1499, 796, 366, 16057, 1, 5357, 4351, 62, 39071, 796, 366, 14988, 18, ...
what was patient 20066 diagnosed with until 2104 for the last time?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20066) AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104' ORDER BY diag...
[ 10919, 373, 5827, 939, 2791, 14641, 351, 1566, 362, 13464, 329, 262, 938, 640, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 939, 2791, 14641, 351, 1566, 362, 13464, 329, 262, 938, 640, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, ...
What's the year inducted for the label of label?
SELECT "Year inducted" FROM table_59656 WHERE "Label" = 'label'
[ 2061, 338, 262, 614, 28948, 276, 329, 262, 6167, 286, 6167, 30, 46506, 366, 17688, 28948, 276, 1, 16034, 3084, 62, 3270, 37466, 33411, 366, 33986, 1, 796, 705, 18242, 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, 338, 262, 614, 28948, 276, 329, 262, 6167, 286, 6167, 30, 46506, 366, 17688, 28948, 276, 1, 16034, 3084, 62, 3270, 37466, 33411, 366, 33986, 1, 796, 705, 18242, 6 ]
does lr have been prescribed to patient 88254 in this year?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 88254) AND prescriptions.drug = 'lr' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 22437, 300, 81, 423, 587, 14798, 284, 5827, 9193, 24970, 287, 428, 614, 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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 22437, 300, 81, 423, 587, 14798, 284, 5827, 9193, 24970, 287, 428, 614, 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, 334...
what is drug name of subject id 6983?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.subject_id = "6983"
[ 10919, 318, 2563, 1438, 286, 2426, 4686, 39861, 18, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
[ 1, 1, 1, 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, 2563, 1438, 286, 2426, 4686, 39861, 18, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
provide the number of patients whose gender is m and diagnoses long title is poisoning by other opiates and related narcotics?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Poisoning by other opiates and related narcotics"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 40567, 890, 3670, 318, 22475, 416, 584, 1034, 32820, 290, 3519, 36524, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 40567, 890, 3670, 318, 22475, 416, 584, 1034, 32820, 290, 3519, 36524, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
For each party, use a bar chart to show the number of its delegates, list Y in asc order.
SELECT T2.Party, COUNT(T2.Party) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY COUNT(T2.Party)
[ 1890, 1123, 2151, 11, 779, 257, 2318, 8262, 284, 905, 262, 1271, 286, 663, 15265, 11, 1351, 575, 287, 10570, 1502, 13, 46506, 309, 17, 13, 33553, 11, 327, 28270, 7, 51, 17, 13, 33553, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 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, 1, 1, 1, 1, 1...
[ 1890, 1123, 2151, 11, 779, 257, 2318, 8262, 284, 905, 262, 1271, 286, 663, 15265, 11, 1351, 575, 287, 10570, 1502, 13, 46506, 309, 17, 13, 33553, 11, 327, 28270, 7, 51, 17, 13, 33553, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 21...
Unique occurrences of Dallas, Texas.
SELECT Location, COUNT(*) FROM Users WHERE UPPER(Location) LIKE '%DALLAS%' OR UPPER(Location) LIKE '%DFW%' GROUP BY Location ORDER BY COUNT(*) DESC
[ 40257, 40279, 286, 8533, 11, 3936, 13, 46506, 13397, 11, 327, 28270, 7, 28104, 16034, 18987, 33411, 471, 10246, 1137, 7, 14749, 8, 34178, 705, 4, 35, 7036, 1921, 4, 6, 6375, 471, 10246, 1137, 7, 14749, 8, 34178, 705, 4, 8068, 54, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40257, 40279, 286, 8533, 11, 3936, 13, 46506, 13397, 11, 327, 28270, 7, 28104, 16034, 18987, 33411, 471, 10246, 1137, 7, 14749, 8, 34178, 705, 4, 35, 7036, 1921, 4, 6, 6375, 471, 10246, 1137, 7, 14749, 8, 34178, 705, 4, 8068, 54, ...
how much is patient 62983's total stool out ileostomy output on the first icu visit?
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 = 62983) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND outputevents.itemid...
[ 4919, 881, 318, 5827, 718, 1959, 5999, 338, 2472, 38753, 503, 220, 576, 455, 9145, 5072, 319, 262, 717, 14158, 84, 3187, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 318, 5827, 718, 1959, 5999, 338, 2472, 38753, 503, 220, 576, 455, 9145, 5072, 319, 262, 717, 14158, 84, 3187, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, ...
Name the record for december 8
SELECT record FROM table_23248940_7 WHERE date = "December 8"
[ 5376, 262, 1700, 329, 390, 3273, 807, 46506, 1700, 16034, 3084, 62, 1954, 1731, 4531, 1821, 62, 22, 33411, 3128, 796, 366, 20588, 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 ]
[ 5376, 262, 1700, 329, 390, 3273, 807, 46506, 1700, 16034, 3084, 62, 1954, 1731, 4531, 1821, 62, 22, 33411, 3128, 796, 366, 20588, 807, 1 ]
Find Days and the average of Instructor , and group by attribute Days, and visualize them by a bar chart.
SELECT Days, AVG(Instructor) FROM Course GROUP BY Days ORDER BY Credits
[ 16742, 12579, 290, 262, 2811, 286, 47839, 837, 290, 1448, 416, 11688, 12579, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 12579, 11, 35224, 7, 43993, 273, 8, 16034, 20537, 44441, 11050, 12579, 38678, 11050, 29501 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12579, 290, 262, 2811, 286, 47839, 837, 290, 1448, 416, 11688, 12579, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 12579, 11, 35224, 7, 43993, 273, 8, 16034, 20537, 44441, 11050, 12579, 38678, 11050, 29501 ]
how many patients whose ethnicity is white - russian and drug name is heparin (crrt machine priming)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND prescriptions.drug = "Heparin (CRRT Machine Priming)"
[ 4919, 867, 3871, 3025, 26289, 318, 2330, 532, 374, 31562, 290, 2563, 1438, 318, 339, 1845, 259, 357, 6098, 17034, 4572, 2684, 278, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 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, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 26289, 318, 2330, 532, 374, 31562, 290, 2563, 1438, 318, 339, 1845, 259, 357, 6098, 17034, 4572, 2684, 278, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
How many counties are there?
SELECT COUNT(*) FROM county_public_safety
[ 2437, 867, 14683, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 7968, 62, 11377, 62, 44708 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 14683, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 7968, 62, 11377, 62, 44708 ]
select count(*) from posts.
SELECT COUNT(*) FROM Users
[ 19738, 954, 7, 28104, 422, 6851, 13, 46506, 327, 28270, 7, 28104, 16034, 18987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 954, 7, 28104, 422, 6851, 13, 46506, 327, 28270, 7, 28104, 16034, 18987 ]
what are the four most commonly ordered procedures in patients aged 60 or above in the previous year?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >...
[ 10919, 389, 262, 1440, 749, 8811, 6149, 9021, 287, 3871, 9722, 3126, 393, 2029, 287, 262, 2180, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 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, 389, 262, 1440, 749, 8811, 6149, 9021, 287, 3871, 9722, 3126, 393, 2029, 287, 262, 2180, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62...
What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria?
SELECT COUNT(gold) FROM table_name_4 WHERE silver = 1 AND bronze = 1 AND nation = "austria"
[ 2061, 318, 262, 1271, 286, 3869, 618, 262, 8465, 318, 352, 11, 22101, 318, 352, 11, 290, 262, 3277, 318, 17322, 30, 46506, 327, 28270, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 8465, 796, 352, 5357, 22101, 796, 352, 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 ]
[ 2061, 318, 262, 1271, 286, 3869, 618, 262, 8465, 318, 352, 11, 22101, 318, 352, 11, 290, 262, 3277, 318, 17322, 30, 46506, 327, 28270, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 8465, 796, 352, 5357, 22101, 796, 352, 5357, ...
Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
SELECT "Rider" FROM table_48676 WHERE "Laps" < '30' AND "Manufacturer" = 'yamaha' AND "Time" = 'accident' AND "Grid" > '3'
[ 8241, 373, 262, 17876, 508, 550, 1342, 621, 1542, 24590, 11, 4444, 287, 281, 5778, 351, 257, 1097, 15943, 416, 331, 321, 12236, 319, 257, 10706, 4025, 621, 513, 30, 46506, 366, 49, 1304, 1, 16034, 3084, 62, 2780, 42548, 33411, 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...
[ 8241, 373, 262, 17876, 508, 550, 1342, 621, 1542, 24590, 11, 4444, 287, 281, 5778, 351, 257, 1097, 15943, 416, 331, 321, 12236, 319, 257, 10706, 4025, 621, 513, 30, 46506, 366, 49, 1304, 1, 16034, 3084, 62, 2780, 42548, 33411, 366, ...
TRENDING TAGS: Answer Count & Average Score, grouped by Tag (Last 30 days). TRENDING TAGS: Answer Count & Average Score, grouped by Tag (Last 30 days)
SELECT t.TagName AS "tagname", COUNT(q.Id) AS "#questions", ROUND(CAST(SUM(q.Score) AS DECIMAL) / COUNT(q.Id), 1) AS "avgqscore" FROM Posts AS q JOIN PostTags AS pt ON q.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id WHERE q.PostTypeId = 1 AND q.CreationDate >= DATEADD(d, -30, GETDATE()) GROUP BY t.TagName ORDER BY C...
[ 5446, 10619, 2751, 37801, 50, 25, 23998, 2764, 1222, 13475, 15178, 11, 32824, 416, 17467, 357, 5956, 1542, 1528, 737, 7579, 10619, 2751, 37801, 50, 25, 23998, 2764, 1222, 13475, 15178, 11, 32824, 416, 17467, 357, 5956, 1542, 1528, 8, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5446, 10619, 2751, 37801, 50, 25, 23998, 2764, 1222, 13475, 15178, 11, 32824, 416, 17467, 357, 5956, 1542, 1528, 737, 7579, 10619, 2751, 37801, 50, 25, 23998, 2764, 1222, 13475, 15178, 11, 32824, 416, 17467, 357, 5956, 1542, 1528, 8, 46...
how many papers are based on ImageNet
SELECT DISTINCT COUNT(DISTINCT paper.paperid) FROM dataset, paper, paperdataset WHERE dataset.datasetname LIKE 'ImageNet' AND paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid
[ 4919, 867, 9473, 389, 1912, 319, 7412, 7934, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 3348, 13, 20189, 312, 8, 16034, 27039, 11, 3348, 11, 3348, 19608, 292, 316, 33411, 27039, 13, 19608, 292, 316, 3672, 34178...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9473, 389, 1912, 319, 7412, 7934, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 3348, 13, 20189, 312, 8, 16034, 27039, 11, 3348, 11, 3348, 19608, 292, 316, 33411, 27039, 13, 19608, 292, 316, 3672, 34178...
Which region had the CD maxi format?
SELECT region FROM table_name_91 WHERE format = "cd maxi"
[ 13828, 3814, 550, 262, 6458, 3509, 72, 5794, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 6420, 33411, 5794, 796, 366, 10210, 3509, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3814, 550, 262, 6458, 3509, 72, 5794, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 6420, 33411, 5794, 796, 366, 10210, 3509, 72, 1 ]
List the number of recovers for player #2.
SELECT "Rebounds" FROM table_28615 WHERE "#" = '2'
[ 8053, 262, 1271, 286, 46773, 329, 2137, 1303, 17, 13, 46506, 366, 28951, 3733, 1, 16034, 3084, 62, 27033, 1314, 33411, 25113, 1, 796, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 46773, 329, 2137, 1303, 17, 13, 46506, 366, 28951, 3733, 1, 16034, 3084, 62, 27033, 1314, 33411, 25113, 1, 796, 705, 17, 6 ]
How many registed students do each course have? List course name and the number of their registered students, display X in descending order.
SELECT course_name, COUNT(*) FROM Students AS T1 JOIN Student_Course_Registrations AS T2 ON T1.student_id = T2.student_id JOIN Courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id ORDER BY course_name DESC
[ 2437, 867, 4214, 276, 2444, 466, 1123, 1781, 423, 30, 7343, 1781, 1438, 290, 262, 1271, 286, 511, 6823, 2444, 11, 3359, 1395, 287, 31491, 1502, 13, 46506, 1781, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 14882, 7054, 309, 16, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 4214, 276, 2444, 466, 1123, 1781, 423, 30, 7343, 1781, 1438, 290, 262, 1271, 286, 511, 6823, 2444, 11, 3359, 1395, 287, 31491, 1502, 13, 46506, 1781, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 14882, 7054, 309, 16, 32357, ...
Name the opponent in the final for year of 1888
SELECT "Opponent in the final" FROM table_11688 WHERE "Year" = '1888'
[ 5376, 262, 6125, 287, 262, 2457, 329, 614, 286, 49584, 46506, 366, 27524, 3471, 287, 262, 2457, 1, 16034, 3084, 62, 1157, 34427, 33411, 366, 17688, 1, 796, 705, 1507, 3459, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 6125, 287, 262, 2457, 329, 614, 286, 49584, 46506, 366, 27524, 3471, 287, 262, 2457, 1, 16034, 3084, 62, 1157, 34427, 33411, 366, 17688, 1, 796, 705, 1507, 3459, 6 ]
What is the sum of the poles of Team la fili re, which has less than 162 points?
SELECT SUM("Poles") FROM table_40231 WHERE "Team" = 'la filière' AND "Points" < '162'
[ 2061, 318, 262, 2160, 286, 262, 24971, 286, 4816, 8591, 1226, 72, 302, 11, 543, 468, 1342, 621, 25090, 2173, 30, 46506, 35683, 7203, 47, 4316, 4943, 16034, 3084, 62, 1821, 25667, 33411, 366, 15592, 1, 796, 705, 5031, 1226, 72, 35979, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 24971, 286, 4816, 8591, 1226, 72, 302, 11, 543, 468, 1342, 621, 25090, 2173, 30, 46506, 35683, 7203, 47, 4316, 4943, 16034, 3084, 62, 1821, 25667, 33411, 366, 15592, 1, 796, 705, 5031, 1226, 72, 35979, ...
What is Date, when Opponent is At Saskatchewan Roughriders?
SELECT "Date" FROM table_43900 WHERE "Opponent" = 'at saskatchewan roughriders'
[ 2061, 318, 7536, 11, 618, 9385, 3471, 318, 1629, 31346, 29949, 81, 4157, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 47106, 405, 33411, 366, 27524, 3471, 1, 796, 705, 265, 264, 2093, 29736, 5210, 81, 4157, 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, 7536, 11, 618, 9385, 3471, 318, 1629, 31346, 29949, 81, 4157, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 47106, 405, 33411, 366, 27524, 3471, 1, 796, 705, 265, 264, 2093, 29736, 5210, 81, 4157, 6 ]
When did the 55 kg participant race?
SELECT "Date" FROM table_19759 WHERE "Weight (kg)" = '55'
[ 2215, 750, 262, 5996, 14211, 18399, 3234, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1129, 38314, 33411, 366, 25844, 357, 10025, 16725, 796, 705, 2816, 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 ]
[ 2215, 750, 262, 5996, 14211, 18399, 3234, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1129, 38314, 33411, 366, 25844, 357, 10025, 16725, 796, 705, 2816, 6 ]
what is maximum age of patients whose admission location is trsf within this facility and primary disease is liver transplant?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.diagnosis = "LIVER TRANSPLANT"
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 4165, 4369, 318, 14383, 23319, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 4165, 4369, 318, 14383, 23319, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5...
What is the 0 100km/h (62mph) when the max power is s diesel engine all direct injection (dci)?
SELECT 0 AS _100km_h__62mph_ FROM table_name_16 WHERE max_power = "s diesel engine all direct injection (dci)"
[ 2061, 318, 262, 657, 1802, 13276, 14, 71, 357, 5237, 23335, 8, 618, 262, 3509, 1176, 318, 264, 21866, 3113, 477, 1277, 16954, 357, 67, 979, 19427, 46506, 657, 7054, 4808, 3064, 13276, 62, 71, 834, 5237, 23335, 62, 16034, 3084, 62, 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 ]
[ 2061, 318, 262, 657, 1802, 13276, 14, 71, 357, 5237, 23335, 8, 618, 262, 3509, 1176, 318, 264, 21866, 3113, 477, 1277, 16954, 357, 67, 979, 19427, 46506, 657, 7054, 4808, 3064, 13276, 62, 71, 834, 5237, 23335, 62, 16034, 3084, 62, 3...
What is the circuit for the ADAC gro er preis der tourenwagen race?
SELECT "Circuit" FROM table_62283 WHERE "Race" = 'adac großer preis der tourenwagen'
[ 2061, 318, 262, 10349, 329, 262, 5984, 2246, 7128, 1931, 662, 271, 4587, 2819, 918, 29160, 3234, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 21, 1828, 5999, 33411, 366, 35157, 1, 796, 705, 324, 330, 7128, 39683, 263, 662, 271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10349, 329, 262, 5984, 2246, 7128, 1931, 662, 271, 4587, 2819, 918, 29160, 3234, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 21, 1828, 5999, 33411, 366, 35157, 1, 796, 705, 324, 330, 7128, 39683, 263, 662, 271, ...
What is the name of the Representative Work in a year later than 2005 with a Result of nominated, and an Award of best variety show host?
SELECT "Representative Work" FROM table_74906 WHERE "Year" > '2005' AND "Result" = 'nominated' AND "Award" = 'best variety show host'
[ 2061, 318, 262, 1438, 286, 262, 19920, 5521, 287, 257, 614, 1568, 621, 5075, 351, 257, 25414, 286, 19332, 11, 290, 281, 11289, 286, 1266, 4996, 905, 2583, 30, 46506, 366, 40171, 876, 5521, 1, 16034, 3084, 62, 22, 2920, 3312, 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...
[ 2061, 318, 262, 1438, 286, 262, 19920, 5521, 287, 257, 614, 1568, 621, 5075, 351, 257, 25414, 286, 19332, 11, 290, 281, 11289, 286, 1266, 4996, 905, 2583, 30, 46506, 366, 40171, 876, 5521, 1, 16034, 3084, 62, 22, 2920, 3312, 33411, ...
Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)?
SELECT fencing_victories__pts_ FROM table_name_78 WHERE equestrian_time__pts_ = "67.88 (1144)"
[ 13828, 376, 9532, 6114, 1749, 357, 457, 82, 8, 326, 468, 257, 412, 6138, 4484, 3862, 357, 457, 82, 8, 286, 8275, 13, 3459, 357, 1157, 2598, 19427, 46506, 39244, 62, 32433, 1749, 834, 457, 82, 62, 16034, 3084, 62, 3672, 62, 3695, 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 ]
[ 13828, 376, 9532, 6114, 1749, 357, 457, 82, 8, 326, 468, 257, 412, 6138, 4484, 3862, 357, 457, 82, 8, 286, 8275, 13, 3459, 357, 1157, 2598, 19427, 46506, 39244, 62, 32433, 1749, 834, 457, 82, 62, 16034, 3084, 62, 3672, 62, 3695, 3...