context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_74 (notes VARCHAR, method VARCHAR) | What are the Notes when the Method is decision? | SELECT notes FROM table_name_74 WHERE method = "decision" |
CREATE TABLE table_name_39 (points INTEGER, club VARCHAR, goals_conceded VARCHAR) | What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded? | SELECT SUM(points) FROM table_name_39 WHERE club = "nevėžis-2 kėdainiai" AND goals_conceded > 35 |
CREATE TABLE table_name_56 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) | What is the total losses against 1412, and 10 wins, but draws less than 0? | SELECT SUM(losses) FROM table_name_56 WHERE against > 1412 AND wins = 10 AND draws < 0 |
CREATE TABLE table_name_54 (perpetrator VARCHAR, killed VARCHAR, country VARCHAR, location VARCHAR) | Who is the perpetrator in Uganda who killed 12 in Kampala? | SELECT perpetrator FROM table_name_54 WHERE country = "uganda" AND location = "kampala" AND killed = "12" |
CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR) | What is Scotland's winner? | SELECT winner FROM table_name_37 WHERE country = "scotland" |
CREATE TABLE table_name_51 (semi_final_second_television_commentator VARCHAR, year_s_ VARCHAR, final_television_commentator VARCHAR, spokesperson VARCHAR) | Who is the semi-final second television commentator with graham norton as the final television commentator and scott mills as the spokesperson before 2013? | SELECT semi_final_second_television_commentator FROM table_name_51 WHERE final_television_commentator = "graham norton" AND spokesperson = "scott mills" AND year_s_ < 2013 |
CREATE TABLE table_name_48 (wins INTEGER, byes VARCHAR, losses VARCHAR, mininera_dfl VARCHAR) | How many wins for the Caramut team with fewer than 11 losses and fewer than 2 byes? | SELECT MAX(wins) FROM table_name_48 WHERE losses < 11 AND mininera_dfl = "caramut" AND byes < 2 |
CREATE TABLE table_name_23 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR) | What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service? | SELECT language FROM table_name_23 WHERE hdtv = "no" AND package_option = "sky famiglia" AND television_service = "national geographic channel" |
CREATE TABLE table_name_94 (latitude VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR) | What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e? | SELECT latitude FROM table_name_94 WHERE diameter__km_ = "13km" AND longitude = "72.9° e" |
CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR) | What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2? | SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2 |
CREATE TABLE table_name_55 (_number_of_episodes INTEGER, mole VARCHAR) | Which # of Episodes has a Mole of craig slike? | SELECT MIN(_number_of_episodes) FROM table_name_55 WHERE mole = "craig slike" |
CREATE TABLE table_name_72 (singapore_gross VARCHAR, producer VARCHAR) | What is the Singapore Gross with a Producer that is 2000? | SELECT singapore_gross FROM table_name_72 WHERE producer = "2000" |
CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) | What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? | SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305 |
CREATE TABLE table_name_77 (season INTEGER, mole VARCHAR) | Which Season has a Mole of frederique van der wal? | SELECT MAX(season) FROM table_name_77 WHERE mole = "frederique van der wal" |
CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR) | What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev? | SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev" |
CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR) | What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973? | SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973" |
CREATE TABLE table_name_31 (record VARCHAR, location VARCHAR, method VARCHAR) | What is Record, when Location is "Des Moines, Iowa , United States", and when Method is "Submission (arm-triangle choke)"? | SELECT record FROM table_name_31 WHERE location = "des moines, iowa , united states" AND method = "submission (arm-triangle choke)" |
CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR) | What was the date of the Paco Rabanne Open de France? | SELECT date FROM table_name_95 WHERE tournament = "paco rabanne open de france" |
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) | Who was the home team that played against Armthorpe Welfare? | SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare" |
CREATE TABLE table_name_23 (championship VARCHAR, year VARCHAR, opponents_in_final VARCHAR) | What was the championship before 2012 that had Stephane Houdet Michael Jeremiasz as opponents? | SELECT championship FROM table_name_23 WHERE year < 2012 AND opponents_in_final = "stephane houdet michael jeremiasz" |
CREATE TABLE table_name_84 (score_in_final VARCHAR, opponents_in_final VARCHAR) | What was the score when the Shingo Kunieda Satoshi Saida were the opponents? | SELECT score_in_final FROM table_name_84 WHERE opponents_in_final = "shingo kunieda satoshi saida" |
CREATE TABLE table_name_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR) | On what date was Arthur Jones the away captain at Sydney Cricket Ground? | SELECT date FROM table_name_33 WHERE away_captain = "arthur jones" AND venue = "sydney cricket ground" |
CREATE TABLE table_name_52 (to_par VARCHAR, money___£__ VARCHAR, score VARCHAR) | What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286? | SELECT to_par FROM table_name_52 WHERE money___£__ = "40,850" AND score = 72 - 74 - 70 - 70 = 286 |
CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR) | What is the total with a 25-19 set 2 on Jun 17? | SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17" |
CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR) | What is the To par for Robert Allenby from Australia | SELECT to_par FROM table_name_6 WHERE country = "australia" AND player = "robert allenby" |
CREATE TABLE table_name_26 (attendance INTEGER, home_team VARCHAR) | What is the lowest Attendance, when Home Team is "Welling United"? | SELECT MIN(attendance) FROM table_name_26 WHERE home_team = "welling united" |
CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR, player VARCHAR) | Which place is Andy Bean from the United States? | SELECT place FROM table_name_50 WHERE country = "united states" AND player = "andy bean" |
CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR) | Which League that has a Open Cup of 1st round, and a Year of 2009? | SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009 |
CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR) | What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16? | SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = "high park demons" AND points < 16 |
CREATE TABLE table_name_45 (loses VARCHAR, points_for VARCHAR, points_against VARCHAR, club VARCHAR) | How many losses have points against greater than 592, with high park demons as the club, and points for greater than 631? | SELECT COUNT(loses) FROM table_name_45 WHERE points_against > 592 AND club = "high park demons" AND points_for > 631 |
CREATE TABLE table_name_84 (loses VARCHAR, points VARCHAR, points_against VARCHAR, points_for VARCHAR, wins VARCHAR) | What losses have points for less than 1175, wins greater than 2, points against greater than 894, and 24 as the points? | SELECT loses FROM table_name_84 WHERE points_for < 1175 AND wins > 2 AND points_against > 894 AND points = 24 |
CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR) | What is the wards/branches of the fort smith Arkansas stake? | SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas" |
CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR) | What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs? | SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 8 |
CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR) | Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley? | SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley" |
CREATE TABLE table_name_49 (death_date VARCHAR, place_of_death_or_residence VARCHAR, age__as_of_1_february_2014_ VARCHAR) | Which Death date has a Place of death or residence of united states, and an Age (as of 1 February 2014) of 111 years, 61 days? | SELECT death_date FROM table_name_49 WHERE place_of_death_or_residence = "united states" AND age__as_of_1_february_2014_ = "111 years, 61 days" |
CREATE TABLE table_name_77 (goal_difference INTEGER, losses VARCHAR, points VARCHAR, club VARCHAR) | Which Goal Difference has 28 Points, and a Club of cd cartagena, more than 15 losses? | SELECT MAX(goal_difference) FROM table_name_77 WHERE points = 28 AND club = "cd cartagena" AND losses > 15 |
CREATE TABLE table_name_22 (goal_difference INTEGER, points VARCHAR, losses VARCHAR, draws VARCHAR) | How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points? | SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40 |
CREATE TABLE table_name_40 (longest_span_in_s_metre___feet__ VARCHAR, location VARCHAR) | How long is the bridge in Villeneuve-sur-Lot? | SELECT longest_span_in_s_metre___feet__ FROM table_name_40 WHERE location = "villeneuve-sur-lot" |
CREATE TABLE table_name_57 (nationality VARCHAR, player VARCHAR, years_in_orlando VARCHAR) | Which Nationality has a Player of keith bogans, and a Years in Orlando of 2006–2009? | SELECT nationality FROM table_name_57 WHERE player = "keith bogans" AND years_in_orlando = "2006–2009" |
CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR) | Which location had previous champions of Mike Webb and Nick Fahrenheit? | SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit" |
CREATE TABLE table_name_95 (points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR) | What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15? | SELECT COUNT(points) FROM table_name_95 WHERE drawn < 2 AND team = "paulistano" AND against < 15 |
CREATE TABLE table_name_32 (score VARCHAR, to_par VARCHAR, player VARCHAR) | What is Justin Leonard with a To par of –7's Score? | SELECT score FROM table_name_32 WHERE to_par = "–7" AND player = "justin leonard" |
CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR) | With the Republican ticket of Frank M. Williams who was the Progressive ticket? | SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams" |
CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR) | Which Socialist Labor ticket has a Office of secretary of state? | SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state" |
CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR) | What is the lowest grid number when Colin Edwards is the rider? | SELECT MIN(grid) FROM table_name_46 WHERE rider = "colin edwards" |
CREATE TABLE table_name_1 (no_specimens INTEGER, abbr VARCHAR) | How many specimens does the SANT institution have? | SELECT SUM(no_specimens) FROM table_name_1 WHERE abbr = "sant" |
CREATE TABLE table_name_10 (election VARCHAR) | Which 1st Party has an Election of 1893 by-election? | SELECT 1 AS st_party FROM table_name_10 WHERE election = "1893 by-election" |
CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR) | What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11? | SELECT apogee FROM table_name_48 WHERE inclination = "65°" AND launch_date_time___gmt__ = "15 february 1973, 01:11" |
CREATE TABLE table_name_49 (player VARCHAR, place VARCHAR, country VARCHAR) | Which player had a position of t1 and played in the united states? | SELECT player FROM table_name_49 WHERE place = "t1" AND country = "united states" |
CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR) | Who is the incumbent that has been in office since before 1996 and was again re-elected? | SELECT incumbent FROM table_name_90 WHERE results = "re-elected" AND first_elected < 1996 |
CREATE TABLE table_name_76 (block INTEGER, date_of_birth VARCHAR, height VARCHAR) | What is the highest block that has 15.09.1981 as the date, and a height greater than 202? | SELECT MAX(block) FROM table_name_76 WHERE date_of_birth = "15.09.1981" AND height > 202 |
CREATE TABLE table_name_41 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR) | WHAT IS THE SUB-PARISH WITH A YEAR AFTER 1916, IN ortnevik? | SELECT sub_parish__sogn_ FROM table_name_41 WHERE year_built > 1916 AND location_of_the_church = "ortnevik" |
CREATE TABLE table_name_17 (club VARCHAR, group VARCHAR, stadium VARCHAR) | When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal? | SELECT 2009 AS _season FROM table_name_17 WHERE group = "group b" AND stadium = "cancha del mystic" AND club = "el tecal" |
CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR) | What is Date, when Matches is less than 32, and when Round is Fifth Round Proper? | SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper" |
CREATE TABLE table_name_16 (matches VARCHAR, clubs VARCHAR) | What is the total number of Matches, when Clubs is 588 → 406? | SELECT COUNT(matches) FROM table_name_16 WHERE clubs = "588 → 406" |
CREATE TABLE table_name_51 (record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR) | Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87–79? | SELECT record FROM table_name_51 WHERE location_attendance = "ford center" AND game > 30 AND score = "87–79" |
CREATE TABLE table_name_92 (nat VARCHAR, name VARCHAR, ends VARCHAR, since VARCHAR) | What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is Paligeorgos? | SELECT nat FROM table_name_92 WHERE ends > 2010 AND since = 2006 AND name = "paligeorgos" |
CREATE TABLE table_name_9 (cultural_and_educational_panel VARCHAR, labour_panel VARCHAR, industrial_and_commercial_panel VARCHAR) | Which Cultural and Educational Panel has a Labour Panel larger than 5, and an Industrial and Commercial Panel larger than 9? | SELECT COUNT(cultural_and_educational_panel) FROM table_name_9 WHERE labour_panel > 5 AND industrial_and_commercial_panel > 9 |
CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER) | Which Administrative Panel has a Nominated by the Taoiseach smaller than 0? | SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 0 |
CREATE TABLE table_name_46 (labour_panel INTEGER, industrial_and_commercial_panel VARCHAR, university_of_dublin VARCHAR) | Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3? | SELECT AVG(labour_panel) FROM table_name_46 WHERE industrial_and_commercial_panel = 9 AND university_of_dublin < 3 |
CREATE TABLE table_name_80 (olympics_so_far INTEGER, class VARCHAR, sailors VARCHAR, first_og VARCHAR) | What is the lowest value for Olympics, when Sailors is greater than 1, when First OG is after 1948, and when Class is "Flying Dutchman"? | SELECT MIN(olympics_so_far) FROM table_name_80 WHERE sailors > 1 AND first_og > 1948 AND class = "flying dutchman" |
CREATE TABLE table_name_89 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, nationality VARCHAR) | Which Elevator has Elevated of april 12, 1281, a Nationality of french, and an Elector of jean cholet? | SELECT elevator FROM table_name_89 WHERE elevated = "april 12, 1281" AND nationality = "french" AND elector = "jean cholet" |
CREATE TABLE table_name_51 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | What is Runner(s)-Up, when Margin of Victory is 1 Stroke, and when Tournament is Joburg Open 1? | SELECT runner_s__up FROM table_name_51 WHERE margin_of_victory = "1 stroke" AND tournament = "joburg open 1" |
CREATE TABLE table_name_29 (elevator VARCHAR, title VARCHAR) | Which Elevator has a Title of bishop of palestrina? | SELECT elevator FROM table_name_29 WHERE title = "bishop of palestrina" |
CREATE TABLE table_name_13 (poles INTEGER, team VARCHAR, points VARCHAR) | What is the sum of the poles of Team la filière, which has less than 162 points? | SELECT SUM(poles) FROM table_name_13 WHERE team = "la filière" AND points < 162 |
CREATE TABLE table_name_3 (cultural_and_educational_panel INTEGER, university_of_dublin VARCHAR, administrative_panel VARCHAR, agricultural_panel VARCHAR) | What is the sum of the Cultural and Educational Panels that have an Administrative Panel greater than 1, an Agricultural Panel of 11 and a University of Dublin smaller than 3? | SELECT SUM(cultural_and_educational_panel) FROM table_name_3 WHERE administrative_panel > 1 AND agricultural_panel = 11 AND university_of_dublin < 3 |
CREATE TABLE table_name_46 (agricultural_panel INTEGER, industrial_and_commercial_panel INTEGER) | What is the sum of Agricultural panels that have an Industrial and Commercial Panel smaller than 0? | SELECT SUM(agricultural_panel) FROM table_name_46 WHERE industrial_and_commercial_panel < 0 |
CREATE TABLE table_name_49 (national_university_of_ireland INTEGER, cultural_and_educational_panel VARCHAR, labour_panel VARCHAR) | What is the lowest number of National University of Ireland that has a Cultural and Educational Panel of 0, and a Labour Panel smaller than 1? | SELECT MIN(national_university_of_ireland) FROM table_name_49 WHERE cultural_and_educational_panel = 0 AND labour_panel < 1 |
CREATE TABLE table_name_45 (industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR) | What is the total of Industrial and Commercial Panels that have a Labour Panel greater than 1, a Nominated by the Taoiseach lesss than 11 and a Cultural and Educational Panel smaller than 0 | SELECT COUNT(industrial_and_commercial_panel) FROM table_name_45 WHERE labour_panel > 1 AND nominated_by_the_taoiseach < 11 AND cultural_and_educational_panel < 0 |
CREATE TABLE table_name_21 (assists VARCHAR, minutes VARCHAR, player VARCHAR, position VARCHAR, goals VARCHAR) | What is the total number of assists when Edmundo Rodriguez is playing the position of striker, less than 4 goals were scored, and the minutes were less than 473? | SELECT COUNT(assists) FROM table_name_21 WHERE position = "striker" AND goals < 4 AND player = "edmundo rodriguez" AND minutes < 473 |
CREATE TABLE table_name_63 (to_par INTEGER, player VARCHAR, total VARCHAR) | Which To par has a Player of jack nicklaus, and a Total smaller than 146? | SELECT AVG(to_par) FROM table_name_63 WHERE player = "jack nicklaus" AND total < 146 |
CREATE TABLE table_name_25 (points_for_higher INTEGER, points_for_foundation VARCHAR, points_for_ordinary VARCHAR, grade VARCHAR) | What average points for highers has 0 has points for ordinary, and Ng as the grade, and less than 0 as points for foundation? | SELECT AVG(points_for_higher) FROM table_name_25 WHERE points_for_ordinary = 0 AND grade = "ng" AND points_for_foundation < 0 |
CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR) | What team has 0 points and a contact tired/retired, and 71 laps? | SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = "contact" AND laps = 71 |
CREATE TABLE table_name_92 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | What was the average number of laps completed by KTM riders, with times of +56.440 and grid values under 11? | SELECT AVG(laps) FROM table_name_92 WHERE manufacturer = "ktm" AND time_retired = "+56.440" AND grid < 11 |
CREATE TABLE table_name_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) | What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660? | SELECT MAX(grid) FROM table_name_22 WHERE manufacturer = "aprilia" AND time_retired = "+1.660" |
CREATE TABLE table_name_39 (team VARCHAR, player VARCHAR) | What team does Oliver Dobbins play for? | SELECT team FROM table_name_39 WHERE player = "oliver dobbins" |
CREATE TABLE table_name_4 (year_s__won VARCHAR, country VARCHAR, total VARCHAR) | What year did the United States win with a total of 278? | SELECT year_s__won FROM table_name_4 WHERE country = "united states" AND total = 278 |
CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER) | What is the to par when the total is larger than 288? | SELECT to_par FROM table_name_97 WHERE total > 288 |
CREATE TABLE table_name_21 (runner_s__up VARCHAR, tournament VARCHAR) | Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament? | SELECT runner_s__up FROM table_name_21 WHERE tournament = "merrill lynch/golf digest commemorative pro-am" |
CREATE TABLE table_name_11 (year INTEGER, placement_in_miss_world VARCHAR, delegate VARCHAR) | What's the latest year that daisy garcia reyes did not place in miss world? | SELECT MAX(year) FROM table_name_11 WHERE placement_in_miss_world = "did not place" AND delegate = "daisy garcia reyes" |
CREATE TABLE table_name_86 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | Who was the runner-up for the mazda senior tournament players championship tournament when the margin of victory was 2 strokes? | SELECT runner_s__up FROM table_name_86 WHERE margin_of_victory = "2 strokes" AND tournament = "mazda senior tournament players championship" |
CREATE TABLE table_name_2 (week_of VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR) | What is the Week when anke huber chanda rubin shows for Semi finalists, and the Runner-up is meredith mcgrath larisa savchenko? | SELECT week_of FROM table_name_2 WHERE semi_finalists = "anke huber chanda rubin" AND runner_up = "meredith mcgrath larisa savchenko" |
CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR) | Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11? | SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-11" |
CREATE TABLE table_name_17 (party VARCHAR, established VARCHAR, election VARCHAR) | What party established in 1797 won an election in 2007? | SELECT party FROM table_name_17 WHERE established > 1797 AND election = 2007 |
CREATE TABLE table_name_98 (height__m_ INTEGER, prominence__m_ VARCHAR) | What is the largest height when the prominence is 3,118? | SELECT MAX(height__m_) FROM table_name_98 WHERE prominence__m_ = 3 OFFSET 118 |
CREATE TABLE table_name_21 (population INTEGER, county VARCHAR, number_of_households VARCHAR) | Which Population has a County of mississippi, and a Number of households smaller than 17,741? | SELECT SUM(population) FROM table_name_21 WHERE county = "mississippi" AND number_of_households < 17 OFFSET 741 |
CREATE TABLE table_name_75 (rank INTEGER, name VARCHAR, birth VARCHAR) | What rank is He Yingqin who was born before 1890? | SELECT AVG(rank) FROM table_name_75 WHERE name = "he yingqin" AND birth < 1890 |
CREATE TABLE table_name_16 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, average_population__x_1000_ VARCHAR) | What is the highest crude death rate when deaths are 3 433 and average population is greater than 298? | SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = "3 433" AND average_population__x_1000_ > 298 |
CREATE TABLE table_name_79 (live_births VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, average_population__x_1000_ VARCHAR) | How many live births where the crude birth rate is lore than 15.7, average population is less than 297 and deaths are al 4 686? | SELECT live_births FROM table_name_79 WHERE crude_birth_rate__per_1000_ > 15.7 AND average_population__x_1000_ < 297 AND deaths = "4 686" |
CREATE TABLE table_name_96 (natural_change VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, crude_death_rate__per_1000_ VARCHAR) | What is the national change where crude birth rate is less than 11.4, crude death rate is more than 12.1 and deaths are 4 376? | SELECT natural_change FROM table_name_96 WHERE crude_birth_rate__per_1000_ < 11.4 AND crude_death_rate__per_1000_ > 12.1 AND deaths = "4 376" |
CREATE TABLE table_name_40 (average_population__x_1000_ INTEGER, deaths VARCHAR, crude_death_rate__per_1000_ VARCHAR) | What is the average population when deaths are 3 557 and crude death date is less than 11.9? | SELECT AVG(average_population__x_1000_) FROM table_name_40 WHERE deaths = "3 557" AND crude_death_rate__per_1000_ < 11.9 |
CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR) | What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2? | SELECT venue FROM table_name_23 WHERE competition = "2002 fifa world cup qualifier" AND result = "8-2" |
CREATE TABLE table_name_21 (covalent__single_bond_ VARCHAR, name VARCHAR) | What is the covalent (single bond) value of sodium? | SELECT covalent__single_bond_ FROM table_name_21 WHERE name = "sodium" |
CREATE TABLE table_name_87 (goals_scored INTEGER, loses VARCHAR, wins VARCHAR, goals_conceded VARCHAR) | What is the maximum goals score with less than 13 wins, greater than 86 goals were conceded, and more than 32 games lost? | SELECT MAX(goals_scored) FROM table_name_87 WHERE wins < 13 AND goals_conceded > 86 AND loses > 32 |
CREATE TABLE table_name_32 (surface VARCHAR, score VARCHAR) | On what surface was the match played with a score of 2–6, 6–3, 6–4? | SELECT surface FROM table_name_32 WHERE score = "2–6, 6–3, 6–4" |
CREATE TABLE table_name_33 (school_year VARCHAR) | What is 02-03, when School Year is % Learning In Latvian? | SELECT 02 AS _03 FROM table_name_33 WHERE school_year = "% learning in latvian" |
CREATE TABLE table_name_93 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR) | Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994? | SELECT opponent_in_the_final FROM table_name_93 WHERE tournament = "taipei, taiwan" AND date = "november 14, 1994" |
CREATE TABLE table_name_26 (inhabitants VARCHAR, party VARCHAR, election VARCHAR) | Which inhabitants have lega lombarda as the party, with an election greater than 2010? | SELECT inhabitants FROM table_name_26 WHERE party = "lega lombarda" AND election > 2010 |
CREATE TABLE table_name_4 (election INTEGER, municipality VARCHAR) | What is the lowest election that has cinisello balsamo as the municipality? | SELECT MIN(election) FROM table_name_4 WHERE municipality = "cinisello balsamo" |
CREATE TABLE table_name_17 (opponent_in_the_final VARCHAR, date VARCHAR) | Who was played against in the final on November 14, 1994? | SELECT opponent_in_the_final FROM table_name_17 WHERE date = "november 14, 1994" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.