question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who were the candidates in the district won by the incumbent Del Latta?
CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta"
What were the results for the district oklahoma 5?
CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR)
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 5"
Which Record label has a Title of 诀别诗?
CREATE TABLE table_name_46 (record_label VARCHAR, title VARCHAR)
SELECT record_label FROM table_name_46 WHERE title = "诀别诗"
What Willinghshain has Reimboldsh of 101?
CREATE TABLE table_name_27 (willingshain VARCHAR, reimboldsh VARCHAR)
SELECT willingshain FROM table_name_27 WHERE reimboldsh = "101"
What is the position for the player with cfl team Winnipeg blue bombers?
CREATE TABLE table_10812938_3 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_10812938_3 WHERE cfl_team = "Winnipeg Blue Bombers"
Tell me the date for rudolf caracciola for avusrennen
CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, name VARCHAR)
SELECT date FROM table_name_91 WHERE winning_driver = "rudolf caracciola" AND name = "avusrennen"
When 8.3 is the q-band what is the property?
CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR)
SELECT property FROM table_186468_1 WHERE q_band = "8.3"
In heat 4, what is Byun Hye-young's Nationality?
CREATE TABLE table_name_62 (nationality VARCHAR, heat VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_62 WHERE heat = 4 AND name = "byun hye-young"
Who was the supervisor in the year 1846?
CREATE TABLE table_name_43 (supervisor VARCHAR, years VARCHAR)
SELECT supervisor FROM table_name_43 WHERE years = "1846"
What is the lowest average for number 2?
CREATE TABLE table_name_12 (average_score INTEGER, number VARCHAR)
SELECT MIN(average_score) FROM table_name_12 WHERE number = 2
What was the score of the game against montreal canadiens after game 26?
CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_59 WHERE game > 26 AND opponent = "montreal canadiens"
Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4?
CREATE TABLE table_name_2 (b_score INTEGER, total VARCHAR, a_score VARCHAR)
SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 6.4
What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow?
CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, knobbilled_duck VARCHAR)
SELECT hadeda_ibis FROM table_20042805_2 WHERE knobbilled_duck = "Pied Crow"
What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16?
CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR)
SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = "high park demons" AND points < 16
What was the score of the 1999 fifa world cup qualification (uefa) on Nov 23, 1997?
CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_85 WHERE competition = "1999 fifa world cup qualification (uefa)" AND date = "nov 23, 1997"
What is the name of the manager who was replaced by michael skibbe?
CREATE TABLE table_name_87 (name VARCHAR, replacement VARCHAR)
SELECT name FROM table_name_87 WHERE replacement = "michael skibbe"
what of the total number of date where grand prix is portuguese grand prix
CREATE TABLE table_1137704_2 (date VARCHAR, grand_prix VARCHAR)
SELECT COUNT(date) FROM table_1137704_2 WHERE grand_prix = "Portuguese grand_prix"
Show times of elimination of wrestlers with days held more than 50.
CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)
SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50
What is the time for PDT when CDT is 6:38 a.m.?
CREATE TABLE table_name_69 (pdt___7_utc_ VARCHAR, cdt___5_utc_ VARCHAR)
SELECT pdt___7_utc_ FROM table_name_69 WHERE cdt___5_utc_ = "6:38 a.m."
How many CSU campuses are there?
CREATE TABLE campuses (Id VARCHAR)
SELECT COUNT(*) FROM campuses
Which Round has a Ranking of 2008 wta tour?
CREATE TABLE table_name_31 (round VARCHAR, ranking VARCHAR)
SELECT round FROM table_name_31 WHERE ranking = "2008 wta tour"
Name the date for rio de janeiro
CREATE TABLE table_name_55 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_55 WHERE city = "rio de janeiro"
Who is the lowest ranked player from the United States that has less than 3 Wins?
CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR)
SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3
What was the date when Troy Murphy (15), got high rebounds?
CREATE TABLE table_17326036_7 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_17326036_7 WHERE high_rebounds = "Troy Murphy (15)"
Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco?
CREATE TABLE table_name_14 (elevator VARCHAR, cardinalatial_title VARCHAR)
SELECT elevator FROM table_name_14 WHERE cardinalatial_title = "deacon of ss. sergio e bacco"
Who won silver in the year before 2010, the year Chan Ming Shu won gold?
CREATE TABLE table_name_21 (silver VARCHAR, year VARCHAR, gold VARCHAR)
SELECT silver FROM table_name_21 WHERE year < 2010 AND gold = "chan ming shu"
Film of um sol alaranjado director is what nationality?
CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR)
SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado"
what is the percentage of male voters where the level of maturity is 123726
CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR)
SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726
What was the away team's score at the game held at MCG?
CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg"
What is the 2012 club of the cf pos. player?
CREATE TABLE table_name_85 (pos VARCHAR)
SELECT 2012 AS _club FROM table_name_85 WHERE pos = "cf"
Find the name of dorms which have both TV Lounge and Study Room as amenities.
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room'
Who has a height of 2.16?
CREATE TABLE table_name_41 (player VARCHAR, height VARCHAR)
SELECT player FROM table_name_41 WHERE height = 2.16
In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points.
CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR)
SELECT place FROM table_name_7 WHERE draw > 2 AND points < 139 AND artist = "midnight band"
What is the lowest lane in the Czech Republic and a time larger than 21.05?
CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR)
SELECT MIN(lane) FROM table_name_85 WHERE nationality = "czech republic" AND time > 21.05
When was Steve Williams in Zurich and his result was 10.07?
CREATE TABLE table_name_28 (date VARCHAR, location VARCHAR, result VARCHAR)
SELECT date FROM table_name_28 WHERE location = "zurich" AND result = 10.07
What is listed for the Province with a Wamalwa of 4,431?
CREATE TABLE table_name_82 (province VARCHAR, wamalwa VARCHAR)
SELECT province FROM table_name_82 WHERE wamalwa = "4,431"
What is the Series number of the episode with a production number of 1547?
CREATE TABLE table_name_34 (series VARCHAR, production_number VARCHAR)
SELECT series FROM table_name_34 WHERE production_number = 1547
How many different SEC Win counts does the team with an overall record of 30-4 have?
CREATE TABLE table_22993636_2 (sec_wins VARCHAR, overall_record VARCHAR)
SELECT COUNT(sec_wins) FROM table_22993636_2 WHERE overall_record = "30-4"
Who was the winning driver of the Circuit of Lausitzring?
CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_15 WHERE circuit = "lausitzring"
How many statuses are there for the Durham district?
CREATE TABLE table_2801185_2 (status VARCHAR, district VARCHAR)
SELECT COUNT(status) FROM table_2801185_2 WHERE district = "Durham"
When twente came in third place and ajax was the winner what are the seasons?
CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)
SELECT season FROM table_20867295_2 WHERE winner = "Ajax" AND third_place = "Twente"
How many different items appear in he attendance column at Sun Devil Stadium?
CREATE TABLE table_23718905_6 (attendance VARCHAR, stadium VARCHAR)
SELECT COUNT(attendance) FROM table_23718905_6 WHERE stadium = "Sun Devil stadium"
What is the opponent before game 57 when the score was 4–5?
CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–5"
What is the highest localities?
CREATE TABLE table_26007767_1 (localities INTEGER)
SELECT MAX(localities) FROM table_26007767_1
What is the highest number of Brisbane viewers?
CREATE TABLE table_24291077_4 (brisbane INTEGER)
SELECT MAX(brisbane) FROM table_24291077_4
None of the communities listed has a percentage smaller than 8.6 in 2006.
CREATE TABLE table_name_23 (seats_2001 VARCHAR, _percentage_2006 INTEGER)
SELECT COUNT(seats_2001) FROM table_name_23 WHERE _percentage_2006 < 8.6
What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)?
CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR)
SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)"
How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points?
CREATE TABLE table_name_4 (year VARCHAR, engine VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_4 WHERE engine = "mercedes fo 108w 2.4l v8" AND points > 0
What is the average points for the chassis LOLA LC88?
CREATE TABLE table_name_2 (points INTEGER, chassis VARCHAR)
SELECT AVG(points) FROM table_name_2 WHERE chassis = "lola lc88"
What position is associated with a Time of 20:39.171?
CREATE TABLE table_name_42 (pos INTEGER, time VARCHAR)
SELECT AVG(pos) FROM table_name_42 WHERE time = "20:39.171"
Can you tell me the lowest Long that has the Yards 293, and the Returns smaller than 16?
CREATE TABLE table_name_56 (long INTEGER, yards VARCHAR, returns VARCHAR)
SELECT MIN(long) FROM table_name_56 WHERE yards = 293 AND returns < 16
Which player had a To par of +11?
CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_55 WHERE to_par = "+11"
WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?
CREATE TABLE table_name_93 (country VARCHAR, transfer_window VARCHAR)
SELECT country FROM table_name_93 WHERE transfer_window = "summer"
Name the scores for chris ramsey and carol vorderman
CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR)
SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman"
For Pontyberem RFC that has a Try Bonus of 2, what is the played?
CREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR)
SELECT played FROM table_name_56 WHERE try_bonus = "2" AND club = "pontyberem rfc"
What is the to par for t10 and Colin Montgomerie?
CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_35 WHERE place = "t10" AND player = "colin montgomerie"
what is the record for years 2006-11?
CREATE TABLE table_name_92 (record VARCHAR, years VARCHAR)
SELECT record FROM table_name_92 WHERE years = "2006-11"
What is the Region of the release with Catalog number 3 12046 2?
CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)
SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 2"
Name the partner with score of 6–3, 6–2
CREATE TABLE table_name_80 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_name_80 WHERE score = "6–3, 6–2"
How many values for Ofsted occurr at Chowbent Primary School?
CREATE TABLE table_name_1 (ofsted VARCHAR, school VARCHAR)
SELECT COUNT(ofsted) FROM table_name_1 WHERE school = "chowbent primary school"
what's the brooklyn with queens value of 16.8%
CREATE TABLE table_1108394_43 (brooklyn VARCHAR, queens VARCHAR)
SELECT brooklyn FROM table_1108394_43 WHERE queens = "16.8_percentage"
What is the League Cup for 1947–1958?
CREATE TABLE table_name_40 (league_cup VARCHAR, years VARCHAR)
SELECT league_cup FROM table_name_40 WHERE years = "1947–1958"
What is the number of earning for more than 2 wins and less than 25 events?
CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)
SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25
What 2009 has 39th as the 2011?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT 2009 FROM table_name_45 WHERE 2011 = "39th"
During st kilda's home game, what was the number of people in the crowd?
CREATE TABLE table_name_12 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_12 WHERE home_team = "st kilda"
What is City, when Prize is "$146,000"?
CREATE TABLE table_name_18 (city VARCHAR, prize VARCHAR)
SELECT city FROM table_name_18 WHERE prize = "$146,000"
How many games played for team bangu with under 15 against, and over 9 points?
CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, against VARCHAR, team VARCHAR)
SELECT MAX(played) FROM table_name_19 WHERE against < 15 AND team = "bangu" AND points > 9
where did rochdale play as opponent?
CREATE TABLE table_name_77 (venue VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_77 WHERE opponent = "rochdale"
Name the year for guillermo cañas
CREATE TABLE table_23284597_3 (year VARCHAR, opponent_in_the_final VARCHAR)
SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas"
What is the name of party with most number of members?
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id ORDER BY COUNT(*) DESC LIMIT 1
Find the person who has exactly one friend.
CREATE TABLE PersonFriend (name VARCHAR)
SELECT name FROM PersonFriend GROUP BY name HAVING COUNT(*) = 1
How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?
CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 4
How much do the tickets cost for August 7, 1987?
CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987"
Who was the writer when there were 15.85 million US viewers?
CREATE TABLE table_15717093_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_15717093_1 WHERE us_viewers__millions_ = "15.85"
Which school has a quarterback?
CREATE TABLE table_name_94 (school VARCHAR, position VARCHAR)
SELECT school FROM table_name_94 WHERE position = "quarterback"
What is the State with the imsa gt as the Major Series and a track in new orleans?
CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR)
SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans"
What home team played against south Melbourne?
CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_54 WHERE away_team = "south melbourne"
What was the location where the opponent was Jae Young Kim?
CREATE TABLE table_name_9 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_9 WHERE opponent = "jae young kim"
What country is Steve Jones from?
CREATE TABLE table_name_55 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_55 WHERE player = "steve jones"
Who was the vistiting team in the game with the final score of 7-13?
CREATE TABLE table_name_3 (visiting_team VARCHAR, final_score VARCHAR)
SELECT visiting_team FROM table_name_3 WHERE final_score = "7-13"
What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0?
CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_13336122_3 WHERE directed_by = "David Von Ancken" AND no_in_series > 16.0
What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw?
CREATE TABLE table_name_1 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw"
List all countries of markets in descending order of number of cities.
CREATE TABLE market (Country VARCHAR, Number_cities VARCHAR)
SELECT Country FROM market ORDER BY Number_cities DESC
What position has round less than 2?
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
SELECT position FROM table_name_86 WHERE round < 2
On what Date was the Score 6–4, 6–2?
CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_59 WHERE score = "6–4, 6–2"
Who did the team play against when a record of 3-1, #16 was achieved?
CREATE TABLE table_21063459_1 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_21063459_1 WHERE record = "3-1, #16"
what's the constructor with location being hockenheimring
CREATE TABLE table_1140074_2 (constructor VARCHAR, location VARCHAR)
SELECT constructor FROM table_1140074_2 WHERE location = "Hockenheimring"
Show the years and the official names of the host cities of competitions.
CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR)
SELECT T2.Year, T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID
What is the highest to par of the player from the United States with a t3 place and a 74-73-72-69=288 place?
CREATE TABLE table_name_30 (to_par INTEGER, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT MAX(to_par) FROM table_name_30 WHERE country = "united states" AND place = "t3" AND score = 74 - 73 - 72 - 69 = 288
WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012?
CREATE TABLE table_name_47 (series VARCHAR, released_by VARCHAR, release_date VARCHAR)
SELECT series FROM table_name_47 WHERE released_by = "itv studios" AND release_date = "august 15, 2012"
How many original Australian performers are there when the Original West End Performer is Jordan Dunne?
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne"
Which Score has an Opponent of @ seattle?
CREATE TABLE table_name_71 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_71 WHERE opponent = "@ seattle"
how many canton with commune being waldbillig
CREATE TABLE table_1417184_1 (canton VARCHAR, commune VARCHAR)
SELECT COUNT(canton) FROM table_1417184_1 WHERE commune = "Waldbillig"
What are the countries of mountains with height bigger than 5000?
CREATE TABLE mountain (Country VARCHAR, Height INTEGER)
SELECT Country FROM mountain WHERE Height > 5000
How many seasons took place in santiago de chile, chile?
CREATE TABLE table_name_19 (season VARCHAR, place VARCHAR)
SELECT COUNT(season) FROM table_name_19 WHERE place = "santiago de chile, chile"
Which Season has 0 Podiums, 1 Race, and 0 Points?
CREATE TABLE table_name_77 (season VARCHAR, points VARCHAR, podiums VARCHAR, races VARCHAR)
SELECT season FROM table_name_77 WHERE podiums = "0" AND races = "1" AND points = "0"
Which Week 14 Nov 30 has a Week 6 Oct 5 of michigan state (5-1)?
CREATE TABLE table_name_1 (week_14_nov_30 VARCHAR, week_6_oct_5 VARCHAR)
SELECT week_14_nov_30 FROM table_name_1 WHERE week_6_oct_5 = "michigan state (5-1)"
A what time was the title aired in October 22, 2009
CREATE TABLE table_26826304_2 (timeslot VARCHAR, air_date VARCHAR)
SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009"
What tournament did Pemra Özgen play against julia kimmelmann in the finals?
CREATE TABLE table_name_54 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_54 WHERE opponent_in_the_final = "julia kimmelmann"
How many laps did Ricardo Zonta drive with a grid less than 14?
CREATE TABLE table_name_15 (laps INTEGER, grid VARCHAR, driver VARCHAR)
SELECT SUM(laps) FROM table_name_15 WHERE grid < 14 AND driver = "ricardo zonta"