text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_41 ( date_of_birth__age_ VARCHAR, caps VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of birth of the player that has 11 caps and plays the prop position? ### Query: SELECT date_of_...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tes...
### Context: CREATE TABLE qtb ( 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 t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_name_33 ( nfl_team VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which NFL team has a player that came from a college in Washington? ### Query: SELECT nfl_team FROM table_name_33 WHERE college = "washington"
### Context: CREATE TABLE table_33457 ( "Year" real, "Drivers" text, "Wins" real, "Points" text, "D.C." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Before 2007, how many wins were there when the point total was 48? ### Query: SELECT SUM("Wins") ...
### Context: CREATE TABLE table_42846 ( "Year" real, "Chassis" text, "Engine" text, "Start" real, "Finish" real, "Entrant" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis has patrick racing as an entrant, with a start greater than 6?...
### Context: CREATE TABLE table_54758 ( "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 is the least amount of silver medals a team with less than 0 gold medals h...
### Context: CREATE TABLE table_68308 ( "Name" text, "Birth" text, "Marriage" text, "Became Consort" text, "Ceased to be Consort" text, "Spouse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the became consort for christian ix spouse ### ...
### Context: CREATE TABLE table_name_10 ( inf_stem VARCHAR, subj_pres VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the infinitive stem that has a subjunctive present of ou? ### Query: SELECT inf_stem FROM table_name_10 WHERE subj_pres = "ou"
### Context: CREATE TABLE table_name_30 ( week INTEGER, date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks have a Date of december 4, 1976, and an Attendance larger than 57,366? ### Query: SELECT SUM(week) FROM table_...
### Context: CREATE TABLE table_43629 ( "Position" real, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE Part_Faults ( part_fault_id INTEGER, part_id INTEGER, fault_short_name VARCHAR(20), fault_description VARCHAR(255), other_fault_details VARCHAR(255) ) CREATE TABLE Fault_Log ( fault_log_entry_id INTEGER, asset_id INTEGER, recorded_by_staff_id INTEGER, fault...
### Context: CREATE TABLE table_10413597_5 ( setting VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many settings where there for episode 29 of the season? ### Query: SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series =...
### Context: CREATE TABLE table_57312 ( "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 average crowd size for ...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, w...
### Context: CREATE TABLE table_name_27 ( team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name of sue bird that involves what team? ### Query: SELECT team FROM table_name_27 WHERE name = "sue bird"
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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, JZZ...
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDR...
### Context: CREATE TABLE table_2259285_1 ( winning_pct__percentage VARCHAR, goals_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning % when there were 322 goals? ### Query: SELECT winning_pct__percentage FROM table_2259285_1 WHERE goal...
### Context: CREATE TABLE table_65993 ( "Year" real, "Formula" text, "Driver" text, "Constructor" text, "Location" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which formula had a driver of John Moore-Brabazon? ### Query: SELEC...
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_61491 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has player Nick Faldo? ### Query: SELECT "Country" ...
### 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 DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS varchar(20), DEPT_EXTENSION varchar(4) ) CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION va...
### Context: CREATE TABLE table_21407 ( "Year" real, "Indians admitted" real, "Pakistanis admitted" real, "Sri Lankans admitted" real, "Bangladeshis admitted" real, "Nepalis admitted" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many India...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id num...
### Context: CREATE TABLE table_name_62 ( high_rebounds VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which High rebounds has a Score of w 81-69? ### Query: SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69"
### Context: CREATE TABLE table_29122 ( "No." real, "#" real, "Title" text, "Directed by" text, "Story by" text, "Teleplay by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How m...
### 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_name_27 ( result VARCHAR, opponent VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the match with clyde as the opponent in the h venue? ### Query: SELECT result FROM table_name_27 WHERE...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, J...
### Context: CREATE TABLE table_204_568 ( id number, "pennant" text, "name" text, "hull builder" text, "ordered" text, "laid down" text, "launched" text, "accepted into service" text, "commissioned" text, "est. building cost" text, "fate" text ) -- Using valid SQLite, answe...
### Context: CREATE TABLE payment ( staff_id VARCHAR ) CREATE TABLE staff ( first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which staff handled least number of payments? List the full name and the id. ...
### 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_name_53 ( award_show VARCHAR, category VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what award show was Bad Girls nominated for Best Loved Drama in 2002? ### Query: SELECT award_show FROM table_name_53 ...
### Context: CREATE TABLE table_name_76 ( party VARCHAR, results VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Party, when Results is 'Re-Elected', and when District is 'Louisiana 5'? ### Query: SELECT party FROM table_name_76...
### Context: CREATE TABLE table_name_84 ( company VARCHAR, number VARCHAR, price VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What company is numbered larger than 5 and priced at $389M? ### Query: SELECT company FROM table_name_84 WHERE number > 5 AND...
### Context: CREATE TABLE table_40300 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Mean attendance for December 22, 1980? ### Query: SELECT AVG("Attendance") FROM table_4030...
### Context: CREATE TABLE table_2628 ( "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. -- Name the reason for change for jonathan jennings ### Query: S...
### Context: CREATE TABLE table_25382 ( "No." real, "Player" text, "Position" text, "Height" text, "Weight" real, "Class" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the player's who weighed 170? ### Query: SELEC...
### Context: CREATE TABLE loan ( loan_id text, loan_type text, cust_id text, branch_id text, amount number ) CREATE TABLE customer ( cust_id text, cust_name text, acc_type text, acc_bal number, no_of_loans number, credit_score number, branch_id number, state text ) ...
### 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 table_name_28 ( capacity INTEGER, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capacity of Band rma Banvit? ### Query: SELECT AVG(capacity) FROM table_name_28 WHERE club = "bandırma banvit"
### Context: CREATE TABLE table_56338 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the school/club team/country for the player that is 6-5 ft #...
### 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 course_offering ( offering_id int, course_id int, semester int, section_number ...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, dr...
### Context: CREATE TABLE table_14670060_1 ( languages VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What languages are spoken when call sign XEJAM is used? ### Query: SELECT languages FROM table_14670060_1 WHERE call_sign = "XEJAM"
### Context: CREATE TABLE table_204_88 ( id number, "year" number, "english title" text, "japanese" text, "romanization" text, "type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years is the chart for ? ### Query: SELECT MAX("year")...
### Context: CREATE TABLE mzb ( 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 t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_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_10111 ( "Place" real, "TV network" text, "% of US households reached" text, "Number of households viewable" real, "Type of Television Network" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which TV network is a spani...
### 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_60196 ( "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 medicine ( id int, name text, Trade_Name text, FDA_approved text ) CREATE TABLE enzyme ( id int, name text, Location text, Product text, Chromosome text, OMIM int, Porphyria text ) CREATE TABLE medicine_enzyme_interaction ( enzyme_id int, m...
### 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 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 field ( fieldid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid int, datasetname...
### Context: CREATE TABLE table_name_26 ( nickname VARCHAR, no_of_premierships VARCHAR, years_in_competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Nickname that had a No. 0, and Years in Competition of 1982-2003? ### Query: SELECT ...
### Context: CREATE TABLE table_name_42 ( designated_visitors VARCHAR, designated_home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the visitors when the Atlanta Falcons were the home team? ### Query: SELECT designated_visitors FROM table_name_42...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_name_36 ( round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which cornerback round has a pick number lower than 26 and an overall higher than 41? ### Query: ...
### Context: CREATE TABLE table_52465 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is the player who has a hometown of Chicago, IL from? ### Query: SELECT "Scho...
### Context: CREATE TABLE table_name_7 ( venue VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where does Geelong play their home game? ### Query: SELECT venue FROM table_name_7 WHERE home_team = "geelong"
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE icustays ( row_id num...
### Context: CREATE TABLE player ( Player_ID int, Sponsor_name text, Player_name text, Gender text, Residence text, Occupation text, Votes int, Rank text ) CREATE TABLE player_coach ( Player_ID int, Coach_ID int, Starting_year int ) CREATE TABLE coach ( Coach_ID int, ...
### 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_70811 ( "Year" real, "Points" text, "Rebounds" text, "Assists" text, "Steals" text, "Blocks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1...
### Context: CREATE TABLE table_name_84 ( total_games VARCHAR, years VARCHAR, pac_12 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total games associated with the Pac-12 of california and 117 years? ### Query: SELECT total_games FROM table_nam...
### Context: CREATE TABLE table_name_65 ( year VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year had the Finish of 12? ### Query: SELECT year FROM table_name_65 WHERE finish = "12"
### Context: CREATE TABLE table_name_46 ( decile INTEGER, roll VARCHAR, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest decile value with a roll greater than 301 in Hauraki? ### Query: SELECT MAX(decile) FROM table_name_46 WHERE ...
### Context: CREATE TABLE table_30346 ( "Character" text, "Game" text, "Platform" text, "Status" text, "Mystic Arte" text, "Character Voice" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many platforms have nanaly fletch as the character? ...
### Context: CREATE TABLE table_65635 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the developer of Wii? ### Query: SELECT "Developer(s)" FROM table_65635 WHERE ...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) 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, ad...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body t...
### Context: CREATE TABLE table_203_707 ( id number, "rank" number, "npc" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country won the least amount of gold medals ? ###...
### Context: CREATE TABLE table_58278 ( "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 crowd with a Home team ...
### Context: CREATE TABLE orders ( order_id VARCHAR, date_order_placed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the id of the most recent order? ### Query: SELECT order_id FROM orders ORDER BY date_order_placed DESC LIMIT 1
### Context: CREATE TABLE table_262476_1 ( location VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name where bethany college is ### Query: SELECT location FROM table_262476_1 WHERE institution = "Bethany College"
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE table_26998135_2 ( date_of_appointment VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of appointment when the date of vacancy is 15 march 2011? ### Query: SELECT date_of_appointment FROM ta...
### 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 PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, C...
### Context: CREATE TABLE table_name_94 ( rider VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the rider with a 399cc Kawasaki? ### Query: SELECT rider FROM table_name_94 WHERE team = "399cc kawasaki"
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE microbiologyevents ( row_id number, subjec...
### Context: CREATE TABLE table_name_23 ( position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did Garion Weller hold in 2012? ### Query: SELECT position FROM table_name_23 WHERE 2012 = "garion weller"
### Context: CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE domain_journ...
### Context: CREATE TABLE table_26986076_5 ( fri_27_aug VARCHAR, wed_25_aug VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th? ### Query: SELECT fri_27_aug FROM table_26986076_5 WHER...
### Context: CREATE TABLE table_14144 ( "Manufacturer" text, "Transmission" text, "Engine Capacity" real, "Fuel Type" text, "L/100km Urban (Cold)" real, "L/100km Extra-Urban" real, "L/100km Combined" real, "mpg-UK Urban (Cold)" real, "mpg-UK Extra-Urban" real, "mpg-UK Combined" r...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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, JZZ...
### 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_train_184 ( "id" int, "gender" string, "systolic_blood_pressure_sbp" int, "heart_disease" bool, "renal_disease" bool, "hematocrit_hct" float, "allergy_to_insulin_lispro" bool, "diastolic_blood_pressure_dbp" int, "serum_creatinine" float, "hypertens...
### Context: CREATE TABLE table_47117 ( "Senator" text, "Party" text, "District" real, "Home Town" text, "Took Office" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of District, when Took Office is greater than 1981, and when Senato...
### Context: CREATE TABLE table_65847 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Place with more than 3 draws, for the Song 'dajana', with less than 31 points?...
### Context: CREATE TABLE CLASS ( CLASS_CODE varchar(5), CRS_CODE varchar(10), CLASS_SECTION varchar(2), CLASS_TIME varchar(20), CLASS_ROOM varchar(8), PROF_NUM int ) CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4),...
### 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_name_55 ( location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the average 1st prize for tennessee ### Query: SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee"
### 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 patient ...