text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_90 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Fitzroy's Home team Crowd? ### Query: SELECT SUM(crowd) FROM table_name_90 WHERE home_team = "fitzroy"
### 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_65573 ( "Week 1" text, "Week 3" text, "Week 4" text, "Week 6" text, "Week 7" text, "Week 8" text, "Week 9" text, "Week 10" text, "Final Week 12" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did t...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE...
### Context: CREATE TABLE table_3059 ( "Name of Award" text, "Name of Film" text, "Language" text, "Awardee(s)" text, "Cash Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of awardees for best screenplay ### Query: SELEC...
### Context: CREATE TABLE table_name_80 ( olympics_so_far INTEGER, class VARCHAR, sailors VARCHAR, first_og VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value for Olympics, when Sailors is greater than 1, when First OG is after 1...
### Context: CREATE TABLE table_70779 ( "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 that the Maserati 250F chassis scored in years after 1955? ### Query...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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...
### Context: CREATE TABLE table_13796 ( "Name" text, "Population (2011)" real, "Population (2006)" text, "Change (%)" text, "Land area (km\u00b2)" text, "Population density (per km\u00b2)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What popu...
### Context: CREATE TABLE table_67358 ( "Image" real, "Smith" text, "Ashmolean" real, "Foster" real, "Hahland" real, "Dinsmoor" text, "Hofkes-Brukker" text, "Harrison" text, "Cooper" text, "BM/Corbett" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE table_26385848_1 ( year__ceremony_ VARCHAR, film_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year (ceremony) for the film title Eldra? ### Query: SELECT year__ceremony_ FROM table_26385848_1 WHERE film_title = ...
### Context: CREATE TABLE table_name_51 ( club_province VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the club/province for steve borthwick ### Query: SELECT club_province FROM table_name_51 WHERE player = "steve borthwick"
### Context: CREATE TABLE table_197638_7 ( age VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ages have Maureen Connolly Brinker as the player? ### Query: SELECT COUNT(age) FROM table_197638_7 WHERE player = "Maureen Connolly Brinke...
### 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_37980 ( "Year" text, "Conference" text, "Overall Record" text, "Conference Record" text, "Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the coach in 1953? ### Query: SELECT "Coach" FROM table_37980 WH...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputG...
### 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 order_items ( order_id number, product_id number, order_quantity text ) CREATE TABLE customer_contact_channels ( customer_id number, channel_code text, active_from_date time, active_to_date time, contact_number text ) CREATE TABLE customers ( customer_id n...
### 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 table_name_88 ( team_2 VARCHAR, team_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Team 2 when Team 1 was Am rica? ### Query: SELECT team_2 FROM table_name_88 WHERE team_1 = "américa"
### Context: CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, ...
### Context: CREATE TABLE table_203_467 ( id number, "year" number, "numer of jamaicans\ngranted british\ncitizenship" number, "naturalisation\nby residence" number, "naturalisation\nby marriage" number, "registration\nof a minor child" number, "registration\nby other means" number ) -- Us...
### Context: CREATE TABLE table_22551 ( "Nation" text, "Rider" text, "Horse" text, "Cross Country Penalties" text, "Total Penalties" text, "Total Team Penalties" text, "Team Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nation i...
### 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 ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidan...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) 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 ...
### Context: CREATE TABLE table_name_70 ( street_address VARCHAR, floors VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which address has 44 floors? ### Query: SELECT street_address FROM table_name_70 WHERE floors = 44
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance t...
### Context: CREATE TABLE table_204_200 ( id number, "iso/iec standard" text, "title" text, "status" text, "description" text, "wg" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many iso/iec were published before the year 2000 ? ### Quer...
### Context: CREATE TABLE table_15851155_1 ( enrollment INTEGER, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the minimum enrollment for montana tech of the university of montana ### Query: SELECT MIN(enrollment) FROM table_15851155_1 WHERE sc...
### Context: CREATE TABLE party_forms ( form_id VARCHAR ) CREATE TABLE forms ( form_name VARCHAR, form_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the most popular party form. ### Query: SELECT t1.form_name FROM forms AS t1 JOIN ...
### Context: CREATE TABLE table_42152 ( "Location" text, "Aircraft" text, "Tail number" text, "Aircraft damage" text, "Fatalities" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tail number was on the an-26, with 25/25 fatalities? ### Query: S...
### Context: CREATE TABLE table_56433 ( "Tournament" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, ...
### Context: CREATE TABLE table_13944 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The Athlete Shin Yeong-eun with a rank larger than 3 and notes of FD had what time? ### Query: ...
### Context: CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, D...
### Context: CREATE TABLE table_7774 ( "Date" text, "Event" text, "City" text, "Oil Pattern" text, "Winner (Title #)" text, "Runner-up" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the runner-up from Milwaukee? ### Qu...
### Context: CREATE TABLE table_72092 ( "District" text, "Total amount of trees" real, "Prevailing types, %" text, "Amount of old trees" text, "Amount of trees, that require replacement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the amo...
### Context: CREATE TABLE table_name_73 ( issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527? ### Query: SELECT...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, reli...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE table_name_4 ( assists VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many assists did Steve Walker have? ### Query: SELECT assists FROM table_name_4 WHERE player = "steve walker"
### Context: CREATE TABLE Orders ( order_id INTEGER, customer_id INTEGER, date_order_placed DATETIME, order_details VARCHAR(255) ) CREATE TABLE Order_Items ( order_item_id INTEGER, order_id INTEGER, product_id INTEGER, product_quantity VARCHAR(50), other_order_item_details VARCHAR(2...
### Context: CREATE TABLE table_name_51 ( round INTEGER, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which round has a record of 5-3 (1)? ### Query: SELECT MIN(round) FROM table_name_51 WHERE record = "5-3 (1)"
### 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_21017 ( "Model number" text, "sSpec number" text, "Frequency" text, "L2 cache" text, "FSB" text, "Mult." text, "Voltage" text, "TDP" text, "Socket" text, "Release date" text, "Part number(s)" text, "Release price ( USD )" text ) -- Using ...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_name_74 ( rounds VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rounds did Gordini participate in? ### Query: SELECT rounds FROM table_name_74 WHERE constructor = "gordini"
### Context: CREATE TABLE Apartments ( apt_type_code VARCHAR, room_count INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show each apartment type code, and the maximum and minimum number of rooms for each type. ### Query: SELECT apt_type_code, MAX(room_count...
### Context: CREATE TABLE table_17155250_1 ( language_s_ VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What languages were spoken in the film 'FireDancer'? ### Query: SELECT language_s_ FROM table_17155250_1 WHERE fil...
### Context: CREATE TABLE table_203_406 ( id number, "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many drivers drove all the ro...
### 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 jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE regions ( region_id number, region_name text ) CREATE TABLE departments ( departmen...
### Context: CREATE TABLE table_name_78 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for Jani Lajunen? ### Query: SELECT position FROM table_name_78 WHERE player = "jani lajunen"
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_name_75 ( losses INTEGER, season VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0? ### Query: SELECT MIN(losses) FRO...
### 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 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 table_52784 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did NY Rangers play at home? ### Query: SE...
### Context: CREATE TABLE table_11961582_10 ( team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was played on April 20? ### Query: SELECT team FROM table_11961582_10 WHERE date = "April 20"
### Context: CREATE TABLE table_name_93 ( block_a VARCHAR, toshizo VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the block A for shuji kondo ### Query: SELECT block_a FROM table_name_93 WHERE toshizo = "shuji kondo"
### 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 table_28737 ( "School" text, "Nickname" text, "Location" text, "Colors" text, "Join Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the colors for north canton ### Query: SELECT "Colors" FROM table_28737 WHERE "L...
### Context: CREATE TABLE table_5000 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the sum of Events that has a Rank larger than 5 is 3 ### Query: SELEC...
### Context: CREATE TABLE table_42106 ( "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_1000181_1 ( notes VARCHAR, current_slogan VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me what the notes are for South Australia ### Query: SELECT notes FROM table_1000181_1 WHERE current_slogan = "SOUTH AUSTRALIA"
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_204_630 ( id number, "no" number, "date" text, "race" text, "track" text, "winner" text, "reports" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where was the last race listing frank kimmel held ? ### Query:...
### 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 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 candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, ...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostHistory ( I...
### Context: CREATE TABLE table_55048 ( "Name" text, "Model" text, "Park" text, "Opened" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the model for Thor's Hammer which is listed as operating? ### Query: SELECT "Model" FROM ...
### Context: CREATE TABLE table_name_47 ( total_trips__am_pm_ VARCHAR, operated_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What trips are operated by Atlantic coast charters? ### Query: SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by ...
### Context: CREATE TABLE table_72391 ( "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. -- How many incumbents were for district georgia 6? ### Query...
### Context: CREATE TABLE table_name_65 ( grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid with a yamaha manufacturer and a +19.435 time/retired? ### Query: SELECT grid FROM table_name_65 W...
### Context: CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCH...
### Context: CREATE TABLE table_75759 ( "Information" text, "Altade\u00f1a" text, "Aprende" text, "Centennial" text, "Kyrene MS" text, "del Pueblo" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Centennial has a del Pueblo of 1986? ### Qu...
### 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 table_71822 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which visiting team wound up with a final score of 18-40? ### Query: SELECT "V...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_70945 ( "Date enacted" text, "Normal total" text, "\u00a726 total" text, "Ont." text, "Que." text, "N.S." text, "N.B." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the normal with que of 24 ### Query: ...
### Context: CREATE TABLE table_name_90 ( bronze VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the bronze medal in Hiroshima? ### Query: SELECT bronze FROM table_name_90 WHERE location = "hiroshima"
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_name_95 ( downhill VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st run that is down hill less than 46, and 84.45 points? ### Query: SELECT 1 AS st_run FROM table_name_95 WHERE downhill < 46 AND ...
### Context: CREATE TABLE table_66760 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time of the person in lane 7? ### Query: SELECT "Time" FROM table_66760 WHERE "Lan...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_name_70 ( date VARCHAR, sport VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date had a sport of Academics? ### Query: SELECT date FROM table_name_70 WHERE sport = "academics"
### Context: CREATE TABLE table_8507 ( "White" text, "Black" text, "Year" real, "Result" text, "Moves" real, "Tournament" text, "Opening" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament had a black of Kramnik and an opening of...
### Context: CREATE TABLE table_1682026_3 ( profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the profits (in billions) of the company with a market value of 172.9 billion? ### Query: SELECT profit...
### Context: CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) 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,...
### Context: CREATE TABLE table_203_440 ( id number, "rank" number, "player" text, "from" text, "to" text, "transfer fee\n(\u20ac million)" number, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team had the top transfer come ...
### Context: CREATE TABLE table_44993 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par score from Brad Faxon of the United States with a score of 73-68=141? ### ...
### Context: CREATE TABLE table_name_18 ( against INTEGER, lost VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of points against when the team has more than 0 losses and plays fewer than 6 games? ### Query: SEL...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) ...
### Context: CREATE TABLE table_19309079_2 ( qatari_female VARCHAR, qatari_male VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers were recorded for Qatari female when Qatari male was 97? ### Query: SELECT COUNT(qatari_female) FROM table_193090...
### Context: CREATE TABLE table_57564 ( "D 41 \u221a" text, "D 42 \u221a" text, "D 43 \u221a" text, "D 44 \u221a" text, "D 45 O" text, "D 46 O" text, "D 47 +" text, "D 48 +" text, "D 49 +" text, "D 50 +" text ) -- Using valid SQLite, answer the following questions for the table...
### Context: CREATE TABLE table_25405 ( "Season" real, "Episodes" real, "Timeslot (ET)" text, "Season Premiere" text, "Season Finale" text, "TV Season" text, "Rank" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_14 ( attendance INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the green bay packers game? ### Query: SELECT SUM(attendance) FROM table_name_14 WHERE opponent = "green bay packe...