text
stringlengths
197
8.39k
### Context: CREATE TABLE table_16296 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_56610 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result on 8 October 1961? ### Query: SELECT "Result" FROM tab...
### Context: CREATE TABLE table_10748 ( "Date" text, "Name" text, "Flag" text, "Tonnage (GRT)" real, "Sunk by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the flag of Norway? ### Query: SELECT "Date" FROM table_10748 WHERE "...
### Context: CREATE TABLE table_name_71 ( date VARCHAR, competition VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date that has a friendly competition at rheinpark stadion, vaduz ### Query: SELECT date FROM table_name_71 WHERE c...
### Context: CREATE TABLE table_name_3 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When collingwood played as the away team what did they score? ### Query: SELECT away_team AS score FROM table_name_3 WHERE away_team = "collingwood"
### Context: CREATE TABLE table_43400 ( "Number" real, "Class" real, "Name" text, "Livery" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Class when Wessex Trains Pink is the Livery? ### Query: SELECT "Class" FROM table_43...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int,...
### Context: CREATE TABLE table_13079788_3 ( round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson ...
### Context: CREATE TABLE table_name_42 ( bowl_game VARCHAR, season VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Bowl game in San Francisco, CA after 1968? ### Query: SELECT bowl_game FROM table_name_42 WHERE season > 19...
### Context: 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JO...
### Context: CREATE TABLE table_name_28 ( engine VARCHAR, rounds VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of engine is in the car for Scuderia Ferrari that went all rounds? ### Query: SELECT engine FROM table_name_28 WHE...
### Context: CREATE TABLE table_41409 ( "Name" text, "Status" text, "Authors" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of gao chiappe meng o'connor wang cheng liu? ### Query: SELECT "Name" FROM ...
### Context: CREATE TABLE table_name_27 ( award VARCHAR, work VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which award did Scream receive a nomination and/or win for in 1997? ### Query: SELECT award FROM table_name_27 WHERE work = "screa...
### Context: CREATE TABLE Catalog_Structure ( catalog_level_number INTEGER, catalog_id INTEGER, catalog_level_name VARCHAR(50) ) CREATE TABLE Attribute_Definitions ( attribute_id INTEGER, attribute_name VARCHAR(30), attribute_data_type VARCHAR(10) ) CREATE TABLE Catalog_Contents ( catalog_...
### Context: CREATE TABLE table_name_55 ( loss VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which loss has an Attendance of 23,952? ### Query: SELECT loss FROM table_name_55 WHERE attendance = "23,952"
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_12555835_1 ( population__region_total_ VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are given for the region's total in 1947? ### Query: SELECT COUNT(population__region_total_) FROM table_1255...
### Context: CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE country ( Country_id int, Country_name text, Ca...
### Context: CREATE TABLE table_name_2 ( females_rank INTEGER, state VARCHAR, females___percentage_ VARCHAR, hiv_awareness__males_percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Females Rank is the highest one that has Females (%) la...
### Context: 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, admissi...
### Context: CREATE TABLE table_37992 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date at memorial stadium minneapolis, mn, and an Opponent of northwestern? ###...
### Context: CREATE TABLE table_name_46 ( date_made VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Note of 45/48 renumbered 15/16; two sold to sl&ncr? ### Query: SELECT date_made FROM table_name_46 WHERE notes = "45/48 renumbered 1...
### Context: CREATE TABLE table_name_96 ( elevation_ VARCHAR, _height VARCHAR, delivery VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Elevation + Height has a Delivery of barge and a Location of bikini, yurochi aka irioj (dog...
### Context: CREATE TABLE table_23417 ( "Team" text, "Truck(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Listed Owner(s)" text, "Crew Chief" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number truck is owned by St...
### Context: CREATE TABLE table_2259502_2 ( outcome VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome in games where the score was 7-5, 2-6, [6-10]? ### Query: SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-...
### Context: CREATE TABLE table_48353 ( "Discipline" text, "Championship" text, "Circuit" text, "Event" text, "Session" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the Indianapolis Sweepstakes race session, what is the championship? ### Query...
### Context: CREATE TABLE table_name_57 ( qual INTEGER, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total qual where the grid number is 24? ### Query: SELECT SUM(qual) FROM table_name_57 WHERE grid = 24
### Context: 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 ...
### Context: CREATE TABLE table_name_38 ( episode VARCHAR, money_requested__£_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Episode has requested 150,000? ### Query: SELECT episode FROM table_name_38 WHERE money_requested__£_ = "150,000"
### Context: CREATE TABLE candidate ( candidate_id number, people_id number, poll_source text, date text, support_rate number, consider_rate number, oppose_rate number, unsure_rate number ) CREATE TABLE people ( people_id number, sex text, name text, date_of_birth text, ...
### Context: CREATE TABLE table_24673710_1 ( winning_boat VARCHAR, entries VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 61 is the entries what is the winning boat? ### Query: SELECT winning_boat FROM table_24673710_1 WHERE entries = 61
### Context: CREATE TABLE table_78880 ( "Pick #" real, "Brand (to)" text, "Employee (Real name)" text, "Role" text, "Brand (from)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the real name of the Pick # that is greater than 9? ### Query:...
### Context: CREATE TABLE table_name_56 ( name VARCHAR, winning_constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Name has a Winning constructor of ansaldo? ### Query: SELECT name FROM table_name_56 WHERE winning_constructor = "ansaldo"
### Context: CREATE TABLE table_name_82 ( attendance VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of people in attendance when the time is 3:00? ### Query: SELECT attendance FROM table_name_82 WHERE time = "3:00"
### Context: CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE party ( Par...
### Context: CREATE TABLE table_203_339 ( id number, "year" text, "car" number, "start" number, "qual" number, "rank" number, "finish" number, "laps" number, "led" number, "retired" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE table_60276 ( "Model" text, "Year" text, "Type" text, "Engine" text, "Displacement cc" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What cc displacement has an i6 engine in 1936? ### Query: SELECT "Displacement cc" FROM ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, rout...
### Context: 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, gend...
### Context: CREATE TABLE Locations ( Location_ID INTEGER, Location_Name VARCHAR(255), Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Tourist_Attractions ( Tourist_Attraction_ID INTEGER, Attraction_Type_Code CHAR(15), Location_ID INTEGER, How_to_Get_There VARCHAR(255), ...
### Context: CREATE TABLE table_15985 ( "Week" real, "Dance/song" text, "Horwood" text, "Goodman" text, "Dixon" text, "Tonioli" text, "Total" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score did Goodman give to al...
### Context: CREATE TABLE table_44334 ( "Edition" text, "Round" text, "Date" text, "Partnering" text, "Against" text, "Surface" text, "Opponents" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was partnering when nueza...
### Context: CREATE TABLE table_37074 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has a save of smith (22)? ### Query: SELECT "Opponent" FROM table_37074 WHERE "Sav...
### Context: CREATE TABLE table_name_30 ( bronze INTEGER, rank VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Bronze with a 17 Rank and a Total less than 5 ### Query: SELECT MIN(bronze) FROM table_name_30 WHERE rank = "...
### Context: CREATE TABLE player ( player_id number, player text, years_played text, total_wl text, singles_wl text, doubles_wl text, team number ) CREATE TABLE country ( country_id number, country_name text, capital text, official_native_language text ) CREATE TABLE team (...
### Context: CREATE TABLE table_name_19 ( match INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for match when the draws in more than 0, the team is Polonia Bydgoszcz, and there are less t...
### Context: CREATE TABLE Addresses ( address_id VARCHAR, zip_postcode VARCHAR ) CREATE TABLE Teachers ( email_address VARCHAR, address_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the email addresses of teachers whose address has zip ...
### Context: CREATE TABLE table_name_56 ( original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)? ### Query: SELE...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE transfers ( row_id number, subject_id nu...
### Context: CREATE TABLE table_59783 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? ...
### Context: CREATE TABLE table_name_62 ( total INTEGER, silver VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest total medals when there were 0 gold medals and 1 silver? ### Query: SELECT MAX(total) FROM table_name_62 WHE...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE club ( club_id number, club_name text, region text, start_year number ) CREATE TABLE match_result ( rank number, club_id number, gold number, big_silver number, small_silver number, bronze number, points number ) CREATE TABLE player_coach ( pla...
### Context: CREATE TABLE table_name_13 ( austria VARCHAR, croatia VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is shown for Austria when Croatia shows Ireland? ### Query: SELECT austria FROM table_name_13 WHERE croatia = "ireland"
### Context: CREATE TABLE table_538 ( "Team" text, "Car(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Owner(s)" text, "Crew Chief" text, "Rounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was crew chief for t...
### Context: CREATE TABLE table_32947 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which away team has a score of 9.12...
### Context: CREATE TABLE table_29377 ( "Season" real, "Series" text, "Team" text, "Starts" real, "Wins" real, "Podiums" real, "Poles" real, "Fastest Laps" real, "Points" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_14325808_1 ( area__km²_ VARCHAR, population__2007_estimation_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many places of whatever size have a 2007 population estimation of 7996? ### Query: SELECT COUNT(area__km²_) FROM...
### Context: CREATE TABLE table_1668 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes numb...
### Context: CREATE TABLE table_51642 ( "Year" real, "Franchise" text, "League" text, "Percentage" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Finish when NL was the League, the Percentage was under 0.726, the Year was...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_20809 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the ...
### Context: CREATE TABLE table_32602 ( "Year" real, "Sportsperson" text, "Nationality" text, "Team" text, "Competition , federation , or league" text, "Sport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Post 1994, who are the winners of Spor...
### Context: CREATE TABLE table_39118 ( "Country" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who holds the lead role when Aanders Brorson is third? ### Query: SELECT "Lead" FROM table_39118...
### Context: CREATE TABLE table_60216 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much money does the player with a 68-71-68-72=279 score have?...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, it...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### Context: CREATE TABLE table_59970 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the away team that tottenham hotspur played? ### Query: SELECT "Away team" FROM ta...
### Context: CREATE TABLE table_63782 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the least bronze when the nation is soviet union and the total is less ...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_33302 ( "Song" text, "Release date" text, "Release info" text, "Formats" text, "Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which song released on heavenly (hvn152)? ### Query: SELECT "Song" FROM table_3330...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_203_56 ( id number, "star" text, "start\nyear" number, "end\nyear" number, "maximum\nyear" number, "maximum\nmagnitude" number, "distance at\nmaximum (ly)" number, "current\ndistance" number, "current\nmagnitude" number ) -- Using valid SQLite, answe...
### Context: 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...
### Context: CREATE TABLE affiliated_with ( physician number, department number, primaryaffiliation boolean ) CREATE TABLE physician ( employeeid number, name text, position text, ssn number ) CREATE TABLE medication ( code number, name text, brand text, description text ) ...
### Context: CREATE TABLE table_name_18 ( years VARCHAR, actor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years have claudia ruffo as the actor? ### Query: SELECT years FROM table_name_18 WHERE actor = "claudia ruffo"
### Context: CREATE TABLE table_204_630 ( id number, "no" number, "date" text, "race" text, "track" text, "winner" text, "reports" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what race is immediately after the pennsylvania 200 ? ### Quer...
### Context: CREATE TABLE table_204_727 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who had the next highest number of gold medals after...
### Context: CREATE TABLE table_name_13 ( virtual_channel VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Call sign of k43hb-ld is what virtual channel? ### Query: SELECT virtual_channel FROM table_name_13 WHERE call_sign = "k43hb-ld"
### Context: 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 prescriptions ( subject_id text...
### Context: 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, reli...
### Context: CREATE TABLE table_dev_16 ( "id" int, "white_blood_cell_count_wbc" int, "autoimmune_disease" bool, "creatinine_clearance_cl" float, "platelet_count" float, "collagen_vascular_disease" bool, "hypertension" bool, "systemic_corticosteroids" bool, "NOUSE" float ) -- Using ...
### Context: CREATE TABLE song ( languages VARCHAR, rating INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rating of songs for each language? ### Query: SELECT AVG(rating), languages FROM song GROUP BY languages
### Context: CREATE TABLE table_name_69 ( icao VARCHAR, iata VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the ICAO for IATA of rgn ### Query: SELECT icao FROM table_name_69 WHERE iata = "rgn"
### Context: CREATE TABLE table_17692 ( "Club" text, "Overall Record" text, "Goals For" real, "Goals For Avg." text, "Goals Against" real, "Goals Against Avg." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the goals for when the club is...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_typ...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### Context: CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE section ( course_id varchar(8), sec_...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE outputevents ( row_id number, subject_id...
### Context: CREATE TABLE table_name_57 ( points_1 INTEGER, goal_difference VARCHAR, drawn VARCHAR, goals_against VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most points 1 when the goals against are fewer than 97, los...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE table_name_52 ( song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1? ### Query: SELECT ...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( row_id number...
### Context: CREATE TABLE table_name_52 ( losses VARCHAR, goals_for VARCHAR, games_played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses did the team with 22 goals for andmore than 8 games played have? ### Query: SELECT COUNT(losses) FRO...
### Context: 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, gend...
### Context: 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, admissi...
### Context: CREATE TABLE table_57360 ( "Player" text, "Car." real, "Yards" text, "Avg." text, "TD's" real, "Long" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of TD's for 4 avg. ### Query: SELECT SUM("TD's") FROM table_57360 ...