text
stringlengths
197
8.39k
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text,...
### Context: CREATE TABLE table_42788 ( "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 rank is the team with 1 silver, 3 bronze and a total of less than 8 medals...
### Context: CREATE TABLE txmzjzjlb ( 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 text...
### Context: CREATE TABLE table_1341973_6 ( result VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election in california 2? ### Query: SELECT result FROM table_1341973_6 WHERE district = "California 2"
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE table_41794 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Position was achieved in the World Championships Competition in Tok...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_13341 ( "Name" text, "Platform" text, "Indication" text, "Status" text, "Collaboration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What company collaborated with non-hodgkin lymphoma? ### Query: SELECT "Collabora...
### Context: CREATE TABLE table_name_8 ( not_outs INTEGER, runs VARCHAR, average VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Not Outs with an average lower than 31.25, fewer than 13 matches, and fewer than 327 r...
### Context: CREATE TABLE table_203_345 ( id number, "name" text, "party" text, "took office" number, "left office" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what party was the last provincial representative of gilbert plains ? ### Query: SE...
### 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 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 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_204_511 ( id number, "number" number, "driver" text, "entrant" text, "chassis" text, "engine" text, "tyre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tony bettenhausen and paul russo drove cars with what k...
### Context: CREATE TABLE table_60217 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much money does the player with a 69-70-72-64=275 score have?...
### Context: CREATE TABLE table_21681 ( "Date" text, "Opponent" text, "Home / Away" 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 pr...
### Context: CREATE TABLE table_14882588_3 ( yacht VARCHAR, sail_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were all Yachts with a sail number of 6952? ### Query: SELECT yacht FROM table_14882588_3 WHERE sail_number = "6952"
### Context: CREATE TABLE table_71754 ( "Rider" text, "Matches" real, "Rides" real, "Bonus Pts" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average number of points with bonus pts less than 31 with the rider denn...
### 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 airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare te...
### Context: CREATE TABLE table_name_91 ( writer VARCHAR, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Writer with an Original Airdate of september 4, 2005 (hbo)? ### Query: SELECT writer FROM table_name_91 WHERE original_airdat...
### Context: CREATE TABLE table_name_96 ( club VARCHAR, losing_bp VARCHAR, lost VARCHAR, played VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the club that has played 22 rounds, has a drawn score of 0, has lost 14, and who...
### Context: CREATE TABLE table_18976 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is Interlake located? ### Query: SELECT "Locatio...
### Context: CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working int ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int ) CREATE TABLE news_report ( journalist_ID int, Event_ID int, ...
### Context: CREATE TABLE table_18034 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the teams play on October 16, 1977? ###...
### Context: CREATE TABLE table_13578 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par of the United States, when the Total was 145, in 2004? ### Query: SE...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, ...
### Context: CREATE TABLE table_4056 ( "Executed person" text, "Date of execution" text, "Place of execution" text, "Crime" text, "Method" text, "Under President" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- for what crime was gunther volz exe...
### Context: CREATE TABLE table_name_71 ( career VARCHAR, player VARCHAR, wickets VARCHAR, rank VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the career of the rank higher than 1, with an average less than 36.13 and 15 ...
### Context: CREATE TABLE table_39086 ( "Team" text, "Recopa 1994" text, "Supercopa 1994" text, "CONMEBOL 1994" text, "Copa Libertadores 1995" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of ...
### Context: CREATE TABLE competition_record ( competition_id number, farm_id number, rank number ) CREATE TABLE farm ( farm_id number, year number, total_horses number, working_horses number, total_cattle number, oxen number, bulls number, cows number, pigs number, ...
### Context: CREATE TABLE table_61722 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Ends" text, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type of s...
### Context: CREATE TABLE table_name_28 ( home VARCHAR, attendance VARCHAR, away VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team in the game with more than 1675, and Olimpia was the away side? ### Query: SELECT home FROM table_name_...
### Context: CREATE TABLE table_1341549_33 ( candidates VARCHAR, party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many candidates with party being democratic and dbeingtrict being new york5 ### Query: SELECT COUNT(candidates) F...
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decim...
### 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 instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE program ( program_id int, n...
### Context: CREATE TABLE table_name_94 ( nominated_work VARCHAR, award VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nominated work received a tony award in 2009? ### Query: SELECT nominated_work FROM table_name_94 WHERE award = "to...
### Context: CREATE TABLE table_8487 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Date" text, "Crowd" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ground had a 17.10 (112) home ...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( m...
### Context: CREATE TABLE table_name_90 ( country VARCHAR, name VARCHAR, wins VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes? ### Query: SELECT co...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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, XLM...
### Context: CREATE TABLE table_14536 ( "Country" text, "Total population (1000)" real, "Total Foreign-born (1000)" real, "Born in other EU state (1000)" real, "Born in a non EU state (1000)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th...
### Context: CREATE TABLE betfront ( year number, datetime time, country text, competion text, match text, home_opening number, draw_opening number, away_opening number, home_closing number, draw_closing number, away_closing number ) CREATE TABLE football_data ( season t...
### Context: CREATE TABLE table_name_18 ( chassis VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Chassis ranked 18th? ### Query: SELECT chassis FROM table_name_18 WHERE rank = "18th"
### Context: CREATE TABLE table_22923 ( "Standard" text, "Color system" text, "Informational CVBS Lines" text, "Bit rate [ Mbit/s ]" text, "Waveform" text, "Bits per line (including run-in)" real, "Max. Characters (per page row)" real ) -- Using valid SQLite, answer the following questions...
### 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 table_13619027_9 ( high_rebounds VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different values if the number is high rebounds can be found for the game on March 13? ### Query: SELECT COUNT(high_rebounds) FR...
### Context: CREATE TABLE table_2655016_9 ( series__number VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the series # on airdate September 21, 2002? ### Query: SELECT series__number FROM table_2655016_9 WHERE original_air...
### Context: CREATE TABLE table_name_41 ( nationality VARCHAR, years_for_jazz VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of all Utah Jazz Players, that played 1987-88? ### Query: SELECT nationality FROM table_name_41 WHERE years_...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquep...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE instructor ( ...
### Context: CREATE TABLE table_47409 ( "Circuit" text, "Location" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Location, when Fastest Lap is Ben Spies, when Pole Po...
### Context: CREATE TABLE table_56151 ( "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 is the name of the home team that has a venue ca...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE SuggestedEdi...
### 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 microlab...
### Context: CREATE TABLE table_1341930_33 ( first_elected VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many first elected with district being north carolina 2 ### Query: SELECT COUNT(first_elected) FROM table_1341930_33 WHERE distri...
### Context: CREATE TABLE member ( Member_ID int, Name text, Membership_card text, Age int, Time_of_purchase int, Level_of_membership int, Address text ) CREATE TABLE shop ( Shop_ID int, Address text, Num_of_staff text, Score real, Open_Year text ) CREATE TABLE happy_ho...
### Context: CREATE TABLE table_15275 ( "Championship" text, "Current champion(s)" text, "Reign" text, "Date won" text, "Days held" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the location of reign 3 ### Query: SELECT "...
### 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 table_name_68 ( opponent VARCHAR, november VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the opponent on november 24? ### Query: SELECT opponent FROM table_name_68 WHERE november = 24
### Context: CREATE TABLE table_24792 ( "Pilot" text, "Organization" text, "Total Flights" real, "USAF space flights" real, "FAI space flights" real, "Max Mach" text, "Max speed (mph)" real, "Max altitude (miles)" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_name_75 ( shooter VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the shooter for the WC Beijing event? ### Query: SELECT shooter FROM table_name_75 WHERE event = "wc beijing"
### Context: CREATE TABLE table_name_96 ( loss VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the loss for june 30 ### Query: SELECT loss FROM table_name_96 WHERE date = "june 30"
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: 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, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### 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_46361 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total round of the rb player from Purdue with a pick less than ...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROV...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### 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 table_17355408_7 ( date VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Chauncey Billups (6) had a high assist on what date? ### Query: SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (...
### Context: CREATE TABLE table_name_30 ( elevator VARCHAR, order_and_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The Cardinal-Priest of S. Prassede order and title has who as the elevator? ### Query: SELECT elevator FROM table_name_30 WHERE order_...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intake...
### Context: CREATE TABLE table_name_71 ( crowd INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest crowd number of the game where the away team was south melbourne? ### Query: SELECT MAX(crowd) FROM table_name_71 WHERE awa...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_15 ( result VARCHAR, extra VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the result when extra is 4 x 100 m relay and the year is later than 1971? ### Query: SELECT result FROM table_name_15 WH...
### 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 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_10 ( team VARCHAR, rank VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the team with a rank smaller than 5 and a time of 1:37.58.38? ### Query: SELECT team FROM table_name_10 WHERE r...
### Context: CREATE TABLE table_204_228 ( id number, "year" number, "title" text, "credit" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films are there in total ? ### Query: SELECT COUNT("title") FROM table...
### Context: CREATE TABLE table_35391 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the overall number for a pick of #10, from Louisiana Tech, and a ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_61325 ( "Episode" text, "18-49" text, "Viewers (m)" real, "Rating" text, "Share" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Rating has Viewers (m) of 2.73? ### Query: SELECT "Rating" FROM table_61325 WHERE "...
### 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_2760 ( "Pos" text, "##" real, "Name" text, "Team" text, "Lap One" text, "Lap Two" text, "Lap Three" text, "Lap Four" text, "Total Time" text, "Avg. Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_87 ( season VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season was the Formula BMW USA in? ### Query: SELECT season FROM table_name_87 WHERE series = "formula bmw usa"
### Context: CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text ) CREATE TABLE elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text ) -- Using vali...
### 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_20142629_2 ( _3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the Fowler is 16, what is the number of cylinders? ### Query: SELECT COUNT(stanier), _3_cylinder FROM table_201...
### Context: CREATE TABLE table_7481 ( "Year" real, "Events played" real, "Cuts made" real, "Wins" real, "2nds" real, "Top 10s" real, "Best finish" text, "Earnings ($)" real, "Rank" text, "Scoring average" real, "Scoring rank" text ) -- Using valid SQLite, answer the follow...
### Context: CREATE TABLE table_48109 ( "Province" text, "Largest city" text, "2nd Largest" text, "3rd Largest" text, "4th largest" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 3rd largest where the largest city is Ardabil? ### Query:...
### Context: CREATE TABLE table_34870 ( "Team" text, "Average" real, "Points" real, "Played" real, "1989-90" text, "1990-91" text, "1991-1992" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which played number has an average of 1.026 and a 1...
### Context: CREATE TABLE table_29461 ( "#" real, "Episode" text, "Air Date" text, "Rating" text, "Share" text, "18-49 (Rating/Share)" text, "Viewers (m)" text, "Weekly Rank (#)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many ma...
### Context: CREATE TABLE table_1333612_1 ( population VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the population with country being chile ### Query: SELECT population FROM table_1333612_1 WHERE country = "Chile"
### Context: CREATE TABLE table_51205 ( "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 was the away team when the home team was south m...
### 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...