text
stringlengths
197
8.39k
### 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_train_273 ( "id" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "body_weight" float, "hba1c" float, "insulin_requirement" float, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for...
### Context: CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment...
### Context: CREATE TABLE Order_Items ( Order_Item_ID INTEGER, Order_ID INTEGER, Product_ID INTEGER, Order_Quantity VARCHAR(288), Other_Item_Details VARCHAR(255) ) CREATE TABLE Bookings ( Booking_ID INTEGER, Customer_ID INTEGER, Workshop_Group_ID VARCHAR(100), Status_Code CHAR(15), ...
### Context: CREATE TABLE table_name_28 ( seats INTEGER, _percentage_change VARCHAR, _percentage_votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the fewest seats with a -3.7% change and more than 4.7% votes? ### Query: SELECT MIN(seats) FR...
### Context: CREATE TABLE table_69873 ( "Year" text, "Team" text, "Number" text, "BB +HBP" real, "BA (Place)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA ...
### Context: CREATE TABLE table_76915 ( "Year" real, "Film" text, "Role" text, "Director" text, "Studio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Year of the Film Klondike Annie? ### Query: SELECT SUM("Year") FROM table_76915 WHER...
### 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 demographic ( subject_id text, ...
### Context: 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 ...
### Context: CREATE TABLE table_46528 ( "car model" text, "displacement & configuration" text, "max. motive power @ rpm" text, "max. torque @ rpm" text, "max. speed" text, "emissions CO2" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th...
### Context: CREATE TABLE table_51708 ( "Year" real, "Category" text, "Character" text, "For The Show" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What show had a nomination for best actor in a lead role female (popular) in 2006? ...
### Context: CREATE TABLE table_name_95 ( home_team VARCHAR, crowd INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team has had a crowd bigger than 20,000? ### Query: SELECT home_team FROM table_name_95 WHERE crowd > 20 OFFSET 000
### 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 student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) ...
### Context: CREATE TABLE table_56287 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Nashville was the visiting team what was the low...
### Context: CREATE TABLE table_26548 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the n...
### Context: CREATE TABLE table_60959 ( "Cover Date" text, "Story Title" text, "Writer/s" text, "Letterer/s" text, "Colourist/s" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Colourist that has a Story Title of Broken Glass (part 3) and ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid n...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE...
### 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_13139 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the player for Japan when the to par was smaller than 7? ### Query: SELECT "Player" F...
### Context: CREATE TABLE table_201_44 ( id number, "year" number, "title" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which of elizabeth berkley 's films got her the most award nominations ? ### Query: SELECT "title" ...
### 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_name_90 ( second VARCHAR, lead VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Second when Michel Gribi is the lead? ### Query: SELECT second FROM table_name_90 WHERE lead = "michel gribi"
### Context: CREATE TABLE table_53294 ( "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 plays at Arden Stre...
### Context: CREATE TABLE table_39182 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Series of bruins lead 3 1? ### Query: SELECT SUM("Game") FROM table_39182 WHER...
### Context: CREATE TABLE table_name_90 ( tournament INTEGER, total VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tournament titles for iowa state with 3 total titles? ### Query: SELECT MAX(tournament) FROM table_name_90 WHERE to...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) CREATE TABLE t_kc21 ( 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, I...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE cost ( row_id number,...
### 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_32421 ( "Season" real, "Driver" text, "Team" text, "Engine" text, "Poles" real, "Wins" real, "Podiums" real, "Points" real, "Margin of defeat" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the...
### Context: CREATE TABLE table_name_22 ( average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3? ### Query: SELECT MIN(a...
### Context: CREATE TABLE table_40013 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Set 4" text, "Set 5" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was set 3 of 18-25? ### Query: SELECT "...
### Context: CREATE TABLE table_204_549 ( id number, "series\nnumber" text, "key" text, "composed" text, "published" text, "opus no." text, "brown" text, "kobylanska" text, "chominski" text, "dedication" text, "notes" text ) -- Using valid SQLite, answer the following quest...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int )...
### Context: CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREA...
### 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 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, val...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, ...
### Context: CREATE TABLE table_55379 ( "Sport" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Shooting Total with a Bronze less than 0? ### Query: SELECT MAX("Total") FRO...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number i...
### Context: CREATE TABLE table_32690 ( "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. -- What was the lowest crowd size when...
### Context: CREATE TABLE table_8268 ( "Name" text, "Date" text, "Defending forces" text, "Brigade" text, "Population" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which brigade has a population of 190? ### Query: SELECT "Brigade" FROM table_8268...
### Context: CREATE TABLE table_name_94 ( traffic_direction VARCHAR, street VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the traffic direction of 97th street? ### Query: SELECT traffic_direction FROM table_name_94 WHERE street = "97th street"
### Context: CREATE TABLE table_203_563 ( id number, "#" number, "judge" text, "state" text, "born/died" text, "active" text, "chief" text, "senior" text, "appointed by" text, "reason for\ntermination" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, mi...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime ...
### Context: CREATE TABLE table_59569 ( "Club" text, "Wins" real, "Byes" real, "Losses" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which wins have less than 1 bye? ### Query: SELECT MAX("Wins") FROM table_59569 WHERE "Byes" < '1...
### Context: CREATE TABLE table_70343 ( "Year" text, "Total (000s)" real, "Israel" real, "Germany" real, "Jews (Halakha) in Israel" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the amount of 000s when Germany had 16.6? ### Query: SELECT ...
### Context: CREATE TABLE table_54289 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did they lose to 3-17? ### Query: SELECT "Opponent" FROM table_54289...
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startda...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( ...
### Context: CREATE TABLE table_23725 ( "Date" text, "Presenter" text, "Guest 1" text, "Guest 2" text, "Guest 3" text, "Guest 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and ...
### Context: 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), ST...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE table_name_64 ( team_1 VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team 1 for round 3 ### Query: SELECT team_1 FROM table_name_64 WHERE round = "3"
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE table_25711913_14 ( field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many field goals were scored by the player that got 7 touchdowns? ### Query: SELECT field_goals__4_points_...
### 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 table_52272 ( "Name" text, "Years" text, "Area" text, "Authority" text, "Decile" text, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the school with a decile of 1, a state authority, and loca...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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...
### Context: CREATE TABLE table_31596 ( "Year" real, "Date" text, "Event" text, "Days" text, "Stages" text, "Acts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the stages for 1981 ### Query: SELECT "Stages" FROM table_31596 WHERE "Yea...
### Context: CREATE TABLE table_name_27 ( language VARCHAR, film_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what language is seethaiah in ### Query: SELECT language FROM table_name_27 WHERE film_name = "seethaiah"
### 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_name_89 ( date VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the date of stade des martyrs, dr congo ### Query: SELECT date FROM table_name_89 WHERE venue = "stade des martyrs, dr congo"
### 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_45257 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum for the week with the date october 30, 1994? ### Query: SELECT SUM("Week")...
### Context: CREATE TABLE table_23662356_3 ( average VARCHAR, number_of_dances VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many averages were listed for the couple who had 12 dances? ### Query: SELECT COUNT(average) FROM table_23662356_3 WHERE number...
### Context: CREATE TABLE table_name_51 ( type VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the school type for Los Angeles, California? ### Query: SELECT type FROM table_name_51 WHERE location = "los angeles, california"
### Context: CREATE TABLE table_203_267 ( id number, "no." number, "song" text, "singers" text, "length (m:ss)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of songs sung by two singers ? ### Query: SELECT COUNT("song") FROM ta...
### Context: CREATE TABLE table_70625 ( "Position" text, "Name" text, "Height" text, "Weight (lbs.)" real, "Hometown" text, "Draft Year" real, "Pick" text, "All-Stars" text, "NBA Championships" text, "NBA Team" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE table_14903081_1 ( current_venue VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current venue for the Miami Masters tournament? ### Query: SELECT current_venue FROM table_14903081_1 WHERE tournament ...
### Context: CREATE TABLE table_75294 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- after december 29 what is the score? ### Query: SELECT "Score" FROM tabl...
### Context: CREATE TABLE table_68431 ( "Episode" text, "First aired" text, "Entrepreneur(s)" text, "Company or product name" text, "Money requested (\u00a3)" real, "Investing Dragon(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much mo...
### Context: CREATE TABLE table_2639433_4 ( timeslot VARCHAR, episodes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the episode was number 234, what was it's timeslot? ### Query: SELECT timeslot FROM table_2639433_4 WHERE episodes = 234
### Context: CREATE TABLE table_name_56 ( car INTEGER, yards INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Car with more than 155 yards? ### Query: SELECT MAX(car) FROM table_name_56 WHERE yards > 155
### Context: CREATE TABLE table_46120 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school has a public nickname, founded after 1838 in Harrisonburg, Va? ### Que...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time...
### Context: CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text ) CREATE TABLE song ( song_name text, artist_name text, country text, ...
### 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_name_31 ( recorded VARCHAR, track VARCHAR, translation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which recording has a Track larger than 2, and a Translation of the last meal? ### Query: SELECT recorded FROM table_na...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( JYZBLSH te...
### Context: CREATE TABLE table_22907 ( "Draw" real, "Country" text, "Language" text, "Artist" text, "Song" text, "English translation" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the English translation is hello girl, w...
### Context: CREATE TABLE table_name_71 ( opponent VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent had a time of 0:29? ### Query: SELECT opponent FROM table_name_71 WHERE time = "0:29"
### Context: CREATE TABLE aircraft ( Aircraft_ID int(11), Aircraft varchar(50), Description varchar(50), Max_Gross_Weight varchar(50), Total_disk_area varchar(50), Max_disk_Loading varchar(50) ) CREATE TABLE match ( Round real, Location text, Country text, Date text, Fastest...
### Context: CREATE TABLE payments ( payment_id number, settlement_id number, payment_method_code text, date_payment_made time, amount_payment number ) CREATE TABLE settlements ( settlement_id number, claim_id number, date_claim_made time, date_claim_settled time, amount_claimed...
### Context: CREATE TABLE table_204_506 ( id number, "seasons" number, "team" text, "ch.wins" number, "promotions" number, "relegations" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many teams are listed ? ### Query: SELECT COUNT("team"...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...
### 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 patient ...
### Context: CREATE TABLE table_name_13 ( label VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Label has a Catalog of 486 136-2? ### Query: SELECT label FROM table_name_13 WHERE catalog = "486 136-2"
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE offering_inst...
### 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 comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campu...
### Context: CREATE TABLE table_11268 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What field did the Home Team score 5.10 (40)? ### Qu...
### Context: CREATE TABLE table_name_40 ( goals_for VARCHAR, played VARCHAR, draws VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller tha...
### Context: CREATE TABLE mzb ( 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_94 ( bronze INTEGER, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most bronze when the total is 9? ### Query: SELECT MAX(bronze) FROM table_name_94 WHERE total = 9
### Context: CREATE TABLE table_name_24 ( date VARCHAR, location_attendance VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the location attendance at&t center 18,797, and a game earlier than 57? ### Query: SELECT date FROM ta...