text
stringlengths
197
8.39k
### Context: CREATE TABLE table_39989 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total time for the match that ocurred in Ro...
### Context: CREATE TABLE table_18470 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which candidates ran in the Alabama 6 district? ### Query:...
### Context: CREATE TABLE table_name_56 ( type VARCHAR, quantity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE TYPE WITH 124? ### Query: SELECT type FROM table_name_56 WHERE quantity = "124"
### Context: CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE aircraft ( aid number, name...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_name_94 ( date VARCHAR, leading_scorer VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- While the Hornets were visiting, what date was Deron Williams (29) the leading scorer? ### Query: SELECT date FROM tab...
### 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 t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE customers ( customer_id number, customer_details text ) CREATE TABLE claims_processing ( claim_processing_id number, claim_id number, claim_outcome_code text, claim_stage_id number, staff_id number ) CREATE TABLE claim_headers ( claim_header_id number, cla...
### Context: CREATE TABLE table_name_61 ( results¹ VARCHAR, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the results against the game against Skoplje? ### Query: SELECT results¹ FROM table_name_61 WHERE city = "skoplje"
### Context: CREATE TABLE table_204_309 ( id number, "model" text, "released" number, "usage" text, "features" text, "storage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is . the last feature on the chart ### Query: SELECT "features" F...
### Context: CREATE TABLE table_19176 ( "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. -- When platense is the home (2nd leg) what is the 2nd leg? ### Query: SEL...
### Context: CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_mana...
### Context: CREATE TABLE table_204_613 ( id number, "title" text, "year" number, "peak chart positions\nus" number, "peak chart positions\nus\nr&b" number, "peak chart positions\nus\nrap" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE t_kc21 ( 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 table_42575 ( "Hangul" text, "Hanja" text, "Revised" text, "McCune-Reischauer" text, "2000 n South Korea population *" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Hanja for McCune-Reischauer of ch n? ### Que...
### 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_70342 ( "Year" text, "Total (000s)" real, "Israel" real, "Germany" real, "Jews (Halakha) in Israel" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the amount of 000s from 1996? ### Query: SELECT SUM("Total (0...
### 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 t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ...
### Context: CREATE TABLE table_12159115_2 ( production_code VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the production code of the episode seen by 11.64 million US viewers? ### Query: SELECT production_code FROM tab...
### Context: CREATE TABLE table_name_89 ( year INTEGER, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average year when the title is baka to test to sh kanj ? ### Query: SELECT AVG(year) FROM table_name_89 WHERE title = "baka to test to s...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course ( course_id int, name var...
### Context: CREATE TABLE table_23014476_1 ( gore__number INTEGER, others__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gore number for others # 6.6% ### Query: SELECT MIN(gore__number) FROM table_23014476_1 WHERE others__number = "6.6%"
### Context: CREATE TABLE table_name_16 ( year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average year for the name aida-wedo dorsa with a diameter less than 450? ### Query: SELECT AVG(year_named...
### Context: CREATE TABLE table_71944 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game against the Royals that had an attendance of...
### Context: CREATE TABLE table_train_212 ( "id" int, "pregnancy_or_lactation" bool, "postmeal_c_peptide" float, "chemotherapy" bool, "liver_disease" bool, "alcohol_abuse" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- active ...
### Context: CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Settlements ( Settlement_ID INTE...
### Context: CREATE TABLE table_name_18 ( chart VARCHAR, debut_position VARCHAR, peak_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many chart runs had a debut position of more than 7 when peak position was 11? ### Query: SELECT COUNT(char...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_24990183_5 ( ws_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 08-09 i/o best of the player with 1386 points? ### Query: SELECT 08 AS _09_i_o_best FROM table_24990183_5 WHERE ws_points = 1386
### Context: 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, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_63710 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lane with a time of 1:56.64, and a tank smaller than 7? ### Query: SELECT COUNT("La...
### Context: CREATE TABLE table_name_60 ( round VARCHAR, name VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of the round in which Ron Hansen was drafted and the overall is greater than 332? ### Query: SELECT COUNT(ro...
### Context: CREATE TABLE table_34958 ( "Outcome" text, "Year" text, "Venue" text, "Last opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score of 0 3 (11 21, 14 21) had what outcome? ### Query: SELECT "Outcome" FROM table_349...
### Context: CREATE TABLE table_37824 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Attendance on September 11, 1983? ### Query: SELECT "Attendance" FROM table_3...
### Context: CREATE TABLE table_204_517 ( id number, "name" text, "date of birth" text, "club" text, "division" text, "appointed" text, "time as manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who has served longer , regi van acker o...
### Context: CREATE TABLE table_name_76 ( open_1st_viii VARCHAR, crew VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Open 1st VIII for the 2012 crew? ### Query: SELECT open_1st_viii FROM table_name_76 WHERE crew = 2012
### Context: CREATE TABLE table_12962773_2 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Ido Kozikaro's position? ### Query: SELECT position FROM table_12962773_2 WHERE player = "Ido Kozikaro"
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob ...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name ...
### Context: CREATE TABLE table_1341640_39 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district is Ray Musto the incumbent of? ### Query: SELECT district FROM table_1341640_39 WHERE incumbent = "Ray Musto"
### Context: CREATE TABLE table_name_40 ( total VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many totals have 2 for the bronze? ### Query: SELECT COUNT(total) FROM table_name_40 WHERE bronze = 2
### Context: CREATE TABLE table_name_30 ( surface VARCHAR, outcome VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Surface was the match with a Score of 6 4, 6 3 and Runner-up Outcome played? ### Query: SELECT surface FROM table_na...
### Context: CREATE TABLE table_31124 ( "Series #" real, "Season #" 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 is the production ...
### Context: CREATE TABLE table_name_47 ( season INTEGER, assists VARCHAR, minutes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year that Assists were less than 13 and minutes were under 91? ### Query: SELECT MIN(season) FROM tabl...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_29182 ( "Rank" real, "Rider" text, "Sat 21 Aug" text, "Mon 23 Aug" text, "Tues 24 Aug" text, "Wed 25 Aug" text, "Thurs 26 Aug" text, "Fri 27 Aug" text, "Sat 28 Aug" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: 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, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_22962 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 4th, great lakes is the regular season what is the league...
### Context: CREATE TABLE table_34055 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Format o Catalog F4 87199? ### Query: SELECT "Format" FROM table_34055 WHERE "Cata...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_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 tran...
### 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_203_121 ( id number, "name" text, "pos." text, "caps" number, "goals" number, "club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- played on the same team as rune killing emanuelsson ### Query: SELECT "name" FRO...
### Context: CREATE TABLE table_name_69 ( score VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of a Record 24 23 3? ### Query: SELECT score FROM table_name_69 WHERE record = "24–23–3"
### Context: CREATE TABLE table_56281 ( "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 smallest crowd size for...
### Context: CREATE TABLE table_name_3 ( score VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the game with a Record of 31 37 9? ### Query: SELECT score FROM table_name_3 WHERE record = "31–37–9"
### Context: CREATE TABLE table_name_87 ( method VARCHAR, round VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method in round 1 of the UFC 20 event? ### Query: SELECT method FROM table_name_87 WHERE round = 1 AND event = "uf...
### Context: CREATE TABLE table_23670057_6 ( height__f_ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the height of demond greene ### Query: SELECT height__f_ FROM table_23670057_6 WHERE player = "Demond Greene"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### Context: CREATE TABLE table_33914 ( "Year" real, "Championship" text, "Winning score" text, "Margin" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Winning Score when Betsy Rawls was the Runner(s)-up? ### Query...
### 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_38157 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for IATA for the City of sapporo? ### Query: SELECT "IATA" FROM table_38157 WHERE "Ci...
### Context: CREATE TABLE catalog_contents ( catalog_entry_id number, catalog_level_number number, parent_entry_id number, previous_entry_id number, next_entry_id number, catalog_entry_name text, product_stock_number text, price_in_dollars number, price_in_euros number, price_in_...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_204_913 ( id number, "#" 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. -- in how many games did sri lanka score ...
### 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 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 Financial_Transactions ( transaction_id INTEGER, account_id INTEGER, invoice_number INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DECIMAL(19,4), transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CR...
### Context: CREATE TABLE table_16849531_2 ( ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NCBI Accession Number for the length of 5304bp/377aa? ### Query: SELECT ncbi_accession_numbe...
### Context: CREATE TABLE captain ( rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many captains are in each rank? ### Query: SELECT COUNT(*), rank FROM captain GROUP BY rank
### Context: CREATE TABLE table_name_73 ( opponent VARCHAR, site_stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at Lindsey Nelson Stadium? ### Query: SELECT opponent FROM table_name_73 WHERE site_stadium = "lindsey nelson stadiu...
### Context: CREATE TABLE Organisations ( organisation_id INTEGER, organisation_type VARCHAR(10), organisation_details VARCHAR(255) ) CREATE TABLE Staff_Roles ( role_code VARCHAR(10), role_description VARCHAR(255) ) CREATE TABLE Documents ( document_id INTEGER, document_type_code VARCHAR(1...
### Context: CREATE TABLE table_204_605 ( id number, "date" text, "round" text, "opponents" text, "h / a" text, "result\nf-a" text, "scorers" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most amount of ...
### Context: CREATE TABLE table_203_762 ( id number, "#" number, "date" text, "film" text, "gross" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the previous film to air before collateral damage ? ### Query: SELECT "film...
### Context: CREATE TABLE table_name_18 ( release_date VARCHAR, publisher VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Did Microsoft Game Studios release Amped: Freestyle Snowboarding? ### Query: SELECT release_date FROM table_name...
### Context: CREATE TABLE table_29839 ( "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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME va...
### Context: CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, ...
### Context: CREATE TABLE table_18138132_2 ( function VARCHAR, version VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the function of 1.4 version of Windows live messenger? ### Query: SELECT function FROM table_18138132_2 WHERE ve...
### Context: CREATE TABLE table_51857 ( "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. -- When the home team scored 12.21 (93...
### Context: CREATE TABLE table_name_97 ( visitor VARCHAR, leading_scorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the visitor team of the game with Andrew Bogut (21) as the leading scorer? ### Query: SELECT visitor FROM table_name_97 WHERE lea...
### Context: CREATE TABLE table_11622562_1 ( location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico? ### Query: SELECT MIN(1 AS st_prize__) AS $__ FROM table_11622562_1 WHERE loc...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( JYZBLSH te...
### Context: CREATE TABLE table_58205 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which competition with a result of 3-1? ### Query: SELECT "Competition" FROM table_58205 WH...
### Context: CREATE TABLE table_name_71 ( wrestlers VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What wrestlers have summer brawl 2006 as the event? ### Query: SELECT wrestlers FROM table_name_71 WHERE event = "summer brawl 2006"
### Context: CREATE TABLE table_52737 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record when the visitor is st. louis ### Qu...
### Context: CREATE TABLE table_23274514_7 ( high_rebounds VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high rebounds for 17-33 ### Query: SELECT high_rebounds FROM table_23274514_7 WHERE record = "17-33"
### Context: CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID i...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE member_of_club ( stuid number, clubid number, position text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE club ( clubid number, clubname text...
### 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_2610582_7 ( branding VARCHAR, callsign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bran is the callsign dytc-fm? ### Query: SELECT branding FROM table_2610582_7 WHERE callsign = "DYTC-FM"
### 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 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_40755 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gold has a Rank of 15, and a Total smaller than 2? ### Query: SELECT AVG...
### Context: CREATE TABLE table_name_17 ( driver VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver has 62 laps? ### Query: SELECT driver FROM table_name_17 WHERE laps = 62
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...