answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT MIN(elevation__m_) FROM table_18946749_4 WHERE peak = "Mount Taylor"
What is the lowest elevation(m) for the peak Mount Taylor?
CREATE TABLE table_18946749_4 (elevation__m_ INTEGER, peak VARCHAR)
SELECT round FROM table_name_17 WHERE record = "4-1"
What round had a record of 4-1?
CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)
SELECT position FROM table_23670057_1 WHERE height__m_ = "2.16"
Name the position for 2.16
CREATE TABLE table_23670057_1 (position VARCHAR, height__m_ VARCHAR)
SELECT opponent FROM table_name_3 WHERE season = "2011/12"
Which opponent has a Season of 2011/12?
CREATE TABLE table_name_3 (opponent VARCHAR, season VARCHAR)
SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"
What was the title of the race at Oran Park Raceway?
CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR)
SELECT record_company FROM table_name_72 WHERE year_of_recording > 1996 AND conductor = "mikhail snitko"
What record company did conductor Mikhail Snitko record for after 1996?
CREATE TABLE table_name_72 (record_company VARCHAR, year_of_recording VARCHAR, conductor VARCHAR)
SELECT MIN(attendance) FROM table_name_48 WHERE week = 1
What was the lowest attendance for week 1?
CREATE TABLE table_name_48 (attendance INTEGER, week VARCHAR)
SELECT length FROM table_name_92 WHERE engine_type = "diesel" AND numbers = "tbd (13 buses)"
What is the length for a diesel engine with numbers of tbd (13 buses)?
CREATE TABLE table_name_92 (length VARCHAR, engine_type VARCHAR, numbers VARCHAR)
SELECT MAX(points) FROM table_name_88 WHERE difference = "1" AND drawn = 0
What is the high point total associated with a difference of 1 and 0 draws?
CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR)
SELECT club FROM table_name_91 WHERE city = "rovigo"
What is Rovigo's Club?
CREATE TABLE table_name_91 (club VARCHAR, city VARCHAR)
SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53
Which finish had a win percentage that was more than 0.598 and also had less than 53 wins?
CREATE TABLE table_name_41 (finish VARCHAR, win_percentage VARCHAR, wins VARCHAR)
SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney"
Tell me the NHL team for mike gaffney
CREATE TABLE table_name_53 (nhl_team VARCHAR, player VARCHAR)
SELECT MIN(lost) FROM table_name_76 WHERE played > 3 AND _percentage_won < 75 AND drawn = 0 AND points = 56
What are the fewest losses for a player lower than 3, with wins fewer than 75%, 0 draws and 56 points?
CREATE TABLE table_name_76 (lost INTEGER, points VARCHAR, drawn VARCHAR, played VARCHAR, _percentage_won VARCHAR)
SELECT 2008 FROM table_name_48 WHERE 2005 = "13–3"
Which 2008 has a 2005 of 13–3?
CREATE TABLE table_name_48 (Id VARCHAR)
SELECT COUNT(floors) FROM table_name_95 WHERE name = "custom house tower"
How many floors does the Custom House Tower have?
CREATE TABLE table_name_95 (floors VARCHAR, name VARCHAR)
SELECT AVG(crowd) FROM table_name_9 WHERE venue = "western oval"
What was the average crowd at Western Oval?
CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR)
SELECT AVG(week) FROM table_name_80 WHERE result = "l 37–34"
What is the average Week, when Result is l 37–34?
CREATE TABLE table_name_80 (week INTEGER, result VARCHAR)
SELECT type FROM table_name_77 WHERE vessel = "lublin class"
What is the type for a vessel of lublin class?
CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR)
SELECT period FROM table_24565004_15 WHERE position = "Attaquant"
List the number of active years for attaquant.
CREATE TABLE table_24565004_15 (period VARCHAR, position VARCHAR)
SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 1
What is the average v-band for Ka-band values under 33 and Q-bands of 1?
CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR)
SELECT SUM(played) FROM table_name_51 WHERE goals_against < 34 AND wins < 13
How much Played has Goals against smaller than 34, and Wins smaller than 13?
CREATE TABLE table_name_51 (played INTEGER, goals_against VARCHAR, wins VARCHAR)
SELECT legs FROM table_name_8 WHERE year < 2009
what is the legs when the year is earlier than 2009?
CREATE TABLE table_name_8 (legs VARCHAR, year INTEGER)
SELECT MIN(year) FROM table_name_45 WHERE original_title = "les triplettes de belleville"
Name the least year for les triplettes de belleville
CREATE TABLE table_name_45 (year INTEGER, original_title VARCHAR)
SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school"
What is the average Decile with a state authority and a Name of mapiu school?
CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR)
SELECT score FROM table_name_27 WHERE tie_no = "1"
What was the score of having a tie of 1?
CREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR)
SELECT venue FROM table_name_45 WHERE home_team = "geelong"
Which Venue has a Home team of geelong?
CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR)
SELECT best FROM table_name_99 WHERE name = "justin wilson"
Justin Wilson has what has his best time?
CREATE TABLE table_name_99 (best VARCHAR, name VARCHAR)
SELECT MAX(position) FROM table_name_2 WHERE goals_against = 47 AND played > 34
Which Position has 47 Goals Against, and a Played larger than 34?
CREATE TABLE table_name_2 (position INTEGER, goals_against VARCHAR, played VARCHAR)
SELECT Name FROM GENRE
List the names of all music genres.
CREATE TABLE GENRE (Name VARCHAR)
SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = "KERO-TV"
What is the minimum stations owned since kero-tv?
CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR)
SELECT film FROM table_name_19 WHERE winner_nominee_s_ = "eddie murphy" AND result = "nominated"
Which film was Eddie Murphy nominated for?
CREATE TABLE table_name_19 (film VARCHAR, winner_nominee_s_ VARCHAR, result VARCHAR)
SELECT race FROM table_name_83 WHERE time = "17:11.572"
Who holds the time of 17:11.572?
CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR)
SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = "MasterCard"
What is the average quantities ordered with payment method code "MasterCard" on invoices?
CREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR)
SELECT sat_29_aug FROM table_23465864_4 WHERE fri_28_aug = "25' 01.89 90.438mph"
What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August?
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR)
SELECT high_points FROM table_18904831_6 WHERE high_rebounds = "Dydek (8)"
When dydek (8) has the highest rebounds who has the highest amount of points?
CREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT finish FROM table_name_79 WHERE win__percentage = ".585"
What was the final rank of the Brewers when they achieved a win percentage of .585?
CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR)
SELECT conf FROM table_name_25 WHERE original_nfl_team = "denver broncos"
What conference did the player originally from the denver broncos play in?
CREATE TABLE table_name_25 (conf VARCHAR, original_nfl_team VARCHAR)
SELECT COUNT(share) FROM table_16993379_1 WHERE viewers__millions_ = "3.11"
How many were the shares when the viewers reached 3.11 million?
CREATE TABLE table_16993379_1 (share VARCHAR, viewers__millions_ VARCHAR)
SELECT MAX(sp) + fs FROM table_name_84 WHERE points = 131.02 AND rank > 15
What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15?
CREATE TABLE table_name_84 (fs VARCHAR, sp INTEGER, points VARCHAR, rank VARCHAR)
SELECT lead FROM table_name_17 WHERE city = "winnipeg" AND third_vice_skip = "kevin park"
Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park?
CREATE TABLE table_name_17 (lead VARCHAR, city VARCHAR, third_vice_skip VARCHAR)
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2004
What percentage of Asians are there in the year 2004?
CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR)
SELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 0
What is the total of the cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0?
CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)
SELECT site FROM table_name_5 WHERE orbit = "leo" AND decay___utc__ = "still in orbit" AND function = "magnetosphere research"
What site has an orbit of Leo, a decay (UTC) of still in orbit, and a magnetosphere research?
CREATE TABLE table_name_5 (site VARCHAR, function VARCHAR, orbit VARCHAR, decay___utc__ VARCHAR)
SELECT SUM(laps) FROM table_name_29 WHERE qual = "122.951"
How many laps did Duke Nelson complete when his qualifying time was 122.951?
CREATE TABLE table_name_29 (laps INTEGER, qual VARCHAR)
SELECT dutch FROM table_name_1 WHERE greek = "πλέω (pléō)"
What Dutch word has the same meaning as the Greek word πλέω (pléō)?
CREATE TABLE table_name_1 (dutch VARCHAR, greek VARCHAR)
SELECT pick__number FROM table_29836557_2 WHERE player = "Kevan George"
What pick number is Kevan George?
CREATE TABLE table_29836557_2 (pick__number VARCHAR, player VARCHAR)
SELECT engine FROM table_name_15 WHERE year < 1956 AND points < 4 AND entrant = "equipe simca gordini"
What engine was used by Equipe Simca Gordini before 1956 with less than 4 points?
CREATE TABLE table_name_15 (engine VARCHAR, entrant VARCHAR, year VARCHAR, points VARCHAR)
SELECT incorporated_in FROM table_name_73 WHERE principal_activities = "travel agency"
Name the incorporated for principal activites of travel agency
CREATE TABLE table_name_73 (incorporated_in VARCHAR, principal_activities VARCHAR)
SELECT report FROM table_name_25 WHERE circuit = "modena"
Tell me the report for circuit of modena
CREATE TABLE table_name_25 (report VARCHAR, circuit VARCHAR)
SELECT total_passengers_2008 FROM table_13836704_4 WHERE change_2008_09 = "6.5%"
what's the total passengers 2008 with change 2008/09 being 6.5%
CREATE TABLE table_13836704_4 (total_passengers_2008 VARCHAR, change_2008_09 VARCHAR)
SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop"
Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position?
CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR)
SELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961
What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?
CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY COUNT(*) DESC LIMIT 1
Which template type code is used by most number of documents?
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE engine = "renault v10" AND points > 4
Name the average yeara for engine of renault v10 with points more than 4
CREATE TABLE table_name_19 (year INTEGER, engine VARCHAR, points VARCHAR)
SELECT tournament FROM table_name_60 WHERE opponent = "guillermo carry"
Which tournament did the opponent Guillermo Carry play?
CREATE TABLE table_name_60 (tournament VARCHAR, opponent VARCHAR)
SELECT date FROM table_1590652_4 WHERE winning_score = 67 - 67 - 63 = 197
Name the date of winning score being 67-67-63=197
CREATE TABLE table_1590652_4 (date VARCHAR, winning_score VARCHAR)
SELECT producer_s_ FROM table_name_20 WHERE film = "strange little girls"
Who was the producer for the film 'Strange Little Girls'?
CREATE TABLE table_name_20 (producer_s_ VARCHAR, film VARCHAR)
SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3
What is the id and trade name of the medicines can interact with at least 3 enzymes?
CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)
SELECT AVG(number_of_clubs) FROM table_name_66 WHERE fourth_placed = "shenzhen jianlibao" AND season < 2003
What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao?
CREATE TABLE table_name_66 (number_of_clubs INTEGER, fourth_placed VARCHAR, season VARCHAR)
SELECT COUNT(incoming_manager) FROM table_24172157_3 WHERE outgoing_manager = "Roy Hodgson" AND team = "Fulham"
How many incoming managers were there after Roy Hodgson left the position for the Fulham team?
CREATE TABLE table_24172157_3 (incoming_manager VARCHAR, outgoing_manager VARCHAR, team VARCHAR)
SELECT listed FROM table_name_86 WHERE county = "sublette" AND location = "daniel"
What is the listed for the bridge at Daniel in Sublette county?
CREATE TABLE table_name_86 (listed VARCHAR, county VARCHAR, location VARCHAR)
SELECT COUNT(party) FROM table_1341423_38 WHERE incumbent = "Bob Brady"
How many parties is the incumbent Bob Brady a member of?
CREATE TABLE table_1341423_38 (party VARCHAR, incumbent VARCHAR)
SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13
Tell me the highest laps for toyota and grid of 13
CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
SELECT COUNT(jurisdiction) FROM table_120778_1 WHERE percent_for = "57.3"
What is the number of jurisdiction for 57.3 percent?
CREATE TABLE table_120778_1 (jurisdiction VARCHAR, percent_for VARCHAR)
SELECT years FROM table_name_40 WHERE assist < 17 AND games = 174
Which year or years did a team win 174 games and had an assist number less than 17?
CREATE TABLE table_name_40 (years VARCHAR, assist VARCHAR, games VARCHAR)
SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior"
What is the week 5 after Dani Dior as week 1?
CREATE TABLE table_name_36 (week_5 VARCHAR, week_1 VARCHAR)
SELECT score FROM table_name_84 WHERE tie_no = "8"
What is the score when the tie number is 8?
CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR)
SELECT constellation FROM table_name_38 WHERE designation = "hip 4872"
Where is Hip 4872?
CREATE TABLE table_name_38 (constellation VARCHAR, designation VARCHAR)
SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley"
Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?
CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)
SELECT score FROM table_name_54 WHERE year < 1994 AND partner = "elizabeth sayers smylie"
Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie?
CREATE TABLE table_name_54 (score VARCHAR, year VARCHAR, partner VARCHAR)
SELECT date FROM table_name_57 WHERE label = "rca" AND catalog = "sf-7635"
What is the Date of the RCA release with Catalog number SF-7635?
CREATE TABLE table_name_57 (date VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT record FROM table_name_59 WHERE home = "montreal maroons"
What was the record at the home of the Montreal Maroons
CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR)
SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain"
When is the earliest year for it is in barcelona, spain?
CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)
SELECT SUM(grid) FROM table_name_34 WHERE driver = "jack brabham" AND laps > 65
What is the grid for Jack Brabham with more than 65 laps?
CREATE TABLE table_name_34 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 4"
What is the candidate for south carolina 4?
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" AND t3.characteristic_type_code = "Grade"
List all characteristics of product named "sesame" with type code "Grade".
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT venue FROM table_name_74 WHERE home_team = "melbourne"
What is Melbourne's home venue?
CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
SELECT high_points FROM table_30049462_3 WHERE team = "Milwaukee"
in the milwaukee team who made the high points
CREATE TABLE table_30049462_3 (high_points VARCHAR, team VARCHAR)
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff"
What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)
SELECT catalog_number FROM table_27303975_2 WHERE title = "AM/PM Callanetics"
Name the catalog number for am/pm callanetics
CREATE TABLE table_27303975_2 (catalog_number VARCHAR, title VARCHAR)
SELECT 2010 FROM table_name_75 WHERE 2012 = "1r" AND 2005 = "a"
What is the 2010 value with a 1r in 2012 and an A in 2005?
CREATE TABLE table_name_75 (Id VARCHAR)
SELECT competition FROM table_name_3 WHERE goals = "deacon 8/8" AND score = "32-14"
Which competition has a Goal of deacon 8/8 and a Score of 32-14?
CREATE TABLE table_name_3 (competition VARCHAR, goals VARCHAR, score VARCHAR)
SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = "473"
How many tries for are for 473 points for?
CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR)
SELECT MIN(altitude__mslm_) FROM table_1449169_1
What is the minimum altitude (mslm) in all the commons?
CREATE TABLE table_1449169_1 (altitude__mslm_ INTEGER)
SELECT gdp FROM city ORDER BY Regional_Population DESC LIMIT 1
what is the GDP of the city with the largest population.
CREATE TABLE city (gdp VARCHAR, Regional_Population VARCHAR)
SELECT AVG(attendance) FROM table_name_78 WHERE home = "pittsburgh"
What is the attendance when Pittsburgh is the home team?
CREATE TABLE table_name_78 (attendance INTEGER, home VARCHAR)
SELECT try_bonus FROM table_17625749_3 WHERE tries_against = "17"
What is the try bonus when the tries against are 17?
CREATE TABLE table_17625749_3 (try_bonus VARCHAR, tries_against VARCHAR)
SELECT nominated_work FROM table_name_96 WHERE year = 1997
Which Nominated work has a Year of 1997?
CREATE TABLE table_name_96 (nominated_work VARCHAR, year VARCHAR)
SELECT song FROM table_name_20 WHERE draw < 7 AND points > 41 AND language = "german"
Which Song has a Draw smaller than 7, and Points larger than 41, and a Language of german?
CREATE TABLE table_name_20 (song VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR)
SELECT MAX(crowd) FROM table_name_61 WHERE away_team = "richmond"
What were the most in attendance in Richmond?
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
SELECT score FROM table_name_93 WHERE date = "september 25"
Name the score for september 25
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT AVG(goals) FROM table_name_68 WHERE matches < 228
What average goals have matches less than 228?
CREATE TABLE table_name_68 (goals INTEGER, matches INTEGER)
SELECT MAX(production_code_s_) FROM table_27714985_1 WHERE written_by = "Patty Lin"
What is the maximum production code of an episode written by Patty Lin?
CREATE TABLE table_27714985_1 (production_code_s_ INTEGER, written_by VARCHAR)
SELECT MAX(draw) FROM table_name_61 WHERE place < 3 AND percentage = "30.71%"
what is the highest draw when the place is less than 3 and the percentage is 30.71%?
CREATE TABLE table_name_61 (draw INTEGER, place VARCHAR, percentage VARCHAR)
SELECT COUNT(reason_for_change) FROM table_225095_4 WHERE successor = "Edward Hempstead"
How many reasons for change were listed when Edward Hempstead was the successor?
CREATE TABLE table_225095_4 (reason_for_change VARCHAR, successor VARCHAR)
SELECT socialist_labor_ticket FROM table_name_49 WHERE republican_ticket = "cuthbert w. pound"
Who's the Socialist Labor ticket with a Republican ticket of cuthbert w. pound?
CREATE TABLE table_name_49 (socialist_labor_ticket VARCHAR, republican_ticket VARCHAR)
SELECT SUM(against) FROM table_name_20 WHERE status = "six nations" AND date = "30/03/2003"
What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"?
CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR)
SELECT SUM(pick__number) FROM table_name_82 WHERE rd__number < 11 AND player = "mattias ohlund" AND pl_gp > 52
What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11?
CREATE TABLE table_name_82 (pick__number INTEGER, pl_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT to_winning_team FROM table_13657749_2 WHERE gtu_winning_team = "#27 Don Lindley"
Who is GTU Winning Team's #27 Don Lindley's TO Winning Team?
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gtu_winning_team VARCHAR)
SELECT COUNT(average) FROM table_name_57 WHERE team = "england" AND wickets < 18 AND best_bowling = "4/138" AND matches < 3
What is the total average for the England team when the wickets are less than 18, the best bowling is 4/138, and there are less than 3 matches?
CREATE TABLE table_name_57 (average VARCHAR, matches VARCHAR, best_bowling VARCHAR, team VARCHAR, wickets VARCHAR)