instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Which company's principal activities are catering services, and a Group's Equity Shareholding (as of March 10th 2010) of 40%?
SELECT "Company" FROM table_75183 WHERE "Principal activities" = 'catering services' AND "Group's Equity Shareholding (10 March 2010)" = '40%'
[ 13828, 1664, 338, 10033, 4568, 389, 39211, 2594, 11, 290, 257, 4912, 338, 35659, 8734, 19216, 357, 292, 286, 2805, 838, 400, 3050, 8, 286, 2319, 4, 30, 46506, 366, 39154, 1, 16034, 3084, 62, 2425, 24839, 33411, 366, 42904, 8521, 4568,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1664, 338, 10033, 4568, 389, 39211, 2594, 11, 290, 257, 4912, 338, 35659, 8734, 19216, 357, 292, 286, 2805, 838, 400, 3050, 8, 286, 2319, 4, 30, 46506, 366, 39154, 1, 16034, 3084, 62, 2425, 24839, 33411, 366, 42904, 8521, 4568,...
Show the number of documents in each day for all documents on project with details 'Graph Database project' and bin document date by year interval and group by document name with a group line chart, show in asc by the X please.
SELECT Document_Date, COUNT(Document_Date) FROM Documents AS T1 JOIN Projects AS T2 ON T1.Project_ID = T2.Project_ID WHERE T2.Project_Details = 'Graph Database project' GROUP BY Document_Name ORDER BY Document_Date
[ 15307, 262, 1271, 286, 4963, 287, 1123, 1110, 329, 477, 4963, 319, 1628, 351, 3307, 705, 37065, 24047, 1628, 6, 290, 9874, 3188, 3128, 416, 614, 16654, 290, 1448, 416, 3188, 1438, 351, 257, 1448, 1627, 8262, 11, 905, 287, 10570, 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...
[ 15307, 262, 1271, 286, 4963, 287, 1123, 1110, 329, 477, 4963, 319, 1628, 351, 3307, 705, 37065, 24047, 1628, 6, 290, 9874, 3188, 3128, 416, 614, 16654, 290, 1448, 416, 3188, 1438, 351, 257, 1448, 1627, 8262, 11, 905, 287, 10570, 416, ...
Luxembourg received how many gold medals?
SELECT AVG("Gold") FROM table_55398 WHERE "Nation" = 'luxembourg'
[ 43, 2821, 368, 24256, 2722, 703, 867, 3869, 28057, 30, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 2816, 31952, 33411, 366, 46108, 1, 796, 705, 22564, 368, 24256, 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 ]
[ 43, 2821, 368, 24256, 2722, 703, 867, 3869, 28057, 30, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 2816, 31952, 33411, 366, 46108, 1, 796, 705, 22564, 368, 24256, 6 ]
What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145?
SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145
[ 2061, 318, 262, 284, 1582, 329, 3362, 7578, 3889, 422, 262, 1578, 1829, 706, 12113, 329, 257, 2472, 5749, 621, 20299, 30, 46506, 327, 28270, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 1499, 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, 1, 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, 284, 1582, 329, 3362, 7578, 3889, 422, 262, 1578, 1829, 706, 12113, 329, 257, 2472, 5749, 621, 20299, 30, 46506, 327, 28270, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 1499, 796, 366, 41187, 2585, ...
What is the highest number of goals for for teams with 25 losses?
SELECT MAX("Goals For") FROM table_9511 WHERE "Lost" = '25'
[ 2061, 318, 262, 4511, 1271, 286, 4661, 329, 329, 3466, 351, 1679, 9089, 30, 46506, 25882, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 3865, 1157, 33411, 366, 31042, 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 ]
[ 2061, 318, 262, 4511, 1271, 286, 4661, 329, 329, 3466, 351, 1679, 9089, 30, 46506, 25882, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 3865, 1157, 33411, 366, 31042, 1, 796, 705, 1495, 6 ]
how many different venues were played at ?
SELECT COUNT(DISTINCT "venue") FROM table_203_655
[ 4919, 867, 1180, 22276, 547, 2826, 379, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 4080, 4943, 16034, 3084, 62, 22416, 62, 35916 ]
[ 1, 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, 1180, 22276, 547, 2826, 379, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 4080, 4943, 16034, 3084, 62, 22416, 62, 35916 ]
What was the Attendance of the Game at Hoosier Dome?
SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome"
[ 2061, 373, 262, 46502, 590, 286, 262, 3776, 379, 9544, 418, 959, 31390, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 5892, 33411, 983, 62, 15654, 796, 366, 8873, 418, 959, 29500, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 46502, 590, 286, 262, 3776, 379, 9544, 418, 959, 31390, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 5892, 33411, 983, 62, 15654, 796, 366, 8873, 418, 959, 29500, 1 ]
What 2nd Party has an Election of 1834?
SELECT "2nd Party" FROM table_60553 WHERE "Election" = '1834'
[ 2061, 362, 358, 3615, 468, 281, 14219, 286, 1248, 2682, 30, 46506, 366, 17, 358, 3615, 1, 16034, 3084, 62, 1899, 48096, 33411, 366, 36, 1564, 1, 796, 705, 1507, 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 ]
[ 2061, 362, 358, 3615, 468, 281, 14219, 286, 1248, 2682, 30, 46506, 366, 17, 358, 3615, 1, 16034, 3084, 62, 1899, 48096, 33411, 366, 36, 1564, 1, 796, 705, 1507, 2682, 6 ]
What was the max when they score 2200?
SELECT MAX(new_points) FROM table_20855452_4 WHERE points = 2200
[ 2061, 373, 262, 3509, 618, 484, 4776, 362, 2167, 30, 46506, 25882, 7, 3605, 62, 13033, 8, 16034, 3084, 62, 21315, 2816, 37730, 62, 19, 33411, 2173, 796, 362, 2167 ]
[ 1, 1, 1, 1, 1, 1, 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, 3509, 618, 484, 4776, 362, 2167, 30, 46506, 25882, 7, 3605, 62, 13033, 8, 16034, 3084, 62, 21315, 2816, 37730, 62, 19, 33411, 2173, 796, 362, 2167 ]
Show the relationship between account id and name for all accounts in a scatter chart.
SELECT account_id, account_name FROM Accounts GROUP BY other_account_details
[ 15307, 262, 2776, 1022, 1848, 4686, 290, 1438, 329, 477, 5504, 287, 257, 41058, 8262, 13, 46506, 1848, 62, 312, 11, 1848, 62, 3672, 16034, 35584, 44441, 11050, 584, 62, 23317, 62, 36604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2776, 1022, 1848, 4686, 290, 1438, 329, 477, 5504, 287, 257, 41058, 8262, 13, 46506, 1848, 62, 312, 11, 1848, 62, 3672, 16034, 35584, 44441, 11050, 584, 62, 23317, 62, 36604 ]
Are there any AEROSP classes that meet on days other than Friday ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.friday = 'N' AND course.department = 'AEROSP' AND semester.semester = 'WN' AND...
[ 8491, 612, 597, 317, 1137, 47053, 6097, 326, 1826, 319, 1528, 584, 621, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 317, 1137, 47053, 6097, 326, 1826, 319, 1528, 584, 621, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1...
what were the top four procedures that happened most often in this 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 DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of ye...
[ 10919, 547, 262, 1353, 1440, 9021, 326, 3022, 749, 1690, 287, 428, 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, 291, 67, 62, 1676, 771, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1353, 1440, 9021, 326, 3022, 749, 1690, 287, 428, 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, 291, 67, 62, 1676, 771, 9...
What was Cici Kelley's minimum season?
SELECT MIN("Season") FROM table_73288 WHERE "Coach" = 'Cici Kelley'
[ 2061, 373, 37212, 72, 34560, 338, 5288, 1622, 30, 46506, 20625, 7203, 18960, 4943, 16034, 3084, 62, 4790, 25270, 33411, 366, 40677, 1, 796, 705, 34, 44070, 34560, 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, 373, 37212, 72, 34560, 338, 5288, 1622, 30, 46506, 20625, 7203, 18960, 4943, 16034, 3084, 62, 4790, 25270, 33411, 366, 40677, 1, 796, 705, 34, 44070, 34560, 6 ]
What was the score of the game when there was a loss of Kern (0-2)?
SELECT score FROM table_name_44 WHERE loss = "kern (0-2)"
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 612, 373, 257, 2994, 286, 49132, 357, 15, 12, 17, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 2598, 33411, 2994, 796, 366, 74, 1142, 357, 15, 12, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 612, 373, 257, 2994, 286, 49132, 357, 15, 12, 17, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 2598, 33411, 2994, 796, 366, 74, 1142, 357, 15, 12, 17, 16725 ]
What years did the player play when he scored 78 points and 22 goals?
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22"
[ 2061, 812, 750, 262, 2137, 711, 618, 339, 7781, 8699, 2173, 290, 2534, 4661, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 3980, 33411, 2173, 796, 366, 3695, 1, 5357, 4661, 796, 366, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 750, 262, 2137, 711, 618, 339, 7781, 8699, 2173, 290, 2534, 4661, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 3980, 33411, 2173, 796, 366, 3695, 1, 5357, 4661, 796, 366, 1828, 1 ]
What's the frequency of the device that has a Multi 1 of 7.5 ?
SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×"
[ 2061, 338, 262, 8373, 286, 262, 3335, 326, 468, 257, 15237, 352, 286, 767, 13, 20, 5633, 46506, 8373, 16034, 3084, 62, 3672, 62, 2078, 33411, 5021, 62, 16, 796, 366, 22, 13, 20, 12906, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8373, 286, 262, 3335, 326, 468, 257, 15237, 352, 286, 767, 13, 20, 5633, 46506, 8373, 16034, 3084, 62, 3672, 62, 2078, 33411, 5021, 62, 16, 796, 366, 22, 13, 20, 12906, 1 ]
What kind is in the year 1978 and a manual of ii/p?
SELECT kind FROM table_name_79 WHERE year = "1978" AND manuals = "ii/p"
[ 2061, 1611, 318, 287, 262, 614, 15524, 290, 257, 10107, 286, 21065, 14, 79, 30, 46506, 1611, 16034, 3084, 62, 3672, 62, 3720, 33411, 614, 796, 366, 37950, 1, 5357, 41371, 796, 366, 4178, 14, 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 ]
[ 2061, 1611, 318, 287, 262, 614, 15524, 290, 257, 10107, 286, 21065, 14, 79, 30, 46506, 1611, 16034, 3084, 62, 3672, 62, 3720, 33411, 614, 796, 366, 37950, 1, 5357, 41371, 796, 366, 4178, 14, 79, 1 ]
how many patients with diagnosis icd9 code 27652 are under 44 years of age?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "44" AND diagnoses.icd9_code = "27652"
[ 4919, 867, 3871, 351, 13669, 14158, 67, 24, 2438, 2681, 43193, 389, 739, 5846, 812, 286, 2479, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 13669, 14158, 67, 24, 2438, 2681, 43193, 389, 739, 5846, 812, 286, 2479, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 1...
What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?
SELECT "Week 14 Nov 30" FROM table_38963 WHERE "Week 10 Nov 2" = 'michigan state (8-2)'
[ 2061, 373, 262, 1285, 1478, 6125, 329, 262, 614, 351, 257, 1285, 838, 6125, 286, 7055, 1812, 357, 23, 12, 17, 19427, 46506, 366, 20916, 1478, 5267, 1542, 1, 16034, 3084, 62, 2548, 4846, 18, 33411, 366, 20916, 838, 5267, 362, 1, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1285, 1478, 6125, 329, 262, 614, 351, 257, 1285, 838, 6125, 286, 7055, 1812, 357, 23, 12, 17, 19427, 46506, 366, 20916, 1478, 5267, 1542, 1, 16034, 3084, 62, 2548, 4846, 18, 33411, 366, 20916, 838, 5267, 362, 1, 796,...
tell me the name of the specimen test that patient 6170 first received during this month?
SELECT microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6170) AND DATETIME(microbiologyevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY microbiologye...
[ 33331, 502, 262, 1438, 286, 262, 31674, 1332, 326, 5827, 718, 17279, 717, 2722, 1141, 428, 1227, 30, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 1438, 286, 262, 31674, 1332, 326, 5827, 718, 17279, 717, 2722, 1141, 428, 1227, 30, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312...
what was patient 015-35874's weight the last time in the last hospital visit?
SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-35874' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) AND NOT patient.admissionweight IS NULL ORDER...
[ 10919, 373, 5827, 5534, 20, 12, 31128, 4524, 338, 3463, 262, 938, 640, 287, 262, 938, 4436, 3187, 30, 46506, 5827, 13, 324, 3411, 6551, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5534, 20, 12, 31128, 4524, 338, 3463, 262, 938, 640, 287, 262, 938, 4436, 3187, 30, 46506, 5827, 13, 324, 3411, 6551, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, ...
What country is Craig Parry from?
SELECT country FROM table_name_59 WHERE player = "craig parry"
[ 2061, 1499, 318, 13854, 2547, 563, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3270, 33411, 2137, 796, 366, 66, 430, 328, 1582, 563, 1 ]
[ 1, 1, 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, 1499, 318, 13854, 2547, 563, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3270, 33411, 2137, 796, 366, 66, 430, 328, 1582, 563, 1 ]
What place is Fred Funk in?
SELECT place FROM table_name_30 WHERE player = "fred funk"
[ 2061, 1295, 318, 8559, 37299, 287, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 39193, 46212, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 318, 8559, 37299, 287, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 39193, 46212, 1 ]
Posts with many 'thank you' answers -- yet no accepted answer.
SELECT p.ParentId AS "post_link", COUNT(p.Id) FROM Posts AS p INNER JOIN Posts AS parent ON parent.Id = p.ParentId WHERE p.PostTypeId = 2 AND LENGTH(p.Body) <= 200 AND (p.Body LIKE '%hank%') AND parent.AcceptedAnswerId IS NULL GROUP BY p.ParentId HAVING COUNT(p.Id) > 1 ORDER BY COUNT(p.Id) DESC
[ 21496, 351, 867, 705, 40716, 345, 6, 7429, 1377, 1865, 645, 6292, 3280, 13, 46506, 279, 13, 24546, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 79, 13, 7390, 8, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 12043, 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...
[ 21496, 351, 867, 705, 40716, 345, 6, 7429, 1377, 1865, 645, 6292, 3280, 13, 46506, 279, 13, 24546, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 28270, 7, 79, 13, 7390, 8, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 12043, 7054, ...
What was the winning score for the tournament where Garth Mulroy was the runner-up?
SELECT winning_score FROM table_name_94 WHERE runner_s__up = "garth mulroy"
[ 2061, 373, 262, 5442, 4776, 329, 262, 7756, 810, 7164, 400, 17996, 3287, 373, 262, 17490, 12, 929, 30, 46506, 5442, 62, 26675, 16034, 3084, 62, 3672, 62, 5824, 33411, 17490, 62, 82, 834, 929, 796, 366, 4563, 400, 35971, 3287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 4776, 329, 262, 7756, 810, 7164, 400, 17996, 3287, 373, 262, 17490, 12, 929, 30, 46506, 5442, 62, 26675, 16034, 3084, 62, 3672, 62, 5824, 33411, 17490, 62, 82, 834, 929, 796, 366, 4563, 400, 35971, 3287, 1 ]
How many services for each service type description? Use a bar chart to show it, could you order in ascending by the x-axis?
SELECT Service_Type_Description, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code ORDER BY Service_Type_Description
[ 2437, 867, 2594, 329, 1123, 2139, 2099, 6764, 30, 5765, 257, 2318, 8262, 284, 905, 340, 11, 714, 345, 1502, 287, 41988, 416, 262, 2124, 12, 22704, 30, 46506, 4809, 62, 6030, 62, 11828, 11, 327, 28270, 7, 28104, 16034, 6524, 62, 1617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2594, 329, 1123, 2139, 2099, 6764, 30, 5765, 257, 2318, 8262, 284, 905, 340, 11, 714, 345, 1502, 287, 41988, 416, 262, 2124, 12, 22704, 30, 46506, 4809, 62, 6030, 62, 11828, 11, 327, 28270, 7, 28104, 16034, 6524, 62, 1617...
What kind of edition was released September 23, 2008 from the United States?
SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states"
[ 2061, 1611, 286, 8313, 373, 2716, 2693, 2242, 11, 3648, 422, 262, 1578, 1829, 30, 46506, 8313, 16034, 3084, 62, 3672, 62, 3388, 33411, 3128, 796, 366, 325, 457, 1491, 2242, 11, 3648, 1, 5357, 3814, 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, 1, 1, 1, 1, 1 ]
[ 2061, 1611, 286, 8313, 373, 2716, 2693, 2242, 11, 3648, 422, 262, 1578, 1829, 30, 46506, 8313, 16034, 3084, 62, 3672, 62, 3388, 33411, 3128, 796, 366, 325, 457, 1491, 2242, 11, 3648, 1, 5357, 3814, 796, 366, 41187, 2585, 1 ]
get the number of patients with base type drug prescription who have diagnoses icd9 code 6959.
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.icd9_code = "6959" AND prescriptions.drug_type = "BASE"
[ 1136, 262, 1271, 286, 3871, 351, 2779, 2099, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 8644, 3270, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1136, 262, 1271, 286, 3871, 351, 2779, 2099, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 8644, 3270, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6...
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of first_name and department_id , and rank by the bar in desc.
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 5011, 62, 312, 837, 290, 4279, 416, 262, 2318, 287, 1715, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 5011, 62, 312, 837, 290, 4279, 416, 262, 2318, 287, 1715, ...
For ARCH 13 -credit courses , what are the available courses ?
SELECT DISTINCT name, number FROM course WHERE department = 'ARCH' AND credits = 13
[ 1890, 5923, 3398, 1511, 532, 43082, 10902, 837, 644, 389, 262, 1695, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 31315, 6, 5357, 10824, 796, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 5923, 3398, 1511, 532, 43082, 10902, 837, 644, 389, 262, 1695, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 5011, 796, 705, 31315, 6, 5357, 10824, 796, 1511 ]
What is tuesday day three when thursday day five is kamis?
SELECT "Tuesday Day Three" FROM table_17790 WHERE "Thursday Day Five" = 'Kamis'
[ 2061, 318, 256, 3322, 1110, 1115, 618, 294, 3479, 1110, 1936, 318, 479, 321, 271, 30, 46506, 366, 26133, 3596, 7683, 1, 16034, 3084, 62, 1558, 37750, 33411, 366, 25381, 3596, 10579, 1, 796, 705, 42, 321, 271, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 256, 3322, 1110, 1115, 618, 294, 3479, 1110, 1936, 318, 479, 321, 271, 30, 46506, 366, 26133, 3596, 7683, 1, 16034, 3084, 62, 1558, 37750, 33411, 366, 25381, 3596, 10579, 1, 796, 705, 42, 321, 271, 6 ]
Name the most game for us airways center 16,470
SELECT MIN("Game") FROM table_29958 WHERE "Location Attendance" = 'US Airways Center 16,470'
[ 5376, 262, 749, 983, 329, 514, 1633, 1322, 3641, 1467, 11, 27790, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 22579, 3365, 33411, 366, 14749, 46502, 590, 1, 796, 705, 2937, 40020, 3337, 1467, 11, 27790, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 983, 329, 514, 1633, 1322, 3641, 1467, 11, 27790, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 22579, 3365, 33411, 366, 14749, 46502, 590, 1, 796, 705, 2937, 40020, 3337, 1467, 11, 27790, 6 ]
What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?
SELECT MAX("Bronze") FROM table_40774 WHERE "Total" > '1' AND "Rank" > '1' AND "Gold" > '1'
[ 2061, 318, 262, 749, 1271, 286, 19461, 28057, 1839, 1871, 262, 2678, 326, 423, 1839, 517, 621, 352, 18279, 11, 517, 621, 352, 3869, 18279, 11, 290, 423, 257, 4279, 5749, 621, 352, 30, 46506, 25882, 7203, 18760, 2736, 4943, 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, 749, 1271, 286, 19461, 28057, 1839, 1871, 262, 2678, 326, 423, 1839, 517, 621, 352, 18279, 11, 517, 621, 352, 3869, 18279, 11, 290, 423, 257, 4279, 5749, 621, 352, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084...
When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?
SELECT first_broadcast FROM table_19930660_3 WHERE rufus_guest = "Jack Whitehall"
[ 2215, 318, 262, 717, 7025, 329, 8640, 810, 371, 3046, 385, 338, 8319, 318, 3619, 2635, 18323, 30, 46506, 717, 62, 36654, 2701, 16034, 3084, 62, 19104, 20548, 1899, 62, 18, 33411, 374, 3046, 385, 62, 5162, 395, 796, 366, 14295, 2635, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 318, 262, 717, 7025, 329, 8640, 810, 371, 3046, 385, 338, 8319, 318, 3619, 2635, 18323, 30, 46506, 717, 62, 36654, 2701, 16034, 3084, 62, 19104, 20548, 1899, 62, 18, 33411, 374, 3046, 385, 62, 5162, 395, 796, 366, 14295, 2635, ...
For those employees who was hired before 2002-06-21, a bar chart shows the distribution of job_id and the average of manager_id , and group by attribute job_id, and order by the y-axis in desc.
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(MANAGER_ID) DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502, 416, 262, 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...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502, 416, 262, 331,...
Tell me the sum of laps with a time/retired of +13 laps with grid more than 18
SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18
[ 24446, 502, 262, 2160, 286, 24590, 351, 257, 640, 14, 1186, 1202, 286, 1343, 1485, 24590, 351, 10706, 517, 621, 1248, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 640, 62, 1186, 1202, 796, 43825, 1485, 24590, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 2160, 286, 24590, 351, 257, 640, 14, 1186, 1202, 286, 1343, 1485, 24590, 351, 10706, 517, 621, 1248, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 640, 62, 1186, 1202, 796, 43825, 1485, 24590, ...
What was the results on September 24, 1995?
SELECT "Result" FROM table_43527 WHERE "Date" = 'september 24, 1995'
[ 2061, 373, 262, 2482, 319, 2693, 1987, 11, 8735, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 40064, 1983, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1987, 11, 8735, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2482, 319, 2693, 1987, 11, 8735, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 40064, 1983, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1987, 11, 8735, 6 ]
when did patient 006-10390 enter the hospital for the first time this year?
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-10390' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.hospitaladmittime LIMIT 1
[ 12518, 750, 5827, 3571, 21, 12, 940, 25964, 3802, 262, 4436, 329, 262, 717, 640, 428, 614, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 940, 25964, 6, 5357, 360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 3571, 21, 12, 940, 25964, 3802, 262, 4436, 329, 262, 717, 640, 428, 614, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 940, 25964, 6, 5357, 360...
i want a flight from LOS ANGELES to PITTSBURGH that arrives before 1500 on tuesday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((((((flight.arrival_time < 41 OR flight.time_elapsed >= 60) AND flight.departure_time > flight.arrival_time) AND date_day.day_number = 22 AND da...
[ 72, 765, 257, 5474, 422, 406, 2640, 44892, 1546, 284, 49040, 4694, 38926, 17511, 326, 14443, 878, 20007, 319, 256, 3322, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 2738...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 765, 257, 5474, 422, 406, 2640, 44892, 1546, 284, 49040, 4694, 38926, 17511, 326, 14443, 878, 20007, 319, 256, 3322, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 2738...
Which Driver has an Entrant of Arrows Racing Team and Rounds 1-3?
SELECT driver FROM table_name_25 WHERE entrant = "arrows racing team" AND rounds = "1-3"
[ 13828, 12434, 468, 281, 7232, 5250, 286, 43946, 14954, 4816, 290, 49049, 352, 12, 18, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 1495, 33411, 920, 5250, 796, 366, 6018, 82, 11717, 1074, 1, 5357, 9196, 796, 366, 16, 12, 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 ]
[ 13828, 12434, 468, 281, 7232, 5250, 286, 43946, 14954, 4816, 290, 49049, 352, 12, 18, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 1495, 33411, 920, 5250, 796, 366, 6018, 82, 11717, 1074, 1, 5357, 9196, 796, 366, 16, 12, 18, 1 ]
What is the measurement where the estimated function % is less than 20?
SELECT measurement FROM table_name_21 WHERE estimated_function__percentage < 20
[ 2061, 318, 262, 15558, 810, 262, 6108, 2163, 4064, 318, 1342, 621, 1160, 30, 46506, 15558, 16034, 3084, 62, 3672, 62, 2481, 33411, 6108, 62, 8818, 834, 25067, 496, 1279, 1160 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 15558, 810, 262, 6108, 2163, 4064, 318, 1342, 621, 1160, 30, 46506, 15558, 16034, 3084, 62, 3672, 62, 2481, 33411, 6108, 62, 8818, 834, 25067, 496, 1279, 1160 ]
has patient 032-18678's respiration been less today than 21.0?
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-18678')) AND vitalperiodic.respiration < 21.0 AND NOT vitalperio...
[ 10134, 5827, 657, 2624, 12, 1507, 30924, 338, 1217, 15297, 587, 1342, 1909, 621, 2310, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 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...
[ 10134, 5827, 657, 2624, 12, 1507, 30924, 338, 1217, 15297, 587, 1342, 1909, 621, 2310, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506,...
WHich Team that has Points against of 43?
SELECT "Team" FROM table_42079 WHERE "Points against" = '43'
[ 12418, 488, 4816, 326, 468, 11045, 1028, 286, 5946, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 27211, 3720, 33411, 366, 40710, 1028, 1, 796, 705, 3559, 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 ]
[ 12418, 488, 4816, 326, 468, 11045, 1028, 286, 5946, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 27211, 3720, 33411, 366, 40710, 1028, 1, 796, 705, 3559, 6 ]
What's Dell Curry nationality?
SELECT "Nationality" FROM table_15870 WHERE "Player" = 'Dell Curry'
[ 2061, 338, 23617, 20920, 29835, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 21273, 2154, 33411, 366, 14140, 1, 796, 705, 35, 695, 20920, 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 ]
[ 2061, 338, 23617, 20920, 29835, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 21273, 2154, 33411, 366, 14140, 1, 796, 705, 35, 695, 20920, 6 ]
Users receiving multiple bounties from the same person.
SELECT CAST(N'2016-03-08T08:00:00' AS DATETIME)
[ 14490, 6464, 3294, 49937, 444, 422, 262, 976, 1048, 13, 46506, 327, 11262, 7, 45, 6, 5304, 12, 3070, 12, 2919, 51, 2919, 25, 405, 25, 405, 6, 7054, 360, 1404, 2767, 12789, 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 ]
[ 14490, 6464, 3294, 49937, 444, 422, 262, 976, 1048, 13, 46506, 327, 11262, 7, 45, 6, 5304, 12, 3070, 12, 2919, 51, 2919, 25, 405, 25, 405, 6, 7054, 360, 1404, 2767, 12789, 8 ]
Who was the train operator when the train departed at 11.02 in 1922?
SELECT "Operator" FROM table_22288 WHERE "Departure" = '11.02'
[ 8241, 373, 262, 4512, 10088, 618, 262, 4512, 24057, 379, 1367, 13, 2999, 287, 36094, 30, 46506, 366, 18843, 1352, 1, 16034, 3084, 62, 1828, 25270, 33411, 366, 12156, 433, 495, 1, 796, 705, 1157, 13, 2999, 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 ]
[ 8241, 373, 262, 4512, 10088, 618, 262, 4512, 24057, 379, 1367, 13, 2999, 287, 36094, 30, 46506, 366, 18843, 1352, 1, 16034, 3084, 62, 1828, 25270, 33411, 366, 12156, 433, 495, 1, 796, 705, 1157, 13, 2999, 6 ]
Who is the winner in 2010?
SELECT "Winners" FROM table_70022 WHERE "Season" = '2010'
[ 8241, 318, 262, 8464, 287, 3050, 30, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 9879, 1828, 33411, 366, 18960, 1, 796, 705, 10333, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 8464, 287, 3050, 30, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 9879, 1828, 33411, 366, 18960, 1, 796, 705, 10333, 6 ]
How many points for when the points was 53?
SELECT "Points for" FROM table_18837 WHERE "Points" = '53'
[ 2437, 867, 2173, 329, 618, 262, 2173, 373, 7192, 30, 46506, 366, 40710, 329, 1, 16034, 3084, 62, 20356, 2718, 33411, 366, 40710, 1, 796, 705, 4310, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 329, 618, 262, 2173, 373, 7192, 30, 46506, 366, 40710, 329, 1, 16034, 3084, 62, 20356, 2718, 33411, 366, 40710, 1, 796, 705, 4310, 6 ]
what is the year where glos & wilts is gloucester city winget?
SELECT year FROM table_12043148_2 WHERE glos_ & _wilts = "Gloucester City Winget"
[ 10919, 318, 262, 614, 810, 1278, 418, 1222, 39716, 912, 318, 1278, 280, 33187, 1748, 8539, 316, 30, 46506, 614, 16034, 3084, 62, 1065, 48768, 18294, 62, 17, 33411, 1278, 418, 62, 1222, 4808, 86, 50076, 796, 366, 9861, 280, 33187, 2254...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 810, 1278, 418, 1222, 39716, 912, 318, 1278, 280, 33187, 1748, 8539, 316, 30, 46506, 614, 16034, 3084, 62, 1065, 48768, 18294, 62, 17, 33411, 1278, 418, 62, 1222, 4808, 86, 50076, 796, 366, 9861, 280, 33187, 2254...
give me the number of patients whose ethnicity is black/haitian and age is less than 68?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/HAITIAN" AND demographic.age < "68"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 3099, 270, 666, 290, 2479, 318, 1342, 621, 8257, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 8257, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, ...
What days of the week is the show aired on that runs at 16:45?
SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45"
[ 2061, 1528, 286, 262, 1285, 318, 262, 905, 18530, 319, 326, 4539, 379, 1467, 25, 2231, 30, 46506, 10273, 62, 15952, 5950, 16034, 3084, 62, 3672, 62, 2481, 33411, 1661, 26487, 796, 366, 1433, 25, 2231, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 262, 1285, 318, 262, 905, 18530, 319, 326, 4539, 379, 1467, 25, 2231, 30, 46506, 10273, 62, 15952, 5950, 16034, 3084, 62, 3672, 62, 2481, 33411, 1661, 26487, 796, 366, 1433, 25, 2231, 1 ]
Who were the semifinalists when the runner-up was Pat Du Pr ?
SELECT "Semifinalists" FROM table_31103 WHERE "Runner-up" = 'Pat Du Pré'
[ 8241, 547, 262, 32948, 1292, 1023, 618, 262, 17490, 12, 929, 373, 3208, 10343, 1736, 5633, 46506, 366, 13900, 361, 1292, 1023, 1, 16034, 3084, 62, 3132, 15197, 33411, 366, 49493, 12, 929, 1, 796, 705, 12130, 10343, 1736, 2634, 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 ]
[ 8241, 547, 262, 32948, 1292, 1023, 618, 262, 17490, 12, 929, 373, 3208, 10343, 1736, 5633, 46506, 366, 13900, 361, 1292, 1023, 1, 16034, 3084, 62, 3132, 15197, 33411, 366, 49493, 12, 929, 1, 796, 705, 12130, 10343, 1736, 2634, 6 ]
What time does the trainer, Todd Pletcher have?
SELECT "Time" FROM table_49900 WHERE "Trainer" = 'todd pletcher'
[ 2061, 640, 857, 262, 21997, 11, 14377, 350, 29257, 423, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 28324, 405, 33411, 366, 2898, 10613, 1, 796, 705, 83, 5088, 279, 29257, 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, 640, 857, 262, 21997, 11, 14377, 350, 29257, 423, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 28324, 405, 33411, 366, 2898, 10613, 1, 796, 705, 83, 5088, 279, 29257, 6 ]
Name the result for already famous
SELECT "Result" FROM table_2504 WHERE "Film title used in nomination" = 'Already Famous'
[ 5376, 262, 1255, 329, 1541, 5863, 46506, 366, 23004, 1, 16034, 3084, 62, 9031, 19, 33411, 366, 39750, 3670, 973, 287, 11872, 1, 796, 705, 37447, 43261, 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 ]
[ 5376, 262, 1255, 329, 1541, 5863, 46506, 366, 23004, 1, 16034, 3084, 62, 9031, 19, 33411, 366, 39750, 3670, 973, 287, 11872, 1, 796, 705, 37447, 43261, 6 ]
how many runners-up with nation being india
SELECT COUNT("Runners-up") FROM table_17602 WHERE "Nation" = 'India'
[ 4919, 867, 19323, 12, 929, 351, 3277, 852, 773, 544, 46506, 327, 28270, 7203, 10987, 2741, 12, 929, 4943, 16034, 3084, 62, 1558, 31418, 33411, 366, 46108, 1, 796, 705, 21569, 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 ]
[ 4919, 867, 19323, 12, 929, 351, 3277, 852, 773, 544, 46506, 327, 28270, 7203, 10987, 2741, 12, 929, 4943, 16034, 3084, 62, 1558, 31418, 33411, 366, 46108, 1, 796, 705, 21569, 6 ]
What's the name of the county where 48.3% voted for Bush?
SELECT "County" FROM table_17955 WHERE "Bush%" = '48.3%'
[ 2061, 338, 262, 1438, 286, 262, 7968, 810, 4764, 13, 18, 4, 7052, 329, 5511, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 21738, 2816, 33411, 366, 36113, 39658, 796, 705, 2780, 13, 18, 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 ]
[ 2061, 338, 262, 1438, 286, 262, 7968, 810, 4764, 13, 18, 4, 7052, 329, 5511, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 21738, 2816, 33411, 366, 36113, 39658, 796, 705, 2780, 13, 18, 4, 6 ]
What school is in hillsboro city?
SELECT "School" FROM table_36468 WHERE "City" = 'hillsboro'
[ 2061, 1524, 318, 287, 18639, 21513, 1748, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 26780, 3104, 33411, 366, 14941, 1, 796, 705, 71, 2171, 21513, 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, 1524, 318, 287, 18639, 21513, 1748, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 26780, 3104, 33411, 366, 14941, 1, 796, 705, 71, 2171, 21513, 6 ]
Name the 2012 for us open
SELECT "2012" FROM table_6659 WHERE "Tournament" = 'us open'
[ 5376, 262, 2321, 329, 514, 1280, 46506, 366, 6999, 1, 16034, 3084, 62, 2791, 3270, 33411, 366, 51, 5138, 1, 796, 705, 385, 1280, 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 ]
[ 5376, 262, 2321, 329, 514, 1280, 46506, 366, 6999, 1, 16034, 3084, 62, 2791, 3270, 33411, 366, 51, 5138, 1, 796, 705, 385, 1280, 6 ]
What is the description of the role named 'Proof Reader'?
SELECT role_description FROM roles WHERE role_name = "Proof Reader"
[ 2061, 318, 262, 6764, 286, 262, 2597, 3706, 705, 44683, 25342, 30960, 46506, 2597, 62, 11213, 16034, 9176, 33411, 2597, 62, 3672, 796, 366, 44683, 25342, 1 ]
[ 1, 1, 1, 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, 6764, 286, 262, 2597, 3706, 705, 44683, 25342, 30960, 46506, 2597, 62, 11213, 16034, 9176, 33411, 2597, 62, 3672, 796, 366, 44683, 25342, 1 ]
What happened in Mazar-i-sharif?
SELECT "Circumstances" FROM table_70962 WHERE "Location" = 'mazar-i-sharif'
[ 2061, 3022, 287, 21625, 283, 12, 72, 12, 1477, 283, 361, 30, 46506, 366, 31560, 388, 301, 1817, 1, 16034, 3084, 62, 2154, 4846, 17, 33411, 366, 14749, 1, 796, 705, 76, 29413, 12, 72, 12, 1477, 283, 361, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3022, 287, 21625, 283, 12, 72, 12, 1477, 283, 361, 30, 46506, 366, 31560, 388, 301, 1817, 1, 16034, 3084, 62, 2154, 4846, 17, 33411, 366, 14749, 1, 796, 705, 76, 29413, 12, 72, 12, 1477, 283, 361, 6 ]
What model has de vaux continental as the make?
SELECT "Model" FROM table_5037 WHERE "Make" = 'de vaux continental'
[ 2061, 2746, 468, 390, 410, 14644, 29843, 355, 262, 787, 30, 46506, 366, 17633, 1, 16034, 3084, 62, 1120, 2718, 33411, 366, 12050, 1, 796, 705, 2934, 410, 14644, 29843, 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, 2746, 468, 390, 410, 14644, 29843, 355, 262, 787, 30, 46506, 366, 17633, 1, 16034, 3084, 62, 1120, 2718, 33411, 366, 12050, 1, 796, 705, 2934, 410, 14644, 29843, 6 ]
How many MotoGP winners were there when the circuit was Catalunya?
SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya"
[ 2437, 867, 23049, 16960, 14591, 547, 612, 618, 262, 10349, 373, 16758, 403, 3972, 30, 46506, 327, 28270, 7, 27926, 519, 79, 62, 39791, 8, 16034, 3084, 62, 2075, 3695, 8784, 22, 62, 16, 33411, 10349, 796, 366, 39075, 403, 3972, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23049, 16960, 14591, 547, 612, 618, 262, 10349, 373, 16758, 403, 3972, 30, 46506, 327, 28270, 7, 27926, 519, 79, 62, 39791, 8, 16034, 3084, 62, 2075, 3695, 8784, 22, 62, 16, 33411, 10349, 796, 366, 39075, 403, 3972, 1 ]
When 6.00 is the land area in kilometers squared what is the highest population of 2011?
SELECT MAX("Population (2011)") FROM table_22726 WHERE "Land area (km\u00b2)" = '6.00'
[ 2215, 718, 13, 405, 318, 262, 1956, 1989, 287, 18212, 44345, 644, 318, 262, 4511, 3265, 286, 2813, 30, 46506, 25882, 7203, 45251, 357, 9804, 8, 4943, 16034, 3084, 62, 24403, 2075, 33411, 366, 22342, 1989, 357, 13276, 59, 84, 405, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 718, 13, 405, 318, 262, 1956, 1989, 287, 18212, 44345, 644, 318, 262, 4511, 3265, 286, 2813, 30, 46506, 25882, 7203, 45251, 357, 9804, 8, 4943, 16034, 3084, 62, 24403, 2075, 33411, 366, 22342, 1989, 357, 13276, 59, 84, 405, 65, ...
What is the 2005 value with 1r in 2013 and q2 in 2011?
SELECT "2005" FROM table_71450 WHERE "2013" = '1r' AND "2011" = 'q2'
[ 2061, 318, 262, 5075, 1988, 351, 352, 81, 287, 2211, 290, 10662, 17, 287, 2813, 30, 46506, 366, 14315, 1, 16034, 3084, 62, 45722, 1120, 33411, 366, 6390, 1, 796, 705, 16, 81, 6, 5357, 366, 9804, 1, 796, 705, 80, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5075, 1988, 351, 352, 81, 287, 2211, 290, 10662, 17, 287, 2813, 30, 46506, 366, 14315, 1, 16034, 3084, 62, 45722, 1120, 33411, 366, 6390, 1, 796, 705, 16, 81, 6, 5357, 366, 9804, 1, 796, 705, 80, 17, 6 ]
Which Game site has a Kickoff (ET) of 1:00pm, and a Record of 4 1?
SELECT "Game site" FROM table_74817 WHERE "Kickoff (ET)" = '1:00pm' AND "Record" = '4–1'
[ 13828, 3776, 2524, 468, 257, 10279, 2364, 357, 2767, 8, 286, 352, 25, 405, 4426, 11, 290, 257, 13266, 286, 604, 352, 30, 46506, 366, 8777, 2524, 1, 16034, 3084, 62, 48246, 1558, 33411, 366, 45390, 2364, 357, 2767, 16725, 796, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3776, 2524, 468, 257, 10279, 2364, 357, 2767, 8, 286, 352, 25, 405, 4426, 11, 290, 257, 13266, 286, 604, 352, 30, 46506, 366, 8777, 2524, 1, 16034, 3084, 62, 48246, 1558, 33411, 366, 45390, 2364, 357, 2767, 16725, 796, 705, 1...
what is the points when the rank is more than 1 and the places is 33?
SELECT "Points" FROM table_54546 WHERE "Rank" > '1' AND "Places" = '33'
[ 10919, 318, 262, 2173, 618, 262, 4279, 318, 517, 621, 352, 290, 262, 4113, 318, 4747, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 45326, 3510, 33411, 366, 27520, 1, 1875, 705, 16, 6, 5357, 366, 3646, 2114, 1, 796, 705, 2091, 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 ]
[ 10919, 318, 262, 2173, 618, 262, 4279, 318, 517, 621, 352, 290, 262, 4113, 318, 4747, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 45326, 3510, 33411, 366, 27520, 1, 1875, 705, 16, 6, 5357, 366, 3646, 2114, 1, 796, 705, 2091, 6 ]
Before 2012, what was the greatest # of Home Games with a Canada - USA Rank of 52nd, and an Average Attendance less than 992?
SELECT MAX(_number_of_home_games) FROM table_name_41 WHERE year < 2012 AND canada___usa_rank = "52nd" AND average_attendance < 992
[ 8421, 2321, 11, 644, 373, 262, 6000, 1303, 286, 5995, 5776, 351, 257, 3340, 532, 4916, 10916, 286, 6740, 358, 11, 290, 281, 13475, 46502, 590, 1342, 621, 860, 5892, 30, 46506, 25882, 28264, 17618, 62, 1659, 62, 11195, 62, 19966, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8421, 2321, 11, 644, 373, 262, 6000, 1303, 286, 5995, 5776, 351, 257, 3340, 532, 4916, 10916, 286, 6740, 358, 11, 290, 281, 13475, 46502, 590, 1342, 621, 860, 5892, 30, 46506, 25882, 28264, 17618, 62, 1659, 62, 11195, 62, 19966, 8, ...
how many patients are admitted under emergency and diagnosed with icd9 code 5609?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.icd9_code = "5609"
[ 4919, 867, 3871, 389, 6848, 739, 6334, 290, 14641, 351, 14158, 67, 24, 2438, 642, 31751, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 6848, 739, 6334, 290, 14641, 351, 14158, 67, 24, 2438, 642, 31751, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 181...
What place was the player from Italy in ?
SELECT place FROM table_name_32 WHERE country = "italy"
[ 2061, 1295, 373, 262, 2137, 422, 8031, 287, 5633, 46506, 1295, 16034, 3084, 62, 3672, 62, 2624, 33411, 1499, 796, 366, 1287, 88, 1 ]
[ 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, 1295, 373, 262, 2137, 422, 8031, 287, 5633, 46506, 1295, 16034, 3084, 62, 3672, 62, 2624, 33411, 1499, 796, 366, 1287, 88, 1 ]
What is the highest lane for heat 6 with a time of dns?
SELECT MAX("Lane") FROM table_70812 WHERE "Heat" = '6' AND "Time" = 'dns'
[ 2061, 318, 262, 4511, 11193, 329, 4894, 718, 351, 257, 640, 286, 288, 5907, 30, 46506, 25882, 7203, 43, 1531, 4943, 16034, 3084, 62, 32583, 1065, 33411, 366, 39596, 1, 796, 705, 21, 6, 5357, 366, 7575, 1, 796, 705, 67, 5907, 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, 4511, 11193, 329, 4894, 718, 351, 257, 640, 286, 288, 5907, 30, 46506, 25882, 7203, 43, 1531, 4943, 16034, 3084, 62, 32583, 1065, 33411, 366, 39596, 1, 796, 705, 21, 6, 5357, 366, 7575, 1, 796, 705, 67, 5907, 6 ]
give the number of patients who were born before the year 1821 and whose procedure long title is other gastroenterostomy without gastrectomy.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "1821" AND procedures.long_title = "Other gastroenterostomy without gastrectomy"
[ 26535, 262, 1271, 286, 3871, 508, 547, 4642, 878, 262, 614, 1248, 2481, 290, 3025, 8771, 890, 3670, 318, 584, 33131, 9255, 455, 9145, 1231, 21956, 2554, 9145, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 508, 547, 4642, 878, 262, 614, 1248, 2481, 290, 3025, 8771, 890, 3670, 318, 584, 33131, 9255, 455, 9145, 1231, 21956, 2554, 9145, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, ...
how many songs made it into the top 10 us charts ?
SELECT COUNT("song") FROM table_203_830 WHERE "chart positions\nus country" <= 10
[ 4919, 867, 7259, 925, 340, 656, 262, 1353, 838, 514, 15907, 5633, 46506, 327, 28270, 7203, 34050, 4943, 16034, 3084, 62, 22416, 62, 48341, 33411, 366, 40926, 6116, 59, 77, 385, 1499, 1, 19841, 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, 1, 1, 1, 1, 1 ]
[ 4919, 867, 7259, 925, 340, 656, 262, 1353, 838, 514, 15907, 5633, 46506, 327, 28270, 7203, 34050, 4943, 16034, 3084, 62, 22416, 62, 48341, 33411, 366, 40926, 6116, 59, 77, 385, 1499, 1, 19841, 838 ]
what is days of hospital stay and death status of subject id 23733?
SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "23733"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 1918, 3722, 286, 2426, 4686, 34385, 2091, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 24693, 2091, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 290, 1918, 3722, 286, 2426, 4686, 34385, 2091, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 24693, 2091, 1 ]
What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0?
SELECT "Title" FROM table_18066 WHERE "Directed by" = 'David Von Ancken' AND "No. in series" > '16.0'
[ 2061, 338, 262, 3670, 286, 262, 4471, 7924, 416, 3271, 18042, 1052, 694, 268, 11, 351, 257, 4471, 1271, 5749, 621, 1467, 13, 15, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 15259, 2791, 33411, 366, 13470, 276, 416, 1, 796, 705, 11006...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 286, 262, 4471, 7924, 416, 3271, 18042, 1052, 694, 268, 11, 351, 257, 4471, 1271, 5749, 621, 1467, 13, 15, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 15259, 2791, 33411, 366, 13470, 276, 416, 1, 796, 705, 11006...
for patient id 1875, specify the icd9 code and discharge time
SELECT demographic.dischtime, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "1875"
[ 1640, 5827, 4686, 1248, 2425, 11, 11986, 262, 14158, 67, 24, 2438, 290, 17655, 640, 46506, 16728, 13, 6381, 354, 2435, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1640, 5827, 4686, 1248, 2425, 11, 11986, 262, 14158, 67, 24, 2438, 290, 17655, 640, 46506, 16728, 13, 6381, 354, 2435, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, ...
Bring me the list of elective hospital admitted patients who have hemoptysis as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.diagnosis = "HEMOPYTSIS"
[ 31416, 502, 262, 1351, 286, 1742, 425, 4436, 6848, 3871, 508, 423, 16869, 404, 774, 13429, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 31416, 502, 262, 1351, 286, 1742, 425, 4436, 6848, 3871, 508, 423, 16869, 404, 774, 13429, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, ...
count the number of patients whose year of birth is less than 2090 and item id is 51108?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2090" AND lab.itemid = "51108"
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 3829, 290, 2378, 4686, 318, 6885, 15711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 224...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 3829, 290, 2378, 4686, 318, 6885, 15711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 224...
Which school's round was 24?
SELECT "School" FROM table_10939 WHERE "Round" = '24'
[ 13828, 1524, 338, 2835, 373, 1987, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 14454, 2670, 33411, 366, 22685, 1, 796, 705, 1731, 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 ]
[ 13828, 1524, 338, 2835, 373, 1987, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 14454, 2670, 33411, 366, 22685, 1, 796, 705, 1731, 6 ]
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of code , and group by attribute name in a bar chart, and list by the Y-axis in asc.
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 11, 290, 1351, 416, 262, 575, 12, 22704, 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, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 11, 290, 1351, 416, 262, 575, 12, 22704, 287, ...
Yearly average questions per day.
SELECT YEAR(CreationDate) * 12 + MONTH(CreationDate) AS MonthNumber, CAST(COUNT(*) AS FLOAT) / 30 AS "Approximate Questions Per Day" FROM Posts WHERE PostTypeId = 1 GROUP BY YEAR(CreationDate), MONTH(CreationDate) ORDER BY YEAR(CreationDate) DESC, MONTH(CreationDate) DESC
[ 56, 11458, 2811, 2683, 583, 1110, 13, 46506, 32914, 7, 12443, 341, 10430, 8, 1635, 1105, 1343, 25000, 4221, 7, 12443, 341, 10430, 8, 7054, 16061, 15057, 11, 327, 11262, 7, 34, 28270, 7, 28104, 7054, 9977, 46, 1404, 8, 1220, 1542, 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...
[ 56, 11458, 2811, 2683, 583, 1110, 13, 46506, 32914, 7, 12443, 341, 10430, 8, 1635, 1105, 1343, 25000, 4221, 7, 12443, 341, 10430, 8, 7054, 16061, 15057, 11, 327, 11262, 7, 34, 28270, 7, 28104, 7054, 9977, 46, 1404, 8, 1220, 1542, 70...
What was the away score when they played at Brunswick Street Oval?
SELECT away_team AS score FROM table_name_92 WHERE venue = "brunswick street oval"
[ 2061, 373, 262, 1497, 4776, 618, 484, 2826, 379, 32211, 3530, 25165, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5892, 33411, 14359, 796, 366, 1671, 403, 30961, 4675, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1497, 4776, 618, 484, 2826, 379, 32211, 3530, 25165, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5892, 33411, 14359, 796, 366, 1671, 403, 30961, 4675, 41186, 1 ]
Give me a bar chart for mean points of each position
SELECT Position, AVG(Points) FROM player GROUP BY Position
[ 23318, 502, 257, 2318, 8262, 329, 1612, 2173, 286, 1123, 2292, 46506, 23158, 11, 35224, 7, 40710, 8, 16034, 2137, 44441, 11050, 23158 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 8262, 329, 1612, 2173, 286, 1123, 2292, 46506, 23158, 11, 35224, 7, 40710, 8, 16034, 2137, 44441, 11050, 23158 ]
What is the share of votes with 3,567,021 NDC votes?
SELECT share_of_votes FROM table_name_40 WHERE number_of_ndc_votes = "3,567,021"
[ 2061, 318, 262, 2648, 286, 5690, 351, 513, 11, 20, 3134, 11, 46821, 399, 9697, 5690, 30, 46506, 2648, 62, 1659, 62, 29307, 16034, 3084, 62, 3672, 62, 1821, 33411, 1271, 62, 1659, 62, 358, 66, 62, 29307, 796, 366, 18, 11, 20, 3134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2648, 286, 5690, 351, 513, 11, 20, 3134, 11, 46821, 399, 9697, 5690, 30, 46506, 2648, 62, 1659, 62, 29307, 16034, 3084, 62, 3672, 62, 1821, 33411, 1271, 62, 1659, 62, 358, 66, 62, 29307, 796, 366, 18, 11, 20, 3134,...
what were the number of definity prescriptions that were made since 4 years ago?
SELECT COUNT(*) FROM medication WHERE medication.drugname = 'definity' AND DATETIME(medication.drugstarttime) >= DATETIME(CURRENT_TIME(), '-4 year')
[ 10919, 547, 262, 1271, 286, 2730, 414, 34092, 326, 547, 925, 1201, 604, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 4299, 6269, 6, 5357, 360, 1404, 2767, 12789, 7, 1150, 3299, 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 ]
[ 10919, 547, 262, 1271, 286, 2730, 414, 34092, 326, 547, 925, 1201, 604, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 4299, 6269, 6, 5357, 360, 1404, 2767, 12789, 7, 1150, 3299, 13,...
How many time was the political party the social democratic party of germany?
SELECT COUNT("% 2006") FROM table_2420 WHERE "Political parties" = 'Social Democratic Party of Germany'
[ 2437, 867, 640, 373, 262, 1964, 2151, 262, 1919, 10518, 2151, 286, 308, 2224, 88, 30, 46506, 327, 28270, 7203, 4, 4793, 4943, 16034, 3084, 62, 1731, 1238, 33411, 366, 35443, 4671, 1, 796, 705, 20636, 4390, 3615, 286, 4486, 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, 867, 640, 373, 262, 1964, 2151, 262, 1919, 10518, 2151, 286, 308, 2224, 88, 30, 46506, 327, 28270, 7203, 4, 4793, 4943, 16034, 3084, 62, 1731, 1238, 33411, 366, 35443, 4671, 1, 796, 705, 20636, 4390, 3615, 286, 4486, 6 ]
How many points are in the scored category for the team that has less than 5 draws, 8 total wins, and total overall points less than 27?
SELECT COUNT(scored) FROM table_name_83 WHERE draws < 5 AND wins = 8 AND points < 27
[ 2437, 867, 2173, 389, 287, 262, 7781, 6536, 329, 262, 1074, 326, 468, 1342, 621, 642, 14293, 11, 807, 2472, 7864, 11, 290, 2472, 4045, 2173, 1342, 621, 2681, 30, 46506, 327, 28270, 7, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 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, 1, 1, 1, 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, 2173, 389, 287, 262, 7781, 6536, 329, 262, 1074, 326, 468, 1342, 621, 642, 14293, 11, 807, 2472, 7864, 11, 290, 2472, 4045, 2173, 1342, 621, 2681, 30, 46506, 327, 28270, 7, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 5999, ...
What is the average crowd for the home team of North Melbourne?
SELECT AVG("Crowd") FROM table_54975 WHERE "Home team" = 'north melbourne'
[ 2061, 318, 262, 2811, 4315, 329, 262, 1363, 1074, 286, 2258, 14819, 30, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 44966, 2425, 33411, 366, 16060, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 4315, 329, 262, 1363, 1074, 286, 2258, 14819, 30, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 44966, 2425, 33411, 366, 16060, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
Which College/Junior/Club Team has a Nationality of Canada and Jeff brown?
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE nationality = "canada" AND player = "jeff brown"
[ 13828, 5535, 14, 22396, 1504, 14, 42350, 4816, 468, 257, 2351, 414, 286, 3340, 290, 5502, 7586, 30, 46506, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 834, 19316, 62, 16034, 3084, 62, 3672, 62, 5705, 33411, 29835, 796, 366, 5171, 476...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5535, 14, 22396, 1504, 14, 42350, 4816, 468, 257, 2351, 414, 286, 3340, 290, 5502, 7586, 30, 46506, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 834, 19316, 62, 16034, 3084, 62, 3672, 62, 5705, 33411, 29835, 796, 366, 5171, 476...
What are the fewest draws with less than 7 losses and Mitta United is the Tallagatta DFL?
SELECT MIN("Draws") FROM table_78134 WHERE "Losses" < '7' AND "Tallangatta DFL" = 'mitta united'
[ 2061, 389, 262, 1178, 395, 14293, 351, 1342, 621, 767, 9089, 290, 16627, 64, 1578, 318, 262, 22676, 363, 25014, 360, 3697, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 3695, 19880, 33411, 366, 43, 793, 274, 1, 1279, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1178, 395, 14293, 351, 1342, 621, 767, 9089, 290, 16627, 64, 1578, 318, 262, 22676, 363, 25014, 360, 3697, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 3695, 19880, 33411, 366, 43, 793, 274, 1, 1279, 705, ...
What are the draws when the losses are less than 1?
SELECT SUM("Draws") FROM table_64006 WHERE "Losses" < '1'
[ 2061, 389, 262, 14293, 618, 262, 9089, 389, 1342, 621, 352, 30, 46506, 35683, 7203, 25302, 82, 4943, 16034, 3084, 62, 2414, 28041, 33411, 366, 43, 793, 274, 1, 1279, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 14293, 618, 262, 9089, 389, 1342, 621, 352, 30, 46506, 35683, 7203, 25302, 82, 4943, 16034, 3084, 62, 2414, 28041, 33411, 366, 43, 793, 274, 1, 1279, 705, 16, 6 ]
What is the 2007 for the 2003 desert prince?
SELECT "2007" FROM table_76405 WHERE "2003" = 'desert prince'
[ 2061, 318, 262, 4343, 329, 262, 5816, 10326, 19716, 30, 46506, 366, 12726, 1, 16034, 3084, 62, 4304, 26598, 33411, 366, 16088, 1, 796, 705, 8906, 861, 19716, 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, 4343, 329, 262, 5816, 10326, 19716, 30, 46506, 366, 12726, 1, 16034, 3084, 62, 4304, 26598, 33411, 366, 16088, 1, 796, 705, 8906, 861, 19716, 6 ]
What is the Location of the byron nelson golf classic?
SELECT location FROM table_name_94 WHERE tournament = "byron nelson golf classic"
[ 2061, 318, 262, 13397, 286, 262, 416, 1313, 299, 10151, 13126, 6833, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5824, 33411, 7756, 796, 366, 1525, 1313, 299, 10151, 13126, 6833, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 13397, 286, 262, 416, 1313, 299, 10151, 13126, 6833, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5824, 33411, 7756, 796, 366, 1525, 1313, 299, 10151, 13126, 6833, 1 ]
How many trains are there for the route via trivandrum, ernakulam, newdelhi?
SELECT COUNT(train_number) FROM table_29770377_1 WHERE route_via = "Trivandrum, Ernakulam, NewDelhi"
[ 2437, 867, 13404, 389, 612, 329, 262, 6339, 2884, 19876, 392, 6582, 11, 220, 1142, 461, 377, 321, 11, 649, 12381, 5303, 30, 46506, 327, 28270, 7, 27432, 62, 17618, 8, 16034, 3084, 62, 26561, 2154, 26514, 62, 16, 33411, 6339, 62, 886...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13404, 389, 612, 329, 262, 6339, 2884, 19876, 392, 6582, 11, 220, 1142, 461, 377, 321, 11, 649, 12381, 5303, 30, 46506, 327, 28270, 7, 27432, 62, 17618, 8, 16034, 3084, 62, 26561, 2154, 26514, 62, 16, 33411, 6339, 62, 886...
in the number of episode in season is 11, who was the writer?
SELECT written_by FROM table_21313498_1 WHERE no_in_season = 11
[ 259, 262, 1271, 286, 4471, 287, 1622, 318, 1367, 11, 508, 373, 262, 6260, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 26427, 1485, 36260, 62, 16, 33411, 645, 62, 259, 62, 6230, 796, 1367 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 262, 1271, 286, 4471, 287, 1622, 318, 1367, 11, 508, 373, 262, 6260, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 26427, 1485, 36260, 62, 16, 33411, 645, 62, 259, 62, 6230, 796, 1367 ]
Bar chart x axis other details y axis resident_id, could you list Y in ascending order?
SELECT other_details, resident_id FROM Residents ORDER BY resident_id
[ 10374, 8262, 2124, 16488, 584, 3307, 331, 16488, 6623, 62, 312, 11, 714, 345, 1351, 575, 287, 41988, 1502, 30, 46506, 584, 62, 36604, 11, 6623, 62, 312, 16034, 29602, 38678, 11050, 6623, 62, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 584, 3307, 331, 16488, 6623, 62, 312, 11, 714, 345, 1351, 575, 287, 41988, 1502, 30, 46506, 584, 62, 36604, 11, 6623, 62, 312, 16034, 29602, 38678, 11050, 6623, 62, 312 ]
What did the loss come from a Club of mumbles rfc?
SELECT "Lost" FROM table_6643 WHERE "Club" = 'mumbles rfc'
[ 2061, 750, 262, 2994, 1282, 422, 257, 6289, 286, 285, 25329, 374, 16072, 30, 46506, 366, 31042, 1, 16034, 3084, 62, 21, 41813, 33411, 366, 42350, 1, 796, 705, 76, 25329, 374, 16072, 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, 750, 262, 2994, 1282, 422, 257, 6289, 286, 285, 25329, 374, 16072, 30, 46506, 366, 31042, 1, 16034, 3084, 62, 21, 41813, 33411, 366, 42350, 1, 796, 705, 76, 25329, 374, 16072, 6 ]
from ATLANTA to WASHINGTON
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 = 'WASHIN...
[ 6738, 5161, 25697, 5603, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6738, 5161, 25697, 5603, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, ...
which award has wentworth miller been nominated for the most ?
SELECT "award" FROM table_203_643 GROUP BY "award" ORDER BY COUNT(*) DESC LIMIT 1
[ 4758, 5764, 468, 1816, 9268, 3939, 263, 587, 19332, 329, 262, 749, 5633, 46506, 366, 707, 446, 1, 16034, 3084, 62, 22416, 62, 41813, 44441, 11050, 366, 707, 446, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 5764, 468, 1816, 9268, 3939, 263, 587, 19332, 329, 262, 749, 5633, 46506, 366, 707, 446, 1, 16034, 3084, 62, 22416, 62, 41813, 44441, 11050, 366, 707, 446, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What is the highest enrollment in Lagrange where the mascot is panthers?
SELECT MAX("Enrollment") FROM table_63309 WHERE "Location" = 'lagrange' AND "Mascot" = 'panthers'
[ 2061, 318, 262, 4511, 20753, 287, 21003, 9521, 810, 262, 37358, 318, 15857, 7084, 30, 46506, 25882, 7203, 4834, 48108, 4943, 16034, 3084, 62, 5066, 26895, 33411, 366, 14749, 1, 796, 705, 30909, 9521, 6, 5357, 366, 44, 3372, 313, 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, 1 ]
[ 2061, 318, 262, 4511, 20753, 287, 21003, 9521, 810, 262, 37358, 318, 15857, 7084, 30, 46506, 25882, 7203, 4834, 48108, 4943, 16034, 3084, 62, 5066, 26895, 33411, 366, 14749, 1, 796, 705, 30909, 9521, 6, 5357, 366, 44, 3372, 313, 1, 79...
Give me the comparison about the amount of Sex over the Sex , and group by attribute Sex by a bar chart, order in desc by the how many sex.
SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY COUNT(Sex) DESC
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 14419, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 1502, 287, 1715, 416, 262, 703, 867, 1714, 13, 46506, 14419, 11, 327, 28270, 7, 23398, 8, 16034, 661, 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 ]
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 14419, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 1502, 287, 1715, 416, 262, 703, 867, 1714, 13, 46506, 14419, 11, 327, 28270, 7, 23398, 8, 16034, 661, 4...