text
stringlengths
197
8.39k
### Context: CREATE TABLE table_2562572_22 ( cyrillic_name_other_names VARCHAR, settlement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of cyrillic name for stani i ### Query: SELECT COUNT(cyrillic_name_other_names) FROM table_2562572_22 W...
### 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_6240 ( "Year" real, "Manufacturer" text, "Start" text, "Finish" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Finish has a Start of 15, and a Team of bahari? ### Query: SELECT "Finish" FROM table_...
### Context: CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD...
### Context: CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE...
### Context: CREATE TABLE table_name_88 ( branding VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the branding for frequency of 680 khz ### Query: SELECT branding FROM table_name_88 WHERE frequency = "680 khz"
### Context: CREATE TABLE table_3801 ( "Stage" real, "Winner" text, "General classification" text, "Mountains Classification" text, "Points classification" text, "Sprints Classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the tables...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_20800 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Total enrollment at the school with the nickname Blue Hens ### Query: SELE...
### 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_30133_3 ( gap_from_thailand_as_of_1980__times_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max 2010 value for a 1980 gap value is 2.43? ### Query: SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1...
### Context: CREATE TABLE table_50946 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? ###...
### Context: CREATE TABLE table_71034 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the game with a record of 47 39? ### Query: SELECT "Date" ...
### Context: CREATE TABLE table_name_1 ( speed VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Brian Mateer's Speed? ### Query: SELECT speed FROM table_name_1 WHERE rider = "brian mateer"
### Context: CREATE TABLE table_26922 ( "Rnd" real, "Date" text, "Race Name" text, "Track" text, "Location" text, "Pole position" text, "Fastest lap" text, "Most Laps Led" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### 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 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_name_80 ( copa_sudamericana INTEGER, others INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest copa sudamericana number when the others number is less than 0? ### Query: SELECT MAX(copa_sudamericana) FROM tabl...
### Context: CREATE TABLE table_62415 ( "Date" text, "Opponent" text, "Score" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the decision was Raycroft, with attendance la...
### Context: CREATE TABLE table_59921 ( "Week 8 Oct 26" text, "Week 10 Nov 9" text, "Week 11 Nov 16" text, "Week 12 Nov 23" text, "Week 13 Nov 30" text, "Week 14 (Final) Dec 7" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the week 11 n...
### 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 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_36 ( surface VARCHAR, score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What surface was played on with a score of 6 4, 6 3 and on 4 May 1992? ### Query: SELECT surface FROM table_name_36 WHERE score...
### Context: CREATE TABLE table_203_862 ( id number, "draw" number, "artist" text, "song" text, "points" number, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what song is listed in the table right before layla layla ? ### Query: SELEC...
### Context: CREATE TABLE table_65359 ( "Place" text, "Code" real, "Area (km 2 )" real, "Population" real, "Most spoken language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Most Spoken language in the Place with Code 70403 with an Ar...
### Context: CREATE TABLE table_204_612 ( id number, "draft order\nround" number, "draft order\nchoice" number, "player" text, "position" text, "height" text, "weight" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what i...
### 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 table_name_60 ( event VARCHAR, games VARCHAR, medal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Event of the Games of 1950 auckland and a Medal of bronze? ### Query: SELECT event FROM table_name_60 WHERE games = "19...
### Context: CREATE TABLE table_name_49 ( country VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had a total of 295? ### Query: SELECT country FROM table_name_49 WHERE total = 295
### Context: CREATE TABLE table_9589 ( "School" text, "Base" text, "Bask" text, "Golf" text, "Soccer" text, "Swimming" text, "Tennis" text, "Indoor track" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the basketball status for V...
### Context: CREATE TABLE table_name_54 ( caps INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest number of caps for Bruce Djite? ### Query: SELECT MAX(caps) FROM table_name_54 WHERE player = "bruce djite"
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### 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 table_57837 ( "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. -- Who played in lake oval while away?...
### Context: CREATE TABLE table_4342 ( "Country/Region" text, "Name" text, "Host" text, "Network" text, "Premiere" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the prize for belgium ### Query: SELECT "Prize" FROM table_4...
### Context: CREATE TABLE basketball_match ( school_id VARCHAR, acc_percent VARCHAR ) CREATE TABLE university ( Primary_conference VARCHAR, school_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the primary conference of the school that ha...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZ...
### 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_46930 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the game was played at Mile High Stadium befo...
### Context: CREATE TABLE physician ( employeeid number, name text, position text, ssn number ) CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time ) CREATE TABLE nurse ( employeeid number, name text, position text...
### Context: CREATE TABLE table_74557 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the extra for tournament of olympic games ### Query: SELECT "Extra" FROM table_74557...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE table_14962287_1 ( years VARCHAR, other_a VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which years had other a of 8 (1)? ### Query: SELECT years FROM table_14962287_1 WHERE other_a = "8 (1)"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE table_79504 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is the athlete ekaterina karsten from with a rank less than 4? ### Query: SELECT "...
### Context: CREATE TABLE table_58317 ( "Date" text, "Pilot" text, "Weapon Systems Officer" text, "Aircraft" text, "Tail Code" text, "Call Sign" text, "Kill" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tail Code belongs to Weapon Sy...
### Context: CREATE TABLE table_53277 ( "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. -- When the away team scored 7.8 (50),...
### Context: CREATE TABLE table_name_33 ( segment_d VARCHAR, episode VARCHAR, segment_c VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What segment d is associated with an episode number above 16 and a segment c of laser eye surgery? ### Query: SELECT s...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostsWithDeleted ( Id number, PostTyp...
### Context: CREATE TABLE College ( enr INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average enrollment number? ### Query: SELECT AVG(enr) FROM College
### 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_204_646 ( id number, "location" text, "region" text, "coordinates\n(links to map & photo sources)" text, "population" number, "elevation" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people live in sa...
### Context: CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10...
### 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 Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Creation...
### Context: CREATE TABLE elimination ( Time VARCHAR, Wrestler_ID VARCHAR ) CREATE TABLE wrestler ( Wrestler_ID VARCHAR, Days_held INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show times of elimination of wrestlers with days held more than 50. ##...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodi...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId ...
### Context: CREATE TABLE table_name_7 ( date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Away Team is 'Barnet'? ### Query: SELECT date FROM table_name_7 WHERE away_team = "barnet"
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar...
### Context: CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, ...
### Context: CREATE TABLE table_73541 ( "Horizontal order" real, "Height order" real, "Soundfield type" text, "Number of channels" real, "Channels" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the channels is wxyzuv, what is the number of chann...
### Context: CREATE TABLE table_name_20 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2008 for 2012 being a and tournament of australian open ### Query: SELECT 2008 FROM table_name_20 WHERE 2012 = "a" AND tournament = "australian open"
### Context: CREATE TABLE table_name_95 ( week_3 VARCHAR, week_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Week 3 has a Week 4 of gina blair? ### Query: SELECT week_3 FROM table_name_95 WHERE week_4 = "gina blair"
### Context: CREATE TABLE table_2750 ( "Team" text, "SEC Wins" real, "SEC Losses" real, "Percentage" text, "Home Record" text, "Road Record" text, "Overall Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's LSU's overall record/ ...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId numbe...
### Context: CREATE TABLE table_64746 ( "Rank" text, "Province" text, "Population (2011)" real, "Percentage" real, "Population Estimate (2013)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest 2013 population estimate of the provinc...
### Context: CREATE TABLE table_name_87 ( at_neutral_site VARCHAR, overall_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With an overall record of MU, 15-8 what is the at neutral site? ### Query: SELECT at_neutral_site FROM table_name_87 WHERE overa...
### Context: CREATE TABLE Customers ( customer_id INTEGER, payment_method_code VARCHAR(15), customer_number VARCHAR(20), customer_name VARCHAR(80), customer_address VARCHAR(255), customer_phone VARCHAR(80), customer_email VARCHAR(80) ) CREATE TABLE Customer_Orders ( order_id INTEGER, ...
### 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_name_8 ( competition VARCHAR, score VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition had a score of 3-0, and a result of 4-1? ### Query: SELECT competition FROM table_name_8 WHERE score = "3...
### Context: CREATE TABLE player ( Player_ID int, Sponsor_name text, Player_name text, Gender text, Residence text, Occupation text, Votes int, Rank text ) CREATE TABLE player_coach ( Player_ID int, Coach_ID int, Starting_year int ) CREATE TABLE club ( Club_ID int, ...
### Context: CREATE TABLE table_64032 ( "Position" real, "Gymnast" text, "A Score" real, "B Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has an A Score of 6.5, and a Position larger than 5? ### Query: SELECT MIN("...
### 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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_c...
### Context: CREATE TABLE table_name_59 ( captain VARCHAR, kit_manufacturer VARCHAR, manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the captain for the manufacturer Pony, and the manager Harry Redknapp? ### Query: SELECT captain FROM tabl...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymo...
### Context: CREATE TABLE table_76206 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Label has the Region of Australia? ### Query: SELECT "Label" FROM table_76206 WHERE "Regi...
### Context: CREATE TABLE table_11622840_1 ( tournament VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name all the tournaments that took place in Rhode Island. ### Query: SELECT tournament FROM table_11622840_1 WHERE location = "Rhode Isl...
### Context: CREATE TABLE mailshot_customers ( mailshot_id number, customer_id number, outcome_code text, mailshot_customer_date time ) CREATE TABLE premises ( premise_id number, premises_type text, premise_details text ) CREATE TABLE products ( product_id number, product_category ...
### Context: CREATE TABLE table_76341 ( "Name" text, "Background" text, "Title" text, "Appointment" text, "Presentation of Credentials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Anthony D. Marshall's title? ### Query: SELECT "Title" F...
### Context: CREATE TABLE table_1137702_3 ( winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winning driver when the pole position was held by Ayrton Senna and the Fastest lap was Micha...
### 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_23769 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" text, "Jockey" text, "Winner/2nd" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the...
### Context: CREATE TABLE table_68937 ( "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 followin...
### Context: CREATE TABLE table_name_10 ( total INTEGER, horse VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the most total for horse of carlson ### Query: SELECT MAX(total) FROM table_name_10 WHERE horse = "carlson"
### Context: CREATE TABLE Ref_calendar ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many calendar items do we have? ### Query: SELECT COUNT(*) FROM Ref_calendar
### Context: CREATE TABLE table_name_15 ( season VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season has roma as the opponent? ### Query: SELECT season FROM table_name_15 WHERE opponent = "roma"
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varc...
### Context: CREATE TABLE table_name_11 ( draws VARCHAR, losses VARCHAR, efficiency__percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of draws when there are 4 losses and 28.6% efficiency? ### Query: SELECT COUNT(draws) FROM ...
### Context: CREATE TABLE table_61529 ( "Bow number" text, "Ship name" text, "Launched" text, "Commissioned" text, "Service" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the ship commissioned in November 1975 with a bow number of ps-18 la...
### Context: CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE party ( Par...
### Context: CREATE TABLE 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_62355 ( "Event" text, "Time" text, "Nationality" text, "Date" text, "Meet" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the event with a 1:51.51 time? ### Query: SELE...
### Context: CREATE TABLE table_77001 ( "Squad No." real, "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 ...
### Context: CREATE TABLE table_name_77 ( opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has a record of 70-52? ### Query: SELECT opponent FROM table_name_77 WHERE record = "70-52"
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, ...
### 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 protein ( common_name text, protein_name text, divergence_from_human_lineage real, accession_number text, sequence_length real, sequence_identity_to_human_protein text, Institution_id text ) CREATE TABLE Institution ( Institution_id text, Institution text, ...