NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
known allergy to vitamin c, hydrocortisone, or thiamine
CREATE TABLE table_train_33 ( "id" int, "active_infection" bool, "allergy_to_thiamine" bool, "receiving_vasopressor" bool, "liver_disease" bool, "allergy_to_vitamin_c" bool, "allergy_to_hydrocortisone" bool, "hypertension" bool, "age" float, "serum_aminotransferase_level_alt_ast" int, "NOUSE" float )
SELECT * FROM table_train_33 WHERE allergy_to_vitamin_c = 1 OR allergy_to_hydrocortisone = 1 OR allergy_to_thiamine = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 4201, 41, 96, 23, 26, 121, 16, 17, 6, 96, 6645, 834, 77, 17856, 121, 3, 12840, 40, 6, 96, 11211, 122, 63, 834, 235, 834, 7436, 8721, 121, 3, 12840, 40, 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, 1429, 21680, 953, 834, 9719, 834, 4201, 549, 17444, 427, 23886, 834, 235, 834, 12411, 1109, 834, 75, 3274, 209, 4674, 23886, 834, 235, 834, 10656, 32, 5715, 17, 159, 782, 3274, 209, 4674, 23886, 834, 235, 834, 7436, ...
Name the result for week 7
CREATE TABLE table_name_14 ( result VARCHAR, week VARCHAR )
SELECT result FROM table_name_14 WHERE week = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 741, 21, 471, 489, 1, 0, 0, 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, 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, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 471, 3274, 489, 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, ...
2nd career/salary of substitute teacher ($20,000) involves what 6th career/salary?
CREATE TABLE table_38691 ( "Career Card" text, "Starting career/salary" text, "2nd career/salary" text, "3rd career/salary" text, "4th career/salary" text, "5th career/salary" text, "6th career/salary" text )
SELECT "6th career/salary" FROM table_38691 WHERE "2nd career/salary" = 'substitute teacher ($20,000)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 3951, 536, 41, 96, 6936, 15, 49, 4955, 121, 1499, 6, 96, 7681, 1222, 1415, 87, 7, 138, 1208, 121, 1499, 6, 96, 357, 727, 1415, 87, 7, 138, 1208, 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, 948, 189, 1415, 87, 7, 138, 1208, 121, 21680, 953, 834, 3747, 3951, 536, 549, 17444, 427, 96, 357, 727, 1415, 87, 7, 138, 1208, 121, 3274, 3, 31, 7304, 2248, 17, 2810, 3145, 8785, 13922, 61, 31, 1, -100, -10...
give me the number of patients whose ethnicity is asian and year of death is less than or equal to 2148?
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 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 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.ethnicity = "ASIAN" AND demographic.dod_year <= "2148.0"
[ 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, 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...
Name the frequency mhz for ERP W of 850 watts
CREATE TABLE table_name_44 ( frequency_mhz VARCHAR, erp_w VARCHAR )
SELECT frequency_mhz FROM table_name_44 WHERE erp_w = "850 watts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 7321, 834, 51, 107, 172, 584, 4280, 28027, 6, 3, 49, 102, 834, 210, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 7321, 3, 51, 107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7321, 834, 51, 107, 172, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3, 49, 102, 834, 210, 3274, 96, 17246, 3, 11876, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average February that has 56 as the game?
CREATE TABLE table_34099 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text )
SELECT AVG("February") FROM table_34099 WHERE "Game" = '56'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21129, 3264, 41, 96, 23055, 121, 490, 6, 96, 31122, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3, 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, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 121, 31122, 8512, 21680, 953, 834, 21129, 3264, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 4834, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Draw a bar chart for what is the name of every city that has at least 15 stations and how many stations does it have?, and order by the x axis in desc.
CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER )
SELECT city, COUNT(*) FROM station GROUP BY city ORDER BY city DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1969, 41, 833, 3, 3463, 4, 382, 6, 9858, 834, 21010, 15, 834, 89, 3, 21342, 17966, 6, 1243, 834, 21010, 15, 834, 89, 3, 21342, 17966, 6, 3519, 834, 21010, 15, 834, 89, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6, 2847, 17161, 599, 1935, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 690, 4674, 11300, 272, 476, 690, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the ICAO for Denmark, and the IATA is bll?
CREATE TABLE table_name_7 (icao VARCHAR, country VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_7 WHERE country = "denmark" AND iata = "bll"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 2617, 32, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 15038, 667, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2617, 32, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 684, 3274, 96, 537, 3920, 121, 3430, 3, 17221, 3274, 96, 115, 195, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Transfer fee has a From club of blackburn rovers?
CREATE TABLE table_name_80 ( transfer_fee VARCHAR, from_club VARCHAR )
SELECT transfer_fee FROM table_name_80 WHERE from_club = "blackburn rovers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 2025, 834, 89, 15, 15, 584, 4280, 28027, 6, 45, 834, 13442, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 9900, 2572, 65, 3, 9, 1029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2025, 834, 89, 15, 15, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 45, 834, 13442, 3274, 96, 19699, 7223, 3, 8843, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the nhl team for round 10?
CREATE TABLE table_58035 ( "Round" real, "Player" text, "Nationality" text, "NHL Team" text, "College/Junior/Club Team (League)" text )
SELECT "NHL Team" FROM table_58035 WHERE "Round" = '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2079, 2469, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 2271, 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, 15743, 434, 2271, 121, 21680, 953, 834, 755, 2079, 2469, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What's the total amount of USSR that has more than 0 gold, less than 85 silver and more than 6 bronze?
CREATE TABLE table_name_62 (total INTEGER, silver VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_62 WHERE gold > 0 AND bronze > 6 AND nation = "ussr" AND silver < 85
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 235, 1947, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 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, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 2045, 2490, 3, 632, 3430, 13467, 2490, 431, 3430, 2982, 3274, 96, 302, 7, 52, 121, 3430, 4294, 3, 2, 11989, 1, -100, -100, -100, -10...
What is the ICAO for Asiana Airlines?
CREATE TABLE table_name_8 (icao VARCHAR, airline VARCHAR)
SELECT icao FROM table_name_8 WHERE airline = "asiana airlines"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 2617, 32, 584, 4280, 28027, 6, 11545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 15038, 667, 21, 6578, 9, 15738, 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, 1, 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, 2617, 32, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 11545, 3274, 96, 9, 10488, 9, 19184, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 3pm show that has Men In Black (mon-thu) Pok mon (fri) at 7am?
CREATE TABLE table_60040 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "4:00 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "3:00 pm" FROM table_60040 WHERE "7:00 am" = 'men in black (mon-thu) pokémon (fri)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 2445, 41, 96, 18735, 183, 121, 1499, 6, 96, 18078, 183, 121, 1499, 6, 96, 15692, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 25713, 183, 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, 519, 10, 1206, 6366, 121, 21680, 953, 834, 6007, 2445, 549, 17444, 427, 96, 18735, 183, 121, 3274, 3, 31, 904, 16, 1001, 41, 2157, 18, 189, 76, 61, 1977, 157, 154, 2157, 41, 89, 52, 23, 61, 31, 1, -100, -1...
On what Date is Olimpia the Home team?
CREATE TABLE table_8370 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real )
SELECT "Date" FROM table_8370 WHERE "Home" = 'olimpia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4591, 2518, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490, 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, 96, 308, 342, 121, 21680, 953, 834, 4591, 2518, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 4172, 1167, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980?
CREATE TABLE table_name_34 ( winner VARCHAR, fis_nordic_world_ski_championships VARCHAR )
SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships = "1980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 4668, 584, 4280, 28027, 6, 361, 7, 834, 29, 127, 4370, 834, 7276, 834, 4009, 834, 17788, 12364, 2009, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4668, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 361, 7, 834, 29, 127, 4370, 834, 7276, 834, 4009, 834, 17788, 12364, 2009, 7, 3274, 96, 2294, 2079, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the away team when the home team was Ramsgate?
CREATE TABLE table_name_30 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_name_30 WHERE home_team = "ramsgate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 116, 8, 234, 372,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2375, 7, 5339, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is admission time and diagnoses long title of subject name antonio mccarthy?
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 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 )
SELECT demographic.admittime, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Antonio Mccarthy"
[ 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, 14798, 5, 20466, 17, 715, 6, 18730, 7, 5, 2961, 834, 21869, 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, 549, 17444, 427, ...
What position does Brian Butch play?
CREATE TABLE table_name_40 ( pos VARCHAR, player VARCHAR )
SELECT pos FROM table_name_40 WHERE player = "brian butch"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 3, 2748, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 405, 7798, 299, 524, 577, 58, 1, 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, 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, 3, 2748, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1959, 3274, 96, 2160, 152, 68, 524, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the average salary by each hire date of employees, and please bin the hire date into the day of week interval for showing a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) 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) ) 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(SALARY) FROM employees
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the most year for brookvale oval
CREATE TABLE table_name_93 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_93 WHERE venue = "brookvale oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 1201, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 215, 21, 3, 14370, 2165, 15, 17986, 1, 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, 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, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 5669, 3274, 96, 14370, 2165, 15, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the total points scored in the second round by all teams ?
CREATE TABLE table_204_405 ( id number, "team 1" text, "agg." text, "team 2" text, "1st leg" text, "2nd leg" text )
SELECT SUM("2nd leg" + "2nd leg") FROM table_204_405
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 3076, 41, 3, 23, 26, 381, 6, 96, 11650, 209, 121, 1499, 6, 96, 9, 4102, 535, 1499, 6, 96, 11650, 204, 121, 1499, 6, 96, 536, 7, 17, 4553, 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, 180, 6122, 599, 121, 357, 727, 4553, 121, 1768, 96, 357, 727, 4553, 8512, 21680, 953, 834, 26363, 834, 591, 3076, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the segment c with episode less than 179 and segment b of s sticker
CREATE TABLE table_name_63 (segment_c VARCHAR, episode VARCHAR, segment_b VARCHAR)
SELECT segment_c FROM table_name_63 WHERE episode < 179 AND segment_b = "s sticker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 7, 15, 122, 297, 834, 75, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 6, 5508, 834, 115, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 5508, 834, 75, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 5640, 3, 2, 3, 26593, 3430, 5508, 834, 115, 3274, 96, 7, 22385, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?
CREATE TABLE table_name_12 (rank_points VARCHAR, total VARCHAR, shooter VARCHAR)
SELECT rank_points FROM table_name_12 WHERE total = "17" AND shooter = "lalita yauhleuskaya ( aus )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 6254, 834, 2700, 7, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 4279, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 22557, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 834, 2700, 7, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 792, 3274, 96, 2517, 121, 3430, 4279, 49, 3274, 96, 521, 4250, 9, 3, 63, 402, 107, 109, 302, 18075, 9, 41, 403, 3, 61, 121, 1, -100, -100, ...
yes or no for the sydney with yes for melbourne, no for perth, no for auckland and no for gold coast?
CREATE TABLE table_name_43 ( sydney VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR )
SELECT sydney FROM table_name_43 WHERE melbourne = "yes" AND perth = "no" AND auckland = "no" AND gold_coast = "no"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 3, 7, 63, 26, 3186, 584, 4280, 28027, 6, 2045, 834, 25500, 584, 4280, 28027, 6, 3, 9, 4636, 40, 232, 584, 4280, 28027, 6, 3, 2341, 26255, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 63, 26, 3186, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 3, 2341, 26255, 3274, 96, 10070, 121, 3430, 399, 189, 3274, 96, 29, 32, 121, 3430, 3, 9, 4636, 40, 232, 3274, 96, 29, 32, 121, 3430, 2045, ...
what is the number of patients who had mesenteric ischemia primary disease and died on or before 2138?
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 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 WHERE demographic.diagnosis = "MESENTERIC ISCHEMIA" AND demographic.dod_year <= "2138.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, 25930, 4844, 159, 3274, 96, 22759, 6431, 427, 23503, 27, 20557, 25284, 188, 121, 3430, 14798, 5, 2...
How many people were in attendance in a week over 4 on December 6, 1981?
CREATE TABLE table_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = "december 6, 1981"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 15116, 663, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 16, 11364, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 471, 2490, 314, 3430, 833, 3274, 96, 221, 75, 18247, 8580, 15465, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the marital status and age of the patient name orville ford?
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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.marital_status, demographic.age FROM demographic WHERE demographic.name = "Orville Ford"
[ 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, 14798, 5, 1635, 9538, 834, 8547, 302, 6, 14798, 5, 545, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 7395, 1420, 5222, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the attendance of the game that ended with L 31-0
CREATE TABLE table_name_67 ( attendance VARCHAR, result VARCHAR )
SELECT attendance FROM table_name_67 WHERE result = "l 31-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 11364, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 13, 8, 467, 24, 3492, 28, 301, 220, 18930, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 741, 3274, 96, 40, 220, 18930, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the Laps for time/retired of +8 laps
CREATE TABLE table_name_35 ( laps VARCHAR, time_retired VARCHAR )
SELECT laps FROM table_name_35 WHERE time_retired = "+8 laps"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 14941, 7, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 325, 102, 7, 21, 97, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14941, 7, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 1220, 927, 14941, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Region of eastern england has what investment income?
CREATE TABLE table_35398 ( "Region" text, "Employment ( salaries & wages)" text, "Self employed" text, "Investment income" text, "Working tax credit" text, "State pensions" text, "Occupational pensions" text, "Disability benefits" text, "Other social security benefits" text, "Other income sources" text )
SELECT "Investment income" FROM table_35398 WHERE "Region" = 'eastern england'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 519, 3916, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 427, 51, 7379, 63, 297, 41, 21331, 3, 184, 15488, 61, 121, 1499, 6, 96, 134, 10386, 8152, 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, 1...
[ 3, 23143, 14196, 96, 13898, 297, 2055, 121, 21680, 953, 834, 2469, 519, 3916, 549, 17444, 427, 96, 17748, 23, 106, 121, 3274, 3, 31, 15, 9, 13072, 3, 4606, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which owner has the call sign of KDSU?
CREATE TABLE table_name_88 (name VARCHAR, call_sign VARCHAR)
SELECT name FROM table_name_88 WHERE call_sign = "kdsu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 4350, 584, 4280, 28027, 6, 580, 834, 6732, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2527, 65, 8, 580, 1320, 13, 480, 308, 4138, 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, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 580, 834, 6732, 3274, 96, 157, 26, 7, 76, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHich Year has a Music director(s) of anu malik?
CREATE TABLE table_34118 ( "Year" real, "Song" text, "Film" text, "Music director(s)" text, "Lyricist" text )
SELECT SUM("Year") FROM table_34118 WHERE "Music director(s)" = 'anu malik'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 20056, 41, 96, 476, 2741, 121, 490, 6, 96, 134, 2444, 121, 1499, 6, 96, 371, 173, 51, 121, 1499, 6, 96, 29035, 2090, 599, 7, 61, 121, 1499, 6, 96, 434, 63, 2234, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3710, 20056, 549, 17444, 427, 96, 29035, 2090, 599, 7, 61, 121, 3274, 3, 31, 152, 76, 954, 8654, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which company has a person that can wear clothing in 33-23-36
CREATE TABLE table_27515452_3 ( agency VARCHAR, sizes VARCHAR )
SELECT agency FROM table_27515452_3 WHERE sizes = "33-23-36"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 27308, 5373, 834, 519, 41, 3193, 584, 4280, 28027, 6, 4342, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 84, 349, 65, 3, 9, 568, 24, 54, 2112, 5698, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3193, 21680, 953, 834, 25988, 27308, 5373, 834, 519, 549, 17444, 427, 4342, 3274, 96, 4201, 18, 2773, 18, 3420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For each classroom report the grade that is taught in it. Report just the classroom number and the grade number.
CREATE TABLE list (classroom VARCHAR, grade VARCHAR)
SELECT DISTINCT classroom, grade FROM list
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 4057, 3082, 584, 4280, 28027, 6, 2769, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 284, 4858, 934, 8, 2769, 24, 19, 4436, 16, 34, 5, 3750, 131, 8, 4858, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 4858, 6, 2769, 21680, 570, 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, -100, -100, -100, -100...
What was the result under interim head coach, Gary Darnell?
CREATE TABLE table_name_62 (result VARCHAR, interim_head_coach VARCHAR)
SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 20003, 834, 3313, 834, 509, 1836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 365, 20003,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 20003, 834, 3313, 834, 509, 1836, 3274, 96, 1478, 63, 649, 10361, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
I want the constellation for declination for 45 and right ascension of 07h58m
CREATE TABLE table_55301 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text, "Apparent magnitude" real )
SELECT "Constellation" FROM table_55301 WHERE "Declination ( J2000 )" = '°45′' AND "Right ascension ( J2000 )" = '07h58m'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 25626, 41, 96, 12531, 254, 381, 121, 490, 6, 96, 17057, 686, 121, 1499, 6, 96, 4302, 7, 6714, 257, 121, 1499, 6, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 13527, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4302, 7, 6714, 257, 121, 21680, 953, 834, 3769, 25626, 549, 17444, 427, 96, 2962, 11005, 257, 41, 446, 13527, 3, 61, 121, 3274, 3, 31, 1956, 2128, 17774, 31, 3430, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 1...
On which date was the GT class at Monterey Sports Car Grand Prix?
CREATE TABLE table_name_8 ( date VARCHAR, class VARCHAR, race VARCHAR )
SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 833, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 833, 47, 8, 10188, 853, 44, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4350, 834, 927, 549, 17444, 427, 853, 3274, 96, 122, 17, 121, 3430, 1964, 3274, 96, 4662, 49, 15, 63, 2100, 443, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the title of the episode directed by Rich Correll and written by Dennis Rinsler?
CREATE TABLE table_29102100_1 ( title VARCHAR, directed_by VARCHAR, written_by VARCHAR )
SELECT title FROM table_29102100_1 WHERE directed_by = "Rich Correll" AND written_by = "Dennis Rinsler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 14388, 2915, 834, 536, 41, 2233, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 3166, 14388, 2915, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 448, 362, 638, 21290, 121, 3430, 1545, 834, 969, 3274, 96, 308, 35, 29, 159, 16602, 7, 1171, 121, 1, -100, -100, -100, ...
Give me a bar chart for the average of salary of each hire date, list y axis in descending order.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(SALARY) FROM employees ORDER BY AVG(SALARY) DESC
[ 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, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 4674, 11300, 272, 476, 71, 17217, 599, 134, 4090, 24721, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
does number 2 have more or less runs than number 1 ?
CREATE TABLE table_203_255 ( id number, "no" number, "test no" number, "1st team" text, "2nd team" text, "winner" text, "margin" text, "toss" text, "bat" text, "date" text )
SELECT (SELECT "margin" FROM table_203_255 WHERE "no" = 2) > (SELECT "margin" FROM table_203_255 WHERE "no" = 1)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 25502, 41, 3, 23, 26, 381, 6, 96, 29, 32, 121, 381, 6, 96, 4377, 150, 121, 381, 6, 96, 536, 7, 17, 372, 121, 1499, 6, 96, 357, 727, 372, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 1635, 122, 77, 121, 21680, 953, 834, 23330, 834, 25502, 549, 17444, 427, 96, 29, 32, 121, 3274, 9266, 2490, 41, 23143, 14196, 96, 1635, 122, 77, 121, 21680, 953, 834, 23330, 834, 25502, 549, 17...
Which winner has a Challenge Loser of alexcy?
CREATE TABLE table_name_44 (challenge_winner VARCHAR, challenge_loser VARCHAR)
SELECT challenge_winner FROM table_name_44 WHERE challenge_loser = "alexcy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 12654, 40, 35, 397, 834, 3757, 687, 584, 4280, 28027, 6, 1921, 834, 2298, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4668, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1921, 834, 3757, 687, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1921, 834, 2298, 49, 3274, 96, 138, 994, 75, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What rank has a gross of $35,976,000?
CREATE TABLE table_name_44 (rank VARCHAR, gross VARCHAR)
SELECT rank FROM table_name_44 WHERE gross = "$35,976,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 6254, 584, 4280, 28027, 6, 8690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 65, 3, 9, 8690, 13, 25264, 6, 4327, 14835, 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, 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, 11003, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 8690, 3274, 96, 3229, 2469, 6, 4327, 14835, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the name of the song by afro-dite that had a points total greater than 100?
CREATE TABLE table_name_31 (song VARCHAR, points VARCHAR, artist VARCHAR)
SELECT song FROM table_name_31 WHERE points > 100 AND artist = "afro-dite"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 7, 2444, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 564, 13, 8, 2324, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 979, 2490, 910, 3430, 2377, 3274, 96, 9, 6155, 18, 10700, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the season number of the episode with series number US6?
CREATE TABLE table_19897294_10 (no_in_season INTEGER, no_in_series VARCHAR)
SELECT MIN(no_in_season) FROM table_19897294_10 WHERE no_in_series = "US6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3914, 5865, 4240, 834, 1714, 41, 29, 32, 834, 77, 834, 9476, 3, 21342, 17966, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 29, 32, 834, 77, 834, 9476, 61, 21680, 953, 834, 2294, 3914, 5865, 4240, 834, 1714, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 96, 3063, 948, 121, 1, -100, -100, -100, -100, -100, -100, -10...
What was the location and attendance for the game on December 12?
CREATE TABLE table_name_68 ( location_attendance VARCHAR, date VARCHAR )
SELECT location_attendance FROM table_name_68 WHERE date = "december 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1128, 11, 11364, 21, 8, 467, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the language of the film Rosie?
CREATE TABLE table_name_33 (language_s_ VARCHAR, original_title VARCHAR)
SELECT language_s_ FROM table_name_33 WHERE original_title = "rosie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 24925, 834, 7, 834, 584, 4280, 28027, 6, 926, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1612, 13, 8, 814, 2158, 2452...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1612, 834, 7, 834, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 926, 834, 21869, 3274, 96, 1859, 23, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Location, when Opponent is 'Mario Rinaldi'?
CREATE TABLE table_name_86 ( location VARCHAR, opponent VARCHAR )
SELECT location FROM table_name_86 WHERE opponent = "mario rinaldi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 1128, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 10450, 6, 116, 4495, 9977, 19, 3, 31, 329, 14414, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 15264, 3274, 96, 17289, 32, 3, 52, 10270, 26, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the model name with engine code being b5254 t4
CREATE TABLE table_16824 ( "Model name" text, "Power (ps)" real, "Torque (Nm@rpm)" text, "Displacement (cm\u00b3)" real, "Engine code" text, "Comment" text )
SELECT "Model name" FROM table_16824 WHERE "Engine code" = 'B5254 T4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24274, 2266, 41, 96, 24663, 564, 121, 1499, 6, 96, 23553, 41, 102, 7, 61, 121, 490, 6, 96, 382, 127, 835, 41, 567, 51, 1741, 52, 2028, 61, 121, 1499, 6, 96, 23664, 1170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24663, 564, 121, 21680, 953, 834, 24274, 2266, 549, 17444, 427, 96, 31477, 1081, 121, 3274, 3, 31, 279, 5373, 5062, 332, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Points with a Tries For that is 21?
CREATE TABLE table_name_13 (points VARCHAR, tries_for VARCHAR)
SELECT points FROM table_name_13 WHERE tries_for = "21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 2700, 7, 584, 4280, 28027, 6, 3, 9000, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4564, 7, 28, 3, 9, 332, 2593, 242,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 3, 9000, 834, 1161, 3274, 96, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is maximum age of patients whose language is span and primary disease is st-segment elevation myocardial infarction\cardiac cath?
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 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 )
SELECT MAX(demographic.age) FROM demographic WHERE demographic.language = "SPAN" AND demographic.diagnosis = "ST-SEGMENT ELEVATION MYOCARDIAL INFARCTION\CARDIAC CATH"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 24925, 3274, 96, 21215, 567, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 4209, 18, 134, 8579, 11810, 3, 16479, 553, 8015, 283, 476...
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id, and order total number from low to high order please.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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) )
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 446, 10539, 834, 4309, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, ...
Which league is for baseball with Laredo Apaches?
CREATE TABLE table_name_31 (league VARCHAR, sport VARCHAR, club VARCHAR)
SELECT league FROM table_name_31 WHERE sport = "baseball" AND club = "laredo apaches"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 29512, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5533, 19, 21, 9600, 28, 325, 1271...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 2600, 3274, 96, 10925, 3184, 121, 3430, 1886, 3274, 96, 521, 1271, 32, 4938, 2951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For each user, find their name and the number of reviews written by them. Show bar chart.
CREATE TABLE useracct ( u_id integer, name varchar(128) ) CREATE TABLE item ( i_id integer, title varchar(20) ) CREATE TABLE review ( a_id integer, u_id integer, i_id integer, rating integer, rank integer ) CREATE TABLE trust ( source_u_id integer, target_u_id integer, trust integer )
SELECT name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1139, 6004, 17, 41, 3, 76, 834, 23, 26, 30278, 6, 564, 3, 4331, 4059, 599, 2122, 13520, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2118, 41, 3, 23, 834, 23, 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, 564, 6, 2847, 17161, 599, 1935, 61, 21680, 1139, 6004, 17, 6157, 332, 536, 3, 15355, 3162, 1132, 6157, 332, 357, 9191, 332, 5411, 76, 834, 23, 26, 3274, 332, 4416, 76, 834, 23, 26, 350, 4630, 6880, 272, 476, 332, ...
What was the home team's score at the game played at Punt Road Oval with a crowd over 20,000?
CREATE TABLE table_32284 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_32284 WHERE "Crowd" > '20,000' AND "Venue" = 'punt road oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 357, 4608, 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, 19040, 372, 2604, 121, 21680, 953, 834, 2668, 357, 4608, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 13922, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 6225, 17, 1373, 17986, 31, 1, -100, -100...
what is the number of the episode in the season that had 7.19 millions of north american viewers?
CREATE TABLE table_27914606_1 ( season__number VARCHAR, us_viewers__millions_ VARCHAR )
SELECT season__number FROM table_27914606_1 WHERE us_viewers__millions_ = "7.19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4729, 4448, 5176, 834, 536, 41, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 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, 774, 834, 834, 5525, 1152, 21680, 953, 834, 2555, 4729, 4448, 5176, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 25059, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
who published the most in syntactic parsing ?
CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar )
SELECT DISTINCT COUNT(paper.paperid), writes.authorid FROM keyphrase, paper, paperkeyphrase, writes WHERE keyphrase.keyphrasename = 'syntactic parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY COUNT(paper.paperid) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5669, 41, 5669, 23, 26, 16, 17, 6, 5669, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11858, 41, 1040, 23, 26, 16, 17, 6, 2291, 23, 26, 16, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15438, 25424, 6227, 2847, 17161, 599, 19587, 5, 19587, 23, 26, 201, 11858, 5, 17415, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 11858, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3,...
On which date did Potts (I) poll at 9%?
CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR)
SELECT date FROM table_name_92 WHERE potts__i_ = "9%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 5522, 584, 4280, 28027, 6, 815, 17, 7, 834, 834, 23, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 833, 410, 7995, 17, 7, 41, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 815, 17, 7, 834, 834, 23, 834, 3274, 96, 7561, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show me a pie chart for how many storms occured in each region?
CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int ) CREATE TABLE region ( Region_id int, Region_code text, Region_name text )
SELECT Region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.Region_id = T2.Region_id GROUP BY T1.Region_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4161, 834, 18145, 41, 6163, 834, 23, 26, 16, 17, 6, 16133, 834, 4309, 16, 17, 6, 7720, 834, 6726, 834, 9, 27488, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6163, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 1719, 6157, 332, 536, 3, 15355, 3162, 4161, 834, 18145, 6157, 332, 357, 9191, 332, 5411, 17748, 23, 106, 834, 23, 26, 3274, 332, 4416, 17748, 23, 106, 834, 23, ...
let me know the gender and location of admission for patient gwendolyn hager.
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 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 )
SELECT demographic.gender, demographic.admission_location FROM demographic WHERE demographic.name = "Gwendolyn Hager"
[ 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, 14798, 5, 122, 3868, 6, 14798, 5, 9, 26, 5451, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 517, 210, 989, 32, 120, 29, 19905, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many races did Cale Yarborough win at an average speed of 88.924 mph?
CREATE TABLE table_22648285_1 (race_time VARCHAR, driver VARCHAR, average_speed__mph_ VARCHAR)
SELECT COUNT(race_time) FROM table_22648285_1 WHERE driver = "Cale Yarborough" AND average_speed__mph_ = "88.924"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4389, 4613, 4433, 834, 536, 41, 12614, 834, 715, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 1348, 834, 9993, 834, 834, 7656, 834, 584, 4280, 28027, 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, 12614, 834, 715, 61, 21680, 953, 834, 2884, 4389, 4613, 4433, 834, 536, 549, 17444, 427, 2535, 3274, 96, 14318, 15, 4701, 52, 12823, 121, 3430, 1348, 834, 9993, 834, 834, 7656, 834, 3274, 96, 4060, ...
What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000?
CREATE TABLE table_45523 ( "Poll Source" text, "Dates administered" text, "Democrat: Tom Harkin" text, "Republican: Christopher Reed" text, "Lead Margin" real )
SELECT "Dates administered" FROM table_45523 WHERE "Lead Margin" > '14' AND "Poll Source" = 'research 2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 755, 2773, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 3059, 3504, 2917, 121, 1499, 6, 96, 1649, 15727, 152, 10, 14702, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6203, 19092, 121, 21680, 953, 834, 2128, 755, 2773, 549, 17444, 427, 96, 2796, 9, 26, 16409, 77, 121, 2490, 3, 31, 2534, 31, 3430, 96, 8931, 40, 9149, 121, 3274, 3, 31, 60, 13173, 2766, 31, 1, -100, -10...
Which position has a venue of Helsinki, Finland?
CREATE TABLE table_68768 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text )
SELECT "Position" FROM table_68768 WHERE "Venue" = 'helsinki, finland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 940, 3651, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 10358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32, 7, 4749, 121, 21680, 953, 834, 3651, 940, 3651, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 88, 40, 7, 6090, 23, 6, 3, 89, 25948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Which opponent has a record of 6-2?
CREATE TABLE table_21091127_1 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_21091127_1 WHERE record = "6-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 4729, 22367, 834, 536, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 65, 3, 9, 1368, 13, 3, 25369, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 15239, 4729, 22367, 834, 536, 549, 17444, 427, 1368, 3274, 96, 25369, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Give me the comparison about All_Games_Percent over the ACC_Regular_Season , and display from low to high by the bars.
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 ACC_Regular_Season, All_Games_Percent FROM basketball_match ORDER BY ACC_Regular_Season
[ 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, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1, -100, -100, -100, -10...
What is the number of the series written by Teresa Lin?
CREATE TABLE table_26801821_1 ( no_in_series VARCHAR, written_by VARCHAR )
SELECT COUNT(no_in_series) FROM table_26801821_1 WHERE written_by = "Teresa Lin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2079, 2606, 2658, 834, 536, 41, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 29, 32, 834, 77, 834, 10833, 7, 61, 21680, 953, 834, 2688, 2079, 2606, 2658, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 382, 49, 15, 7, 9, 6741, 121, 1, -100, -100, -100, -100, -100, ...
What date has a Home team score of 7.11 (53)?
CREATE TABLE table_52900 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_52900 WHERE "Home team score" = '7.11 (53)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 7015, 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, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 342, 121, 21680, 953, 834, 5373, 7015, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 25059, 536, 9209, 5268, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest Attendance with a Result that is w 24-21?
CREATE TABLE table_40332 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_40332 WHERE "Result" = 'w 24-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 519, 2668, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 2445, 519, 2668, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 997, 16539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
One 6 November 2007 what was the manner of departure for the coach release in football league one?
CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = "6 November 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2606, 2368, 4177, 834, 948, 41, 2434, 49, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 6, 833, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 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, 3107, 834, 858, 834, 221, 2274, 1462, 21680, 953, 834, 2577, 2606, 2368, 4177, 834, 948, 549, 17444, 427, 833, 834, 858, 834, 9, 102, 2700, 297, 3274, 96, 948, 1671, 4101, 121, 1, -100, -100, -100, -100, -100, -100,...
what is the number of unmarried patients who were diagnosed with toxic encephalopathy?
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 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 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.short_title = "Toxic encephalopathy"
[ 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, 5...
Which School/Club Team did not make it to round 2?
CREATE TABLE table_name_5 (school_club_team VARCHAR, round INTEGER)
SELECT school_club_team FROM table_name_5 WHERE round < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 6646, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1751, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 1121, 87, 254, 11158, 2271, 410, 59, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1751, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng?
CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR)
SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and friz freleng"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 21019, 834, 5522, 584, 4280, 28027, 6, 999, 834, 5525, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 13048, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1576, 834, 5522, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 999, 834, 5525, 2490, 305, 10927, 3430, 2090, 3274, 96, 107, 14439, 6263, 152, 11, 9030, 172, 2515, 400, 1725, 121, 1, -100, -100, -100, -100, -100, ...
What was the result of the game after week 6 against the cleveland browns?
CREATE TABLE table_name_41 ( result VARCHAR, week VARCHAR, opponent VARCHAR )
SELECT result FROM table_name_41 WHERE week < 6 AND opponent = "cleveland browns"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 227, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 471, 3, 2, 431, 3430, 15264, 3274, 96, 75, 4563, 232, 4216, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is every value for Points 2 when the value of won is 30?
CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR)
SELECT points_2 FROM table_17359181_1 WHERE won = 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 4729, 4959, 834, 536, 41, 2700, 7, 834, 357, 584, 4280, 28027, 6, 751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 701, 21, 4564, 7, 204,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 834, 357, 21680, 953, 834, 2517, 2469, 4729, 4959, 834, 536, 549, 17444, 427, 751, 3274, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
in the irish national final for the eurovision song contest in 1990 , which artists did not receive at least 75 points ?
CREATE TABLE table_203_695 ( id number, "draw" number, "artist" text, "song" text, "points" number, "place" text )
SELECT "artist" FROM table_203_695 WHERE "points" < 75
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3951, 755, 41, 3, 23, 26, 381, 6, 96, 19489, 121, 381, 6, 96, 1408, 343, 121, 1499, 6, 96, 7, 2444, 121, 1499, 6, 96, 2700, 7, 121, 381, 6, 96, 4687, 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, 1408, 343, 121, 21680, 953, 834, 23330, 834, 3951, 755, 549, 17444, 427, 96, 2700, 7, 121, 3, 2, 6374, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which party is Ettore Romoli from?
CREATE TABLE table_65867 ( "Municipality" text, "Inhabitants" real, "Mayor" text, "Party" text, "Election" real )
SELECT "Party" FROM table_65867 WHERE "Mayor" = 'ettore romoli'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3449, 3708, 41, 96, 329, 202, 23, 3389, 10355, 121, 1499, 6, 96, 1570, 29884, 7, 121, 490, 6, 96, 15881, 127, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 427, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13725, 63, 121, 21680, 953, 834, 948, 3449, 3708, 549, 17444, 427, 96, 15881, 127, 121, 3274, 3, 31, 15, 17, 235, 60, 3, 3522, 4172, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the lowest qualifying rank?
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)
SELECT MIN(qualifying_rank) FROM table_13114949_3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22048, 24816, 3647, 834, 519, 41, 11433, 8587, 834, 6254, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 7402, 18002, 11003, 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, 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, 0...
[ 3, 23143, 14196, 3, 17684, 599, 11433, 8587, 834, 6254, 61, 21680, 953, 834, 22048, 24816, 3647, 834, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the winning driver for circuit of monza
CREATE TABLE table_name_36 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_36 WHERE circuit = "monza"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 8163, 834, 13739, 52, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3447, 2535, 21, 4558, 13, 1911, 1629, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 4558, 3274, 96, 2157, 1629, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Was the Grand Prix Watkins GLen that Miles Collier raced in before 1952 a championship?
CREATE TABLE table_62338 ( "Year" real, "Drivers" text, "Team" text, "Duration/Distance" text, "Race Title" text, "Championship" text )
SELECT "Championship" FROM table_62338 WHERE "Year" < '1952' AND "Race Title" = 'grand prix watkins glen' AND "Drivers" = 'miles collier'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 519, 3747, 41, 96, 476, 2741, 121, 490, 6, 96, 20982, 52, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 12998, 2661, 87, 308, 23, 8389, 121, 1499, 6, 96, 448, 330...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1483, 12364, 2009, 121, 21680, 953, 834, 4056, 519, 3747, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 22464, 357, 31, 3430, 96, 448, 3302, 11029, 121, 3274, 3, 31, 15448, 3407, 8036, 17, 7815, 3, ...
What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre?
CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text ) CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE genre ( g_name text, rating text, most_popular_in text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number )
SELECT MIN(T1.duration), MIN(T2.rating), T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 2377, 834, 4350, 1499, 6, 684, 1499, 6, 7285, 1499, 6, 6241, 834, 729, 60, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2073, 41, 3, 89, 834, 23, 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, 3, 17684, 599, 382, 5411, 1259, 2661, 201, 3, 17684, 599, 382, 4416, 52, 1014, 201, 332, 4416, 729, 60, 834, 159, 21680, 2073, 6157, 332, 536, 3, 15355, 3162, 2324, 6157, 332, 357, 9191, 332, 5411, 89, 834, 23, 26...
what is the number of points when the place is less than 7, the draw is more than 2 and the artist is piece of cake?
CREATE TABLE table_name_76 (points VARCHAR, artist VARCHAR, place VARCHAR, draw VARCHAR)
SELECT COUNT(points) FROM table_name_76 WHERE place < 7 AND draw > 2 AND artist = "piece of cake"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 2700, 7, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 286, 3, 2, 489, 3430, 3314, 2490, 204, 3430, 2377, 3274, 96, 8424, 13, 4340, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the birthdate of Robert Esche?
CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR)
SELECT birthdate FROM table_name_39 WHERE name = "robert esche"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 20663, 5522, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3879, 5522, 13, 2715, 262, 3992, 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, 3879, 5522, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 564, 3274, 96, 5840, 49, 17, 3, 15, 3992, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the playoffs 1 result of season 2004-05?
CREATE TABLE table_52985 ( "Season" text, "Pyramid Level" text, "Regular Season 1" text, "Playoffs 1" text, "Regular Season 2" text, "Playoffs 2" text, "Copa M\u00e9xico" text, "CONCACAF" text )
SELECT "Playoffs 1" FROM table_52985 WHERE "Season" = '2004-05'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3166, 4433, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 345, 63, 2375, 23, 26, 7166, 121, 1499, 6, 96, 17748, 4885, 7960, 209, 121, 1499, 6, 96, 15800, 1647, 7, 209...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1647, 7, 209, 121, 21680, 953, 834, 755, 3166, 4433, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 21653, 18, 3076, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
find the number of unmarried patients who have procedure icd9 code 8960.
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 ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.icd9_code = "8960"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
how many patients whose admission year is less than 2190 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 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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2190" 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which country has at most 3 stadiums listed?
CREATE TABLE stadium ( country VARCHAR )
SELECT country FROM stadium GROUP BY country HAVING COUNT(*) <= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 44, 167, 220, 14939, 7, 2616, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 14939, 350, 4630, 6880, 272, 476, 684, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 3, 2, 2423, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest population of Deuel county's 1,819 households?
CREATE TABLE table_name_22 ( population INTEGER, county VARCHAR, number_of_households VARCHAR )
SELECT MAX(population) FROM table_name_22 WHERE county = "deuel" AND number_of_households < 1 OFFSET 819
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 2074, 3, 21342, 17966, 6, 5435, 584, 4280, 28027, 6, 381, 834, 858, 834, 1840, 6134, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 7830, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 5435, 3274, 96, 221, 76, 15, 40, 121, 3430, 381, 834, 858, 834, 1840, 6134, 7, 3, 2, 209, 3, 15316, 20788, 505, 2294, 1, -100, -10...
Which host has more than 11 episodes?
CREATE TABLE table_name_95 ( host VARCHAR, _number_of_episodes INTEGER )
SELECT host FROM table_name_95 WHERE _number_of_episodes > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 2290, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 834, 858, 834, 15, 102, 159, 32, 1395, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2290...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 2290, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 3, 834, 5525, 1152, 834, 858, 834, 15, 102, 159, 32, 1395, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When the Surface was Carpet (i), what was the Outcome?
CREATE TABLE table_name_11 (outcome VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 670, 287, 15, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 18884, 47, 17778, 41, 23, 201, 125, 47, 8, 3387, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6138, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1774, 3274, 96, 1720, 4995, 41, 23, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the area of the place that has a population density of 331.4?
CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR)
SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 4581, 4853, 834, 536, 41, 498, 834, 834, 5848, 357, 834, 3, 21342, 17966, 6, 11048, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 616, 13, 8, 286,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 498, 834, 834, 5848, 357, 834, 61, 21680, 953, 834, 16431, 4581, 4853, 834, 536, 549, 17444, 427, 11048, 3274, 96, 4201, 14912, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the match points when Bordeaux-B gles was eliminated from competition?
CREATE TABLE table_27986200_3 ( match_points VARCHAR, eliminated_from_competition VARCHAR )
SELECT match_points FROM table_27986200_3 WHERE eliminated_from_competition = "Bordeaux-Bègles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4440, 3840, 3632, 834, 519, 41, 1588, 834, 2700, 7, 584, 4280, 28027, 6, 17809, 834, 7152, 834, 287, 4995, 4749, 584, 4280, 28027, 3, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 1588, 834, 2700, 7, 21680, 953, 834, 357, 4440, 3840, 3632, 834, 519, 549, 17444, 427, 17809, 834, 7152, 834, 287, 4995, 4749, 3274, 96, 279, 127, 26, 9063, 18, 279, 5115, 3537, 7, 121, 1, -100, -100, -100, -100, ...
Tell me the 1st leg for antwerp bc
CREATE TABLE table_name_10 ( team__number2 VARCHAR )
SELECT 1 AS st_leg FROM table_name_10 WHERE team__number2 = "antwerp bc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 372, 834, 834, 5525, 1152, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 209, 7, 17, 4553, 21, 3, 288, 3321, 102, 3, 115...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 209, 6157, 3, 7, 17, 834, 5772, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 372, 834, 834, 5525, 1152, 357, 3274, 96, 288, 3321, 102, 3, 115, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me a bar chart for the total number of each product type code, and list in descending by the Y-axis.
CREATE TABLE Products_in_Events ( Product_in_Event_ID INTEGER, Event_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel_ID INTEGER, Event_Type_Code CHAR(15), Finance_ID INTEGER, Location_ID INTEGER ) CREATE TABLE Agreements ( Document_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Assets ( Asset_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) ) CREATE TABLE Assets_in_Events ( Asset_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Products ( Product_ID INTEGER, Product_Type_Code CHAR(15), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4) ) CREATE TABLE Finances ( Finance_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Parties_in_Events ( Party_ID INTEGER, Event_ID INTEGER, Role_Code CHAR(15) ) CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Addresses ( Address_ID INTEGER, address_details VARCHAR(255) )
SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 834, 77, 834, 427, 2169, 7, 41, 6246, 834, 77, 834, 427, 2169, 834, 4309, 3, 21342, 17966, 6, 8042, 834, 4309, 3, 21342, 17966, 6, 6246, 834, 4309, 3, 21342, 17966, 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, 6246, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 6246, 834, 25160, 834, 22737, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -1...
Which division were the Brewers a part of in the 1987 season?
CREATE TABLE table_name_23 ( division VARCHAR, team_season VARCHAR )
SELECT division FROM table_name_23 WHERE team_season = "1987"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 4889, 584, 4280, 28027, 6, 372, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4889, 130, 8, 3004, 3321, 7, 3, 9, 294, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4889, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 372, 834, 9476, 3274, 96, 2294, 4225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is insurance of subject name jerry deberry?
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 ) 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 )
SELECT demographic.insurance FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 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, 14798, 5, 29441, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 49, 651, 374, 7418, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the team sites entry for Microsoft Sharepoint?
CREATE TABLE table_name_59 ( team_sites VARCHAR, name VARCHAR )
SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 372, 834, 3585, 7, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 372, 1471, 1764, 21, 2803, 7105, 2700,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 834, 3585, 7, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 564, 3274, 96, 30574, 698, 2700, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total number of offensive rebounds for players with under 65 total rebounds, 5 defensive rebounds, and under 7 assists?
CREATE TABLE table_75822 ( "Player" text, "FG Pct" real, "3FGA" real, "3FGM" real, "3FG Pct" real, "FT Pct" real, "Off Reb" real, "Def Reb" real, "Total Reb" real, "Asst" real )
SELECT COUNT("Off Reb") FROM table_75822 WHERE "Total Reb" < '65' AND "Def Reb" = '5' AND "Asst" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 4613, 357, 41, 96, 15800, 49, 121, 1499, 6, 96, 22807, 276, 75, 17, 121, 490, 6, 96, 519, 371, 6302, 121, 490, 6, 96, 519, 371, 7381, 121, 490, 6, 96, 519, 22807,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21265, 22789, 8512, 21680, 953, 834, 3072, 4613, 357, 549, 17444, 427, 96, 3696, 1947, 22789, 121, 3, 2, 3, 31, 4122, 31, 3430, 96, 16196, 22789, 121, 3274, 3, 31, 755, 31, 3430, 96, 188, 7,...
How many steals were the in games that andy kaufmann played?
CREATE TABLE table_25398 ( "Player" text, "Games Played" real, "Field Goals" real, "Three Pointers" real, "Free Throws" real, "Rebounds" real, "Assists" real, "Blocks" real, "Steals" real, "Points" real )
SELECT COUNT("Steals") FROM table_25398 WHERE "Player" = 'Andy Kaufmann'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 519, 3916, 41, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 2911, 15, 26, 121, 490, 6, 96, 3183, 8804, 17916, 7, 121, 490, 6, 96, 11889, 15, 15, 4564, 277, 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, 2847, 17161, 599, 121, 14337, 5405, 8512, 21680, 953, 834, 1828, 519, 3916, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 7175, 63, 5736, 2434, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the last game where the record was 6-3?
CREATE TABLE table_18987 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT MAX("Game") FROM table_18987 WHERE "Record" = '6-3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 4225, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 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, 4800, 4, 599, 121, 23055, 8512, 21680, 953, 834, 25312, 4225, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 24262, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)?
CREATE TABLE table_name_35 (category VARCHAR)
SELECT 2000 FROM table_name_35 WHERE 1999 = "toyota 1sz-fe 1.0l yaris" AND category = "sub 1 litre"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 8367, 839, 651, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 443, 47, 5539, 769, 209, 3, 14773, 16, 2766, 41, 210, 106, 57, 12, 63, 32, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2766, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 5247, 3274, 96, 235, 63, 32, 17, 9, 209, 7, 172, 18, 89, 15, 3, 12734, 40, 3, 63, 1665, 7, 121, 3430, 3295, 3274, 96, 7304, 209, 3, 14773, 121, 1, -100,...
What is the party of Richard Simpson?
CREATE TABLE table_68224 ( "Name" text, "Entered office" text, "Left office" text, "Party" text, "First Minister" text )
SELECT "Party" FROM table_68224 WHERE "Name" = 'richard simpson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 24622, 41, 96, 23954, 121, 1499, 6, 96, 16924, 3737, 828, 121, 1499, 6, 96, 2796, 89, 17, 828, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 3271, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 13725, 63, 121, 21680, 953, 834, 3651, 24622, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 3723, 986, 108, 1167, 739, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...