NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
How many opponents are there when cowboy points were 10?
CREATE TABLE table_25324 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Cowboys points" real, "Opponents" real, "Record" text )
SELECT "Opponents" FROM table_25324 WHERE "Cowboys points" = '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 519, 2266, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 254, 2381, 7531, 7, 979, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 7, 121, 21680, 953, 834, 1828, 519, 2266, 549, 17444, 427, 96, 254, 2381, 7531, 7, 979, 121, 3274, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the name, id and the corresponding number of visits for each tourist attraction?
CREATE TABLE photos ( photo_id number, tourist_attraction_id number, name text, description text, filename text, other_details text ) CREATE TABLE museums ( museum_id number, museum_details text ) CREATE TABLE street_markets ( market_id number, market_details text ) CREATE TABLE royal_family ( royal_family_id number, royal_family_details text ) CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE visits ( visit_id number, tourist_attraction_id number, tourist_id number, visit_date time, visit_details text ) CREATE TABLE tourist_attractions ( tourist_attraction_id number, attraction_type_code text, location_id number, how_to_get_there text, name text, description text, opening_hours text, other_details text ) CREATE TABLE hotels ( hotel_id number, star_rating_code text, pets_allowed_yn text, price_range number, other_hotel_details text ) CREATE TABLE ref_hotel_star_ratings ( star_rating_code text, star_rating_description text ) CREATE TABLE features ( feature_id number, feature_details text ) CREATE TABLE locations ( location_id number, location_name text, address text, other_details text ) CREATE TABLE tourist_attraction_features ( tourist_attraction_id number, feature_id number ) CREATE TABLE theme_parks ( theme_park_id number, theme_park_details text ) CREATE TABLE staff ( staff_id number, tourist_attraction_id number, name text, other_details text ) CREATE TABLE shops ( shop_id number, shop_details text ) CREATE TABLE ref_attraction_types ( attraction_type_code text, attraction_type_description text )
SELECT T1.name, T2.tourist_attraction_id, COUNT(*) FROM tourist_attractions AS T1 JOIN visits AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id GROUP BY T2.tourist_attraction_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1302, 41, 1202, 834, 23, 26, 381, 6, 8548, 834, 144, 10559, 834, 23, 26, 381, 6, 564, 1499, 6, 4210, 1499, 6, 1042, 4350, 1499, 6, 119, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 4350, 6, 332, 4416, 17, 1211, 343, 834, 144, 10559, 834, 23, 26, 6, 2847, 17161, 599, 1935, 61, 21680, 8548, 834, 144, 10559, 7, 6157, 332, 536, 3, 15355, 3162, 8305, 6157, 332, 357, 9191, 332, 5411, 17...
What day was the oppenent the detroit lions?
CREATE TABLE table_14655917_1 ( date VARCHAR, opponent VARCHAR )
SELECT date FROM table_14655917_1 WHERE opponent = "Detroit Lions"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4122, 3390, 2517, 834, 536, 41, 833, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 239, 47, 8, 3, 32, 1572, 35, 295, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2534, 4122, 3390, 2517, 834, 536, 549, 17444, 427, 15264, 3274, 96, 308, 15252, 155, 10371, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Record with a Leading scorer with andrew bogut (29)?
CREATE TABLE table_name_49 (record VARCHAR, leading_scorer VARCHAR)
SELECT record FROM table_name_49 WHERE leading_scorer = "andrew bogut (29)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 60, 7621, 584, 4280, 28027, 6, 1374, 834, 7, 5715, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11392, 28, 3, 9, 22798, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1374, 834, 7, 5715, 49, 3274, 96, 232, 60, 210, 3005, 11221, 4743, 11728, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
list the spokespersons where voting order is 9
CREATE TABLE table_184803_4 ( spokespersons VARCHAR, voting_order VARCHAR )
SELECT spokespersons FROM table_184803_4 WHERE voting_order = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 20579, 519, 834, 591, 41, 23909, 7, 584, 4280, 28027, 6, 10601, 834, 9397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 570, 8, 23909, 7, 213, 10601, 455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23909, 7, 21680, 953, 834, 2606, 20579, 519, 834, 591, 549, 17444, 427, 10601, 834, 9397, 3274, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the home team when the attendance was more than 20,283?
CREATE TABLE table_name_5 ( home_team VARCHAR, crowd INTEGER )
SELECT home_team FROM table_name_5 WHERE crowd > 20 OFFSET 283
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 234, 834, 11650, 584, 4280, 28027, 6, 4374, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 116, 8, 11364, 47, 72, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 4374, 2490, 460, 3, 15316, 20788, 204, 4591, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What years does milt palacio play?
CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR)
SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 1201, 7, 834, 1161, 834, 1191, 5271, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 405, 15533, 17, 7692, 4268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 203, 834, 1161, 834, 1191, 5271, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 1959, 3274, 96, 51, 173, 17, 7692, 4268, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me a player with the same number of soproni liga goals as szucs ?
CREATE TABLE table_204_978 ( id number, "position" number, "nation" number, "number" number, "name" text, "soproni liga" number, "uefa cup" number, "hungarian cup" number, "league cup" number, "total" number )
SELECT "name" FROM table_204_978 WHERE "name" <> 'istvan szucs' AND "soproni liga" = (SELECT "soproni liga" FROM table_204_978 WHERE "name" = 'istvan szucs')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 21441, 41, 3, 23, 26, 381, 6, 96, 4718, 121, 381, 6, 96, 29, 257, 121, 381, 6, 96, 5525, 1152, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 7, 32, 102, 18074,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 26363, 834, 21441, 549, 17444, 427, 96, 4350, 121, 3, 2, 3155, 3, 31, 343, 2132, 3, 7, 1000, 75, 7, 31, 3430, 96, 7, 32, 102, 18074, 3, 17140, 121, 3274, 41, 23143, 14196, 96, 7...
How many events total is the Top-5 2, and 4 is the cuts made, and less than 0 wins?
CREATE TABLE table_name_58 ( events VARCHAR, wins VARCHAR, top_5 VARCHAR, cuts_made VARCHAR )
SELECT COUNT(events) FROM table_name_58 WHERE top_5 = 2 AND cuts_made = 4 AND wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 984, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 420, 834, 755, 584, 4280, 28027, 6, 8620, 834, 4725, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15, 2169, 7, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 420, 834, 755, 3274, 204, 3430, 8620, 834, 4725, 3274, 314, 3430, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -1...
what was the first video game to be released that starts with the letter o ?
CREATE TABLE table_204_480 ( id number, "title" text, "alternate title(s)" text, "year" number, "manufacturer" text, "genre(s)" text, "max. players" number )
SELECT "title" FROM table_204_480 ORDER BY "year" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 20579, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 8818, 29, 342, 2233, 599, 7, 61, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 348, 76, 8717, 450, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 20579, 4674, 11300, 272, 476, 96, 1201, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is atacama's percentage of solar panels?
CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR)
SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 591, 2773, 2668, 834, 2688, 41, 7, 17401, 834, 28726, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 16339, 265, 9, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3693, 834, 28726, 21680, 953, 834, 11434, 591, 2773, 2668, 834, 2688, 549, 17444, 427, 1719, 3274, 96, 188, 17, 9, 6527, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose religion is catholic and item id is 50912?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CATHOLIC" AND lab.itemid = "50912"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Show the card type codes and the number of transactions with a bar chart, show by the X in descending.
CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) )
SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code ORDER BY card_type_code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 834, 6936, 26, 7, 41, 895, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 23, 26, 3, 21342, 17966, 6, 895, 834, 6137, 834, 4978, 584, 4280, 28027, 599, 1808, 201, 895, 834, 5525...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 895, 834, 6137, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 5421, 834, 18474, 4787, 7, 6157, 332, 536, 3, 15355, 3162, 16423, 834, 6936, 26, 7, 6157, 332, 357, 9191, 332, 5411, 6043, 834, 23, 26, 3274, 332, 4...
what is the number of patients whose diagnoses short title is hemorrhage complic proc?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Hemorrhage complic proc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What's the lowest pick for a defensive back at Drake?
CREATE TABLE table_51498 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text )
SELECT MIN("Pick") FROM table_51498 WHERE "Position" = 'defensive back' AND "School" = 'drake'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2534, 3916, 41, 96, 345, 3142, 121, 490, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 345, 3142, 8512, 21680, 953, 834, 755, 2534, 3916, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 221, 23039, 15, 223, 31, 3430, 96, 29364, 121, 3274, 3, 31, 3515, 1050, 31, 1, -100...
How many attended the game against the sharks with over 86 points?
CREATE TABLE table_name_99 (attendance INTEGER, points VARCHAR, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "sharks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 15116, 663, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5526, 8, 467, 581, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 979, 2490, 3, 3840, 3430, 15264, 3274, 96, 7, 3272, 157, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the frequency of WMAD?
CREATE TABLE table_54868 ( "Call Letters" text, "Market" text, "Frequency" text, "AOR Years" text, "Current Format" text )
SELECT "Frequency" FROM table_54868 WHERE "Call Letters" = 'wmad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3707, 3651, 41, 96, 254, 1748, 8706, 7, 121, 1499, 6, 96, 22572, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 188, 2990, 13825, 121, 1499, 6, 96, 254, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 60, 835, 11298, 121, 21680, 953, 834, 755, 3707, 3651, 549, 17444, 427, 96, 254, 1748, 8706, 7, 121, 3274, 3, 31, 210, 11374, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What game site has december 24, 2000 as a date?
CREATE TABLE table_name_58 ( game_site VARCHAR, date VARCHAR )
SELECT game_site FROM table_name_58 WHERE date = "december 24, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 467, 834, 3585, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 467, 353, 65, 20, 75, 18247, 14320, 2766, 38, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 834, 3585, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 14320, 2766, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the result for 1998
CREATE TABLE table_25030512_24 ( result VARCHAR, first_elected VARCHAR )
SELECT result FROM table_25030512_24 WHERE first_elected = "1998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 1458, 24163, 834, 2266, 41, 741, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 741, 21, 6260, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 11434, 1458, 24163, 834, 2266, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2294, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which 2010 has a 2009 of 0 / 4?
CREATE TABLE table_36100 ( "Tournament" text, "1998" text, "1999" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "Career SR" text, "Career Win-Loss" text )
SELECT "2010" FROM table_36100 WHERE "2009" = '0 / 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 2915, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 3916, 121, 1499, 6, 96, 2294, 3264, 121, 1499, 6, 96, 23658, 121, 1499, 6, 96, 24898, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14926, 121, 21680, 953, 834, 3420, 2915, 549, 17444, 427, 96, 16660, 121, 3274, 3, 31, 632, 3, 87, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE TOTAL NUMBER OF SEATS IN Hamburgische Bürgerschaft WITH AN ABBR OF bündnis 90 / die grünen (gal)?
CREATE TABLE table_name_18 (seats_in_hamburgische_bürgerschaft VARCHAR, abbr VARCHAR)
SELECT COUNT(seats_in_hamburgische_bürgerschaft) FROM table_name_18 WHERE abbr = "bündnis 90 / die grünen (gal)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 7, 1544, 7, 834, 77, 834, 1483, 4824, 2014, 834, 23391, 3445, 584, 4280, 28027, 6, 3, 12982, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 1544, 7, 834, 77, 834, 1483, 4824, 2014, 834, 23391, 3445, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 3, 12982, 52, 3274, 96, 15483, 727, 29, 159, 2777, 3, 87, 67, 3, 11059, 35, ...
List all information about customer master index, and sort them by details in descending order.
CREATE TABLE electoral_register ( electoral_register_id number, cmi_cross_ref_id number ) CREATE TABLE benefits_overpayments ( council_tax_id number, cmi_cross_ref_id number ) CREATE TABLE cmi_cross_references ( cmi_cross_ref_id number, master_customer_id number, source_system_code text ) CREATE TABLE parking_fines ( council_tax_id number, cmi_cross_ref_id number ) CREATE TABLE council_tax ( council_tax_id number, cmi_cross_ref_id number ) CREATE TABLE rent_arrears ( council_tax_id number, cmi_cross_ref_id number ) CREATE TABLE customer_master_index ( master_customer_id number, cmi_details text ) CREATE TABLE business_rates ( business_rates_id number, cmi_cross_ref_id number )
SELECT * FROM customer_master_index ORDER BY cmi_details DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16289, 834, 22149, 41, 16289, 834, 22149, 834, 23, 26, 381, 6, 2446, 23, 834, 11465, 834, 60, 89, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1393, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 884, 834, 7429, 834, 18288, 4674, 11300, 272, 476, 2446, 23, 834, 221, 5756, 7, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the position in 2006?
CREATE TABLE table_name_66 ( pos VARCHAR, year VARCHAR )
SELECT pos FROM table_name_66 WHERE year = 2006
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 3, 2748, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 16, 3581, 58, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2748, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 215, 3274, 3581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score for 1911?
CREATE TABLE table_name_10 ( score VARCHAR, year VARCHAR )
SELECT score FROM table_name_10 WHERE year = 1911
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 2604, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 28623, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 215, 3274, 28623, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For each team, how many technicians are there?
CREATE TABLE repair_assignment ( technician_id number, repair_id number, machine_id number ) CREATE TABLE technician ( technician_id number, name text, team text, starting_year number, age number ) CREATE TABLE repair ( repair_id number, name text, launch_date text, notes text ) CREATE TABLE machine ( machine_id number, making_year number, class text, team text, machine_series text, value_points number, quality_rank number )
SELECT team, COUNT(*) FROM technician GROUP BY team
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2096, 834, 9, 7, 6732, 297, 41, 17730, 834, 23, 26, 381, 6, 2096, 834, 23, 26, 381, 6, 1437, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17730, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 372, 6, 2847, 17161, 599, 1935, 61, 21680, 17730, 350, 4630, 6880, 272, 476, 372, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the year when Spirit Tom's Racing had more than 3 points?
CREATE TABLE table_15071 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT SUM("Year") FROM table_15071 WHERE "Entrant" = 'spirit tom''s racing' AND "Points" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12278, 4450, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 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...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 12278, 4450, 549, 17444, 427, 96, 16924, 3569, 121, 3274, 3, 31, 7, 2388, 155, 12, 51, 31, 31, 7, 8191, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 519, 31, ...
what's the chroma format with scalable modes being snr- or spatial-scalable and intra dc precbeingion being 8, 9, 10
CREATE TABLE table_18995 ( "Abbr." text, "Name" text, "Picture Coding Types" text, "Chroma Format" text, "Aspect Ratios" text, "Scalable modes" text, "Intra DC Precision" text )
SELECT "Chroma Format" FROM table_18995 WHERE "Scalable modes" = 'SNR- or spatial-scalable' AND "Intra DC Precision" = '8, 9, 10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 3301, 41, 96, 8952, 115, 52, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 345, 447, 2693, 10285, 53, 6632, 7, 121, 1499, 6, 96, 3541, 3522, 9, 12439, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3541, 3522, 9, 12439, 121, 21680, 953, 834, 25312, 3301, 549, 17444, 427, 96, 134, 1489, 179, 12632, 121, 3274, 3, 31, 134, 9142, 18, 42, 15208, 18, 24079, 31, 3430, 96, 1570, 1313, 5795, 28464, 121, 3274, 3, ...
What stadium has kutina as the city?
CREATE TABLE table_name_13 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_13 WHERE city = "kutina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 2427, 12925, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 14939, 65, 3, 2729, 17, 77, 9, 38, 8, 690, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14939, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 690, 3274, 96, 2729, 17, 77, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average age for each city and what are those cities. Show bar chart.
CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) )
SELECT city_code, AVG(Age) FROM Student GROUP BY city_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 9, 904, 485, 41, 103, 52, 6983, 3, 21342, 17966, 6, 183, 35, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6200, 51, 41, 103, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 71, 17217, 599, 188, 397, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose primary disease is hyperglycemia;hyponatremia and admission year is less than 2182?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPERGLYCEMIA;HYPONATREMIA" AND demographic.admityear < "2182"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 15761, 8742, 517, 5121, 254, 25284, 188, 117, 15761, 6618, 25271, 26051,...
What event did he have a 2-0 record?
CREATE TABLE table_6120 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Event" FROM table_6120 WHERE "Record" = '2-0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 1755, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 4241, 1755, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 19423, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Create a pie chart showing how many pilot across pilot.
CREATE TABLE flight ( id int, Vehicle_Flight_number text, Date text, Pilot text, Velocity real, Altitude real, airport_id int, company_id int ) CREATE TABLE airport ( id int, City text, Country text, IATA text, ICAO text, name text ) CREATE TABLE operate_company ( id int, name text, Type text, Principal_activities text, Incorporated_in text, Group_Equity_Shareholding real )
SELECT Pilot, COUNT(Pilot) FROM flight GROUP BY Pilot
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 23, 26, 16, 17, 6, 15095, 834, 371, 2242, 834, 5525, 1152, 1499, 6, 7678, 1499, 6, 17777, 1499, 6, 11670, 32, 6726, 490, 6, 901, 6592, 490, 6, 3761, 834, 23, 26, 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...
[ 3, 23143, 14196, 17777, 6, 2847, 17161, 599, 345, 23, 3171, 61, 21680, 3777, 350, 4630, 6880, 272, 476, 17777, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was nese malifa born?
CREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR)
SELECT date_of_birth__age_ FROM table_name_19 WHERE player = "nese malifa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 5522, 834, 858, 834, 20663, 834, 834, 545, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 3, 1496, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 20663, 834, 834, 545, 834, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1959, 3274, 96, 1496, 15, 1460, 99, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the number for Schwante where B renklau is 1.270?
CREATE TABLE table_17119 ( "Year" real, "B\u00f6tzow" text, "Schwante" text, "Vehlefanz" text, "Neu-Vehlefanz" real, "Marwitz" text, "B\u00e4renklau" text, "Eichst\u00e4dt" real )
SELECT "Schwante" FROM table_17119 WHERE "B\u00e4renklau" = '1.270'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 19993, 41, 96, 476, 2741, 121, 490, 6, 96, 279, 2, 76, 1206, 89, 948, 17, 172, 2381, 121, 1499, 6, 96, 15404, 1841, 121, 1499, 6, 96, 553, 15, 107, 109, 89, 4557,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15404, 1841, 121, 21680, 953, 834, 2517, 19993, 549, 17444, 427, 96, 279, 2, 76, 1206, 15, 591, 1536, 8142, 76, 121, 3274, 3, 31, 10917, 2518, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52?
CREATE TABLE table_7483 ( "Year" real, "Events played" real, "Cuts made" real, "Wins" real, "2nds" real, "Top 10s" real, "Best finish" text, "Earnings ($)" real, "Rank" text, "Scoring average" real, "Scoring rank" text )
SELECT COUNT("Wins") FROM table_7483 WHERE "Rank" = '98' AND "Scoring average" > '73.52'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 4591, 41, 96, 476, 2741, 121, 490, 6, 96, 427, 2169, 7, 1944, 121, 490, 6, 96, 15784, 17, 7, 263, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 357, 727, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 18455, 7, 8512, 21680, 953, 834, 4581, 4591, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 3916, 31, 3430, 96, 134, 5715, 53, 1348, 121, 2490, 3, 31, 4552, 5, 5373, 31, 1, -100, -100, -100, ...
How much money does the player with a score of 76-70-65-68=279 have?
CREATE TABLE table_name_24 (money___$__ VARCHAR, score VARCHAR)
SELECT money___$__ FROM table_name_24 WHERE score = 76 - 70 - 65 - 68 = 279
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 28442, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 540, 405, 8, 1959, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 834, 834, 3229, 834, 834, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 2604, 3274, 3, 3959, 3, 18, 2861, 3, 18, 7123, 3, 18, 3, 3651, 3274, 204, 4440, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many television station listing have a radio station as lao national radio?
CREATE TABLE table_2879165_1 ( television_station VARCHAR, radio_station VARCHAR )
SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4440, 22823, 834, 536, 41, 4390, 834, 6682, 584, 4280, 28027, 6, 2252, 834, 6682, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4390, 2478, 6437, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1931, 6610, 834, 6682, 61, 21680, 953, 834, 2577, 4440, 22823, 834, 536, 549, 17444, 427, 2252, 834, 6682, 3274, 96, 3612, 32, 868, 5061, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many opponents did the Sun Devils play when they scored 41 points?
CREATE TABLE table_21007615_1 (opponent VARCHAR, sun_devils_points VARCHAR)
SELECT COUNT(opponent) FROM table_21007615_1 WHERE sun_devils_points = 41
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2915, 3959, 1808, 834, 536, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1997, 834, 9776, 1558, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 32, 102, 9977, 61, 21680, 953, 834, 357, 2915, 3959, 1808, 834, 536, 549, 17444, 427, 1997, 834, 9776, 1558, 834, 2700, 7, 3274, 8798, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose diagnoses icd9 code is 6824 and lab test category is blood gas?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "6824" AND lab."CATEGORY" = "Blood Gas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What home team has a rank greater than 6, and 94,392 as the capacity?
CREATE TABLE table_name_13 ( home_team VARCHAR, rank VARCHAR, capacity VARCHAR )
SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 234, 834, 11650, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 2614, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 234, 372, 65, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 11003, 2490, 431, 3430, 2614, 3274, 96, 4240, 6, 3288, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the lowest win% with an away score of 3-2 in 2011 season?
CREATE TABLE table_57568 ( "Coach" text, "Season" text, "Record" text, "Home" text, "Away" text, "Win %" real, "Average (Total) Home Attendance" text )
SELECT MIN("Win %") FROM table_57568 WHERE "Away" = '3-2' AND "Season" = '2011'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3072, 3651, 41, 96, 3881, 1836, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 18455, 3, 1454, 8512, 21680, 953, 834, 755, 3072, 3651, 549, 17444, 427, 96, 188, 1343, 121, 3274, 3, 31, 21160, 31, 3430, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 13907, 31, 1, -100, -100, -10...
state high assists on february 15
CREATE TABLE table_20010140_10 ( high_assists VARCHAR, date VARCHAR )
SELECT high_assists FROM table_20010140_10 WHERE date = "February 15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 1714, 22012, 834, 1714, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 538, 306, 13041, 30, 29976, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 3632, 1714, 22012, 834, 1714, 549, 17444, 427, 833, 3274, 96, 31122, 627, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the Gold which has a Nation of australia, and a Bronze smaller than 1?
CREATE TABLE table_name_64 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_64 WHERE nation = "australia" AND bronze < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 14910, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2540, 84, 65, 3, 9, 11046, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 2982, 3274, 96, 2064, 8792, 23, 9, 121, 3430, 13467, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return a bar chart about the distribution of All_Games and ACC_Percent , display from low to high by the X-axis.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Games, ACC_Percent FROM basketball_match ORDER BY All_Games
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 23055, 7, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of wins ?
CREATE TABLE table_203_164 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT COUNT(*) FROM table_203_164 WHERE "result" = 'won'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 26987, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 26987, 549, 17444, 427, 96, 60, 7, 83, 17, 121, 3274, 3, 31, 210, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the number of asian patients who have had a specific gravity lab test.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "ASIAN" AND lab.label = "Specific Gravity"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what is the difference of winning score between the san antonio texas open and the dallas centennial open ?
CREATE TABLE table_204_621 ( id number, "no." number, "date" text, "tournament" text, "winning score" text, "margin\nof victory" text, "runner(s)-up" text )
SELECT ABS((SELECT "winning score" FROM table_204_621 WHERE "tournament" = 'san antonio texas open') - (SELECT "winning score" FROM table_204_621 WHERE "tournament" = 'dallas centennial open'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4056, 536, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 1211, 20205, 17, 121, 1499, 6, 96, 8163, 2604, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20798, 599, 599, 23143, 14196, 96, 8163, 2604, 121, 21680, 953, 834, 26363, 834, 4056, 536, 549, 17444, 427, 96, 17, 1211, 20205, 17, 121, 3274, 3, 31, 7, 152, 3, 9, 6992, 23, 32, 3, 10354, 9, 7, 539, 31, 61, ...
What percent did RETT get in the state where LINKE got 0.1%, and FRITZ got 1.3%?
CREATE TABLE table_60667 ( "State" text, "GR\u00dcNE" text, "FRITZ" text, "RETT\u00d6" text, "LINKE" text, "STARK" text )
SELECT "RETT\u00d6" FROM table_60667 WHERE "LINKE" = '0.1%' AND "FRITZ" = '1.3%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3539, 940, 41, 96, 134, 4748, 121, 1499, 6, 96, 8727, 2, 76, 1206, 26, 75, 4171, 121, 1499, 6, 96, 371, 25066, 956, 121, 1499, 6, 96, 27514, 382, 2, 76, 1206, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 27514, 382, 2, 76, 1206, 26, 948, 121, 21680, 953, 834, 3328, 3539, 940, 549, 17444, 427, 96, 27472, 427, 121, 3274, 3, 31, 16029, 1454, 31, 3430, 96, 371, 25066, 956, 121, 3274, 3, 31, 13606, 1454, 31, 1, -...
Which score is the Seattle team?
CREATE TABLE table_name_38 ( score VARCHAR, team VARCHAR )
SELECT score FROM table_name_38 WHERE team = "seattle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 2604, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2604, 19, 8, 8854, 372, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 372, 3274, 96, 7, 15, 9, 8692, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is year Built of the Moulin de Momalle Mill?
CREATE TABLE table_79591 ( "Location" text, "Name of mill" text, "Type" text, "Built" real, "Notes" text )
SELECT MAX("Built") FROM table_79591 WHERE "Name of mill" = 'moulin de momalle'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 3390, 536, 41, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 23954, 13, 3293, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 7793, 173, 17, 121, 490, 6, 96, 10358, 15, 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...
[ 3, 23143, 14196, 4800, 4, 599, 121, 7793, 173, 17, 8512, 21680, 953, 834, 4440, 3390, 536, 549, 17444, 427, 96, 23954, 13, 3293, 121, 3274, 3, 31, 51, 7115, 77, 20, 3912, 13701, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Who tied with 8 losses and 50% wins?
CREATE TABLE table_40864 ( "Played" text, "Wins" text, "Losses" text, "Tied" text, "Win %" text )
SELECT "Tied" FROM table_40864 WHERE "Losses" = '8' AND "Win %" = '50%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3840, 591, 41, 96, 15800, 15, 26, 121, 1499, 6, 96, 18455, 7, 121, 1499, 6, 96, 434, 13526, 7, 121, 1499, 6, 96, 382, 5973, 121, 1499, 6, 96, 18455, 3, 1454, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 382, 5973, 121, 21680, 953, 834, 2445, 3840, 591, 549, 17444, 427, 96, 434, 13526, 7, 121, 3274, 3, 31, 927, 31, 3430, 96, 18455, 3, 1454, 121, 3274, 3, 31, 1752, 1454, 31, 1, -100, -100, -100, -100, -100, -...
Who is the player in round 6?
CREATE TABLE table_59309 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (league)" text )
SELECT "Player" FROM table_59309 WHERE "Round" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 1458, 1298, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3390, 1458, 1298, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many Games have Years at club of 1971 1974, and a Debut year larger than 1971?
CREATE TABLE table_name_94 ( games INTEGER, years_at_club VARCHAR, debut_year VARCHAR )
SELECT SUM(games) FROM table_name_94 WHERE years_at_club = "1971–1974" AND debut_year > 1971
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 1031, 3, 21342, 17966, 6, 203, 834, 144, 834, 13442, 584, 4280, 28027, 6, 5695, 834, 1201, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 203, 834, 144, 834, 13442, 3274, 96, 2294, 4450, 104, 27181, 20364, 3430, 5695, 834, 1201, 2490, 17961, 1, -100, -100, -100, -100, -100, ...
Where was the game played when they kickoff was 12:00 p.m., and a Record of 8-5?
CREATE TABLE table_32819 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Kickoff" text, "Game site" text, "Record" text )
SELECT "Game site" FROM table_32819 WHERE "Kickoff" = '12:00 p.m.' AND "Record" = '8-5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28070, 2294, 41, 96, 518, 10266, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 439, 3142, 1647, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23055, 353, 121, 21680, 953, 834, 28070, 2294, 549, 17444, 427, 96, 439, 3142, 1647, 121, 3274, 3, 31, 536, 24112, 3, 102, 5, 51, 5, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 927, 4525, 31, 1, -100, -100, ...
B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played?
CREATE TABLE table_70619 ( "Position" real, "Club" text, "Played" real, "Drawn" real, "Lost" real, "Pts For" real, "Pts Agst" real, "B.P." real, "Points" real )
SELECT COUNT("Played") FROM table_70619 WHERE "B.P." = '0' AND "Pts Agst" < '247'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 948, 2294, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 15800, 15, 26, 8512, 21680, 953, 834, 2518, 948, 2294, 549, 17444, 427, 96, 279, 5, 345, 535, 3274, 3, 31, 632, 31, 3430, 96, 345, 17, 7, 4821, 7, 17, 121, 3, 2, 3, 31, 357, 4177, 31, ...
What is the average number of wins for the Terang Club, when there are less than 0 draws?
CREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR)
SELECT AVG(wins) FROM table_name_43 WHERE club = "terang" AND draws < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 3757, 7, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 9204, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1886, 3274, 96, 449, 1468, 121, 3430, 14924, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"?
CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR)
SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 23768, 3, 21342, 17966, 6, 676, 834, 4895, 15, 26, 584, 4280, 28027, 6, 1031, 834, 4895, 15, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 23768, 61, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 676, 834, 4895, 15, 26, 3274, 3, 20522, 3430, 1031, 834, 4895, 15, 26, 2490, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where did fitzroy play as the home team?
CREATE TABLE table_78307 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_78307 WHERE "Home team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 1458, 940, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 3940, 1458, 940, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is minimum age of patients whose marital status is married and admission year is greater than or equal to 2180?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admityear >= "2180"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 20466, 17, 1201, 2490, 2423, 96, 2658, 2079, 121, 1, -10...
what are the film names with the co-singer vinod rathod?
CREATE TABLE table_351 ( "Year" real, "Song name" text, "Film name" text, "Co-singer" text, "Music director" text, "Lyricist" text, "Language" text )
SELECT "Film name" FROM table_351 WHERE "Co-singer" = 'Vinod Rathod'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 134, 2444, 564, 121, 1499, 6, 96, 371, 173, 51, 564, 121, 1499, 6, 96, 3881, 18, 7, 9963, 121, 1499, 6, 96, 29035, 2090, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 173, 51, 564, 121, 21680, 953, 834, 2469, 536, 549, 17444, 427, 96, 3881, 18, 7, 9963, 121, 3274, 3, 31, 553, 77, 32, 26, 2922, 189, 32, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which call sign has a frequency greater than 98.5MHz and ERP W under 155?
CREATE TABLE table_70199 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "Call sign" FROM table_70199 WHERE "Frequency MHz" > '98.5' AND "ERP W" < '155'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 19479, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1748, 1320, 121, 21680, 953, 834, 2518, 19479, 549, 17444, 427, 96, 371, 60, 835, 11298, 3, 20210, 121, 2490, 3, 31, 1298, 19253, 31, 3430, 96, 3316, 345, 549, 121, 3, 2, 3, 31, 20896, 31, 1, -100, -100...
What's the Peaches: that was released in USA with 2 hot as a Title?
CREATE TABLE table_66588 ( "Title" text, "Label" text, "Year of Release" real, "Country of Release" text, "Peaches:" text )
SELECT "Peaches:" FROM table_66588 WHERE "Country of Release" = 'usa' AND "Title" = '2 hot'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 755, 4060, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 476, 2741, 13, 13048, 121, 490, 6, 96, 10628, 651, 13, 13048, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 15, 14693, 10, 121, 21680, 953, 834, 3539, 755, 4060, 549, 17444, 427, 96, 10628, 651, 13, 13048, 121, 3274, 3, 31, 302, 9, 31, 3430, 96, 382, 155, 109, 121, 3274, 3, 31, 357, 1312, 31, 1, -100, -100, ...
Which network broadcast the game when the Western Bulldogs played melbourne?
CREATE TABLE table_27218 ( "Round" text, "Opposition" text, "Time" text, "Date" text, "Home/Away" text, "Venue" text, "Score" text, "Result/Margin" text, "Broadcaster" text, "TV" text, "Ladder Position" text )
SELECT "Broadcaster" FROM table_27218 WHERE "Opposition" = 'Melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 357, 2606, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 4718, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 87, 188, 1343, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 8635, 25327, 121, 21680, 953, 834, 2555, 357, 2606, 549, 17444, 427, 96, 667, 102, 4718, 121, 3274, 3, 31, 329, 15, 40, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the report for 10 april
CREATE TABLE table_74538 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text )
SELECT "Report" FROM table_74538 WHERE "Date" = '10 april'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2128, 3747, 41, 96, 23954, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 518, 10503, 6774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 1493, 121, 21680, 953, 834, 940, 2128, 3747, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1714, 3, 9, 2246, 40, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Where did they play and how many attended in the game against minnesota?
CREATE TABLE table_13619105_3 ( location_attendance VARCHAR, team VARCHAR )
SELECT location_attendance FROM table_13619105_3 WHERE team = "Minnesota"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 2294, 12869, 834, 519, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 410, 79, 577, 11, 149, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 23459, 2294, 12869, 834, 519, 549, 17444, 427, 372, 3274, 96, 12858, 1496, 32, 17, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many touchdowns are there that has field goals less than 0 and 0 extra points?
CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 17681, 3035, 7, 3, 21342, 17966, 6, 996, 834, 2700, 7, 584, 4280, 28027, 6, 1057, 834, 839, 5405, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 17681, 3035, 7, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 996, 834, 2700, 7, 3274, 3, 632, 3430, 1057, 834, 839, 5405, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
who won the last tourament ?
CREATE TABLE table_204_638 ( id number, "year" number, "tournament" text, "surface" text, "round" text, "winner" text, "score" text )
SELECT "winner" FROM table_204_638 ORDER BY "year" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 3747, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 17, 1211, 20205, 17, 121, 1499, 6, 96, 26899, 121, 1499, 6, 96, 7775, 121, 1499, 6, 96, 3757, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3757, 687, 121, 21680, 953, 834, 26363, 834, 948, 3747, 4674, 11300, 272, 476, 96, 1201, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps?
CREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR)
SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 4055, 49, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 3724, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2564, 52, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 3724, 3274, 96, 31782, 3, 75, 115, 52, 16824, 52, 52, 121, 3430, 14941, 7, 3, 2, 1630, 3430, 97, 3274, 96, 1220, 357, 14941, 7, 121, 1, -100, -100, -1...
how many seeds above villanova is marquette ?
CREATE TABLE table_204_898 ( id number, "seed" text, "school" text, "conf (overall)" text, "tiebreaker" text )
SELECT (SELECT "seed" FROM table_204_898 WHERE "school" = 'villanova') - (SELECT "seed" FROM table_204_898 WHERE "school" = 'marquette')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3914, 927, 41, 3, 23, 26, 381, 6, 96, 7, 6958, 121, 1499, 6, 96, 6646, 121, 1499, 6, 96, 9707, 41, 1890, 1748, 61, 121, 1499, 6, 96, 17, 23, 15, 23149, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 7, 6958, 121, 21680, 953, 834, 26363, 834, 3914, 927, 549, 17444, 427, 96, 6646, 121, 3274, 3, 31, 24887, 14979, 31, 61, 3, 18, 41, 23143, 14196, 96, 7, 6958, 121, 21680, 953, 834, 26363, 834...
How many weeks has 54,187 as the attendance?
CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 8041, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1274, 65, 10630, 6, 25828, 38, 8, 11364, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 11364, 3274, 10630, 3, 15316, 20788, 3, 25828, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who were the opponents during the final when christina wheeler was partner?
CREATE TABLE table_name_87 ( opponents_in_the_final VARCHAR, partner VARCHAR )
SELECT opponents_in_the_final FROM table_name_87 WHERE partner = "christina wheeler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 16383, 383, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16383, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 2397, 3274, 96, 15294, 77, 9, 5094, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of games from produced from 1963 to 1973 ?
CREATE TABLE table_204_121 ( id number, "year" text, "game" text, "developer" text, "setting" text, "platform" text, "notes" text )
SELECT COUNT("game") FROM table_204_121 WHERE "year" >= 1963 AND "year" <= 1973
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 22011, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 7261, 121, 1499, 6, 96, 29916, 49, 121, 1499, 6, 96, 19966, 121, 1499, 6, 96, 29100, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 7261, 8512, 21680, 953, 834, 26363, 834, 22011, 549, 17444, 427, 96, 1201, 121, 2490, 2423, 20613, 3430, 96, 1201, 121, 3, 2, 2423, 17107, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
patient 027-61708 had received a diagnosis during their current hospital encounter?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text )
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-61708' AND patient.hospitaldischargetime IS NULL))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 8209, 549, 17444, 427, 8209, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
Find Sex and the amount of Sex , and group by attribute Sex, and visualize them by a bar chart, and I want to list total number from low to high order please.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY COUNT(Sex)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 2847, 17161, 599, 134, 994, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 2847, 17161, 599, 134, 994, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose discharge location is disch-tran to psych hosp and procedure short title is spinal tap?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND procedures.short_title = "Spinal tap"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Show the number of delegates in each committee with a bar chart.
CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text )
SELECT Committee, COUNT(Committee) FROM election GROUP BY Committee
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 19488, 834, 4309, 16, 17, 6, 3, 10628, 725, 834, 1649, 12640, 15, 26, 1499, 6, 3570, 16, 17, 6, 374, 8791, 1499, 6, 3450, 16, 17, 6, 1485, 834, 21543, 15, 26, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3201, 6, 2847, 17161, 599, 10205, 155, 17, 15, 15, 61, 21680, 4356, 350, 4630, 6880, 272, 476, 3201, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
get me the name of the drug and the drug code that patient with patient id 11221 is taking.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT prescriptions.drug, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.subject_id = "11221"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7744, 7, 5, 26, 13534, 6, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 2596, 357, 2658, 121, 1, -100, -100, -100, -100, -...
Which network aired the program Schlag den Raab?
CREATE TABLE table_name_70 ( network VARCHAR, title VARCHAR )
SELECT network FROM table_name_70 WHERE title = "schlag den raab"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1229, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1229, 3, 2378, 26, 8, 478, 20521, 177, 2922, 9, 115, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1229, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 2233, 3274, 96, 9444, 177, 3, 52, 9, 9, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan?
CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR)
SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 7775, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1751, 13, 8, 1588, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 15264, 3274, 96, 1536, 15, 3, 52, 27561, 121, 3430, 1128, 3274, 96, 8870, 265, 9, 6, 2662, 2837, 121, 1, -100, -100, -100, -100, -100, -10...
What is the maximum game that was played against the New York Knickerbockers?
CREATE TABLE table_name_40 (game INTEGER, opponent VARCHAR)
SELECT MAX(game) FROM table_name_40 WHERE opponent = "new york knickerbockers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 7261, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 467, 24, 47, 1944, 581, 8, 368, 1060, 16141, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 15264, 3274, 96, 5534, 25453, 3, 157, 11191, 49, 26943, 11758, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the operating voltage of part number amql64dam22gg?
CREATE TABLE table_27277284_27 (voltage VARCHAR, order_part_number VARCHAR)
SELECT voltage FROM table_27277284_27 WHERE order_part_number = "AMQL64DAM22GG"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2555, 5865, 4608, 834, 2555, 41, 10897, 545, 584, 4280, 28027, 6, 455, 834, 2274, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2699...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10594, 21680, 953, 834, 2555, 2555, 5865, 4608, 834, 2555, 549, 17444, 427, 455, 834, 2274, 834, 5525, 1152, 3274, 96, 4815, 2247, 434, 4389, 4296, 329, 2884, 21320, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
When did the earliest tournament happened?
CREATE TABLE table_29656 ( "Outcome" text, "Year" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT MIN("Year") FROM table_29656
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4314, 4834, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 476, 2741, 8512, 21680, 953, 834, 357, 4314, 4834, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Record has an Event of inoki bom-ba-ye 2002?
CREATE TABLE table_65683 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_65683 WHERE "Event" = 'inoki bom-ba-ye 2002'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 3651, 519, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 4122, 3651, 519, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 77, 1825, 23, 3005, 51, 18, 115, 9, 18, 63, 15, 4407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many tournaments ended with a score of 204 (-12)?
CREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR)
SELECT COUNT(tournament) FROM table_11622562_1 WHERE score = "204 (-12)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 20489, 4056, 834, 536, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5892, 7, 3492, 28, 3, 9, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17, 1211, 20205, 17, 61, 21680, 953, 834, 20159, 20489, 4056, 834, 536, 549, 17444, 427, 2604, 3274, 96, 26363, 41, 5947, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, ...
I want the sum of Laps for wolfgang von trips, and a grid larger than 5
CREATE TABLE table_10265 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT SUM("Laps") FROM table_10265 WHERE "Driver" = 'wolfgang von trips' AND "Grid" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14388, 4122, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 14388, 4122, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 19747, 3810, 193, 6846, 31, 3430, 96, 13313, 26, 121, 2490, 3, 31, 755, 31, 1, -100, -100, ...
What's the production code of the episode originally aired on February 21, 1985?
CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR)
SELECT MIN(production_code) FROM table_2818164_2 WHERE original_air_date = "February 21, 1985"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2606, 26987, 834, 357, 41, 20762, 834, 4978, 3, 21342, 17966, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 999, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 20762, 834, 4978, 61, 21680, 953, 834, 2577, 2606, 26987, 834, 357, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 31122, 12026, 13200, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose ethnicity is asian and year of death is less than or equal to 2158?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.dod_year <= "2158.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 2...
With 1.97 million HK viewers and a finale more than 33, what was the total number of peaks?
CREATE TABLE table_name_16 (peak VARCHAR, hk_viewers VARCHAR, finale VARCHAR)
SELECT COUNT(peak) FROM table_name_16 WHERE hk_viewers = "1.97 million" AND finale > 33
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 14661, 584, 4280, 28027, 6, 3, 107, 157, 834, 4576, 277, 584, 4280, 28027, 6, 13604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 438, 1300, 4327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 14661, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 3, 107, 157, 834, 4576, 277, 3274, 96, 5411, 4327, 770, 121, 3430, 13604, 2490, 5400, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
On July 15, 1984 what surface was used?
CREATE TABLE table_name_15 ( surface VARCHAR, date VARCHAR )
SELECT surface FROM table_name_15 WHERE date = "july 15, 1984"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 1718, 10725, 13480, 125, 1774, 47, 261, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 833, 3274, 96, 2047, 120, 10725, 13480, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the candidates for result of lost renomination democratic loss
CREATE TABLE table_18512 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_18512 WHERE "Result" = 'Lost renomination Democratic loss'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 2122, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 6203, 121, 21680, 953, 834, 21594, 2122, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 434, 3481, 3, 1536, 32, 14484, 10021, 1453, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What location was the event ufc: fight for the troops?
CREATE TABLE table_name_91 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_91 WHERE event = "ufc: fight for the troops"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 14836, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1128, 47, 8, 605, 3, 76, 89, 75, 10, 2870, 21, 8, 12673, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 605, 3274, 96, 76, 89, 75, 10, 2870, 21, 8, 12673, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the exit date of the player transferred to Reggina for free?
CREATE TABLE table_name_19 (exit_date VARCHAR, transfer_fee VARCHAR, to_club VARCHAR)
SELECT exit_date FROM table_name_19 WHERE transfer_fee = "free" AND to_club = "reggina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 994, 155, 834, 5522, 584, 4280, 28027, 6, 2025, 834, 89, 15, 15, 584, 4280, 28027, 6, 12, 834, 13442, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7189, 834, 5522, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2025, 834, 89, 15, 15, 3274, 96, 2113, 121, 3430, 12, 834, 13442, 3274, 96, 60, 122, 19604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What dance had a score total of 31?
CREATE TABLE table_30230 ( "Week #" real, "Dance/song" text, "Horwood" text, "Goodman" text, "Dixon" text, "Tonioli" text, "Total" text, "Result" text )
SELECT "Dance/song" FROM table_30230 WHERE "Total" = '31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 13427, 41, 96, 518, 10266, 1713, 121, 490, 6, 96, 308, 663, 87, 7, 2444, 121, 1499, 6, 96, 566, 127, 2037, 121, 1499, 6, 96, 20639, 348, 121, 1499, 6, 96, 308, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 663, 87, 7, 2444, 121, 21680, 953, 834, 1458, 13427, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 3341, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose ethnicity is white - russian and drug route is both eyes?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND prescriptions.route = "BOTH EYES"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is the number of patients whose diagnoses icd9 code is 0417 and lab test abnormal status is abnormal?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "0417" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the date for espn
CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR)
SELECT date FROM table_26842217_18 WHERE broadcast = "ESPN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4608, 2884, 2517, 834, 2606, 41, 5522, 584, 4280, 28027, 6, 6878, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 16159, 29, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2688, 4608, 2884, 2517, 834, 2606, 549, 17444, 427, 6878, 3274, 96, 26130, 567, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date founded/founder when the emblem was Hercules?
CREATE TABLE table_242785_3 (date_founded__founder VARCHAR, emblem VARCHAR)
SELECT date_founded__founder FROM table_242785_3 WHERE emblem = "Hercules"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2555, 4433, 834, 519, 41, 5522, 834, 23329, 834, 834, 14435, 584, 4280, 28027, 6, 26919, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 5710, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 23329, 834, 834, 14435, 21680, 953, 834, 2266, 2555, 4433, 834, 519, 549, 17444, 427, 26919, 3274, 96, 12636, 1497, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give me the number of private health insurance patients who are younger than 36 years of age.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.age < "36"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 7855, 208, 342, 121, 3430, 14798, 5, 545, 3, 2, 96, 3420, 121, 1, -100, -100, ...
how many patients follow the protestant quaker religion and were diagnosed with pressure ulcer, stage i?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "PROTESTANT QUAKER" AND diagnoses.short_title = "Pressure ulcer, stage I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...