text
stringlengths
197
8.39k
### Context: CREATE TABLE table_59106 ( "Child" text, "Date of birth" text, "Mother" text, "Father" text, "DNA testing status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the father of the child whose mother is Presendia Huntington Buell? ...
### 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 mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE table_47638 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Venue on October 27, 2005 had a Score of 5-0? ### Query: SELECT "Venue" FROM table_476...
### Context: CREATE TABLE table_9776 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which event has a Round larger than 2? ...
### 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_44418 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was strikeforce: barnett vs. corm...
### Context: CREATE TABLE table_57660 ( "Edition" real, "Zone" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Outcome" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Euro...
### Context: CREATE TABLE table_17294353_1 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Broncos play the Miami Dolphins? ### Query: SELECT date FROM table_17294353_1 WHERE opponent = "Miami Dolphins"
### Context: CREATE TABLE table_53458 ( "Season" text, "Competition" text, "Round" text, "Club" text, "Home" text, "Away" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away when the Club is Neath? ### Query: S...
### Context: CREATE TABLE table_8370 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date is Olimpia the Home team? ### Query: SELECT "Date" FROM table_8370 WHERE "Home" = '...
### 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 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 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...
### Context: CREATE TABLE table_name_60 ( catalogue VARCHAR, writer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Catalogue has a Writer(s) of mark james? ### Query: SELECT catalogue FROM table_name_60 WHERE writer_s_ = "mark james"
### 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 medicati...
### Context: CREATE TABLE table_1014 ( "Player" text, "Touchdowns (5 points)" real, "Extra points 1 point" real, "Field goals (5 points)" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many touchdowns did Bruce Shorts make? ...
### Context: CREATE TABLE table_12707313_2 ( first_win VARCHAR, pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first win for pos 6? ### Query: SELECT first_win FROM table_12707313_2 WHERE pos = 6
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALA...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( ...
### Context: CREATE TABLE table_49722 ( "Date" text, "Opponent" text, "Result" text, "Score" text, "Record" text, "Location" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the game where the opponent is listed as At Lo...
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE airport ( airport_code varchar, airport_na...
### Context: CREATE TABLE table_name_90 ( location VARCHAR, nickname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location did the Tigers have? ### Query: SELECT location FROM table_name_90 WHERE nickname = "tigers"
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number ) CREATE TABLE enroll ( class_code ...
### Context: CREATE TABLE table_name_81 ( score VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game with a loss of Maholm (2 4)? ### Query: SELECT score FROM table_name_81 WHERE loss = "maholm (2–4)"
### Context: CREATE TABLE table_25691838_12 ( production_code VARCHAR, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code of the episode with an original airdate of december 01? ### Query: SELECT production_code FROM...
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of everybody sorte...
### Context: CREATE TABLE table_name_32 ( gold VARCHAR, year VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won Gold later than 2004 with Notes of 2.73km, 14controls? ### Query: SELECT gold FROM table_name_32 WHERE year > 2004 AND not...
### Context: CREATE TABLE table_25214321_1 ( season INTEGER, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what season was the winner Dado Dolabella? ### Query: SELECT MAX(season) FROM table_25214321_1 WHERE winner = "Dado Dolabella"
### Context: CREATE TABLE table_53703 ( "Year" real, "Date" text, "Album" text, "Label" text, "Format(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Label has a Date of 20 July? ### Query: SELECT "Label" FROM table_53703 WHERE "Date" = '2...
### Context: CREATE TABLE table_204_874 ( id number, "year" number, "winner" text, "runner-up" text, "final score" text, "third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years did budivelnyk not win ? ### Query: SELECT COUNT("yea...
### Context: CREATE TABLE table_name_64 ( apps INTEGER, country VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Apps of indonesia with Goals smaller than 1000? ### Query: SELECT AVG(apps) FROM table_name_64 WHERE countr...
### Context: CREATE TABLE table_21002034_4 ( title VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many titles were directed by Alex Chapple? ### Query: SELECT COUNT(title) FROM table_21002034_4 WHERE director = "Alex Chapple"
### Context: CREATE TABLE table_49175 ( "Year" text, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which time contains the jockery of isaac murphy as well as the winner of kingm...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE table_name_45 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team plays home at Princes Park? ### Query: SELECT home_team FROM table_name_45 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_4 ( total_matches INTEGER, points__percentage VARCHAR, points_won VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total matches in 2002 where points won is larger than 1.5 and the points %...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( ...
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE Tags ( Id number, TagName text, ...
### 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 category ( category_id TINYINT UNSIGNED, name VARCHAR(25), last_update TIMESTAMP ) CREATE TABLE language ( language_id TINYINT UNSIGNED, name CHAR(20), last_update TIMESTAMP ) CREATE TABLE store ( store_id TINYINT UNSIGNED, manager_staff_id TINYINT UNSIGNED, ...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, char...
### Context: CREATE TABLE follows ( f1 number, f2 number ) CREATE TABLE tweets ( id number, uid number, text text, createdate time ) CREATE TABLE user_profiles ( uid number, name text, email text, partitionid number, followers number ) -- Using valid SQLite, answer the fo...
### Context: CREATE TABLE Student ( advisor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which advisor has most number of students? ### Query: SELECT advisor FROM Student GROUP BY advisor ORDER BY COUNT(*) DESC LIMIT 1
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) ...
### Context: CREATE TABLE table_16815 ( "model" text, "max. motive power" text, "max. torque at rpm" text, "engine displacement" text, "engine type" text, "engine configuration & notes 0-100km/h" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: CREATE TABLE table_60301 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Northern Ireland Player has more than 36,000 Money with a To...
### Context: CREATE TABLE airports ( apid number, name text, city text, country text, x number, y number, elevation number, iata text, icao text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, a...
### Context: CREATE TABLE table_6819 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Leading scorer of ricky davis (20)? ### Query: SELECT "Date...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time in...
### Context: CREATE TABLE table_25940 ( "SF Round" real, "Country" text, "Location" text, "Date" text, "Driver" text, "Race 1(pts)" real, "Race 2(pts)" real, "Race Total(pts)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every ...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE fzzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM tex...
### Context: CREATE TABLE table_3135 ( "Rank" real, "Team" text, "Round1" real, "Round2" real, "Round3" real, "Round4" real, "Total points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did the team who had 325 total points ...
### Context: CREATE TABLE table_204_824 ( id number, "no." number, "train no:" text, "origin" text, "destination" text, "train name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first destination in the chart ? ### Query: SELECT "...
### Context: CREATE TABLE table_1341522_41 ( status VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election where william f. goodling was the incumbent? ### Query: SELECT status FROM table_1341522_41 WHERE incum...
### Context: CREATE TABLE table_7904 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round was northeastern college player Reggie Lewis drafted in? ### Query: SELECT MIN(...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnon...
### 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_name_43 ( time_retired VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time/Retired has a Rider of daijiro kato? ### Query: SELECT time_retired FROM table_name_43 WHERE rider = "daijiro kato"
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, ...
### Context: CREATE TABLE table_name_78 ( home_team VARCHAR, aedt_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home team score has a AEDT Time of 11:00 pm? ### Query: SELECT home_team AS score FROM table_name_78 WHERE aedt_time = "11:00 pm"
### Context: CREATE TABLE table_6811 ( "Name" text, "Position" text, "Number" text, "School/Club Team" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name for the forward in the 2009-2010 season...
### Context: CREATE TABLE table_1965650_4 ( pick__number INTEGER, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the smallest pick number of a player playing in Minnesota North Stars? ### Query: SELECT MIN(pick__number) FROM table_1965650_4 ...
### Context: CREATE TABLE table_1566852_5 ( date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 20 questions for 8-04 ### Query: SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04"
### Context: CREATE TABLE table_62192 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Eduardo Romero's score? ### Query: SELECT "Score" FROM table_62192 WHERE "Player" = ...
### Context: CREATE TABLE table_58225 ( "Rank" real, "Movie" text, "Year" real, "Worldwide Gross" text, "Director" text, "Verdict" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How did the jab tak hai jaan movie gross worldwide? ### Query: SEL...
### Context: CREATE TABLE table_9272 ( "Team" text, "Outgoing manager" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had Christoph John as an outgoing manager? ### ...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_tri...
### 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_61584 ( "Minister" text, "Party" text, "Governments" text, "Term start" text, "Term end" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which goverment had a party of yisrael beiteinu? ### Query: SELECT "Governments"...
### 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 table_name_99 ( surface VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has an Opponent of oleksandra kravets? ### Query: SELECT surface FROM table_name_99 WHERE opponent = "oleksandra kravets"
### 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 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 Ref_Address_Types ( address_type_code VARCHAR(15), address_type_description VARCHAR(80) ) CREATE TABLE Student_Addresses ( student_id INTEGER, address_id INTEGER, date_address_from DATETIME, date_address_to DATETIME, monthly_rental DECIMAL(19,4), other_details ...
### 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 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 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 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 gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE table_name_5 ( diameter__km_ VARCHAR, diameter__mi_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows as the Diameter (km) when the Diameter (mi) is 5mi? ### Query: SELECT diameter__km_ FROM table_name_5 WHERE diameter__mi_...
### Context: CREATE TABLE table_name_31 ( method VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method of resolution when Katsuhisa Fujii's record was 0-1? ### Query: SELECT method FROM table_name_31 WHERE record = "0-1"
### Context: CREATE TABLE table_17941032_1 ( lost VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 22 is the tries for what is the lost? ### Query: SELECT lost FROM table_17941032_1 WHERE tries_for = "22"
### 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 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 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 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_ti...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_name_54 ( player VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the golfer that golfs for Northern Ireland? ### Query: SELECT player FROM table_name_54 WHERE country = "northern ireland"
### 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 Projects ( Code Char(4), Name Char(50), Hours int ) CREATE TABLE AssignedTo ( Scientist int, Project char(4) ) CREATE TABLE Scientists ( SSN int, Name Char(30) ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the nu...
### Context: CREATE TABLE table_1341472_34 ( first_elected VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first elected for new york 1 ### Query: SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 1"
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time...
### Context: CREATE TABLE table_10015132_1 ( school_club_team VARCHAR, no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did player number 6 come from? ### Query: SELECT school_club_team FROM table_10015132_1 WHERE no = "6"
### Context: CREATE TABLE table_19357 ( "Team" text, "Average" text, "Points" real, "Played" real, "1987-88" text, "1988-89" text, "1989-90" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points total for san lorenzo? ### Query: SE...
### 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 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...