text
stringlengths
197
8.39k
### Context: CREATE TABLE table_test_8 ( "id" int, "anemia" bool, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "intravenous_pressors" bool, "fever" bool, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "vasopressors" bool, "renal_disease" bool, ...
### Context: CREATE TABLE table_17605 ( "#" real, "Nation" text, "Winners" real, "Runners-up" real, "3rd Place" real, "4th Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many maximum winners ### Query: SELECT MAX("Winners") FROM tabl...
### Context: CREATE TABLE table_62119 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the match played on...
### Context: CREATE TABLE table_name_31 ( week INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week did Cleveland Browns played? ### Query: SELECT AVG(week) FROM table_name_31 WHERE opponent = "cleveland browns"
### Context: CREATE TABLE table_203_482 ( id number, "year" number, "award" text, "result" text, "category" text, "series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what year was the last nomination received ? ### Query: SELECT MAX("yea...
### Context: CREATE TABLE table_name_40 ( player VARCHAR, year_born VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Player born in 1981? ### Query: SELECT player FROM table_name_40 WHERE year_born = 1981
### 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25)...
### Context: CREATE TABLE table_203_175 ( id number, "rank" text, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total number of medals won by united stat...
### Context: CREATE TABLE table_34426 ( "Player" text, "Hometown" text, "Occupation" text, "Education" text, "Game Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed under occupation for someone from Santa Monica, California? ###...
### Context: CREATE TABLE table_name_15 ( attendance VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game against the cincinnati bengals? ### Query: SELECT COUNT(attendance) FROM table_name_15 WHERE opponent = "...
### Context: CREATE TABLE table_42894 ( "Year" real, "Award" text, "Category" text, "Recipient" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy category? ...
### 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 state ( state_code text, state_name text, country_name tex...
### Context: CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) 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 Allergy_Type ( Allergy V...
### Context: CREATE TABLE church ( name VARCHAR, open_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the name and opening year for three churches that opened most recently. ### Query: SELECT name, open_date FROM church ORDER BY open_date DESC LIMI...
### Context: CREATE TABLE table_33298 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "Facility ID" real, "ERP W" real, "Height m ( ft )" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha...
### Context: CREATE TABLE table_33635 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week was the October 17, 2004 game played? ##...
### Context: CREATE TABLE table_1663 ( "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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) 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, ...
### Context: CREATE TABLE roller_coaster ( Roller_Coaster_ID int, Name text, Park text, Country_ID int, Length real, Height real, Speed text, Opened text, Status text ) CREATE TABLE country ( Country_ID int, Name text, Population int, Area int, Languages text ) ...
### Context: CREATE TABLE table_name_48 ( year INTEGER, venue VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281? ### Query: SELECT MAX(year...
### 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_25800134_3 ( writer_s_ VARCHAR, season__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many writers were for season #1? ### Query: SELECT COUNT(writer_s_) FROM table_25800134_3 WHERE season__number = 1
### 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_72395 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the candidates for illinois 15 ### Query: SELECT "Can...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQ...
### Context: CREATE TABLE table_name_70 ( time_retired VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the time/retired for riccardo patrese ### Query: SELECT time_retired FROM table_name_70 WHERE driver = "riccardo patrese"
### Context: CREATE TABLE table_name_54 ( draw INTEGER, points VARCHAR, language VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest draw when points is less than 11 and language is norwegian? ### Query: SELECT MAX(draw) FROM table_name_5...
### Context: CREATE TABLE table_name_46 ( band INTEGER, power__w_ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Band number has a Power (W) of 400 or less? ### Query: SELECT SUM(band) FROM table_name_46 WHERE power__w_ < 400
### Context: CREATE TABLE table_2839 ( "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 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, ce...
### Context: CREATE TABLE table_45647 ( "Position" real, "best year" text, "best 2-year period" text, "best 3-year period" text, "best 5-year period" text, "best 10-year period" text, "best 15-year period" text ) -- Using valid SQLite, answer the following questions for the tables provided...
### Context: CREATE TABLE table_dev_56 ( "id" int, "anemia" bool, "gender" string, "white_blood_cell_count_wbc" int, "hemoglobinopathy" bool, "major_hematological_conditions" bool, "laboratory_abnormality" bool, "hemoglobin_a1c_hba1c" float, "renal_disease" bool, "hematocrit_hct"...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE 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, INSURE...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, ...
### Context: CREATE TABLE functional_areas ( functional_area_code text, parent_functional_area_code text, functional_area_description text ) CREATE TABLE users ( user_id number, role_code text, user_name text, user_login text, password text ) CREATE TABLE document_structures ( docu...
### Context: CREATE TABLE table_204_186 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of divisions on the chart ? ### Query: SELECT COUNT(DISTINCT "divisi...
### Context: CREATE TABLE Behavior_Incident ( incident_id INTEGER, incident_type_code VARCHAR(10), student_id INTEGER, date_incident_start DATETIME, date_incident_end DATETIME, incident_summary VARCHAR(255), recommendations VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Address...
### Context: CREATE TABLE table_56411 ( "Judge" text, "State" text, "Born/Died" text, "Active service" text, "Chief Judge" text, "Senior status" text, "Appointed by" text, "Reason for termination" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_name_65 ( round VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- College of villanova has what round? ### Query: SELECT round FROM table_name_65 WHERE college = "villanova"
### Context: CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of...
### Context: CREATE TABLE table_name_66 ( week VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week did they have a bye? ### Query: SELECT week FROM table_name_66 WHERE opponent = "bye"
### Context: CREATE TABLE Characteristics ( characteristic_id INTEGER, characteristic_type_code VARCHAR(15), characteristic_data_type VARCHAR(10), characteristic_name VARCHAR(80), other_characteristic_details VARCHAR(255) ) CREATE TABLE Ref_Characteristic_Types ( characteristic_type_code VARCHA...
### Context: CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_73250 ( "Conference" text, "Regular Season Winner" text, "Conference Player of the Year" text, "Conference Tournament" text, "Tournament Venue (City)" text, "Tournament Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_name_98 ( competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the competition that occured on 27 July 2004? ### Query: SELECT competition FROM table_name_98 WHERE date = "27 july 2004"
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info ( KH text, ...
### Context: CREATE TABLE table_78519 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who ...
### Context: CREATE TABLE table_26281 ( "Level" text, "Luma samples/s" real, "Macroblocks/s" real, "Luma samples" real, "Macroblocks" real, "Baseline, Extended and Main Profiles" real, "High Profile" real, "High 10 Profile" real, "Examples for high resolution @ highest frame rate (ma...
### Context: CREATE TABLE table_name_81 ( year INTEGER, top_goalscorer VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least year for goalscore of ortiz and goals more than 25 ### Query: SELECT MIN(year) FROM table_name_81 WHERE t...
### 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 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_70352 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year for Maserati Straight-4 Engines? ### Query: SELECT AVG("Year") FROM...
### Context: CREATE TABLE table_12167 ( "Tournament" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result in 2011 for the French Open tournament? ### Query: SELECT "2011" FROM table_...
### Context: CREATE TABLE table_name_92 ( team VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Team, when Replaced By is 'Jes s Ram rez'? ### Query: SELECT team FROM table_name_92 WHERE replaced_by = "jesús ramírez"
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, Revisi...
### Context: CREATE TABLE table_20005 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Tournament location" text, "Purse ($)" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th...
### Context: CREATE TABLE table_29391 ( "Province" text, "Registered voters" real, "People voted" real, "Valid votes" real, "Invalid votes" real, "Yes" real, "Yes (%)" text, "No" real, "No (%)" text, "Turnout (%)" text ) -- Using valid SQLite, answer the following questions for...
### 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 PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId numb...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TAB...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_829 ( "County" text, "Bush #" real, "Bush %" text, "Kerry #" real, "Kerry %" text, "Others #" real, "Others %" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the minimum total with ke...
### Context: CREATE TABLE table_name_46 ( date VARCHAR, opponent_in_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the opponent in the final Virginie Pichet? ### Query: SELECT date FROM table_name_46 WHERE opponent_in_final = "virginie p...
### Context: CREATE TABLE table_44672 ( "Date" text, "Time" text, "Home" text, "Geust" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Home, when Time is 18:00, and when Geust is Servette FC (CHL)? ### Query: SELECT "Home" FRO...
### Context: CREATE TABLE table_name_47 ( constructor VARCHAR, laps VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who built the car that ran out of fuel before 28 laps? ### Query: SELECT constructor FROM table_name_47 WHERE laps <...
### Context: CREATE TABLE table_name_86 ( attendance INTEGER, loss VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Attendance has a Loss of divis (0 3 0), and Points smaller than 38? ### Query: SELECT SUM(attendance) FROM table_n...
### Context: CREATE TABLE advisor ( i_id VARCHAR, s_id VARCHAR ) CREATE TABLE instructor ( name VARCHAR, id VARCHAR ) CREATE TABLE student ( id VARCHAR, tot_cred VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of instructor who...
### Context: CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_dat...
### Context: CREATE TABLE table_27988281_1 ( production_code INTEGER, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code of the episode written by Jeff Filgo? ### Query: SELECT MAX(production_code) FROM table_27988281_1 WH...
### Context: CREATE TABLE table_57451 ( "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. -- When the home team scored 9.17 (71)...
### Context: CREATE TABLE table_57658 ( "Date" text, "Location" text, "Opponent" text, "Score" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the event that had Liberia as an opponent and resulted in a 1-0 score? ### Qu...
### 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_17327458_1 ( outgoing_manager VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who left a position on 29 May? ### Query: SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 May"
### Context: CREATE TABLE table_27114708_2 ( replaced_by VARCHAR, outgoing_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For outgoing manager is alberto malesani mention all the applicable replaced by person ### Query: SELECT replaced_by FROM table...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, adm...
### Context: CREATE TABLE documents_with_expenses ( document_id number, budget_type_code text, document_details text ) CREATE TABLE ref_document_types ( document_type_code text, document_type_name text, document_type_description text ) CREATE TABLE statements ( statement_id number, sta...
### Context: CREATE TABLE table_44867 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest amount of money a player from South Africa with a t...
### Context: CREATE TABLE table_56159 ( "Rd #" real, "Pick #" real, "Player" text, "Team (League)" text, "Reg GP" real, "Pl GP" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total PI GP that a Reg GP has larger than 3? ### Query: S...
### Context: CREATE TABLE table_name_48 ( total VARCHAR, round_1_ VARCHAR, _2a_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of total when round 1 +2A points of 19.620 ### Query: SELECT COUNT(total) FROM table_name_48 WHERE...
### 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_15592 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest year that has an engine of cosworth v8, with a chassis of hesketh 308e? ###...
### Context: CREATE TABLE table_name_50 ( exit_date VARCHAR, transfer_fee VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the exit date KiatPrawut Saiwaeo who had a transfer fee of released? ### Query: SELECT exit_date FROM table...
### Context: CREATE TABLE customers ( customer_id number, customer_first_name text, customer_last_name text, customer_address text, customer_phone text, customer_email text, other_customer_details text ) CREATE TABLE financial_transactions ( transaction_id number, previous_transacti...
### Context: CREATE TABLE zzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CRE...
### Context: CREATE TABLE table_58854 ( "Drug" text, "Mean" real, "Pleasure" real, "Psychological dependence" real, "Physical dependence" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Pleasure, when Drug is 'LSD', and when Psycho...
### Context: CREATE TABLE table_name_32 ( venue VARCHAR, opponents VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue held that game against the Queens Park Rangers? ### Query: SELECT venue FROM table_name_32 WHERE opponents = "queens park rangers"
### Context: CREATE TABLE table_39541 ( "Wind Farm" text, "Capacity (MW)" real, "Turbines" real, "Turbine Vendor" text, "Size (MW)" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the turbine vendor for Meenadreen in Donegal...
### Context: CREATE TABLE table_38424 ( "Party" text, "Votes cast" real, "Percentage" real, "Seats won" real, "Percent of seats" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of the liberal party with less than 25 percent of ...
### Context: CREATE TABLE table_74415 ( "Rd." text, "Race" text, "Pole position" text, "Fastest lap" text, "Most laps led" text, "Winning driver" text, "Winning team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What race did josef newgard...
### Context: CREATE TABLE table_78140 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest round that louisville drafted into when their pick was over 75? ...
### Context: CREATE TABLE table_27116 ( "Afghan" text, "Albanian" text, "Arabic" text, "Bangladeshi" text, "Bosnian" text, "Chinese" text, "Colombian" text, "Cook Islands" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many afghan in...
### Context: CREATE TABLE table_66907 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the engines for 1983? ### Query: SELECT "Engine(s)" FROM table_66907 WHERE "Year" ...
### Context: CREATE TABLE table_75964 ( "Tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "Win %" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### 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_2668254_17 ( incumbent VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the ran as an incumbent leader first in 1818? ### Query: SELECT incumbent FROM table_2668254_17 WHERE first_elected = "1818"
### Context: CREATE TABLE table_1008653_1 ( capital___endonym__ VARCHAR, capital___exonym__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the local name given to the city of Canberra? ### Query: SELECT capital___endonym__ FROM table_1008653_1 WHERE...
### Context: CREATE TABLE table_1022 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position did Redden play? ### Q...