answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT party FROM table_name_33 WHERE district = "tennessee 8"
CREATE TABLE table_name_33 (party VARCHAR, district VARCHAR)
What is Party, when District is "Tennessee 8"?
SELECT COUNT(first_elected) FROM table_name_28 WHERE party = "democratic" AND district = "tennessee 5"
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, district VARCHAR)
What is the total number of First Elected, when Party is "Democratic", and when District is "Tennessee 5"?
SELECT MIN(first_elected) FROM table_name_38 WHERE results = "re-elected" AND incumbent = "lincoln davis"
CREATE TABLE table_name_38 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
What is the lowest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis"
CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
SELECT status FROM table_name_86 WHERE against = 44
CREATE TABLE table_name_86 (status VARCHAR, against VARCHAR)
What is the Status of the 44 Against?
SELECT date FROM table_name_8 WHERE against = 42
CREATE TABLE table_name_8 (date VARCHAR, against VARCHAR)
What is the date of the 42 Against?
SELECT COUNT(total) FROM table_name_24 WHERE player = "seve ballesteros"
CREATE TABLE table_name_24 (total VARCHAR, player VARCHAR)
What is the total number for Seve Ballesteros?
SELECT MIN(to_par) FROM table_name_91 WHERE player = "bob charles"
CREATE TABLE table_name_91 (to_par INTEGER, player VARCHAR)
What is the lowest to par for Bob Charles?
SELECT name FROM table_name_7 WHERE date_of_birth = "1982-01-29"
CREATE TABLE table_name_7 (name VARCHAR, date_of_birth VARCHAR)
Who is born on 1982-01-29?
SELECT pos FROM table_name_52 WHERE date_of_birth = "1976-09-20"
CREATE TABLE table_name_52 (pos VARCHAR, date_of_birth VARCHAR)
What is the position played by the man born on 1976-09-20?
SELECT country FROM table_name_78 WHERE score = 72 - 72 - 72 = 216
CREATE TABLE table_name_78 (country VARCHAR, score VARCHAR)
What country was the golfer with a score of 72-72-72=216 representing?
SELECT division_two FROM table_name_26 WHERE premier_division = "leominster town"
CREATE TABLE table_name_26 (division_two VARCHAR, premier_division VARCHAR)
Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?
SELECT season FROM table_name_63 WHERE division_three = "hampton park rangers"
CREATE TABLE table_name_63 (season VARCHAR, division_three VARCHAR)
Which Season was the Division Three Hampton Park Rangers champions?
SELECT season FROM table_name_92 WHERE division_two = "fownhope reserves"
CREATE TABLE table_name_92 (season VARCHAR, division_two VARCHAR)
Which Season was the Division Two Fownhope Reserves champions?
SELECT division_one FROM table_name_61 WHERE division_two = "hereford lads club colts"
CREATE TABLE table_name_61 (division_one VARCHAR, division_two VARCHAR)
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
SELECT season FROM table_name_24 WHERE premier_division = "ewyas harold" AND division_three = "stoke prior"
CREATE TABLE table_name_24 (season VARCHAR, premier_division VARCHAR, division_three VARCHAR)
Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions?
SELECT engine FROM table_name_85 WHERE output = "ps (kw; hp) @4700 rpm"
CREATE TABLE table_name_85 (engine VARCHAR, output VARCHAR)
What engine has an output of ps (kw; hp) @4700 rpm?
SELECT COUNT(0 AS _100km_h), s FROM table_name_19 WHERE output = "ps (kw; hp) @4000 rpm"
CREATE TABLE table_name_19 (s VARCHAR, output VARCHAR)
What is the 0–100km/h,s for the output of ps (kw; hp) @4000 rpm?
SELECT opposing_teams FROM table_name_83 WHERE date = "08/02/1969"
CREATE TABLE table_name_83 (opposing_teams VARCHAR, date VARCHAR)
Who were the opposing teams on 08/02/1969?
SELECT MAX(against) FROM table_name_19 WHERE date = "12/04/1969"
CREATE TABLE table_name_19 (against INTEGER, date VARCHAR)
What is the highest number against on 12/04/1969?
SELECT venue FROM table_name_33 WHERE against > 8 AND opposing_teams = "ireland"
CREATE TABLE table_name_33 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR)
What is the venue of the match with more than 8 against and ireland as the opposing team?
SELECT place FROM table_name_30 WHERE player = "mark brooks"
CREATE TABLE table_name_30 (place VARCHAR, player VARCHAR)
which Place has a Player of mark brooks?
SELECT place FROM table_name_48 WHERE player = "justin leonard"
CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)
Which Place has a Player of justin leonard?
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138
CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR)
Name the Place which has a Score of 67-71=138, united states?
SELECT player FROM table_name_99 WHERE to_par = "–6"
CREATE TABLE table_name_99 (player VARCHAR, to_par VARCHAR)
Name the Player which has a To par of –6?
SELECT record FROM table_name_15 WHERE week = 11
CREATE TABLE table_name_15 (record VARCHAR, week VARCHAR)
What was their record on week 11?
SELECT opponent FROM table_name_20 WHERE game_site = "atlanta-fulton county stadium"
CREATE TABLE table_name_20 (opponent VARCHAR, game_site VARCHAR)
Who did they play at Atlanta-Fulton County Stadium?
SELECT record FROM table_name_25 WHERE game_site = "riverfront stadium"
CREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)
What was their record when they played at Riverfront Stadium?
SELECT label FROM table_name_41 WHERE english_title = "another she"
CREATE TABLE table_name_41 (label VARCHAR, english_title VARCHAR)
What is Another She's Label?
SELECT label FROM table_name_92 WHERE chinese__simplified_ = "你 朋友"
CREATE TABLE table_name_92 (label VARCHAR, chinese__simplified_ VARCHAR)
What is 你 朋友's Label?
SELECT label FROM table_name_27 WHERE release_date = "december 7, 2012"
CREATE TABLE table_name_27 (label VARCHAR, release_date VARCHAR)
What Label was Released on December 7, 2012?
SELECT english_title FROM table_name_11 WHERE chinese__simplified_ = "你 朋友"
CREATE TABLE table_name_11 (english_title VARCHAR, chinese__simplified_ VARCHAR)
What is 你 朋友's English title?
SELECT release_date FROM table_name_89 WHERE english_title = "your friend"
CREATE TABLE table_name_89 (release_date VARCHAR, english_title VARCHAR)
What is the Release date of the Album Your Friend?
SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND rank = 6
CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR)
What was the runner-up when champion is 0, 4th place is 0 and rank is 6?
SELECT runner_up FROM table_name_12 WHERE rank = 7
CREATE TABLE table_name_12 (runner_up VARCHAR, rank VARCHAR)
What is the runner-up for rank of 7?
SELECT runner_up FROM table_name_51 WHERE total = 5
CREATE TABLE table_name_51 (runner_up VARCHAR, total VARCHAR)
What is the runner-up when the total is 5?
SELECT score FROM table_name_5 WHERE team_2 = "stade lavallois (d1)"
CREATE TABLE table_name_5 (score VARCHAR, team_2 VARCHAR)
What was the score of team 2 Stade Lavallois (D1)?
SELECT displacement_cc FROM table_name_94 WHERE year = "1965"
CREATE TABLE table_name_94 (displacement_cc VARCHAR, year VARCHAR)
What is the CC displacement for 1965?
SELECT year FROM table_name_25 WHERE type = "grand prix" AND engine = "i8" AND displacement_cc = "1500"
CREATE TABLE table_name_25 (year VARCHAR, displacement_cc VARCHAR, type VARCHAR, engine VARCHAR)
What year was the Grand Prix with an i8 engine and a cc displacement of 1500?
SELECT type FROM table_name_11 WHERE model = "6cm"
CREATE TABLE table_name_11 (type VARCHAR, model VARCHAR)
What type of car has the model 6cm?
SELECT displacement_cc FROM table_name_13 WHERE engine = "i6" AND year = "1936"
CREATE TABLE table_name_13 (displacement_cc VARCHAR, engine VARCHAR, year VARCHAR)
What cc displacement has an i6 engine in 1936?
SELECT type FROM table_name_40 WHERE engine = "v16"
CREATE TABLE table_name_40 (type VARCHAR, engine VARCHAR)
What type of car has the v16 engine?
SELECT COUNT(year_s__won) FROM table_name_95 WHERE player = "justin leonard" AND to_par < 9
CREATE TABLE table_name_95 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR)
What is the total number of years won by Justin Leonard with a to par under 9?
SELECT MAX(total) FROM table_name_12 WHERE country = "scotland" AND year_s__won = 1985
CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, year_s__won VARCHAR)
What is the highest total for Scotland with a year won of 1985?
SELECT date__opening_ FROM table_name_47 WHERE opening_film = "another myanmar, mae sot"
CREATE TABLE table_name_47 (date__opening_ VARCHAR, opening_film VARCHAR)
What is Date (Opening), when Opening Film is "Another Myanmar, Mae Sot"?
SELECT date__closing_ FROM table_name_95 WHERE opening_film = "deconstruction of korean housewife"
CREATE TABLE table_name_95 (date__closing_ VARCHAR, opening_film VARCHAR)
What is Date (Closing), when Opening Film is "Deconstruction of Korean Housewife"?
SELECT COUNT(year) FROM table_name_39 WHERE date__opening_ = "september 21"
CREATE TABLE table_name_39 (year VARCHAR, date__opening_ VARCHAR)
What is the total number of Year(s), when Date (Opening) is "September 21"?
SELECT date__opening_ FROM table_name_5 WHERE year < 2010 AND date__closing_ = "september 28"
CREATE TABLE table_name_5 (date__opening_ VARCHAR, year VARCHAR, date__closing_ VARCHAR)
What is Date (Opening), when Year is less than 2010, and when Date (Closing) is "September 28"?
SELECT date__closing_ FROM table_name_83 WHERE year > 2011
CREATE TABLE table_name_83 (date__closing_ VARCHAR, year INTEGER)
What is Date (Closing), when Year is greater than 2011?
SELECT COUNT(earnings_per_share__) AS ¢_ FROM table_name_38 WHERE net_profit__us_$m_ > 66 AND year_to_april < 2010
CREATE TABLE table_name_38 (earnings_per_share__ VARCHAR, net_profit__us_$m_ VARCHAR, year_to_april VARCHAR)
Name the number of Earnings per share (¢) which has a Net profit (US $m) larger than 66, and a Year to April smaller than 2010?
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__¢_ > 47
CREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
Name the total number of EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47?
SELECT SUM(earnings_per_share__) AS ¢_ FROM table_name_34 WHERE year_to_april < 2012 AND revenue__us_$million_ = 432.6 AND ebit__us_$m_ < 150.5
CREATE TABLE table_name_34 (earnings_per_share__ INTEGER, ebit__us_$m_ VARCHAR, year_to_april VARCHAR, revenue__us_$million_ VARCHAR)
Count the Earnings per share (¢) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5?
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4
CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?
SELECT position FROM table_name_57 WHERE player = "barry richter"
CREATE TABLE table_name_57 (position VARCHAR, player VARCHAR)
What position does Barry Richter play?
SELECT nationality FROM table_name_24 WHERE college_junior_club_team = "michigan state university (ncaa)" AND player = "mark hirth"
CREATE TABLE table_name_24 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)
What nationality is Mark Hirth from Michigan State University (NCAA)?
SELECT nhl_team FROM table_name_45 WHERE player = "rob white"
CREATE TABLE table_name_45 (nhl_team VARCHAR, player VARCHAR)
What NHL team does Rob White play on?
SELECT pick__number FROM table_name_50 WHERE position = "d" AND college_junior_club_team = "university of maine (ncaa)"
CREATE TABLE table_name_50 (pick__number VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
What is the pick number for position of D from the University of Maine (NCAA)?
SELECT college_junior_club_team FROM table_name_94 WHERE position = "left wing" AND nationality = "canada"
CREATE TABLE table_name_94 (college_junior_club_team VARCHAR, position VARCHAR, nationality VARCHAR)
What college/junior/club team is a left wing from Canada?
SELECT AVG(last_cf) FROM table_name_44 WHERE cf_appearances < 4 AND cf_wins < 1 AND team = "st. louis blues"
CREATE TABLE table_name_44 (last_cf INTEGER, team VARCHAR, cf_appearances VARCHAR, cf_wins VARCHAR)
What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins?
SELECT MIN(cf_wins) FROM table_name_1 WHERE cf_appearances > 4 AND last_cf = 2013 AND team = "chicago blackhawks" AND cup_wins > 2
CREATE TABLE table_name_1 (cf_wins INTEGER, cup_wins VARCHAR, team VARCHAR, cf_appearances VARCHAR, last_cf VARCHAR)
What is the lowest number of cf wins of the chicago blackhawks, which has more than 4 cf appearances, a last cf in 2013, and more than 2 cup wins?
SELECT MIN(last_cf) FROM table_name_90 WHERE cf_appearances = 2 AND cup_wins = 0 AND cf_wins < 0
CREATE TABLE table_name_90 (last_cf INTEGER, cf_wins VARCHAR, cf_appearances VARCHAR, cup_wins VARCHAR)
What is the lowest number of last cfs of the team with 2 cf appearances, 0 cup wins, and less than 0 cf wins?
SELECT pos FROM table_name_52 WHERE team = "audi sport north america" AND year > 2008
CREATE TABLE table_name_52 (pos VARCHAR, team VARCHAR, year VARCHAR)
What position did the driver from Audi Sport North America finish in the race after 2008?
SELECT event FROM table_name_40 WHERE rank_points = "8" AND total = "20"
CREATE TABLE table_name_40 (event VARCHAR, rank_points VARCHAR, total VARCHAR)
What event has 8 as the rank points, with 20 as the total?
SELECT shooter FROM table_name_43 WHERE event = "wc munich" AND rank_points = "8"
CREATE TABLE table_name_43 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)
What shooter has wc munich as the event, and 8 as the rank points?
SELECT score_points FROM table_name_19 WHERE rank_points = "olympic gold medalist"
CREATE TABLE table_name_19 (score_points VARCHAR, rank_points VARCHAR)
What score points have olympic gold medalist as the rank points?
SELECT place FROM table_name_95 WHERE to_par = "–5" AND player = "nick faldo"
CREATE TABLE table_name_95 (place VARCHAR, to_par VARCHAR, player VARCHAR)
With a To par of –5, what is Nick Faldo's Place?
SELECT to_par FROM table_name_29 WHERE player = "fuzzy zoeller"
CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR)
What is Fuzzy Zoeller's To par?
SELECT governments FROM table_name_23 WHERE party = "kadima"
CREATE TABLE table_name_23 (governments VARCHAR, party VARCHAR)
What is the Government the has the Kadima Party?
SELECT rank_points FROM table_name_42 WHERE score_points = "olympic silver medalist"
CREATE TABLE table_name_42 (rank_points VARCHAR, score_points VARCHAR)
Which Rank points has a Score points of olympic silver medalist?
SELECT shooter FROM table_name_84 WHERE rank_points = "8" AND event = "wc milan"
CREATE TABLE table_name_84 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR)
Which Shooter has a Rank points of 8 and a Event of wc milan?
SELECT score_points FROM table_name_9 WHERE event = "og beijing" AND rank_points = "olympic gold medalist"
CREATE TABLE table_name_9 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)
Which Score points has an Event of og beijing, and Rank points of olympic gold medalist?
SELECT score_points FROM table_name_27 WHERE event = "wc milan" AND total = "23"
CREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR)
Name Event of wc milan and a Total of 23?
SELECT score_points FROM table_name_42 WHERE rank_points = "10" AND event = "wc milan"
CREATE TABLE table_name_42 (score_points VARCHAR, rank_points VARCHAR, event VARCHAR)
which Score points has a Rank points of 10, and an Event of wc milan?
SELECT score FROM table_name_49 WHERE player = "willie goggin"
CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR)
What was willie goggin's score?
SELECT place FROM table_name_39 WHERE country = "united states" AND money___$__ > 0 AND player = "craig wood"
CREATE TABLE table_name_39 (place VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR)
Which Place has a Country of united states, and a Money ($) larger than 0, and a Player of craig wood?
SELECT home FROM table_name_61 WHERE date = "march 7"
CREATE TABLE table_name_61 (home VARCHAR, date VARCHAR)
What is the home team on March 7?
SELECT record FROM table_name_74 WHERE date = "october 30"
CREATE TABLE table_name_74 (record VARCHAR, date VARCHAR)
What is the record on October 30?
SELECT record FROM table_name_39 WHERE date = "february 19"
CREATE TABLE table_name_39 (record VARCHAR, date VARCHAR)
What is the record on February 19?
SELECT to_par FROM table_name_39 WHERE player = "d. a. weibring"
CREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR)
What was d. a. weibring's to par?
SELECT to_par FROM table_name_11 WHERE score = 71 - 74 - 68 = 213
CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR)
For which to par was the score 71-74-68=213?
SELECT player FROM table_name_35 WHERE score = 70 - 72 - 70 = 212
CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR)
What player scored 70-72-70=212?
SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209
CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR)
What is the to par for the score 72-69-68=209?
SELECT to_par FROM table_name_7 WHERE place = "t9" AND country = "australia"
CREATE TABLE table_name_7 (to_par VARCHAR, place VARCHAR, country VARCHAR)
What was Australia's to par when the place was t9?
SELECT place FROM table_name_51 WHERE to_par = "+2" AND player = "mark o'meara"
CREATE TABLE table_name_51 (place VARCHAR, to_par VARCHAR, player VARCHAR)
Wht did Mark O'Meara place when the to par was +2?
SELECT SUM(losses) FROM table_name_69 WHERE wins = 15 AND position > 3
CREATE TABLE table_name_69 (losses INTEGER, wins VARCHAR, position VARCHAR)
What is the total number of losses for entries with 15 wins and a position larger than 3?
SELECT goal_difference FROM table_name_97 WHERE draws > 6 AND position > 12 AND wins < 9
CREATE TABLE table_name_97 (goal_difference VARCHAR, wins VARCHAR, draws VARCHAR, position VARCHAR)
What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins?
SELECT SUM(position) FROM table_name_63 WHERE club = "melilla cf" AND goal_difference < -10
CREATE TABLE table_name_63 (position INTEGER, club VARCHAR, goal_difference VARCHAR)
What is the position of club Melilla CF, with a goal difference smaller than -10?
SELECT SUM(goals_against) FROM table_name_22 WHERE position > 14 AND played < 30
CREATE TABLE table_name_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)
What is the sum of goals against for positions higher than 14, with fewer than 30 played?
SELECT AVG(wins) FROM table_name_61 WHERE points > 32 AND goal_difference < 23 AND goals_against = 36 AND played < 30
CREATE TABLE table_name_61 (wins INTEGER, played VARCHAR, goals_against VARCHAR, points VARCHAR, goal_difference VARCHAR)
What is the average number of wins for entries with more than 32 points, a goal difference smaller than 23, and a Goals against of 36, and a Played smaller than 30?
SELECT location FROM table_name_78 WHERE year > 2006 AND score = "6–3, 6–3"
CREATE TABLE table_name_78 (location VARCHAR, year VARCHAR, score VARCHAR)
Which Location has a Year larger than 2006, and a Score of 6–3, 6–3?
SELECT score FROM table_name_68 WHERE year > 2004 AND champion = "gaël monfils"
CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR)
Which Score has a Year larger than 2004, and a Champion of gaël monfils?
SELECT runner_up FROM table_name_49 WHERE year < 2008 AND champion = "josé acasuso"
CREATE TABLE table_name_49 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)
Which Runner-up has a Year smaller than 2008, and a Champion of josé acasuso?
SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–5"
CREATE TABLE table_name_96 (champion VARCHAR, runner_up VARCHAR, score VARCHAR)
Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5?
SELECT score FROM table_name_89 WHERE outcome = "winner" AND opponent = "byron black"
CREATE TABLE table_name_89 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK?
SELECT COUNT(points) FROM table_name_69 WHERE games_played < 22
CREATE TABLE table_name_69 (points VARCHAR, games_played INTEGER)
What is the number of points of the match with less than 22 games played?
SELECT COUNT(loses) FROM table_name_96 WHERE position = 4 AND goals_conceded < 23
CREATE TABLE table_name_96 (loses VARCHAR, position VARCHAR, goals_conceded VARCHAR)
What is the total number of loses of the club with a 4 position and less than 23 goals conceded?
SELECT MIN(games_played) FROM table_name_40 WHERE goals_conceded > 25 AND goals_scored > 17 AND position = 7
CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR)
What is the lowest number of games played of the club with more than 25 goals conceded, more than 17 goals scored, and a position of 7?
SELECT MIN(loses) FROM table_name_30 WHERE goals_scored > 42 AND goals_conceded > 20 AND draws < 3
CREATE TABLE table_name_30 (loses INTEGER, draws VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
What is the lowest number of loses of the club with more than 42 goals scored, more than 20 goals conceded, and less than 3 draws?
SELECT AVG(points) FROM table_name_64 WHERE goals_conceded > 23 AND position > 12
CREATE TABLE table_name_64 (points INTEGER, goals_conceded VARCHAR, position VARCHAR)
What is the average number of points of the club with more than 23 goals conceded and a position larger than 12?
SELECT MIN(goals) FROM table_name_80 WHERE name = "coe"
CREATE TABLE table_name_80 (goals INTEGER, name VARCHAR)
How many goals did coe get?