question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis"
WHAT SCORE HAS A TIME OF 18:27?
CREATE TABLE table_name_95 (score VARCHAR, time VARCHAR)
SELECT score FROM table_name_95 WHERE time = "18:27"
What was the reason for change when the successor was William Milnes, Jr. (C)?
CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR)
SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)"
Find the average life expectancy and total population for each continent where the average life expectancy is shorter than 72?
CREATE TABLE country (Continent VARCHAR, Population INTEGER, LifeExpectancy INTEGER)
SELECT SUM(Population), AVG(LifeExpectancy), Continent FROM country GROUP BY Continent HAVING AVG(LifeExpectancy) < 72
On what date was the venue at Brisbane Cricket Ground?
CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_23 WHERE venue = "brisbane cricket ground"
What December is 8.77 in January
CREATE TABLE table_15945862_1 (december VARCHAR, january VARCHAR)
SELECT december FROM table_15945862_1 WHERE january = "8.77"
Which Game is the lowest one that has a Record of 11-4?
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_30 WHERE record = "11-4"
which attendance has a Loss of drese (0-2)?
CREATE TABLE table_name_24 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_24 WHERE loss = "drese (0-2)"
Which year has the Co-singer solo and a Film name of bhagya debata?
CREATE TABLE table_name_87 (year INTEGER, co_singer VARCHAR, film_name VARCHAR)
SELECT MIN(year) FROM table_name_87 WHERE co_singer = "solo" AND film_name = "bhagya debata"
What was the date of the friendly match, ending in a result of 1-1?
CREATE TABLE table_name_30 (date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "1-1"
Name the away team score for geelong away team
CREATE TABLE table_name_25 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong"
what is the episode # for production code 227
CREATE TABLE table_10269427_3 (episode__number VARCHAR, production_code VARCHAR)
SELECT episode__number FROM table_10269427_3 WHERE production_code = 227
When the Venue was mcg what was the sum of all Crowds for that venue?
CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg"
Who was the driver that had all rounds and a f399 chassis?
CREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_53 WHERE rounds = "all" AND chassis = "f399"
What is the hometown of Bubba Starling?
CREATE TABLE table_11677100_17 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_11677100_17 WHERE player = "Bubba Starling"
Who is the winner who attended college at Connecticut and is from North Syracuse, NY?
CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)
SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
Name the landesliga mitte sv türk gücü münchen
CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, bayernliga VARCHAR)
SELECT landesliga_mitte FROM table_20181270_3 WHERE bayernliga = "SV Türk Gücü München"
How many laps for a grid of over 18 and retired due to electrical failure?
CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
What is the sum of the total of the player who won in 1979?
CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979"
What is the Australian National Kennel Council Toy Dogs Group with papillon as the Kennel Club breed?
CREATE TABLE table_name_98 (australian_national_kennel_council_toy_dogs_group VARCHAR, the_kennel_club__uk__toy_group VARCHAR)
SELECT australian_national_kennel_council_toy_dogs_group FROM table_name_98 WHERE the_kennel_club__uk__toy_group = "papillon"
Which Tournament has a Margin of victory of 1 stroke, and a Date of oct 7, 1990?
CREATE TABLE table_name_39 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_39 WHERE margin_of_victory = "1 stroke" AND date = "oct 7, 1990"
Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514?
CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR)
SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514"
Which Start has a 0 Conv, 0 Pens and 8 Tries?
CREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR)
SELECT start FROM table_name_54 WHERE conv = "0" AND pens = "0" AND tries = "8"
Who has an overall greater than 414 with a pick# bigger than 9?
CREATE TABLE table_name_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR)
SELECT name FROM table_name_81 WHERE overall > 414 AND pick__number > 9
What was the name of the host team dated December 16?
CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_39 WHERE date = "december 16"
Name the record for december 6
CREATE TABLE table_17058151_6 (record VARCHAR, date VARCHAR)
SELECT record FROM table_17058151_6 WHERE date = "December 6"
List each owner's first name, last name, and the size of his for her dog.
CREATE TABLE Owners (first_name VARCHAR, last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (size_code VARCHAR, owner_id VARCHAR)
SELECT T1.first_name, T1.last_name, T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id
What type of photos of Angelina Jolie cost $500,000?
CREATE TABLE table_name_21 (type VARCHAR, reported_price VARCHAR, person_s_ VARCHAR)
SELECT type FROM table_name_21 WHERE reported_price = "$500,000" AND person_s_ = "angelina jolie"
What is the result of the game at three rivers stadium with a Record of 6–3?
CREATE TABLE table_name_20 (result VARCHAR, location VARCHAR, record VARCHAR)
SELECT result FROM table_name_20 WHERE location = "three rivers stadium" AND record = "6–3"
What is the resident state for the president elected in 1864?
CREATE TABLE table_name_83 (resident_state VARCHAR, election_year VARCHAR)
SELECT resident_state FROM table_name_83 WHERE election_year = 1864
When the total points are 22 how many total touchdowns have been made?
CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR)
SELECT touchdowns FROM table_14342592_5 WHERE points = 22
What was the percentage in 2011 of the province that had 2.4% population in 2001?
CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, _percentage_2001 VARCHAR)
SELECT _percentage_2011 FROM table_1717824_1 WHERE _percentage_2001 = "2.4%"
How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4?
CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR)
SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 4
In the film Mrs. Miniver, what is the actresses name?
CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Mrs. Miniver"
Who was the democratic candidate when the republican was frank wolf?
CREATE TABLE table_17503169_1 (democratic VARCHAR, republican VARCHAR)
SELECT democratic FROM table_17503169_1 WHERE republican = "Frank Wolf"
WHAT IS THE 2009 PERFORMANCE WITH A 2012 OF 2R, 2001 OF 1R, 2007 OF A, AND 2008 OF A?
CREATE TABLE table_name_77 (Id VARCHAR)
SELECT 2009 FROM table_name_77 WHERE 2012 = "2r" AND 2011 = "1r" AND 2007 = "a" AND 2008 = "a"
What were Gentleman's odds of winner?
CREATE TABLE table_21676617_1 (odds_of_winner VARCHAR, horse VARCHAR)
SELECT odds_of_winner FROM table_21676617_1 WHERE horse = "Gentleman"
What is Notes, when Year is "2010"?
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_96 WHERE year = 2010
How many results finished in a loss?
CREATE TABLE table_20745444_1 (tar_heels_points VARCHAR, result VARCHAR)
SELECT COUNT(tar_heels_points) FROM table_20745444_1 WHERE result = "Loss"
When did a Competition of friendly, and a Score of 2–1, and a Venue of philadelphia , pennsylvania occur?
CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)
SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2–1" AND venue = "philadelphia , pennsylvania"
Who was on the Socialist Labor ticket that had Arthur Levitt as the Liberal Ticket?
CREATE TABLE table_name_60 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
SELECT socialist_labor_ticket FROM table_name_60 WHERE liberal_ticket = "arthur levitt"
How many u.s. viewers (million) have the production code of 5.09?
CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__million_ FROM table_19229713_6 WHERE production_code = "5.09"
What is the most gold medals a team with less than 2 silvers, more than 7 total medals, and less than 8 bronze medals has?
CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_19 WHERE silver < 2 AND total > 7 AND bronze < 8
What is the venue of the match with a 14:30 time and sun source as the away team?
CREATE TABLE table_name_67 (venue VARCHAR, time VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_67 WHERE time = "14:30" AND away_team = "sun source"
who directed the production code 2t5710?
CREATE TABLE table_21726793_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_21726793_1 WHERE production_code = "2T5710"
Which 2009 tournament had Grand Slams?
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT tournament FROM table_name_58 WHERE 2009 = "grand slams"
Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front
CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
What is the poor law union of the Kilmaloda townland?
CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Kilmaloda"
Name the Total of jeff sluman?
CREATE TABLE table_name_76 (total INTEGER, player VARCHAR)
SELECT AVG(total) FROM table_name_76 WHERE player = "jeff sluman"
Who won the mens doubles when wang hao won the mens singles?
CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_28138035_26 WHERE mens_singles = "Wang Hao"
What is the child sex ration for the population with 37.7% work participation?
CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%"
WHAT IS THE GAME ON SEPTEMBER 13?
CREATE TABLE table_name_23 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_23 WHERE date = "september 13"
how many winners were in round 8
CREATE TABLE table_15511178_3 (winning_driver VARCHAR, rd VARCHAR)
SELECT COUNT(winning_driver) FROM table_15511178_3 WHERE rd = 8
Who was the home team when swansea city was the away team?
CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_47 WHERE away_team = "swansea city"
How many maximum points did Curtis scored?
CREATE TABLE table_25711913_2 (points INTEGER, player VARCHAR)
SELECT MAX(points) FROM table_25711913_2 WHERE player = "Curtis"
Which school was in Toronto in 2001-02?
CREATE TABLE table_10015132_14 (school_club_team VARCHAR, years_in_toronto VARCHAR)
SELECT school_club_team FROM table_10015132_14 WHERE years_in_toronto = "2001-02"
Which Competition has a Result of 3–1?
CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR)
SELECT competition FROM table_name_54 WHERE result = "3–1"
What is the population density of the administrative division with a population in 2010 of 264170 according to the census?
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR)
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170
What is the primary conference that was founded before 1866 and has an affiliation of private/catholic?
CREATE TABLE table_name_58 (primary_conference VARCHAR, founded VARCHAR, affiliation VARCHAR)
SELECT primary_conference FROM table_name_58 WHERE founded < 1866 AND affiliation = "private/catholic"
Which city or state contains Calder Park Raceway?
CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR)
SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway"
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"
how many times is the chassis brabham bt33?
CREATE TABLE table_name_79 (year VARCHAR, chassis VARCHAR)
SELECT COUNT(year) FROM table_name_79 WHERE chassis = "brabham bt33"
What is the date of the 4 strokes margin of victory?
CREATE TABLE table_name_49 (date VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_49 WHERE margin_of_victory = "4 strokes"
What was the score on September 20?
CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_23601267_2 WHERE date = "September 20"
Name the cardinal points for 19-4 record
CREATE TABLE table_23192661_3 (cardinal_points INTEGER, record VARCHAR)
SELECT MIN(cardinal_points) FROM table_23192661_3 WHERE record = "19-4"
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)
SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay"
What record was set when the result/game was montreal 20 @ ottawa 10?
CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 10"
In how many games were the high rebounds made by Derrick Favors (8)?
CREATE TABLE table_27700375_6 (game VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(game) FROM table_27700375_6 WHERE high_rebounds = "Derrick Favors (8)"
What is the number against when losses are smaller than 3, and wins arelarger than 16?
CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16
What's the highest week for the day of October 21, 1956?
CREATE TABLE table_name_66 (week INTEGER, date VARCHAR)
SELECT MAX(week) FROM table_name_66 WHERE date = "october 21, 1956"
Find courses that ran in Fall 2009 or in Spring 2010.
CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 UNION SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010
What is the score of Colorado when they were a visitor and had a Smith decision?
CREATE TABLE table_name_32 (score VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_32 WHERE decision = "smith" AND visitor = "colorado"
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?
CREATE TABLE table_name_34 (bronze VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_34 WHERE gold < 2 AND nation = "uganda" AND total > 2
What Record has an Opponent of vs washington wizards?
CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards"
How did Cleveland do in the regular season in 2006?
CREATE TABLE table_2357201_1 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_2357201_1 WHERE year = 2006
Who is the champion of the 1994 season?
CREATE TABLE table_2527617_1 (champion VARCHAR, season VARCHAR)
SELECT champion FROM table_2527617_1 WHERE season = 1994
In what round was a left wing drafted?
CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_58 WHERE position = "left wing"
Name the lead with left bloc of 8.4%
CREATE TABLE table_name_25 (lead VARCHAR, left_bloc VARCHAR)
SELECT lead FROM table_name_25 WHERE left_bloc = "8.4%"
What is the played average that has botev plovdiv as the club and wins larger than 11?
CREATE TABLE table_name_43 (played INTEGER, club VARCHAR, wins VARCHAR)
SELECT AVG(played) FROM table_name_43 WHERE club = "botev plovdiv" AND wins > 11
What was the attendance of the Hawthorn as the away team?
CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "hawthorn"
what is the goals when the country is wal, the name is smith and apps is more than 0?
CREATE TABLE table_name_83 (goals INTEGER, apps VARCHAR, country VARCHAR, name VARCHAR)
SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0
When was the latest debut in Europe for Henrik Larsson, with less than 108 games?
CREATE TABLE table_name_57 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR)
SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108
What city was in 1889?
CREATE TABLE table_name_97 (city VARCHAR, year VARCHAR)
SELECT city FROM table_name_97 WHERE year = 1889
What is the Place that has a Date of 22 august 2004?
CREATE TABLE table_name_92 (place VARCHAR, date VARCHAR)
SELECT place FROM table_name_92 WHERE date = "22 august 2004"
What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?
CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR)
SELECT duration FROM table_10416547_1 WHERE major_instrument_s_ = "Piano" AND date = "2004-02-03"
What is the ISIN that has a coupon of 1.02 and a value issued of 447,000,000?
CREATE TABLE table_21692771_1 (isin VARCHAR, coupon VARCHAR, amount_issued_ VARCHAR, € VARCHAR)
SELECT isin FROM table_21692771_1 WHERE coupon = "1.02" AND amount_issued_[€] = "447,000,000"
What year had less than 160 laps and a rank of 26?
CREATE TABLE table_name_25 (year VARCHAR, laps VARCHAR, rank VARCHAR)
SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "26"
How much March has Points of 85?
CREATE TABLE table_name_24 (march VARCHAR, points VARCHAR)
SELECT COUNT(march) FROM table_name_24 WHERE points = 85
Name the manager for playoffs of missed for 1999
CREATE TABLE table_name_45 (manager VARCHAR, playoffs VARCHAR, year VARCHAR)
SELECT manager FROM table_name_45 WHERE playoffs = "missed" AND year = "1999"
Name the colorado when alaska is connecticut
CREATE TABLE table_17425749_1 (colorado VARCHAR, alaska VARCHAR)
SELECT colorado FROM table_17425749_1 WHERE alaska = "Connecticut"
Which Week has an Opponent of san francisco 49ers?
CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers"
What country did the project, Bonga SW; Aparo with a shell operator take place?
CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR)
SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo"
Which Nation has a Record of 15.16 m?
CREATE TABLE table_name_84 (nation VARCHAR, record VARCHAR)
SELECT nation FROM table_name_84 WHERE record = "15.16 m"
what is team 1 when team 2 is gazélec ajaccio (d3)?
CREATE TABLE table_name_6 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_6 WHERE team_2 = "gazélec ajaccio (d3)"
Tell me the lowest avg for 6 yards and rec more than 1
CREATE TABLE table_name_16 (avg INTEGER, yards VARCHAR, rec VARCHAR)
SELECT MIN(avg) FROM table_name_16 WHERE yards = 6 AND rec > 1
List ids and details for all projects.
CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)
SELECT project_id, project_details FROM Projects
What is the highest Bronze, when Nation is "South Africa", and when Total is less than 20?
CREATE TABLE table_name_73 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_73 WHERE nation = "south africa" AND total < 20
What is the average crowd attendance for Collingwood?
CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_92 WHERE home_team = "collingwood"
What were the LOA metres for the yacht ichi ban?
CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, yacht VARCHAR)
SELECT loa__metres_ FROM table_25594271_2 WHERE yacht = "Ichi Ban"
What is the highest goals for that has a drawn less than 11, with a played less than 42?
CREATE TABLE table_name_54 (goals_for INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MAX(goals_for) FROM table_name_54 WHERE drawn < 11 AND played < 42