sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT MAX(rank) FROM table_name_75 WHERE nationality = "netherlands"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest place of a swimmer from the Netherlands?It is not neccessary to use all the tables.
SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008"
CREATE TABLE INST, Here is a database schema( table schema);
Which Week has an Air Date of august 30 2008?It is not neccessary to use all the tables.
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22120) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.item...
CREATE TABLE INST, Here is a database schema( table schema);
is the value of the arterial bp mean of patient 22120 second measured on the first icu visit greater than first measured on the first icu visit?It is not neccessary to use all the tables.
SELECT MIN(points) FROM table_name_43 WHERE driver = "alex sperafico" AND grid > 17
CREATE TABLE INST, Here is a database schema( table schema);
HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17?It is not neccessary to use all the tables.
SELECT AVG(ranking) FROM table_name_53 WHERE nationality = "saudi arabia" AND years = "2000–"
CREATE TABLE INST, Here is a database schema( table schema);
What was the average ranking of Saudi Arabia in the years of 2000–?It is not neccessary to use all the tables.
SELECT democratic_ticket FROM table_name_68 WHERE office = "u.s. senator"
CREATE TABLE INST, Here is a database schema( table schema);
The person who is on the Democratic ticket for the position of Office of U.S. Senator was who?It is not neccessary to use all the tables.
SELECT Visitor FROM table WHERE Date = january 12
CREATE TABLE INST, Here is a database schema( table schema);
on january 12 who was the visitor?.It is not neccessary to use all the tables.
SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ = "$71,479"
CREATE TABLE INST, Here is a database schema( table schema);
How many locations have a median household income in 2011 of $71479?It is not neccessary to use all the tables.
SELECT Song FROM table WHERE Points < 16 AND Draw < 3
CREATE TABLE INST, Here is a database schema( table schema);
Name the song for points less than 16 and draw less than 3.It is not neccessary to use all the tables.
SELECT date_aired FROM table_name_90 WHERE network = "rtl televizija"
CREATE TABLE INST, Here is a database schema( table schema);
Which date was the show aired on the RTL Televizija network?It is not neccessary to use all the tables.
SELECT Date of appointment FROM table WHERE Position in table = 21st
CREATE TABLE INST, Here is a database schema( table schema);
When was the new manager of the team on 21st position appointed?.It is not neccessary to use all the tables.
SELECT Start FROM table WHERE Qual = 84.300
CREATE TABLE INST, Here is a database schema( table schema);
What was the start of the competitor with a qualifying time of 84.300?.It is not neccessary to use all the tables.
SELECT MAX(total) FROM table_1161065_27 WHERE team = "Port Adelaide"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total of port adelaideIt is not neccessary to use all the tables.
SELECT COUNT("District") FROM table_23822 WHERE "Population (May 1, 2010)" = '478'
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of district for population may being 478It is not neccessary to use all the tables.
SELECT 2002 FROM table WHERE 2007 = 8–4
CREATE TABLE INST, Here is a database schema( table schema);
2007 of 8–4 is involved in what 2002?.It is not neccessary to use all the tables.
SELECT away_team FROM table_name_99 WHERE home_team = "south melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
Who was away team at the home game of south melbourne?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Opponent = essendon AND Player = steven clark
CREATE TABLE INST, Here is a database schema( table schema);
Which score had Essendon as an opponent and Steven Clark as a player?.It is not neccessary to use all the tables.
SELECT MAX(hull_numbers) FROM table_12232526_2 WHERE ship_name = "KRI Yos Sudarso"
CREATE TABLE INST, Here is a database schema( table schema);
what is the maximum number of hull nunbers where ship name is kri yos sudarso?It is not neccessary to use all the tables.
SELECT date FROM table_name_38 WHERE ownership = "historic scotland"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date of the castle with a Historic Scotland Ownership?It is not neccessary to use all the tables.
SELECT AVG Points FROM table WHERE Goal Difference < 17 AND Club = getafe cf AND Goals for > 30
CREATE TABLE INST, Here is a database schema( table schema);
what is the average points when the goal difference is less than 17, the club is getafe cf and the goals for is more than 30?.It is not neccessary to use all the tables.
SELECT falcons_points FROM table_16710971_2 WHERE record = "4-4"
CREATE TABLE INST, Here is a database schema( table schema);
How many points did the Falcons score when the record was 4-4?It is not neccessary to use all the tables.
SELECT AVG Opened FROM table WHERE Line name = line e AND Last extension < 2003
CREATE TABLE INST, Here is a database schema( table schema);
What is the average opened year of line e, which had their last extension before 2003?.It is not neccessary to use all the tables.
SELECT 2nd Party FROM table WHERE 1st Member = william denison AND Election = 1835
CREATE TABLE INST, Here is a database schema( table schema);
Which party with an 1835 election has 1st member William Denison?.It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Stadium = Westpac Stadium
CREATE TABLE INST, Here is a database schema( table schema);
Where is Westpac Stadium located? .It is not neccessary to use all the tables.
SELECT COUNT(earnings__) AS €_ FROM table_28540609_2 WHERE best_finish = "T38"
CREATE TABLE INST, Here is a database schema( table schema);
How many earnings values are associated with players who had a best finish of T38?It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Away team = geelong
CREATE TABLE INST, Here is a database schema( table schema);
Which home team played against Geelong?.It is not neccessary to use all the tables.
SELECT Away FROM table WHERE Home = 1-4
CREATE TABLE INST, Here is a database schema( table schema);
What away has 1-4 as the home?.It is not neccessary to use all the tables.
SELECT MAX(february) FROM table_27539535_7 WHERE record = "17-29-7"
CREATE TABLE INST, Here is a database schema( table schema);
What day in February was the team 17-29-7?It is not neccessary to use all the tables.
SELECT MIN Closed (as a RL stadium) FROM table WHERE Country = france
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest closed year in the country of france?.It is not neccessary to use all the tables.
SELECT Users.Id AS "user_link", SUM(ViewCount) AS TotalViews FROM Posts INNER JOIN Users ON Users.Id = Posts.OwnerUserId WHERE PostTypeId = 1 GROUP BY Users.Id ORDER BY TotalViews DESC
CREATE TABLE INST, Here is a database schema( table schema);
Users with highst number of combined Views. Returns the Users with the highest number of total views for their questionsIt is not neccessary to use all the tables.
SELECT Livery FROM table WHERE Serial No = 83-1011
CREATE TABLE INST, Here is a database schema( table schema);
What is the livery on the locomotive with a serial number 83-1011?.It is not neccessary to use all the tables.
SELECT COUNT AS ↓_function___genus_→ FROM table_10321124_1 WHERE escherichia = "EspD"
CREATE TABLE INST, Here is a database schema( table schema);
how many ↓ function / genus → with escherichia being espdIt is not neccessary to use all the tables.
SELECT SUM(bonus) FROM evaluation
CREATE TABLE INST, Here is a database schema( table schema);
What is total bonus given in all evaluations?It is not neccessary to use all the tables.
SELECT Superintendent FROM table WHERE Middle School Principal = Alan Degroote AND Gorham Principal = Paul Lahue AND Year = 2006-2007
CREATE TABLE INST, Here is a database schema( table schema);
Who were the superintendent(s) when the middle school principal was alan degroote, the gorham principal was paul lahue, and the year was 2006-2007?.It is not neccessary to use all the tables.
SELECT "Acquisition via" FROM table_42620 WHERE "Position" = 'forward' AND "School/Club Team" = 'manuel luis quezon'
CREATE TABLE INST, Here is a database schema( table schema);
How did the School/Club Team of Manuel Luis Quezon acquire their Forward?It is not neccessary to use all the tables.
SELECT COUNT(dismissals) FROM table_24039597_26 WHERE matches = 44
CREATE TABLE INST, Here is a database schema( table schema);
How many matches were 44?It is not neccessary to use all the tables.
SELECT Parliament FROM table WHERE General election contested = 1997
CREATE TABLE INST, Here is a database schema( table schema);
What number parliament held it's election in 1997?.It is not neccessary to use all the tables.
SELECT director FROM table_26555737_1 WHERE result = "Nominee"
CREATE TABLE INST, Here is a database schema( table schema);
When nominee is the result who is the director?It is not neccessary to use all the tables.
SELECT "Teams' Champion" FROM table_5293 WHERE "Winter Series Champion" = 'not held' AND "Secondary Class" = 'matt rao'
CREATE TABLE INST, Here is a database schema( table schema);
What team's champion has a secondary class of Matt Rao for a Winter Series Champion of Not Held?It is not neccessary to use all the tables.
SELECT Regular Season FROM table WHERE Year = 2012
CREATE TABLE INST, Here is a database schema( table schema);
What was the regular season for 2012?.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Years when the LLWS is 4th place and when the City is Westport?It is not neccessary to use all the tables.
SELECT Mixed doubles FROM table WHERE Season = 2002
CREATE TABLE INST, Here is a database schema( table schema);
Who won mixed doubles in the 2002 season?.It is not neccessary to use all the tables.
SELECT SUM(wins) FROM table_name_19 WHERE draws < 2
CREATE TABLE INST, Here is a database schema( table schema);
How many wins happened when there were fewer than 2 draws?It is not neccessary to use all the tables.
SELECT "Title" FROM table_69088 WHERE "Year" > '1986' AND "Format(s)" = 'album'
CREATE TABLE INST, Here is a database schema( table schema);
Which title has a year later than 1986 with an album as the format?It is not neccessary to use all the tables.
SELECT Prize money ( $ ) FROM table WHERE Rank < 7 AND Events > 6 AND Country = fiji
CREATE TABLE INST, Here is a database schema( table schema);
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?.It is not neccessary to use all the tables.
SELECT AVG Wins FROM table WHERE Team = runcorn highfield AND Draws > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of wins for Runcorn Highfield with more than 0 draws?.It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Tournament = carthage AND Date = august 14, 1994
CREATE TABLE INST, Here is a database schema( table schema);
What type of surface was used for the carthage tournament on august 14, 1994?.It is not neccessary to use all the tables.
SELECT SUM Laps FROM table WHERE Manufacturer = aprilia AND Rider = jorge lorenzo AND Grid > 1
CREATE TABLE INST, Here is a database schema( table schema);
How many laps by Jorge Lorenzo on the Aprilia with a grid bigger than 1?.It is not neccessary to use all the tables.
SELECT finish FROM table_name_54 WHERE total > 289 AND year_s__won = "1979"
CREATE TABLE INST, Here is a database schema( table schema);
What finish has a total of more than 289 and won in 1979?It is not neccessary to use all the tables.
SELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = "big south (ncaa division i)"
CREATE TABLE INST, Here is a database schema( table schema);
What joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT card_type_code) FROM Customers_Cards
CREATE TABLE INST, Here is a database schema( table schema);
Show the number of card types.It is not neccessary to use all the tables.
SELECT City FROM table WHERE Plant Hardiness Zone = 2b AND January = −12/−23°c (10/-9°f)
CREATE TABLE INST, Here is a database schema( table schema);
In what city is the plant hardiness zone 2B and January temp is −12/−23°c (10/-9°f)?.It is not neccessary to use all the tables.
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*)
CREATE TABLE INST, Here is a database schema( table schema);
What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor, and could you display Y in asc order?It is not neccessary to use all the tables.
SELECT year FROM table_name_25 WHERE type = "grand prix" AND engine = "i8" AND displacement_cc = "1500"
CREATE TABLE INST, Here is a database schema( table schema);
What year was the Grand Prix with an i8 engine and a cc displacement of 1500?It is not neccessary to use all the tables.
SELECT Japanese translation FROM table WHERE Japanese title = 七色アーチ
CREATE TABLE INST, Here is a database schema( table schema);
When 七色アーチ is the japanese title what is the japanese translation?.It is not neccessary to use all the tables.
SELECT time FROM table_name_42 WHERE rank > 3 AND rider = "brian finch"
CREATE TABLE INST, Here is a database schema( table schema);
What is the time value for the rider Brian Finch and a rank greater than 3?It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Song = 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你
CREATE TABLE INST, Here is a database schema( table schema);
What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你?.It is not neccessary to use all the tables.
SELECT date FROM table_name_58 WHERE opponent = "siena" AND ground = "home"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the game played at home against the opponent Siena?It is not neccessary to use all the tables.
SELECT date_of_vacancy FROM table_17275810_7 WHERE replaced_by = "Fabio Brini"
CREATE TABLE INST, Here is a database schema( table schema);
Name the date of vacancy for fabio briniIt is not neccessary to use all the tables.
SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) = 2 INTERSECT SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) < 2
CREATE TABLE INST, Here is a database schema( table schema);
Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail.It is not neccessary to use all the tables.
SELECT Vermont FROM table WHERE 95.8% = 60.6%
CREATE TABLE INST, Here is a database schema( table schema);
Name the vermont for where 95.8% is 60.6%.It is not neccessary to use all the tables.
SELECT MAX Seat FROM table WHERE Season 6 = kevin o'leary
CREATE TABLE INST, Here is a database schema( table schema);
Which Seat has a Season 6 of kevin o'leary?.It is not neccessary to use all the tables.
SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258"
CREATE TABLE INST, Here is a database schema( table schema);
where catalog number is 81258 , what are all the studio ?It is not neccessary to use all the tables.
SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm"
CREATE TABLE INST, Here is a database schema( table schema);
Which gender is associated with University students and adults of 25mm?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = Chicago Bears
CREATE TABLE INST, Here is a database schema( table schema);
what date is the opponent is chicago bears?.It is not neccessary to use all the tables.
SELECT nba_draft FROM table_11677760_31 WHERE college = "Kentucky"
CREATE TABLE INST, Here is a database schema( table schema);
Name the numbers of the nba draft where the player went to kentuckyIt is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Home team = collingwood
CREATE TABLE INST, Here is a database schema( table schema);
What was the away team at collingwood?.It is not neccessary to use all the tables.
SELECT score FROM table_name_26 WHERE home = "cleveland" AND visitor = "orlando"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the game played between Cleveland and Orlando at Cleveland?It is not neccessary to use all the tables.
SELECT AVG(l_100km_urban__cold_) FROM table_name_97 WHERE l_100km_extra_urban < 7.2 AND mpg_uk_combined < 39.8 AND l_100km_combined > 7.9 AND mpg_us_combined < 25.1
CREATE TABLE INST, Here is a database schema( table schema);
What is the average L/100km urban value having an L/100km extraurban under 7.2 mpg combined in the UK under 39.8 l/100km combined over 7.9 and mpg combined in the US under 25.1?It is not neccessary to use all the tables.
SELECT College FROM table WHERE CFL Team = hamilton tiger-cats
CREATE TABLE INST, Here is a database schema( table schema);
Which college's cfl team is the hamilton tiger-cats?.It is not neccessary to use all the tables.
SELECT 1st leg FROM table WHERE Team 1 = us mbila nzambi
CREATE TABLE INST, Here is a database schema( table schema);
What is the 1st leg score when US Mbila Nzambi is team 1?.It is not neccessary to use all the tables.
SELECT MIN(draws) FROM table_name_17 WHERE scored < 25 AND points = 20 AND position > 8
CREATE TABLE INST, Here is a database schema( table schema);
Out of the teams that have scored lower than 25 points have a total of points less than 20 and a position larger than 8 which has the lowest amount of draws?It is not neccessary to use all the tables.
SELECT 2nd Member FROM table WHERE 2nd Party = conservative AND Election = 1853 by-election
CREATE TABLE INST, Here is a database schema( table schema);
What 2nd Member has a 2nd Party of conservative, and an Election of 1853 by-election?.It is not neccessary to use all the tables.
SELECT record FROM table_name_70 WHERE attendance = "21,629"
CREATE TABLE INST, Here is a database schema( table schema);
what game had an attendance of 21629It is not neccessary to use all the tables.
SELECT leading_scorer_1 FROM table_name_8 WHERE season = "2010–11"
CREATE TABLE INST, Here is a database schema( table schema);
Which Leading scorer 1 has a Season of 2010–11?It is not neccessary to use all the tables.
SELECT written_by FROM table_28760804_1 WHERE us_viewers__million_ = "5.95"
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode that got 5.95 million U.S. viewers?It is not neccessary to use all the tables.
SELECT AVG destroyed FROM table WHERE 1990 > 12 AND damaged > 1 AND to Iran < 4 AND survived = 6
CREATE TABLE INST, Here is a database schema( table schema);
What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = march 14
CREATE TABLE INST, Here is a database schema( table schema);
What was the record on March 14?.It is not neccessary to use all the tables.
SELECT Irish name FROM table WHERE £1 Fraction = 1/240
CREATE TABLE INST, Here is a database schema( table schema);
What is the Irish name for the £1 fraction of 1/240?.It is not neccessary to use all the tables.
SELECT Goals Against Avg. FROM table WHERE Overall Record = 9-10-9
CREATE TABLE INST, Here is a database schema( table schema);
The Kansas City Wizards had a 9-10-9 record and what goals against avg? .It is not neccessary to use all the tables.
SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Which building does the instructor who teaches the most number of courses live in?It is not neccessary to use all the tables.
SELECT MIN(capacity) FROM table_11208143_9 WHERE team = "Dundee United"
CREATE TABLE INST, Here is a database schema( table schema);
What is the minimum capacity of Dundee United's stadium?It is not neccessary to use all the tables.
SELECT COUNT Silver FROM table WHERE Bronze = 0 AND Nation = united kingdom
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of silver medals when there are 0 Bronze medals, and the nation is the United Kingdom?.It is not neccessary to use all the tables.
SELECT Share of votes FROM table WHERE Number of NDC votes = 3,567,021
CREATE TABLE INST, Here is a database schema( table schema);
What is the share of votes with 3,567,021 NDC votes?.It is not neccessary to use all the tables.
SELECT Locomotive superintendent FROM table WHERE LNER class = d45
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Locomotive superintendent has a NER class of d45?.It is not neccessary to use all the tables.
SELECT Catalog FROM table WHERE Country = japan
CREATE TABLE INST, Here is a database schema( table schema);
Which Catalog has a Country of Japan?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Record = 21-25-7-4
CREATE TABLE INST, Here is a database schema( table schema);
What score has a record of 21-25-7-4?.It is not neccessary to use all the tables.
SELECT COUNT(stroke_count) FROM table_name_57 WHERE radical__variants_ = "生" AND frequency < 22
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE STROKE COUNT WITH RADICAL OF 生 FRQUENCY SMALLER THAN 22?It is not neccessary to use all the tables.
SELECT COUNT School FROM table WHERE Hometown = Akron, Ohio
CREATE TABLE INST, Here is a database schema( table schema);
How many players' hometown was Akron, Ohio?.It is not neccessary to use all the tables.
SELECT player FROM table_name_94 WHERE year_s__won = "2003"
CREATE TABLE INST, Here is a database schema( table schema);
Player than won in 2003?It is not neccessary to use all the tables.
SELECT week_4 FROM table_name_50 WHERE week_9 = "all housemates"
CREATE TABLE INST, Here is a database schema( table schema);
What kind of Week 4 has a Week 9 of all housemates?It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Rank < 125 AND Time = 00: 56.30
CREATE TABLE INST, Here is a database schema( table schema);
Who has a rank below 125 and time of 00: 56.30?.It is not neccessary to use all the tables.
SELECT SUM(laps) FROM table_name_33 WHERE bike = "honda cbr1000rr" AND time = "+16.569"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of laps of the honda cbr1000rr bike which has a time of +16.569?It is not neccessary to use all the tables.
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Sportsinfo
CREATE TABLE INST, Here is a database schema( table schema);
Show student ids who don't have any sports.It is not neccessary to use all the tables.
SELECT Winner FROM table WHERE Event = $109 No Limit Hold'em w/rebuys [Turbo]
CREATE TABLE INST, Here is a database schema( table schema);
Who won the $109 no limit hold'em w/rebuys [turbo]?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_44 WHERE record = "26-12"
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent has a 26-12 record?It is not neccessary to use all the tables.
SELECT Points FROM table WHERE Lost = Lost
CREATE TABLE INST, Here is a database schema( table schema);
What is the value of the points column when the value of the column lost is "lost".It is not neccessary to use all the tables.
SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE genbank_id = "HQ021437"
CREATE TABLE INST, Here is a database schema( table schema);
What is the 3utr sequence when the genbank id is hq021437?It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Crowd > 15,481 AND Home team score = 20.17 (137)
CREATE TABLE INST, Here is a database schema( table schema);
Which Away team that has a Crowd greater than 15,481, and a Home team score of 20.17 (137)?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Transfer fee = loan AND Name = lynch
CREATE TABLE INST, Here is a database schema( table schema);
What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?.It is not neccessary to use all the tables.