text
stringlengths
197
8.39k
### Context: CREATE TABLE table_7393 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the match against roger federer on April 3, 20...
### Context: CREATE TABLE table_4044 ( "School" text, "Gender" text, "Age Range" text, "Religious Affiliation" text, "Location" text, "School website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the cunningham hill infant school loca...
### Context: CREATE TABLE table_32386 ( "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 is the smallest crowd for a ga...
### Context: CREATE TABLE table_203_824 ( id number, "pick #" number, "player" text, "position" text, "nationality" text, "nhl team" text, "college/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the next player pick...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE comment_instructor ( inst...
### Context: CREATE TABLE table_name_23 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the away team who played Footscray? ### Query: SELECT away_team FROM table_name_23 WHERE home_team = "footscray"
### Context: CREATE TABLE resultsdata15 ( sample_pk number, commod text, commtype text, lab text, pestcode text, testclass text, concen number, lod number, conunit text, confmethod text, confmethod2 text, annotate text, quantitate text, mean text, extract text...
### 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 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 Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### 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_name_22 ( defending_forces VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What defending forces have a population of 650? ### Query: SELECT defending_forces FROM table_name_22 WHERE population = "650"
### 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_88 ( score VARCHAR, visiting_team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for Edmonton Drillers on January 6, 2008? ### Query: SELECT score FROM table_name_88 WHERE visiting_te...
### Context: CREATE TABLE table_204_398 ( id number, "title" text, "year" number, "publisher" text, "developer" text, "platforms" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which publisher worked on a title consecutively from 1982-1989 ? ##...
### 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 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_84 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for Greg Norman ### Query: SELECT score FROM table_name_84 WHERE player = "greg norman"
### Context: CREATE TABLE table_71266 ( "Year" real, "Venue" text, "Winner" text, "Country" text, "Score" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sum of the scores before the year 2002, that had the venue of Halmstad? ### Query:...
### Context: CREATE TABLE table_25531112_2 ( challenge VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who made the challenge in the Australian Grand Prix? ### Query: SELECT challenge FROM table_25531112_2 WHERE event = "Australian Grand Prix"
### Context: CREATE TABLE table_name_50 ( tournament VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Tournament was laura Gildemeister the Opponent? ### Query: SELECT tournament FROM table_name_50 WHERE opponent = "laura gildemeiste...
### Context: CREATE TABLE table_train_127 ( "id" int, "depression" bool, "mini_mental_state_examination_mmse" int, "back_pain" bool, "renal_disease" bool, "osteoarthritis" bool, "hamilton_depression_scale_hds" int, "liver_disease" bool, "painful_condition" bool, "other_chronic_mu...
### Context: CREATE TABLE DEPARTMENT ( Division VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of departments in Division 'AS'? ### Query: SELECT COUNT(*) FROM DEPARTMENT WHERE Division = "AS"
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE fare_basis ( far...
### Context: CREATE TABLE table_6335 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_37627 ( "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real, "Nickname" text, "Present Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number ...
### 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 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_14871 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country of the player with a score of 69-74-71=214? ### Query: SELECT "Country" F...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE microbiologyevents ( row_id number, subj...
### Context: CREATE TABLE table_79158 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_49945 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Venue when the score was 1 1, and the result was 2 2? ### Query: SELECT "Venue"...
### Context: CREATE TABLE table_name_40 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team plays at Punt Road Oval? ### Query: SELECT home_team FROM table_name_40 WHERE venue = "punt road oval"
### Context: CREATE TABLE table_train_127 ( "id" int, "depression" bool, "mini_mental_state_examination_mmse" int, "back_pain" bool, "renal_disease" bool, "osteoarthritis" bool, "hamilton_depression_scale_hds" int, "liver_disease" bool, "painful_condition" bool, "other_chronic_mu...
### Context: CREATE TABLE table_57740 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score ...
### Context: CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Ad...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text,...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comme...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, ch...
### Context: CREATE TABLE table_name_64 ( price VARCHAR, upstream VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Price, when Upstream is '256 kbit'? ### Query: SELECT price FROM table_name_64 WHERE upstream = "256 kbit"
### 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 zzmzjzjlb ( HXPLC nu...
### Context: CREATE TABLE table_name_90 ( earnings___ INTEGER, wins INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest earnings for the golfer who has more than 37 wins? ### Query: SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins...
### 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_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id num...
### Context: CREATE TABLE table_52334 ( "Rank" real, "Airline" text, "Country" text, "Remarks" text, "Alliance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the airline for rank of 4 ### Query: SELECT "Airline" FROM table_52334 WHERE "Rank" ...
### Context: CREATE TABLE table_23286112_8 ( location_attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the location attendance for january 18 ### Query: SELECT location_attendance FROM table_23286112_8 WHERE date = "January 18"
### Context: CREATE TABLE table_80185 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player for fiji ### Query: SELECT "Player" FROM table_80185 WHERE "Country" = 'fiji'
### 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 football_data ( season text, datetime time, div text, country text, league text, referee text, hometeam text, awayteam text, fthg number, ftag number, ftr text, hthg number, htag number, htr text, psh number, psd number, psa n...
### Context: CREATE TABLE table_59887 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which event had a total of 28? ### Query: SELECT "Event" FROM table_59887 WHERE "T...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ...
### Context: CREATE TABLE table_35950 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who came in third in England? ### Query: SELECT "Third" FROM table_35950 WHERE "Nation" = 'englan...
### Context: CREATE TABLE table_name_38 ( home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Richmond's score as the home team? ### Query: SELECT home_team AS score FROM table_name_38 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_98 ( programming VARCHAR, channel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Programming is on Channel 26.5? ### Query: SELECT programming FROM table_name_98 WHERE channel = 26.5
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, R...
### 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 region ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many regions do we have? ### Query: SELECT COUNT(*) FROM region
### Context: CREATE TABLE Maintenance_Engineers ( last_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the distinct last names of all the engineers? ### Query: SELECT DISTINCT last_name FROM Maintenance_Engineers
### Context: CREATE TABLE table_76478 ( "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 abov...
### Context: CREATE TABLE table_203_150 ( id number, "season" number, "series" text, "team" text, "races" number, "wins" number, "poles" number, "f/laps" number, "podiums" number, "points" number, "position" text ) -- Using valid SQLite, answer the following questions for t...
### 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 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ...
### Context: CREATE TABLE table_57666 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the attendance with a result of l 26 3 ### Query: SELECT "Attendance" FROM table_5...
### Context: CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Gue...
### Context: CREATE TABLE table_1277350_5 ( saturday_sixth_day VARCHAR, day__see_irregularities__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Croatian word for Saturday? ### Query: SELECT saturday_sixth_day FROM table_1277350_5 WHERE day__see_...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, ...
### Context: CREATE TABLE table_38561 ( "Season" text, "Winner" text, "Result" text, "Runner-up" text, "Final venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner?...
### 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 CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE VoteTypes ( Id number, ...
### 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_256286_61 ( type VARCHAR, _percentage_yes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many type catagories are listed when the percentage of yes is 68.91%? ### Query: SELECT COUNT(type) FROM table_256286_61 WHERE _perc...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_name_44 ( attendance INTEGER, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people went to the game with the record of 8-10? ### Query: SELECT SUM(attendance) FROM table_name_44 WHERE record = "8-10"
### Context: CREATE TABLE table_name_74 ( elevator VARCHAR, elector VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the elevator of Jacques D'euse? ### Query: SELECT elevator FROM table_name_74 WHERE elector = "jacques d'euse"
### Context: CREATE TABLE table_name_35 ( table_diameter VARCHAR, crown_height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Table diameter has a Crown height of 14.45%? ### Query: SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE PendingFlags ( Id number, ...
### Context: CREATE TABLE table_13619135_7 ( high_rebounds VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the high rebounder against charlotte? ### Query: SELECT high_rebounds FROM table_13619135_7 WHERE team = "Charlotte"
### Context: CREATE TABLE table_63355 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" text, "FA Cup Goals" real, "League Cup Apps" text, "League Cup Goals" real, "Total Apps" text, "Total Goals" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE table_name_86 ( total_assets___percentage_change_ VARCHAR, performance_return_on_capital___percentage_ VARCHAR, performance_return_on_capital__score_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Total Assets (% Change) th...
### Context: CREATE TABLE claims_processing ( claim_processing_id number, claim_id number, claim_outcome_code text, claim_stage_id number, staff_id number ) CREATE TABLE customers ( customer_id number, customer_details text ) CREATE TABLE claims_processing_stages ( claim_stage_id numbe...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, ch...
### Context: CREATE TABLE table_43468 ( "Index" text, "Name" text, "Song" text, "Group Song" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Group Song of Shine ? ### Query: SELECT "Group Song" FROM table_43468 WHERE "Name" = 'shi...
### Context: CREATE TABLE table_name_57 ( tied INTEGER, points VARCHAR, goals_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest tie with less than 100 points and 277 goals? ### Query: SELECT MIN(tied) FROM table_name_57 WHERE points ...
### 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 table_name_73 ( money___£__ VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the money for ireland ### Query: SELECT money___£__ FROM table_name_73 WHERE country = "ireland"
### Context: CREATE TABLE table_name_47 ( production_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average 2006 value for wheat with a 2005 value greater than 7340? ### Query: SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat"...
### Context: CREATE TABLE table_203_506 ( id number, "opponent" text, "played" number, "won" number, "lost" number, "drawn" number, "% won overall" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many teams did they not lose to ? ### Que...
### Context: CREATE TABLE table_name_96 ( athlete VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What athlete has a Grenoble place? ### Query: SELECT athlete FROM table_name_96 WHERE place = "grenoble"
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, ...
### Context: CREATE TABLE table_40665 ( "Player" text, "Club" text, "League" real, "FA Cup" real, "FA Trophy" real, "League Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which League has a Total smaller than 16, a Player ...
### Context: CREATE TABLE table_54309 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Total with a Score of 3 0, and a Date of 14 oct, and has a Set 1 of 1...
### 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 medication ( m...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_79853 ( "Title" text, "Producer(s)" text, "Artist(s)" text, "Time" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long is the XXX track used by the Minnesota Vikings? ### Query: SELECT "Time" FROM...
### Context: CREATE TABLE table_14013 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest bronze medal amount that has fewer than 0 gold? ### Query: S...
### Context: CREATE TABLE table_35450 ( "Season" real, "Game" text, "Record" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a Game of fcs midwest region, and a Score of 40-33? ### Q...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostFeedback ( Id number, PostId numb...
### Context: CREATE TABLE table_58512 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the opponent on 1990-10-21? ### Query: SELECT "Opponent" F...
### 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...