text
stringlengths
197
8.39k
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_51921 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team has a Venue of corio oval? ### Query...
### Context: CREATE TABLE finrev_fed_key_17 ( state_code number, state text, #_records text ) CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number ) CREATE TABLE ndecore...
### Context: CREATE TABLE table_71326 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Club Established in 2010 has a League of MHL? ### Query: SELECT "Club" FROM table_7132...
### Context: CREATE TABLE table_77633 ( "YEAR" real, "Seniors" text, "Reserves" text, "Thirds (Under 17's)" text, "Fourths (Under 14's)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Thirds (Under 17's) have a Reserve of barnawartha? ### Que...
### Context: CREATE TABLE table_20590020_2 ( starts VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of entries for Leif Olson? ### Query: SELECT COUNT(starts) FROM table_20590020_2 WHERE player = "Leif Olson"
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid n...
### Context: CREATE TABLE table_17058116_5 ( location_attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game that took place in November 21 located and how many attended? ### Query: SELECT location_attendance FROM table_1...
### Context: CREATE TABLE table_23197088_4 ( opponents_in_final VARCHAR, championship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are every one of the rivals in conclusive where title is z rich ### Query: SELECT opponents_in_final FROM table_2319708...
### 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 checkin ( cid int, business_id v...
### Context: CREATE TABLE table_name_83 ( opponent_in_the_final VARCHAR, partner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent from the final with a Partner named jorgelina cravero? ### Query: SELECT opponent_in_the_final FROM table_na...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TA...
### Context: CREATE TABLE table_2068719_1 ( δs_ VARCHAR, _butadiene VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of s /cal mol 1 k 1 for butadiene being 1,2-dimethylene-cyclohexane ### Query: SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM ta...
### Context: CREATE TABLE table_name_57 ( aircraft VARCHAR, versions VARCHAR, in_service VARCHAR, origin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which version B-58 aircraft model originated in the United States has 2 in service? ### Query: SE...
### Context: CREATE TABLE table_46176 ( "Rank" real, "Team" text, "Played" real, "Loss" real, "Last 5" text, "Streak" text, "PF per game" real, "PA per game" real, "PD per game" real, "Winning %" text ) -- Using valid SQLite, answer the following questions for the tables provid...
### 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_14945608_1 ( result VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games had the attendance of 60225? ### Query: SELECT COUNT(result) FROM table_14945608_1 WHERE attendance = 60225
### Context: CREATE TABLE table_66978 ( "Date" text, "Season" text, "Playing for" text, "Opponent" text, "Final score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what season is Victoria the Opponent? ### Query: SELECT "Season" FROM table_669...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputG...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text...
### Context: CREATE TABLE table_5635 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has april 10 as the date? ### Query: SELECT "Opponent" FROM table_5635 WHERE "Date...
### 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_29506171_2 ( money_list_rank VARCHAR, top_10s VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the money list rank for Reid in the year that she had 0 top 10s? ### Query: SELECT money_list_rank FROM table_29506171_2 WH...
### Context: CREATE TABLE table_55749 ( "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. -- Which away team scored 4.15 (39)? ...
### Context: CREATE TABLE table_name_25 ( grand_prix VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Grand Prix is located in Jerez? ### Query: SELECT grand_prix FROM table_name_25 WHERE location = "jerez"
### Context: CREATE TABLE table_17933600_2 ( outgoing_manage VARCHAR, incoming_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the outgoing manager when the incoming manager was jo o pereira? ### Query: SELECT outgoing_manage FROM table_17933...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, ...
### 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 Performers ( Performer_ID INTEGER, Address_ID INTEGER, Customer_Name VARCHAR(255), Customer_Phone VARCHAR(255), Customer_Email_Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Addresses ( Address_ID VARCHAR(100), Line_1 VARCHAR(255), Line_2 V...
### Context: CREATE TABLE table_name_31 ( team VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What teams played in Capital Bowl IV? ### Query: SELECT team FROM table_name_31 WHERE game = "capital bowl iv"
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### 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 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 transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_...
### 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_50288 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM? ### Query: SELECT "Country" FROM table_50288 W...
### Context: CREATE TABLE table_289 ( "Delegate" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the swimsuits for south africa? ### Query: SELECT "Swimsuit" FROM table...
### Context: CREATE TABLE table_name_59 ( run_4 VARCHAR, run_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Run 4 has a Run 1 of 1:25.82? ### Query: SELECT run_4 FROM table_name_59 WHERE run_1 = "1:25.82"
### Context: CREATE TABLE table_9593 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did Soares fight against josh spearman? ### ...
### Context: CREATE TABLE table_7445 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lost has Points smaller than ...
### 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 ta ( campus_job_id int, student_id int, location varchar ...
### Context: CREATE TABLE table_49200 ( "Player" text, "Nationality" text, "Jersey Number(s)" text, "Position" text, "Years" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did jersey number 55 play? ### Query: SELECT "Ye...
### Context: CREATE TABLE table_name_98 ( format VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Format has a Frequency of 100.5 fm? ### Query: SELECT format FROM table_name_98 WHERE frequency = "100.5 fm"
### Context: CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE certificate ( eid number, aid number ) CREATE TABLE aircraft ( aid number, name text, distance number ) CREATE TABLE flight ( flno number, origin text, destination text, distance n...
### Context: CREATE TABLE course ( title VARCHAR, course_id VARCHAR ) CREATE TABLE prereq ( course_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the title of courses that have two prerequisites? ### Query: SELECT T1.title FROM course AS T1 JOI...
### Context: CREATE TABLE table_203_804 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is hesketh ford l...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_24927 ( "Name" text, "Position" text, "Height" text, "Weight" text, "Date of Birth" text, "Home Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the home team is UMBC and the weight is 78kg, what the the na...
### Context: CREATE TABLE table_203_726 ( id number, "year" number, "national champion" text, "score" text, "runner-up" text, "host or site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who had the greater score in 2012 , stanford or usc ? ##...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE days ( days_code va...
### Context: CREATE TABLE table_203_444 ( id number, "week" number, "start date" text, "type" text, "tournament" text, "surface" text, "town" text, "country" text, "continent" text, "prize money" text ) -- Using valid SQLite, answer the following questions for the tables provid...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_name_60 ( nfl_club VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NFL club with pick # 153? ### Query: SELECT nfl_club FROM table_name_60 WHERE pick = 153
### Context: CREATE TABLE table_train_194 ( "id" int, "organ_transplantation" bool, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "substance_dependence" bool, "diastolic_blood_pressure_dbp" int, "alcohol_abuse" bool, "age" float, "NOUSE" float ) -- Using valid SQ...
### 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 Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id I...
### 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_name_61 ( silver VARCHAR, rank VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is ranked number 2 and has less than 5 total medals? ### Query: SELECT COUNT(silver) FROM table_name_61 WHERE rank...
### Context: 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, weight int, capacity int, pay_load int, cruising_speed in...
### 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 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 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 table_16058 ( "Camp" text, "Estimated deaths" text, "Operational" text, "Occupied territory" text, "Current country of location" text, "Primary means for mass killings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wha...
### Context: CREATE TABLE table_203_764 ( id number, "name" text, "date" number, "nation" text, "displacement" text, "speed" text, "number" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which name has the largest displac...
### Context: CREATE TABLE table_1566852_8 ( date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who answered the 20 questions on 10-07? ### Query: SELECT 20 AS _questions FROM table_1566852_8 WHERE date = "10-07"
### Context: CREATE TABLE table_name_91 ( party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party has the South Carolina 2 district? ### Query: SELECT party FROM table_name_91 WHERE district = "south carolina 2"
### Context: CREATE TABLE table_24560733_1 ( opponents INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum number of opponents' points for the game at Michigan State? ### Query: SELECT MIN(opponents) FROM table_24560733_1 WH...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid n...
### Context: CREATE TABLE table_33180 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks ended in a result of L 20-10? ### Query: SELECT COUNT("Week") FROM table_33...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniq...
### 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_76379 ( "Game" real, "Date" text, "Opponent" 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 ...
### Context: CREATE TABLE table_17968282_1 ( played INTEGER, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most played when points is 105 ### Query: SELECT MAX(played) FROM table_17968282_1 WHERE points = 105
### Context: CREATE TABLE table_9623 ( "School Name" text, "Start" text, "School District" text, "Year Open" real, "2012 Enrolment" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE ENROLLMENT FOR cole saint-ther se AFTER 1954? ### Query: ...
### Context: CREATE TABLE table_name_31 ( winner VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the winner when the team is mobil 1 racing? ### Query: SELECT winner FROM table_name_31 WHERE team = "mobil 1 racing"
### Context: CREATE TABLE table_name_17 ( d__max_ INTEGER, taper VARCHAR, c__max_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What total D (max) has a taper of 1:20.047, and a C (max) bigger than 65.5? ### Query: SELECT SUM(d__max_) FROM table_name_1...
### Context: CREATE TABLE management ( department_id VARCHAR ) CREATE TABLE department ( department_id VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which department has more than 1 head at a time? List the id, name and the number of head...
### Context: CREATE TABLE table_name_11 ( opponent VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did they play when the score was 95-114? ### Query: SELECT opponent FROM table_name_11 WHERE score = "95-114"
### 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 Mailshot_Customers ( mailshot_id INTEGER, customer_id INTEGER, outcome_code VARCHAR(15), mailshot_customer_date DATETIME ) CREATE TABLE Mailshot_Campaigns ( mailshot_id INTEGER, product_category VARCHAR(15), mailshot_name VARCHAR(80), mailshot_start_date DATETI...
### Context: CREATE TABLE mountain ( id number, name text, height number, prominence number, range text, country text ) CREATE TABLE camera_lens ( id number, brand text, name text, focal_length_mm number, max_aperture number ) CREATE TABLE photos ( id number, camera...
### Context: CREATE TABLE table_57551 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position has a Player of chad hutchinson? ### Query: SELECT "Position" FROM tab...
### Context: CREATE TABLE table_30879 ( "Network" text, "Flagship" text, "Programming" text, "Region" text, "Origin" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the networks originate in Xalapa? ### Query: SELECT "Netw...
### Context: CREATE TABLE table_46980 ( "2004/ 05" text, "2006/ 07" text, "2007/ 08" text, "2009/ 10" text, "2010/ 11" text, "2011/ 12" text, "2012/ 13" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2006/07 finish for the tourn...
### Context: CREATE TABLE table_204_268 ( id number, "album/single" text, "performer" text, "year" number, "variant" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the album released before blood and roses vol 2 ? ### Que...
### Context: CREATE TABLE table_name_34 ( club VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Club that has the Lost of 19? ### Query: SELECT club FROM table_name_34 WHERE lost = "19"
### Context: CREATE TABLE table_4046 ( "Position" text, "Name" text, "Nationality" text, "Event 1 Giant Farmers Walk" text, "Event 2 Power Stairs" text, "Event 3 Deadlift" text, "Event 4 Africa Stone" text, "Event 5 Metal Block Press" text, "Event 6 Loading Race" text ) -- Using va...
### Context: CREATE TABLE table_402 ( "Name" text, "Position" text, "Height" text, "Weight(lbs)" real, "Born" text, "College" text, "Drafted" text, "Pro Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is under drafted when 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_name_33 ( silver INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver medals were awarded to the Nation with less than 2 gold, more than 6 bronze and a rank higher ...
### Context: CREATE TABLE table_11959669_7 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score on March 26? ### Query: SELECT score FROM table_11959669_7 WHERE date = "March 26"
### Context: CREATE TABLE table_name_42 ( headquarters VARCHAR, primary_industry VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the headquarter of the conglomerate industry? ### Query: SELECT headquarters FROM table_name_42 WHERE primary_industry =...
### Context: CREATE TABLE table_name_6 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the tournament when 1992 is A? ### Query: SELECT tournament FROM table_name_6 WHERE 1992 = "a"
### Context: CREATE TABLE table_27967 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 'the 37-year itch' is the title what is the lowest...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE fare ( fare_id i...
### Context: CREATE TABLE membership_register_branch ( name VARCHAR, member_id VARCHAR ) CREATE TABLE member ( name VARCHAR, member_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show member names without any registered branch. ### Query: SELECT...