text
stringlengths
197
8.39k
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationI...
### Context: CREATE TABLE table_39789 ( "Year" real, "Award" text, "Category" text, "Nominated Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the award given for the category Mercury Prize? ### Query: SELECT...
### 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_166 ( id number, "pos" text, "no" number, "rider" text, "manufacturer" text, "laps" number, "time" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many riders use...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 ...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE movie ( director VARCHAR, YEAR VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all director names who have a movie in the year 1999 or 2000. ### Query: SELECT director FROM movie WHERE YEAR = 1999 OR YEAR = 2000
### 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_2050 ( "Province" text, "Latin Americans 2001" real, "% 2001" text, "Latin Americans 2011" real, "% 2011" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Latin Americans lived in 2011 in Saskatchewan? ### Que...
### Context: CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destructio...
### 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_22478 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" text, "Water (sqmi)" text, "Latitude" text, "Longitude" text, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_name_40 ( age_groups VARCHAR, sport VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the age group for figure skating? ### Query: SELECT age_groups FROM table_name_40 WHERE sport = "figure skating"
### Context: CREATE TABLE table_18539834_2 ( romaji_title VARCHAR, average_ratings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many titles had an average rating of 8.9%? ### Query: SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_rating...
### Context: CREATE TABLE table_20301 ( "#" real, "Advocate # 1" text, "Advocate # 2" text, "Root of All Evil" text, "Poll winner" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When steroids won the poll, who was advoc...
### Context: CREATE TABLE table_48987 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, pr...
### 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_59195 ( "Code" real, "Municipality" text, "County" text, "Population" real, "Total area" text, "Density (per km 2 land)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total area for a code less than 1...
### Context: CREATE TABLE table_name_39 ( title VARCHAR, first_issue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title that was first published in August 2010? ### Query: SELECT title FROM table_name_39 WHERE first_issue = "august 2010"
### Context: CREATE TABLE table_69719 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which gender has a Decile of 8, an Area of taradale, and Years of 1 13? ###...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE table_name_90 ( date INTEGER, works_number VARCHAR, type VARCHAR, number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 2...
### Context: CREATE TABLE table_name_55 ( against INTEGER, peel VARCHAR, byes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Against has a Peel of waroona, and a Byes larger than 0? ### Query: SELECT MAX(against) FROM table_name_55 WHERE peel = "w...
### Context: CREATE TABLE table_64890 ( "Rank" real, "Name" text, "Height" text, "Highest floor" real, "City" text, "Primary use" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the building that has a Highest floor larger tha...
### 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_721 ( "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. -- who are the candidates where the incumbent is sam m. gibbons?...
### Context: CREATE TABLE table_68708 ( "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. -- What is the host team with the stadium Lincoln Financial Field? ### Query: SEL...
### Context: CREATE TABLE table_9420 ( "Team" text, "All Games" text, "All Games %" real, "Nonconference Games" text, "Nonconference Games %" real, "Ranked AP Nonconference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which All Games have a N...
### Context: CREATE TABLE people ( people_id number, sex text, name text, date_of_birth text, height number, weight number ) CREATE TABLE candidate ( candidate_id number, people_id number, poll_source text, date text, support_rate number, consider_rate number, oppose...
### Context: 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_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, r...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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, JZ...
### Context: CREATE TABLE employees ( employee_id number, first_name text, last_name text, email text, phone_number text, hire_date time, job_id text, salary number, commission_pct number, manager_id number, department_id number ) CREATE TABLE countries ( country_id text...
### Context: CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy...
### Context: CREATE TABLE entrepreneur ( entrepreneur_id number, people_id number, company text, money_requested number, investor text ) CREATE TABLE people ( people_id number, name text, height number, weight number, date_of_birth text ) -- Using valid SQLite, answer the foll...
### Context: CREATE TABLE table_21502 ( "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 Bookings ( booking_id INTEGER, customer_id INTEGER, booking_status_code VARCHAR(10), returned_damaged_yn VARCHAR(40), booking_start_date DATETIME, booking_end_date DATETIME, count_hired VARCHAR(40), amount_payable DECIMAL(19,4), amount_of_discount DECIMAL(19...
### Context: CREATE TABLE table_2139023_2 ( outcome VARCHAR, championship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the Australian Championships? ### Query: SELECT outcome FROM table_2139023_2 WHERE championship = "Australian cha...
### Context: CREATE TABLE table_74218 ( "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_name_54 ( laps INTEGER, driver VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many average laps for Alex Tagliani with more than 17 points? ### Query: SELECT AVG(laps) FROM table_name_54 WHERE driver =...
### Context: CREATE TABLE table_67598 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the smallest rank of noriko inada? ### Query: SELECT MIN("Rank") FROM table_67598 WHERE ...
### Context: CREATE TABLE bookings ( booking_start_date VARCHAR, booking_end_date VARCHAR, booking_id VARCHAR ) CREATE TABLE products_booked ( product_id VARCHAR, booking_id VARCHAR ) CREATE TABLE Products_for_hire ( product_id VARCHAR, product_name VARCHAR ) -- Using valid SQLite, answe...
### Context: CREATE TABLE table_name_7 ( time VARCHAR, ground VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time with a Ground that is humber college north? ### Query: SELECT time FROM table_name_7 WHERE ground = "humber college north"
### Context: CREATE TABLE table_55238 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of yards for avg of 9 and rec of 1 ### Query: SELECT COUNT("Yards") FROM tabl...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime tim...
### Context: CREATE TABLE table_61466 ( "Draw" real, "Artist" text, "Song" text, "Lyrics (l) / Music (m)" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Lyrics (l) / Music (m) when the results show out, and the song shows...
### 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 table_48588 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE invoices ( id number, c...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime t...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE restriction ( restriction_code text, ...
### Context: CREATE TABLE table_43332 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of cuts made when the top-5 is 2, a...
### Context: CREATE TABLE table_name_47 ( result VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which result has a Goal of deacon 2/5? ### Query: SELECT result FROM table_name_47 WHERE goals = "deacon 2/5"
### Context: CREATE TABLE table_9366 ( "Date" text, "Series" text, "Circuit" text, "City / State" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is City / State, when Winner is Mal Rose, and when Date is 20 Jul? ...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE Faculty ( FacID VARCHAR, advisor VARCHAR ) CREATE TABLE Student ( FacID VARCHAR, advisor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show ids for the faculty members who don't advise any student. ### Query: SELECT FacID...
### 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 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 Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER...
### Context: CREATE TABLE Services ( Service_ID INTEGER, Service_name VARCHAR(40) ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_name VARCHAR(40) ) CREATE TABLE Claims ( Claim_ID INTEGER, FNOL_ID INTEGER, Effective_Date DATE ) CREATE TABLE First_Notification_of_Loss ( FNOL_I...
### Context: CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE...
### Context: CREATE TABLE table_18358 ( "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 are all the results where Robert Bauman is the incumbe...
### Context: CREATE TABLE table_203_150 ( id number, "season" number, "series" text, "team" text, "races" number, "wins" number, "poles" number, "f/laps" number, "podiums" number, "points" number, "position" text ) -- Using valid SQLite, answer the following questions for t...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( ...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id...
### Context: CREATE TABLE table_name_48 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1980 value with a 1r in 1984 and a 1r in 1981? ### Query: SELECT 1980 FROM table_name_48 WHERE 1984 = "1r" AND 1981 = "1r"
### Context: CREATE TABLE Album ( AlbumId integer, Title varchar(160), ArtistId integer ) CREATE TABLE Employee ( EmployeeId integer, LastName varchar(20), FirstName varchar(20), Title varchar(30), ReportsTo integer, BirthDate datetime, HireDate datetime, Address varchar(70)...
### Context: CREATE TABLE table_48871 ( "Model" text, "Length Over All" text, "Beam" text, "Sail Area" text, "Crew" text, "Comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Comments has a Length Over All of 4.5m? ### Query: SELECT ...
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_c...
### Context: CREATE TABLE table_67975 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text, "10:30" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 9:00 has an 8:00 behind the movies? ### Que...
### Context: CREATE TABLE table_name_30 ( location VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location did the event kotc: mortal sins take place? ### Query: SELECT location FROM table_name_30 WHERE event = "kotc: mortal sins"
### Context: CREATE TABLE table_203_741 ( id number, "season" text, "competition" text, "round" text, "opponent" text, "home" text, "away" text, "aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did they have more or less than 1...
### Context: CREATE TABLE table_64226 ( "Rank" real, "Lane" real, "Athlete" text, "Nationality" text, "Time" real, "React" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest lane with a 0.216 react? ### Query: SELECT MIN("Lane") ...
### Context: CREATE TABLE table_52886 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What constructor has a 12 grid? ### Query: SELECT "Constructor" FROM table_52886 WHER...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) 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_...
### Context: CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int ) CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier te...
### Context: CREATE TABLE match ( Round real, Location text, Country text, Date text, Fastest_Qualifying text, Winning_Pilot text, Winning_Aircraft text ) CREATE TABLE airport_aircraft ( ID int, Airport_ID int, Aircraft_ID int ) CREATE TABLE airport ( Airport_ID int, Ai...
### Context: CREATE TABLE table_name_90 ( west_germanic VARCHAR, german VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the West Germanic when the German is /s/ or /ts/? ### Query: SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/"
### Context: CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE csu_fees ( campus number, year number, campusfee number ) CREATE TABLE faculty ( campus number, year number, faculty number ) CREATE TABLE enrollments ( ...
### Context: CREATE TABLE ref_address_types ( address_type_code text, address_type_description text ) CREATE TABLE addresses ( address_id number, line_1 text, line_2 text, line_3 text, city text, zip_postcode text, state_province_county text, country text, other_address_deta...
### Context: CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int...
### Context: CREATE TABLE table_30121082_1 ( area__acres__ INTEGER, poor_law_union VARCHAR, civil_parish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest area when the Poor Law Union is Skibbereen and the Civil Parish is Tullagh? ### ...
### Context: CREATE TABLE table_22184 ( "Year" real, "Car number" real, "Start" real, "Qual. speed" text, "Speed rank" real, "Finish" real, "Laps completed" real, "Laps led" real, "Race status" text, "Chassis" text ) -- Using valid SQLite, answer the following questions for the...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ...
### Context: CREATE TABLE table_13619053_9 ( team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team played on April 1? ### Query: SELECT team FROM table_13619053_9 WHERE date = "April 1"
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline te...
### Context: CREATE TABLE table_45672 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is Bandar Abbas in? ### Query: SELECT "Country" FROM table_45672 WHERE "City" = 'ba...
### Context: CREATE TABLE zzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_203_387 ( id number, "parish est" number, "church" text, "city" text, "current bldg begun" number, "weekly collections" text, "notes" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long has sacred heart ...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE cost ( ...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE...
### Context: CREATE TABLE table_78188 ( "Club" text, "Wins" real, "Last final won" text, "Runners-up" real, "Last final lost" text, "Total final appearances" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club has over 1 runners-up and last...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time...
### Context: CREATE TABLE table_name_6 ( place VARCHAR, money___$__ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ranking when Archie Compston is the player and the money is $73? ### Query: SELECT place FROM table_name_6 WHE...
### Context: CREATE TABLE table_24746 ( "Date" text, "Event #" text, "Event" text, "Winner" text, "Prize" text, "Entries" text, "Prize Pool" text, "Elapsed Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the prize pool for ...
### Context: CREATE TABLE table_49759 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the 2nd round opponent when Team 2 is Red Star (D1)? ### Query: SELECT "2nd roun...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wa...
### Context: CREATE TABLE table_16194 ( "Rank" real, "Member Association" text, "Points" text, "Group stage" real, "Play-off" real, "AFC Cup" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games had a score value of 813.5 in post-season...
### Context: CREATE TABLE table_75994 ( "Source" text, "Date" text, "Goberman" text, "Loera" text, "Merkley" text, "Neville" text, "Novick" text, "Obrist" text, "Other/ Undecided" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ...
### Context: CREATE TABLE table_name_26 ( place VARCHAR, country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was United States place when the player was Fred Couples? ### Query: SELECT place FROM table_name_26 WHERE country = "un...