instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
When joj agpangan* is the name how many duration's are there?
SELECT COUNT(duration) FROM table_19061741_3 WHERE name = "Joj Agpangan*"
[ 2215, 2525, 73, 556, 79, 37089, 9, 318, 262, 1438, 703, 867, 9478, 338, 389, 612, 30, 46506, 327, 28270, 7, 32257, 8, 16034, 3084, 62, 1129, 3312, 1558, 3901, 62, 18, 33411, 1438, 796, 366, 9908, 73, 2449, 79, 37089, 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 ]
[ 2215, 2525, 73, 556, 79, 37089, 9, 318, 262, 1438, 703, 867, 9478, 338, 389, 612, 30, 46506, 327, 28270, 7, 32257, 8, 16034, 3084, 62, 1129, 3312, 1558, 3901, 62, 18, 33411, 1438, 796, 366, 9908, 73, 2449, 79, 37089, 9, 1 ]
What is the Genre when the Artist is Prince?
SELECT "Genre" FROM table_70726 WHERE "Artist" = 'prince'
[ 2061, 318, 262, 5215, 260, 618, 262, 18902, 318, 9005, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 24038, 2075, 33411, 366, 43020, 1, 796, 705, 1050, 924, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5215, 260, 618, 262, 18902, 318, 9005, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 24038, 2075, 33411, 366, 43020, 1, 796, 705, 1050, 924, 6 ]
How many different production codes does the episode originally aired on October 18, 1984 have?
SELECT COUNT(production_code) FROM table_2818164_2 WHERE original_air_date = "October 18, 1984"
[ 2437, 867, 1180, 3227, 12416, 857, 262, 4471, 6198, 18530, 319, 3267, 1248, 11, 12844, 423, 30, 46506, 327, 28270, 7, 25493, 62, 8189, 8, 16034, 3084, 62, 2078, 1507, 23237, 62, 17, 33411, 2656, 62, 958, 62, 4475, 796, 366, 18517, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 3227, 12416, 857, 262, 4471, 6198, 18530, 319, 3267, 1248, 11, 12844, 423, 30, 46506, 327, 28270, 7, 25493, 62, 8189, 8, 16034, 3084, 62, 2078, 1507, 23237, 62, 17, 33411, 2656, 62, 958, 62, 4475, 796, 366, 18517, 1...
What is the total for the team with 0 bronze and 3 silver?
SELECT SUM("Total") FROM table_50473 WHERE "Bronze" = '0' AND "Silver" = '3'
[ 2061, 318, 262, 2472, 329, 262, 1074, 351, 657, 22101, 290, 513, 8465, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 1120, 37804, 33411, 366, 18760, 2736, 1, 796, 705, 15, 6, 5357, 366, 26766, 1, 796, 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 ]
[ 2061, 318, 262, 2472, 329, 262, 1074, 351, 657, 22101, 290, 513, 8465, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 1120, 37804, 33411, 366, 18760, 2736, 1, 796, 705, 15, 6, 5357, 366, 26766, 1, 796, 705, 18, 6 ]
what is the highest drawn when played is more than 14?
SELECT MAX("Drawn") FROM table_45413 WHERE "Played" > '14'
[ 10919, 318, 262, 4511, 7428, 618, 2826, 318, 517, 621, 1478, 30, 46506, 25882, 7203, 35, 5791, 4943, 16034, 3084, 62, 34229, 1485, 33411, 366, 11002, 276, 1, 1875, 705, 1415, 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 ]
[ 10919, 318, 262, 4511, 7428, 618, 2826, 318, 517, 621, 1478, 30, 46506, 25882, 7203, 35, 5791, 4943, 16034, 3084, 62, 34229, 1485, 33411, 366, 11002, 276, 1, 1875, 705, 1415, 6 ]
What did the Surname Lindberg rank?
SELECT COUNT("Rank") FROM table_8564 WHERE "Surname" = 'lindberg'
[ 2061, 750, 262, 311, 700, 480, 9329, 3900, 4279, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 5332, 2414, 33411, 366, 50, 700, 480, 1, 796, 705, 75, 521, 3900, 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, 750, 262, 311, 700, 480, 9329, 3900, 4279, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 5332, 2414, 33411, 366, 50, 700, 480, 1, 796, 705, 75, 521, 3900, 6 ]
Which Silver has a Nation of china, and a Bronze smaller than 7?
SELECT SUM(silver) FROM table_name_2 WHERE nation = "china" AND bronze < 7
[ 13828, 7698, 468, 257, 8741, 286, 442, 1437, 11, 290, 257, 19461, 4833, 621, 767, 30, 46506, 35683, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 3277, 796, 366, 354, 1437, 1, 5357, 22101, 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, 1, 1, 1, 1, 1 ]
[ 13828, 7698, 468, 257, 8741, 286, 442, 1437, 11, 290, 257, 19461, 4833, 621, 767, 30, 46506, 35683, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 3277, 796, 366, 354, 1437, 1, 5357, 22101, 1279, 767 ]
What was the highest home total?
SELECT MAX(home_total) FROM table_27094070_4
[ 2061, 373, 262, 4511, 1363, 2472, 30, 46506, 25882, 7, 11195, 62, 23350, 8, 16034, 3084, 62, 1983, 2931, 1821, 2154, 62, 19 ]
[ 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, 4511, 1363, 2472, 30, 46506, 25882, 7, 11195, 62, 23350, 8, 16034, 3084, 62, 1983, 2931, 1821, 2154, 62, 19 ]
give me the number of patients whose diagnoses short title is single lb in-hosp w cs and drug route is iv drip?
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 = "Single lb in-hosp w cs" AND prescriptions.route = "IV DRIP"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 2060, 18360, 287, 12, 71, 2117, 266, 50115, 290, 2563, 6339, 318, 21628, 36296, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 2060, 18360, 287, 12, 71, 2117, 266, 50115, 290, 2563, 6339, 318, 21628, 36296, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728...
give me the number of patients whose admission year is less than 2176 and diagnoses short title is hypopotassemia?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2176" AND diagnoses.short_title = "Hypopotassemia"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 24096, 290, 40567, 1790, 3670, 318, 5328, 43372, 21612, 20730, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 24096, 290, 40567, 1790, 3670, 318, 5328, 43372, 21612, 20730, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
What was the name of the opponent when the method was ko (slam), and record was 13 1?
SELECT "Opponent" FROM table_44850 WHERE "Method" = 'ko (slam)' AND "Record" = '13–1'
[ 2061, 373, 262, 1438, 286, 262, 6125, 618, 262, 2446, 373, 41727, 357, 82, 2543, 828, 290, 1700, 373, 1511, 352, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2598, 25764, 33411, 366, 17410, 1, 796, 705, 7204, 357, 82, 2543, 3304...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 6125, 618, 262, 2446, 373, 41727, 357, 82, 2543, 828, 290, 1700, 373, 1511, 352, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2598, 25764, 33411, 366, 17410, 1, 796, 705, 7204, 357, 82, 2543, 3304...
what is the ground transportation available in FORT WORTH TX
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'FORT WORTH' AND city.state_code = 'TX' AND ground_service.city_code = city.city_code
[ 10919, 318, 262, 2323, 9358, 1695, 287, 7473, 51, 21881, 4221, 15326, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 37, 9863, 2188...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2323, 9358, 1695, 287, 7473, 51, 21881, 4221, 15326, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 37, 9863, 2188...
What team did the Red Sox play against on June 3?
SELECT opponent FROM table_name_16 WHERE date = "june 3"
[ 2061, 1074, 750, 262, 2297, 17689, 711, 1028, 319, 2795, 513, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1433, 33411, 3128, 796, 366, 73, 1726, 513, 1 ]
[ 1, 1, 1, 1, 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, 1074, 750, 262, 2297, 17689, 711, 1028, 319, 2795, 513, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1433, 33411, 3128, 796, 366, 73, 1726, 513, 1 ]
Tell me the School/Club team of the player from the United States that play'de guard?
SELECT school_club_team FROM table_name_53 WHERE nationality = "united states" AND position = "guard"
[ 24446, 502, 262, 3961, 14, 42350, 1074, 286, 262, 2137, 422, 262, 1578, 1829, 326, 711, 1549, 68, 4860, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 4310, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 2292, 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 ]
[ 24446, 502, 262, 3961, 14, 42350, 1074, 286, 262, 2137, 422, 262, 1578, 1829, 326, 711, 1549, 68, 4860, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 4310, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 2292, 796, ...
When 9:47:38 is the time (utc) how many measurements of latitude are there?
SELECT COUNT("Latitude") FROM table_26675 WHERE "Time (UTC)" = '9:47:38'
[ 2215, 860, 25, 2857, 25, 2548, 318, 262, 640, 357, 315, 66, 8, 703, 867, 13871, 286, 32477, 389, 612, 30, 46506, 327, 28270, 7203, 24220, 3984, 4943, 16034, 3084, 62, 25540, 2425, 33411, 366, 7575, 357, 17429, 16725, 796, 705, 24, 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 ]
[ 2215, 860, 25, 2857, 25, 2548, 318, 262, 640, 357, 315, 66, 8, 703, 867, 13871, 286, 32477, 389, 612, 30, 46506, 327, 28270, 7203, 24220, 3984, 4943, 16034, 3084, 62, 25540, 2425, 33411, 366, 7575, 357, 17429, 16725, 796, 705, 24, 2...
Show the headquarters shared by more than two companies.
SELECT Headquarters FROM Companies GROUP BY Headquarters HAVING COUNT(*) > 2
[ 15307, 262, 10043, 4888, 416, 517, 621, 734, 2706, 13, 46506, 32193, 16034, 24382, 44441, 11050, 32193, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 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 ]
[ 15307, 262, 10043, 4888, 416, 517, 621, 734, 2706, 13, 46506, 32193, 16034, 24382, 44441, 11050, 32193, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 362 ]
If the residence is Chagrin falls, who is the representative?
SELECT "Representative" FROM table_3475 WHERE "Residence" = 'Chagrin Falls'
[ 1532, 262, 11566, 318, 609, 363, 12769, 8953, 11, 508, 318, 262, 8852, 30, 46506, 366, 40171, 876, 1, 16034, 3084, 62, 2682, 2425, 33411, 366, 4965, 1704, 1, 796, 705, 1925, 363, 12769, 17930, 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 ]
[ 1532, 262, 11566, 318, 609, 363, 12769, 8953, 11, 508, 318, 262, 8852, 30, 46506, 366, 40171, 876, 1, 16034, 3084, 62, 2682, 2425, 33411, 366, 4965, 1704, 1, 796, 705, 1925, 363, 12769, 17930, 6 ]
What is the Away Team Score of the Collingwood Home Team?
SELECT "Away team score" FROM table_52066 WHERE "Away team" = 'collingwood'
[ 2061, 318, 262, 21986, 4816, 15178, 286, 262, 7778, 278, 3822, 5995, 4816, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 31211, 2791, 33411, 366, 32, 1014, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 4816, 15178, 286, 262, 7778, 278, 3822, 5995, 4816, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 31211, 2791, 33411, 366, 32, 1014, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
provide the number of patients whose age is less than 30 and drug type is base?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "30" AND prescriptions.drug_type = "BASE"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 1542, 290, 2563, 2099, 318, 2779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 1542, 290, 2563, 2099, 318, 2779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
What is the location attendance of the game with a 27-22 record?
SELECT location_attendance FROM table_name_27 WHERE record = "27-22"
[ 2061, 318, 262, 4067, 14858, 286, 262, 983, 351, 257, 2681, 12, 1828, 1700, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 3672, 62, 1983, 33411, 1700, 796, 366, 1983, 12, 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, 318, 262, 4067, 14858, 286, 262, 983, 351, 257, 2681, 12, 1828, 1700, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 3672, 62, 1983, 33411, 1700, 796, 366, 1983, 12, 1828, 1 ]
What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?
SELECT SUM(solidat__) AS °c_ FROM table_name_15 WHERE purpose = "display type, heavy duty jobs" AND hardness___brinell__ < 33
[ 2061, 318, 262, 2160, 286, 15831, 265, 357, 66, 8, 326, 338, 4007, 318, 3359, 2099, 11, 4334, 7077, 3946, 11, 290, 257, 49604, 357, 1671, 500, 297, 8, 318, 4833, 621, 4747, 30, 46506, 35683, 7, 39390, 265, 834, 8, 7054, 22074, 66,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2160, 286, 15831, 265, 357, 66, 8, 326, 338, 4007, 318, 3359, 2099, 11, 4334, 7077, 3946, 11, 290, 257, 49604, 357, 1671, 500, 297, 8, 318, 4833, 621, 4747, 30, 46506, 35683, 7, 39390, 265, 834, 8, 7054, 22074, 66,...
Name the state class for isaac d. barnard (j)
SELECT state__class_ FROM table_225198_3 WHERE vacator = "Isaac D. Barnard (J)"
[ 5376, 262, 1181, 1398, 329, 318, 64, 330, 288, 13, 25203, 446, 357, 73, 8, 46506, 1181, 834, 4871, 62, 16034, 3084, 62, 18182, 22337, 62, 18, 33411, 6658, 1352, 796, 366, 39443, 330, 360, 13, 11842, 446, 357, 41, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1181, 1398, 329, 318, 64, 330, 288, 13, 25203, 446, 357, 73, 8, 46506, 1181, 834, 4871, 62, 16034, 3084, 62, 18182, 22337, 62, 18, 33411, 6658, 1352, 796, 366, 39443, 330, 360, 13, 11842, 446, 357, 41, 16725 ]
What is the average prices of wines for each each?
SELECT AVG(price), year FROM wine GROUP BY year
[ 2061, 318, 262, 2811, 4536, 286, 30680, 329, 1123, 1123, 30, 46506, 35224, 7, 20888, 828, 614, 16034, 8237, 44441, 11050, 614 ]
[ 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, 4536, 286, 30680, 329, 1123, 1123, 30, 46506, 35224, 7, 20888, 828, 614, 16034, 8237, 44441, 11050, 614 ]
what is the earliest flight flying from PITTSBURGH to ATLANTA on 7 5
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 ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 5 AND date_day.month_number = 7 AND d...
[ 10919, 318, 262, 14555, 5474, 7348, 422, 49040, 4694, 38926, 17511, 284, 5161, 25697, 5603, 319, 767, 642, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 5474, 7348, 422, 49040, 4694, 38926, 17511, 284, 5161, 25697, 5603, 319, 767, 642, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11,...
What is Benito Cheng's Pick number?
SELECT pick FROM table_name_75 WHERE player = "benito cheng"
[ 2061, 318, 3932, 10094, 27692, 338, 12346, 1271, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 2425, 33411, 2137, 796, 366, 11722, 10094, 1125, 782, 1 ]
[ 1, 1, 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, 3932, 10094, 27692, 338, 12346, 1271, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 2425, 33411, 2137, 796, 366, 11722, 10094, 1125, 782, 1 ]
how many patients whose admission type is emergency and age is less than 67?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.age < "67"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 6334, 290, 2479, 318, 1342, 621, 8275, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 6334, 290, 2479, 318, 1342, 621, 8275, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, ...
What is the Siburan-Padawan word for the Tagalog word kanin?
SELECT "Siburan-Padawan" FROM table_10673 WHERE "Tagalog" = 'kanin'
[ 2061, 318, 262, 311, 38616, 272, 12, 26114, 43004, 1573, 329, 262, 17467, 11794, 1573, 43998, 259, 30, 46506, 366, 50, 38616, 272, 12, 26114, 43004, 1, 16034, 3084, 62, 940, 45758, 33411, 366, 24835, 11794, 1, 796, 705, 27541, 259, 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 ]
[ 2061, 318, 262, 311, 38616, 272, 12, 26114, 43004, 1573, 329, 262, 17467, 11794, 1573, 43998, 259, 30, 46506, 366, 50, 38616, 272, 12, 26114, 43004, 1, 16034, 3084, 62, 940, 45758, 33411, 366, 24835, 11794, 1, 796, 705, 27541, 259, 6 ...
Name the insurgents for civilians being 49
SELECT insurgents FROM table_name_75 WHERE civilians = "49"
[ 5376, 262, 31622, 329, 10380, 852, 5125, 46506, 31622, 16034, 3084, 62, 3672, 62, 2425, 33411, 10380, 796, 366, 2920, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 31622, 329, 10380, 852, 5125, 46506, 31622, 16034, 3084, 62, 3672, 62, 2425, 33411, 10380, 796, 366, 2920, 1 ]
did february 2012 or july 2006 have more total votes ?
SELECT "month" FROM table_203_43 WHERE "month" IN ('february 2012', 'july 2006') ORDER BY "favor" DESC LIMIT 1
[ 20839, 730, 65, 3728, 2321, 393, 474, 2062, 4793, 423, 517, 2472, 5690, 5633, 46506, 366, 8424, 1, 16034, 3084, 62, 22416, 62, 3559, 33411, 366, 8424, 1, 3268, 19203, 69, 1765, 3728, 2321, 3256, 705, 73, 2062, 4793, 11537, 38678, 1105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 730, 65, 3728, 2321, 393, 474, 2062, 4793, 423, 517, 2472, 5690, 5633, 46506, 366, 8424, 1, 16034, 3084, 62, 22416, 62, 3559, 33411, 366, 8424, 1, 3268, 19203, 69, 1765, 3728, 2321, 3256, 705, 73, 2062, 4793, 11537, 38678, 1105...
what is the attendance when the date is october 22, 2000?
SELECT "Attendance" FROM table_48978 WHERE "Date" = 'october 22, 2000'
[ 10919, 318, 262, 14858, 618, 262, 3128, 318, 19318, 2023, 2534, 11, 4751, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2780, 32196, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 2534, 11, 4751, 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, 318, 262, 14858, 618, 262, 3128, 318, 19318, 2023, 2534, 11, 4751, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 2780, 32196, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 2534, 11, 4751, 6 ]
How many stages of the rally took 14:33.9 for the leader to finish?
SELECT COUNT(length) FROM table_21326205_2 WHERE time = "14:33.9"
[ 2437, 867, 9539, 286, 262, 7903, 1718, 1478, 25, 2091, 13, 24, 329, 262, 3554, 284, 5461, 30, 46506, 327, 28270, 7, 13664, 8, 16034, 3084, 62, 26427, 2075, 21261, 62, 17, 33411, 640, 796, 366, 1415, 25, 2091, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9539, 286, 262, 7903, 1718, 1478, 25, 2091, 13, 24, 329, 262, 3554, 284, 5461, 30, 46506, 327, 28270, 7, 13664, 8, 16034, 3084, 62, 26427, 2075, 21261, 62, 17, 33411, 640, 796, 366, 1415, 25, 2091, 13, 24, 1 ]
besides vardashen , what other correctional facility was designed for less than 200 prisoners ?
SELECT "name" FROM table_204_414 WHERE "name" <> 'vardashen' AND "# of prisoners designed for" < 200
[ 65, 11788, 410, 446, 292, 831, 837, 644, 584, 49187, 6841, 373, 3562, 329, 1342, 621, 939, 10577, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 37309, 33411, 366, 3672, 1, 1279, 29, 705, 10187, 292, 831, 6, 5357, 25113, 286...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 65, 11788, 410, 446, 292, 831, 837, 644, 584, 49187, 6841, 373, 3562, 329, 1342, 621, 939, 10577, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 37309, 33411, 366, 3672, 1, 1279, 29, 705, 10187, 292, 831, 6, 5357, 25113, 286...
give me the number of patients whose days of hospital stay is greater than 7 and diagnoses short title is hx-ven thrombosis/embols?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "7" AND diagnoses.short_title = "Hx-ven thrombosis/embols"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 767, 290, 40567, 1790, 3670, 318, 289, 87, 12, 574, 294, 398, 65, 5958, 14, 24419, 10220, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 3279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 318, 3744, 621, 767, 290, 40567, 1790, 3670, 318, 289, 87, 12, 574, 294, 398, 65, 5958, 14, 24419, 10220, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 3279...
What label does Germany have?
SELECT "Label" FROM table_48396 WHERE "Region" = 'germany'
[ 2061, 6167, 857, 4486, 423, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 2780, 34107, 33411, 366, 47371, 1, 796, 705, 1362, 21834, 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 ]
[ 2061, 6167, 857, 4486, 423, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 2780, 34107, 33411, 366, 47371, 1, 796, 705, 1362, 21834, 6 ]
What's the location for the country of platte?
SELECT location FROM table_name_64 WHERE county = "platte"
[ 2061, 338, 262, 4067, 329, 262, 1499, 286, 40315, 660, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 2414, 33411, 7968, 796, 366, 489, 265, 660, 1 ]
[ 1, 1, 1, 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, 4067, 329, 262, 1499, 286, 40315, 660, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 2414, 33411, 7968, 796, 366, 489, 265, 660, 1 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the distribution of job_id and the average of manager_id , and group by attribute job_id in a bar chart.
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, ...
Name the having things for privacy, intimate spaces of togetherness
SELECT "Having (things)" FROM table_68446 WHERE "Interacting (settings)" = 'privacy, intimate spaces of togetherness'
[ 5376, 262, 1719, 1243, 329, 6782, 11, 16584, 9029, 286, 1978, 1108, 46506, 366, 14698, 357, 27971, 16725, 16034, 3084, 62, 3104, 27260, 33411, 366, 9492, 27362, 357, 33692, 16725, 796, 705, 13776, 1590, 11, 16584, 9029, 286, 1978, 1108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1719, 1243, 329, 6782, 11, 16584, 9029, 286, 1978, 1108, 46506, 366, 14698, 357, 27971, 16725, 16034, 3084, 62, 3104, 27260, 33411, 366, 9492, 27362, 357, 33692, 16725, 796, 705, 13776, 1590, 11, 16584, 9029, 286, 1978, 1108, ...
What is the home team score when the home team is Essendon?
SELECT "Home team score" FROM table_32803 WHERE "Home team" = 'essendon'
[ 2061, 318, 262, 1363, 1074, 4776, 618, 262, 1363, 1074, 318, 11985, 43153, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2624, 43564, 33411, 366, 16060, 1074, 1, 796, 705, 408, 43153, 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, 1363, 1074, 4776, 618, 262, 1363, 1074, 318, 11985, 43153, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2624, 43564, 33411, 366, 16060, 1074, 1, 796, 705, 408, 43153, 6 ]
What are the notes of the satellite whose nssdc id number is 1959-002a?
SELECT "Notes" FROM table_22836 WHERE "NSSDC ID No." = '1959-002A'
[ 2061, 389, 262, 4710, 286, 262, 11210, 3025, 299, 824, 17896, 4686, 1271, 318, 23859, 12, 21601, 64, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 23815, 2623, 33411, 366, 45, 5432, 9697, 4522, 1400, 526, 796, 705, 45403, 12, 21601, 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 ]
[ 2061, 389, 262, 4710, 286, 262, 11210, 3025, 299, 824, 17896, 4686, 1271, 318, 23859, 12, 21601, 64, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 23815, 2623, 33411, 366, 45, 5432, 9697, 4522, 1400, 526, 796, 705, 45403, 12, 21601, 32, ...
What play did henry s. uber / betty uber (eng) finish in?
SELECT COUNT("Place") FROM table_37231 WHERE "Name" = 'henry s. uber / betty uber (eng)'
[ 2061, 711, 750, 30963, 563, 264, 13, 48110, 1220, 731, 774, 48110, 357, 1516, 8, 5461, 287, 30, 46506, 327, 28270, 7203, 27271, 4943, 16034, 3084, 62, 2718, 25667, 33411, 366, 5376, 1, 796, 705, 831, 563, 264, 13, 48110, 1220, 731, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 711, 750, 30963, 563, 264, 13, 48110, 1220, 731, 774, 48110, 357, 1516, 8, 5461, 287, 30, 46506, 327, 28270, 7203, 27271, 4943, 16034, 3084, 62, 2718, 25667, 33411, 366, 5376, 1, 796, 705, 831, 563, 264, 13, 48110, 1220, 731, ...
Which biggest interview score had an evening gown stat of 9.286?
SELECT MAX("Interview") FROM table_11149 WHERE "Evening Gown" = '9.286'
[ 13828, 4094, 2720, 4776, 550, 281, 6180, 33323, 1185, 286, 860, 13, 27033, 30, 46506, 25882, 7203, 39945, 4943, 16034, 3084, 62, 1157, 19442, 33411, 366, 6104, 278, 402, 593, 1, 796, 705, 24, 13, 27033, 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 ]
[ 13828, 4094, 2720, 4776, 550, 281, 6180, 33323, 1185, 286, 860, 13, 27033, 30, 46506, 25882, 7203, 39945, 4943, 16034, 3084, 62, 1157, 19442, 33411, 366, 6104, 278, 402, 593, 1, 796, 705, 24, 13, 27033, 6 ]
What is the score of Nick Taylor (a)?
SELECT score FROM table_name_64 WHERE player = "nick taylor (a)"
[ 2061, 318, 262, 4776, 286, 8047, 8121, 357, 64, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 2414, 33411, 2137, 796, 366, 17172, 256, 7167, 357, 64, 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 ]
[ 2061, 318, 262, 4776, 286, 8047, 8121, 357, 64, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 2414, 33411, 2137, 796, 366, 17172, 256, 7167, 357, 64, 16725 ]
Which Home team has an Away team of collingwood?
SELECT home_team FROM table_name_25 WHERE away_team = "collingwood"
[ 13828, 5995, 1074, 468, 281, 21986, 1074, 286, 2927, 278, 3822, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1495, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 5995, 1074, 468, 281, 21986, 1074, 286, 2927, 278, 3822, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1495, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
Who is the opponent of the game that had a record of 24-26-4?
SELECT opponent FROM table_name_50 WHERE record = "24-26-4"
[ 8241, 318, 262, 6125, 286, 262, 983, 326, 550, 257, 1700, 286, 1987, 12, 2075, 12, 19, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1120, 33411, 1700, 796, 366, 1731, 12, 2075, 12, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 6125, 286, 262, 983, 326, 550, 257, 1700, 286, 1987, 12, 2075, 12, 19, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1120, 33411, 1700, 796, 366, 1731, 12, 2075, 12, 19, 1 ]
Prof. Wilhelm Piskorowski teaches which courses ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Wilhelm Piskorowski%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offerin...
[ 15404, 13, 50031, 350, 1984, 273, 12079, 17324, 543, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15404, 13, 50031, 350, 1984, 273, 12079, 17324, 543, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249,...
Who was the host team at the game at the Cleveland Browns Stadium?
SELECT "Host Team" FROM table_70682 WHERE "Stadium" = 'cleveland browns stadium'
[ 8241, 373, 262, 2583, 1074, 379, 262, 983, 379, 262, 10306, 17671, 10499, 30, 46506, 366, 17932, 4816, 1, 16034, 3084, 62, 2154, 43950, 33411, 366, 1273, 6271, 1, 796, 705, 2375, 9731, 7586, 82, 10308, 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 ]
[ 8241, 373, 262, 2583, 1074, 379, 262, 983, 379, 262, 10306, 17671, 10499, 30, 46506, 366, 17932, 4816, 1, 16034, 3084, 62, 2154, 43950, 33411, 366, 1273, 6271, 1, 796, 705, 2375, 9731, 7586, 82, 10308, 6 ]
What horizontal bar score also has a pommel horse score of 15.250?
SELECT horizontal_bar FROM table_name_60 WHERE pommel_horse = "15.250"
[ 2061, 16021, 2318, 4776, 635, 468, 257, 279, 48990, 8223, 4776, 286, 1315, 13, 9031, 30, 46506, 16021, 62, 5657, 16034, 3084, 62, 3672, 62, 1899, 33411, 279, 48990, 62, 30527, 796, 366, 1314, 13, 9031, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16021, 2318, 4776, 635, 468, 257, 279, 48990, 8223, 4776, 286, 1315, 13, 9031, 30, 46506, 16021, 62, 5657, 16034, 3084, 62, 3672, 62, 1899, 33411, 279, 48990, 62, 30527, 796, 366, 1314, 13, 9031, 1 ]
Show the relationship between account id and name for each account in a scatter chart.
SELECT account_name, T1.account_id FROM Financial_Transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id
[ 15307, 262, 2776, 1022, 1848, 4686, 290, 1438, 329, 1123, 1848, 287, 257, 41058, 8262, 13, 46506, 1848, 62, 3672, 11, 309, 16, 13, 23317, 62, 312, 16034, 11302, 62, 8291, 4658, 7054, 309, 16, 32357, 1268, 35584, 7054, 309, 17, 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 ]
[ 15307, 262, 2776, 1022, 1848, 4686, 290, 1438, 329, 1123, 1848, 287, 257, 41058, 8262, 13, 46506, 1848, 62, 3672, 11, 309, 16, 13, 23317, 62, 312, 16034, 11302, 62, 8291, 4658, 7054, 309, 16, 32357, 1268, 35584, 7054, 309, 17, 6177, ...
name the only indie/alternative/rock music radio station broadcasted by mxr yorkshire .
SELECT "service" FROM table_203_603 WHERE "description" = 'indie / alternative / rock music'
[ 3672, 262, 691, 19907, 14, 33645, 876, 14, 10823, 2647, 5243, 4429, 7025, 276, 416, 285, 87, 81, 331, 29918, 764, 46506, 366, 15271, 1, 16034, 3084, 62, 22416, 62, 35642, 33411, 366, 11213, 1, 796, 705, 521, 494, 1220, 5559, 1220, 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 ]
[ 3672, 262, 691, 19907, 14, 33645, 876, 14, 10823, 2647, 5243, 4429, 7025, 276, 416, 285, 87, 81, 331, 29918, 764, 46506, 366, 15271, 1, 16034, 3084, 62, 22416, 62, 35642, 33411, 366, 11213, 1, 796, 705, 521, 494, 1220, 5559, 1220, 3...
What is the 2006-2007 points minimum is the team is Overmach Parma?
SELECT MIN("2006-07 Points") FROM table_25733 WHERE "Team" = 'Overmach Parma'
[ 2061, 318, 262, 4793, 12, 12726, 2173, 5288, 318, 262, 1074, 318, 3827, 76, 620, 350, 10961, 30, 46506, 20625, 7203, 13330, 12, 2998, 11045, 4943, 16034, 3084, 62, 28676, 2091, 33411, 366, 15592, 1, 796, 705, 5886, 76, 620, 350, 10961...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4793, 12, 12726, 2173, 5288, 318, 262, 1074, 318, 3827, 76, 620, 350, 10961, 30, 46506, 20625, 7203, 13330, 12, 2998, 11045, 4943, 16034, 3084, 62, 28676, 2091, 33411, 366, 15592, 1, 796, 705, 5886, 76, 620, 350, 10961...
return me the homepage of PVLDB .
SELECT homepage FROM journal WHERE name = 'PVLDB'
[ 7783, 502, 262, 34940, 286, 31392, 43, 11012, 764, 46506, 34940, 16034, 3989, 33411, 1438, 796, 705, 47, 47468, 11012, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7783, 502, 262, 34940, 286, 31392, 43, 11012, 764, 46506, 34940, 16034, 3989, 33411, 1438, 796, 705, 47, 47468, 11012, 6 ]
which team(s) won $2,605,05
SELECT team_s_ FROM table_2012187_1 WHERE winnings = "$2,605,05"
[ 4758, 1074, 7, 82, 8, 1839, 720, 17, 11, 32417, 11, 2713, 46506, 1074, 62, 82, 62, 16034, 3084, 62, 6999, 23451, 62, 16, 33411, 1592, 23400, 796, 17971, 17, 11, 32417, 11, 2713, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 7, 82, 8, 1839, 720, 17, 11, 32417, 11, 2713, 46506, 1074, 62, 82, 62, 16034, 3084, 62, 6999, 23451, 62, 16, 33411, 1592, 23400, 796, 17971, 17, 11, 32417, 11, 2713, 1 ]
how many players have above 40 international caps ?
SELECT COUNT("name") FROM table_203_312 WHERE "international caps" > 40
[ 4919, 867, 1938, 423, 2029, 2319, 3230, 11022, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 27970, 33411, 366, 45609, 11022, 1, 1875, 2319 ]
[ 1, 1, 1, 1, 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, 1938, 423, 2029, 2319, 3230, 11022, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 27970, 33411, 366, 45609, 11022, 1, 1875, 2319 ]
dplyr plyr data.table r tidyr trends.
SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ...
[ 67, 2145, 81, 35960, 81, 1366, 13, 11487, 374, 29770, 2417, 11257, 13, 46506, 360, 6158, 29266, 7, 3020, 11, 357, 56, 17133, 7, 21496, 13, 12443, 341, 10430, 8, 532, 21489, 8, 1635, 1105, 1343, 25000, 4221, 7, 21496, 13, 12443, 341,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 67, 2145, 81, 35960, 81, 1366, 13, 11487, 374, 29770, 2417, 11257, 13, 46506, 360, 6158, 29266, 7, 3020, 11, 357, 56, 17133, 7, 21496, 13, 12443, 341, 10430, 8, 532, 21489, 8, 1635, 1105, 1343, 25000, 4221, 7, 21496, 13, 12443, 341,...
What is 2nd Leg, when 1st Leg is 'SGM Basso Molise (Molise)'?
SELECT "2nd leg" FROM table_43865 WHERE "1st leg" = 'sgm basso molise (molise)'
[ 2061, 318, 362, 358, 3564, 11, 618, 352, 301, 3564, 318, 705, 50, 15548, 19829, 78, 17958, 786, 357, 44, 349, 786, 8, 30960, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 43704, 2996, 33411, 366, 16, 301, 1232, 1, 796, 705, 82, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 358, 3564, 11, 618, 352, 301, 3564, 318, 705, 50, 15548, 19829, 78, 17958, 786, 357, 44, 349, 786, 8, 30960, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 43704, 2996, 33411, 366, 16, 301, 1232, 1, 796, 705, 82, ...
What was the final score for the game played against the New York Knicks?
SELECT score FROM table_name_11 WHERE opponent = "new york knicks"
[ 2061, 373, 262, 2457, 4776, 329, 262, 983, 2826, 1028, 262, 968, 1971, 24397, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1157, 33411, 6125, 796, 366, 3605, 331, 967, 638, 3378, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2457, 4776, 329, 262, 983, 2826, 1028, 262, 968, 1971, 24397, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1157, 33411, 6125, 796, 366, 3605, 331, 967, 638, 3378, 1 ]
Which year or years did a team win 174 games and had an assist number less than 17?
SELECT years FROM table_name_40 WHERE assist < 17 AND games = 174
[ 13828, 614, 393, 812, 750, 257, 1074, 1592, 27621, 1830, 290, 550, 281, 3342, 1271, 1342, 621, 1596, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 1821, 33411, 3342, 1279, 1596, 5357, 1830, 796, 27621 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 393, 812, 750, 257, 1074, 1592, 27621, 1830, 290, 550, 281, 3342, 1271, 1342, 621, 1596, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 1821, 33411, 3342, 1279, 1596, 5357, 1830, 796, 27621 ]
What gender is Quentin?
SELECT "Gender" FROM table_31093 WHERE "Name" = 'Quentin'
[ 2061, 5279, 318, 42447, 30, 46506, 366, 41394, 1, 16034, 3084, 62, 26717, 6052, 33411, 366, 5376, 1, 796, 705, 4507, 31371, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5279, 318, 42447, 30, 46506, 366, 41394, 1, 16034, 3084, 62, 26717, 6052, 33411, 366, 5376, 1, 796, 705, 4507, 31371, 6 ]
Which college does the player John Theus associate with?
SELECT college FROM table_11677691_5 WHERE player = "John Theus"
[ 13828, 4152, 857, 262, 2137, 1757, 383, 385, 11602, 351, 30, 46506, 4152, 16034, 3084, 62, 1157, 40179, 49541, 62, 20, 33411, 2137, 796, 366, 7554, 383, 385, 1 ]
[ 1, 1, 1, 1, 1, 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, 4152, 857, 262, 2137, 1757, 383, 385, 11602, 351, 30, 46506, 4152, 16034, 3084, 62, 1157, 40179, 49541, 62, 20, 33411, 2137, 796, 366, 7554, 383, 385, 1 ]
How many locations have #12 Michigan State as the big ten team?
SELECT COUNT("Location") FROM table_24292 WHERE "Big Ten Team" = '#12 Michigan State'
[ 2437, 867, 7064, 423, 1303, 1065, 7055, 1812, 355, 262, 1263, 3478, 1074, 30, 46506, 327, 28270, 7203, 14749, 4943, 16034, 3084, 62, 1731, 32759, 33411, 366, 12804, 9368, 4816, 1, 796, 705, 2, 1065, 7055, 1812, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7064, 423, 1303, 1065, 7055, 1812, 355, 262, 1263, 3478, 1074, 30, 46506, 327, 28270, 7203, 14749, 4943, 16034, 3084, 62, 1731, 32759, 33411, 366, 12804, 9368, 4816, 1, 796, 705, 2, 1065, 7055, 1812, 6 ]
Name the fastest lap for round 3
SELECT "Fastest Lap" FROM table_27536 WHERE "Round" = '3'
[ 5376, 262, 14162, 14779, 329, 2835, 513, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 23195, 2623, 33411, 366, 22685, 1, 796, 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 ]
[ 5376, 262, 14162, 14779, 329, 2835, 513, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 23195, 2623, 33411, 366, 22685, 1, 796, 705, 18, 6 ]
What are the different ids and names of the stations that have had more than 12 bikes available Plot them as bar chart, display total number in desc order.
SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12 ORDER BY id DESC
[ 2061, 389, 262, 1180, 220, 2340, 290, 3891, 286, 262, 8985, 326, 423, 550, 517, 621, 1105, 16715, 1695, 28114, 606, 355, 2318, 8262, 11, 3359, 2472, 1271, 287, 1715, 1502, 13, 46506, 1438, 11, 4686, 16034, 4429, 7054, 309, 16, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1180, 220, 2340, 290, 3891, 286, 262, 8985, 326, 423, 550, 517, 621, 1105, 16715, 1695, 28114, 606, 355, 2318, 8262, 11, 3359, 2472, 1271, 287, 1715, 1502, 13, 46506, 1438, 11, 4686, 16034, 4429, 7054, 309, 16, 32357, ...
What party's candidate was re-elected in the Louisiana 6 district?
SELECT "Party" FROM table_18507 WHERE "Result" = 'Re-elected' AND "District" = 'Louisiana 6'
[ 2061, 2151, 338, 4540, 373, 302, 12, 28604, 287, 262, 13340, 718, 4783, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 35378, 33411, 366, 23004, 1, 796, 705, 3041, 12, 28604, 6, 5357, 366, 44857, 1, 796, 705, 32117, 7484, 718, 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, 2151, 338, 4540, 373, 302, 12, 28604, 287, 262, 13340, 718, 4783, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 35378, 33411, 366, 23004, 1, 796, 705, 3041, 12, 28604, 6, 5357, 366, 44857, 1, 796, 705, 32117, 7484, 718, 6 ]
how many patients is methylprednisolone sodium succ prescribed to the last year?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'methylprednisolone sodium succ' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year'))
[ 4919, 867, 3871, 318, 27664, 28764, 21361, 349, 505, 21072, 17458, 14798, 284, 262, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 318, 27664, 28764, 21361, 349, 505, 21072, 17458, 14798, 284, 262, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357,...
was patient 98517 prescribed atorvastatin?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 98517) AND prescriptions.drug = 'atorvastatin'
[ 9776, 5827, 860, 5332, 1558, 14798, 379, 273, 85, 459, 10680, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 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 ]
[ 9776, 5827, 860, 5332, 1558, 14798, 379, 273, 85, 459, 10680, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, ...
What is the Catalog of the RCA release?
SELECT catalog FROM table_name_58 WHERE label = "rca"
[ 2061, 318, 262, 44515, 286, 262, 371, 8141, 2650, 30, 46506, 18388, 16034, 3084, 62, 3672, 62, 3365, 33411, 6167, 796, 366, 6015, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 44515, 286, 262, 371, 8141, 2650, 30, 46506, 18388, 16034, 3084, 62, 3672, 62, 3365, 33411, 6167, 796, 366, 6015, 64, 1 ]
What is the sum of rounds where freddie mitchell was picked?
SELECT SUM("Round") FROM table_77288 WHERE "Player" = 'freddie mitchell'
[ 2061, 318, 262, 2160, 286, 9196, 810, 277, 445, 11979, 10255, 12398, 373, 6497, 30, 46506, 35683, 7203, 22685, 4943, 16034, 3084, 62, 3324, 25270, 33411, 366, 14140, 1, 796, 705, 39193, 11979, 10255, 12398, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 9196, 810, 277, 445, 11979, 10255, 12398, 373, 6497, 30, 46506, 35683, 7203, 22685, 4943, 16034, 3084, 62, 3324, 25270, 33411, 366, 14140, 1, 796, 705, 39193, 11979, 10255, 12398, 6 ]
When steve mcclaren is the replacer what is the manner of departure?
SELECT "Manner of departure" FROM table_73622 WHERE "Replaced by" = 'Steve McClaren'
[ 2215, 2876, 303, 285, 535, 75, 5757, 318, 262, 2186, 11736, 644, 318, 262, 5642, 286, 12928, 30, 46506, 366, 5124, 1008, 286, 12928, 1, 16034, 3084, 62, 49150, 1828, 33411, 366, 3041, 21820, 416, 1, 796, 705, 19206, 23780, 5757, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 2876, 303, 285, 535, 75, 5757, 318, 262, 2186, 11736, 644, 318, 262, 5642, 286, 12928, 30, 46506, 366, 5124, 1008, 286, 12928, 1, 16034, 3084, 62, 49150, 1828, 33411, 366, 3041, 21820, 416, 1, 796, 705, 19206, 23780, 5757, 6 ]
Who had the fastest lap(s) when stefan wilson had the pole?
SELECT fastest_lap FROM table_29690363_3 WHERE pole_position = "Stefan Wilson"
[ 8241, 550, 262, 14162, 14779, 7, 82, 8, 618, 336, 891, 272, 39716, 1559, 550, 262, 16825, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 1959, 35844, 35447, 62, 18, 33411, 16825, 62, 9150, 796, 366, 7447, 24408, 8127, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 14162, 14779, 7, 82, 8, 618, 336, 891, 272, 39716, 1559, 550, 262, 16825, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 1959, 35844, 35447, 62, 18, 33411, 16825, 62, 9150, 796, 366, 7447, 24408, 8127, 1 ]
What was the home teams score against the away team footscray?
SELECT "Home team score" FROM table_55372 WHERE "Away team" = 'footscray'
[ 2061, 373, 262, 1363, 3466, 4776, 1028, 262, 1497, 1074, 2366, 1416, 2433, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2816, 36720, 33411, 366, 32, 1014, 1074, 1, 796, 705, 5898, 1416, 2433, 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, 373, 262, 1363, 3466, 4776, 1028, 262, 1497, 1074, 2366, 1416, 2433, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2816, 36720, 33411, 366, 32, 1014, 1074, 1, 796, 705, 5898, 1416, 2433, 6 ]
exactly what is the total amount of ns with 20kcl intake that patient 006-66039 has received since 1114 days ago?
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-66039')) AND intakeoutput.celllabel = 'ns wi...
[ 1069, 24342, 644, 318, 262, 2472, 2033, 286, 36545, 351, 1160, 74, 565, 10337, 326, 5827, 3571, 21, 12, 39885, 2670, 468, 2722, 1201, 13374, 19, 1528, 2084, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 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...
[ 1069, 24342, 644, 318, 262, 2472, 2033, 286, 36545, 351, 1160, 74, 565, 10337, 326, 5827, 3571, 21, 12, 39885, 2670, 468, 2722, 1201, 13374, 19, 1528, 2084, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16...
What is the Points Jury for Dance pop?
SELECT "Points jury" FROM table_43110 WHERE "Dance" = 'pop'
[ 2061, 318, 262, 11045, 48705, 329, 17349, 1461, 30, 46506, 366, 40710, 9002, 1, 16034, 3084, 62, 50080, 940, 33411, 366, 35, 590, 1, 796, 705, 12924, 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 ]
[ 2061, 318, 262, 11045, 48705, 329, 17349, 1461, 30, 46506, 366, 40710, 9002, 1, 16034, 3084, 62, 50080, 940, 33411, 366, 35, 590, 1, 796, 705, 12924, 6 ]
How much money did the player ranked above 3 with under 28 events earn?
SELECT COUNT("Earnings ( $ )") FROM table_11344 WHERE "Events" < '28' AND "Rank" < '3'
[ 2437, 881, 1637, 750, 262, 2137, 10307, 2029, 513, 351, 739, 2579, 2995, 5160, 30, 46506, 327, 28270, 7203, 49725, 654, 357, 720, 1267, 4943, 16034, 3084, 62, 16616, 2598, 33411, 366, 37103, 1, 1279, 705, 2078, 6, 5357, 366, 27520, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 1637, 750, 262, 2137, 10307, 2029, 513, 351, 739, 2579, 2995, 5160, 30, 46506, 327, 28270, 7203, 49725, 654, 357, 720, 1267, 4943, 16034, 3084, 62, 16616, 2598, 33411, 366, 37103, 1, 1279, 705, 2078, 6, 5357, 366, 27520, 1,...
What is the sum of bronzes for teams with more than 0 silver and a total under 1?
SELECT SUM("Bronze") FROM table_64017 WHERE "Silver" > '0' AND "Total" < '1'
[ 2061, 318, 262, 2160, 286, 18443, 12271, 329, 3466, 351, 517, 621, 657, 8465, 290, 257, 2472, 739, 352, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2414, 29326, 33411, 366, 26766, 1, 1875, 705, 15, 6, 5357, 366, 14957,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 18443, 12271, 329, 3466, 351, 517, 621, 657, 8465, 290, 257, 2472, 739, 352, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2414, 29326, 33411, 366, 26766, 1, 1875, 705, 15, 6, 5357, 366, 14957,...
Name the 2000 carlton television for 1951 bbc john stuart
SELECT "2000 ( Carlton Television )" FROM table_19185 WHERE "1951 ( BBC )" = 'John Stuart'
[ 5376, 262, 4751, 1097, 75, 1122, 5581, 329, 27937, 275, 15630, 45610, 336, 19986, 46506, 366, 11024, 357, 44348, 21516, 1267, 1, 16034, 3084, 62, 1129, 21652, 33411, 366, 1129, 4349, 357, 7823, 1267, 1, 796, 705, 7554, 22559, 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 ]
[ 5376, 262, 4751, 1097, 75, 1122, 5581, 329, 27937, 275, 15630, 45610, 336, 19986, 46506, 366, 11024, 357, 44348, 21516, 1267, 1, 16034, 3084, 62, 1129, 21652, 33411, 366, 1129, 4349, 357, 7823, 1267, 1, 796, 705, 7554, 22559, 6 ]
what were the marital status of patient 44848 in the first hospital encounter?
SELECT admissions.marital_status FROM admissions WHERE admissions.subject_id = 44848 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1
[ 10919, 547, 262, 29555, 3722, 286, 5827, 49989, 2780, 287, 262, 717, 4436, 8791, 30, 46506, 25349, 13, 3876, 1287, 62, 13376, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 49989, 2780, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 286, 5827, 49989, 2780, 287, 262, 717, 4436, 8791, 30, 46506, 25349, 13, 3876, 1287, 62, 13376, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 49989, 2780, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180...
What did carlton score while away?
SELECT away_team AS score FROM table_name_65 WHERE away_team = "carlton"
[ 2061, 750, 1097, 75, 1122, 4776, 981, 1497, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2996, 33411, 1497, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1097, 75, 1122, 4776, 981, 1497, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2996, 33411, 1497, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
Testing CUBE (and ROLLUP) using ISO-Compliant syntax. It seems even though you cannot refer to column names in normal SQL (simple ORDER BY references excepted -- a SQL Extension I believe) you do have to consider the matching expression as a name because although ISNULL(x,y) should never be null, it clearly is in the s...
SELECT TIME_TO_STR(CreationDate, '%Y') AS "year", TIME_TO_STR(CreationDate, '%m') AS "date", Score AS "score", COUNT(*) AS CommentCount, SUM(LENGTH(Text)) AS Typed, GROUPING(TIME_TO_STR(CreationDate, '%Y')), GROUPING(TIME_TO_STR(CreationDate, '%m')), GROUPING(Score) FROM Comments WHERE UserId = @UserId GROUP BY CUBE (T...
[ 44154, 327, 10526, 36, 357, 392, 15107, 3069, 8577, 8, 1262, 19694, 12, 38143, 3014, 15582, 13, 632, 2331, 772, 996, 345, 2314, 3522, 284, 5721, 3891, 287, 3487, 16363, 198, 7, 36439, 38678, 11050, 10288, 2845, 276, 1377, 257, 16363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 44154, 327, 10526, 36, 357, 392, 15107, 3069, 8577, 8, 1262, 19694, 12, 38143, 3014, 15582, 13, 632, 2331, 772, 996, 345, 2314, 3522, 284, 5721, 3891, 287, 3487, 16363, 198, 7, 36439, 38678, 11050, 10288, 2845, 276, 1377, 257, 16363, ...
What is the highest rank Mount Elbert has?
SELECT MAX(rank) FROM table_name_12 WHERE mountain_peak = "mount elbert"
[ 2061, 318, 262, 4511, 4279, 5628, 2574, 4835, 468, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 8598, 62, 36729, 796, 366, 14948, 1288, 4835, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4279, 5628, 2574, 4835, 468, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 8598, 62, 36729, 796, 366, 14948, 1288, 4835, 1 ]
Which release had 6 DVDs?
SELECT "Release" FROM table_28057 WHERE "# of discs" = '6'
[ 13828, 2650, 550, 718, 35962, 30, 46506, 366, 26362, 1, 16034, 3084, 62, 21033, 3553, 33411, 25113, 286, 31014, 1, 796, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2650, 550, 718, 35962, 30, 46506, 366, 26362, 1, 16034, 3084, 62, 21033, 3553, 33411, 25113, 286, 31014, 1, 796, 705, 21, 6 ]
what is the team that is pick 31?
SELECT team FROM table_name_19 WHERE pick = 31
[ 10919, 318, 262, 1074, 326, 318, 2298, 3261, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 1129, 33411, 2298, 796, 3261 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1074, 326, 318, 2298, 3261, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 1129, 33411, 2298, 796, 3261 ]
give me the number of patients whose diagnoses short title is acute nephritis nec and drug route is po?
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 = "Acute nephritis NEC" AND prescriptions.route = "PO"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 14352, 497, 746, 27398, 27576, 290, 2563, 6339, 318, 745, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 14352, 497, 746, 27398, 27576, 290, 2563, 6339, 318, 745, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
What kind of chassis on the angie's list sponsored car?
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's List"
[ 2061, 1611, 286, 24587, 319, 262, 3550, 494, 338, 1351, 15901, 1097, 30, 46506, 24587, 16034, 3084, 62, 9031, 18, 15377, 62, 17, 33411, 4165, 62, 20587, 273, 796, 366, 13450, 494, 338, 7343, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24587, 319, 262, 3550, 494, 338, 1351, 15901, 1097, 30, 46506, 24587, 16034, 3084, 62, 9031, 18, 15377, 62, 17, 33411, 4165, 62, 20587, 273, 796, 366, 13450, 494, 338, 7343, 1 ]
since 3 years ago has patient 010-5895 been prescribed 2 ml vial : ondansetron hcl 4 mg/2ml ij soln.
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-5895')) AND medication.drugname = '2 ml vial : ondansetron hcl 4 mg/2m...
[ 20777, 513, 812, 2084, 468, 5827, 5534, 15, 12, 3365, 3865, 587, 14798, 362, 25962, 410, 498, 1058, 319, 67, 504, 316, 1313, 289, 565, 604, 10527, 14, 17, 4029, 1312, 73, 1540, 77, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 513, 812, 2084, 468, 5827, 5534, 15, 12, 3365, 3865, 587, 14798, 362, 25962, 410, 498, 1058, 319, 67, 504, 316, 1313, 289, 565, 604, 10527, 14, 17, 4029, 1312, 73, 1540, 77, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, ...
Who won when the Patriots played the Denver Broncos?
SELECT record FROM table_name_38 WHERE opponent = "denver broncos"
[ 8241, 1839, 618, 262, 13104, 2826, 262, 10656, 16582, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2548, 33411, 6125, 796, 366, 6559, 332, 18443, 6966, 1 ]
[ 1, 1, 1, 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, 1839, 618, 262, 13104, 2826, 262, 10656, 16582, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2548, 33411, 6125, 796, 366, 6559, 332, 18443, 6966, 1 ]
show flights from DENVER to OAKLAND that arrive after 0 o'clock
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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAND' AND flight.arrival_time > 0 AND flight.to_airport = AIRPORT_SERVICE_1.airport_co...
[ 12860, 13956, 422, 37692, 5959, 284, 440, 10206, 28182, 326, 9240, 706, 657, 267, 6, 15750, 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, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 13956, 422, 37692, 5959, 284, 440, 10206, 28182, 326, 9240, 706, 657, 267, 6, 15750, 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, 15...
i am also interested in a flight that runs from ST. LOUIS to LAS VEGAS
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 = 'ST. LOUIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LAS ...
[ 72, 716, 635, 4609, 287, 257, 5474, 326, 4539, 422, 3563, 13, 406, 2606, 1797, 284, 406, 1921, 569, 7156, 1921, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 716, 635, 4609, 287, 257, 5474, 326, 4539, 422, 3563, 13, 406, 2606, 1797, 284, 406, 1921, 569, 7156, 1921, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, ...
Is the facility opened in 1968 a major facility?
SELECT "Major Facility" FROM table_27564 WHERE "Year Opened" = '1968'
[ 3792, 262, 6841, 4721, 287, 15963, 257, 1688, 6841, 30, 46506, 366, 24206, 29118, 1, 16034, 3084, 62, 23195, 2414, 33411, 366, 17688, 8670, 2945, 1, 796, 705, 42246, 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 ]
[ 3792, 262, 6841, 4721, 287, 15963, 257, 1688, 6841, 30, 46506, 366, 24206, 29118, 1, 16034, 3084, 62, 23195, 2414, 33411, 366, 17688, 8670, 2945, 1, 796, 705, 42246, 6 ]
what is the school with the location of alexandria?
SELECT school FROM table_name_58 WHERE location = "alexandria"
[ 10919, 318, 262, 1524, 351, 262, 4067, 286, 257, 2588, 392, 7496, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 3365, 33411, 4067, 796, 366, 1000, 87, 392, 7496, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1524, 351, 262, 4067, 286, 257, 2588, 392, 7496, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 3365, 33411, 4067, 796, 366, 1000, 87, 392, 7496, 1 ]
For those employees who was hired before 2002-06-21, visualize a scatter chart about the correlation between salary and department_id .
SELECT SALARY, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 9588, 290, 5011, 62, 312, 764, 46506, 42475, 13153, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 36210, 2200, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38350, 257, 41058, 8262, 546, 262, 16096, 1022, 9588, 290, 5011, 62, 312, 764, 46506, 42475, 13153, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 36210, 2200, ...
give me the number of patients whose ethnicity is black/cape verdean and primary disease is guillain barre syndrome?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.diagnosis = "GUILLAIN BARRE SYNDROME"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 4165, 4369, 318, 915, 359, 391, 2318, 260, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 4165, 4369, 318, 915, 359, 391, 2318, 260, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
Users by tags in DK.
SELECT u.Id AS "user_link", t.TagName, u.Reputation AS rep, u.DisplayName AS UserName FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId INNER JOIN Users AS u ON u.Id = p.OwnerUserId WHERE (u.Location = 'Copenhagen' OR u.Location = 'Denmark') AND (t.TagName = 'python' ...
[ 14490, 416, 15940, 287, 32975, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 256, 13, 24835, 5376, 11, 334, 13, 6207, 7094, 7054, 1128, 11, 334, 13, 23114, 5376, 7054, 11787, 5376, 16034, 12043, 7054, 279, 3268, 21479, 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...
[ 14490, 416, 15940, 287, 32975, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 256, 13, 24835, 5376, 11, 334, 13, 6207, 7094, 7054, 1128, 11, 334, 13, 23114, 5376, 7054, 11787, 5376, 16034, 12043, 7054, 279, 3268, 21479, 32...
What is Wheel Arrangement, when Manufacturer is 'Baldwin', and when Quantity Made is 12?
SELECT wheel_arrangement FROM table_name_52 WHERE manufacturer = "baldwin" AND quantity_made = "12"
[ 2061, 318, 15810, 943, 36985, 972, 11, 618, 40218, 318, 705, 33, 1940, 5404, 3256, 290, 618, 39789, 14446, 318, 1105, 30, 46506, 7825, 62, 3258, 648, 972, 16034, 3084, 62, 3672, 62, 4309, 33411, 11554, 796, 366, 65, 1940, 5404, 1, 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 ]
[ 2061, 318, 15810, 943, 36985, 972, 11, 618, 40218, 318, 705, 33, 1940, 5404, 3256, 290, 618, 39789, 14446, 318, 1105, 30, 46506, 7825, 62, 3258, 648, 972, 16034, 3084, 62, 3672, 62, 4309, 33411, 11554, 796, 366, 65, 1940, 5404, 1, 5...
Show all the buildings along with the number of faculty members the buildings have with a bar chart, and could you display in desc by the y-axis?
SELECT Building, COUNT(*) FROM Faculty GROUP BY Building ORDER BY COUNT(*) DESC
[ 15307, 477, 262, 6832, 1863, 351, 262, 1271, 286, 12829, 1866, 262, 6832, 423, 351, 257, 2318, 8262, 11, 290, 714, 345, 3359, 287, 1715, 416, 262, 331, 12, 22704, 30, 46506, 11819, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 262, 6832, 1863, 351, 262, 1271, 286, 12829, 1866, 262, 6832, 423, 351, 257, 2318, 8262, 11, 290, 714, 345, 3359, 287, 1715, 416, 262, 331, 12, 22704, 30, 46506, 11819, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050,...
calculate the number of patients who had received the reticulocyte count, manual laboratory test during this year.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'reticulocyte count, manual') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRE...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 508, 550, 2722, 262, 1005, 291, 377, 43320, 954, 11, 10107, 14010, 1332, 1141, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 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...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 508, 550, 2722, 262, 1005, 291, 377, 43320, 954, 11, 10107, 14010, 1332, 1141, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, ...
What party is Mick Young a member of?
SELECT party FROM table_name_45 WHERE member = "mick young"
[ 2061, 2151, 318, 32722, 6960, 257, 2888, 286, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 2231, 33411, 2888, 796, 366, 76, 624, 1862, 1 ]
[ 1, 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, 2151, 318, 32722, 6960, 257, 2888, 286, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 2231, 33411, 2888, 796, 366, 76, 624, 1862, 1 ]
Who was the Opponent of the Game with a Result of l 23-41?
SELECT opponent FROM table_name_91 WHERE result = "l 23-41"
[ 8241, 373, 262, 9385, 3471, 286, 262, 3776, 351, 257, 25414, 286, 300, 2242, 12, 3901, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 6420, 33411, 1255, 796, 366, 75, 2242, 12, 3901, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3471, 286, 262, 3776, 351, 257, 25414, 286, 300, 2242, 12, 3901, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 6420, 33411, 1255, 796, 366, 75, 2242, 12, 3901, 1 ]
what is the unabbreviated version of the imp crtd sinus stm,totl?
SELECT d_icd_diagnoses.long_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'imp crtd sinus stm,totl' UNION SELECT d_icd_procedures.long_title FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'imp crtd sinus stm,totl'
[ 10919, 318, 262, 40986, 4679, 8903, 515, 2196, 286, 262, 848, 1067, 8671, 7813, 385, 336, 76, 11, 83, 313, 75, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 6511, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 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...
[ 10919, 318, 262, 40986, 4679, 8903, 515, 2196, 286, 262, 848, 1067, 8671, 7813, 385, 336, 76, 11, 83, 313, 75, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 6511, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288,...
A bar chart shows the distribution of Team_Name and Team_ID , and order from low to high by the Y please.
SELECT Team_Name, Team_ID FROM basketball_match ORDER BY Team_ID
[ 32, 2318, 8262, 2523, 262, 6082, 286, 4816, 62, 5376, 290, 4816, 62, 2389, 837, 290, 1502, 422, 1877, 284, 1029, 416, 262, 575, 3387, 13, 46506, 4816, 62, 5376, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2523, 262, 6082, 286, 4816, 62, 5376, 290, 4816, 62, 2389, 837, 290, 1502, 422, 1877, 284, 1029, 416, 262, 575, 3387, 13, 46506, 4816, 62, 5376, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 238...
When were the credentials presented for new jersey with a status of foreign service officer?
SELECT "Credentials Presented" FROM table_75679 WHERE "State" = 'new jersey' AND "Status" = 'foreign service officer'
[ 2215, 547, 262, 18031, 5545, 329, 649, 22383, 351, 257, 3722, 286, 3215, 2139, 3818, 30, 46506, 366, 34, 445, 14817, 1763, 4714, 1, 16034, 3084, 62, 2425, 37601, 33411, 366, 9012, 1, 796, 705, 3605, 22383, 6, 5357, 366, 19580, 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, 1 ]
[ 2215, 547, 262, 18031, 5545, 329, 649, 22383, 351, 257, 3722, 286, 3215, 2139, 3818, 30, 46506, 366, 34, 445, 14817, 1763, 4714, 1, 16034, 3084, 62, 2425, 37601, 33411, 366, 9012, 1, 796, 705, 3605, 22383, 6, 5357, 366, 19580, 1, 79...