text
stringlengths
197
8.39k
### Context: CREATE TABLE table_6403 ( "Year" real, "Country" text, "Song" text, "Artist" text, "Written by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was the artist Afro-dite? ### Query: SELECT "Year" FROM table_6403 WHERE "Artis...
### Context: CREATE TABLE table_13854 ( "Date" text, "Label" text, "Format" text, "Country" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What format was the release in form the Edsel label, and that was from the EDCD 262 catalog? ...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE table_name_80 ( Group VARCHAR, song VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Group Song, when Song is ? ### Query: SELECT Group AS song FROM table_name_80 WHERE song = "换季"
### Context: CREATE TABLE table_72885 ( "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_63184 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the frequency when the identifier is cbf-fm-9? ### Q...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Descriptio...
### Context: CREATE TABLE table_name_13 ( byes INTEGER, losses VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? ### Query: SELECT AVG(byes) FROM table_n...
### Context: CREATE TABLE table_name_66 ( actor VARCHAR, character VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What actor plays glen cole? ### Query: SELECT actor FROM table_name_66 WHERE character = "glen cole"
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC te...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE diagno...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Te...
### 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 PostHistoryTypes ( Id number, Name text ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReas...
### Context: CREATE TABLE Product_Categories ( production_type_code VARCHAR(15), product_type_description VARCHAR(80), vat_rating DECIMAL(19,4) ) CREATE TABLE Invoice_Line_Items ( order_item_id INTEGER, invoice_number INTEGER, product_id INTEGER, product_title VARCHAR(80), product_quant...
### Context: CREATE TABLE table_name_96 ( team__number2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2nd Leg, when Team #2 is 'San Lorenzo'? ### Query: SELECT 2 AS nd_leg FROM table_name_96 WHERE team__number2 = "san lorenzo"
### Context: CREATE TABLE table_68070 ( "School" text, "Team" text, "Division Record" text, "Overall Record" text, "Season Outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the school for eagles ### Query: SELECT "School" FROM table_6807...
### Context: CREATE TABLE table_2562572_46 ( settlement VARCHAR, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which settlement has a cyrillic and other name of (romanian: voivodin )? ### Query: SELECT settlement FROM table_256257...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) 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, ad...
### Context: CREATE TABLE table_18041 ( "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 tabl...
### Context: CREATE TABLE table_44260 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who scored the lowest with 8 gold medals and less than 4 silver medals? ### Qu...
### Context: CREATE TABLE table_38253 ( "Election" text, "D\u00e1il" text, "Share of votes" text, "Seats" real, "Government" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 6th dail share of votes? ### Query: SELECT "Share of votes" FROM...
### Context: CREATE TABLE table_49713 ( "Model number" text, "Frequency" text, "L2 cache" text, "Mult." text, "Voltage" text, "Socket" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Frequency, when Model Number is Pentium II 400? ### Qu...
### Context: CREATE TABLE table_18600760_8 ( township VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the township for kidder ### Query: SELECT township FROM table_18600760_8 WHERE county = "Kidder"
### 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 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 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_15398 ( "Date" text, "Opponent" text, "Site" text, "Score" text, "Loss" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game when there was a loss of Kern (0-2)? ### Query: SELECT "Score" FRO...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE table_23892 ( "School" text, "Location(s)" text, "Control" text, "Type" text, "Enrollment (2009)" real, "Founded" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was Southern Vermont College founded? ### Query: SEL...
### Context: CREATE TABLE table_74526 ( "Year" real, "Tournaments played" real, "Cuts made*" real, "Wins" real, "Top 10s" real, "Best finish" text, "Earnings ( $ )" text, "Scoring average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- T...
### Context: CREATE TABLE table_name_77 ( winning_constructor VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix ### Q...
### Context: CREATE TABLE table_1601027_1 ( earpads VARCHAR, headphone_class VARCHAR, us_msrp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79? ### Query: SELECT C...
### Context: CREATE TABLE table_name_71 ( first_season INTEGER, wins VARCHAR, seasons VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of First Season games with 1537 Wins and a Season greater than 109? ### Query: SELECT SUM(first_season...
### Context: CREATE TABLE table_name_98 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the home team was geelong, what did the away team score? ### Query: SELECT away_team AS score FROM table_name_98 WHERE home_team = "ge...
### Context: CREATE TABLE table_30580 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many college/junior/club teams are ther whe...
### Context: CREATE TABLE table_name_87 ( date VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day is st kilda the home side? ### Query: SELECT date FROM table_name_87 WHERE home_team = "st kilda"
### Context: CREATE TABLE table_29108 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the first series episode number for 'the christmas ...
### Context: CREATE TABLE table_38013 ( "Name" text, "Life" text, "Age at death" text, "First contact with Hitler" text, "Relationship" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the relationship of the woman who died at 96? ### Query: ...
### Context: CREATE TABLE table_3955 ( "Code" text, "District" text, "Headquarters" text, "Population (2001 Census)" real, "Population (2011 Census)" real, "Area (km\u00b2)" real, "Density in 2011 (/km\u00b2)" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_11545282_4 ( years_for_jazz VARCHAR, no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did number 54 play for the jazz ### Query: SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, Revie...
### Context: CREATE TABLE table_33004 ( "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 venue when melbourne is...
### Context: CREATE TABLE table_name_31 ( geohash_length INTEGER, lng_error VARCHAR, lng_bits VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest geohash length when there is a ng error of 0.00017, and a lng bits smaller than 20? ### Quer...
### Context: CREATE TABLE table_51530 ( "Feb 2010" text, "Mar 2010" text, "May 2010" real, "Jun 2010" real, "Jul 2010" real, "Aug 2010" real, "Sep 2010" real, "Oct 2010" real, "Nov 2010" real, "Dec 2010" real, "Jan 2011" real, "Feb 2011" real, "Mar 2011" real, "Ap...
### Context: CREATE TABLE table_name_70 ( score VARCHAR, surface VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the match played on hard with a person ranked 10? ### Query: SELECT score FROM table_name_70 WHERE surfac...
### Context: CREATE TABLE table_name_86 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the away team was collingwood, what was the away team score? ### Query: SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood"
### Context: CREATE TABLE table_55070 ( "Rank" real, "Movie" text, "Year" real, "Studio(s)" text, "Lifetime India Distributor share" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Lifetime India Distributor share earlier ...
### Context: CREATE TABLE table_10015132_3 ( years_in_toronto VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what period did Dell Curry play for Toronto? ### Query: SELECT years_in_toronto FROM table_10015132_3 WHERE player = "Dell Cu...
### Context: CREATE TABLE table_name_75 ( band VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What band has a year above 2011? ### Query: SELECT band FROM table_name_75 WHERE year > 2011
### Context: CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE...
### Context: CREATE TABLE table_14637853_3 ( directed_by VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who directed with original air date being november18,1995 ### Query: SELECT directed_by FROM table_14637853_3 WHERE original_a...
### Context: CREATE TABLE table_40289 ( "Week of" text, "Tier" text, "Winner" text, "Runner-up" text, "Semi finalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Week when the winner was mary joe fern ndez 6 4, 7 5? ### Query: SELEC...
### 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 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 SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostsWithDeleted ( Id number, PostType...
### 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_3106 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the episode that air...
### Context: CREATE TABLE table_name_30 ( record VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record at Tiger Stadium? ### Query: SELECT record FROM table_name_30 WHERE game_site = "tiger stadium"
### Context: CREATE TABLE table_name_26 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won that game on 24 July 2010? ### Query: SELECT result FROM table_name_26 WHERE date = "24 july 2010"
### 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 table_43823 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of game 37? ### Query: SELECT "Score" FROM table_43823 WHERE "Game" = '37'
### 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 table_name_22 ( director VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Director has a Rank of 12? ### Query: SELECT director FROM table_name_22 WHERE rank = 12
### Context: CREATE TABLE table_13981938_1 ( vineyard_surface__2010_ VARCHAR, grand_cru VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the vineyard surface (2010) with grand cru being bienvenues-b tard-montrachet ### Query: SELECT vineyard_surface__2...
### Context: CREATE TABLE table_19018191_5 ( nat VARCHAR, total_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the nat for total apps for 27 ### Query: SELECT nat FROM table_19018191_5 WHERE total_apps = 27
### Context: CREATE TABLE table_78342 ( "Candidate" text, "Money Raised, 2Q" text, "Loans Received, 2Q" text, "Money Spent, 2Q" text, "Total Receipts" text, "Cash On Hand" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the loans received fo...
### Context: CREATE TABLE table_40568 ( "Rank" text, "Route" text, "Avg. Daily Flts" real, "# of Airlines" real, "Distance (km)" real, "Market Share Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Airlines have a total distance o...
### Context: CREATE TABLE table_203_98 ( id number, "title" text, "year" number, "director" text, "budget" text, "gross (worldwide)" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which morgan creek film grossed the most money ...
### Context: CREATE TABLE table_35822 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what city has a game of friendly and an opponent of tunisia? ### Query: SELECT "C...
### Context: CREATE TABLE table_41190 ( "City" text, "Comprehension of Danish" text, "Comprehension of Swedish" text, "Comprehension of Norwegian" text, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Comprehension of Danish has an Av...
### Context: CREATE TABLE table_49620 ( "Region (year)" text, "No. 1" text, "No. 2" text, "No. 3" text, "No. 4" text, "No. 5" text, "No. 6" text, "No. 7" text, "No. 8" text, "No. 9" text, "No. 10" text ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE chartevents ( ...
### Context: CREATE TABLE table_10874 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent of the match with an attendance larger than 59,000? ...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, ...
### Context: CREATE TABLE table_29652 ( "Week #" text, "Theme" text, "Song Choice" text, "Original Artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Barreto's song choice when the theme was samba? ##...
### Context: CREATE TABLE table_21284653_1 ( municipal_status VARCHAR, population_density VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the municipal status where the population density is 895.5? ### Query: SELECT municipal_status FROM table_212846...
### Context: CREATE TABLE table_60444 ( "Year" real, "Delegate" text, "Hometown" text, "Placement in Miss Universe" text, "Other awards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Placement in Miss Universe has a Delegate of janine mari ra...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId nu...
### Context: CREATE TABLE table_204_631 ( id number, "#" number, "title" text, "english translation" text, "original album" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of songs that were also on the bintang d...
### Context: CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number ) CREATE TABLE customers ( customer_id number, customer_address_id number, customer_status_...
### Context: CREATE TABLE table_9771 ( "Episode #" text, "Original airdate (UK)" text, "Episode title" text, "Doctor Who episode" text, "Webcast link" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Original airdate (UK) has a Doctor Who episod...
### 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 table_204_783 ( id number, "position" text, "player" text, "free agency\ntag" text, "date signed" text, "2013 team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players play cb or og ? ### Query: SELECT COUN...
### Context: CREATE TABLE table_14589 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the place for south africa and retief goosen ### Query: SELECT "Place" FROM table_14589 ...
### Context: CREATE TABLE table_name_6 ( opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of ...
### Context: CREATE TABLE table_32427 ( "Team" text, "Chassis" text, "Engine" text, "Tires" text, "Drivers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the engine for the Machinists Union Racing team? ### Query: SELECT "Engine" FROM tabl...
### 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 table_name_1 ( genitive VARCHAR, ergative VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the genitive for the ergative shen? ### Query: SELECT genitive FROM table_name_1 WHERE ergative = "shen"
### 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_22997 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who d...
### Context: CREATE TABLE table_22032 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If second leg is Newell's Old Boys, what name is first leg? ### Query: ...
### Context: CREATE TABLE table_name_68 ( population INTEGER, simplified VARCHAR, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the sum of the population for the place simplified with an area smaller than 2,879? ### Query: SELECT SUM(popula...
### Context: CREATE TABLE table_name_47 ( school_club_team VARCHAR, round VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has fewer than 4 rounds for Jan Van Breda Kolff? ### Query: SELECT school_club_team FROM table_name_47 WH...
### Context: CREATE TABLE table_40704 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest week with a game attended by 60,233? ### Query: SELECT MIN("Week") FR...
### Context: CREATE TABLE station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text ) CREATE TABLE trip ( id number, duration number, start_date text, start_station_name text, start_station_id number, end_date text,...
### Context: CREATE TABLE table_52456 ( "Game" real, "Date" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many attended the game at Busch Stadium (ii) when the time was 3:54? ### Query: SELECT "...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medica...
### Context: CREATE TABLE PersonFriend ( name VARCHAR, friend VARCHAR ) CREATE TABLE Person ( name VARCHAR, gender VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of females who are friends with Zach ### Query: SELECT T1.name FROM Per...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time...