question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played? | CREATE TABLE table_name_42 (drawn INTEGER, first_game VARCHAR, played VARCHAR) | {
"SQL_Query": "SELECT SUM(drawn) FROM table_name_42 WHERE first_game < 2006 AND played < 2"
} |
What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws? | CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) | {
"SQL_Query": "SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0"
} |
What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997? | CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_53 WHERE date = \"5,6,7,8 june 1997\""
} |
What is the Date of the Test match of Australia in England at The Oval Venue? | CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_12 WHERE venue = \"the oval\""
} |
Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs? | CREATE TABLE table_name_56 (away_captain VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT away_captain FROM table_name_56 WHERE result = \"aus by 264 runs\""
} |
Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue? | CREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_captain FROM table_name_99 WHERE venue = \"edgbaston\""
} |
what is the name of the role that has co-protagonist in the notes field and the years of 2008-2009? | CREATE TABLE table_name_8 (role VARCHAR, notes VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT role FROM table_name_8 WHERE notes = \"co-protagonist\" AND year = \"2008-2009\""
} |
What is the name of the role that has a Title of Olvidarte Jamas? | CREATE TABLE table_name_41 (role VARCHAR, title VARCHAR) | {
"SQL_Query": "SELECT role FROM table_name_41 WHERE title = \"olvidarte jamas\""
} |
Which production company has the year of 2005 listed? | CREATE TABLE table_name_45 (production_company VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT production_company FROM table_name_45 WHERE year = \"2005\""
} |
What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field? | CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR) | {
"SQL_Query": "SELECT role FROM table_name_26 WHERE notes = \"antagonist\" AND title = \"salud, dinero y amor\""
} |
What is the name of the production company that has a year of 2008-2009? | CREATE TABLE table_name_19 (production_company VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT production_company FROM table_name_19 WHERE year = \"2008-2009\""
} |
What is the Authority for Kuranui Primary School that is located in the Area of Tirau? | CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT authority FROM table_name_82 WHERE area = \"tirau\" AND name = \"kuranui primary school\""
} |
Which Names have Deciles larger than 7? | CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER) | {
"SQL_Query": "SELECT name FROM table_name_38 WHERE decile > 7"
} |
What Gender are the schools that have a Roll of 135? | CREATE TABLE table_name_62 (gender VARCHAR, roll VARCHAR) | {
"SQL_Query": "SELECT gender FROM table_name_62 WHERE roll = \"135\""
} |
What is the Name of a state Authority that has a Roll of 72? | CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR, roll VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_13 WHERE authority = \"state\" AND roll = \"72\""
} |
Which friendly competition took place on 19 April 1979? | CREATE TABLE table_name_37 (score VARCHAR, competition VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_37 WHERE competition = \"friendly\" AND date = \"19 april 1979\""
} |
Which Team 1 faced Dynamos FC? | CREATE TABLE table_name_83 (team_1 VARCHAR, team_2 VARCHAR) | {
"SQL_Query": "SELECT team_1 FROM table_name_83 WHERE team_2 = \"dynamos fc\""
} |
What is Team 1 Al-Hilal's Agg.? | CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR) | {
"SQL_Query": "SELECT agg FROM table_name_81 WHERE team_1 = \"al-hilal\""
} |
Which record happened on the date of May 7? | CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_34 WHERE date = \"may 7\""
} |
Which tournament had Lubomira Bacheva as the opponent in the final? | CREATE TABLE table_name_53 (tournament VARCHAR, opponent_in_the_final VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = \"lubomira bacheva\""
} |
Who was the opponent in the final on 5 July 1992? | CREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT opponent_in_the_final FROM table_name_46 WHERE date = \"5 july 1992\""
} |
What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final? | CREATE TABLE table_name_89 (date VARCHAR, opponent_in_the_final VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_89 WHERE opponent_in_the_final = \"kyoko nagatsuka\""
} |
What is the surface at the tournament of Vaihingen? | CREATE TABLE table_name_24 (surface VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT surface FROM table_name_24 WHERE tournament = \"vaihingen\""
} |
What was the surface of the tournament where Anna Benzon was the opponent in the final? | CREATE TABLE table_name_59 (surface VARCHAR, opponent_in_the_final VARCHAR) | {
"SQL_Query": "SELECT surface FROM table_name_59 WHERE opponent_in_the_final = \"anna benzon\""
} |
What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential? | CREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR) | {
"SQL_Query": "SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12"
} |
What is the to par for the player who had a score of 70-72-70-69=281? | CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_18 WHERE score = 70 - 72 - 70 - 69 = 281"
} |
What year had the qual of totals | CREATE TABLE table_name_88 (year VARCHAR, qual VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_88 WHERE qual = \"totals\""
} |
What qual had a finish of 16 in 1968? | CREATE TABLE table_name_64 (qual VARCHAR, finish VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT qual FROM table_name_64 WHERE finish = \"16\" AND year = \"1968\""
} |
What was the finish with the start of 25 and a lap larger than 46? | CREATE TABLE table_name_21 (finish VARCHAR, start VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT finish FROM table_name_21 WHERE start = \"25\" AND laps > 46"
} |
What was the lowest lap with the ranking of 19? | CREATE TABLE table_name_99 (laps INTEGER, start VARCHAR) | {
"SQL_Query": "SELECT MIN(laps) FROM table_name_99 WHERE start = \"19\""
} |
Name the least ovrs for wkts of 0 | CREATE TABLE table_name_89 (ovrs INTEGER, wkts VARCHAR) | {
"SQL_Query": "SELECT MIN(ovrs) FROM table_name_89 WHERE wkts = 0"
} |
Name the average econ for runs more than 703 and ovrs more than 25.5 | CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) | {
"SQL_Query": "SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703"
} |
What is the average year that has a car that won 0 stages with a position of DNF? | CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, class VARCHAR, stages_won VARCHAR) | {
"SQL_Query": "SELECT AVG(year) FROM table_name_68 WHERE class = \"car\" AND stages_won = \"0\" AND position = \"dnf\""
} |
What is the class that that won 2 stages and has a position of DNF? | CREATE TABLE table_name_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_20 WHERE stages_won = \"2\" AND position = \"dnf\""
} |
What position did the BMW vehicle made in 2006 hold? | CREATE TABLE table_name_89 (position VARCHAR, vehicle VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_89 WHERE vehicle = \"bmw\" AND year = 2006"
} |
Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 2005? | CREATE TABLE table_name_68 (builder VARCHAR, order_year VARCHAR, fuel_propulsion VARCHAR, model VARCHAR) | {
"SQL_Query": "SELECT builder FROM table_name_68 WHERE fuel_propulsion = \"diesel\" AND model = \"d40lf\" AND order_year = \"2005\""
} |
Which model has a Fleet Series (Quantity) of 11081-11092 (12)? | CREATE TABLE table_name_1 (model VARCHAR, fleet_series__quantity_ VARCHAR) | {
"SQL_Query": "SELECT model FROM table_name_1 WHERE fleet_series__quantity_ = \"11081-11092 (12)\""
} |
Which order year has a Fleet Series (Quantity) of 12081-12090 (10)? | CREATE TABLE table_name_73 (order_year VARCHAR, fleet_series__quantity_ VARCHAR) | {
"SQL_Query": "SELECT order_year FROM table_name_73 WHERE fleet_series__quantity_ = \"12081-12090 (10)\""
} |
Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002? | CREATE TABLE table_name_23 (fleet_series__quantity_ VARCHAR, builder VARCHAR, order_year VARCHAR) | {
"SQL_Query": "SELECT fleet_series__quantity_ FROM table_name_23 WHERE builder = \"mci\" AND order_year = \"2002\""
} |
Which Fleet Series (Quantity) has an Order Year of 2010, and a Model of de40lfr? | CREATE TABLE table_name_60 (fleet_series__quantity_ VARCHAR, order_year VARCHAR, model VARCHAR) | {
"SQL_Query": "SELECT fleet_series__quantity_ FROM table_name_60 WHERE order_year = \"2010\" AND model = \"de40lfr\""
} |
Which Fuel Propulsion has a Fleet Series (Quantity) of 04001-04125 (125)? | CREATE TABLE table_name_73 (fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR) | {
"SQL_Query": "SELECT fuel_propulsion FROM table_name_73 WHERE fleet_series__quantity_ = \"04001-04125 (125)\""
} |
Name the sum of roll for morrinsville school | CREATE TABLE table_name_65 (roll INTEGER, name VARCHAR) | {
"SQL_Query": "SELECT SUM(roll) FROM table_name_65 WHERE name = \"morrinsville school\""
} |
Name the authority for morrinsville college | CREATE TABLE table_name_88 (authority VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT authority FROM table_name_88 WHERE name = \"morrinsville college\""
} |
Name the years when decile was less than 7 for waitoa school | CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_67 WHERE decile < 7 AND name = \"waitoa school\""
} |
Name the total number of roll for state authority and stanley avenue school with decile more than 5 | CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT COUNT(roll) FROM table_name_31 WHERE authority = \"state\" AND name = \"stanley avenue school\" AND decile > 5"
} |
What is the grid total associated with 18 laps? | CREATE TABLE table_name_35 (grid VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_35 WHERE laps = 18"
} |
What rider is on an aprilia that went under 18 laps with a grid total of 17? | CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT rider FROM table_name_14 WHERE manufacturer = \"aprilia\" AND laps < 18 AND grid = 17"
} |
What is the Manufacturer for simone corsi? | CREATE TABLE table_name_85 (manufacturer VARCHAR, rider VARCHAR) | {
"SQL_Query": "SELECT manufacturer FROM table_name_85 WHERE rider = \"simone corsi\""
} |
What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19? | CREATE TABLE table_name_77 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT MIN(grid) FROM table_name_77 WHERE time_retired = \"+33.634\" AND laps < 19"
} |
Tell me the power when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750 | CREATE TABLE table_name_37 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | {
"SQL_Query": "SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = \"n·m (lb·ft)/*n·m (lb·ft) @1750\""
} |
Name the capacity for the engine of 2.0 duratorq | CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR) | {
"SQL_Query": "SELECT capacity FROM table_name_84 WHERE model_engine = \"2.0 duratorq\""
} |
Name the capacity for the torque of n·m (lb·ft) @4150 | CREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR) | {
"SQL_Query": "SELECT capacity FROM table_name_90 WHERE torque__nm__rpm = \"n·m (lb·ft) @4150\""
} |
Name the power for 1.8 duratorq | CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR) | {
"SQL_Query": "SELECT power_rpm FROM table_name_91 WHERE model_engine = \"1.8 duratorq\""
} |
Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750 | CREATE TABLE table_name_62 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | {
"SQL_Query": "SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = \"n·m (lb·ft)/*n·m (lb·ft) @1750\""
} |
What are the smallest goals with a Goal Ratio of 0.14, and a Debut in Europe smaller than 1995? | CREATE TABLE table_name_20 (goals INTEGER, goal_ratio VARCHAR, debut_in_europe VARCHAR) | {
"SQL_Query": "SELECT MIN(goals) FROM table_name_20 WHERE goal_ratio = 0.14 AND debut_in_europe < 1995"
} |
What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985? | CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985"
} |
What lowest games have 20 goals and a Goal Ratio smaller than 0.14? | CREATE TABLE table_name_51 (games INTEGER, goals VARCHAR, goal_ratio VARCHAR) | {
"SQL_Query": "SELECT MIN(games) FROM table_name_51 WHERE goals = 20 AND goal_ratio < 0.14"
} |
What is the largest goal ratio with Goals smaller than 0? | CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER) | {
"SQL_Query": "SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0"
} |
What lowest games have a Goal Ratio of 0, and Goals smaller than 0? | CREATE TABLE table_name_87 (games INTEGER, goal_ratio VARCHAR, goals VARCHAR) | {
"SQL_Query": "SELECT MIN(games) FROM table_name_87 WHERE goal_ratio = 0 AND goals < 0"
} |
How many debuts in Europe have less than 76 goals, more than 151 games, and a rank greater than 5? | CREATE TABLE table_name_77 (debut_in_europe VARCHAR, rank VARCHAR, goals VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT COUNT(debut_in_europe) FROM table_name_77 WHERE goals < 76 AND games > 151 AND rank > 5"
} |
What is the average points of the Ferrari 1512 Chassis after 1965? | CREATE TABLE table_name_18 (points INTEGER, chassis VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT AVG(points) FROM table_name_18 WHERE chassis = \"ferrari 1512\" AND year > 1965"
} |
What is the Chassis of the Cooper Car Company after 1965 when the engine was a Maserati v12? | CREATE TABLE table_name_33 (chassis VARCHAR, engine VARCHAR, year VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT chassis FROM table_name_33 WHERE year > 1965 AND team = \"cooper car company\" AND engine = \"maserati v12\""
} |
Which location had a round of 3, and an Opponent of matt horwich? | CREATE TABLE table_name_9 (location VARCHAR, round VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_9 WHERE round < 3 AND opponent = \"matt horwich\""
} |
What was the time of sportfight 10? | CREATE TABLE table_name_45 (time VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_45 WHERE event = \"sportfight 10\""
} |
Which opponent had a time of 0:29? | CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_71 WHERE time = \"0:29\""
} |
What number has the builder ruston hornsby, the date 1961, and the name Topsy? | CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT COUNT(number) FROM table_name_10 WHERE builder = \"ruston hornsby\" AND date = 1961 AND name = \"topsy\""
} |
What is the number with the builder hunslet and a works number greater than 822? | CREATE TABLE table_name_62 (number VARCHAR, builder VARCHAR, works_number VARCHAR) | {
"SQL_Query": "SELECT COUNT(number) FROM table_name_62 WHERE builder = \"hunslet\" AND works_number > 822"
} |
What was the score of the March 14 game? | CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_95 WHERE date = \"march 14\""
} |
What was the score for the December 11 game against the Ottawa Senators? | CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_52 WHERE visitor = \"ottawa senators\" AND date = \"december 11\""
} |
Name the project with length overall being 25 and name of levante | CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = \"levante\""
} |
Name the sum of Hull number with portugal destination | CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) | {
"SQL_Query": "SELECT SUM(hull_no) FROM table_name_84 WHERE destination = \"portugal\""
} |
Name the sum of hull number for italy and year more than 1999 | CREATE TABLE table_name_37 (hull_no INTEGER, destination VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT SUM(hull_no) FROM table_name_37 WHERE destination = \"italy\" AND year > 1999"
} |
Give me the result for a format saying album with 1994 as the year. | CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT result_s_ FROM table_name_91 WHERE format_s_ = \"album\" AND year = 1994"
} |
List the Award Descriptions for the year of 1989. | CREATE TABLE table_name_17 (award_description_s_ VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT award_description_s_ FROM table_name_17 WHERE year = 1989"
} |
What was the score of the game played on August 5? | CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_66 WHERE date = \"august 5\""
} |
On what date was the Blue Jays record 60-56? | CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_25 WHERE record = \"60-56\""
} |
Tell me the name for first elected more than 1988 and district of mason | CREATE TABLE table_name_4 (name VARCHAR, first_elected VARCHAR, district VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_4 WHERE first_elected > 1988 AND district = \"mason\""
} |
Name the party with first elected more than 1999 and position of supervisor for john foust | CREATE TABLE table_name_88 (party VARCHAR, name VARCHAR, first_elected VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_88 WHERE first_elected > 1999 AND position = \"supervisor\" AND name = \"john foust\""
} |
Name the total number of first elected for dranesville | CREATE TABLE table_name_20 (first_elected VARCHAR, district VARCHAR) | {
"SQL_Query": "SELECT COUNT(first_elected) FROM table_name_20 WHERE district = \"dranesville\""
} |
What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels? | CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_71 WHERE venue = \"sydney cricket ground\" AND opponent = \"parramatta eels\""
} |
What was the competition in 1978? | CREATE TABLE table_name_71 (competition VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_71 WHERE year = 1978"
} |
What year was the average attendance 80,388? | CREATE TABLE table_name_24 (year INTEGER, attendance VARCHAR) | {
"SQL_Query": "SELECT AVG(year) FROM table_name_24 WHERE attendance = \"80,388\""
} |
What was the score with the opponent being New Zealand Warriors? | CREATE TABLE table_name_67 (score VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_67 WHERE opponent = \"new zealand warriors\""
} |
Which 1st Party has an election in 1847? | CREATE TABLE table_name_28 (election VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_party FROM table_name_28 WHERE election = \"1847\""
} |
Which 1st Party has an election in 1865? | CREATE TABLE table_name_92 (election VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_party FROM table_name_92 WHERE election = \"1865\""
} |
What was the average number of points with bonus pts less than 31 with the rider dennis gavros? | CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR) | {
"SQL_Query": "SELECT AVG(total_points) FROM table_name_29 WHERE rider = \"dennis gavros\" AND bonus_pts < 31"
} |
How many total matches involving dennis gavros had total points less than 167? | CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR) | {
"SQL_Query": "SELECT COUNT(matches) FROM table_name_35 WHERE rider = \"dennis gavros\" AND total_points < 167"
} |
What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421? | CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR) | {
"SQL_Query": "SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421"
} |
Which category earlier than 2006 has Bart Brentjens as rider 2? | CREATE TABLE table_name_33 (category VARCHAR, date VARCHAR, rider_2 VARCHAR) | {
"SQL_Query": "SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = \"bart brentjens\""
} |
How many dates does the ladies category correspond to Rothaus-Cube? | CREATE TABLE table_name_37 (date VARCHAR, category VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT COUNT(date) FROM table_name_37 WHERE category = \"ladies\" AND team = \"rothaus-cube\""
} |
Which category has a team of Cannondale Vredestein? | CREATE TABLE table_name_28 (category VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT category FROM table_name_28 WHERE team = \"cannondale vredestein\""
} |
What is the qual with a rank 9? | CREATE TABLE table_name_9 (qual VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT qual FROM table_name_9 WHERE rank = \"9\""
} |
What is the finish in 1956? | CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT finish FROM table_name_17 WHERE year = \"1956\""
} |
What is the finish with 200 laps and a start of 3? | CREATE TABLE table_name_91 (finish VARCHAR, laps VARCHAR, start VARCHAR) | {
"SQL_Query": "SELECT finish FROM table_name_91 WHERE laps = 200 AND start = \"3\""
} |
What is the qual with 200 laps and a rank of 27? | CREATE TABLE table_name_86 (qual VARCHAR, laps VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT qual FROM table_name_86 WHERE laps = 200 AND rank = \"27\""
} |
What is the rank with a 14 finish? | CREATE TABLE table_name_13 (rank VARCHAR, finish VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_13 WHERE finish = \"14\""
} |
What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? | CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR) | {
"SQL_Query": "SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = \"masters tournament\" AND top_25 < 0"
} |
What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? | CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR) | {
"SQL_Query": "SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2"
} |
What is the average number of events the Masters tournament, which has more than 0 top-25, has? | CREATE TABLE table_name_84 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) | {
"SQL_Query": "SELECT AVG(events) FROM table_name_84 WHERE tournament = \"masters tournament\" AND top_25 > 0"
} |
What is the total number of top-25 a tournament with less than 2 events has? | CREATE TABLE table_name_93 (top_25 VARCHAR, events INTEGER) | {
"SQL_Query": "SELECT COUNT(top_25) FROM table_name_93 WHERE events < 2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.