text
stringlengths
197
8.39k
### Context: CREATE TABLE table_19642 ( "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_9048 ( "Year" real, "Winner" text, "Score" text, "Runner(s)-up" text, "Winner's share ($)" real, "Course" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is runner-up Betsy Rawls from? #...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE certificate ( eid number, aid number ) CREATE TABLE aircraft ( aid number, name text, dist...
### Context: CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number ) CREATE TABLE ndecoreexcel_math_grade8 ( year number, state text, all_students text, average_scale_...
### Context: CREATE TABLE table_10953197_4 ( writer_s_ VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the writer for the episode with production code 2395096? ### Query: SELECT writer_s_ FROM table_10953197_4 WHERE productio...
### Context: CREATE TABLE table_46931 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Against the Houston Oilers after week 14, what was...
### Context: CREATE TABLE table_42129 ( "Player" text, "Club" text, "League" real, "FA Cup" real, "FA Trophy" real, "League Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest league for the league cup more ...
### 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 table_name_7 ( nation VARCHAR, cyclist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nation is Danilo di Luca from? ### Query: SELECT nation FROM table_name_7 WHERE cyclist = "danilo di luca"
### Context: CREATE TABLE table_24491017_1 ( team VARCHAR, f_laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was he on when he had 10 f/laps? ### Query: SELECT team FROM table_24491017_1 WHERE f_laps = 10
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) 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, depa...
### Context: CREATE TABLE table_21552 ( "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_name_30 ( surface VARCHAR, city VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Surface will the Venezuela F5 Futures in Caracas be played? ### Query: SELECT surface FROM table_name_30 WHERE cit...
### Context: CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, date_account_opened DATETIME, account_name VARCHAR(50), other_account_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, account_id INTEGER, invoice_number INTEGER, transa...
### Context: CREATE TABLE table_63736 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest pick when the college is saginaw valley state? ### Query: SELECT MAX("Pic...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId nu...
### Context: CREATE TABLE table_62468 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" text, "Location of the Church" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was the church located in flor...
### Context: CREATE TABLE table_76401 ( "Year" text, "2009" text, "2008" text, "2007" text, "2006" text, "2005" text, "2004" text, "2003" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2008 for 2009 heartland high tech? ### ...
### Context: CREATE TABLE table_19789597_5 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the opponent for june 12 ### Query: SELECT opponent FROM table_19789597_5 WHERE date = "June 12"
### Context: CREATE TABLE table_59338 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location where the oppone...
### Context: CREATE TABLE table_55156 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the low TD for 49 longs and 1436 less yards? ### Query: SELECT MIN("TD's")...
### 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_62105 ( "Mission" text, "Resident Country" text, "Local Location" text, "Local Mission" text, "Non-Resident Head of Mission" text, "Local Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Local Miss...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) 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...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, min...
### Context: CREATE TABLE table_name_28 ( runners_up VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the runners-up in 1996? ### Query: SELECT runners_up FROM table_name_28 WHERE year = "1996"
### Context: CREATE TABLE table_49382 ( "Result" text, "Race" text, "Distance" text, "Weight" real, "Winner or 2nd" text, "Pos'n" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the race with a 10f distance and mollison as the winner or 2...
### 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 country ( country_id number, country_name text, capital text, official_native_language text ) CREATE TABLE team ( team_id number, name text ) CREATE TABLE match_season ( season number, player text, position text, country number, team number, dr...
### Context: CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_dat...
### Context: CREATE TABLE table_name_46 ( february VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is February, when Record is '21-29-11'? ### Query: SELECT february FROM table_name_46 WHERE record = "21-29-11"
### Context: CREATE TABLE table_name_32 ( score VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score when the record was 5-4-2? ### Query: SELECT score FROM table_name_32 WHERE record = "5-4-2"
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden b...
### 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_47384 ( "Poll Source" text, "Dates administered" text, "Democrat: Brian Schweitzer" text, "Republican: Roy Brown" text, "Libertarian: Stan Jones" text, "Lead Margin" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### 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 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 table_204_371 ( id number, "team" text, "competition" text, "category" text, "appearances\nstart" number, "appearances\nsub" number, "goals" number, "team record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- w...
### Context: CREATE TABLE table_204_93 ( id number, "round" number, "pick" number, "player" text, "position" text, "nationality" text, "team" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many f/c 's -lrb- forward/ce...
### Context: CREATE TABLE table_59117 ( "Club" text, "City" text, "Stadium" text, "Capacity" real, "2007\u201308 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Rovigo's Club? ### Query: SELECT "Club" FROM table_59117 WHERE "City" = ...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, ...
### Context: CREATE TABLE table_77199 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Year Named, when Latitude is 37.9N, and when Diameter (km) ...
### Context: CREATE TABLE trucks ( truck_id number, truck_licence_number text, truck_details text ) CREATE TABLE actual_orders ( actual_order_id number, order_status_code text, regular_order_id number, actual_order_date time ) CREATE TABLE regular_order_products ( regular_order_id numb...
### 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 table_15467476_3 ( tries_for VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tries for, for club cambrian welfare rfc? ### Query: SELECT tries_for FROM table_15467476_3 WHERE club = "Cambrian Welfare RFC"
### Context: CREATE TABLE table_name_43 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were the Brewers 27-31? ### Query: SELECT date FROM table_name_43 WHERE record = "27-31"
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, ...
### Context: CREATE TABLE table_72163 ( "Character" text, "Fate" text, "Actor" text, "First Episode" text, "Final Episode" text, "Duration" text, "Final Episode Count" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the actor with char...
### Context: CREATE TABLE table_name_76 ( date VARCHAR, partner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did he play with peter nyborg? ### Query: SELECT date FROM table_name_76 WHERE partner = "peter nyborg"
### Context: CREATE TABLE table_74063 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team replaced their ...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId nu...
### Context: CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ) CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor num...
### Context: CREATE TABLE table_43289 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the game that was before week 4 and was attended by over 54,015 people ? ###...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare te...
### 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 table_62093 ( "Chassis code" text, "Years" text, "Model" text, "Engine" text, "Power" text, "Torque" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Engine does the w123.026 chassis have? ### Query: SELECT "Engine"...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostNoticeT...
### Context: CREATE TABLE table_54182 ( "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 is the highest crowd listed wh...
### Context: CREATE TABLE course ( title VARCHAR, course_id VARCHAR ) CREATE TABLE SECTION ( course_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the course that was offered at building Chandler during the fall semester in the y...
### Context: CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRG...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeo...
### Context: CREATE TABLE table_77536 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest guard picked? ### Query: SELECT MAX("Pick") FROM table_77536 WHERE "Posi...
### Context: CREATE TABLE table_60188 ( "Year" real, "Champion" text, "Finalist" text, "Score" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Champion, when Year is greater than 2007, and when Finalist is 'Asvel'? ### Query: S...
### Context: CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) 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, ...
### Context: CREATE TABLE table_17355716_5 ( team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team where the date is november 17 ### Query: SELECT team FROM table_17355716_5 WHERE date = "November 17"
### Context: CREATE TABLE table_name_1 ( week VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week was there a w 23 14 result? ### Query: SELECT week FROM table_name_1 WHERE result = "w 23–14"
### Context: CREATE TABLE table_69007 ( "Country" text, "2006" real, "2005" real, "2004" real, "2003" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? ### Query: SELECT COUNT...
### Context: CREATE TABLE table_20928649_1 ( date VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of game 6? ### Query: SELECT date FROM table_20928649_1 WHERE game = 6
### Context: CREATE TABLE table_50357 ( "Team" text, "Head Coach" text, "Team Captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team uses the kitmaker Saller and has Krombacher as their shirt sponso...
### 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_name_40 ( sack INTEGER, player VARCHAR, fumr VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total sack for mike green when fumr is less than 0? ### Query: SELECT SUM(sack) FROM table_name_40 WHERE player = "mi...
### Context: CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details V...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_cod...
### Context: CREATE TABLE producer ( pid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE tv_series ( sid int, title text, release_year int, num_of_seasons int, num_of_episodes int, title_aka text, budget text ) CREATE TA...
### Context: CREATE TABLE table_23915973_1 ( frequency VARCHAR, callsign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency when callsign is dxru-fm? ### Query: SELECT frequency FROM table_23915973_1 WHERE callsign = "DXRU-FM"
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost ...
### Context: CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Nu...
### 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_2282444_1 ( t_c__ VARCHAR, magnet VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc ( c)? ### Query: SELECT COUNT(t_c__) AS °c_ FROM table_2282444_1 WHERE magn...
### Context: CREATE TABLE table_15128 ( "Hindi" text, "Romani" text, "Domari" text, "Lomavren" text, "Persian" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Persian word(s) has the same meaning as the Romani word duj? ### Query: SELECT "Persi...
### Context: CREATE TABLE table_58873 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many totals have a Gold larger than 0, and a Bronze smaller than 0? ### Qu...
### Context: CREATE TABLE table_42520 ( "Company" text, "Type" text, "Principal activities" text, "Incorporated in" text, "Group's Equity Shareholding" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What company focuses on Engine Overhaul for their ...
### Context: CREATE TABLE Investors ( investor_id INTEGER, Investor_details VARCHAR(255) ) CREATE TABLE Ref_Transaction_Types ( transaction_type_code VARCHAR(10), transaction_type_description VARCHAR(80) ) CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) ) CREATE ...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_name_92 ( championships INTEGER, established VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many championships did the team or teams established in 1976 win? ### Query: SELECT SUM(championships) FROM table_name_92 WHERE e...
### Context: CREATE TABLE table_name_26 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team at corio oval? ### Query: SELECT away_team FROM table_name_26 WHERE venue = "corio oval"
### Context: CREATE TABLE table_44830 ( "Game" text, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the playoffs Game number on April 26? ### Query: SELECT "Ga...
### 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 ta ( campus_job_id int, student_id int, location varchar ...
### Context: CREATE TABLE table_62525 ( "Date" text, "Name" text, "Local Name" text, "2012 Date" text, "2013 Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the local name for January 7, 2013? ### Query: SELECT "Local Name" FROM table_...
### 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 person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text...
### Context: CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHA...
### Context: CREATE TABLE table_name_31 ( laps INTEGER, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of laps for a grid of 6? ### Query: SELECT AVG(laps) FROM table_name_31 WHERE grid = 6
### Context: CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40),...
### Context: CREATE TABLE table_name_67 ( score VARCHAR, country VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of T5 place in the United States? ### Query: SELECT score FROM table_name_67 WHERE country = "united states"...
### Context: CREATE TABLE table_name_87 ( name VARCHAR, rank VARCHAR, begin_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904? ### Query: SELECT name FROM tabl...