text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_49 ( e_score VARCHAR, total VARCHAR, a_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of E scores when the total score was 19.7 and the A score was more than 6? ### Query: SELECT COUNT(...
### 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 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 table_1292 ( "Airline" text, "ICAO" text, "IATA" text, "Callsign" text, "Commenced operations" real, "Fleet size" real, "Headquarters" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which year did the Angeles City b...
### Context: CREATE TABLE table_1341865_37 ( party VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- To which party does Frank T. Bow belong? ### Query: SELECT party FROM table_1341865_37 WHERE incumbent = "Frank T. Bow"
### 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 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### Context: CREATE TABLE table_name_66 ( score VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the match with an attendance of 2248? ### Query: SELECT score FROM table_name_66 WHERE attendance = 2248
### 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 comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE student_record ( student_id int, course_id int, 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 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 Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) ) CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Assets ( Asset_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Addresses ( Address_ID INTEGER, address_details...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_name_96 ( floors INTEGER, rank VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest floors with rank greater than 1 in Conrad Dubai? ### Query: SELECT MAX(floors) FROM table_name_96 WHERE rank ...
### Context: CREATE TABLE cast ( id int, msid int, aid int, role text ) CREATE TABLE director ( did int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE producer ( pid int, gender text, name text, nationality text, bi...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, ...
### Context: CREATE TABLE table_15335 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Representative has a Presentation of ...
### Context: CREATE TABLE table_103084_4 ( year INTEGER, bbc_two_total_viewing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the BBC two total viewing 7,530,000? ### Query: SELECT MIN(year) FROM table_103084_4 WHERE bbc_two_total_viewing = "7...
### Context: CREATE TABLE pilot ( pilot_id number, name text, age number ) CREATE TABLE airport ( airport_id number, airport_name text, total_passengers number, %_change_2007 text, international_passengers number, domestic_passengers number, transit_passengers number, aircra...
### Context: CREATE TABLE table_71771 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won Women's doubles when Nikhil K...
### Context: CREATE TABLE table_name_42 ( country VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had a t4 place and scored 66-73=139? ### Query: SELECT country FROM table_name_42 WHERE place = "t4" AND score =...
### Context: CREATE TABLE table_3448 ( "Country" text, "Population in 2011 (In thousands)" real, "GDP (nominal) in 2011 ( USD millions)" real, "GDP (nominal) per capita" real, "GDP (PPP) in 2011 ( USD millions)" real, "GDP (PPP) per capita" real, "Merchandise exports ($ billions), 2011" text...
### Context: CREATE TABLE table_60983 ( "Date" text, "Opponent#" text, "Rank #" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT RANK HAD A RESULT OF W13-3? ### Query: SELECT "Rank #" FROM table...
### Context: CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE pape...
### 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_15975 ( "#" real, "City" text, "1981 Census" real, "1991 Census" real, "2001 Census" real, "2010 Est." real, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 2001 census of the region of Abru...
### Context: CREATE TABLE table_204_297 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who had more gold medals , russia or georgia ? ### ...
### Context: CREATE TABLE table_8128 ( "Year" real, "Number" real, "Team" text, "Co-driver" text, "Position" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the co-driver for the 6th position and more than 159 laps? ### Query...
### 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_DIRE_CD text, MED_...
### Context: CREATE TABLE table_5184 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Location of boston garden, and a Record of 58-23 involved what opponent? ##...
### Context: CREATE TABLE table_52308 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call sign for a class of A? ### Query: SEL...
### 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_4002 ( "District" text, "Incumbent" text, "Cook" text, "Rothenberg" text, "CQ Politics" text, "Crystal Ball" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many incumbents are in district la-1? ### Query: SEL...
### Context: CREATE TABLE table_15390 ( "Round" real, "Selection" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player that went to notre dame ### Query: SELECT "Player" FROM table_15390 WHE...
### 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 table_70611 ( "Poll" text, "Pre- season" text, "Mar. 3" text, "May 5" text, "May 12" text, "May 19" text, "May 26" text, "Final Poll" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which March 3 has a Poll of ba...
### 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_name_33 ( venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue of the game on 27 April 1964? ### Query: SELECT venue FROM table_name_33 WHERE date = "27 april 1964"
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: CREATE TABLE table_43349 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest gold when bronze is 1, and rank is 5? ### Query: SELECT MA...
### Context: CREATE TABLE table_60459 ( "Member" text, "Party" text, "Electorate" text, "State" text, "First elected" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Member has an Electorate of southern melbourne? ### Query: SELECT "Member" FR...
### Context: CREATE TABLE table_name_45 ( class VARCHAR, machine VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What class has nsr250 as the machine, with points greater than 97? ### Query: SELECT class FROM table_name_45 WHERE machine =...
### 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 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_26961951_4 ( directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes were written by Alison McDonald? ### Query: SELECT COUNT(directed_by) FROM table_26961951_4 WHERE written_by = "Ali...
### Context: CREATE TABLE table_16034882_4 ( wins VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins did the team with 42 points get? ### Query: SELECT wins FROM table_16034882_4 WHERE points = 42
### Context: CREATE TABLE gymnast ( gymnast_id number, floor_exercise_points number, pommel_horse_points number, rings_points number, vault_points number, parallel_bars_points number, horizontal_bar_points number, total_points number ) CREATE TABLE people ( people_id number, nam...
### Context: CREATE TABLE table_204_265 ( id number, "no." number, "title (latin)" text, "title (english translation)" text, "subject" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how often was an encyclical sent in january ? ###...
### 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 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 instructor ( instructor_id int, name varchar, uniqname va...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Cr...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_11695215_1 ( written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes did David Jackson write and direct? ### Query: SELECT COUNT(written_by) FROM table_11695215_1 WHERE directed_by = "...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_i...
### Context: CREATE TABLE table_46189 ( "Fin. Pos" text, "Car No." text, "Driver" text, "Team" text, "Laps" text, "Time/Retired" text, "Grid" text, "Laps Led" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the ...
### Context: CREATE TABLE table_203_707 ( id number, "rank" number, "npc" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the difference in gold medals between russia a...
### Context: CREATE TABLE table_26919_7 ( proto_semitic VARCHAR, english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If in English it's house, what is it in proto-semitic? ### Query: SELECT proto_semitic FROM table_26919_7 WHERE english = "house"
### Context: CREATE TABLE table_name_90 ( pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Pl GP when the pick number is 199 and the Reg GP is bigger than 0? ### Query: SELECT SUM(pl_...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_locatio...
### Context: CREATE TABLE table_name_17 ( census_ranking VARCHAR, area_km_2 INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What census ranking has an area greater than 578.28 km2? ### Query: SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_15463188_1 ( school_club_team VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the school/club for guard ### Query: SELECT school_club_team FROM table_15463188_1 WHERE position = "Guard"
### Context: CREATE TABLE table_53274 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the away team score for geelong away team ### Q...
### 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 Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIM...
### Context: CREATE TABLE city ( city_id number, city text, hanzi text, hanyu_pinyin text, regional_population number, gdp number ) CREATE TABLE temperature ( city_id number, jan number, feb number, mar number, apr number, jun number, jul number, aug number, ...
### Context: CREATE TABLE table_name_99 ( location VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location for Belshina? ### Query: SELECT location FROM table_name_99 WHERE team = "belshina"
### Context: CREATE TABLE table_44089 ( "Year" real, "Champion" text, "Country" text, "Score" real, "To par" text, "Tournament Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Joanne Carner's average score in Canadian Women's Ope...
### Context: CREATE TABLE table_name_6 ( runner_up VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What runner-up has 1925 as the year? ### Query: SELECT runner_up FROM table_name_6 WHERE year = "1925"
### Context: CREATE TABLE table_name_86 ( owner VARCHAR, time VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which owner has the time of 2:02.20 and the year of 1957? ### Query: SELECT owner FROM table_name_86 WHERE time = "2:02.20" AND ye...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, ...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE instructor ( ...
### Context: CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE wri...
### Context: CREATE TABLE table_71590 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what day was the score of 1 6 6 1 3 6 achieved? ### Query: SELECT...
### Context: CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE business ( bid int, business_id varcha...
### Context: CREATE TABLE table_72350 ( "Institution" text, "Team" text, "City" text, "Province" text, "First season" real, "Head coach" text, "Enrollment" real, "Endowment" text, "Football stadium" text, "Capacity" real ) -- Using valid SQLite, answer the following questions f...
### Context: CREATE TABLE table_64115 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In week 7, what was the average attendance? ### Query: SELECT AVG("Attendance") FROM table...
### Context: CREATE TABLE table_2701851_5 ( written_by VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode in the series 46b? ### Query: SELECT written_by FROM table_2701851_5 WHERE no_in_series = "46b"
### Context: CREATE TABLE table_name_21 ( class VARCHAR, erp_w VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class has an ERP W of 222? ### Query: SELECT class FROM table_name_21 WHERE erp_w = 222
### Context: CREATE TABLE table_54614 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many grids have less than 41 laps and a Driver of pedro de la rosa? ### Query: SE...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_39319 ( "Region served" text, "ch 1" text, "On-air date" text, "Analogue Power" text, "Digital Power" text, "Analogue HAAT" text, "Digital HAAT" text, "Transmitter Location" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE match_season ( Season real, Player text, Position text, Country in...
### Context: CREATE TABLE table_16497 ( "Team" text, "Stadium" text, "Capacity" real, "Highest" real, "Lowest" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest of balmoor/ ### Query: SELECT "Highest" FROM table...
### Context: CREATE TABLE table_34772 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the second for the curling team which has alternate Margarita Fomina?...
### Context: CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE train ( id i...
### Context: CREATE TABLE Product ( product_id INTEGER, product_name VARCHAR(80), product_details VARCHAR(255) ) CREATE TABLE Problem_Category_Codes ( problem_category_code VARCHAR(20), problem_category_description VARCHAR(80) ) CREATE TABLE Staff ( staff_id INTEGER, staff_first_name VARCH...
### Context: CREATE TABLE table_name_38 ( longitude VARCHAR, latitude VARCHAR, geo_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the longitude with a latitude of 48.930222 with a Geo ID smaller than 3806755660? ### Query: SELECT COUNT(longit...
### Context: CREATE TABLE table_name_55 ( round INTEGER, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the latest round with a running back from a California college? ### Query: SELECT MAX(round) FROM table_name_55 WH...
### Context: CREATE TABLE table_63309 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "# / County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest enrollment in Lagrange where the mascot...
### 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 device ( Device_ID int, Device text, Carrier text, Package_Version text, Applications text, Software_Platform text ) CREATE TABLE shop ( Shop_ID int, Shop_Name text, Location text, Open_Date text, Open_Year int ) CREATE TABLE stock ( Shop_ID in...
### Context: CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps real, Tries real, Goals text, Points real ) CREATE TABLE club_rank ( Rank real, Club_ID int, Gold real, Silver real, Bronze real, Total real ) CREATE TABLE club ( C...
### Context: CREATE TABLE hz_info_zyjzjlb ( JZLSH number, YLJGDM number, zyjzjlb_id number ) 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, ...
### Context: CREATE TABLE table_67647 ( "Year" real, "Winner" text, "Winning Hand" text, "Prize Money" text, "Entrants" real, "Runner-Up" text, "Losing Hand" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entrants were there in 2011...