text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_49 ( authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Authority has a coed school with a decile greater than 4, with a 150 roll? ### Query: SELECT autho...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( row_id number, subject_id number, h...
### Context: CREATE TABLE table_name_98 ( status VARCHAR, route_of_administration VARCHAR, gene VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the statue of the aat gene, which has an intramuscular route of administration? ### Query: SELECT stat...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostsWithDeleted (...
### Context: CREATE TABLE table_24145 ( "Rank" real, "Strike rate" text, "Player" text, "Innings" real, "Balls Faced" real, "Runs" real, "Period" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank for a strike rate of 91.67? ##...
### Context: CREATE TABLE table_71245 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the engine for years before 1990 and chassis of eurobrun er189 ### Query: SELECT "Engin...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### 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 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_name_29 ( capacity INTEGER, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average capacity for the venue where the team kommunalnik played? ### Query: SELECT AVG(capacity) FROM table_name_29 WHERE team = "ko...
### Context: CREATE TABLE table_name_67 ( finish VARCHAR, start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the finish value for a start of 19? ### Query: SELECT finish FROM table_name_67 WHERE start = "19"
### Context: CREATE TABLE table_name_49 ( purpose VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Purpose has a Name of oak? ### Query: SELECT purpose FROM table_name_49 WHERE name = "oak"
### Context: 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 ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE date_...
### 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 Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_27537518_9 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date was the record of 27-28-11 set? ### Query: SELECT date FROM table_27537518_9 WHERE record = "27-28-11"
### Context: CREATE TABLE table_name_82 ( method VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method of the bout lasting 4:15? ### Query: SELECT method FROM table_name_82 WHERE time = "4:15"
### Context: CREATE TABLE PostTypes ( Id number, Name text ) 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, ...
### Context: CREATE TABLE zyjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_20098479_1 ( written_by VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote episode number 48 ### Query: SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, cul...
### Context: CREATE TABLE table_name_88 ( traffic_direction VARCHAR, street VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the traffic direction of 70th street? ### Query: SELECT traffic_direction FROM table_name_88 WHERE street = "70th street"
### 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 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 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_name_81 ( grid INTEGER, laps VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Grid for jj lehto with over 51 laps? ### Query: SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver...
### Context: CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE dorm_amenity ( amenid number,...
### 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 table_17380 ( "Season" text, "Cup FinalDate" text, "WinningTeam" text, "Score" text, "LosingTeam" text, "Location" text, "Cup Final Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losingteams wer...
### Context: CREATE TABLE table_dev_57 ( "id" int, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "heart_disease" bool, "vasopressors" bool, "temperature" float, "creatinine_clearance_cl" float, "cardiogenic_shock" bool, "height" int, "serum_creatinine"...
### 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 airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jybgb ( BBCJBW text,...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE table_name_68 ( player VARCHAR, position VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player from Denmark who plays position c? ### Query: SELECT player FROM table_name_68 WHERE position = "c" ...
### Context: CREATE TABLE table_name_23 ( superlative VARCHAR, record_set VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Superlative had a record set of 12 nominations? ### Query: SELECT superlative FROM table_name_23 WHERE record_set = "12 nominations...
### Context: CREATE TABLE table_78856 ( "Year" real, "Award Ceremony" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the nomination of Best Revival of a Musical? ### Query: SEL...
### Context: CREATE TABLE ref_document_types ( document_type_code text, document_type_name text, document_type_description text ) CREATE TABLE roles ( role_code text, role_name text, role_description text ) CREATE TABLE all_documents ( document_id number, date_stored time, document...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_90 ( episodes VARCHAR, romaji_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Episodes have a Romaji Title of dragon zakura? ### Query: SELECT COUNT(episodes) FROM table_name_90 WHERE romaji_title = "dragon...
### Context: CREATE TABLE table_35890 ( "Date" text, "Competition" text, "Opponents" text, "Venue" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the League Cup competition with a score of 3-1? ### Query: SELEC...
### Context: CREATE TABLE table_2945 ( "No. in Series" real, "No. in Season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the table...
### Context: CREATE TABLE table_name_96 ( runner_up VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the runner- up when the tournament is santiago? ### Query: SELECT runner_up FROM table_name_96 WHERE tournament = "santiago"
### Context: CREATE TABLE table_39873 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played against Hapoel tel aviv when they were team #1? ### Query: SELECT "Team #2" FRO...
### Context: CREATE TABLE table_name_54 ( away_team VARCHAR, match_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away team when the match score was norths 19 manly 4? ### Query: SELECT away_team FROM table_name_54 WHERE match_score = "nor...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jybgb ( BBCJBW text,...
### Context: CREATE TABLE table_5309 ( "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 above...
### Context: CREATE TABLE procedures_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 TABL...
### Context: CREATE TABLE table_name_56 ( game INTEGER, january VARCHAR, decision VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a January larger than 18, and a Decision of valiquette? ### Query: SELECT MAX(game) FROM table_name_56 WHERE ...
### 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 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_62648 ( "Region" text, "Date" text, "Format(s)" text, "Edition(s)" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Edition of the release in Germany? ### Query: SELECT "Edition(s)" FROM table...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_70882 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Chassis with less than 8 points before 1960? ### Query: SELECT "Chassis" FROM t...
### Context: CREATE TABLE table_149330_1 ( change_in_seat VARCHAR, _percentage_of_votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of seat changes when the % of votes was 23.75? ### Query: SELECT change_in_seat FROM table_149330_1 WH...
### Context: CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM tex...
### Context: CREATE TABLE table_name_6 ( against VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total against for opposing team scotland at twickenham, london venue with a status of fi...
### Context: CREATE TABLE table_38276 ( "Name" text, "Creator" text, "Platform / OS" text, "First public release" text, "Latest stable release" text, "Open source" text, "Programming language used" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_88 ( surface VARCHAR, partner VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of surface was played on when julie halard-decugis was the partner on October 8, 2000? ### Query: SELECT surface FR...
### Context: CREATE TABLE table_26263322_1 ( background VARCHAR, candidate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the background of the candidate daniel phillips? ### Query: SELECT background FROM table_26263322_1 WHERE candidate = "Daniel P...
### Context: CREATE TABLE table_name_59 ( week VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week had attendance of 48,667? ### Query: SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667
### Context: CREATE TABLE table_name_44 ( iwork_version VARCHAR, release_date VARCHAR, pages_version VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What version of iWork was released on October 22, 2013 with a pages version greater than 2? ### Query: SE...
### Context: CREATE TABLE table_name_16 ( pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984? ### Query: SELECT ...
### Context: CREATE TABLE table_name_66 ( year VARCHAR, laps VARCHAR, qual VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Qual of 144.683 and Lap larger than 27? ### Query: SELECT year FROM table_name_66 WHERE laps > 27 AND qual = "144....
### Context: CREATE TABLE table_29546030_2 ( skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which skip (club) had 31 PA and 9 blank ends? ### Query: SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND b...
### 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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9...
### Context: CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, me...
### Context: CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_34548 ( "Date" text, "Tournament" text, "Tier" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When David McNamara was the opponent in the final, what was...
### 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_22 ( attendance INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Attendance when macclesfield town was the way team? ### Query: SELECT SUM(attendance) FROM table_name_22 WHERE away_tea...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE table_25109 ( "Player" text, "Nat" text, "Pos" text, "L Apps" real, "L G" real, "C Apps" real, "C G" real, "Total Apps" real, "Total G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least total apa...
### Context: CREATE TABLE table_2008069_2 ( conventional VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the conventional for ### Query: SELECT conventional FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تاغارما"
### Context: CREATE TABLE table_name_34 ( episode__number VARCHAR, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the episode number that aired on july 23, 2000 ### Query: SELECT episode__number FROM table_name_34 WHERE original_airdat...
### Context: CREATE TABLE table_24919137_2 ( venue VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played when the score was 14.16 (100)-12.12 (84)? ### Query: SELECT venue FROM table_24919137_2 WHERE score = "14.16 (100)-12...
### Context: CREATE TABLE table_name_69 ( result VARCHAR, year VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for song of the year award in 1994? ### Query: SELECT result FROM table_name_69 WHERE year = 1994 AND award ...
### Context: CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participa...
### Context: CREATE TABLE table_13321 ( "Debut year" real, "Player" text, "Games" real, "Goals" real, "Years at club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the debut year for the player with fewer than 54 games, fewer than 8 goals a...
### 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 t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) C...
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME v...
### Context: CREATE TABLE table_61933 ( "Summoned" text, "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the dissolved date of the parliament assembled on...
### Context: CREATE TABLE table_name_45 ( international_mail INTEGER, change VARCHAR, domestic_mail VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the international mail with the highest number that has a change of +0,2% and less than 0 domestic ...
### Context: CREATE TABLE table_66830 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_4736 ( "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 the score when geelong was ...
### Context: CREATE TABLE table_name_53 ( main_language_s_ VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the primary language used in the film, Black Book? ### Query: SELECT main_language_s_ FROM table_name_53...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime ...
### Context: CREATE TABLE table_41750 ( "Variant id" text, "5\u2019UTR splice" text, "Coding" text, "3\u2019UTR sequence" text, "GenBank id" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which genbank id's variant is abd1a? ### Query: SELECT "GenB...
### Context: CREATE TABLE table_204_190 ( id number, "rank" number, "city" text, "county" text, "state" text, "percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which city is ranked last ? ### Query: SELECT "city" FROM table_204_190 OR...
### Context: CREATE TABLE table_69062 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which class City of license of ferrum, virginia? ### Q...
### Context: CREATE TABLE table_name_59 ( points VARCHAR, lost VARCHAR, points_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did the club with 13 losses and 461 points against have? ### Query: SELECT points FROM table_name_59 WH...
### Context: CREATE TABLE table_201_14 ( id number, "crossing" text, "carries" text, "location" text, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many crossings are in maryland ? ### Query: SELECT COUNT("crossing") FROM table_2...
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE fare ( fare_id int, from_airp...
### Context: CREATE TABLE table_55849 ( "Presidency" real, "President" text, "Date of Birth" text, "Took office" real, "Left office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Took Office Date of the Presidency that Left Office Incum...
### Context: CREATE TABLE table_71232 ( "Capital" text, "Prefecture" text, "Region" text, "Island" text, "Pop. \u00b9" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest pop for tottori ### Query: SELECT MAX("Pop. \u00b9") FROM table_7...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ...
### Context: CREATE TABLE table_29116 ( "Event" text, "Start Date" text, "Finish Date" text, "Start" text, "Finish" text, "Distance" text, "Abu Dhabi" text, "Camper" real, "Groupama" real, "Puma" text, "Sanya" text, "Telef\u00f3nica" real ) -- Using valid SQLite, answer...