text
stringlengths
197
8.39k
### Context: CREATE TABLE table_204_881 ( id number, "round" number, "date" text, "score" text, "opponent" text, "opponent's score" text, "result" text, "venue" text, "attendance" number, "best on ground" text, "team" text ) -- Using valid SQLite, answer the following quest...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, ...
### Context: CREATE TABLE table_47537 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest laps that Vittorio Iannuzzo completed? ### Query: SELECT MIN("Laps") FROM table_47...
### Context: CREATE TABLE table_name_11 ( team VARCHAR, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team name for Chungju? ### Query: SELECT team FROM table_name_11 WHERE city = "chungju"
### Context: CREATE TABLE table_name_67 ( player VARCHAR, college VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Pick 3 Player from East College? ### Query: SELECT player FROM table_name_67 WHERE college = "east" AND pick = 3
### Context: CREATE TABLE table_11222744_2 ( format VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where title is beginning callanetics , what is the total of format ? ### Query: SELECT COUNT(format) FROM table_11222744_2 WHERE title = "Begin...
### Context: CREATE TABLE table_test_13 ( "id" int, "systolic_blood_pressure_sbp" int, "tachycardia" int, "diastolic_blood_pressure_dbp" int, "total_cholesterol" int, "high_density_lipoprotein_cholesterol_hdl_c" int, "serum_creatinine" float, "alcohol_abuse" bool, "drug_abuse" bool, ...
### Context: CREATE TABLE Organisations ( organisation_id INTEGER, organisation_type VARCHAR(10), organisation_details VARCHAR(255) ) CREATE TABLE Grants ( grant_id INTEGER, organisation_id INTEGER, grant_amount DECIMAL(19,4), grant_start_date DATETIME, grant_end_date DATETIME, othe...
### 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 table_54815 ( "Marginal Ordinary Income Tax Rate" text, "Single" text, "Married Filing Jointly or Qualified Widow(er)" text, "Married Filing Separately" text, "Head of Household" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_28210383_1 ( no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What numbered episode was directed by greg colton and written by patrick meighan? ### Query: SELECT...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE...
### Context: CREATE TABLE table_59141 ( "Statistic" text, "Name" text, "Total" text, "School" text, "Opponent" text, "Stage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the statistic of most assists? ### Query: SELECT "Name" FROM tab...
### Context: CREATE TABLE table_name_80 ( swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th eswimming status for the school that has yes on indoor track, soccer and tennis? ### Q...
### Context: CREATE TABLE table_14747043_1 ( class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the class AAAA when class AAAAA was Weslaco in 1994-95 ### Query: SELECT class_...
### Context: CREATE TABLE table_74921 ( "Race" text, "Class(es)" text, "Length/Duration" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the classes for the circuit that has the Mazda Raceway Laguna Seca race. #...
### Context: CREATE TABLE customers ( customer_id number, customer_address_id number, customer_status_code text, date_became_customer time, date_of_birth time, first_name text, last_name text, amount_outstanding number, email_address text, phone_number text, cell_mobile_phone...
### Context: CREATE TABLE table_15962 ( "Song" text, "Mobiles" real, "Northern Ireland" real, "Northern England" real, "Scotland" real, "Southern England" real, "Wales" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How man...
### Context: CREATE TABLE table_name_3 ( date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship? ### Query: SELECT date FROM t...
### Context: CREATE TABLE table_name_40 ( class VARCHAR, capacity VARCHAR, navigator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What class has a capacity smaller than 3384 for Ferguson? ### Query: SELECT class FROM table_name_40 WHERE capacity < 338...
### Context: CREATE TABLE table_name_15 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does John Carlson play? ### Query: SELECT position FROM table_name_15 WHERE player = "john carlson"
### Context: CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, ...
### Context: CREATE TABLE table_4240 ( "Train number" real, "Train name" text, "Origin" text, "Destination" text, "Service" text, "Route/Via." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the route for the destination of guruvayur? ##...
### Context: CREATE TABLE table_25999 ( "Province" text, "Mahmoud Ahmadinejad" real, "Mehdi Karroubi" real, "Mir-Hossein Mousavi" real, "Mohsen Rezaee" real, "Spoiled ballots" real, "Total votes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE Staff ( Staff_ID INTEGER, Tourist_Attraction_ID INTEGER, Name VARCHAR(40), Other_Details VARCHAR(255) ) CREATE TABLE Visitors ( Tourist_ID INTEGER, Tourist_Details VARCHAR(255) ) CREATE TABLE Ref_Attraction_Types ( Attraction_Type_Code CHAR(15), Attraction_Typ...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City t...
### Context: CREATE TABLE table_name_93 ( player VARCHAR, total VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player from South Africa had a total less than 284? ### Query: SELECT player FROM table_name_93 WHERE total < 284 AND co...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ...
### Context: CREATE TABLE table_23289934_1 ( no_in_season INTEGER, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most number in season for production code 3abc12 ### Query: SELECT MAX(no_in_season) FROM table_23289934_1 WHERE produ...
### Context: CREATE TABLE table_203_475 ( id number, "stage" number, "date" text, "route" text, "terrain" text, "length" text, "winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which routes were at least 100 km ? ### Query: SELECT "ro...
### 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 PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance t...
### Context: CREATE TABLE table_41843 ( "Class" text, "Wheels" real, "Date" text, "Builder" text, "No. built" real, "1919 nos." text, "LMS Class" text, "LMS nos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for the i...
### Context: CREATE TABLE table_2850912_12 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does allister brown play. ### Query: SELECT position FROM table_2850912_12 WHERE player = "Allister Brown"
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID ...
### Context: CREATE TABLE table_67979 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text, "10:30" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 10:00 has a 8:00 of movies? ### Query: SELEC...
### 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 Ref_Det...
### 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE table_20495 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Bills points" real, "Opponents" real, "Bills first downs" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimu...
### Context: CREATE TABLE table_name_36 ( high_points VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the high points on june 20? ### Query: SELECT high_points FROM table_name_36 WHERE date = "june 20"
### Context: CREATE TABLE table_name_73 ( time VARCHAR, lane VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time has a Lane smaller than 2, and a Nationality of spain? ### Query: SELECT time FROM table_name_73 WHERE lane < 2 A...
### 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 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 outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc ...
### Context: CREATE TABLE table_26336 ( "Player" text, "GP-GS" text, "Min Avg" text, "FG-FGA" text, "FG Pct" text, "3FG-FGA" text, "3FG Pct" text, "FT-FTA" text, "FT Pct" text, "Reb" real, "Ast" real, "Blk" real, "Stl" real, "Pts" real, "Avg Pts" text ) -- U...
### Context: CREATE TABLE table_name_25 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when Hawthorn played as home team? ### Query: SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn"
### Context: CREATE TABLE table_name_23 ( result VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the Europe/Africa Group I, play-off competition? ### Query: SELECT result FROM table_name_23 WHERE competition = "euro...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_name_23 ( opponent VARCHAR, edition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent for the 2003 davis cup europe/africa group ii? ### Query: SELECT opponent FROM table_name_23 WHERE edition = "2003 davis ...
### 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_49644 ( "Governorate" text, "Seats 2010" real, "Seats 2005" real, "In/de-creased by" real, "Percentage in/de-crease" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average In/de-creased by which has a Governo...
### 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 offering_instructor ( offering_instructor_id int, offering_id...
### 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 admissions ( row_id number, subject_id num...
### Context: CREATE TABLE table_58006 ( "Singular abbreviation" text, "Singular Word" text, "Plural abbreviation" text, "Plural Word" text, "Discipline" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The plural word of hands uses what singular word?...
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREAT...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE offering_inst...
### Context: CREATE TABLE table_69684 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name of calvin o'neal, and a Round smaller than 6 had what number total o...
### Context: CREATE TABLE table_1957 ( "Player" text, "Country" text, "Year(s) won" text, "R1" real, "R2" real, "R3" real, "R4" real, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many t...
### Context: CREATE TABLE table_name_90 ( year INTEGER, award VARCHAR, nominated_work VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? ### Query: SELECT MIN(yea...
### Context: CREATE TABLE table_203_416 ( id number, "school name" text, "city" text, "grades" text, "establishment" number, "charter" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first public middle school established in hawaii ?...
### 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 chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text )...
### Context: CREATE TABLE table_name_27 ( term_expires VARCHAR, appointing_governor VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the expiring term for Daryl Hecht when the appointing governor is Tom Vilsack? ### Query: SELECT ter...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, ...
### Context: CREATE TABLE table_name_62 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on October 14, 1984? ### Query: SELECT opponent FROM table_name_62 WHERE date = "october 14, 1984"
### Context: CREATE TABLE document_locations ( document_id number, location_code text, date_in_location_from time, date_in_locaton_to time ) CREATE TABLE ref_document_types ( document_type_code text, document_type_name text, document_type_description text ) CREATE TABLE ref_locations ( ...
### Context: CREATE TABLE table_21455 ( "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 table_name_91 ( parentheses VARCHAR, dots VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for parentheses with a dots value of 0.\dot{6}? ### Query: SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{6}"
### Context: CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE train_station ( Train_ID int, Station_ID int ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Lo...
### Context: CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( p...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_name_67 ( top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Top Division Debut, when Tournaments is '12', and when Name is 'Yamamotoyama'? ### Query: SELECT top_d...
### Context: CREATE TABLE table_35918 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the earliest year that Park Jung-Ah won the gold? ### Query: SELECT MIN("Year") FROM ...
### Context: CREATE TABLE table_name_48 ( college_junior_club_team__league_ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college or club team did Steve Jones play for? ### Query: SELECT college_junior_club_team__league_ FROM table_nam...
### 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_203_88 ( id number, "language" text, "number" number, "percentage (%)" number, "males" number, "females" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which language had the most number of people speaking it . ...
### Context: CREATE TABLE department ( dept_name text, building text, budget number ) CREATE TABLE prereq ( course_id text, prereq_id text ) CREATE TABLE student ( id text, name text, dept_name text, tot_cred number ) CREATE TABLE instructor ( id text, name text, dept_...
### Context: CREATE TABLE table_name_68 ( status VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status when the against is 11? ### Query: SELECT status FROM table_name_68 WHERE against = 11
### Context: CREATE TABLE table_70083 ( "Date of Issue" text, "Theme" text, "Denomination" text, "Printer" text, "Quantity" text, "Design" text, "Perforation" text, "First Day Cover Cancellation" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE table_name_8 ( crowd INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when Fitzroy played as the away team? ### Query: SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy"
### 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 table_name_91 ( draw INTEGER, performer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many draws did gary o'shaughnessy have? ### Query: SELECT SUM(draw) FROM table_name_91 WHERE performer = "gary o'shaughnessy"
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE ...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) 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...
### Context: CREATE TABLE table_26117 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every date with a record ...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_zone ( time_...
### Context: CREATE TABLE table_name_87 ( water_depth VARCHAR, location VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the water depth in the Gulf of Mexico named Discoverer Clear Leader? ### Query: SELECT water_depth FROM table_n...
### Context: CREATE TABLE table_33754 ( "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 of the game on December 13, 1970? ### Query: SELECT COUNT("Attenda...
### Context: CREATE TABLE table_17323092_7 ( high_points VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the high points on the date February 10? ### Query: SELECT high_points FROM table_17323092_7 WHERE date = "February 10"
### Context: CREATE TABLE table_35285 ( "Date" text, "Opponents" text, "Venue" text, "Result" text, "Score F\u2013A" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score F A of 3 0, and a Date of 31 july 2007 had what opponents? ### Query: SELECT "...
### 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 teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the first names of s...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, h...
### Context: CREATE TABLE table_66032 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Richard Bachmann's PBA team? ### Query: SELECT "PBA team" FROM table_66...
### Context: CREATE TABLE table_32652 ( "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 largest crowd when the ...
### Context: CREATE TABLE Customers ( customer_id INTEGER, payment_method VARCHAR(15), customer_name VARCHAR(80), date_became_customer DATETIME, other_customer_details VARCHAR(255) ) CREATE TABLE Products ( product_id INTEGER, product_details VARCHAR(255) ) CREATE TABLE Customer_Addresses ...
### Context: CREATE TABLE table_27067379_1 ( position VARCHAR, building VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions does building Costanera Center Torre 1 have? ### Query: SELECT COUNT(position) FROM table_27067379_1 WHERE building = "...
### Context: CREATE TABLE table_204_121 ( id number, "year" text, "game" text, "developer" text, "setting" text, "platform" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what game is listed before dodgy dealer in 1984 ? ### Q...
### 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...