text
stringlengths
197
8.39k
### 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 table_name_38 ( heat VARCHAR, name VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of heats with a finisher named Gregor Tait in lanes over 6? ### Query: SELECT COUNT(heat) FROM table_name_...
### Context: CREATE TABLE table_25918 ( "Episode" text, "First broadcast" text, "Seans team" text, "Jasons team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first broadcast for trisha goddard and glenn wool ### Query: SEL...
### Context: CREATE TABLE table_7621 ( "Sign" text, "Element" text, "Qualities" text, "Season: North" text, "Season: South" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the qualities of the sign cancer? ### Query: SELECT "Qualities" FROM ...
### Context: CREATE TABLE table_15481 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Joined" real, "Nickname" text, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Northeastern University join? ### Que...
### Context: CREATE TABLE table_32818 ( "Year" real, "Rider" text, "Country" text, "Distance" text, "Pacing" text, "Velodrome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What velodrome took place earlier than 1950 with a winner from France i...
### Context: CREATE TABLE table_name_52 ( laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Alexander Wurz's highest laps when he has a grid less than 14 and a time/retired of +1 lap. ##...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionRea...
### 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 PostTypes ( Id number, Name text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean,...
### Context: CREATE TABLE table_204_905 ( id number, "team" text, "wins" number, "losses" number, "win %" number, "gb" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only team to win more than 100 games ? ### Query: SELECT "team"...
### 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_97 ( goals_for INTEGER, lost VARCHAR, goals_against VARCHAR, points_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 1...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE area ( course_id int, are...
### Context: CREATE TABLE table_name_51 ( high_estimate INTEGER, low_estimate VARCHAR, type VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a type of mass suicide located in France and a low estimate greater than 16, the sum of ...
### Context: CREATE TABLE table_2144863_1 ( laps VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the laps for ryan newman ### Query: SELECT laps FROM table_2144863_1 WHERE driver = "Ryan Newman"
### Context: CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_name varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE geographic ( city_name varchar, county var...
### 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_48272 ( "Government" text, "Federal excise tax ( CAD\u00a2 / L )" real, "Total excise tax (CAD\u00a2/L)" real, "Minimum tax incl. sales taxes (CAD\u00a2/L)" real, "Min. tax (CAD\u00a2/US gal)" real ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_name_76 ( draws VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Draws, when Losses is 'Did Not Qualify'? ### Query: SELECT draws FROM table_name_76 WHERE losses = "did not qualify"
### 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 table_14754471_1 ( hispanic___percentage_ VARCHAR, free_reduced_lunch___percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of hispanics are there when the free/reduced lunch percentage is 81.4? ### Query: SE...
### 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 table_9382 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Attendance, when Opponent is 'At Syracuse'? ### Query: SELECT "Attendance" FROM tab...
### Context: CREATE TABLE table_16677874_2 ( opponents VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many opponents did the team play in week 13? ### Query: SELECT COUNT(opponents) FROM table_16677874_2 WHERE game = 13
### Context: CREATE TABLE table_204_401 ( id number, "rank" number, "lane" number, "name" text, "nationality" text, "react" number, "time" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who finished after sabina veit ? #...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE labevents ( row_id number, subject_id numb...
### Context: CREATE TABLE table_34289 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds had a pick number of more than 10 and Appalachian State a...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text,...
### Context: CREATE TABLE table_53752 ( "Total fat" text, "Saturated fat" text, "Monounsaturated fat" text, "Polyunsaturated fat" text, "Smoke point" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the polyunsaturated fat with a saturated fat of...
### 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_20297 ( "#" real, "Advocate # 1" text, "Advocate # 2" text, "Root of All Evil" text, "Poll winner" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the poll winner for march 19, 2008 ...
### Context: CREATE TABLE table_203_608 ( id number, "rank" number, "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 difference in medal count between slova...
### Context: CREATE TABLE table_name_50 ( player VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is a centre? ### Query: SELECT player FROM table_name_50 WHERE position = "centre"
### Context: CREATE TABLE table_1157867_2 ( builder VARCHAR, wheel_arrangement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the builder of the locomotives with wheel arrangement of 2-4-2 T? ### Query: SELECT builder FROM table_1157867_2 WHERE wheel...
### Context: CREATE TABLE table_name_34 ( long INTEGER, loss VARCHAR, gain VARCHAR, gp_gs VARCHAR, avg_g VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Long that has a GP-GS less than 14, a AVg/G less than 0.8 and a Gain less ...
### Context: CREATE TABLE table_name_23 ( name VARCHAR, ship_type VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the battleship with the battle listed on May 13, 1915? ### Query: SELECT name FROM table_name_23 WHERE shi...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_43075 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2008 of the 2r 2011 and A 2010? ### Query: SELECT ...
### Context: CREATE TABLE table_12744 ( "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. -- Can you tell me the Player that has the Place of t5, and the Score of ...
### 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 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 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 PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOff...
### Context: CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text...
### Context: CREATE TABLE table_2739 ( "Rank" real, "Census-designated place" text, "Metropolitan area" text, "State" text, "Population (2000 census)" real, "Land area (mi 2 )" text, "Population density (people per mi 2 )" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE table_1342393_23 ( result VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of result for mississippi 4? ### Query: SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4"
### Context: CREATE TABLE table_name_35 ( date VARCHAR, opponent VARCHAR, home_away VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game away against Pride? ### Query: SELECT date FROM table_name_35 WHERE opponent = "pride" AND ho...
### 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 qtb ( CLINIC_ID text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_202_196 ( id number, "ethnicity" text, "1880" text, "1899" text, "1913" text, "19301" text, "1956" text, "1966" text, "1977" text, "1992" text, "2002" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_13146 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Finish of t59? ### Query: SELECT MIN("Total") FROM...
### Context: CREATE TABLE table_name_73 ( high_points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is High Points, when Team is @ Phoenix? ### Query: SELECT high_points FROM table_name_73 WHERE team = "@ phoenix"
### Context: CREATE TABLE table_name_7 ( distance VARCHAR, winning_horse VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What distance did the winning horse run in the Summer Doldrums. ### Query: SELECT distance FROM table_name_7 WHERE winning_horse = "summe...
### Context: CREATE TABLE table_32133 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the lowest bronze for panama and total larger than 8 ### Query: SELECT...
### Context: CREATE TABLE table_name_37 ( year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year with a label-Nr of st-43? ### Query: SELECT MIN(year) FROM table_name_37 WHERE label - Nr ...
### Context: CREATE TABLE table_33034 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the Meadowlands against the New England Pa...
### 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 diagnoses ( 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE patients ( row_id number,...
### 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 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 hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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, K...
### Context: CREATE TABLE table_name_25 ( date VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game number 22? ### Query: SELECT date FROM table_name_25 WHERE game = 22
### Context: CREATE TABLE table_name_37 ( country VARCHAR, place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country placed t3 and had the player Fred Couples? ### Query: SELECT country FROM table_name_37 WHERE place = "t3" AND ...
### Context: CREATE TABLE table_name_81 ( res VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Res., when Event is 'KOTC 11 - Domination'? ### Query: SELECT res FROM table_name_81 WHERE event = "kotc 11 - domination"
### 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 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_55320 ( "Date" text, "Opponent" text, "Home/Away" text, "Field" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the opponent for the game at Multi-sport Field? ### Query: SELECT "Opponent" FROM...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requireme...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE table_56950 ( "Place" real, "Player Name" text, "Yards" text, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest place a player with 4 long and less than 2 TDs has? ### Query: SELECT MIN...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### 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 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_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) ...
### Context: CREATE TABLE table_train_161 ( "id" int, "white_blood_cell_count_wbc" int, "systolic_blood_pressure_sbp" int, "c_peptide_level" float, "diastolic_blood_pressure_dbp" int, "heart_rate" int, "glycosylated_hemoglobin" float, "NOUSE" float ) -- Using valid SQLite, answer the f...
### Context: 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_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_29 ( rank INTEGER, name VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank that a Name of thomas morgenstern, and Points larger than 288.7? ### Query: SELECT SUM(rank) FROM table_name_29 WHERE ...
### 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 CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId...
### Context: CREATE TABLE table_name_79 ( round VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds total were there on may 31? ### Query: SELECT COUNT(round) FROM table_name_79 WHERE date = "may 31"
### Context: CREATE TABLE budget ( School_id int, Year int, Budgeted int, total_budget_percent_budgeted real, Invested int, total_budget_percent_invested real, Budget_invested_percent text ) CREATE TABLE endowment ( endowment_id int, School_id int, donator_name text, amount ...
### Context: CREATE TABLE college ( college_id TEXT, name_full TEXT, city TEXT, state TEXT, country TEXT ) CREATE TABLE manager_half ( player_id TEXT, year INTEGER, team_id TEXT, league_id TEXT, inseason INTEGER, half INTEGER, g INTEGER, w INTEGER, l INTEGER, ...
### Context: CREATE TABLE table_name_66 ( rank INTEGER, lose VARCHAR, goal_loss VARCHAR, point VARCHAR, draw VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average rank of a player with more than 52 points, fewer than 10 draws, a goa...
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE T...
### Context: CREATE TABLE table_17386 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHO WROTE THE STORY WITH THE PRODUCTION...
### Context: CREATE TABLE table_65302 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Tournament against Vladimir Zednik? ### Query: SELECT "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_7234 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Assists" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With more than 69 Assists, what is Dejuan Collins' Rank? ### Query: SELECT COUNT("Rank") FROM table...
### Context: CREATE TABLE table_name_14 ( tournament VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tournament for the week of August 4? ### Query: SELECT tournament FROM table_name_14 WHERE week = "august 4"
### Context: CREATE TABLE table_1569516_1 ( platform VARCHAR, operator VARCHAR, service_pattern VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many platforms have a southern opertator and the pattern is all stations via clapham junction? ### Query: ...
### Context: CREATE TABLE table_49531 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which fl...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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...
### Context: CREATE TABLE table_29136 ( "English" text, "Proto-Semitic" text, "IPA" text, "Arabic" text, "Hebrew" text, "Tigrinya" text, "Sabaean" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the arabic for amu te ### Query: SELECT "...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm...
### Context: CREATE TABLE table_name_3 ( date VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Week 5? ### Query: SELECT date FROM table_name_3 WHERE week = 5
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmi...
### Context: CREATE TABLE table_name_70 ( league VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many League cups had a total less than 25 and a league larger than 19? ### Query: SELECT COUNT(league) AS Cup FROM table_name_70 WHERE total <...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) ...
### Context: CREATE TABLE table_4746 ( "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. -- On what day did the home team score ...