text
stringlengths
197
8.39k
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime ...
### Context: CREATE TABLE table_name_32 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009? ### Query: SELECT 2004 FROM table_name_32 WHERE 2005 = "a" AND 2009 = "q1"
### Context: CREATE TABLE table_31909 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the winning driver for rou...
### Context: CREATE TABLE table_name_91 ( long INTEGER, car VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has the highest Long with 59 Car? ### Query: SELECT MAX(long) FROM table_name_91 WHERE car = 59
### 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_63816 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number...
### 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_64561 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_69142 ( "Round" real, "Name" text, "Position" text, "School" text, "Signed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position played for the player drafted in round 2? ### Query: SELECT "Position" F...
### 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 mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZK...
### Context: CREATE TABLE table_34835 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many scores have paul casey as a player? ### Query: SELECT COUNT("Score") FROM table_3483...
### Context: CREATE TABLE table_name_69 ( draws INTEGER, wins VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average draws with less than 3 wins and more than 5 points? ### Query: SELECT AVG(draws) FROM table_name_69 WHERE wi...
### Context: CREATE TABLE airport_aircraft ( id number, airport_id number, aircraft_id number ) CREATE TABLE airport ( airport_id number, airport_name text, total_passengers number, %_change_2007 text, international_passengers number, domestic_passengers number, transit_passenge...
### Context: CREATE TABLE table_name_24 ( loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who lost when the philadelphia eagles won at lincoln financial field on september 30? ### Query: SELECT lo...
### Context: CREATE TABLE table_30324 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year location for haruna fukuoka ### Query: SELE...
### Context: CREATE TABLE table_name_16 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much is the highest number in 2006 with fewer than 0 in 2002? ### Query: SELECT MAX(2006) FROM table_name_16 WHERE 2002 < 0
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE transfers ( row_id number, subject_id...
### Context: CREATE TABLE table_name_78 ( estimate VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the estimated number of victims for the April 27, 1865 sinking? ### Query: SELECT estimate FROM table_name_78 WHERE date = "april 27, 18...
### Context: CREATE TABLE table_name_22 ( drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times what the position 6th, the competition was super league xvii and played was larger th...
### Context: CREATE TABLE store_district ( Store_ID int, District_ID int ) CREATE TABLE product ( product_id int, product text, dimensions text, dpi real, pages_per_minute_color real, max_page_size text, interface text ) CREATE TABLE store ( Store_ID int, Store_Name text, ...
### 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 gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE table_49778 ( "Year" real, "Series" text, "Make" text, "Driver" text, "Team" text, "Schedule" text, "Role" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the series when the team is gunbroker racing? ### Qu...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE table_38183 ( "Rank" real, "Matches as champion" real, "Reigns as champion" real, "Title matches won*" real, "Title last held" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Matches has champion Rank of 5? ### Query:...
### 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 PostHistoryTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID othe...
### Context: CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, ...
### 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug t...
### Context: CREATE TABLE table_62454 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "Date of Birth" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What D Player with a Height of m (ft 4in) is in the Spandau 04 Club? ###...
### Context: CREATE TABLE policies ( customer_id VARCHAR ) CREATE TABLE customers ( customer_id VARCHAR, customer_details VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find all the policy type codes associated with the customer 'Dayana Robel ### Query...
### Context: CREATE TABLE table_11780179_1 ( gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion? ### Query: SELECT gdp_per_c...
### Context: CREATE TABLE table_204_467 ( id number, "date" text, "opponents" text, "h/a" text, "result\nf-a" text, "scorers" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many attendees were present at the february...
### Context: CREATE TABLE table_11058032_1 ( title VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode directed by Mark Tinker? ### Query: SELECT title FROM table_11058032_1 WHERE directed_by = "Mark Tinker"
### Context: CREATE TABLE table_27490 ( "Rank" real, "District" text, "Population" real, "Growth Rate" text, "Sex Ratio" real, "Literacy" text, "Density/KM" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the growth rate for hooghly ###...
### 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 FlagTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConc...
### Context: CREATE TABLE table_14938 ( "Week" real, "Opponent" text, "Result" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people were in attendance at week 16? ### Query: SELECT AVG("Attendance") FR...
### Context: CREATE TABLE table_59904 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" text, "FA Cup Goals" real, "League Cup Apps" text, "League Cup Goals" real, "Total Apps" text, "Total Goals" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_200_32 ( id number, "year" number, "w" number, "l" number, "t" number, "finish" text, "coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years did earl ball coach the muncie flyers ? ### Query: S...
### Context: CREATE TABLE table_name_55 ( title VARCHAR, story VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the title of the episode that martin worth wrote the story for? ### Query: SELECT title FROM table_name_55 WHERE story = "martin worth"
### Context: CREATE TABLE table_name_17 ( laps VARCHAR, pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of laps for 23rd position ### Query: SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd"
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_name_44 ( debut_year INTEGER, player VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Debut year has a Player of bob hayton, and Games smaller than 2? ### Query: SELECT AVG(debut_year) FROM table_name_4...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### Context: CREATE TABLE table_52053 ( "Ethnic group" text, "Christian" text, "Buddhist" text, "Hindu" text, "Jewish" text, "Muslim" text, "Sikh" text, "Other" text, "No religion" text, "Not stated" text ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE channel ( Channel_ID int, Name text, Owner text, Share_in_percent real, Rating_in_percent real ) CREATE TABLE broadcast_share ( Channel_ID int, Program_ID int, Date text, Share_in_percent real ) CREATE TABLE program ( Program_ID int, Name text, ...
### Context: CREATE TABLE table_train_239 ( "id" int, "basal_c_peptide" float, "body_weight" float, "renal_disease" bool, "creatinine_clearance_cl" float, "serum_creatinine" float, "stimulated" bool, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the fol...
### 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_22669044_9 ( high_rebounds VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high rebounds for new york ### Query: SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York"
### Context: CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_t...
### Context: CREATE TABLE voting_record ( stuid number, registration_date text, election_cycle text, president_vote number, vice_president_vote number, secretary_vote number, treasurer_vote number, class_president_vote number, class_senator_vote number ) CREATE TABLE student ( s...
### Context: CREATE TABLE table_203_577 ( id number, "tenure" text, "coach" text, "years" number, "record" text, "pct." number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was coach after b.l. noojin ? ### Query: SELECT "coach" FROM table_203_...
### Context: CREATE TABLE furniture_manufacte ( Manufacturer_ID int, Furniture_ID int, Price_in_Dollar real ) CREATE TABLE furniture ( Furniture_ID int, Name text, Num_of_Component int, Market_Rate real ) CREATE TABLE manufacturer ( Manufacturer_ID int, Open_Year real, Name tex...
### Context: CREATE TABLE table_23953 ( "Position" real, "Race number" text, "Sail number" text, "Yacht" text, "State/country" text, "Yacht type" text, "LOA (Metres)" text, "Skipper" text, "Elapsed time d:hh:mm:ss" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE table_37771 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent during the game that had more than 31,891 people in attendance? ### Q...
### Context: CREATE TABLE table_27166 ( "Tie no" real, "Home team" text, "Score 1" text, "Away team" text, "Attendance" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tie has Orient as the home team? ### Query: SELECT "Tie no"...
### Context: CREATE TABLE table_19331 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" text, "2nd (m)" text, "Points" text, "Overall WC points (Rank)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the overall wc points for...
### 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_203_737 ( id number, "#" number, "employer" text, "# of employees" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many employers listed have less than 250 employees ? ### Query: SELECT COUNT("employer") FROM table_...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE fzzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZT...
### 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 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 PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE Badges ( Id number, ...
### 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_6111 ( "Name" text, "Birth" text, "Marriage" text, "Became Queen" text, "Ceased to be Queen" text, "Death" text, "Spouse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the person who died on 16 July ...
### Context: CREATE TABLE table_27961 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest number of touchdowns by a player? ### Query: SELECT MAX(...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, ...
### Context: CREATE TABLE table_name_91 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game that has tie no 2? ### Query: SELECT date FROM table_name_91 WHERE tie_no = "2"
### Context: CREATE TABLE table_34148 ( "Rank" text, "Common of" text, "Population" real, "Area (km 2 )" real, "Density (inhabitants/km 2 )" real, "Altitude (mslm)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people have an Altitude ...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE Badges ( Id number, UserId number, ...
### Context: CREATE TABLE table_10953197_4 ( no_in_season VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the episode with production code 2395118? ### Query: SELECT no_in_season FROM table_10953197_4 WHERE produ...
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) ...
### Context: CREATE TABLE table_52045 ( "Series" text, "Years" text, "Magazine" text, "Albums" text, "Editor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did the magazine Vaillant and Pif run? ### Query: SELECT "Years" FROM table_5204...
### Context: CREATE TABLE actor ( actor_id number, first_name text, last_name text, last_update time ) CREATE TABLE city ( city_id number, city text, country_id number, last_update time ) CREATE TABLE address ( address_id number, address text, address2 text, district te...
### 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID de...
### 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 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 table_25008327_8 ( croatian VARCHAR, english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for Croatian when value for English is dog? ### Query: SELECT croatian FROM table_25008327_8 WHERE english = "dog"
### Context: CREATE TABLE table_51332 ( "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 crowd had an Away team score ...
### Context: CREATE TABLE Addresses ( Address_ID VARCHAR(100), Line_1 VARCHAR(255), Line_2 VARCHAR(255), City_Town VARCHAR(255), State_County VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Bookings ( Booking_ID INTEGER, Customer_ID INTEGER, Workshop_Group_ID VARCHAR(100), ...
### Context: CREATE TABLE table_63058 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Tv Time of the game with an Attendance of 73,578? ### Quer...
### Context: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has friend...
### Context: CREATE TABLE table_22805 ( "Club" text, "Position in 2012\u201313" text, "First season in top division" text, "Number of seasons in top division" real, "First season of current spell in top division" text, "Top division titles" real, "Last top division title" text ) -- Using v...
### Context: CREATE TABLE table_11630008_4 ( season_no VARCHAR, series_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons was series number 47 shown? ### Query: SELECT COUNT(season_no) FROM table_11630008_4 WHERE series_no = 47
### Context: CREATE TABLE student ( stuid VARCHAR, sex VARCHAR ) CREATE TABLE lives_in ( stuid VARCHAR, dormid VARCHAR ) CREATE TABLE dorm ( dormid VARCHAR, dorm_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of female ...
### Context: CREATE TABLE table_name_11 ( license VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the license for Rygel? ### Query: SELECT license FROM table_name_11 WHERE name = "rygel"
### Context: CREATE TABLE job_history ( employee_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- display the ID for those employees who did two or more jobs in the past. ### Query: SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*) >= 2
### Context: CREATE TABLE table_17987 ( "No." real, "Air Date" text, "Rating" text, "Share" real, "18-49 (Rating/Share)" text, "Viewers (m)" text, "Night" real, "Timeslot" real, "Overall" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, Targe...
### 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 swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Eve...
### Context: CREATE TABLE table_71791 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1991, what was the lowest total? ### Query: SELECT MIN("Total") F...
### Context: CREATE TABLE table_21227 ( "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_203_437 ( id number, "year" number, "laureate" text, "relation" text, "category" text, "rationale" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is after robert hofstadter on the list ? ### Query: SELECT "la...