text
stringlengths
197
8.39k
### Context: CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE publication_keyword ( kid int, pid int ) CREATE ...
### Context: CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Course ( CID VARCHAR(7), CName VARCHAR(40), Credits INTEGER, Instructor INTEGER,...
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( ...
### Context: CREATE TABLE table_37924 ( "Rank" real, "Province" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team had less than 291 total points whole having 76 bronze and over 21 g...
### Context: CREATE TABLE table_70188 ( "Year" text, "Venue" text, "Winners" text, "Runner-up" text, "3rd place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner-up when Polonia Bydgoszcz won and Mega-Lada Togliatti finished 3rd? #...
### Context: CREATE TABLE table_42776 ( "Club" text, "Position in 2012" text, "First season in top division" real, "Number of seasons in Meistriliiga" real, "First season of current spell in top division" real, "Top division titles" real ) -- Using valid SQLite, answer the following questions ...
### 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 Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostHistory ( I...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### Context: CREATE TABLE table_name_90 ( location VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the location when the record is 5-1-1? ### Query: SELECT location FROM table_name_90 WHERE record = "5-1-1"
### Context: CREATE TABLE table_3705 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Phil ...
### Context: CREATE TABLE table_34538 ( "IN No." real, "County Name" text, "County Seat" text, "Time Zone" text, "Population (2010) (Rank)" text, "Area sq mi (km 2 ) (Rank)" text, "Twps" real, "ZIP code Prefix(es)" text, "% of Boundary by water" text ) -- Using valid SQLite, answer...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ...
### Context: CREATE TABLE table_name_14 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the visitor on May 9? ### Query: SELECT visitor FROM table_name_14 WHERE date = "may 9"
### Context: CREATE TABLE table_77747 ( "Index" text, "Organization" text, "Year" real, "Rank" text, "Out of" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is the happy planet index? ### Query: SELECT SUM("Year") FROM table_77747 WHERE "...
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_locatio...
### Context: CREATE TABLE table_11884 ( "Date" text, "Opponent" text, "Score" text, "Site/Stadium" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which site/stadium was the score 1-2? ### Query...
### Context: CREATE TABLE table_name_72 ( name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player had a transfer window of winter, and free as the transfer fee? ### Query: SELECT name FROM table_nam...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, Creatio...
### Context: CREATE TABLE table_name_36 ( outgoing_manager VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHo was the outgoing manager for the team of fc carl zeiss jena? ### Query: SELECT outgoing_manager FROM table_name_36 WHERE team = "fc c...
### Context: CREATE TABLE table_name_60 ( status VARCHAR, network_affiliation VARCHAR, station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of the independent station KPFB? ### Query: SELECT status FROM table_name_60 WHERE network_a...
### 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 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 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_55766 ( "Years" text, "Displacement" text, "Engine" text, "Power" text, "Torque" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Displacement has 185hp (138kw) Power o ### Query: SELECT "Displacement" FROM table_...
### Context: CREATE TABLE table_72036 ( "Code Name" text, "Function (figure)" text, "Real Name" text, "Birthplace" text, "Serial number" text, "Primary military speciality" text, "Secondary military speciality" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_58157 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average events for miller barber ### Query: SELECT AVG("Eve...
### Context: CREATE TABLE table_43742 ( "Season" real, "Overall" real, "Slalom" text, "Giant Slalom" real, "Super G" text, "Downhill" text, "Combined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Super G when the combined was 13...
### Context: CREATE TABLE table_45984 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date in Week 7 with an Attendance greater than 44,000? ### Query: SELECT "Date...
### 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_name_61 ( venue VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue when the score was 8-2? ### Query: SELECT venue FROM table_name_61 WHERE score = "8-2"
### Context: CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE author ( authorid int, ...
### 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 Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, ...
### 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 table_71152 ( "Ensemble" text, "Gold Medals" real, "Silver Medals" real, "Bronze Medals" real, "Total Medals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gold medals for the school with less than 1 total? ### Q...
### Context: CREATE TABLE table_9507 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Points, when Year is after 1959, and when Class is 250cc? ### Query: SELECT SUM("...
### Context: CREATE TABLE table_8687 ( "Winner" text, "Country" text, "Winter Olympics" text, "FIS Nordic World Ski Championships" text, "Holmenkollen" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Winter Olympics was Japan as the coun...
### Context: CREATE TABLE table_36581 ( "Player" text, "Touchdowns (5 points)" real, "Extra points 1 point" real, "Field goals (5 points)" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Field goals (5 points) have a Tot...
### 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 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_15736385_1 ( engine VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine does Galles Racing use? ### Query: SELECT engine FROM table_15736385_1 WHERE team = "Galles Racing"
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE labevents ( row_id...
### Context: CREATE TABLE table_22056184_1 ( position VARCHAR, f_laps VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions have f/laps of 1 and british formula three series? ### Query: SELECT COUNT(position) FROM table_22056...
### 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE table_40615 ( "T568A Pair" real, "T568B Pair" real, "Wire" text, "T568A Color" text, "T568B Color" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the T568A color for the cable with a white/orange stripe T568B color?...
### 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_204_318 ( id number, "date" text, "opponent" text, "venue" text, "result" text, "attendance" number, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which game had more in attendance , cardiff city or...
### Context: CREATE TABLE table_575 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answe...
### 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_name_2 ( record VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record of the 2013 Nassau Games? ### Query: SELECT record FROM table_name_2 WHERE games = "2013 nassau"
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id 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, pr...
### Context: CREATE TABLE table_name_27 ( term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the term in office for liberal and state of sa for ian mclachlan ### Query: SELECT term_in_off...
### Context: CREATE TABLE table_name_49 ( first_elected INTEGER, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average First Elected, when District is 'Massachusetts 3'? ### Query: SELECT AVG(first_elected) FROM table_name_49 WHERE dis...
### 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 15 ### Query: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 15
### Context: CREATE TABLE table_60801 ( "Episode" text, "1 season" text, "2 season" text, "3 season" text, "4 season" text, "5 season" text, "6 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1 Season, when 4 Season is '2 101 ...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_4135 ( "Stadium" text, "Location" text, "Opened" real, "Built for" text, "Capacity at Construction" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the stadium in Adelaide, South Australia built for? ### Quer...
### Context: CREATE TABLE table_74728 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning score when there were 9 strokes advantage? ##...
### Context: CREATE TABLE table_1473672_8 ( college_junior_club_team VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the college/junior/club team for left wing ### Query: SELECT college_junior_club_team FROM table_1473672_8 WHERE posit...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_79002 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_29164 ( "Chambering" text, "P1 diameter (mm)" text, "A external (cm 2 )" text, "P max ( bar )" real, "F bolt ( kgf )" real, "F bolt" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With what type of chambering is t...
### Context: CREATE TABLE table_21173 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "Best finish" text, "Earnings ( $ )" real, "Money list rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was Casey Martin'...
### Context: CREATE TABLE table_name_12 ( de_laet__1633_ VARCHAR, munsee_delaware VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the De Laet term for a Munsee Delaware term of n a? ### Query: SELECT de_laet__1633_ FROM table_name_12 WHERE munsee_del...
### Context: CREATE TABLE table_23599 ( "Draw" real, "Artist" text, "Song" text, "Regions" real, "Studio Audience" real, "Press Jury" real, "Oil Rig" real, "Total Points" real, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- H...
### Context: CREATE TABLE table_1671401_3 ( top_5 VARCHAR, winnings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the top 5 where the winnings is $52,595 ### Query: SELECT top_5 FROM table_1671401_3 WHERE winnings = "$52,595"
### Context: CREATE TABLE table_12216 ( "Name" text, "GP-GS" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16? ### Query: SE...
### 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_19169 ( "State" text, "Highest point" text, "Highest elevation" text, "Lowest point" text, "Lowest elevation" text, "Mean elevation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the state with highest poi...
### 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 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 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 geographic ( city_name varchar, county varchar, region varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE location ( restaurant_id int, house_number int, street_name varcha...
### 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 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 record ( ID int, Result text, Swimmer_ID int, Eve...
### Context: CREATE TABLE table_28059992_1 ( pick__number VARCHAR, cfl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many pick# for CFL team of Toronto Argonauts? ### Query: SELECT COUNT(pick__number) FROM table_28059992_1 WHERE cfl_team = "Toront...
### Context: CREATE TABLE table_278229_1 ( commandery VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when changsha is the commandery what is the commandery capital? ### Query: SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙"
### Context: CREATE TABLE table_41100 ( "Administrative Panel" real, "Agricultural Panel" real, "Cultural and Educational Panel" real, "Industrial and Commercial Panel" real, "Labour Panel" real, "National University of Ireland" real, "University of Dublin" real, "Nominated by the Taoise...
### 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 gymnast ( Gymnast_ID int, Floor_Exercise_Points real, Pommel_Horse_Points real, Rings_Points real, Vault_Points real, Parallel_Bars_Points real, Horizontal_Bar_Points real, Total_Points real ) CREATE TABLE people ( People_ID int, Name text, Age real...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_name_72 ( final_episode VARCHAR, episodes_credited VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final episode credited of 187? ### Query: SELECT final_episode FROM table_name_72 WHERE episodes_credited = 187
### 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_60 ( first_edition VARCHAR, pages VARCHAR, isbn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which first edition has 264 pages and the ISBN of 978-0785111832? ### Query: SELECT first_edition FROM table_name_60 WHER...
### Context: CREATE TABLE table_name_85 ( assists VARCHAR, pims VARCHAR, goals VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of assists of the player with 0 goals, more than 1 points, and more than 0 pims? #...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) 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...
### 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 ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName tex...
### Context: CREATE TABLE table_train_58 ( "id" int, "pregnancy_or_lactation" bool, "white_blood_cell_count_wbc" int, "systolic_blood_pressure_sbp" int, "temperature" float, "surgery" bool, "antibiotic_treatment" bool, "heart_rate" int, "allergy_to_vitamin_c" bool, "paco2" float,...
### Context: CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER,...
### Context: CREATE TABLE table_1847523_2 ( station VARCHAR, city_of_license__market VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the stations with a license in Cincinnati? ### Query: SELECT station FROM table_1847523_2 WHERE city_of_license_...
### Context: CREATE TABLE table_name_8 ( minutes VARCHAR, goals VARCHAR, assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of minutes when there are more than 4 goals and 3 assists? ### Query: SELECT minutes FROM table_name_8 WHE...
### Context: CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE enrollments ( campus number, ...
### Context: 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 Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), ...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...