question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What location was fábio maldonado the opponent at? | CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado" |
What school or club did number 35 play for? | CREATE TABLE table_11545282_7 (school_club_team VARCHAR, no VARCHAR) | SELECT school_club_team FROM table_11545282_7 WHERE no = 35 |
How many goals against have 58 points? | CREATE TABLE table_name_82 (goals_against VARCHAR, points VARCHAR) | SELECT goals_against FROM table_name_82 WHERE points = 58 |
What is the coaster name that was opened in 1978, and have wooden track? | CREATE TABLE table_name_40 (coaster_name VARCHAR, year_opened VARCHAR, track VARCHAR) | SELECT coaster_name FROM table_name_40 WHERE year_opened = "1978" AND track = "wooden" |
When La Crescenta-Montrose has 66%, what is Tujunga? | CREATE TABLE table_name_85 (tujunga VARCHAR, la_crescenta__montrose VARCHAR) | SELECT tujunga FROM table_name_85 WHERE la_crescenta__montrose = "66%" |
what's current club with player being nikolaos chatzivrettas | CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR) | SELECT current_club FROM table_12962773_1 WHERE player = "Nikolaos Chatzivrettas" |
What percentage of users were using mobile browsers during the period in which 2.62% were using Opera? | CREATE TABLE table_name_31 (mobile VARCHAR, opera VARCHAR) | SELECT mobile FROM table_name_31 WHERE opera = "2.62%" |
what's the capital with area (km 2 ) being 12,245.9 | CREATE TABLE table_1404456_1 (capital VARCHAR, area__km_2__ VARCHAR) | SELECT capital FROM table_1404456_1 WHERE area__km_2__ = "12,245.9" |
how many new managers replaced manager(s) who resigned? | CREATE TABLE table_28164986_4 (incoming_manager VARCHAR, manner_of_departure VARCHAR) | SELECT COUNT(incoming_manager) FROM table_28164986_4 WHERE manner_of_departure = "Resigned" |
Which division is the Derbyshire Falcons in? | CREATE TABLE table_name_68 (division VARCHAR, team VARCHAR) | SELECT division FROM table_name_68 WHERE team = "derbyshire falcons" |
What is the capacity of the team in tucson, USA? | CREATE TABLE table_name_95 (capacity VARCHAR, country VARCHAR, city VARCHAR) | SELECT capacity FROM table_name_95 WHERE country = "usa" AND city = "tucson" |
What is the 2nd leg of pelister team 2? | CREATE TABLE table_name_90 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_90 WHERE team_2 = "pelister" |
What was the average money when the score was 68-69-68-72=277? | CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277 |
What is the highest market value in billions of the company with profits of 20.96 billions and 166.99 billions in assets? | CREATE TABLE table_name_79 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) | SELECT MAX(market_value__billion_) AS $_ FROM table_name_79 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ > 166.99 |
What country parred E and scored 71-73-70-74=288? | CREATE TABLE table_name_19 (country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT country FROM table_name_19 WHERE to_par = "e" AND score = 71 - 73 - 70 - 74 = 288 |
What is 2001, when 2007 is "1R", and when 2008 is "Q1"? | CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 2001 FROM table_name_99 WHERE 2007 = "1r" AND 2008 = "q1" |
When art grand prix is the team and 2010 is the season how many wins are there? | CREATE TABLE table_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR) | SELECT COUNT(wins) FROM table_25352318_1 WHERE season = 2010 AND team = "ART Grand Prix" |
I want to know the events for 106 bands | CREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR) | SELECT event FROM table_name_16 WHERE acts = "106 bands" |
What was the role in the chipmunk adventure? | CREATE TABLE table_name_53 (role VARCHAR, title VARCHAR) | SELECT role FROM table_name_53 WHERE title = "the chipmunk adventure" |
Which Score has High points of douglas (15)? | CREATE TABLE table_name_90 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_90 WHERE high_points = "douglas (15)" |
What was the record while at home in Anaheim? | CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_95 WHERE home = "anaheim" |
During Game 2, which position did Andrew Farrar play? | CREATE TABLE table_name_20 (position VARCHAR, game_2 VARCHAR) | SELECT position FROM table_name_20 WHERE game_2 = "andrew farrar" |
What Nationality of the person who has a Rank of 4 | CREATE TABLE table_name_59 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4 |
What is the area of the appelation that produces the highest number of wines before the year of 2010? | CREATE TABLE WINE (Appelation VARCHAR, year VARCHAR); CREATE TABLE APPELLATIONS (Area VARCHAR, Appelation VARCHAR) | SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING T2.year < 2010 ORDER BY COUNT(*) DESC LIMIT 1 |
What are the names and areas of countries with the top 5 largest area? | CREATE TABLE country (Name VARCHAR, SurfaceArea VARCHAR) | SELECT Name, SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 5 |
Name the total number of date for score being l 106–116 (ot) | CREATE TABLE table_23281862_10 (date VARCHAR, score VARCHAR) | SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106–116 (OT)" |
Which Lead has a Second of katrin kuusk? | CREATE TABLE table_name_23 (lead VARCHAR, second VARCHAR) | SELECT lead FROM table_name_23 WHERE second = "katrin kuusk" |
What is the time with 10 grids? | CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_81 WHERE grid = 10 |
Find the first name and gpa of the students whose gpa is lower than the average gpa of all students. | CREATE TABLE student (stu_fname VARCHAR, stu_gpa INTEGER) | SELECT stu_fname, stu_gpa FROM student WHERE stu_gpa < (SELECT AVG(stu_gpa) FROM student) |
Which Record has an Event of cage rage 23? | CREATE TABLE table_name_35 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_35 WHERE event = "cage rage 23" |
How many goal differences have Played larger than 44? | CREATE TABLE table_name_99 (goal_difference INTEGER, played INTEGER) | SELECT SUM(goal_difference) FROM table_name_99 WHERE played > 44 |
What is the headphone model which was succeeded by sr325? | CREATE TABLE table_name_59 (headphone_model VARCHAR, succeeded_by VARCHAR) | SELECT headphone_model FROM table_name_59 WHERE succeeded_by = "sr325" |
What was the lowest lap with the ranking of 19? | CREATE TABLE table_name_99 (laps INTEGER, start VARCHAR) | SELECT MIN(laps) FROM table_name_99 WHERE start = "19" |
How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841? | CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR) | SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendance = "KeyArena 16,841" |
Which date was a rest day? | CREATE TABLE table_name_81 (date VARCHAR, course VARCHAR) | SELECT date FROM table_name_81 WHERE course = "rest day" |
What's the score during a game than had a tie no of 19? | CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_47 WHERE tie_no = "19" |
What was the attendance at the game when the record was 35-46? | CREATE TABLE table_name_20 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_20 WHERE record = "35-46" |
What date was match 5? | CREATE TABLE table_name_29 (date VARCHAR, match VARCHAR) | SELECT date FROM table_name_29 WHERE match = 5 |
How many weeks total are there? | CREATE TABLE table_24989925_2 (week INTEGER) | SELECT MAX(week) FROM table_24989925_2 |
What is the lowest pick of the defensive tackle player dave haverdick? | CREATE TABLE table_name_30 (pick INTEGER, position VARCHAR, player VARCHAR) | SELECT MIN(pick) FROM table_name_30 WHERE position = "defensive tackle" AND player = "dave haverdick" |
What is the lowest goal difference of club real betis, who has less than 18 wins? | CREATE TABLE table_name_10 (goal_difference INTEGER, club VARCHAR, wins VARCHAR) | SELECT MIN(goal_difference) FROM table_name_10 WHERE club = "real betis" AND wins < 18 |
What is the frequency of the station located in polangui, albay? | CREATE TABLE table_27588823_2 (frequency VARCHAR, location VARCHAR) | SELECT frequency FROM table_27588823_2 WHERE location = "Polangui, Albay" |
Name the height for the player born in 1980 and center? | CREATE TABLE table_12962773_13 (height VARCHAR, year_born VARCHAR, position VARCHAR) | SELECT height FROM table_12962773_13 WHERE year_born = 1980 AND position = "Center" |
What was the date for monaco grand prix? | CREATE TABLE table_1140067_2 (date VARCHAR, race VARCHAR) | SELECT date FROM table_1140067_2 WHERE race = "Monaco Grand Prix" |
What is the term limit for Senator Tom Niehaus? | CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR) | SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus" |
What field is an opponent of cannons and resulted with w 16-11? | CREATE TABLE table_name_88 (field VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT field FROM table_name_88 WHERE opponent = "cannons" AND result = "w 16-11" |
What year was the West Coast League established than the championships are greater than 0? | CREATE TABLE table_name_32 (established VARCHAR, championships VARCHAR, league VARCHAR) | SELECT established FROM table_name_32 WHERE championships > 0 AND league = "west coast league" |
What player attended UAB college? | CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_53 WHERE college = "uab" |
WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG? | CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = "pre-season" AND replaced_by = "thomas thomasberg" |
Tell me the sum of evening gown for average of 9.06 and swimsuit less than 8.76 | CREATE TABLE table_name_53 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR) | SELECT SUM(evening_gown) FROM table_name_53 WHERE average = 9.06 AND swimsuit < 8.76 |
What is the average PCT when it has a PTS smaller than 9 a wins larger than 1? | CREATE TABLE table_name_45 (pct INTEGER, pts VARCHAR, wins VARCHAR) | SELECT AVG(pct) FROM table_name_45 WHERE pts < 9 AND wins > 1 |
Name the stadium for nizhny novgorod | CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR) | SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod" |
What is the lowest earnings of Lee Trevino who has 28 wins? | CREATE TABLE table_name_49 (earnings___ INTEGER, wins VARCHAR, player VARCHAR) | SELECT MIN(earnings___) AS $__ FROM table_name_49 WHERE wins = 28 AND player = "lee trevino" |
What venue listed is dated February 22, 2003? | CREATE TABLE table_name_4 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_4 WHERE date = "february 22, 2003" |
What is the Airport in Singapore? | CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR) | SELECT airport FROM table_name_77 WHERE country = "singapore" |
When was the game played against Norway with a result of 1:0? | CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) | SELECT date FROM table_name_7 WHERE opponent = "norway" AND results¹ = "1:0" |
What are the names of stations that have latitude lower than 37.5? | CREATE TABLE station (name VARCHAR, lat INTEGER) | SELECT name FROM station WHERE lat < 37.5 |
Which venue had the opposing team Natal? | CREATE TABLE table_name_16 (venue VARCHAR, opposing_team VARCHAR) | SELECT venue FROM table_name_16 WHERE opposing_team = "natal" |
What is the number of car models that are produced by each maker and what is the id and full name of each maker? | CREATE TABLE CAR_MAKERS (FullName VARCHAR, id VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR) | SELECT COUNT(*), T2.FullName, T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id |
Which series is based in Toronto on may 18? | CREATE TABLE table_name_3 (series VARCHAR, home VARCHAR, date VARCHAR) | SELECT series FROM table_name_3 WHERE home = "toronto" AND date = "may 18" |
In what Year was the Finish Champions? | CREATE TABLE table_name_99 (year VARCHAR, finish VARCHAR) | SELECT year FROM table_name_99 WHERE finish = "champions" |
What is the losing bonus when the points are 24? | CREATE TABLE table_14058433_3 (losing_bonus VARCHAR, points VARCHAR) | SELECT losing_bonus FROM table_14058433_3 WHERE points = "24" |
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891? | CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR) | SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891" |
Which contestant was sponsored by Yogurt Vita Slim? | CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR) | SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim" |
When did Mathieu play against Antonio Veić? | CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_60 WHERE opponent_in_the_final = "antonio veić" |
What is the minimum number which is for title The Enemy Within part 1? | CREATE TABLE table_18305523_1 (_number INTEGER) | SELECT MIN(_number) FROM table_18305523_1 |
Which Tournament has a Score of 3–6 6–4 4–6? | CREATE TABLE table_name_43 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_43 WHERE score = "3–6 6–4 4–6" |
What was the highest heat with a time slower than 48.87 from sweden? | CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR) | SELECT MAX(heat) FROM table_name_48 WHERE time > 48.87 AND nationality = "sweden" |
What type of surface was used where the final score was 6–2, 6–3? | CREATE TABLE table_name_41 (surface VARCHAR, score_in_the_final VARCHAR) | SELECT surface FROM table_name_41 WHERE score_in_the_final = "6–2, 6–3" |
Tell me the year built for withdrawn of 1983 | CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR) | SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983 |
What round was held at Knowsley Road, resulting in a lose. | CREATE TABLE table_13328239_4 (round VARCHAR, venue VARCHAR, result VARCHAR) | SELECT round FROM table_13328239_4 WHERE venue = "Knowsley Road" AND result = "Lose" |
If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm? | CREATE TABLE table_11497980_1 (torque_nm VARCHAR, gcm__kg__technical_capacity VARCHAR, engine_make_capacity VARCHAR) | SELECT torque_nm AS @rpm FROM table_11497980_1 WHERE gcm__kg__technical_capacity = "23000" AND engine_make_capacity = "MWM 6.10 TCA-EURO III (Turbo Intercooler)" |
What was the first time in December they played the Colorado Avalanche? | CREATE TABLE table_name_76 (december INTEGER, opponent VARCHAR) | SELECT MIN(december) FROM table_name_76 WHERE opponent = "colorado avalanche" |
what is the country for geoff ogilvy? | CREATE TABLE table_name_88 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_88 WHERE player = "geoff ogilvy" |
When was the Jamaica Classic Tournament? | CREATE TABLE table_name_10 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_10 WHERE tournament = "the jamaica classic" |
Who was the visitor that led to a 3-0-2 record? | CREATE TABLE table_name_15 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_15 WHERE record = "3-0-2" |
What Ship was Built by Cammell Laird? | CREATE TABLE table_name_70 (ship VARCHAR, builder VARCHAR) | SELECT ship FROM table_name_70 WHERE builder = "cammell laird" |
How many kicks did he get in the year when he played 7 games? | CREATE TABLE table_name_61 (kicks VARCHAR, games VARCHAR) | SELECT kicks FROM table_name_61 WHERE games = "7" |
In what tournament was the winning score 68-67-65-66=266? | CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_1615980_4 WHERE winning_score = 68 - 67 - 65 - 66 = 266 |
What is Package/Option, when Language is Italian, and when Television Service is Sky Radio? | CREATE TABLE table_name_51 (package_option VARCHAR, language VARCHAR, television_service VARCHAR) | SELECT package_option FROM table_name_51 WHERE language = "italian" AND television_service = "sky radio" |
Name the college/junior club team for ian turnbull | CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull" |
What was the average crowd size for the game when the Gold Coast Blaze was the home team? | CREATE TABLE table_name_77 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_77 WHERE home_team = "gold coast blaze" |
What is the D45 associated with a D42 of r 22? | CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR) | SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22" |
What PBA team is the player from Ateneo college with a pick number smaller than 15 from? | CREATE TABLE table_name_65 (pba_team VARCHAR, pick VARCHAR, college VARCHAR) | SELECT pba_team FROM table_name_65 WHERE pick < 15 AND college = "ateneo" |
what is the part number when the release date is january 2011, the frequency is 3.4 ghz and the release price (usd) is $317? | CREATE TABLE table_name_99 (part_number_s_ VARCHAR, release_price___usd__ VARCHAR, release_date VARCHAR, frequency VARCHAR) | SELECT part_number_s_ FROM table_name_99 WHERE release_date = "january 2011" AND frequency = "3.4 ghz" AND release_price___usd__ = "$317" |
Name the least events for japan | CREATE TABLE table_18888159_1 (events INTEGER, country VARCHAR) | SELECT MIN(events) FROM table_18888159_1 WHERE country = "Japan" |
Who was the losing team with a total of 24 when the winning team was Sydney Roosters? | CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR) | SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters" |
What is the maximum number of clubs remaining when the league entering at this round was allsvenskan? | CREATE TABLE table_29566686_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR) | SELECT MIN(clubs_remaining) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan" |
Name the episode with maritza reveron | CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR) | SELECT episode FROM table_2140071_10 WHERE coach = "Maritza Reveron" |
Which Championships (Years) have a League of milb, florida state league, and a Venue of ed smith stadium? | CREATE TABLE table_name_96 (championships__years_ VARCHAR, league VARCHAR, venue VARCHAR) | SELECT championships__years_ FROM table_name_96 WHERE league = "milb, florida state league" AND venue = "ed smith stadium" |
What is the venue of the game where Geelong was the away team? | CREATE TABLE table_name_61 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_61 WHERE away_team = "geelong" |
When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? | CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR) | SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31" |
Who had the pole position when matt davies had the fastest lap? | CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR) | SELECT pole_position FROM table_29162856_1 WHERE fastest_lap = "Matt Davies" |
List the earnings of poker players in descending order. | CREATE TABLE poker_player (Earnings VARCHAR) | SELECT Earnings FROM poker_player ORDER BY Earnings DESC |
What is the total number of goals on the debut date of 14-04-1907? | CREATE TABLE table_11585313_1 (number_of_goals VARCHAR, date_of_debut VARCHAR) | SELECT COUNT(number_of_goals) FROM table_11585313_1 WHERE date_of_debut = "14-04-1907" |
What is the date that the record was 51-14? | CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_62 WHERE record = "51-14" |
How many times was the vote percentage 15.0%? | CREATE TABLE table_26375386_20 (total VARCHAR, vote_percentage VARCHAR) | SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = "15.0%" |
which Record is on March of 12 | CREATE TABLE table_name_53 (record VARCHAR, march VARCHAR) | SELECT record FROM table_name_53 WHERE march = 12 |
What is the Leading scorer with a Visitor of grizzlies, and with a Score with 114–111? | CREATE TABLE table_name_65 (leading_scorer VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT leading_scorer FROM table_name_65 WHERE visitor = "grizzlies" AND score = "114–111" |
What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"? | CREATE TABLE table_name_95 (minutes_played INTEGER, rebounds VARCHAR, field_goal__percentage VARCHAR) | SELECT MIN(minutes_played) FROM table_name_95 WHERE rebounds = 25 AND field_goal__percentage < 0.315 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.