text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_27 ( opponent VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent, when Location is 'Winnipeg, Manitoba , Canada'? ### Query: SELECT opponent FROM table_name_27 WHERE location = "winnipeg, m...
### Context: CREATE TABLE table_57549 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What MLB draft has a School of green valley high school? ### Query: SELECT "MLB Draft...
### Context: CREATE TABLE table_name_16 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team's score when the away team is geelong? ### Query: SELECT away_team AS score FROM table_name_16 WHERE away_team = "geelong"
### Context: CREATE TABLE table_204_668 ( id number, "#" number, "menteri besar" text, "took office" text, "left office" text, "party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is listed below onn jaafar ? ### Query: SELECT "menteri be...
### Context: CREATE TABLE table_10676 ( "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. -- How many people attended the game a...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE diagnos...
### Context: CREATE TABLE table_1784514_1 ( capital VARCHAR, voivodeship_after_1569 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many capitals had brest litovsk voivodeship as voivodeship after 1569? ### Query: SELECT COUNT(capital) FROM table_1784514...
### Context: CREATE TABLE table_name_35 ( director VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the director of Antz? ### Query: SELECT director FROM table_name_35 WHERE title = "antz"
### Context: CREATE TABLE table_15553 ( "Year" real, "Award" text, "Category" text, "Recipient(s)" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which category did Nick Jonas win at the Kids' Choice Awards Mexico? ### Query: SELE...
### Context: CREATE TABLE table_3550 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHat was the max public with danniella and matthew...
### Context: CREATE TABLE table_10935 ( "Round" text, "Pick" text, "Player" text, "Nationality" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which pick was from Lamar High School? ### Query: SELECT "Pick" FROM table_10935 WHERE "Sc...
### Context: CREATE TABLE table_202_72 ( id number, "year" number, "single" text, "chart" text, "position" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which singles each appear at position 22 ? ### Query: SELECT "single" FROM table_202_72 WHER...
### Context: CREATE TABLE table_31801 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue has a week smaller than 2? ### Query: SELECT "Venue" FROM ta...
### Context: CREATE TABLE table_53339 ( "Season" text, "Division" text, "Position" text, "Played" text, "Lost" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the value for played when the division is nbl div2 with 12th posi...
### Context: CREATE TABLE table_name_20 ( fate VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fate of the ship on 26 April 1942? ### Query: SELECT fate FROM table_name_20 WHERE date = "26 april 1942"
### Context: CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int...
### Context: CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( ...
### Context: CREATE TABLE table_name_8 ( erp_w VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of ERP W when the call sign is w217bf ### Query: SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf"
### Context: CREATE TABLE authorship ( paperid VARCHAR, instid VARCHAR ) CREATE TABLE inst ( instid VARCHAR, name VARCHAR ) CREATE TABLE papers ( title VARCHAR, paperid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of paper...
### Context: CREATE TABLE table_name_62 ( date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date was the Attendance 63,546? ### Query: SELECT date FROM table_name_62 WHERE attendance = "63,546"
### Context: CREATE TABLE table_name_96 ( finish VARCHAR, total VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what place did Phil Mickelson finish with a total of 282? ### Query: SELECT finish FROM table_name_96 WHERE total = 282 AND...
### 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 jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### 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 CUSTOMER ( FirstName VARCHAR, CustomerId VARCHAR, country VARCHAR ) CREATE TABLE INVOICE ( CustomerId VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the first names of all customers that live in Brazil and have an invo...
### Context: CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the numbe...
### Context: CREATE TABLE table_name_91 ( capacity INTEGER, highest INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest capacity when the largest number in attendance is 6,192? ### Query: SELECT MAX(capacity) FROM table_name_91 WHERE highest...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid...
### 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_1014206_2 ( _number VARCHAR, commissioned VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the # for ships commissioned on december 18, 1965. ### Query: SELECT _number FROM table_1014206_2 WHERE commissioned = "December 18...
### Context: CREATE TABLE table_name_83 ( position VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In round 3 what was the position? ### Query: SELECT position FROM table_name_83 WHERE round = "3"
### Context: CREATE TABLE table_53951 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Alternate for Sweden? ### Query: SELECT "Alternate" FROM table_5...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, ...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE Votes ( Id number, PostId number, ...
### 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 inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, item...
### Context: CREATE TABLE table_42913 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date after Week 6 was a Bye? ### Query: SELECT "Date" FROM table_42913 WHERE "Week" >...
### Context: CREATE TABLE fgwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSUR...
### Context: CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_53859 ( "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 score during the competition of 1998 fifa world cup qualification? ### Query: ...
### 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_78442 ( "Matches" text, "Player" text, "Lost" text, "Drawn" text, "Tied" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the drawn that has a tie of 0 and the player is chris cowdrey ### Query: SELECT "...
### Context: CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_zone ( time_zone_code text, ...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_81 ( score INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest score that wes ellis got? ### Query: SELECT MIN(score) FROM table_name_81 WHERE player = "wes ellis"
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatmen...
### Context: CREATE TABLE table_25409 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which outcomes have a final score of 6 3,...
### Context: CREATE TABLE table_name_30 ( opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Mariners play when they had a record of 33-45? ### Query: SELECT opponent FROM table_name_30 WHERE record = "33-45"
### Context: CREATE TABLE table_24706 ( "Rank" real, "School" text, "Basic Elements" text, "Tumbling" text, "Stunts" text, "Tosses" text, "Pyramids" text, "Deductions" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If t...
### 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 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 universi...
### Context: 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 I...
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, ...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE FlagTy...
### Context: CREATE TABLE table_10259 ( "Rank" real, "Mountain Pass" text, "State" text, "Elevation" text, "Route" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the route that has a rank higher than 63, and Separation Summit as its mountain...
### Context: CREATE TABLE table_name_65 ( form_factor VARCHAR, capacities__gb_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What form factor has capacities at 60/120/180/240? ### Query: SELECT form_factor FROM table_name_65 WHERE capacities__gb_ = "60/120...
### Context: CREATE TABLE table_48964 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the team Unics Kazan's 1st leg score? ### Query: SELECT "1st leg" FROM table_4896...
### Context: CREATE TABLE table_name_89 ( operator VARCHAR, region VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the operator of the ensemble from Yorkshire? ### Query: SELECT operator FROM table_name_89 WHERE region = "yorkshire"
### 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_DIRE_CD text, MED_...
### Context: CREATE TABLE table_22189 ( "State" text, "City" text, "Population" real, "Violent Crime" text, "Murder and Non-Negligent Manslaughter" text, "Forcible Rape" text, "Robbery" text, "Aggravated Assault" text, "Property Crime" text, "Burglary" text, "Larceny-Theft" t...
### Context: CREATE TABLE table_53087 ( "Rd #" real, "Pick #" real, "Player" text, "Team (League)" text, "Reg GP" real, "Pl GP" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks had a Reg GP that was over 906, when the Pl GP was bigg...
### Context: CREATE TABLE table_name_30 ( silver INTEGER, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of silver medals won for rank 7? ### Query: SELECT SUM(silver) FROM table_name_30 WHERE rank = "7"
### Context: CREATE TABLE table_20901 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Brendon Labatte get picked? ### Query: SELECT MIN("Pick #") FROM table_20901 ...
### Context: CREATE TABLE table_name_49 ( description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, ...
### Context: CREATE TABLE table_27723228_7 ( high_assists VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high assists for w 107 99 (ot) ### Query: SELECT high_assists FROM table_27723228_7 WHERE score = "W 107–99 (OT)"
### Context: CREATE TABLE table_name_68 ( points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points against did the club with a losing bonus of 3 and 84 tries have? ### Query: SELECT points_ag...
### Context: CREATE TABLE table_4252 ( "Year" real, "Matches" real, "Innings" real, "Not out" real, "Runs" real, "High Score" text, "100" real, "50" real, "Average" text, "Strike rate" text, "Catches/Stumpings" text ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_16072430_1 ( air_date VARCHAR, weekly_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What broadcast dates have a weekly rank of 73? ### Query: SELECT COUNT(air_date) FROM table_16072430_1 WHERE weekly_rank = "73"
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_13762472_4 ( high_points VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who had high points on december 3 ### Query: SELECT high_points FROM table_13762472_4 WHERE date = "December 3"
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### 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 table_17725 ( "Year" real, "Population (Region total)" real, "Population (Stanthorpe)" real, "Population (Warwick)" real, "Population (Allora)" real, "Population (Glengallan)" real, "Population (Rosenthal)" real ) -- Using valid SQLite, answer the following questi...
### 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_71773 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game that had a loss of Gott (2-7)? ### Query: SELECT "Date" FROM tabl...
### Context: CREATE TABLE table_name_25 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on January 16, 2010? ### Query: SELECT score FROM table_name_25 WHERE date = "january 16, 2010"
### Context: CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, U...
### Context: CREATE TABLE table_13255 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Hold many gold had more than 16 bronzes? ### Query: SELECT COUNT("Gold") FROM ...
### 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_20904 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the college for calgary stampeders ### Query: SELECT "College" FROM table_20904 WH...
### Context: CREATE TABLE table_name_58 ( surface VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the surface of 2 december 1974 ### Query: SELECT surface FROM table_name_58 WHERE date = "2 december 1974"
### Context: CREATE TABLE zyb ( CLINIC_ID text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_name_9 ( rate VARCHAR, goals INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rate when there were more than 22 goals? ### Query: SELECT rate FROM table_name_9 WHERE goals > 22
### Context: 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, rel...
### Context: CREATE TABLE table_name_7 ( season VARCHAR, professional_partner VARCHAR, average VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season had an average under 28, a rank under 10, and a partner of Janja Lesar? ### Quer...
### Context: CREATE TABLE table_73240 ( "Type of aphasia" text, "Repetition" text, "Naming" text, "Auditory comprehension" text, "Fluency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the fluency for transcortical sensory aphasia ### Query: ...
### Context: CREATE TABLE table_71825 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for week 7 ### Query: SELECT "Res...
### Context: CREATE TABLE table_36251 ( "Rank" real, "Name" text, "Club" text, "Nation" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation are carolina hermann / daniel hermann from? ### Query: SELECT "Nation" FROM table_3625...
### Context: 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...
### Context: CREATE TABLE table_62047 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent played on the 28th with a venue of away? ### Query: SELECT "Opponent" FROM...
### Context: CREATE TABLE table_250309_1 ( models_produced VARCHAR, plant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what models are produced where the plant is scarborough? ### Query: SELECT models_produced FROM table_250309_1 WHERE plant = "Scarboroug...
### Context: CREATE TABLE table_13282157_1 ( Reset INTEGER, events VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest reset points where the events is 23? ### Query: SELECT MAX(Reset) AS points FROM table_13282157_1 WHERE events = 23
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_name_72 ( school VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the School of the Player with a Date of June 4, 2011? ### Query: SELECT school FROM table_name_72 WHERE date = "june 4, 2011"
### Context: CREATE TABLE table_name_87 ( date VARCHAR, ship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Ship of hallbjorg? ### Query: SELECT date FROM table_name_87 WHERE ship = "hallbjorg"
### Context: CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE program ( program_id int, ...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE co...
### Context: CREATE TABLE table_50866 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Tournament has a Finalist of marat safin (12)? ### Quer...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_48 ( player_name VARCHAR, year VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player from after 1989 from Washington State? ### Query: SELECT player_name FROM table_name_48 WH...