text
stringlengths
197
8.39k
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE offering_inst...
### Context: CREATE TABLE table_4032 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" real, "Population" real, "Density" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many simplified names are there fo...
### Context: CREATE TABLE table_22853654_10 ( round VARCHAR, edition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds were there in the 2006 davis cup europe/africa group I? ### Query: SELECT COUNT(round) FROM table_22853654_10 WHERE edition =...
### Context: CREATE TABLE table_54732 ( "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. -- Which Away team has an Away team sc...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId nu...
### Context: CREATE TABLE table_name_3 ( date_of_issue VARCHAR, theme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Issue with a Theme with mental health? ### Query: SELECT date_of_issue FROM table_name_3 WHERE theme = "mental health"
### 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_19057 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" real, "Height m ( ft )" text, "FCC info" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the fcc info with ca...
### Context: CREATE TABLE table_name_50 ( date_of_birth VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Birth of the Player from the CSK VMF Moscow Club? ### Query: SELECT date_of_birth FROM table_name_50 WHERE club = "csk v...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE flight_stop ( flight_id in...
### 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_77848 ( "Episode" text, "Air Date" text, "Timeslot" text, "Rating" text, "Share" text, "18\u201349 (Rating/Share)" text, "Viewers (m)" real, "Rank (#)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What i...
### Context: CREATE TABLE table_71766 ( "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. -- When did Julie Still first win Women'...
### Context: CREATE TABLE table_14311 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most points for a vehicle with a lola thl1, chassis later than 1986? ### Query: ...
### Context: CREATE TABLE table_name_28 ( date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date that Stirling Moss had his fastest lap in a Maserati? ### Query: SELECT date FROM table_name_28 WHER...
### Context: CREATE TABLE table_52608 ( "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 team was the away team at Junc...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE enrolled_in ( stuid number, cid text, grade text ) CREATE TABLE department ( dno number, division text, dn...
### Context: CREATE TABLE table_57260 ( "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 was South Melbourne's score wh...
### Context: CREATE TABLE table_31451 ( "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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm...
### Context: CREATE TABLE table_55876 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance at the game where San Jose was the visitor on May...
### Context: CREATE TABLE table_15885 ( "Season" real, "Player" text, "Position" text, "Nationality" text, "Team" text, "Draft Pick #" text, "Draft Class" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Metros...
### Context: CREATE TABLE table_name_91 ( type VARCHAR, moving_to VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for the Panionios moving to? ### Query: SELECT type FROM table_name_91 WHERE moving_to = "panionios"
### Context: CREATE TABLE table_68999 ( "Engine code" text, "Displacement" text, "Power, Torque@rpm" text, "Redline (rpm)" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the displacement of the engine that has a Redline rpm high...
### Context: CREATE TABLE table_name_53 ( bronze INTEGER, silver VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronzes for Iceland with over 2 silvers? ### Query: SELECT AVG(bronze) FROM table_name_53 WHERE silver > 2 AND natio...
### Context: CREATE TABLE table_59908 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when Sheffield United was the home team? ### Query: SELECT "Score" FRO...
### 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_76688 ( "Full name" text, "Alias" text, "Age\u00b9" real, "From" text, "Occupation\u00b2" text, "Specialty" text, "Position/ Eliminated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Full Name, when A...
### Context: CREATE TABLE table_23281 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district did George Miller belong to? ### Query: SELE...
### Context: CREATE TABLE table_26372 ( "Lines" text, "Opening" real, "Traction" text, "Length" text, "Stations" real, "Route" text, "Stops" real, "Travel time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of lines for ...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, dr...
### Context: 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, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, stu_gpa number, stu_transfer number, dept_code ...
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( ...
### Context: CREATE TABLE table_79863 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Pick # of 25, and an Overall of 207 has what name? ### Query: SELECT "Na...
### Context: CREATE TABLE activity ( actid number, activity_name text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE participates_in ( stuid number, actid number ) CREATE ...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text )...
### Context: CREATE TABLE 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_name_31 ( pick INTEGER, round VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number pick was Paul Seymour in round 1? ### Query: SELECT SUM(pick) FROM table_name_31 WHERE round = 1 AND player = "paul ...
### Context: CREATE TABLE table_name_36 ( location VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location of the match against Bob Stines? ### Query: SELECT location FROM table_name_36 WHERE opponent = "bob stines"
### 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_6235 ( "Designation" text, "Bus width (bits)" real, "Channels" text, "Clock rate (MHz)" real, "Bandwidth (MB/s)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s)...
### 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 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 varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_5128 ( "Race" text, "Length" text, "Class" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class of the Charlotte Camel gt 500 race? ### Query: SELECT "Class" FROM table_5128 W...
### Context: CREATE TABLE table_32483 ( "Band Ch." real, "Call" text, "City" text, "Owner" text, "Operator" text, "Virt. Ch." real, "Nickname" text, "Programming" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What channel has an operato...
### Context: CREATE TABLE purchases ( purchase_transaction_id number, purchase_details text ) CREATE TABLE ref_transaction_types ( transaction_type_code text, transaction_type_description text ) CREATE TABLE transactions_lots ( transaction_id number, lot_id number ) CREATE TABLE lots ( lo...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, ...
### Context: CREATE TABLE table_23695 ( "County" text, "McCain #" real, "McCain %" text, "Obama #" real, "Obama %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest mccain # where obama got 33.7% ### Query: SELECT MAX("McCain #") F...
### Context: CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Apartment_Facilities (...
### Context: CREATE TABLE table_23593 ( "Season" text, "Bayernliga" text, "Landesliga S\u00fcd" text, "Landesliga Mitte" text, "Landesliga Nord" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the landesliga nord for freier tus regensburg ### Q...
### Context: CREATE TABLE table_5302 ( "Episode No." text, "Episode Title" text, "UK Broadcast Date" text, "Presenter" text, "Countries Visited" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the broadcast date for the episode titled, 'St. P...
### Context: CREATE TABLE table_13710464_1 ( winning_team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the game on may 21? ### Query: SELECT winning_team FROM table_13710464_1 WHERE date = "May 21"
### Context: CREATE TABLE qtb ( CLINIC_ID text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_10753917_1 ( podiums VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which podiums did the alfa romeo team have? ### Query: SELECT podiums FROM table_10753917_1 WHERE team = "Alfa Romeo"
### Context: CREATE TABLE table_63317 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average Round of Pete Laframboise? ### Query: SELECT AVG("Rou...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE 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 table_name_15 ( total VARCHAR, bronze INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total associated with Bronzes over 35? ### Query: SELECT total FROM table_name_15 WHERE bronze > 35
### Context: CREATE TABLE table_54470 ( "Wicket Partnership" text, "Runs" text, "Batsmen" text, "Opponents" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the partnership in the season of 1928 ### Query: SE...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE icustays ( row_id ...
### Context: CREATE TABLE table_name_23 ( round VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Round was Derrick Franklin picked? ### Query: SELECT round FROM table_name_23 WHERE player = "derrick franklin"
### 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_49575 ( "Date" text, "Place" text, "Race winners" text, "GP winner" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for a source of result and a place of iffendic? ### Query: SELECT "Da...
### Context: CREATE TABLE table_name_89 ( finish INTEGER, start VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average finish that has 24 as the start, with a year after 1987? ### Query: SELECT AVG(finish) FROM table_name_89 WH...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JCZB...
### Context: CREATE TABLE table_43932 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest pick number for the Hamilton tiger-cats? ### Query: SELECT MAX("Pi...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gende...
### Context: CREATE TABLE table_24175 ( "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 episode for run time of 22:50 ### Query: SELECT "Episode...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE table_name_83 ( altadeña VARCHAR, aprende VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Altade a has a Aprende of jaguars? ### Query: SELECT altadeña FROM table_name_83 WHERE aprende = "jaguars"
### Context: 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 varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE has_amenity ( dormid VARCHAR, amenid VARCHAR ) CREATE TABLE dorm ( dorm_name VARCHAR, dormid VARCHAR ) CREATE TABLE dorm_amenity ( amenid VARCHAR, amenity_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find th...
### Context: CREATE TABLE table_68202 ( "Team" text, "City" text, "Stadium" text, "Manager" text, "Past season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where is the pegah team located? ### Query: SELECT "City" FROM table_68202 WHERE "Team" =...
### Context: CREATE TABLE table_38107 ( "Orbital regime" text, "Launches" real, "Successes" real, "Failures" real, "Accidentally Achieved" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total failures of heliocentric orbit orbital regime...
### 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 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 table_name_26 ( top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the value Top-10 that has a Cuts value of 2 and a Wins value smaller than 0? ### Query: SELECT SUM(top_10...
### Context: CREATE TABLE table_name_34 ( royal_house VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Royal house is named Elah? ### Query: SELECT royal_house FROM table_name_34 WHERE name = "elah"
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE Ref_Incident_Type ( incident_type_code VARCHAR(10), incident_type_description VARCHAR(80) ) CREATE TABLE Ref_Address_Types ( address_type_code VARCHAR(15), address_type_description VARCHAR(80) ) CREATE TABLE Ref_Detention_Type ( detention_type_code VARCHAR(10), detent...
### Context: CREATE TABLE table_1176371_1 ( location VARCHAR, la_matches VARCHAR, name_of_ground VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is ropery lane and la matches 7 location? ### Query: SELECT location FROM table_1176371_1 WHERE la_matc...
### Context: CREATE TABLE table_203_322 ( id number, "club" text, "played" number, "won" number, "drawn" number, "lost" number, "points for" number, "points against" number, "bonus points" number, "points" number ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, ...
### Context: CREATE TABLE table_name_16 ( school_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School/Club Team has a Player of jud buechler? ### Query: SELECT school_club_team FROM table_name_16 WHERE player = "jud buechler...
### Context: CREATE TABLE table_name_81 ( category VARCHAR, nominee VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what category is Carmen Salinas nominated? ### Query: SELECT category FROM table_name_81 WHERE nominee = "carmen salinas"
### Context: CREATE TABLE table_name_67 ( goals_for INTEGER, position VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least goals when position is more than 4 and draws is more than 11 ### Query: SELECT MIN(goals_for) FROM table_n...
### Context: CREATE TABLE table_64425 ( "Player" text, "Original Season" text, "Gender" text, "Eliminated" text, "Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player in 20th place? ### Query: SELECT "Player" FROM table_64425 W...
### Context: CREATE TABLE table_name_62 ( rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the rank of the Tau Cer mica that has 377 points and more than 21 games? ### Query: SELECT COUNT(rank) ...
### 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_24727 ( "School" text, "Location" text, "Enrolment" real, "Founded" real, "Denomination" text, "Boys/Girls" text, "Day/Boarding" text, "School Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How man...
### 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_75638 ( "Country" text, "Political Rights 2010" real, "Civil Liberties 2010" real, "Status 2010" text, "Political Rights 2011" real, "Civil Liberties 2011" real, "Status 2011" text, "Political Rights 2012" real, "Civil Liberties 2012" real, "Status...
### Context: CREATE TABLE table_name_61 ( team_d VARCHAR, team_c VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Team D when Carmen Ada is team C? ### Query: SELECT team_d FROM table_name_61 WHERE team_c = "carmen ada"
### Context: CREATE TABLE table_name_68 ( sspec_number VARCHAR, model_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is sSpec Number, when Model Number is Atom N475? ### Query: SELECT sspec_number FROM table_name_68 WHERE model_number = "atom n4...
### Context: CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) -- Using valid SQLite, answer the following questions...
### Context: CREATE TABLE table_247 ( "Comparisons" text, "Hub Base Class" text, "Emulated Class" text, "Semi-DDM Class" text, "DDM Class" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is drawing tablet support part of the semi-DDM class? ### Quer...