sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT Height ft / m FROM table WHERE Year completed < 1990 AND Name = florida life building
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How tall is the florida life building, completed before 1990?.It is not neccessary to use all the tables.
|
SELECT Japanese Title FROM table WHERE Episodes < 11 AND Romaji Title = regatta~kimi to ita eien~
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~?.It is not neccessary to use all the tables.
|
SELECT MIN Water (sqmi) FROM table WHERE Land ( sqmi ) > 34.864 AND Township = pierce AND GEO ID > 3800362460
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460?.It is not neccessary to use all the tables.
|
SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What city of license/market has the channel of 41?It is not neccessary to use all the tables.
|
SELECT Division FROM table WHERE U.S. Open Cup = Did Not Qualify AND Year = 2003
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many division did not qualify for u.s. open cup in 2003.It is not neccessary to use all the tables.
|
SELECT place FROM table_name_43 WHERE country = "united states" AND to_par = "+2" AND score = 73 - 74 - 71 - 72 = 290
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What place did the golfer from the United States come in with a To Par of +2 and a score of 73-74-71-72=290?It is not neccessary to use all the tables.
|
SELECT Draws FROM table WHERE Losses > 8 AND Points = 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of draws for the team with more than 8 losses and 13 points?.It is not neccessary to use all the tables.
|
SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'WTA Championships' INTERSECT SELECT T1.country_code, T1.first_name FROM players AS T1 JOIN matches AS T2 ON T1.player_id = T2.winner_id WHERE T2.tourney_name = 'Australian Open'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the country code and first name of the players who won in both tourney WTA Championships and Australian Open?It is not neccessary to use all the tables.
|
SELECT Released FROM table WHERE Chinese title = 反正 卓文萱
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Chinese title of 反正 卓文萱 had what released?.It is not neccessary to use all the tables.
|
SELECT Multiplier 1 FROM table WHERE Frequency = 1800mhz
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the multiplier 1 for chips with a frequency of 1800MHz?.It is not neccessary to use all the tables.
|
SELECT Nationality FROM journalist ORDER BY Years_working DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nationality of the journalist with the largest number of years working?It is not neccessary to use all the tables.
|
SELECT COUNT March FROM table WHERE January < 8.77 AND December > 1.69 AND Average Monthly Additions(in millions) < 5.35 AND Year < 2004
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?.It is not neccessary to use all the tables.
|
SELECT Hanyu Pinyin FROM table WHERE Density (/km²) = 77
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Pinyin for the item that has a density of 77?.It is not neccessary to use all the tables.
|
SELECT COUNT Stolen Ends FROM table WHERE Ends Lost < 44 AND Blank Ends < 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7?.It is not neccessary to use all the tables.
|
SELECT AVG age at appointment FROM table WHERE Portfolio attachment = security
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average age at appointment of those attached to security?.It is not neccessary to use all the tables.
|
SELECT AVG Goal FROM table WHERE Venue = stade roi baudouin, brussels
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Goal in Stade Roi Baudouin, Brussels?.It is not neccessary to use all the tables.
|
SELECT MAX Population FROM table WHERE Location = scalloway islands AND Island = trondra
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest population of Trondra Island in the Scalloway Islands?.It is not neccessary to use all the tables.
|
SELECT rank FROM table_name_4 WHERE year > 1994
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What rank is later than 1994?It is not neccessary to use all the tables.
|
SELECT chip FROM table_name_63 WHERE frequency_[mhz] > 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the chip with frequency larger than 10It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'insert endotracheal tube') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv mec ven <96 hrs') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients received a cont inv mec ven <96 hrs after the procedure of the insert endotracheal tube last year during the same hospital visit?It is not neccessary to use all the tables.
|
SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Games when Name is Travis Watson and when Rebounds is less than 136?It is not neccessary to use all the tables.
|
SELECT december FROM table_name_65 WHERE record = "4-3-6"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which December has a Record of 4-3-6?It is not neccessary to use all the tables.
|
SELECT MIN Year FROM table WHERE Artist = every little thing AND Rank < 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the first year that the artist of every little thing ranked lower than 10?.It is not neccessary to use all the tables.
|
SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Position has Goals against smaller than 43 and Wins larger than 14 and Played larger than 38?It is not neccessary to use all the tables.
|
SELECT school_code FROM department WHERE dept_name = "Accounting"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the code of the school where the accounting department belongs to?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "DMI neuro nt st uncntrld" AND prescriptions.drug_type = "MAIN"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
give me the number of patients whose diagnoses short title is dmi neuro nt st uncntrld and drug type is main?It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE No. in season = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what was the name of episode 5?.It is not neccessary to use all the tables.
|
SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What mechanical has lpm regulation?It is not neccessary to use all the tables.
|
SELECT Birth FROM table WHERE Spouse = frederick iv AND Became Consort = 4 april 1721
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the birth of the person that has a spouse of frederick iv and became consort of 4 april 1721.It is not neccessary to use all the tables.
|
SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
which tournament was the champion nick saviano florin segărceanu 6–3 6–4?It is not neccessary to use all the tables.
|
SELECT MAX(crowd) FROM table_16388506_1 WHERE home_team = "Essendon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the largest crowd when essendon is the home team?It is not neccessary to use all the tables.
|
SELECT "Date" FROM table_52959 WHERE "Away team" = 'essendon'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date when the away team is essendon?It is not neccessary to use all the tables.
|
SELECT "Award" FROM table_11356 WHERE "Result" = 'nominated' AND "Organization" = '54th the television academy drama awards'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where Result is nominated and Organization is 54th the television academy drama awards, what is the award?It is not neccessary to use all the tables.
|
SELECT Attendance FROM table WHERE Week = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the attendance when the week is 5?.It is not neccessary to use all the tables.
|
SELECT AVG("Spectators") FROM table_46460 WHERE "Round" = 'group h'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the average spectators from the Group H Round?It is not neccessary to use all the tables.
|
SELECT Nominated Work FROM table WHERE Category = best performance by a leading actress in a play AND Year < 2007
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007?.It is not neccessary to use all the tables.
|
SELECT prescriptions.drug_type, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Sulfameth/Trimethoprim DS"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is drug type and drug route of drug name sulfameth/trimethoprim ds?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Date = july 18 AND Record = 41-51
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Score on July 18 that has Record of 41-51?.It is not neccessary to use all the tables.
|
SELECT Studio FROM table WHERE Director = reginald hudlin
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What studio is director Reginald Hudlin from?.It is not neccessary to use all the tables.
|
SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the area in km2 for the district whose original name was Kecamatan Bogor Timur?It is not neccessary to use all the tables.
|
SELECT Partner FROM table WHERE Surface = grass AND Opponents in the final = jürgen melzer philipp petzschner
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the partner for surface of grass and opponents of jürgen melzer philipp petzschner.It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Season # = 35
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the title for season number 35.It is not neccessary to use all the tables.
|
SELECT title FROM table_name_34 WHERE type = "album" AND year = 1983
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Title has a Type of album in 1983?It is not neccessary to use all the tables.
|
SELECT MIN(matches) FROM table_27268238_4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest amount of matches?It is not neccessary to use all the tables.
|
SELECT Industry FROM Companies WHERE Headquarters = "USA" INTERSECT SELECT Industry FROM Companies WHERE Headquarters = "China"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the industries shared by companies whose headquarters are "USA" and companies whose headquarters are "China".It is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_80 WHERE home_team = "south melbourne"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When South Melbourne was the home team who was the away team?It is not neccessary to use all the tables.
|
SELECT T2.lname, T2.fname FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.SportName = "Football" OR T1.SportName = "Lacrosse"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the last and first name of students who are playing Football or Lacrosse.It is not neccessary to use all the tables.
|
SELECT Partner FROM table WHERE Surface = Clay
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who did she play with on clay?.It is not neccessary to use all the tables.
|
SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?It is not neccessary to use all the tables.
|
SELECT Creator FROM table WHERE Latest stable version = 0.5.2 (part of compiz fusion release)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)?.It is not neccessary to use all the tables.
|
SELECT chassis FROM table_name_83 WHERE year < 1956 AND engine = "gordini straight-4" AND points = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Before 1956 what Chassis has Gordini Straight-4 engine with 3 points?It is not neccessary to use all the tables.
|
SELECT Writer FROM table WHERE Viewing figure = 7.01 million
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What writers are associated with a viewing figure of 7.01 million?.It is not neccessary to use all the tables.
|
SELECT t.TagName AS "Tag Name", COALESCE('site://q/' + CAST(t.WikiPostId AS TEXT) + '|' + LEFT(e.Body, 100) + '...', '{empty}') AS "Tag Info" FROM Tags AS t LEFT JOIN Posts AS e ON e.Id = t.ExcerptPostId WHERE t.TagName LIKE '%+%' ORDER BY t.TagName
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tags with plus (+) in their name.It is not neccessary to use all the tables.
|
SELECT Manager FROM table WHERE Club = FC Inter
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the manager for the fc inter club?.It is not neccessary to use all the tables.
|
SELECT SUM(total_foreign_born__1000_) FROM table_name_7 WHERE country = "sweden" AND born_in_other_eu_state__1000_ > 477
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Foreign-born (1000) are from Sweden and born in some other EU state (1000) larger than 477?It is not neccessary to use all the tables.
|
SELECT cyclist FROM table_name_90 WHERE nation = "australia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which cyclist is from Australia?It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Original airing = April 19, 2010
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which episodes originally aired on April 19, 2010?.It is not neccessary to use all the tables.
|
SELECT SUM Overall Ranking FROM table WHERE Index = f10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For all events with index f10, what is the sum of the overall rankings?.It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Year = junior AND Home Town = fayetteville, nc
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Name of the Junior from Fayetteville, NC?.It is not neccessary to use all the tables.
|
SELECT name FROM table_name_61 WHERE pick__number = 25 AND overall = 207
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Pick # of 25 and an Overall of 207 has what name?It is not neccessary to use all the tables.
|
SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many men from the Ukraine?It is not neccessary to use all the tables.
|
SELECT No. in series FROM table WHERE Directed by = Win Phelps AND No. in season = 11
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the number in series of the pieces directed by Win Phelps and which number in season is 11?.It is not neccessary to use all the tables.
|
SELECT Sundsvall FROM table WHERE Falun = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What did Sundsvall score when Falun scored 2?.It is not neccessary to use all the tables.
|
SELECT years_in_orlando FROM table_name_54 WHERE player = "bo outlaw"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Years in Orlando has a Player of bo outlaw?It is not neccessary to use all the tables.
|
SELECT AVG Week FROM table WHERE Date = august 10, 1956
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what week was the game on August 10, 1956 played?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-227292')) AND vitalperiodic.respiration > 21.0 AND NOT vitalperiodic.respiration IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
had patient 021-227292 have a respiration greater than 21.0 today?It is not neccessary to use all the tables.
|
SELECT player FROM table_name_49 WHERE place = "t2" AND country = "united states"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player from the United States is in a place of T2?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_63 WHERE date = "mar 10"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Opponent is on mar 10?It is not neccessary to use all the tables.
|
SELECT award FROM table_name_85 WHERE result = "nominated" AND year = 2003
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Award has a Result of nominated and a Year of 2003?It is not neccessary to use all the tables.
|
SELECT MAX PF FROM table WHERE Ends Lost = 51
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest value of PF when Ends Lost is 51?.It is not neccessary to use all the tables.
|
SELECT Id AS "post_link", CreationDate, Title, Tags, Body, AcceptedAnswerId FROM Posts WHERE (Tags LIKE '%java%') OR (Body LIKE '%java%') LIMIT 500
|
CREATE TABLE INST, Here is a database schema( table schema);
|
500 newest posts with 'java' tags.It is not neccessary to use all the tables.
|
SELECT SUM Game FROM table WHERE Opponent = @ chicago stags
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the game when the opponent is @ chicago stags?.It is not neccessary to use all the tables.
|
SELECT assist_pass FROM table_name_31 WHERE goal = "5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Assist/pass has a Goal of 5?It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Event = men's time trial
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Name with an Event that is men's time trial?.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_45 WHERE result = "l" AND date = "15-oct-64"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Result of l and a Date of 15-oct-64 had what score?It is not neccessary to use all the tables.
|
SELECT AVG(fac___lc_apps) FROM table_name_46 WHERE cl_g > 0 AND pl_apps < 33 AND fac___lc_g = 0 AND fa_yc < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average FAC/LC apps with a CL G greater than 0 less than 33 PL apps a FAC/LC G of 0 and less than 2 FA YC?It is not neccessary to use all the tables.
|
SELECT apogee FROM table_name_46 WHERE mission = "maxus 3"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Apogee has a Mission of maxus 3?It is not neccessary to use all the tables.
|
SELECT Year(s) withdrawn FROM table WHERE Wheel arrangement = 4-6-0 AND Year made = 1908
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was the 4-6-0 Wheel model train from 1908 withdrawn?.It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Score = 18.6 (114) - 21.14 (140)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the match with a score of 18.6 (114) - 21.14 (140)?.It is not neccessary to use all the tables.
|
SELECT Born-Died FROM table WHERE Country = italy
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Born-Died date for the Representative of Italy?.It is not neccessary to use all the tables.
|
SELECT Form factor FROM table WHERE Model = precision m50
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the form factor with a model name of precision m50?.It is not neccessary to use all the tables.
|
SELECT COUNT Height FROM table WHERE No = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the height for player number 5?.It is not neccessary to use all the tables.
|
SELECT MIN("Attendance") FROM table_39102 WHERE "Week" = '2'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the lowest Attendance for a Week of 2?It is not neccessary to use all the tables.
|
SELECT Completions FROM table WHERE Team = iowa AND Yards = 45
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the number of completions for James Vanderberg on Iowa when his yards were 45?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Type = plain stage
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the date which has type of plain stage.It is not neccessary to use all the tables.
|
SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id = T2.f_id ORDER BY T2.duration LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the artist who produced the shortest song?It is not neccessary to use all the tables.
|
SELECT COUNT Crowd FROM table WHERE Home team = fitzroy
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance when Fitzroy played as home team?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_57 WHERE position = "cornerback"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What player is a cornerback?It is not neccessary to use all the tables.
|
SELECT pos FROM table_name_79 WHERE team = "racing organisation course"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the position of the Racing Organisation Course team?It is not neccessary to use all the tables.
|
SELECT home FROM table_name_61 WHERE visitor = "ottawa senators" AND score = "1–5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which home team had a visitor of Ottawa Senators with a score of 1–5?It is not neccessary to use all the tables.
|
SELECT Mascot FROM table WHERE County = 78 switzerland
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who is the mascot of the county 78 switzerland?.It is not neccessary to use all the tables.
|
SELECT stadium FROM table_10647401_1 WHERE week = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In which stadium is the week 5 game played?It is not neccessary to use all the tables.
|
SELECT MIN Year(s) FROM table WHERE Season = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the earliest with 4 seasons?.It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Qual 2 = 1:01.936
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team has a second qualification time of 1:01.936?.It is not neccessary to use all the tables.
|
SELECT Livery FROM table WHERE Number = 31468
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Livery when the Number is 31468?.It is not neccessary to use all the tables.
|
SELECT MAX(population) FROM table_name_16 WHERE state = "puerto rico" AND total_congregations > 41
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Population when State is Puerto Rico and when Total Congregations is greater than 41?It is not neccessary to use all the tables.
|
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 86786) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'creatinine') AND STRFTIME('%y-%m', labevents.charttime) <= '2105-11' ORDER BY labevents.valuenum, labevents.charttime DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when did patient 86786 have the minimum value of creatinine last until 11/2105?It is not neccessary to use all the tables.
|
SELECT MIN L FROM table WHERE GA = 272
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the minimum L if the GA is 272?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Opponent = expos AND Date = september 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score of the game on September 13 when the Expos were the opponent?.It is not neccessary to use all the tables.
|
SELECT name FROM table_name_44 WHERE best = "1:15.673"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Name, when Best is 1:15.673?It is not neccessary to use all the tables.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.