question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the city the track of manzanita speedway is in? | CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR) | SELECT city FROM table_name_89 WHERE track = "manzanita speedway" |
How many Extra Points were scored by the Player who had 5 Points and less than 1 Touchdowns? | CREATE TABLE table_name_6 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR) | SELECT MIN(extra_points) FROM table_name_6 WHERE points = 5 AND touchdowns < 1 |
Which stadium was used for the North East Stars club? | CREATE TABLE table_name_3 (stadium VARCHAR, club VARCHAR) | SELECT stadium FROM table_name_3 WHERE club = "north east stars" |
Where is the headquarters of the place whose population in 2011 was 3811738? | CREATE TABLE table_1610301_1 (headquarters VARCHAR, population__2011_ VARCHAR) | SELECT headquarters FROM table_1610301_1 WHERE population__2011_ = 3811738 |
Risca RFC has 54 tries for and how many draws? | CREATE TABLE table_13741576_6 (drawn VARCHAR, tries_for VARCHAR) | SELECT drawn FROM table_13741576_6 WHERE tries_for = "54" |
What are the name and id of the team offering the lowest average salary? | CREATE TABLE team (name VARCHAR, team_id VARCHAR); CREATE TABLE salary (team_id VARCHAR, salary INTEGER) | SELECT T1.name, T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY AVG(T2.salary) LIMIT 1 |
What is the Total of the player who won before 1983 with a smaller than 4 To par? | CREATE TABLE table_name_46 (total VARCHAR, to_par VARCHAR, year_won VARCHAR) | SELECT COUNT(total) FROM table_name_46 WHERE to_par < 4 AND year_won < 1983 |
What was the result when Dundee was the opponent? | CREATE TABLE table_name_74 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_74 WHERE opponent = "dundee" |
What was the result on October 8, 1985? | CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_58 WHERE date = "october 8, 1985" |
Who was the runner-up in the tournament in which Omar Camporese held third place? | CREATE TABLE table_name_60 (runner_up VARCHAR, third_place VARCHAR) | SELECT runner_up FROM table_name_60 WHERE third_place = "omar camporese" |
Name the teams for third points of season cancelled | CREATE TABLE table_name_95 (teams VARCHAR, third__points_ VARCHAR) | SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled" |
If the founding university is in Washington, D.C., what was the founding date? | CREATE TABLE table_2538117_7 (founding_date VARCHAR, founding_university VARCHAR) | SELECT founding_date FROM table_2538117_7 WHERE founding_university = "Washington, D.C." |
What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern? | CREATE TABLE table_18424435_4 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & Stephanie Morgenstern" |
Which station is operated by BBC Radio under the talk radio genre? | CREATE TABLE table_name_63 (station VARCHAR, genre VARCHAR, operator VARCHAR) | SELECT station FROM table_name_63 WHERE genre = "talk radio" AND operator = "bbc radio" |
What was the locaction of the Evans test blast? | CREATE TABLE table_name_64 (location VARCHAR, name VARCHAR) | SELECT location FROM table_name_64 WHERE name = "evans" |
What is the most first elected for james c. davis? | CREATE TABLE table_1341930_11 (first_elected INTEGER, incumbent VARCHAR) | SELECT MAX(first_elected) FROM table_1341930_11 WHERE incumbent = "James C. Davis" |
What was the record when the attendance was 43,502? | CREATE TABLE table_name_95 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_95 WHERE attendance = "43,502" |
Name the written by for production code 4g07 | CREATE TABLE table_20967430_2 (written_by VARCHAR, prod_code VARCHAR) | SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07" |
What is the final position for the season 2012? | CREATE TABLE table_name_70 (final_position VARCHAR, season VARCHAR) | SELECT final_position FROM table_name_70 WHERE season = "2012" |
Name the fewest tries for leicester tigers with points less than 207 | CREATE TABLE table_name_6 (tries INTEGER, club VARCHAR, points VARCHAR) | SELECT MIN(tries) FROM table_name_6 WHERE club = "leicester tigers" AND points < 207 |
What is the nationality of the journalist with the largest number of years working? | CREATE TABLE journalist (Nationality VARCHAR, Years_working VARCHAR) | SELECT Nationality FROM journalist ORDER BY Years_working DESC LIMIT 1 |
Which Channel TV is located in Baltimore? | CREATE TABLE table_name_88 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) | SELECT channel_tv___dt__ FROM table_name_88 WHERE city_of_license__market = "baltimore" |
what is the party for district ohio 11? | CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341598_36 WHERE district = "Ohio 11" |
Name the railway when class is j15 | CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR) | SELECT railway FROM table_15608800_2 WHERE class = "J15" |
What is the attendance before week 1? | CREATE TABLE table_name_75 (attendance VARCHAR, week INTEGER) | SELECT COUNT(attendance) FROM table_name_75 WHERE week < 1 |
Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6–4, 6–2? | CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_95 WHERE outcome = "runner-up" AND surface = "hard" AND score = "6–4, 6–2" |
List the email, cell phone and home phone of all the professionals. | CREATE TABLE professionals (email_address VARCHAR, cell_number VARCHAR, home_phone VARCHAR) | SELECT email_address, cell_number, home_phone FROM professionals |
Opponent of chicago bulls had what location? | CREATE TABLE table_name_83 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_83 WHERE opponent = "chicago bulls" |
Who is in July where February is linda forsythe? | CREATE TABLE table_name_8 (july VARCHAR, february VARCHAR) | SELECT july FROM table_name_8 WHERE february = "linda forsythe" |
Which circuit did Michael Andretti win? | CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti" |
Which province has gmp for an IATA? | CREATE TABLE table_name_73 (province_region VARCHAR, iata VARCHAR) | SELECT province_region FROM table_name_73 WHERE iata = "gmp" |
Which Drawn has a Position of 2, and a Lost larger than 2? | CREATE TABLE table_name_24 (drawn INTEGER, position VARCHAR, lost VARCHAR) | SELECT MIN(drawn) FROM table_name_24 WHERE position = 2 AND lost > 2 |
What is the average when the tally is 3–11, with more than 4 matches?? | CREATE TABLE table_name_27 (average VARCHAR, tally VARCHAR, matches VARCHAR) | SELECT COUNT(average) FROM table_name_27 WHERE tally = "3–11" AND matches > 4 |
What race occurred on the date of 15 June? | CREATE TABLE table_name_74 (race VARCHAR, date VARCHAR) | SELECT race FROM table_name_74 WHERE date = "15 june" |
What is the lowest played that has a position greater than 6, 61 as the goals against, with a loss less than 16? | CREATE TABLE table_name_58 (played INTEGER, lost VARCHAR, position VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_58 WHERE position > 6 AND goals_against = 61 AND lost < 16 |
Which Elector has an Order of cardinal-priest, and a Nationality of french? | CREATE TABLE table_name_74 (elector VARCHAR, order VARCHAR, nationality VARCHAR) | SELECT elector FROM table_name_74 WHERE order = "cardinal-priest" AND nationality = "french" |
What is the sum of grid values of driver Michael Schumacher with lap counts larger than 66? | CREATE TABLE table_name_7 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = "michael schumacher" |
When 60,254 (58.0) is the toll poll percentage what is the for percentage? | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) | SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" |
Jimmie Lee Sloas was the composer for what album? | CREATE TABLE table_name_44 (album VARCHAR, composer_s_ VARCHAR) | SELECT album FROM table_name_44 WHERE composer_s_ = "jimmie lee sloas" |
with team #1 as lukoil academic what is team #2? | CREATE TABLE table_name_67 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_67 WHERE team__number1 = "lukoil academic" |
What is the format for the station owned by Dakota Broadcasting? | CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR) | SELECT format FROM table_2709_4 WHERE owner = "Dakota Broadcasting" |
Please list the age and famous title of artists in descending order of age. | CREATE TABLE artist (Famous_Title VARCHAR, Age VARCHAR) | SELECT Famous_Title, Age FROM artist ORDER BY Age DESC |
What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%? | CREATE TABLE table_1341577_43 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_1341577_43 WHERE candidates = "Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%" |
What's the IHSAA Class Football if the panthers are the mascot? | CREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers" |
what was the score when scoville jenkins was the opponent? | CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins" |
What Opponent has the Attendance of 14,029? | CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_77 WHERE attendance = "14,029" |
What year had the largest number of laps over 196? | CREATE TABLE table_name_52 (year VARCHAR, laps INTEGER) | SELECT year FROM table_name_52 WHERE laps > 196 |
What is State, when Member is "Gil Duthie"? | CREATE TABLE table_name_6 (state VARCHAR, member VARCHAR) | SELECT state FROM table_name_6 WHERE member = "gil duthie" |
Find the cities which were once a host city after 2010? | CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, year INTEGER) | SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year > 2010 |
In which lane did the swimmer with a time of 1:57.01 and a rank smaller than 6 swim? | CREATE TABLE table_name_17 (lane INTEGER, rank VARCHAR, time VARCHAR) | SELECT SUM(lane) FROM table_name_17 WHERE rank < 6 AND time = "1:57.01" |
What is the number of points for the vehicle with a mp4-17d chassis earlier than 2003? | CREATE TABLE table_name_83 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_83 WHERE chassis = "mp4-17d" AND year < 2003 |
What is the location for tournament on Jul 8-11? | CREATE TABLE table_26144632_1 (location VARCHAR, dates VARCHAR) | SELECT location FROM table_26144632_1 WHERE dates = "Jul 8-11" |
Which member of house of Habsburg-Lorraine had the spouse Charles II? | CREATE TABLE table_name_40 (name VARCHAR, spouse VARCHAR) | SELECT name FROM table_name_40 WHERE spouse = "charles ii" |
What was the record after the game against Washington? | CREATE TABLE table_28768469_9 (record VARCHAR, team VARCHAR) | SELECT record FROM table_28768469_9 WHERE team = "Washington" |
What official or native languages are spoken in the country whose capital city is Canberra? | CREATE TABLE table_1008653_1 (official_or_native_language_s___alphabet_script_ VARCHAR, capital___exonym__ VARCHAR) | SELECT official_or_native_language_s___alphabet_script_ FROM table_1008653_1 WHERE capital___exonym__ = "Canberra" |
Which nationality is player Brian Wilks? | CREATE TABLE table_21721351_18 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_21721351_18 WHERE player = "Brian Wilks" |
When was the Bye week? | CREATE TABLE table_name_62 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_62 WHERE result = "bye" |
How many different college/junior/club teams provided a player to the Washington Capitals NHL Team? | CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals" |
How many seasons did Ken Bouchard finish in 38th place? | CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR) | SELECT COUNT(year) FROM table_2333416_2 WHERE position = "38th" |
How many overalls have a pick greater than 19, with florida as the college? | CREATE TABLE table_name_24 (overall INTEGER, pick VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_24 WHERE pick > 19 AND college = "florida" |
Points difference of 18 - 33, and a Points smaller than 4 is the total of what sum of games? | CREATE TABLE table_name_10 (games INTEGER, points_difference VARCHAR, points VARCHAR) | SELECT SUM(games) FROM table_name_10 WHERE points_difference = "18 - 33" AND points < 4 |
What is the typical match smaller than 2? | CREATE TABLE table_name_90 (average INTEGER, matches INTEGER) | SELECT AVG(average) FROM table_name_90 WHERE matches < 2 |
What state is Ding and has a royal house of Ji? | CREATE TABLE table_name_87 (state VARCHAR, royal_house VARCHAR, name VARCHAR) | SELECT state FROM table_name_87 WHERE royal_house = "ji" AND name = "ding" |
what are all the location where date is 5 april | CREATE TABLE table_1137704_2 (location VARCHAR, date VARCHAR) | SELECT location FROM table_1137704_2 WHERE date = "5 April" |
What is the % (1960) of the county with a % (2040) of 3.4? | CREATE TABLE table_name_98 (_percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR) | SELECT COUNT(_percentage__1960_) FROM table_name_98 WHERE _percentage__2040_ = 3.4 |
Which Peak Position has a Date of 10 june 1998? | CREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR) | SELECT peak_position FROM table_name_21 WHERE date = "10 june 1998" |
What route has termini of fm 1472 sh 255? | CREATE TABLE table_name_49 (route_name VARCHAR, termini VARCHAR) | SELECT route_name FROM table_name_49 WHERE termini = "fm 1472 sh 255" |
Which aggravated assault has the highest amount and the following criteria: crime rate per 1000 greater than 89.1,rape value of 23, and a crime index greater than 1590? | CREATE TABLE table_name_90 (aggravated_assault INTEGER, crime_index_total VARCHAR, crime_rate_per_1000 VARCHAR, rape VARCHAR) | SELECT MAX(aggravated_assault) FROM table_name_90 WHERE crime_rate_per_1000 > 89.1 AND rape = 23 AND crime_index_total > 1590 |
How many weeks have September 14, 2008 as the date? | CREATE TABLE table_name_79 (week INTEGER, date VARCHAR) | SELECT SUM(week) FROM table_name_79 WHERE date = "september 14, 2008" |
What is Player, when To Par is +1, and when Score is 72-70-72=214? | CREATE TABLE table_name_70 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214 |
Which college is Kellen Davis from? | CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_44 WHERE player = "kellen davis" |
what is the lowest week when the attendance is 54,714? | CREATE TABLE table_name_41 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_41 WHERE attendance = 54 OFFSET 714 |
What Silver has a Golf of Li AO? | CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR) | SELECT silver FROM table_name_20 WHERE gold = "li ao" |
What is the Team on January 20? | CREATE TABLE table_name_97 (team VARCHAR, date VARCHAR) | SELECT team FROM table_name_97 WHERE date = "january 20" |
I want the trailers for 1931 and builder of mccw | CREATE TABLE table_name_48 (trailers VARCHAR, year VARCHAR, builder VARCHAR) | SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw" |
What is the highest round of a player from Sweden who plays right wing? | CREATE TABLE table_name_59 (round INTEGER, nationality VARCHAR, position VARCHAR) | SELECT MAX(round) FROM table_name_59 WHERE nationality = "sweden" AND position = "right wing" |
Where was the tournament located when Misun Cho won the championship? | CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR) | SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho" |
What was the location of the bout that lasted 5:00 and led to a 6-2-1 record? | CREATE TABLE table_name_17 (location VARCHAR, time VARCHAR, record VARCHAR) | SELECT location FROM table_name_17 WHERE time = "5:00" AND record = "6-2-1" |
What's the name that has the characters 廣亨? | CREATE TABLE table_name_87 (name__wade_giles_ VARCHAR, characters VARCHAR) | SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨" |
On what game sites are there where the team record is 0–5? | CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) | SELECT game_site FROM table_25380472_2 WHERE team_record = "0–5" |
What is Place, when Score is "70-68=138", and when Player is "Andrew Magee"? | CREATE TABLE table_name_1 (place VARCHAR, player VARCHAR, score VARCHAR) | SELECT place FROM table_name_1 WHERE score = 70 - 68 = 138 AND player = "andrew magee" |
Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2? | CREATE TABLE table_name_64 (drawn INTEGER, position VARCHAR, lost VARCHAR) | SELECT MAX(drawn) FROM table_name_64 WHERE position < 4 AND lost < 2 |
what is the position for robert johnson? | CREATE TABLE table_name_25 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_25 WHERE name = "robert johnson" |
Who was the opponent on November 11, 2001? | CREATE TABLE table_name_4 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_4 WHERE date = "november 11, 2001" |
What genre is the song recorded in 1929? | CREATE TABLE table_name_26 (genre VARCHAR, year_recorded VARCHAR) | SELECT genre FROM table_name_26 WHERE year_recorded = "1929" |
What is the goal difference for the team from Chorley? | CREATE TABLE table_name_99 (goal_difference VARCHAR, team VARCHAR) | SELECT goal_difference FROM table_name_99 WHERE team = "chorley" |
What is the maximum diameter of the Mid West Gas Pipeline (1999)? | CREATE TABLE table_name_57 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR) | SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (1999)" |
What is the number of professors for different school? | CREATE TABLE department (school_code VARCHAR, dept_code VARCHAR); CREATE TABLE professor (dept_code VARCHAR) | SELECT COUNT(*), T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.school_code |
What is the score for the match where albert montañés was the partner? | CREATE TABLE table_name_60 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_60 WHERE partner = "albert montañés" |
What is the name of the restaurant originally named Essence? | CREATE TABLE table_name_93 (restaurant_name VARCHAR, original_name VARCHAR) | SELECT restaurant_name FROM table_name_93 WHERE original_name = "essence" |
what is the position of the player from florida? | CREATE TABLE table_name_63 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_63 WHERE college = "florida" |
What is the engine type with a model with base 2.4? | CREATE TABLE table_name_90 (engine_type VARCHAR, model VARCHAR) | SELECT engine_type FROM table_name_90 WHERE model = "base 2.4" |
What was the result for the 71,164 in attendance? | CREATE TABLE table_name_9 (result VARCHAR, attendance INTEGER) | SELECT result FROM table_name_9 WHERE attendance > 71 OFFSET 164 |
What 2nd run has a less than 6 rank, and 3 as the total? | CREATE TABLE table_name_69 (rank VARCHAR, total VARCHAR) | SELECT 2 AS nd_run FROM table_name_69 WHERE rank < 6 AND total = 3 |
Name the total number of points for when try bonus is 10 | CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR) | SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10" |
What is the lowest number of attempts for the player with a rank number larger than 3, who started after 1984 and had less than 6.1 yds/att? | CREATE TABLE table_name_57 (attempts INTEGER, yds_att VARCHAR, rank VARCHAR, start VARCHAR) | SELECT MIN(attempts) FROM table_name_57 WHERE rank > 3 AND start > 1984 AND yds_att < 6.1 |
When the others had a value of 7%, what was the Polling organisation/client? | CREATE TABLE table_name_5 (polling_organisation_client VARCHAR, others VARCHAR) | SELECT polling_organisation_client FROM table_name_5 WHERE others = "7%" |
Which venues closed in the 1990s? | CREATE TABLE table_name_76 (venue VARCHAR, closed VARCHAR) | SELECT venue FROM table_name_76 WHERE closed = "1990s" |
Which governor took office on January 13, 1877 | CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR) | SELECT governor FROM table_name_4 WHERE took_office = "january 13, 1877" |
What is the 2006 when the 2013 is 2r, and a Tournament was the us open? | CREATE TABLE table_name_91 (tournament VARCHAR) | SELECT 2006 FROM table_name_91 WHERE 2013 = "2r" AND tournament = "us open" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.