text
stringlengths
197
8.39k
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35),...
### Context: CREATE TABLE table_name_92 ( drawn INTEGER, against VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest draws when more than 6 are played and the points against are 54? ### Query: SELECT MAX(drawn) FROM table_...
### Context: CREATE TABLE table_name_11 ( alliance__association VARCHAR, airline_holding VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For airlines named Aeroflot Group, what is the alliance? ### Query: SELECT alliance__association FROM table_name_11 WHERE...
### 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 prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icusta...
### Context: CREATE TABLE table_name_18 ( evening VARCHAR, sunday VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express? ### Query: SELECT evening FROM table_name_18 W...
### Context: CREATE TABLE table_62457 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "Date of Birth" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Spandau 04 Player Jens Pohlmann's Pos.? ### Query: SELECT "Pos."...
### Context: CREATE TABLE table_name_79 ( europe VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman ### Query: SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing rang...
### 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 table_name_85 ( position VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Position has a Super League 1 Competition? ### Query: SELECT position FROM table_name_85 WHERE competition = "super league 1"
### 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_name_64 ( high_assists VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is High Assists, when High Points is 'Tayshaun Prince (23)'? ### Query: SELECT high_assists FROM table_name_64 WHERE high_points ...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_36673 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation...
### Context: CREATE TABLE table_name_16 ( surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Surface of the court in the match with a Score of 4 6, 6 4, 3 6? ### Query: SELECT surface FROM table_name_16 WHERE score = "4–6, 6–4...
### Context: CREATE TABLE table_51607 ( "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. -- If the home team was footscray whic...
### Context: CREATE TABLE staff ( staff_id number, gender text, first_name text, last_name text, email_address text, phone_number text ) CREATE TABLE customers ( customer_id number, customer_type_code text, address_line_1 text, address_line_2 text, town_city text, state ...
### Context: CREATE TABLE table_name_44 ( lane INTEGER, mark VARCHAR, react VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251? ### Query: SELECT MAX(lane) FROM table_name_44...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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 te...
### Context: CREATE TABLE table_42912 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which week was attendance at 50,814? ### Query: SELECT COUNT("Week") FROM table_42912 W...
### Context: CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE food_service ( meal_code text, meal...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostFeedback ( Id number, PostId numb...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text...
### Context: CREATE TABLE gyb ( CLINIC_ID text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_203_663 ( id number, "country" text, "zone" text, "national federation" text, "#gm" number, "#fide" number, "national championship" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country has the most fid...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_20213 ( "#" real, "Season" real, "Bowl game" text, "Result" text, "Opponent" text, "Stadium" text, "Location" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values for attendanc...
### Context: CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text ) CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_c...
### Context: CREATE TABLE table_79797 ( "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. -- Name the tournament for top-5 more thn 1 and top-25...
### Context: CREATE TABLE table_287 ( "Delegate" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the interview for peru delegate ### Query: SELECT "Interview" FROM table_28...
### Context: CREATE TABLE customer_addresses ( address_id VARCHAR ) CREATE TABLE addresses ( state_province_county VARCHAR, address_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the state names and the number of customers living in each state. ...
### 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 fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TAB...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE table_name_34 ( home VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the home court on April 14? ### Query: SELECT home FROM table_name_34 WHERE date = "april 14"
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit te...
### Context: CREATE TABLE table_58904 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in Final" text, "Score in Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent in Final, when Date is '13 January 1992'? ### Query: ...
### Context: CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_tr...
### Context: CREATE TABLE table_name_19 ( tournament VARCHAR, partner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament has a Partner of mart n rodr guez? ### Query: SELECT tournament FROM table_name_19 WHERE partner = "martín rodríguez"
### Context: CREATE TABLE table_73404 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the vacator when south carolina 4th is the district? ...
### Context: CREATE TABLE table_69838 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the dates where the opponent was guillermo garc a-l pez albert...
### Context: CREATE TABLE table_68198 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director'" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is the film directed by Michael Haneke from? ### Query: SELECT...
### 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 table_train_78 ( "id" int, "mini_mental_state_examination_mmse" int, "consent" bool, "swallow_oral_medication" bool, "rosen_modified_hachinski_ischemic_score" int, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_name_97 ( winner VARCHAR, country VARCHAR, fis_nordic_world_ski_championships VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Winner has a Country of norway, and a FIS Nordic World Ski Championships of 1924? ### Quer...
### Context: CREATE TABLE table_name_81 ( days VARCHAR, _hours VARCHAR, _minutes VARCHAR, dates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Days, hours, minutes for 21 26 October? ### Query: SELECT days, _hours, _minutes FROM table_na...
### Context: CREATE TABLE table_50191 ( "Player" text, "Country" text, "Year(s) won" real, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Year(s) Won, when Player is Ed Furgol, an...
### Context: CREATE TABLE albums ( id INTEGER, title VARCHAR(160), artist_id INTEGER ) CREATE TABLE customers ( id INTEGER, first_name VARCHAR(40), last_name VARCHAR(20), company VARCHAR(80), address VARCHAR(70), city VARCHAR(40), state VARCHAR(40), country VARCHAR(40), ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_1754531_4 ( domestic_mail VARCHAR, total_freight_and_mail VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of domestic mail for 7853 for total frieght and mail ### Query: SELECT COUNT(domestic_mail) FROM t...
### Context: CREATE TABLE table_name_65 ( score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a D...
### 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 table_24614 ( "Original number" text, "UIC number" text, "Name" text, "Constructer" text, "constructor number" real, "Year" real, "Withdrawn" text, "Kilometers worked" real ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE time_slot ( time_slot_id text, day text, start_hr number, start_min number, end_hr number, end_min number ) CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text ) ...
### Context: CREATE TABLE table_23292220_7 ( episode VARCHAR, seans_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the episode for vic reeves and claudia winkleman ### Query: SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and ...
### Context: CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text ) CREATE TABLE party ( Party_ID int, Minister text, Took_off...
### Context: CREATE TABLE table_name_76 ( home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much did the home team st kilda score? ### Query: SELECT home_team AS score FROM table_name_76 WHERE home_team = "st kilda"
### Context: CREATE TABLE table_name_85 ( rank VARCHAR, goals VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the player with 158 Goals in more than 362 Matches? ### Query: SELECT COUNT(rank) FROM table_name_85 WHERE ...
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE T...
### Context: CREATE TABLE table_name_52 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1944 result for the U.S. Championships? ### Query: SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships"
### Context: CREATE TABLE table_25391981_20 ( viewers__millions_ VARCHAR, episode_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers in millions watched the episode with the number 10.18? ### Query: SELECT viewers__millions_ FROM table_2...
### 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_43995 ( "Rank" text, "Time" text, "Athlete" text, "Nation" text, "Date" text, "Race" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What race is on 26 June 2011? ### Query: SELECT "Race" FROM table_43995 WHERE "D...
### 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_17968229_1 ( home__2nd_leg_ VARCHAR, aggregate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With an aggregate of 0-2, what is listed for home? ### Query: SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2"
### Context: CREATE TABLE table_10160447_1 ( position VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the total number of position with driver robby gordon ### Query: SELECT COUNT(position) FROM table_10160447_1 WHERE driver = "Robby G...
### Context: CREATE TABLE table_16796 ( "Ward" text, "Bello" text, "Ben-Tahir" text, "Doucet" text, "Furtenbacher" text, "Gauthier" text, "Haydon" text, "Larter" text, "Lawrance" text, "Libweshya" text, "Liscumb" text ) -- Using valid SQLite, answer the following questions ...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_name_16 ( injured VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the injured entry for Venezuela? ### Query: SELECT injured FROM table_name_16 WHERE country = "venezuela"
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE table_48468 ( "Name" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Name, when Laps is '50', when Grid is greater than 9, when Team is 'Jim Beam Racing', a...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Movie ( mID int, title text, year int, director text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_19343 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" text, "Date" text, "Time" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_72118 ( "Rd" real, "Name" text, "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Winning team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The race tony bettenhausen 200 has ...
### Context: CREATE TABLE table_204_310 ( id number, "month" text, "year" number, "player" text, "county" text, "club" text, "position" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players won at least later than 2010 ? ### Que...
### 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_50246 ( "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. -- Who was the match against at the PRIDE...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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 t...
### Context: CREATE TABLE table_31084 ( "Rk" real, "Name" text, "Country" text, "Matches Played" real, "Matches Won" real, "Points" real, "Prize Money (USD)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country offered a prize of 6640...
### Context: CREATE TABLE table_29893 ( "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 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_57094 ( "car plates (since 1937)" text, "Voivodeship Separate city" text, "Capital" text, "Area in 1000km\u00b2 (1930)" text, "Population in 1000 (1931)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- between car plat...
### Context: CREATE TABLE table_63827 ( "Year" real, "Competition Description" text, "Location" text, "Apparatus" text, "Rank-Final" real, "Score-Final" real, "Rank-Qualifying" real, "Score-Qualifying" real ) -- Using valid SQLite, answer the following questions for the tables provided...
### Context: CREATE TABLE table_29509 ( "Period" text, "Live births per year" text, "Deaths per year" text, "Natural change per year" text, "CBR*" text, "CDR*" text, "NC*" text, "TFR*" text, "IMR*" real, "Life expectancy total" text, "Life expectancy males" text, "Life ex...
### Context: CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar,...
### Context: CREATE TABLE table_1342218_35 ( party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party does the incumbent from the Ohio 20 district belong to? ### Query: SELECT party FROM table_1342218_35 WHERE district = "Ohio 20"
### Context: CREATE TABLE table_name_57 ( class VARCHAR, weight VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class has a Weight of 203? ### Query: SELECT class FROM table_name_57 WHERE weight = 203
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug t...
### Context: CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name...
### Context: CREATE TABLE table_21355 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Competition" text, "Man of the Match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates did David Savage get m...
### Context: CREATE TABLE table_204_500 ( id number, "year" number, "title" text, "peak chart positions\nus country" number, "peak chart positions\nus" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last single kitty...
### Context: CREATE TABLE table_name_97 ( super_cup VARCHAR, league VARCHAR, title_playoff VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Super Cup, when Title Playoff is '0', when Total is greater than 9, a...
### Context: CREATE TABLE table_name_54 ( round INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of rounds when fighting against Clay Guida? ### Query: SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay gu...
### Context: CREATE TABLE photos ( photo_id number, tourist_attraction_id number, name text, description text, filename text, other_details text ) CREATE TABLE ref_attraction_types ( attraction_type_code text, attraction_type_description text ) CREATE TABLE visits ( visit_id number...
### Context: CREATE TABLE table_47056 ( "Season" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real, "Fastest Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the total number of podiums for more than 4 laps, and less tha...
### Context: CREATE TABLE Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) 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 Sports...