text
stringlengths
197
8.39k
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE zyjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JS...
### Context: CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_name varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE geographic ( city_name varchar, county var...
### Context: CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE keyphrase ( keyphraseid int, ...
### Context: CREATE TABLE table_36743 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the incumbent for south carolina 3 district? ### Query: SELECT "Incumbent...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_name_59 ( points INTEGER, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which line has the lowest amount of points and a year of 1954? ### Query: SELECT MIN(points) FROM table_name_59 WHERE year = 1954
### Context: CREATE TABLE table_name_7 ( round INTEGER, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds was the fight at UFC 34? ### Query: SELECT SUM(round) FROM table_name_7 WHERE event = "ufc 34"
### Context: CREATE TABLE table_34324 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record has a Time of 4:50? ### ...
### Context: CREATE TABLE table_name_34 ( peak_population__year_ VARCHAR, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the peak population (year) for scranton? ### Query: SELECT peak_population__year_ FROM table_name_34 WHERE city = "scranton...
### 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_name_98 ( game_site VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the game site for week of 1 ### Query: SELECT game_site FROM table_name_98 WHERE week = "1"
### Context: CREATE TABLE table_17503169_1 ( democratic VARCHAR, republican VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the democratic candidate when the republican was frank wolf? ### Query: SELECT democratic FROM table_17503169_1 WHERE republic...
### Context: CREATE TABLE table_203_874 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did it take to walk 50 km in the 2004 olympi...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, ...
### Context: CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apa...
### Context: CREATE TABLE table_name_36 ( time VARCHAR, period VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time does Dustin Byfuglien have in 1st period? ### Query: SELECT time FROM table_name_36 WHERE period = "1st" AND player =...
### Context: CREATE TABLE table_18600760_9 ( longitude VARCHAR, ansi_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the longitude of the township at ANSI code 1759682? ### Query: SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682
### Context: CREATE TABLE table_23255941_1 ( written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many writers were there in the episode directed by Charles Haid? ### Query: SELECT COUNT(written_by) FROM table_23255941_1 WHERE ...
### Context: CREATE TABLE table_247955_2 ( margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory when runner-up was K. J. Choi? ### Query: SELECT margin_of_victory FROM table_247955_2 WHERE run...
### 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_...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(...
### Context: CREATE TABLE table_4346 ( "Event" text, "Time" text, "Nationality" text, "Date" text, "Meet" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the location of lithuania 12 october 2013 ### Query: SELECT "Locat...
### Context: CREATE TABLE table_204_666 ( id number, "ime exchange (including spot, credit and forward transactions)" text, "2007/08" number, "2008/09" number, "2009/10" number, "2010/11" number, "2011/12" number ) -- Using valid SQLite, answer the following questions for the tables provid...
### Context: CREATE TABLE table_25795 ( "Rank" real, "City/Town" text, "County" text, "Region/Province" text, "Population" real, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 31901 is the population what is the county? ### Query...
### Context: CREATE TABLE table_35578 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real, "Participants" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of Golds that has Participants smaller than 14,...
### Context: CREATE TABLE station ( lat INTEGER, long INTEGER, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average latitude and longitude of stations located in San Jose city? ### Query: SELECT AVG(lat), AVG(long) FROM station WHERE ...
### Context: CREATE TABLE table_name_86 ( date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game with richmond as Away team? ### Query: SELECT date FROM table_name_86 WHERE away_team = "richmond"
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) 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, admit_term int, ...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, reli...
### Context: CREATE TABLE table_67374 ( "Year" text, "Men'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. -- What were the names of the mixed doubles pair for the year that R...
### Context: CREATE TABLE table_69702 ( "Date" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real, "Group position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Group position of 1st, and a Result F A of 2 0 has what average attenda...
### Context: CREATE TABLE table_40036 ( "Country" text, "Local name" text, "Host" text, "Network" text, "Date premiered" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Network has a Local name of moj tata je bolji od tvog tate? ### Query: SEL...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE ReviewTaskResults ( Id numbe...
### 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 trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE station (...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, disch...
### Context: CREATE TABLE table_name_85 ( surface VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Surface, when Date is 2 May 1999? ### Query: SELECT surface FROM table_name_85 WHERE date = "2 may 1999"
### Context: CREATE TABLE table_14294 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total when the bronze was more than 1, silver was 3, and gold was le...
### Context: CREATE TABLE fzzmzjzjlb ( 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 tex...
### 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_name_68 ( time_retired VARCHAR, laps VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time/Retired has less than 77 laps, and a Grid of 16? ### Query: SELECT time_retired FROM table_name_68 WHERE laps < ...
### Context: CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE TABLE airports ( apid number, name text, city text, country text, x number, y number, elevation numbe...
### Context: CREATE TABLE table_name_98 ( venue VARCHAR, crowd INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue featured a crowd of over 30,000? ### Query: SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000
### 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_name_14 ( date VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has a Tournament of la quinta? ### Query: SELECT date FROM table_name_14 WHERE tournament = "la quinta"
### Context: CREATE TABLE table_29313 ( "Stage" real, "Stage winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Asian rider classification" text, "Team classification" text ) -- Using valid SQLite, answer the following questions for...
### 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_21557 ( "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 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 submission ( College VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show different colleges along with the number of authors of submission from each college. ### Query: SELECT College, COUNT(*) FROM submission GROUP BY College
### 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 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 course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE table_38998 ( "Result" text, "Record" text, "Opponent" text, "Rd, Time" text, "Date" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location that led to a record of 9-0-0? ### Query: SELEC...
### 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_...
### Context: CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the nam...
### Context: CREATE TABLE table_name_8 ( partnering VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was partnering when nueza silva played against greece? ### Query: SELECT partnering FROM table_name_8 WHERE against = "greece"
### Context: CREATE TABLE Tourist_Attraction_Features ( Tourist_Attraction_ID INTEGER, Feature_ID INTEGER ) CREATE TABLE Visits ( Visit_ID INTEGER, Tourist_Attraction_ID INTEGER, Tourist_ID INTEGER, Visit_Date DATETIME, Visit_Details VARCHAR(40) ) CREATE TABLE Visitors ( Tourist_ID INT...
### Context: CREATE TABLE table_75615 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who earned the save in the game against the Sinon Bulls when Jeriome Robertson took the loss? ###...
### Context: CREATE TABLE table_204_133 ( id number, "school year" text, "class a" text, "class aa" text, "class aaa" text, "class aaaa" text, "class aaaaa" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only year keene won clas...
### Context: CREATE TABLE table_26686 ( "Episode number Production number" text, "Title" text, "Original airdate" text, "Time of airing" text, "Total viewers on Hallmark" real, "Total viewers on Hallmark+1" real, "Total viewers" real, "Rank on channel" text ) -- Using valid SQLite, ans...
### Context: CREATE TABLE airports ( apid integer, name text, city text, country text, x real, y real, elevation bigint, iata character varchar(3), icao character varchar(4) ) CREATE TABLE routes ( rid integer, dst_apid integer, dst_ap varchar(4), src_apid bigint, ...
### Context: CREATE TABLE Band ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bands are there? ### Query: SELECT COUNT(*) FROM Band
### Context: CREATE TABLE table_203_661 ( id number, "year" number, "single" text, "peak chart positions\nus mod" number, "peak chart positions\nuk" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first single to earn...
### 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_204_630 ( id number, "no" number, "date" text, "race" text, "track" text, "winner" text, "reports" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many races did ricky stenhouse , jr. when during this seaso...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int,...
### Context: CREATE TABLE table_15469 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the english title for mexico/spain/usa ### Query: SELECT "English title...
### Context: CREATE TABLE table_train_207 ( "id" int, "anemia" bool, "hemoglobin_a1c_hba1c" float, "diabetic" string, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- age 14 _ 18 ### Query: S...
### Context: CREATE TABLE table_14719 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the earliest year for a car with 3 points and Cooper t20 chassis? ### Query: SELECT...
### Context: CREATE TABLE table_name_49 ( bats VARCHAR, throws VARCHAR, dob VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bats have Throws of r, and a DOB of 22 may 1973? ### Query: SELECT bats FROM table_name_49 WHERE throws = "r" AND dob = "22 ...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostLinks ( Id num...
### Context: CREATE TABLE table_15491596_1 ( constructor VARCHAR, no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the constructor of car 22? ### Query: SELECT constructor FROM table_15491596_1 WHERE no = 22
### Context: CREATE TABLE table_31148 ( "No. in series" real, "No. in season" 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 p...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, ...
### 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 student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, int...
### Context: CREATE TABLE table_20025 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did Bernhard Langer (2) win? #...
### 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_60364 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lwoest round of wild bill'...
### Context: CREATE TABLE table_47746 ( "Round" text, "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round has Team #2 Gomel? ### Query: SELECT "Round" FROM table_47746...
### Context: CREATE TABLE table_6887 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number of Cuts made, when Top-5 w...
### Context: CREATE TABLE table_name_70 ( silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the sum of Silver with total smaller than 560, a Bronze larger than 6, and a Gold of 3? ### Query: SE...
### Context: CREATE TABLE table_57111 ( "College Name" text, "Location" text, "District" text, "Affiliation" text, "Estd" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the kanyakumari government medical college? ### Query: ...
### Context: CREATE TABLE table_203_568 ( id number, "town/village" text, "population" number, "postal code" text, "municipality" text, "island" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people does argir have ...
### Context: CREATE TABLE table_204_676 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last year this team played i...
### Context: CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE neighborhood ( id int, business_...
### Context: CREATE TABLE table_204_487 ( id number, "home team" text, "score" text, "visiting team" text, "location" text, "venue" text, "door" text, "surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- number of total goals scored ...
### Context: CREATE TABLE table_203_312 ( id number, "name" text, "club" text, "position" text, "years" text, "current status" text, "international caps" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players have above 40 interna...
### 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 Undergoes ( Patient INTEGER, Procedures INTEGER, Stay INTEGER, DateUndergoes DATETIME, Physician INTEGER, AssistingNurse INTEGER ) CREATE TABLE Department ( DepartmentID INTEGER, Name VARCHAR(30), Head INTEGER ) CREATE TABLE Prescribes ( Physician INTE...
### Context: CREATE TABLE table_48074 ( "State" text, "Abbreviation" text, "Capital" text, "Area (km\u00b2)" real, "Population (2005)" real, "Density (2005)" real, "GDP (% total) (2004)" text, "GDP per capita (US$) (2004)" real, "HDI (2005)" real, "Literacy (2003)" text, "Inf...
### Context: CREATE TABLE projects ( project_id number, organisation_id number, project_details text ) CREATE TABLE documents ( document_id number, document_type_code text, grant_id number, sent_date time, response_received_date time, other_details text ) CREATE TABLE grants ( ...
### 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_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 swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year t...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time )...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Pe...