instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
tell me the allergies that patient 004-29334 had when they came to the hospital first time?
SELECT allergy.allergyname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-29334' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient...
[ 33331, 502, 262, 36665, 326, 5827, 3571, 19, 12, 1959, 31380, 550, 618, 484, 1625, 284, 262, 4436, 717, 640, 30, 46506, 36197, 13, 439, 26079, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 36665, 326, 5827, 3571, 19, 12, 1959, 31380, 550, 618, 484, 1625, 284, 262, 4436, 717, 640, 30, 46506, 36197, 13, 439, 26079, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
For those records from the products and each product's manufacturer, visualize a scatter chart about the correlation between code and manufacturer .
SELECT T1.Code, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 2438, 290, 11554, 764, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 44445, 15051, 16034, 18675, 7054, 309, 16, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 2438, 290, 11554, 764, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 44445, 15051, 16034, 18675, 7054, 309, 16, 32357, 126...
count the number of drugs which had been prescribed since 39 months ago to patient 83901.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83901) AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-39 month')
[ 9127, 262, 1271, 286, 5010, 543, 550, 587, 14798, 1201, 5014, 1933, 2084, 284, 5827, 807, 2670, 486, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 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...
[ 9127, 262, 1271, 286, 5010, 543, 550, 587, 14798, 1201, 5014, 1933, 2084, 284, 5827, 807, 2670, 486, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312,...
What are the tracks that Dean Peeters bought?
SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "Daan" AND T4.last_name = "Peeters"
[ 2061, 389, 262, 8339, 326, 11325, 2631, 7307, 5839, 30, 46506, 309, 16, 13, 3672, 16034, 8339, 7054, 309, 16, 32357, 1268, 45458, 62, 6615, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 11659, 62, 312, 32357, 1268, 800, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8339, 326, 11325, 2631, 7307, 5839, 30, 46506, 309, 16, 13, 3672, 16034, 8339, 7054, 309, 16, 32357, 1268, 45458, 62, 6615, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 11659, 62, 312, 32357, 1268, 800, ...
What is Date, when Runner(s)-Up is 'Bo-Mee Lee'?
SELECT date FROM table_name_65 WHERE runner_s__up = "bo-mee lee"
[ 2061, 318, 7536, 11, 618, 21529, 7, 82, 13219, 4933, 318, 705, 16635, 12, 44, 1453, 5741, 30960, 46506, 3128, 16034, 3084, 62, 3672, 62, 2996, 33411, 17490, 62, 82, 834, 929, 796, 366, 2127, 12, 1326, 68, 443, 68, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21529, 7, 82, 13219, 4933, 318, 705, 16635, 12, 44, 1453, 5741, 30960, 46506, 3128, 16034, 3084, 62, 3672, 62, 2996, 33411, 17490, 62, 82, 834, 929, 796, 366, 2127, 12, 1326, 68, 443, 68, 1 ]
Who is the runner-up for the season 2008-09?
SELECT runner_up FROM table_2429942_2 WHERE season = "2008-09"
[ 8241, 318, 262, 17490, 12, 929, 329, 262, 1622, 3648, 12, 2931, 30, 46506, 17490, 62, 929, 16034, 3084, 62, 1731, 22579, 3682, 62, 17, 33411, 1622, 796, 366, 11528, 12, 2931, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17490, 12, 929, 329, 262, 1622, 3648, 12, 2931, 30, 46506, 17490, 62, 929, 16034, 3084, 62, 1731, 22579, 3682, 62, 17, 33411, 1622, 796, 366, 11528, 12, 2931, 1 ]
How many episodes were written by Gregg Mettler?
SELECT COUNT(no_in_series) FROM table_29436238_1 WHERE written_by = "Gregg Mettler"
[ 2437, 867, 8640, 547, 3194, 416, 33742, 337, 3087, 1754, 30, 46506, 327, 28270, 7, 3919, 62, 259, 62, 25076, 8, 16034, 3084, 62, 27696, 2623, 23721, 62, 16, 33411, 3194, 62, 1525, 796, 366, 43887, 1130, 337, 3087, 1754, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8640, 547, 3194, 416, 33742, 337, 3087, 1754, 30, 46506, 327, 28270, 7, 3919, 62, 259, 62, 25076, 8, 16034, 3084, 62, 27696, 2623, 23721, 62, 16, 33411, 3194, 62, 1525, 796, 366, 43887, 1130, 337, 3087, 1754, 1 ]
Which Opponent has a Rockets score larger than 86, a Streak of won 1, and Opponents smaller than 101?
SELECT opponent FROM table_name_17 WHERE rockets_score > 86 AND streak = "won 1" AND opponents < 101
[ 13828, 9385, 3471, 468, 257, 23328, 4776, 4025, 621, 9849, 11, 257, 9737, 461, 286, 1839, 352, 11, 290, 9385, 3906, 4833, 621, 8949, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1558, 33411, 20293, 62, 26675, 1875, 9849, 5357, 15113, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9385, 3471, 468, 257, 23328, 4776, 4025, 621, 9849, 11, 257, 9737, 461, 286, 1839, 352, 11, 290, 9385, 3906, 4833, 621, 8949, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1558, 33411, 20293, 62, 26675, 1875, 9849, 5357, 15113, 7...
find the number of patients whose diagnoses short title is joint replaced knee and the drug route is replace.
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.short_title = "Joint replaced knee" AND prescriptions.route = "REPLACE"
[ 19796, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 6466, 6928, 10329, 290, 262, 2563, 6339, 318, 6330, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 6466, 6928, 10329, 290, 262, 2563, 6339, 318, 6330, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
how many jamerican cuisine are there in santa cruz county ?
SELECT COUNT(*) FROM geographic, restaurant WHERE geographic.county = 'santa cruz county' AND restaurant.city_name = geographic.city_name AND restaurant.name = 'jamerican cuisine'
[ 4919, 867, 474, 2382, 7490, 33072, 389, 612, 287, 264, 4910, 4630, 89, 7968, 5633, 46506, 327, 28270, 7, 28104, 16034, 22987, 11, 7072, 33411, 22987, 13, 9127, 88, 796, 705, 82, 4910, 4630, 89, 7968, 6, 5357, 7072, 13, 19205, 62, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 474, 2382, 7490, 33072, 389, 612, 287, 264, 4910, 4630, 89, 7968, 5633, 46506, 327, 28270, 7, 28104, 16034, 22987, 11, 7072, 33411, 22987, 13, 9127, 88, 796, 705, 82, 4910, 4630, 89, 7968, 6, 5357, 7072, 13, 19205, 62, 36...
What place had a home team score 22.19 (151)?
SELECT "Venue" FROM table_11700 WHERE "Home team score" = '22.19 (151)'
[ 2061, 1295, 550, 257, 1363, 1074, 4776, 2534, 13, 1129, 357, 24309, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1157, 9879, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1828, 13, 1129, 357, 24309, 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 ]
[ 2061, 1295, 550, 257, 1363, 1074, 4776, 2534, 13, 1129, 357, 24309, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1157, 9879, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1828, 13, 1129, 357, 24309, 33047 ]
How many picks does Auburn have?
SELECT COUNT("Pick") FROM table_45458 WHERE "School/Club Team" = 'auburn'
[ 2437, 867, 11103, 857, 24579, 423, 30, 46506, 327, 28270, 7203, 31686, 4943, 16034, 3084, 62, 2231, 29334, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 64, 549, 700, 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 ]
[ 2437, 867, 11103, 857, 24579, 423, 30, 46506, 327, 28270, 7203, 31686, 4943, 16034, 3084, 62, 2231, 29334, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 64, 549, 700, 6 ]
do chipper adams and justin beyendeza have more than 3 wins ?
SELECT (SELECT COUNT(*) FROM table_203_667 WHERE "driver" = 'chipper adams' AND "co-driver" = 'justin beyendeza') > 3
[ 4598, 442, 14710, 512, 4105, 290, 655, 259, 307, 88, 38396, 4496, 423, 517, 621, 513, 7864, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 28933, 33411, 366, 26230, 1, 796, 705, 11072, 2848, 512, 4105, 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 ]
[ 4598, 442, 14710, 512, 4105, 290, 655, 259, 307, 88, 38396, 4496, 423, 517, 621, 513, 7864, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 28933, 33411, 366, 26230, 1, 796, 705, 11072, 2848, 512, 4105, 6, ...
Which seasons have fernando alonso as the driver?
SELECT seasons FROM table_name_24 WHERE driver = "fernando alonso"
[ 13828, 7028, 423, 277, 13023, 78, 435, 26666, 355, 262, 4639, 30, 46506, 7028, 16034, 3084, 62, 3672, 62, 1731, 33411, 4639, 796, 366, 69, 13023, 78, 435, 26666, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 7028, 423, 277, 13023, 78, 435, 26666, 355, 262, 4639, 30, 46506, 7028, 16034, 3084, 62, 3672, 62, 1731, 33411, 4639, 796, 366, 69, 13023, 78, 435, 26666, 1 ]
Dallas Burn's draft pick was which position?
SELECT "Position" FROM table_28322 WHERE "Team" = 'Dallas Burn'
[ 40540, 8942, 338, 4538, 2298, 373, 543, 2292, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 30290, 1828, 33411, 366, 15592, 1, 796, 705, 40540, 8942, 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 ]
[ 40540, 8942, 338, 4538, 2298, 373, 543, 2292, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 30290, 1828, 33411, 366, 15592, 1, 796, 705, 40540, 8942, 6 ]
for patients who received spinal struct repair nec until 3 years ago, what are the top four most frequent specimens tested afterwards within 2 months?
SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FR...
[ 1640, 3871, 508, 2722, 26234, 2878, 9185, 27576, 1566, 513, 812, 2084, 11, 644, 389, 262, 1353, 1440, 749, 10792, 27569, 6789, 12979, 1626, 362, 1933, 30, 46506, 256, 18, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 256, 17, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 3871, 508, 2722, 26234, 2878, 9185, 27576, 1566, 513, 812, 2084, 11, 644, 389, 262, 1353, 1440, 749, 10792, 27569, 6789, 12979, 1626, 362, 1933, 30, 46506, 256, 18, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 256, 17, 13,...
On round 3 for Arting Team Impul, who held pole position?
SELECT "Pole Position" FROM table_4464 WHERE "Team" = 'arting team impul' AND "Round" = '3'
[ 2202, 2835, 513, 329, 943, 889, 4816, 9855, 377, 11, 508, 2714, 16825, 2292, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 2598, 2414, 33411, 366, 15592, 1, 796, 705, 433, 278, 1074, 848, 377, 6, 5357, 366, 22685, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 2835, 513, 329, 943, 889, 4816, 9855, 377, 11, 508, 2714, 16825, 2292, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 2598, 2414, 33411, 366, 15592, 1, 796, 705, 433, 278, 1074, 848, 377, 6, 5357, 366, 22685, 1, 796, 7...
Are any upper elective courses offered for CS ?
SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id
[ 8491, 597, 6727, 1742, 425, 10902, 4438, 329, 9429, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8491, 597, 6727, 1742, 425, 10902, 4438, 329, 9429, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4...
how many athletes finished after 2:00:00 ?
SELECT COUNT("name") FROM table_204_29 WHERE "time" >= 2
[ 4919, 867, 10856, 5201, 706, 362, 25, 405, 25, 405, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 1959, 33411, 366, 2435, 1, 18189, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 10856, 5201, 706, 362, 25, 405, 25, 405, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 1959, 33411, 366, 2435, 1, 18189, 362 ]
what were the five most commonly prescribed drugs for patients who had received myotomy earlier within 2 months?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures ...
[ 10919, 547, 262, 1936, 749, 8811, 14798, 5010, 329, 3871, 508, 550, 2722, 616, 38385, 2961, 1626, 362, 1933, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1936, 749, 8811, 14798, 5010, 329, 3871, 508, 550, 2722, 616, 38385, 2961, 1626, 362, 1933, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532,...
what was the last height of patient 26817 in 10/this year?
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26817)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht'...
[ 10919, 373, 262, 938, 6001, 286, 5827, 36678, 1558, 287, 838, 14, 5661, 614, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 6001, 286, 5827, 36678, 1558, 287, 838, 14, 5661, 614, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, ...
what is the competition when the result is won and the score is 8-0?
SELECT "Competition" FROM table_63982 WHERE "Result" = 'won' AND "Score" = '8-0'
[ 10919, 318, 262, 5449, 618, 262, 1255, 318, 1839, 290, 262, 4776, 318, 807, 12, 15, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 21, 2670, 6469, 33411, 366, 23004, 1, 796, 705, 26502, 6, 5357, 366, 26595, 1, 796, 705, 23, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5449, 618, 262, 1255, 318, 1839, 290, 262, 4776, 318, 807, 12, 15, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 21, 2670, 6469, 33411, 366, 23004, 1, 796, 705, 26502, 6, 5357, 366, 26595, 1, 796, 705, 23, 12, ...
How many faculty members participate in each activity? Return the activity names and the number of faculty members by a bar chart.
SELECT activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_Participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid
[ 2437, 867, 12829, 1866, 8277, 287, 1123, 3842, 30, 8229, 262, 3842, 3891, 290, 262, 1271, 286, 12829, 1866, 416, 257, 2318, 8262, 13, 46506, 3842, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 24641, 7054, 309, 16, 32357, 1268, 35262, 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...
[ 2437, 867, 12829, 1866, 8277, 287, 1123, 3842, 30, 8229, 262, 3842, 3891, 290, 262, 1271, 286, 12829, 1866, 416, 257, 2318, 8262, 13, 46506, 3842, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 24641, 7054, 309, 16, 32357, 1268, 35262, 62...
What was the number of Laps with a Grid of more than 3 and Time of 39:24.967?
SELECT MIN("Laps") FROM table_38882 WHERE "Grid" > '3' AND "Time" = '39:24.967'
[ 2061, 373, 262, 1271, 286, 406, 1686, 351, 257, 24846, 286, 517, 621, 513, 290, 3862, 286, 5014, 25, 1731, 13, 24, 3134, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 2548, 42980, 33411, 366, 41339, 1, 1875, 705, 18, 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 ]
[ 2061, 373, 262, 1271, 286, 406, 1686, 351, 257, 24846, 286, 517, 621, 513, 290, 3862, 286, 5014, 25, 1731, 13, 24, 3134, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 2548, 42980, 33411, 366, 41339, 1, 1875, 705, 18, 6, ...
when did patient 010-12376 have the volume (ml)-linezolid (zyvox) ivpb 600 mg for the last time?
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-12376')) AND intakeoutput.cellpath LIKE '%intake%...
[ 12518, 750, 5827, 5534, 15, 12, 1065, 32128, 423, 262, 6115, 357, 4029, 13219, 1370, 89, 10180, 357, 7357, 85, 1140, 8, 21628, 40842, 10053, 10527, 329, 262, 938, 640, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5534, 15, 12, 1065, 32128, 423, 262, 6115, 357, 4029, 13219, 1370, 89, 10180, 357, 7357, 85, 1140, 8, 21628, 40842, 10053, 10527, 329, 262, 938, 640, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the distribution of hire_date and the average of manager_id bin hire_date by weekday in a bar chart, and show by the the average of manager id from high to low.
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(MANAGER_ID) DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 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...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, ...
School with lowest ratio of total revenue and average scores
SELECT T1.school_district, MIN(T1.t_fed_rev / T3.average_scale_score) FROM finrev_fed_17 AS T1 JOIN finrev_fed_key_17 AS T2 ON T1.state_code = T2.state_code JOIN ndecoreexcel_math_grade8 AS T3 ON T2.state = T3.state
[ 26130, 351, 9016, 8064, 286, 2472, 6426, 290, 2811, 8198, 46506, 309, 16, 13, 14347, 62, 17080, 2012, 11, 20625, 7, 51, 16, 13, 83, 62, 19082, 62, 18218, 1220, 309, 18, 13, 23913, 62, 9888, 62, 26675, 8, 16034, 957, 18218, 62, 190...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26130, 351, 9016, 8064, 286, 2472, 6426, 290, 2811, 8198, 46506, 309, 16, 13, 14347, 62, 17080, 2012, 11, 20625, 7, 51, 16, 13, 83, 62, 19082, 62, 18218, 1220, 309, 18, 13, 23913, 62, 9888, 62, 26675, 8, 16034, 957, 18218, 62, 190...
WHich Open Cup has a Division larger than 4?
SELECT "Open Cup" FROM table_50804 WHERE "Division" > '4'
[ 12418, 488, 4946, 5454, 468, 257, 7458, 4025, 621, 604, 30, 46506, 366, 11505, 5454, 1, 16034, 3084, 62, 1120, 36088, 33411, 366, 24095, 1166, 1, 1875, 705, 19, 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 ]
[ 12418, 488, 4946, 5454, 468, 257, 7458, 4025, 621, 604, 30, 46506, 366, 11505, 5454, 1, 16034, 3084, 62, 1120, 36088, 33411, 366, 24095, 1166, 1, 1875, 705, 19, 6 ]
Find the last names of students studying in room 111.
SELECT lastname FROM list WHERE classroom = 111
[ 16742, 262, 938, 3891, 286, 2444, 11065, 287, 2119, 13374, 13, 46506, 938, 3672, 16034, 1351, 33411, 15806, 796, 13374 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 938, 3891, 286, 2444, 11065, 287, 2119, 13374, 13, 46506, 938, 3672, 16034, 1351, 33411, 15806, 796, 13374 ]
Show the number of products with price higher than 1000 or lower than 500 for each product type code in a bar chart, rank x-axis in ascending order.
SELECT product_type_code, COUNT(product_type_code) FROM Products WHERE product_price > 1000 OR product_price < 500 GROUP BY product_type_code ORDER BY product_type_code
[ 15307, 262, 1271, 286, 3186, 351, 2756, 2440, 621, 8576, 393, 2793, 621, 5323, 329, 1123, 1720, 2099, 2438, 287, 257, 2318, 8262, 11, 4279, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 1720, 62, 4906, 62, 8189, 11, 327, 28270, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 1271, 286, 3186, 351, 2756, 2440, 621, 8576, 393, 2793, 621, 5323, 329, 1123, 1720, 2099, 2438, 287, 257, 2318, 8262, 11, 4279, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 1720, 62, 4906, 62, 8189, 11, 327, 28270, 7, 1...
Who were the 3rd couple that were viewed by 4.89 million viewers?
SELECT 3 AS rd_couple FROM table_25664518_4 WHERE viewers__millions_ = "4.89"
[ 8241, 547, 262, 513, 4372, 3155, 326, 547, 9569, 416, 604, 13, 4531, 1510, 10209, 30, 46506, 513, 7054, 374, 67, 62, 66, 43846, 16034, 3084, 62, 1495, 2791, 2231, 1507, 62, 19, 33411, 10209, 834, 17805, 507, 62, 796, 366, 19, 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 ]
[ 8241, 547, 262, 513, 4372, 3155, 326, 547, 9569, 416, 604, 13, 4531, 1510, 10209, 30, 46506, 513, 7054, 374, 67, 62, 66, 43846, 16034, 3084, 62, 1495, 2791, 2231, 1507, 62, 19, 33411, 10209, 834, 17805, 507, 62, 796, 366, 19, 13, ...
What is the type of the Leeds United source, winter transfer window and moving from Northampton town?
SELECT "Type" FROM table_14629 WHERE "Source" = 'leeds united' AND "Transfer window" = 'winter' AND "Moving from" = 'northampton town'
[ 2061, 318, 262, 2099, 286, 262, 29293, 1578, 2723, 11, 7374, 4351, 4324, 290, 3867, 422, 2258, 23427, 3240, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 20964, 1959, 33411, 366, 7416, 1, 796, 705, 293, 5379, 16503, 6, 5357, 366, 43260, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2099, 286, 262, 29293, 1578, 2723, 11, 7374, 4351, 4324, 290, 3867, 422, 2258, 23427, 3240, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 20964, 1959, 33411, 366, 7416, 1, 796, 705, 293, 5379, 16503, 6, 5357, 366, 43260, ...
patient 004-86136 was diagnosed during their first hospital visit for the last time with what?
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-86136' AND NOT patient.hospitaldischargetime IS NULL ORDER BY...
[ 26029, 3571, 19, 12, 4521, 20809, 373, 14641, 1141, 511, 717, 4436, 3187, 329, 262, 938, 640, 351, 644, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 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...
[ 26029, 3571, 19, 12, 4521, 20809, 373, 14641, 1141, 511, 717, 4436, 3187, 329, 262, 938, 640, 351, 644, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029...
how many times has the ot cerv fusion post/post procedure been ordered during this year?
SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'ot cerv fusion post/post') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 4919, 867, 1661, 468, 262, 30972, 28987, 21748, 1281, 14, 7353, 8771, 587, 6149, 1141, 428, 614, 30, 46506, 327, 28270, 7, 28104, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 468, 262, 30972, 28987, 21748, 1281, 14, 7353, 8771, 587, 6149, 1141, 428, 614, 30, 46506, 327, 28270, 7, 28104, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, ...
Which Player's Position is guard and played in Toronto during the Years 2007-08?
SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-08"
[ 13828, 7853, 338, 23158, 318, 4860, 290, 2826, 287, 6586, 1141, 262, 13212, 4343, 12, 2919, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1433, 33411, 2292, 796, 366, 14864, 1, 5357, 812, 62, 259, 62, 13165, 5957, 796, 366, 12726, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7853, 338, 23158, 318, 4860, 290, 2826, 287, 6586, 1141, 262, 13212, 4343, 12, 2919, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1433, 33411, 2292, 796, 366, 14864, 1, 5357, 812, 62, 259, 62, 13165, 5957, 796, 366, 12726, 12, ...
Look for the diagnoses short title and long title of icd9 code 42823.
SELECT diagnoses.short_title, diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "42823"
[ 8567, 329, 262, 40567, 1790, 3670, 290, 890, 3670, 286, 14158, 67, 24, 2438, 45063, 1954, 13, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 40567, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 40173, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8567, 329, 262, 40567, 1790, 3670, 290, 890, 3670, 286, 14158, 67, 24, 2438, 45063, 1954, 13, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 40567, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 40173, ...
how many patients received glucose in the same hospital visit after the first ct scan - without contrast was performed since 5 years ago?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'ct scan - without contrast' AND DATETIME(treatment.treatmenttime) >= DATE...
[ 4919, 867, 3871, 2722, 15701, 287, 262, 976, 4436, 3187, 706, 262, 717, 269, 83, 9367, 532, 1231, 6273, 373, 6157, 1201, 642, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 2722, 15701, 287, 262, 976, 4436, 3187, 706, 262, 717, 269, 83, 9367, 532, 1231, 6273, 373, 6157, 1201, 642, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 3...
Name the memory for meodel number for atom e640t
SELECT memory FROM table_16729930_17 WHERE model_number = "Atom E640T"
[ 5376, 262, 4088, 329, 502, 375, 417, 1271, 329, 22037, 304, 31102, 83, 46506, 4088, 16034, 3084, 62, 21940, 22579, 1270, 62, 1558, 33411, 2746, 62, 17618, 796, 366, 2953, 296, 412, 31102, 51, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4088, 329, 502, 375, 417, 1271, 329, 22037, 304, 31102, 83, 46506, 4088, 16034, 3084, 62, 21940, 22579, 1270, 62, 1558, 33411, 2746, 62, 17618, 796, 366, 2953, 296, 412, 31102, 51, 1 ]
What is the Score of the Fifa World Cup 1986 Qualifying Competition?
SELECT "Score" FROM table_77161 WHERE "Competition" = 'fifa world cup 1986 qualifying'
[ 2061, 318, 262, 15178, 286, 262, 49142, 2159, 5454, 12113, 9537, 4035, 27348, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3324, 25948, 33411, 366, 7293, 15620, 1, 796, 705, 69, 19215, 995, 6508, 12113, 18677, 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, 318, 262, 15178, 286, 262, 49142, 2159, 5454, 12113, 9537, 4035, 27348, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3324, 25948, 33411, 366, 7293, 15620, 1, 796, 705, 69, 19215, 995, 6508, 12113, 18677, 6 ]
Show the working years of managers in descending order of their level.
SELECT working_year_starts FROM manager ORDER BY level DESC
[ 15307, 262, 1762, 812, 286, 11663, 287, 31491, 1502, 286, 511, 1241, 13, 46506, 1762, 62, 1941, 62, 301, 5889, 16034, 4706, 38678, 11050, 1241, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1762, 812, 286, 11663, 287, 31491, 1502, 286, 511, 1241, 13, 46506, 1762, 62, 1941, 62, 301, 5889, 16034, 4706, 38678, 11050, 1241, 22196, 34 ]
give me the number of patients whose drug code is warf1 and lab test fluid is pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "WARF1" AND lab.fluid = "Pleural"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 1175, 69, 16, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 3409...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2438, 318, 1175, 69, 16, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 3409...
how much d5 1/2ns was prescribed to patient 23002 last in 10/this year?
SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23002) AND prescriptions.drug = 'd5 1/2ns' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIM...
[ 4919, 881, 288, 20, 352, 14, 17, 5907, 373, 14798, 284, 5827, 2242, 21601, 938, 287, 838, 14, 5661, 614, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 288, 20, 352, 14, 17, 5907, 373, 14798, 284, 5827, 2242, 21601, 938, 287, 838, 14, 5661, 614, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, ...
Find the transaction type descriptions and dates if the share count is smaller than 10, group by transaction type, count the date of transaction, and bin the date into the weekday interval, I want to order by the total number from low to high please.
SELECT T2.date_of_transaction, COUNT(T2.date_of_transaction) FROM Ref_Transaction_Types AS T1 JOIN Transactions AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.share_count < 10 GROUP BY transaction_type_description ORDER BY COUNT(date_of_transaction)
[ 16742, 262, 8611, 2099, 16969, 290, 9667, 611, 262, 2648, 954, 318, 4833, 621, 838, 11, 1448, 416, 8611, 2099, 11, 954, 262, 3128, 286, 8611, 11, 290, 9874, 262, 3128, 656, 262, 28269, 16654, 11, 314, 765, 284, 1502, 416, 262, 2472,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8611, 2099, 16969, 290, 9667, 611, 262, 2648, 954, 318, 4833, 621, 838, 11, 1448, 416, 8611, 2099, 11, 954, 262, 3128, 286, 8611, 11, 290, 9874, 262, 3128, 656, 262, 28269, 16654, 11, 314, 765, 284, 1502, 416, 262, 2472,...
how many patients were diagnosed with pneumonitis caused by vomitus or inhalation of food?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Pneumonitis due to inhalation of food or vomitus"
[ 4919, 867, 3871, 547, 14641, 351, 29631, 261, 11815, 4073, 416, 20918, 17506, 393, 40982, 341, 286, 2057, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 547, 14641, 351, 29631, 261, 11815, 4073, 416, 20918, 17506, 393, 40982, 341, 286, 2057, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177,...
What was the women's singles were men's doubles were steen fladberg jens peter nierhoff?
SELECT "Womens singles" FROM table_444 WHERE "Mens doubles" = 'Steen Fladberg Jens Peter Nierhoff'
[ 2061, 373, 262, 1466, 338, 25287, 547, 1450, 338, 21938, 547, 2876, 268, 781, 324, 3900, 474, 641, 279, 2357, 299, 959, 36092, 30, 46506, 366, 54, 296, 641, 25287, 1, 16034, 3084, 62, 30272, 33411, 366, 44, 641, 21938, 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, 1 ]
[ 2061, 373, 262, 1466, 338, 25287, 547, 1450, 338, 21938, 547, 2876, 268, 781, 324, 3900, 474, 641, 279, 2357, 299, 959, 36092, 30, 46506, 366, 54, 296, 641, 25287, 1, 16034, 3084, 62, 30272, 33411, 366, 44, 641, 21938, 1, 796, 705, ...
What was the venue where the result was 12th?
SELECT "Venue" FROM table_54517 WHERE "Result" = '12th'
[ 2061, 373, 262, 14359, 810, 262, 1255, 373, 1105, 400, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 45326, 1558, 33411, 366, 23004, 1, 796, 705, 1065, 400, 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, 373, 262, 14359, 810, 262, 1255, 373, 1105, 400, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 45326, 1558, 33411, 366, 23004, 1, 796, 705, 1065, 400, 6 ]
Show the number of games for each home team in a pie chart.
SELECT Home_team, COUNT(Home_team) FROM game GROUP BY Home_team
[ 15307, 262, 1271, 286, 1830, 329, 1123, 1363, 1074, 287, 257, 2508, 8262, 13, 46506, 5995, 62, 15097, 11, 327, 28270, 7, 16060, 62, 15097, 8, 16034, 983, 44441, 11050, 5995, 62, 15097 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1830, 329, 1123, 1363, 1074, 287, 257, 2508, 8262, 13, 46506, 5995, 62, 15097, 11, 327, 28270, 7, 16060, 62, 15097, 8, 16034, 983, 44441, 11050, 5995, 62, 15097 ]
Which location has a method of decision and Nikos Tsoukalas for an opponent?
SELECT location FROM table_name_97 WHERE method = "decision" AND opponent = "nikos tsoukalas"
[ 13828, 4067, 468, 257, 2446, 286, 2551, 290, 11271, 418, 13146, 38960, 282, 292, 329, 281, 6125, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5607, 33411, 2446, 796, 366, 12501, 1166, 1, 5357, 6125, 796, 366, 17187, 418, 40379, 38960, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 468, 257, 2446, 286, 2551, 290, 11271, 418, 13146, 38960, 282, 292, 329, 281, 6125, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5607, 33411, 2446, 796, 366, 12501, 1166, 1, 5357, 6125, 796, 366, 17187, 418, 40379, 38960, ...
renal impairment ( serum creatinine > 1.5 mg / dl )
SELECT * FROM table_train_271 WHERE renal_disease = 1 OR serum_creatinine > 1.5
[ 918, 282, 23992, 357, 20502, 1827, 259, 500, 1875, 352, 13, 20, 10527, 1220, 288, 75, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 28977, 33411, 44375, 62, 67, 786, 589, 796, 352, 6375, 20502, 62, 20123, 259, 500, 1875, 352, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 918, 282, 23992, 357, 20502, 1827, 259, 500, 1875, 352, 13, 20, 10527, 1220, 288, 75, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 28977, 33411, 44375, 62, 67, 786, 589, 796, 352, 6375, 20502, 62, 20123, 259, 500, 1875, 352, 13, 2...
What is the result week 6?
SELECT result FROM table_name_44 WHERE week = 6
[ 2061, 318, 262, 1255, 1285, 718, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2598, 33411, 1285, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 1285, 718, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2598, 33411, 1285, 796, 718 ]
What is the 2009 when 2012 is Year-End Championship?
SELECT "2009" FROM table_7928 WHERE "2012" = 'year-end championship'
[ 2061, 318, 262, 3717, 618, 2321, 318, 6280, 12, 12915, 10749, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 3720, 2078, 33411, 366, 6999, 1, 796, 705, 1941, 12, 437, 12184, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3717, 618, 2321, 318, 6280, 12, 12915, 10749, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 3720, 2078, 33411, 366, 6999, 1, 796, 705, 1941, 12, 437, 12184, 6 ]
A bar chart showing the number of debates in each venue for those on the affirmative side, and show bar in descending order please.
SELECT Venue, COUNT(Venue) FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID GROUP BY Venue ORDER BY Venue DESC
[ 32, 2318, 8262, 4478, 262, 1271, 286, 15389, 287, 1123, 14359, 329, 883, 319, 262, 27990, 1735, 11, 290, 905, 2318, 287, 31491, 1502, 3387, 13, 46506, 9932, 518, 11, 327, 28270, 7, 37522, 518, 8, 16034, 4384, 62, 15332, 7054, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 4478, 262, 1271, 286, 15389, 287, 1123, 14359, 329, 883, 319, 262, 27990, 1735, 11, 290, 905, 2318, 287, 31491, 1502, 3387, 13, 46506, 9932, 518, 11, 327, 28270, 7, 37522, 518, 8, 16034, 4384, 62, 15332, 7054, 309, 1...
Name the reporters for dave johnson for eddie arcaro and howard cosell
SELECT "Reporters" FROM table_25084 WHERE "Race caller" = 'Dave Johnson' AND "s Analyst" = 'Eddie Arcaro and Howard Cosell'
[ 5376, 262, 7638, 329, 288, 1015, 45610, 1559, 329, 1225, 11979, 610, 7718, 78, 290, 703, 446, 269, 577, 297, 46506, 366, 6207, 3816, 1, 16034, 3084, 62, 9031, 5705, 33411, 366, 35157, 24955, 1, 796, 705, 27984, 5030, 6, 5357, 366, 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 ]
[ 5376, 262, 7638, 329, 288, 1015, 45610, 1559, 329, 1225, 11979, 610, 7718, 78, 290, 703, 446, 269, 577, 297, 46506, 366, 6207, 3816, 1, 16034, 3084, 62, 9031, 5705, 33411, 366, 35157, 24955, 1, 796, 705, 27984, 5030, 6, 5357, 366, 8...
What is the maximum diameter of the Mid West Gas Pipeline (1999)?
SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (1999)"
[ 2061, 318, 262, 5415, 14753, 286, 262, 7215, 2688, 14345, 37709, 357, 18946, 19427, 46506, 5415, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 3553, 33411, 1438, 834, 1941, 62, 785, 3411, 276, 62, 796, 366, 13602, 7421, 3623, 11523, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 14753, 286, 262, 7215, 2688, 14345, 37709, 357, 18946, 19427, 46506, 5415, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 3553, 33411, 1438, 834, 1941, 62, 785, 3411, 276, 62, 796, 366, 13602, 7421, 3623, 11523, 357, ...
what are the procedures that are the top three most commonly received since 2101?
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE STRFTIME('%y', treatment.treatmenttime) >= '2101' GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3
[ 10919, 389, 262, 9021, 326, 389, 262, 1353, 1115, 749, 8811, 2722, 1201, 2310, 486, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9021, 326, 389, 262, 1353, 1115, 749, 8811, 2722, 1201, 2310, 486, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 32...
what track from whatcha lookin ' 4 lasts for only 1:38 ?
SELECT "title" FROM table_204_932 WHERE "time" = '1:38'
[ 10919, 2610, 422, 644, 11693, 804, 259, 705, 604, 20374, 329, 691, 352, 25, 2548, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 2624, 33411, 366, 2435, 1, 796, 705, 16, 25, 2548, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 2610, 422, 644, 11693, 804, 259, 705, 604, 20374, 329, 691, 352, 25, 2548, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 2624, 33411, 366, 2435, 1, 796, 705, 16, 25, 2548, 6 ]
Which Lane had a 50m Split of 25.8?
SELECT COUNT("Lane") FROM table_4916 WHERE "50m Split" = '25.8'
[ 13828, 15016, 550, 257, 2026, 76, 27758, 286, 1679, 13, 23, 30, 46506, 327, 28270, 7203, 43, 1531, 4943, 16034, 3084, 62, 2920, 1433, 33411, 366, 1120, 76, 27758, 1, 796, 705, 1495, 13, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 15016, 550, 257, 2026, 76, 27758, 286, 1679, 13, 23, 30, 46506, 327, 28270, 7203, 43, 1531, 4943, 16034, 3084, 62, 2920, 1433, 33411, 366, 1120, 76, 27758, 1, 796, 705, 1495, 13, 23, 6 ]
Which Against has Wins of 11, and Losses smaller than 7?
SELECT AVG(against) FROM table_name_97 WHERE wins = 11 AND losses < 7
[ 13828, 12914, 468, 24423, 286, 1367, 11, 290, 22014, 274, 4833, 621, 767, 30, 46506, 35224, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 7864, 796, 1367, 5357, 9089, 1279, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12914, 468, 24423, 286, 1367, 11, 290, 22014, 274, 4833, 621, 767, 30, 46506, 35224, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 7864, 796, 1367, 5357, 9089, 1279, 767 ]
What player from the United States played for the Grizzlies from 1997-1998?
SELECT player FROM table_name_83 WHERE nationality = "united states" AND years_for_grizzlies = "1997-1998"
[ 2061, 2137, 422, 262, 1578, 1829, 2826, 329, 262, 40669, 422, 8309, 12, 21113, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5999, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 812, 62, 1640, 62, 70, 380, 3019, 13508, 796, 366, 21498, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 422, 262, 1578, 1829, 2826, 329, 262, 40669, 422, 8309, 12, 21113, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5999, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 812, 62, 1640, 62, 70, 380, 3019, 13508, 796, 366, 21498, ...
how many patients with admission location as clinic referral/premature were diagnosed with diverticulosis of colon with hemorrhage?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.long_title = "Diverticulosis of colon with hemorrhage"
[ 4919, 867, 3871, 351, 13938, 4067, 355, 15760, 31413, 14, 31605, 1300, 547, 14641, 351, 12312, 13370, 377, 5958, 286, 7633, 351, 42203, 496, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 351, 13938, 4067, 355, 15760, 31413, 14, 31605, 1300, 547, 14641, 351, 12312, 13370, 377, 5958, 286, 7633, 351, 42203, 496, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3...
What was Jack McGrath's finish number in 1954?
SELECT finish FROM table_name_95 WHERE year = "1954"
[ 2061, 373, 3619, 41114, 776, 338, 5461, 1271, 287, 24718, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 3865, 33411, 614, 796, 366, 1129, 4051, 1 ]
[ 1, 1, 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, 3619, 41114, 776, 338, 5461, 1271, 287, 24718, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 3865, 33411, 614, 796, 366, 1129, 4051, 1 ]
A bar chart for what are the number of the names of catalog entries with level number 8?
SELECT catalog_entry_name, COUNT(catalog_entry_name) FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.catalog_level_number = "8" GROUP BY catalog_entry_name
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 3891, 286, 18388, 12784, 351, 1241, 1271, 807, 30, 46506, 18388, 62, 13000, 62, 3672, 11, 327, 28270, 7, 9246, 11794, 62, 13000, 62, 3672, 8, 16034, 44515, 62, 15842, 7054, 256, 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...
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 3891, 286, 18388, 12784, 351, 1241, 1271, 807, 30, 46506, 18388, 62, 13000, 62, 3672, 11, 327, 28270, 7, 9246, 11794, 62, 13000, 62, 3672, 8, 16034, 44515, 62, 15842, 7054, 256, 16...
Provide the number of patients that survived and have diagnosis long title of other second degree atrioventricular block.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.long_title = "Other second degree atrioventricular block"
[ 15946, 485, 262, 1271, 286, 3871, 326, 11803, 290, 423, 13669, 890, 3670, 286, 584, 1218, 4922, 379, 380, 709, 22317, 934, 2512, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15946, 485, 262, 1271, 286, 3871, 326, 11803, 290, 423, 13669, 890, 3670, 286, 584, 1218, 4922, 379, 380, 709, 22317, 934, 2512, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date, and count them by a bar chart, and I want to order Y from high to low order.
SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) ORDER BY COUNT(Date_Claim_Made) DESC
[ 14311, 477, 262, 3667, 11, 543, 18573, 423, 257, 4752, 2033, 326, 318, 645, 517, 621, 262, 2811, 30, 7343, 262, 1624, 923, 3128, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 1502, 575, 422, 1029, 284, 1877, 150...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14311, 477, 262, 3667, 11, 543, 18573, 423, 257, 4752, 2033, 326, 318, 645, 517, 621, 262, 2811, 30, 7343, 262, 1624, 923, 3128, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 1502, 575, 422, 1029, 284, 1877, 150...
What is the Redcliffe population with a Pine Rivers population greater than 164,254 and a total population less than 103,669?
SELECT SUM("(Redcliffe)") FROM table_71056 WHERE "(Pine Rivers)" > '164,254' AND "Population (Total)" < '103,669'
[ 2061, 318, 262, 2297, 33783, 3265, 351, 257, 23076, 18280, 3265, 3744, 621, 25307, 11, 24970, 290, 257, 2472, 3265, 1342, 621, 15349, 11, 36657, 30, 46506, 35683, 7203, 7, 7738, 33783, 8, 4943, 16034, 3084, 62, 43147, 3980, 33411, 30629...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2297, 33783, 3265, 351, 257, 23076, 18280, 3265, 3744, 621, 25307, 11, 24970, 290, 257, 2472, 3265, 1342, 621, 15349, 11, 36657, 30, 46506, 35683, 7203, 7, 7738, 33783, 8, 4943, 16034, 3084, 62, 43147, 3980, 33411, 30629...
Which Game has a Record of 14 10 4, and Points smaller than 32?
SELECT SUM(game) FROM table_name_50 WHERE record = "14–10–4" AND points < 32
[ 13828, 3776, 468, 257, 13266, 286, 1478, 838, 604, 11, 290, 11045, 4833, 621, 3933, 30, 46506, 35683, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1700, 796, 366, 1415, 1906, 940, 1906, 19, 1, 5357, 2173, 1279, 3933 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 257, 13266, 286, 1478, 838, 604, 11, 290, 11045, 4833, 621, 3933, 30, 46506, 35683, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1700, 796, 366, 1415, 1906, 940, 1906, 19, 1, 5357, 2173, 1279, 3933 ]
What is the home team that hosted an away team with a score of 21.15 (141)?
SELECT "Home team" FROM table_11686 WHERE "Away team score" = '21.15 (141)'
[ 2061, 318, 262, 1363, 1074, 326, 12007, 281, 1497, 1074, 351, 257, 4776, 286, 2310, 13, 1314, 357, 23756, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 1157, 33808, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 2481, 13, 1314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 326, 12007, 281, 1497, 1074, 351, 257, 4776, 286, 2310, 13, 1314, 357, 23756, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 1157, 33808, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 2481, 13, 1314, ...
Are there any non-general elective requirements that NATIVEAM 498 would fulfill for me ?
SELECT DISTINCT program_course.category FROM course, program_course WHERE course.department = 'NATIVEAM' AND course.number = 498 AND program_course.course_id = course.course_id
[ 8491, 612, 597, 1729, 12, 24622, 1742, 425, 5359, 326, 10149, 9306, 2390, 604, 4089, 561, 14658, 329, 502, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 17319, 13, 22872, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1729, 12, 24622, 1742, 425, 5359, 326, 10149, 9306, 2390, 604, 4089, 561, 14658, 329, 502, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 17319, 13, 22872, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, ...
Questions per Day - Rolling average.
SELECT DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate)) AS "date", COUNT(*) FROM Posts WHERE ParentId IS NULL GROUP BY YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate) ORDER BY YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate)
[ 35741, 583, 3596, 532, 21567, 2811, 13, 46506, 360, 6158, 10913, 2662, 27082, 4694, 7, 56, 17133, 7, 12443, 341, 10430, 828, 25000, 4221, 7, 12443, 341, 10430, 828, 24644, 7, 12443, 341, 10430, 4008, 7054, 366, 4475, 1600, 327, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 583, 3596, 532, 21567, 2811, 13, 46506, 360, 6158, 10913, 2662, 27082, 4694, 7, 56, 17133, 7, 12443, 341, 10430, 828, 25000, 4221, 7, 12443, 341, 10430, 828, 24644, 7, 12443, 341, 10430, 4008, 7054, 366, 4475, 1600, 327, 28270, ...
What is the score in the final with runner-up as the outcome and hard (i) as the surface?
SELECT score_in_the_final FROM table_name_38 WHERE outcome = "runner-up" AND surface = "hard (i)"
[ 2061, 318, 262, 4776, 287, 262, 2457, 351, 17490, 12, 929, 355, 262, 8055, 290, 1327, 357, 72, 8, 355, 262, 4417, 30, 46506, 4776, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 2548, 33411, 8055, 796, 366, 16737, 12, 92...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 262, 2457, 351, 17490, 12, 929, 355, 262, 8055, 290, 1327, 357, 72, 8, 355, 262, 4417, 30, 46506, 4776, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 2548, 33411, 8055, 796, 366, 16737, 12, 92...
Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?
SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit"
[ 13828, 4816, 468, 257, 25358, 286, 15671, 328, 1877, 358, 274, 11, 290, 257, 13588, 286, 872, 359, 541, 7022, 4490, 1293, 87, 10349, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3388, 33411, 8464, 796, 366, 66, 430, 328, 1877, 358, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4816, 468, 257, 25358, 286, 15671, 328, 1877, 358, 274, 11, 290, 257, 13588, 286, 872, 359, 541, 7022, 4490, 1293, 87, 10349, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3388, 33411, 8464, 796, 366, 66, 430, 328, 1877, 358, 2...
Which keys (x modes) have a Supplier of wolfking?
SELECT keys__x_modes_ FROM table_name_55 WHERE supplier = "wolfking"
[ 13828, 8251, 357, 87, 12881, 8, 423, 257, 8105, 2505, 286, 17481, 3364, 30, 46506, 8251, 834, 87, 62, 76, 4147, 62, 16034, 3084, 62, 3672, 62, 2816, 33411, 22693, 796, 366, 18829, 3364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8251, 357, 87, 12881, 8, 423, 257, 8105, 2505, 286, 17481, 3364, 30, 46506, 8251, 834, 87, 62, 76, 4147, 62, 16034, 3084, 62, 3672, 62, 2816, 33411, 22693, 796, 366, 18829, 3364, 1 ]
How many races had 10.5 points?
SELECT races FROM table_name_99 WHERE points = "10.5"
[ 2437, 867, 9558, 550, 838, 13, 20, 2173, 30, 46506, 9558, 16034, 3084, 62, 3672, 62, 2079, 33411, 2173, 796, 366, 940, 13, 20, 1 ]
[ 1, 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, 9558, 550, 838, 13, 20, 2173, 30, 46506, 9558, 16034, 3084, 62, 3672, 62, 2079, 33411, 2173, 796, 366, 940, 13, 20, 1 ]
What score has vancouver as the home, and february 16 as the date?
SELECT score FROM table_name_81 WHERE home = "vancouver" AND date = "february 16"
[ 2061, 4776, 468, 410, 10264, 355, 262, 1363, 11, 290, 730, 65, 3728, 1467, 355, 262, 3128, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6659, 33411, 1363, 796, 366, 85, 10264, 1, 5357, 3128, 796, 366, 69, 1765, 3728, 1467, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4776, 468, 410, 10264, 355, 262, 1363, 11, 290, 730, 65, 3728, 1467, 355, 262, 3128, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6659, 33411, 1363, 796, 366, 85, 10264, 1, 5357, 3128, 796, 366, 69, 1765, 3728, 1467, 1 ]
For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3?
SELECT "Set 3" FROM table_78043 WHERE "Date" = '29 sep' AND "Time" = '16:40'
[ 1890, 257, 3128, 286, 2808, 8621, 290, 257, 640, 286, 1467, 25, 1821, 11, 644, 318, 262, 11188, 5345, 513, 30, 46506, 366, 7248, 513, 1, 16034, 3084, 62, 40873, 3559, 33411, 366, 10430, 1, 796, 705, 1959, 41767, 6, 5357, 366, 7575, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 3128, 286, 2808, 8621, 290, 257, 640, 286, 1467, 25, 1821, 11, 644, 318, 262, 11188, 5345, 513, 30, 46506, 366, 7248, 513, 1, 16034, 3084, 62, 40873, 3559, 33411, 366, 10430, 1, 796, 705, 1959, 41767, 6, 5357, 366, 7575, ...
What are the total number of credits offered by each department Show bar chart, I want to show from high to low by the crs credit please.
SELECT DEPT_CODE, SUM(T1.CRS_CREDIT) FROM COURSE AS T1 JOIN CLASS AS T2 ON T1.CRS_CODE = T2.CRS_CODE GROUP BY T1.DEPT_CODE ORDER BY SUM(T1.CRS_CREDIT) DESC
[ 2061, 389, 262, 2472, 1271, 286, 10824, 4438, 416, 1123, 5011, 5438, 2318, 8262, 11, 314, 765, 284, 905, 422, 1029, 284, 1877, 416, 262, 1067, 82, 3884, 3387, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 51, 16, 13, 34, 69...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 10824, 4438, 416, 1123, 5011, 5438, 2318, 8262, 11, 314, 765, 284, 905, 422, 1029, 284, 1877, 416, 262, 1067, 82, 3884, 3387, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 51, 16, 13, 34, 69...
What are the distinct buildings with capacities of greater than 50?
SELECT DISTINCT building FROM classroom WHERE capacity > 50
[ 2061, 389, 262, 7310, 6832, 351, 32484, 286, 3744, 621, 2026, 30, 46506, 360, 8808, 1268, 4177, 2615, 16034, 15806, 33411, 5339, 1875, 2026 ]
[ 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, 7310, 6832, 351, 32484, 286, 3744, 621, 2026, 30, 46506, 360, 8808, 1268, 4177, 2615, 16034, 15806, 33411, 5339, 1875, 2026 ]
please find the cheapest fare from BOSTON to SAN FRANCISCO
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_...
[ 29688, 1064, 262, 28918, 14505, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 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...
[ 29688, 1064, 262, 28918, 14505, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15...
How many games tied for the air force with over 57 years participating?
SELECT COUNT("Tied") FROM table_51256 WHERE "Mountain West" = 'air force' AND "Years" > '57'
[ 2437, 867, 1830, 8165, 329, 262, 1633, 2700, 351, 625, 7632, 812, 11983, 30, 46506, 327, 28270, 7203, 51, 798, 4943, 16034, 3084, 62, 25836, 3980, 33411, 366, 44, 18635, 2688, 1, 796, 705, 958, 2700, 6, 5357, 366, 40630, 1, 1875, 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 ]
[ 2437, 867, 1830, 8165, 329, 262, 1633, 2700, 351, 625, 7632, 812, 11983, 30, 46506, 327, 28270, 7203, 51, 798, 4943, 16034, 3084, 62, 25836, 3980, 33411, 366, 44, 18635, 2688, 1, 796, 705, 958, 2700, 6, 5357, 366, 40630, 1, 1875, 70...
What was the away team whose opponents scored 8.16 (64)?
SELECT "Away team" FROM table_33781 WHERE "Home team score" = '8.16 (64)'
[ 2061, 373, 262, 1497, 1074, 3025, 7691, 7781, 807, 13, 1433, 357, 2414, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2091, 49703, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 23, 13, 1433, 357, 2414, 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 ]
[ 2061, 373, 262, 1497, 1074, 3025, 7691, 7781, 807, 13, 1433, 357, 2414, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2091, 49703, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 23, 13, 1433, 357, 2414, 33047 ]
Visualize a bar chart for what are the countries of perpetrators? Show each country and the corresponding number of perpetrators there, could you display in descending by the x axis?
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY Country DESC
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 2678, 286, 25185, 30, 5438, 1123, 1499, 290, 262, 11188, 1271, 286, 25185, 612, 11, 714, 345, 3359, 287, 31491, 416, 262, 2124, 16488, 30, 46506, 12946, 11, 327, 28270, 7, 28104, 16034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 2678, 286, 25185, 30, 5438, 1123, 1499, 290, 262, 11188, 1271, 286, 25185, 612, 11, 714, 345, 3359, 287, 31491, 416, 262, 2124, 16488, 30, 46506, 12946, 11, 327, 28270, 7, 28104, 16034...
What is the id and first name of all the drivers who participated in the Australian Grand Prix and the Chinese Grand Prix?
SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = ...
[ 2061, 318, 262, 4686, 290, 717, 1438, 286, 477, 262, 6643, 508, 14888, 287, 262, 6638, 5675, 23832, 290, 262, 3999, 5675, 23832, 30, 46506, 309, 17, 13, 26230, 312, 11, 309, 18, 13, 754, 3672, 16034, 9558, 7054, 309, 16, 32357, 1268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 4686, 290, 717, 1438, 286, 477, 262, 6643, 508, 14888, 287, 262, 6638, 5675, 23832, 290, 262, 3999, 5675, 23832, 30, 46506, 309, 17, 13, 26230, 312, 11, 309, 18, 13, 754, 3672, 16034, 9558, 7054, 309, 16, 32357, 1268...
What are the apartment number and the room count of each apartment Visualize by bar chart, and list x-axis from high to low order.
SELECT apt_number, room_count FROM Apartments ORDER BY apt_number DESC
[ 2061, 389, 262, 7962, 1271, 290, 262, 2119, 954, 286, 1123, 7962, 15612, 1096, 416, 2318, 8262, 11, 290, 1351, 2124, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 22596, 902, 38678, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7962, 1271, 290, 262, 2119, 954, 286, 1123, 7962, 15612, 1096, 416, 2318, 8262, 11, 290, 1351, 2124, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 22596, 902, 38678, 110...
is patient 14671's arterial bp [diastolic] last measured on the current icu visit less than the value first measured on the current icu visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14671) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_i...
[ 271, 5827, 1478, 46250, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 1342, 621, 262, 1988, 717, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 5827, 1478, 46250, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 1342, 621, 262, 1988, 717, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, ...
What is the total number of area listed for cannonvale with a population less than 409?
SELECT COUNT(area__km_2__) FROM table_name_96 WHERE population < 409 AND place = "cannonvale"
[ 2061, 318, 262, 2472, 1271, 286, 1989, 5610, 329, 21202, 41161, 351, 257, 3265, 1342, 621, 48132, 30, 46506, 327, 28270, 7, 20337, 834, 13276, 62, 17, 834, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 3265, 1279, 48132, 5357, 1295, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 1989, 5610, 329, 21202, 41161, 351, 257, 3265, 1342, 621, 48132, 30, 46506, 327, 28270, 7, 20337, 834, 13276, 62, 17, 834, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 3265, 1279, 48132, 5357, 1295, 796,...
When river ness is the hr name what is the hr number?
SELECT "HR no." FROM table_22642 WHERE "HR name" = 'River Ness'
[ 2215, 7850, 299, 408, 318, 262, 39436, 1438, 644, 318, 262, 39436, 1271, 30, 46506, 366, 17184, 645, 526, 16034, 3084, 62, 1828, 41290, 33411, 366, 17184, 1438, 1, 796, 705, 42204, 41606, 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 ]
[ 2215, 7850, 299, 408, 318, 262, 39436, 1438, 644, 318, 262, 39436, 1271, 30, 46506, 366, 17184, 645, 526, 16034, 3084, 62, 1828, 41290, 33411, 366, 17184, 1438, 1, 796, 705, 42204, 41606, 6 ]
What is the type when 120,000 is the transfer fee?
SELECT type FROM table_name_49 WHERE transfer_fee = "£120,000"
[ 2061, 318, 262, 2099, 618, 7982, 11, 830, 318, 262, 4351, 6838, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 2920, 33411, 4351, 62, 39071, 796, 366, 14988, 10232, 11, 830, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2099, 618, 7982, 11, 830, 318, 262, 4351, 6838, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 2920, 33411, 4351, 62, 39071, 796, 366, 14988, 10232, 11, 830, 1 ]
Name the total number of height for number 32
SELECT COUNT("Height") FROM table_27601 WHERE "#" = '32'
[ 5376, 262, 2472, 1271, 286, 6001, 329, 1271, 3933, 46506, 327, 28270, 7203, 23106, 4943, 16034, 3084, 62, 27988, 486, 33411, 25113, 1, 796, 705, 2624, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 6001, 329, 1271, 3933, 46506, 327, 28270, 7203, 23106, 4943, 16034, 3084, 62, 27988, 486, 33411, 25113, 1, 796, 705, 2624, 6 ]
What type of engine did the Fuel Injection entrant use?
SELECT engine FROM table_name_4 WHERE entrant = "fuel injection"
[ 2061, 2099, 286, 3113, 750, 262, 25483, 554, 29192, 920, 5250, 779, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 19, 33411, 920, 5250, 796, 366, 25802, 16954, 1 ]
[ 1, 1, 1, 1, 1, 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, 2099, 286, 3113, 750, 262, 25483, 554, 29192, 920, 5250, 779, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 19, 33411, 920, 5250, 796, 366, 25802, 16954, 1 ]
What cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)?
SELECT "Cover" FROM table_43045 WHERE "Published" = 'may 27, 2009 (hc) may 20, 2009 (tpb)'
[ 2061, 3002, 468, 257, 3199, 3128, 286, 1737, 2681, 11, 3717, 357, 71, 66, 8, 1737, 1160, 11, 3717, 357, 34788, 65, 19427, 46506, 366, 27245, 1, 16034, 3084, 62, 31794, 2231, 33411, 366, 24492, 1, 796, 705, 11261, 2681, 11, 3717, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3002, 468, 257, 3199, 3128, 286, 1737, 2681, 11, 3717, 357, 71, 66, 8, 1737, 1160, 11, 3717, 357, 34788, 65, 19427, 46506, 366, 27245, 1, 16034, 3084, 62, 31794, 2231, 33411, 366, 24492, 1, 796, 705, 11261, 2681, 11, 3717, 357...
Which Event has a Record of 19-9?
SELECT event FROM table_name_47 WHERE record = "19-9"
[ 13828, 8558, 468, 257, 13266, 286, 678, 12, 24, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 2857, 33411, 1700, 796, 366, 1129, 12, 24, 1 ]
[ 1, 1, 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, 8558, 468, 257, 13266, 286, 678, 12, 24, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 2857, 33411, 1700, 796, 366, 1129, 12, 24, 1 ]
Show the total number from each type, and I want to sort names from high to low order.
SELECT Type, COUNT(*) FROM artwork GROUP BY Type ORDER BY Type DESC
[ 15307, 262, 2472, 1271, 422, 1123, 2099, 11, 290, 314, 765, 284, 3297, 3891, 422, 1029, 284, 1877, 1502, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 16257, 44441, 11050, 5994, 38678, 11050, 5994, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2472, 1271, 422, 1123, 2099, 11, 290, 314, 765, 284, 3297, 3891, 422, 1029, 284, 1877, 1502, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 16257, 44441, 11050, 5994, 38678, 11050, 5994, 22196, 34 ]
What was the aggregate for a team #2 of Okk Beograd?
SELECT agg FROM table_name_45 WHERE team__number2 = "okk beograd"
[ 2061, 373, 262, 19406, 329, 257, 1074, 1303, 17, 286, 6762, 74, 1355, 519, 6335, 30, 46506, 4194, 16034, 3084, 62, 3672, 62, 2231, 33411, 1074, 834, 17618, 17, 796, 366, 482, 74, 307, 519, 6335, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19406, 329, 257, 1074, 1303, 17, 286, 6762, 74, 1355, 519, 6335, 30, 46506, 4194, 16034, 3084, 62, 3672, 62, 2231, 33411, 1074, 834, 17618, 17, 796, 366, 482, 74, 307, 519, 6335, 1 ]
Average wait time for first response based on hour of asking.
SELECT TIME_TO_STR(QuestionWithT.CDate, '%-HOUR') AS AskingHour, AVG(QuestionWithT.T) AS AvgWaitTimeForFirstResponse FROM (SELECT Question.Id AS Id, MIN(Question.CreationDate) AS CDate, MIN(CAST((JULIANDAY(CreationDate) - JULIANDAY(Question.CreationDate)) * 1440.0 AS INT)) / (24.0 * 60) AS T FROM Posts AS Question, Pos...
[ 26287, 4043, 640, 329, 717, 2882, 1912, 319, 1711, 286, 4737, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 24361, 3152, 51, 13, 8610, 378, 11, 705, 33963, 39, 11698, 11537, 7054, 1081, 3364, 43223, 11, 35224, 7, 24361, 3152, 51, 13, 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...
[ 26287, 4043, 640, 329, 717, 2882, 1912, 319, 1711, 286, 4737, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 24361, 3152, 51, 13, 8610, 378, 11, 705, 33963, 39, 11698, 11537, 7054, 1081, 3364, 43223, 11, 35224, 7, 24361, 3152, 51, 13, 5...
How many gold medals were awarded to teams ranked higher than 19?
SELECT COUNT("Gold") FROM table_7331 WHERE "Rank" > '19'
[ 2437, 867, 3869, 28057, 547, 11343, 284, 3466, 10307, 2440, 621, 678, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 22, 31697, 33411, 366, 27520, 1, 1875, 705, 1129, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3869, 28057, 547, 11343, 284, 3466, 10307, 2440, 621, 678, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 22, 31697, 33411, 366, 27520, 1, 1875, 705, 1129, 6 ]
Give me a histogram for what are the different names and credit scores of customers who have taken a loan?, and sort in descending by the cust_name.
SELECT cust_name, credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_ID = T2.cust_ID ORDER BY cust_name DESC
[ 23318, 502, 257, 1554, 21857, 329, 644, 389, 262, 1180, 3891, 290, 3884, 8198, 286, 4297, 508, 423, 2077, 257, 8063, 21747, 290, 3297, 287, 31491, 416, 262, 9378, 62, 3672, 13, 46506, 9378, 62, 3672, 11, 3884, 62, 26675, 16034, 6491, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 1554, 21857, 329, 644, 389, 262, 1180, 3891, 290, 3884, 8198, 286, 4297, 508, 423, 2077, 257, 8063, 21747, 290, 3297, 287, 31491, 416, 262, 9378, 62, 3672, 13, 46506, 9378, 62, 3672, 11, 3884, 62, 26675, 16034, 6491, ...
What is the average Year when Australia was the runner-up at victoria golf club?
SELECT AVG(year) FROM table_name_8 WHERE runners_up = "australia" AND venue = "victoria golf club"
[ 2061, 318, 262, 2811, 6280, 618, 4505, 373, 262, 17490, 12, 929, 379, 2210, 7661, 13126, 3430, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 19323, 62, 929, 796, 366, 64, 436, 1373, 544, 1, 5357, 14359, 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 ]
[ 2061, 318, 262, 2811, 6280, 618, 4505, 373, 262, 17490, 12, 929, 379, 2210, 7661, 13126, 3430, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 19323, 62, 929, 796, 366, 64, 436, 1373, 544, 1, 5357, 14359, 796, ...
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
SELECT record FROM table_name_44 WHERE date = "november 14"
[ 32971, 3180, 3336, 19644, 12532, 7473, 360, 6158, 8005, 53, 28952, 1478, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2598, 33411, 3128, 796, 366, 77, 3239, 1478, 1 ]
[ 1, 1, 1, 1, 1, 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, 19644, 12532, 7473, 360, 6158, 8005, 53, 28952, 1478, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2598, 33411, 3128, 796, 366, 77, 3239, 1478, 1 ]
calculate the number of patients who were tested for blood (toxo) microbiology in this year.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT microbiologyevents.hadm_id FROM microbiologyevents WHERE microbiologyevents.spec_type_desc = 'blood (toxo)' AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year'))
[ 9948, 3129, 378, 262, 1271, 286, 3871, 508, 547, 6789, 329, 2910, 357, 83, 1140, 78, 8, 24559, 1435, 287, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 508, 547, 6789, 329, 2910, 357, 83, 1140, 78, 8, 24559, 1435, 287, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108,...
What Date does the Name (location) Belyanitsky, Ivanovo, and Balino have?
SELECT "Date" FROM table_55781 WHERE "Name (location)" = 'belyanitsky, ivanovo, and balino'
[ 2061, 7536, 857, 262, 6530, 357, 24886, 8, 1355, 306, 272, 896, 2584, 11, 21798, 18768, 11, 290, 8528, 2879, 423, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2816, 49703, 33411, 366, 5376, 357, 24886, 16725, 796, 705, 1350, 306, 272, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 857, 262, 6530, 357, 24886, 8, 1355, 306, 272, 896, 2584, 11, 21798, 18768, 11, 290, 8528, 2879, 423, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2816, 49703, 33411, 366, 5376, 357, 24886, 16725, 796, 705, 1350, 306, 272, ...