text
stringlengths
197
8.39k
### 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 Customers ( customer_id INTEGER, customer_first_name VARCHAR(50), customer_middle_initial VARCHAR(1), customer_last_name VARCHAR(50), gender VARCHAR(1), email_address VARCHAR(255), login_name VARCHAR(80), login_password VARCHAR(20), phone_number VARCHAR(255)...
### Context: CREATE TABLE table_42289 ( "Rank" real, "Player" text, "Country" text, "Earnings( $ )" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest rank which earned 24,920,665? ### Query: SELECT MIN("Rank") FROM tab...
### Context: CREATE TABLE table_22282917_26 ( dates VARCHAR, control_site_condition_owner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is every date that control site condition or owner is machine shop on Martin Dr.? ### Query: SELECT dates FROM tabl...
### Context: CREATE TABLE operate_company ( id int, name text, Type text, Principal_activities text, Incorporated_in text, Group_Equity_Shareholding real ) CREATE TABLE airport ( id int, City text, Country text, IATA text, ICAO text, name text ) CREATE TABLE flight ( ...
### Context: CREATE TABLE table_52488 ( "Driver" text, "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the chassis for entrant of ecurie lutetia ### Query: SELECT "...
### Context: CREATE TABLE table_51340 ( "Record" text, "Hard" text, "Clay" text, "Grass" text, "Carpet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which clay has a Record of 2 0, and a Hard 1 0? ### Query: SELECT "Clay" FROM table_51340 WHERE "...
### Context: CREATE TABLE table_68801 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 2010, who was the Women's Singles ...
### Context: CREATE TABLE table_name_96 ( location VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the location of a team with a 3-2 record? ### Query: SELECT location FROM table_name_96 WHERE record = "3-2"
### Context: CREATE TABLE table_name_87 ( loss VARCHAR, avg_g INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Loss has an Avg/G larger than 129.2? ### Query: SELECT COUNT(loss) FROM table_name_87 WHERE avg_g > 129.2
### Context: CREATE TABLE table_204_117 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is division 2 listed as the divis...
### Context: CREATE TABLE table_name_63 ( avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13? ### Query: SELECT SUM(avg_g) FROM table_name...
### 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 transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit ...
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostsWithDeleted ( Id number, PostType...
### Context: CREATE TABLE school_bus ( School_ID int, Driver_ID int, Years_Working int, If_full_time bool ) CREATE TABLE driver ( Driver_ID int, Name text, Party text, Home_city text, Age int ) CREATE TABLE school ( School_ID int, Grade text, School text, Location t...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_42 ( lost INTEGER, name VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses did ev bruckberg have when the drawn was more than 1? ### Query: SELECT SUM(lost) FROM table_name_42 WHERE name = ...
### Context: CREATE TABLE table_74604 ( "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. -- How many people in the crowd with n...
### Context: CREATE TABLE table_train_272 ( "id" int, "fasting_plasma_glucose_fpg" float, "creatinine_clearance_cl" float, "baseline_hemoglobin_hgb" float, "sensitization_on_pra" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provide...
### Context: CREATE TABLE table_name_30 ( time_retired VARCHAR, driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time/retired of Driver Masten Gregory Carroll Shelby when the const...
### Context: CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Studen...
### 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 table_29587 ( "Represent" real, "Contestant" text, "Age" real, "Sizes" text, "Height" text, "Hometown" text, "Agency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which company has a person that can wear clothing ...
### 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 cost ( costid number, un...
### 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_14206 ( "Candidate" text, "Background" text, "Original Team" text, "Hometown" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Original Team of the Clothing Company Owner Candidate? ### Query...
### Context: CREATE TABLE table_name_58 ( authority VARCHAR, gender VARCHAR, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What authority is the coed school in pinehaven? ### Query: SELECT authority FROM table_name_58 WHERE gender = "coed" AND are...
### Context: CREATE TABLE table_name_91 ( april_28 VARCHAR, final VARCHAR, mar_17 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the April 28th rank when the Final is 20, and Mar 17 is 22? ### Query: SELECT april_28 FROM table_name_91 WHERE fina...
### Context: CREATE TABLE table_42081 ( "Team" text, "Tries for" real, "Tries against" real, "Try diff" text, "Points for" real, "Points against" real, "Points diff" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points against has ...
### Context: CREATE TABLE table_13057 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away when the home is 3-2, and the season is 1959-60? ### Query: SELECT "Away" FROM t...
### Context: CREATE TABLE table_name_83 ( period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the period of a rock album released in 1973? ### Query: SELECT period_active FROM ...
### Context: CREATE TABLE table_11162 ( "Difficulty Value" text, "1d10 Resolution (+5)" real, "3d6 or 1d20 Resolution (+10)" real, "+1d6-1d6 or +1d10-1d10 (+0)" real, "+1d12 (6)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest +1d1...
### Context: CREATE TABLE table_name_65 ( opponent_in_the_final VARCHAR, score_in_the_final VARCHAR, surface VARCHAR, outcome VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent in the final has an Outcome of winner, and a...
### Context: CREATE TABLE table_204_737 ( id number, "year" number, "order" text, "quantity" number, "ger nos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- were there more n31 or e34 ordered ? ### Query: SELECT "order" FROM table_204_737 WHERE "...
### 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 table_name_28 ( date VARCHAR, serial VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has serial of 11c? ### Query: SELECT date FROM table_name_28 WHERE serial = "11c"
### Context: CREATE TABLE table_2671 ( "Event" text, "Season" text, "Compulsory Dance (CD)" text, "Original Dance (OD)" text, "Free Dance (FD)" text, "Combined Total Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what event was the com...
### Context: CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE code_description ( code varchar, description t...
### Context: CREATE TABLE gymnast ( Gymnast_ID int, Floor_Exercise_Points real, Pommel_Horse_Points real, Rings_Points real, Vault_Points real, Parallel_Bars_Points real, Horizontal_Bar_Points real, Total_Points real ) CREATE TABLE people ( People_ID int, Name text, Age real...
### Context: CREATE TABLE table_55445 ( "Name" text, "Latitude" real, "Longitude" real, "Diameter (km)" real, "Named after" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What in Xenia's Diameter in km, with a latitude of 14 and a longitude of 249.4...
### Context: CREATE TABLE table_27095 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final s...
### Context: CREATE TABLE table_54802 ( "PRR Class" text, "Builder\u2019s Model" text, "Build date" text, "Total produced" real, "Wheel arrangement" text, "Service" text, "Power output" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was...
### Context: CREATE TABLE table_71890 ( "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 the record of the match that ...
### Context: CREATE TABLE table_1342256_32 ( candidates VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the contenders In the New York 19 polling area race? ### Query: SELECT candidates FROM table_1342256_32 WHERE district = "New Yo...
### Context: CREATE TABLE table_16575609_3 ( cfl_team VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cfl teams had pick # 21? ### Query: SELECT COUNT(cfl_team) FROM table_16575609_3 WHERE pick__number = 21
### Context: CREATE TABLE table_24177 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the broadcast date of run time being 24:14 ### Query: SELECT...
### 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 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 job_history ( employee_id number, start_date time, end_date time, job_id text, department_id number ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE jobs ( job_id text, job_title text, min_salary number...
### Context: CREATE TABLE product_categories ( production_type_code text, product_type_description text, vat_rating number ) CREATE TABLE accounts ( account_id number, customer_id number, date_account_opened time, account_name text, other_account_details text ) CREATE TABLE orders ( ...
### Context: 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, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC te...
### Context: CREATE TABLE table_70268 ( "Name" text, "League" real, "Play-offs" real, "FA Cup" real, "League Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest League Cup with an FA Cup thats larger than 2? ###...
### Context: CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) -- Using valid SQLite, answer the followi...
### Context: CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar,...
### Context: CREATE TABLE employees ( department_id VARCHAR, salary INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- display the department id and the total salary for those departments which contains at least two employees. ### Query: SELECT department_id, S...
### Context: CREATE TABLE made_by ( id int, msid int, pid int ) CREATE TABLE directed_by ( id int, msid int, did int ) CREATE TABLE classification ( id int, msid int, gid int ) CREATE TABLE tv_series ( sid int, title text, release_year int, num_of_seasons int, ...
### Context: CREATE TABLE table_30593 ( "Version" text, "Release" text, "Release date" text, "End of maintenance" text, "Requirement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the 1.0.9 release version? ### Query: SELECT C...
### Context: CREATE TABLE table_name_67 ( episode VARCHAR, segment_b VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode's segment b is s hacksaw? ### Query: SELECT episode FROM table_name_67 WHERE segment_b = "s hacksaw"
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID ...
### Context: CREATE TABLE locations ( location_id number, street_address text, postal_code text, city text, state_province text, country_id text ) CREATE TABLE jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE countries ( country_id tex...
### Context: CREATE TABLE table_name_12 ( margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory for Isao Aoki when he was a runner-up? ### Query: SELECT margin_of_victory FROM table_name_12 WHE...
### Context: CREATE TABLE table_8076 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Road Team in the game with a Result of 105-95? ### Query: SELECT "Road Team" FR...
### Context: CREATE TABLE table_77834 ( "Goal" real, "Date" text, "Venue" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result in oakland? ### Query: SELECT "Result" FROM table_77834 WHERE "Venue" = '...
### Context: CREATE TABLE Prescribes ( Patient VARCHAR, Medication VARCHAR ) CREATE TABLE patient ( SSN VARCHAR ) CREATE TABLE Medication ( name VARCHAR, Code VARCHAR ) CREATE TABLE stay ( Patient VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_7986 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which call sign has a frequency of FM 105.3? ### Query: SELECT "Call sign" FROM table_...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) -- Using valid SQLite, answer the followi...
### Context: CREATE TABLE table_7603 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?...
### Context: CREATE TABLE table_60940 ( "Line Name" text, "Date Closed" text, "NIMT Junction" text, "Terminus" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What line has Newmarket Junction terminus? ### Query: SELECT "Line Name" FR...
### Context: CREATE TABLE table_66574 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is reserved for Jawad? ### Qu...
### Context: CREATE TABLE table_name_48 ( air_date VARCHAR, demo VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the air date that demo-ed at 1.6/5? ### Query: SELECT air_date FROM table_name_48 WHERE demo = "1.6/5"
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate tim...
### Context: CREATE TABLE table_29744 ( "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_4861 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score for Aguilar when he played Hans Podlipnik on ...
### Context: CREATE TABLE table_name_92 ( date VARCHAR, viewers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Viewers is 4.4 million? ### Query: SELECT date FROM table_name_92 WHERE viewers = "4.4 million"
### Context: CREATE TABLE table_25318033_1 ( races INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest amount of races? ### Query: SELECT MIN(races) FROM table_25318033_1
### Context: CREATE TABLE table_train_144 ( "id" int, "retinal_dystrophy" bool, "mini_mental_state_examination_mmse" int, "memory_box" float, "body_weight" float, "neutrophil_count" int, "moca_score" int, "severe_dementia" bool, "dementia" bool, "macular_degeneration" bool, "...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countrie...
### Context: CREATE TABLE table_name_51 ( year VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year when Scuderia Lancia Corse competed? ### Query: SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse"
### 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_14582 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most overall for dwight freeney with round less than 1 ### Quer...
### Context: CREATE TABLE table_52094 ( "Round" real, "Pick" real, "Name" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of rounds that UCLA has? ### Query: SELECT COUNT("Round") FROM table_5...
### Context: CREATE TABLE table_name_61 ( round INTEGER, player VARCHAR, draft VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average round of player dave pulkkinen, who had a draft after 1969? ### Query: SELECT AVG(round) FROM table_name_61...
### Context: CREATE TABLE table_37196 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score on January 30? ### Query: SELECT "Score" FROM table_37196 WHERE "Date" = 'jan...
### Context: CREATE TABLE table_17632217_1 ( number_of_clubs VARCHAR, runners_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values for number of clubs have Shandong as the runner-up? ### Query: SELECT COUNT(number_of_clubs) FROM table_17632217_...
### Context: CREATE TABLE table_name_96 ( year VARCHAR, number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Year with a Number that is larger than 34? ### Query: SELECT year FROM table_name_96 WHERE number > 34
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME var...
### Context: CREATE TABLE table_60810 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party has the South Carolina 2 district? ### Query: SELECT "Party" FROM tab...
### Context: CREATE TABLE table_38431 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Total of kyrgyzstan with a Silver smaller than 0? ### Query: SELEC...
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal ...
### 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_20750731_1 ( others_number VARCHAR, mccain_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When McCain% was 64.8%, what is the Others#? ### Query: SELECT others_number FROM table_20750731_1 WHERE mccain_percentage =...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE SuggestedEdits ( Id nu...
### Context: CREATE TABLE table_48008 ( "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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_...
### Context: CREATE TABLE table_58107 ( "Number" text, "Builder" text, "Type" text, "Date" text, "Works number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Builder has a Works Number of 16272? ### Query: SELECT "Builder" FROM table_58107 W...
### Context: CREATE TABLE table_name_22 ( sacks INTEGER, team VARCHAR, tackles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132? ### Query: SELE...
### Context: CREATE TABLE table_name_58 ( attendance INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Attendance has an Opponent of oxford united? ### Query: SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united"
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId num...