text
stringlengths
197
8.39k
### 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_name_47 ( bronze INTEGER, rank VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Bronze when the rank is more than 11 and gold is less than 0? ### Query: SELECT SUM(bronze) FROM table_name_47...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, ...
### Context: CREATE TABLE table_name_51 ( laps VARCHAR, grid VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Laps have Grid larger than 14, and a Rider of sylvain guintoli? ### Query: SELECT COUNT(laps) FROM table_name_51 WHERE gr...
### Context: CREATE TABLE table_4042 ( "School" text, "Gender" text, "Age Range" text, "Religious Affiliation" text, "Location" text, "School website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a website of http://www.sjfish...
### 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_8321 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when they played the New Orleans Saints? ### Query: SELECT "Attenda...
### Context: CREATE TABLE table_30991 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the results of those matches where th...
### Context: CREATE TABLE table_46705 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the year when the diameter was 729 km? ### Qu...
### Context: CREATE TABLE procedures ( code number, name text, cost number ) CREATE TABLE affiliated_with ( physician number, department number, primaryaffiliation boolean ) CREATE TABLE room ( roomnumber number, roomtype text, blockfloor number, blockcode number, unavailab...
### Context: CREATE TABLE table_name_97 ( samurai VARCHAR, stampede VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the samurai for stampede of t. mask ### Query: SELECT samurai FROM table_name_97 WHERE stampede = "t. mask"
### Context: CREATE TABLE table_12687 ( "Season" text, "GP/MP" text, "Kills" real, "K/Game" real, "Errors" real, "Total Attempts" real, "Percentage" real, "Assists" real, "Service Aces" real, "Digs" real, "Solo Blocks" real, "Block Assists" real, "Total Blocks" real )...
### Context: CREATE TABLE table_1405704_1 ( team VARCHAR, race_name VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team raced with a Foyt engine in the Texas Grand Prix? ### Query: SELECT team FROM table_1405704_1 WHERE race_name = ...
### Context: CREATE TABLE debate ( Debate_ID int, Date text, Venue text, Num_of_Audience int ) CREATE TABLE debate_people ( Debate_ID int, Affirmative int, Negative int, If_Affirmative_Win bool ) CREATE TABLE people ( People_ID int, District text, Name text, Party text,...
### Context: CREATE TABLE table_name_80 ( score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for the United States in place T1 for David Duval? ### Query: SELECT score FROM table_na...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE labevents ( row_id numb...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...
### Context: CREATE TABLE 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_20 ( result VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result when the score is 0-2? ### Query: SELECT result FROM table_name_20 WHERE score = "0-2"
### Context: CREATE TABLE table_10812403_4 ( position VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people were pick #30? ### Query: SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30
### Context: CREATE TABLE table_2732 ( "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 above...
### Context: CREATE TABLE table_47146 ( "Company" text, "Type" text, "Principal activities" text, "Incorporated in" text, "Group's Equity Shareholding" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Type has an Incorporated in of netherlands, ...
### Context: CREATE TABLE table_name_22 ( lane VARCHAR, heat VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What lane number was Hungary and had a heat of 4? ### Query: SELECT COUNT(lane) FROM table_name_22 WHERE heat = 4 AND nation...
### Context: CREATE TABLE table_62007 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of the Winning driver has a Circuit of saint-r...
### Context: CREATE TABLE table_1566850_8 ( centerfold_model VARCHAR, pictorials VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the centerfold model when a pictorial was done on marilyn monroe? ### Query: SELECT centerfold_model FROM table_1566850_8...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, ...
### Context: CREATE TABLE table_26678 ( "Region/Country" text, "Local name" text, "Main presenter" text, "Network" text, "Year premiered" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is every main presenter for the year 2011? ### Query: SELEC...
### Context: CREATE TABLE table_name_26 ( opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which final opponent's surface was hard (i) and participated on October 9, 2005? ### Query: SELECT opponent_in_...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_58151 ( "Runs" text, "Player" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During runs 332, what was the venue? ### Query: SELECT "Venue" FROM table_58151 WHERE "Runs" ...
### Context: CREATE TABLE table_28190534_1 ( engine VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the engine for ecurie lutetia ### Query: SELECT engine FROM table_28190534_1 WHERE entrant = "Ecurie Lutetia"
### Context: CREATE TABLE table_33591 ( "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 was home team Essendon's oppon...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, ...
### Context: CREATE TABLE table_name_4 ( location_attendance VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location/ attendance for a 35-28 record? ### Query: SELECT location_attendance FROM table_name_4 WHERE record = "35-28"
### Context: CREATE TABLE table_3255 ( "Information" text, "James E. Holmes" text, "Reidsville" text, "Rockingham County" text, "Western Rockingham Middle School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the james e. holmes for erselle yo...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, ...
### Context: CREATE TABLE Documents ( document_name VARCHAR, document_id VARCHAR, document_type_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find names and ids of all documents with document type code BK. ### Query: SELECT document_name, document...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) C...
### 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 table_56376 ( "State" text, "Swimsuit" real, "Evening gown" real, "Interview" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which state had an average of less than 8.67, a swimsuit score of 8.27, an evening...
### Context: CREATE TABLE table_63979 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date when the competition is 1996 tiger cup and the result is drew? ### Query: ...
### Context: CREATE TABLE orders ( order_id number, customer_id number, order_status text, date_order_placed time, order_details text ) CREATE TABLE shipment_items ( shipment_id number, order_item_id number ) CREATE TABLE customers ( customer_id number, customer_name text, cust...
### Context: CREATE TABLE table_name_52 ( class VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which class had a rank of 2nd? ### Query: SELECT class FROM table_name_52 WHERE rank = "2nd"
### 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 paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE journal ( journali...
### Context: CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) 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 Lives_in ( stuid ...
### Context: CREATE TABLE table_name_44 ( game VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of @ atlanta flames had what game? ### Query: SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames"
### Context: CREATE TABLE table_36896 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country is Catalogue # ASW 50248 (724385024825) from? ### Query: SELECT "Country" FR...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE procedu...
### Context: CREATE TABLE table_name_84 ( money___ INTEGER, player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Money ($) that has the Score of 69-72-67-71=279, and the Player of loren roberts? ### Query: SELE...
### Context: CREATE TABLE table_26336739_1 ( elected INTEGER, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the district incumbent Saxby Chambliss elected? ### Query: SELECT MAX(elected) FROM table_26336739_1 WHERE incumbent = "Saxb...
### Context: CREATE TABLE staff ( staff_id number, gender text, first_name text, last_name text, email_address text, phone_number text ) CREATE TABLE complaints ( complaint_id number, product_id number, customer_id number, complaint_outcome_code text, complaint_status_code t...
### 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_CLINIC_ID text, ME...
### Context: CREATE TABLE table_2668416_7 ( district VARCHAR, party VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%? #...
### Context: CREATE TABLE table_204_127 ( id number, "outcome" text, "no." number, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which surface was played on the le...
### 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 table_68903 ( "Rank" real, "Country/Region" text, "Population" real, "Area (km 2 )" real, "Density (Pop. per km 2 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest area of the region with a population les...
### Context: CREATE TABLE table_68530 ( "Venue" text, "City" text, "Tickets Sold / Available" text, "Gross Revenue (1979)" text, "Gross Revenue (2012)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue has Tickets Sold/ Available with a Gro...
### Context: CREATE TABLE table_2523 ( "Rank" real, "School" text, "Basic Elements" real, "Tumbling" real, "Stunts" text, "Pyramids" text, "Tosses" text, "Deductions" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ...
### Context: CREATE TABLE table_77191 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date when the round is sf? ### Query: SELECT "Date" FROM ta...
### Context: CREATE TABLE table_13625792_1 ( total__number VARCHAR, bush__percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the county where Bush won 77.76%, how many total votes were cast? ### Query: SELECT total__number FROM table_13625792_1 WH...
### Context: CREATE TABLE table_18824 ( "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 weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE station ( id int, network_name text, services te...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id num...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTasks ( Id number, ...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground_service ( city_code t...
### Context: CREATE TABLE table_74942 ( "Club" text, "Played" 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, answer the followin...
### 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_20856 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race time" text, "Average speed (mph)" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE table_12473 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state is Ding and has a royal house of Ji? ### Query: SELECT "State" FR...
### Context: CREATE TABLE table_72449 ( "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, ans...
### Context: CREATE TABLE table_43805 ( "Release date" text, "Album title" text, "Record label" text, "Disc number" text, "Track number" text, "Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Track number has a Album title of , and a...
### Context: CREATE TABLE table_12985 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Election has a 2nd Member of reform act 1867 : constituency abolished? ...
### 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 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 orders ( order_id number, customer_id number, order_status text, date_order_placed time, order_details text ) CREATE TABLE shipments ( shipment_id number, order_id number, invoice_number number, shipment_tracking_number text, shipment_date time, oth...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, rout...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_21 ( site_stadium VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On March 23, what is the site/stadium? ### Query: SELECT site_stadium FROM table_name_21 WHERE date = "march 23"
### 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 table_64311 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When against is 797 and wins is more than 10, what is the sum of draws? ### Query: SELECT COUNT(...
### Context: CREATE TABLE table_name_21 ( no_result VARCHAR, wins INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total No Results are recorded for less than 6 wins? ### Query: SELECT COUNT(no_result) FROM table_name_21 WHERE wins < 6
### Context: CREATE TABLE documents_mailed ( document_id number, mailed_to_address_id number, mailing_date time ) CREATE TABLE ref_document_types ( document_type_code text, document_type_description text ) CREATE TABLE ref_document_status ( document_status_code text, document_status_descri...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...
### Context: CREATE TABLE 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_38834 ( "Distance" text, "Time" text, "Date" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the date when the location is Berlin? ### Query: SELECT "Date" FROM table_38834 WHERE ...
### 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_7725 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" real, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the transfer fee for the player end...
### Context: CREATE TABLE table_66377 ( "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 attendance in a week earlier than 4, and result is w 31-20? ### Query: SELECT ...
### Context: CREATE TABLE table_name_49 ( genre VARCHAR, developer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what genre did Microvision develop a game? ### Query: SELECT genre FROM table_name_49 WHERE developer = "microvision"
### Context: CREATE TABLE table_50446 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player with a transfer window in ...
### Context: CREATE TABLE table_31778 ( "Year" real, "Date" text, "Event" text, "Days" text, "Stages" text, "Acts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the events for 106 bands ### Query: SELECT "Event" FROM table_31778...
### Context: CREATE TABLE table_name_97 ( name VARCHAR, qual_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What name has a qual 2 of 1:43.374? ### Query: SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374"
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, ...
### Context: CREATE TABLE table_name_92 ( place INTEGER, year VARCHAR, clean_and_jerk VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest place result in 2010 with a Clean and Jerk weight of 224kg? ### Query: SELECT MAX(place) FROM table...
### Context: CREATE TABLE table_28027307_1 ( us_viewers__millions_ VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of U.S. viewers watched the episode with the production code of 6AKY07? ### Query: SELECT us_viewers...
### Context: CREATE TABLE table_name_57 ( origin VARCHAR, in_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the vessel with a listed In service of 1, what is the origin given? ### Query: SELECT origin FROM table_name_57 WHERE in_service = 1
### 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 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_CLINIC_ID text, ME...
### Context: CREATE TABLE table_16748 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...