text
stringlengths
197
8.39k
### Context: CREATE TABLE table_24990183_7 ( name VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the rank is 17, what are the names? ### Query: SELECT name FROM table_24990183_7 WHERE rank = 17
### Context: CREATE TABLE table_name_51 ( reservation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9? ### Query: SELECT SUM(1979) FROM table_name_51 WHERE reservation =...
### Context: CREATE TABLE table_49308 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent, when Attendance is 58,836? ### Query: SELECT "Opponent" FROM table_49308...
### Context: CREATE TABLE table_41893 ( "Name" text, "Level" real, "Digits" real, "Average size (square miles)" text, "Number of HUs (approximate)" real, "Example name" text, "Example code (HUC)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_29572 ( "Name/Name of Act" text, "Age(s)" text, "Genre" text, "Act" text, "Hometown" text, "Qtr. Final (Week)" real, "Semi Final (Week)" text, "Position Reached" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_30696 ( "Reservoir" text, "Basin" text, "Location" text, "Type" text, "Height (m)" text, "Length along the top (m)" text, "Drainage basin (km\u00b2)" text, "Reservoir surface (ha)" text, "Volume (hm\u00b3)" text ) -- Using valid SQLite, answer the fo...
### 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 table_23576 ( "Story #" real, "Target #" text, "Title" text, "Author" text, "Reader" text, "Format" text, "Company" text, "Release Date" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's th...
### Context: CREATE TABLE table_name_9 ( class VARCHAR, erp_w VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What class is ERP W of 800? ### Query: SELECT class FROM table_name_9 WHERE erp_w = 800
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### 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 station ( id number, network_name text, services text, local_authority text ) CREATE TABLE route ( train_id number, station_id number ) CREATE TABLE weekly_weather ( station_id number, day_of_week text, high_temperature number, low_temperature number, ...
### Context: CREATE TABLE table_name_20 ( event VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which event was held at Manly Beach? ### Query: SELECT event FROM table_name_20 WHERE location = "manly beach"
### Context: CREATE TABLE table_43959 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team against the Bolton Wanderers? ### Query: SELECT "Home team" F...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, ...
### Context: CREATE TABLE table_51600 ( "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. -- Tell me the away team score for awa...
### Context: CREATE TABLE table_55306 ( "Year" real, "Animal" text, "Artist" text, "Finish" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the downy woodpecker coin created? ### Query: SELECT SU...
### Context: CREATE TABLE table_28269 ( "Model" text, "Launch" text, "Code name" text, "Transistors (million)" real, "Die size (mm 2 )" real, "Bus interface" text, "Memory ( MB )" text, "SM count" real, "Core config 1,3" text, "Core ( MHz )" real, "Shader ( MHz )" real, "...
### Context: CREATE TABLE table_name_65 ( opponent VARCHAR, save VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has a save of smith (22)? ### Query: SELECT opponent FROM table_name_65 WHERE save = "smith (22)"
### Context: CREATE TABLE table_name_71 ( win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the home game against Derby County? ### Query: SELECT win_draw_lose FROM table_name_71 WHERE venue...
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, ch...
### Context: CREATE TABLE table_43812 ( "Club" text, "League goals" text, "FA Cup goals" text, "League Cup goals" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Club of darlington, and a League goals of 13, and a Leag...
### 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 VoteTypes ( Id number, Name text ) CR...
### Context: CREATE TABLE table_train_103 ( "id" int, "systolic_blood_pressure_sbp" int, "epilepsy" bool, "diastolic_blood_pressure_dbp" int, "heart_rate" int, "seizure_disorder" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables pro...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_name_4 ( location VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Location has a Frequency of 102.5 fm? ### Query: SELECT location FROM table_name_4 WHERE frequency = "102.5 fm"
### Context: CREATE TABLE table_name_89 ( crowd INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest crowd for victoria park? ### Query: SELECT MIN(crowd) FROM table_name_89 WHERE venue = "victoria park"
### Context: CREATE TABLE table_73846 ( "Season no." real, "Series no." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number...
### Context: CREATE TABLE table_439 ( "Overall Pick #" real, "AFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for the pick number 17? ### Query: SELECT "Position" FROM ta...
### Context: CREATE TABLE table_15621965_18 ( no INTEGER, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WAS THE NUMBER OF THE ONLY FORWARD-CENTER TO MAKE THE ROSTER? ### Query: SELECT MIN(no) FROM table_15621965_18 WHERE position = "Forward-C...
### Context: 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, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text...
### Context: CREATE TABLE table_77295 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the class position of the team that was in the ...
### Context: CREATE TABLE Product_Categories ( production_type_code VARCHAR(15), product_type_description VARCHAR(80), vat_rating DECIMAL(19,4) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, date_account_opened DATETIME, account_name VARCHAR(50), other_account_detail...
### Context: CREATE TABLE table_2446333_2 ( date VARCHAR, circuit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for eastern creek raceway ### Query: SELECT date FROM table_2446333_2 WHERE circuit = "Eastern Creek Raceway"
### Context: CREATE TABLE table_26850 ( "Governorate" text, "Kurdistan Democratic Party" real, "Patriotic Union of Kurdistan" real, "Total Kurdistan List" real, "Total Governorate Seats" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least ...
### Context: CREATE TABLE table_name_40 ( week INTEGER, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest week that shows a record of 8 5? ### Query: SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"
### Context: CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE phone_market ( Market_ID int, Phone_ID 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_45278 ( "Series Number" real, "Number of Episodes" real, "Original Air Date" real, "DVD Region 2 release date" text, "DVD Region 1 release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series originall...
### Context: CREATE TABLE table_name_68 ( away VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What away is there for the q3 round? ### Query: SELECT away FROM table_name_68 WHERE round = "q3"
### Context: CREATE TABLE table_203_652 ( id number, "goal" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitions had a score o...
### Context: CREATE TABLE table_66695 ( "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 total number of Silver for the Nation with more than 1 Bronze and a...
### Context: CREATE TABLE table_204_617 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the sooners opponent after usc...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE cost ( ...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, ...
### Context: CREATE TABLE table_29902 ( "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_29469 ( "Team" text, "Head coach" text, "Team captain" text, "Kit maker" text, "Shirt sponsor" text, "Past Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What sponsor has the head coach Samad Marfavi? ###...
### 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 Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Tests_Taken ( regis...
### Context: CREATE TABLE table_61636 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent at the Honda Ce...
### Context: CREATE TABLE table_2850912_10 ( nhl_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team drafted Ron Annear? ### Query: SELECT nhl_team FROM table_2850912_10 WHERE player = "Ron Annear"
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_name_13 ( wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins has a podiums greater than 1 and 9 as the races with a season after 1984? ### Query: SELECT C...
### Context: CREATE TABLE table_204_244 ( id number, "year" number, "album" text, "peak\nus" number, "peak\nus\nholiday" number, "certifications\n(sales threshold)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many album entries are there ...
### Context: CREATE TABLE table_22713 ( "Rank" real, "Peak" text, "Country" text, "Island" text, "Elevation (m)" real, "Prominence (m)" real, "Col (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest value for col(m) when ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity tex...
### Context: CREATE TABLE table_282413_3 ( ethnic_group VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the ethnic group other: total? ### Query: SELECT COUNT(2001 AS __percentage) FROM table_282413_3 WHERE ethnic_group = "Other: Total"
### Context: CREATE TABLE table_50184 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is bobby jones (a)? ### Query: SELECT "Place" FROM table_50184 ...
### Context: CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_amenity...
### Context: CREATE TABLE table_name_89 ( goals VARCHAR, assists VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Goals, when Assists is greater than 28, and when Player is Steve Walker? ### Query: SELECT goals FROM table_name_89 W...
### Context: CREATE TABLE table_name_70 ( byes INTEGER, ballarat_fl VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Byes that has Ballarat FL of Sunbury against more than 1167? ### Query: SELECT AVG(byes) FROM table_n...
### Context: CREATE TABLE table_2249029_1 ( gdp_world_rank VARCHAR, asian_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gdp world rank for asian rank being 20 ### Query: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 20
### Context: CREATE TABLE table_29160596_1 ( top_mc VARCHAR, appearances VARCHAR, year_inducted VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all the MCs with 5 appearances who were inducted in 2007? ### Query: SELECT top_mc FROM table_29160596_1 ...
### Context: CREATE TABLE table_204_361 ( id number, "tie no" number, "home team" text, "score" text, "away team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what comes after fiskeby if ### Query: SELECT "home team" FROM table_204_361 WHERE id =...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE procedures_icd ( row_id n...
### 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 table_name_47 ( country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what country does the golfer play who has a score of 72-65=137? ### Query: SELECT country FROM table_name_47 WHERE score = 72 - 65 = 137
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id 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, J...
### Context: CREATE TABLE table_name_35 ( year VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the runner-up Jane Geddes? ### Query: SELECT year FROM table_name_35 WHERE runner_up = "jane geddes"
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_45309 ( "Date" text, "Ship" text, "Type" text, "Nationality" text, "Tonnage GRT" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the nationality when the ship is willerby? ### Query: SELECT "N...
### Context: CREATE TABLE table_60037 ( "Letter" text, "American" text, "British" text, "Australian" text, "Examples" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the examples for the Australian ? ### Query: SELECT "Examples" FROM table_...
### Context: CREATE TABLE table_57891 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Leading scorer with maurice williams (25), and...
### 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 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_name_81 ( capacity INTEGER, position_in_2004 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest capacity for a position of 5 in 2004? ### Query: SELECT MAX(capacity) FROM table_name_81 WHERE position_in_2004 = ...
### 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_51428 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NBA draft for ohio state? ### Query: SELECT "NBA Draft"...
### Context: CREATE TABLE table_203_206 ( 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. -- what country won the same number of bronze as great ...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE 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, INSURE...
### Context: CREATE TABLE txmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE 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_1342013_37 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the incumbent for pennsylvania 15 ### Query: SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15"
### Context: CREATE TABLE table_55019 ( "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. -- At what Venue was the Home team sco...
### Context: CREATE TABLE table_2402864_1 ( playoffs VARCHAR, open_cup VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the playoff result where the league did not qualify in the Open Cup in 1998? ### Query: SELECT playoffs FROM tab...
### Context: CREATE TABLE table_name_83 ( driver VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the driver in 1964? ### Query: SELECT driver FROM table_name_83 WHERE year = "1964"
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE 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 ftxmzjzjlb ( HXPLC n...
### Context: CREATE TABLE table_203_274 ( id number, "church name" text, "address" text, "community" text, "school" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the first church located in los angeles ? ### Query: SELECT "church name" FR...
### Context: CREATE TABLE table_8511 ( "Rank" real, "Team" text, "Round1" real, "Round2" real, "Round3" real, "Round4" real, "Round5" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest round2 when roun...
### Context: CREATE TABLE table_66129 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance for the game against miami d...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_17360840_6 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game on December 11? ### Query: SELECT score FROM table_17360840_6 WHERE date = "December 11"
### Context: CREATE TABLE table_name_10 ( date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date they played against fitzroy? ### Query: SELECT date FROM table_name_10 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_40447 ( "Draw" real, "Artist" text, "Song" text, "Result" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place of the song 'Never Change'? ### Query: SELECT SUM("Place") FROM table_40447 WHE...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), ...
### Context: CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_th...
### Context: CREATE TABLE table_64035 ( "Draw" real, "Artist" text, "Song" text, "Percentage" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song placed higher than#4? ### Query: SELECT "Song" FROM table_64035 WHERE "Place" > '4'
### Context: CREATE TABLE table_name_95 ( founded VARCHAR, suburb VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the Beaudesert suburb club founded ### Query: SELECT founded FROM table_name_95 WHERE suburb = "beaudesert"
### Context: CREATE TABLE Ref_Detention_Type ( detention_type_code VARCHAR(10), detention_type_description VARCHAR(80) ) CREATE TABLE Detention ( detention_id INTEGER, detention_type_code VARCHAR(10), teacher_id INTEGER, datetime_detention_start DATETIME, datetime_detention_end DATETIME, ...