context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR) | In the championship Miami , United States, what is the score in the final? | SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States" |
CREATE TABLE table_26202788_7 (surface VARCHAR, opponent_in_the_final VARCHAR) | Andy Roddick is the opponent in the final on what surface? | SELECT surface FROM table_26202788_7 WHERE opponent_in_the_final = "Andy Roddick" |
CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR) | In the championship Indian Wells, United States (2), who are the opponents in the final? | SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)" |
CREATE TABLE table_26202788_7 (championship VARCHAR, opponent_in_the_final VARCHAR) | Marat Safin is the opponent in the final in what championship? | SELECT championship FROM table_26202788_7 WHERE opponent_in_the_final = "Marat Safin" |
CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR) | How many championships are there on the date January 9, 2005? | SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 2005" |
CREATE TABLE table_26202847_6 (no VARCHAR, outcome VARCHAR, surface VARCHAR) | Where the outcome is Winner and surface is Hard (i), what is the No.? | SELECT no FROM table_26202847_6 WHERE outcome = "Winner" AND surface = "Hard (i)" |
CREATE TABLE table_26202847_6 (no VARCHAR, date VARCHAR) | On the date October 21, 2007, what is the No.? | SELECT no FROM table_26202847_6 WHERE date = "October 21, 2007" |
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR) | Where is the championship where 6–1, 3–6, 3–6 is the score in the final? | SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6" |
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) | When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final? | SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6" |
CREATE TABLE table_26202847_6 (surface VARCHAR, score_in_the_final VARCHAR) | The score in the final is 2–6, 6–2, 6–0, on what surface? | SELECT surface FROM table_26202847_6 WHERE score_in_the_final = "2–6, 6–2, 6–0" |
CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR) | The original artist Joan Osborne has what result? | SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne" |
CREATE TABLE table_26250199_1 (episode VARCHAR, order__number VARCHAR) | In which episode is the order number 10? | SELECT episode FROM table_26250199_1 WHERE order__number = "10" |
CREATE TABLE table_26250199_1 (theme VARCHAR, episode VARCHAR) | In episode Top 16 (8 Men), what are the themes? | SELECT theme FROM table_26250199_1 WHERE episode = "Top 16 (8 Men)" |
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR) | The theme Auditioner's Choice has what song choice? | SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice" |
CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR) | What are all the week # where subject matter is auditioner's choice | SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice" |
CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR) | What are all of the order # where authentic artist is maroon 5 | SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5" |
CREATE TABLE table_26301697_2 (represents VARCHAR, hometown VARCHAR) | Name the represents for los alcarrizos | SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos" |
CREATE TABLE table_26301697_2 (age INTEGER) | Name the most age | SELECT MAX(age) FROM table_26301697_2 |
CREATE TABLE table_26301697_2 (represents VARCHAR, contestant VARCHAR) | Name the total number of represents for clary sermina delgado cid | SELECT COUNT(represents) FROM table_26301697_2 WHERE contestant = "Clary Sermina Delgado Cid" |
CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR) | Name the least age for distrito nacional | SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional" |
CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR) | Name the represents for 1.76 cm | SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76" |
CREATE TABLE table_26334740_3 (round VARCHAR, race VARCHAR) | In how many rounds was Race 17? | SELECT COUNT(round) FROM table_26334740_3 WHERE race = 17 |
CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR) | What team won Race 17? | SELECT winning_team FROM table_26334740_3 WHERE race = 17 |
CREATE TABLE table_26309085_1 (partner VARCHAR, year VARCHAR) | Who was his partner in 1989? | SELECT partner FROM table_26309085_1 WHERE year = 1989 |
CREATE TABLE table_26309085_1 (surface VARCHAR, partner VARCHAR) | What was the surface when he played with John Alexander? | SELECT surface FROM table_26309085_1 WHERE partner = "John Alexander" |
CREATE TABLE table_26309085_1 (score_in_final VARCHAR, year VARCHAR) | What was the final score in 1986? | SELECT score_in_final FROM table_26309085_1 WHERE year = 1986 |
CREATE TABLE table_26355116_1 (nickname VARCHAR, school VARCHAR) | What is the nickname of the University of Alabama? | SELECT nickname FROM table_26355116_1 WHERE school = "University of Alabama" |
CREATE TABLE table_26355116_1 (enrollment INTEGER) | What is the maximum enrollment of the schools? | SELECT MAX(enrollment) FROM table_26355116_1 |
CREATE TABLE table_26375386_23 (public INTEGER, result VARCHAR) | How many public is there for the couple that got eliminated? | SELECT MAX(public) FROM table_26375386_23 WHERE result = "Eliminated" |
CREATE TABLE table_26375386_23 (result VARCHAR, total VARCHAR) | What was the result for the total of 12? | SELECT result FROM table_26375386_23 WHERE total = 12 |
CREATE TABLE table_26375386_23 (rank INTEGER, vote_percentage VARCHAR) | What was the maximum rank for the vote percentage of 5.6% | SELECT MIN(rank) FROM table_26375386_23 WHERE vote_percentage = "5.6%" |
CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR) | How many judges were there for the eliminated couple? | SELECT judges FROM table_26375386_23 WHERE result = "Eliminated" |
CREATE TABLE table_26375386_23 (public VARCHAR, vote_percentage VARCHAR) | What is the number of public that was there when the vote percentage was 22.9%? | SELECT COUNT(public) FROM table_26375386_23 WHERE vote_percentage = "22.9%" |
CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR) | What was the total number when the vote percentage was 44.8%? | SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = "44.8%" |
CREATE TABLE table_26387382_1 (year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR) | What year was Fayette operational at 46? | SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = "Fayette" AND capacity__mw_ = "46" |
CREATE TABLE table_26387382_1 (name VARCHAR, capacity__mw_ VARCHAR, status VARCHAR) | What farm has a capacity of 70 and is operational? | SELECT name FROM table_26387382_1 WHERE capacity__mw_ = "70" AND status = "Operational" |
CREATE TABLE table_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR) | What locations are considered centre? | SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre" |
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR) | What all capacities have turbines between 50-60? | SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60" |
CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR) | What all turbines have a capacity of 30 and have a Somerset location? | SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "30" |
CREATE TABLE table_26400041_2 (weeks_in_top_10 INTEGER, peak VARCHAR) | if the peak is 9, how many weeks was it in the top 10? | SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9 |
CREATE TABLE table_26455614_1 (attendance VARCHAR, runner_up VARCHAR) | How many games had red star as the runner up? | SELECT COUNT(attendance) FROM table_26455614_1 WHERE runner_up = "Red Star" |
CREATE TABLE table_26455614_1 (entries INTEGER, winner VARCHAR) | What is the fewest recorded entrants against paris saint-germain? | SELECT MIN(entries) FROM table_26455614_1 WHERE winner = "Paris Saint-Germain" |
CREATE TABLE table_26519486_1 (member_countries VARCHAR, languages VARCHAR) | Name the member countries for finnish swedish | SELECT member_countries FROM table_26519486_1 WHERE languages = "Finnish Swedish" |
CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR) | Name the area for german | SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German" |
CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR) | Name the population for 11 languages | SELECT population FROM table_26519486_1 WHERE languages = "11" |
CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR) | What is the production code for the episode where the patient portrayer is Kathy Lamkin? | SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin" |
CREATE TABLE table_26561508_1 (written_by VARCHAR, production_code VARCHAR) | Who was the writter for the episode identified by the production code 2t5954? | SELECT written_by FROM table_26561508_1 WHERE production_code = "2T5954" |
CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR) | What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk? | SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zisk" AND written_by = "Brad Falchuk" |
CREATE TABLE table_26561506_1 (directed_by VARCHAR, production_code VARCHAR) | Who directed the episode with production code 177605? | SELECT directed_by FROM table_26561506_1 WHERE production_code = 177605 |
CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR) | How many episodes are numbered 4 in the season? | SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4 |
CREATE TABLE table_26561506_1 (written_by VARCHAR, no VARCHAR) | Who wrote episode number 28? | SELECT written_by FROM table_26561506_1 WHERE no = 28 |
CREATE TABLE table_26561506_1 (_number INTEGER, patient_portrayer VARCHAR) | What is the highest numbered episode with patient portrayer doug savant? | SELECT MAX(_number) FROM table_26561506_1 WHERE patient_portrayer = "Doug Savant" |
CREATE TABLE table_26565936_2 (no_in_series VARCHAR, written_by VARCHAR) | What number(s) in the series was written by bo crese? | SELECT no_in_series FROM table_26565936_2 WHERE written_by = "Bo Crese" |
CREATE TABLE table_26565936_2 (written_by VARCHAR, no_in_series VARCHAR) | Who wrote episode number 109 in the series? | SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109 |
CREATE TABLE table_26565936_2 (no_in_season INTEGER, directed_by VARCHAR) | What was the first episode in the season directed by nelson mccormick? | SELECT MIN(no_in_season) FROM table_26565936_2 WHERE directed_by = "Nelson McCormick" |
CREATE TABLE table_26565936_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | What was the original air date for the episode with 13.92 million us viewers? | SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ = "13.92" |
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR) | When was the episode with a 999,000 BARB rating first aired in Denmark? | SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "999,000" |
CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR) | What is the BARB ratings of episode 6? | SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6 |
CREATE TABLE table_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR) | When was the episode with a 1,036,000 BARB rating first aired in Denmark? | SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "1,036,000" |
CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR) | How many parks are called mt. olympus | SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus" |
CREATE TABLE table_2665085_1 (speed__mph_ VARCHAR, height__ft_ VARCHAR) | How fast is the coaster that is 163 feet tall | SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163 |
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, speed__mph_ VARCHAR) | What is the length of the coaster with the unknown speed | SELECT length__ft_ FROM table_2665085_1 WHERE speed__mph_ = "unknown" |
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, park VARCHAR) | How long is the rollar coaster on Kemah Boardwalk | SELECT length__ft_ FROM table_2665085_1 WHERE park = "Kemah Boardwalk" |
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) | What park is Boardwalk Bullet located in? | SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet" |
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) | How many parks is Zippin Pippin located in | SELECT COUNT(park) FROM table_2665085_1 WHERE name = "Zippin Pippin" |
CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR) | In what year was Montenegro the host country? | SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro" |
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR) | What was the number of athletes in the host city of Nice? | SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = "Nice" |
CREATE TABLE table_26669939_1 (host_country VARCHAR, host_city VARCHAR) | Who was the host country when Bar was the host city? | SELECT host_country FROM table_26669939_1 WHERE host_city = "Bar" |
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR) | What was the number of athletes for the 7th edition? | SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th" |
CREATE TABLE table_26669939_1 (year INTEGER) | What was the most recent year? | SELECT MAX(year) FROM table_26669939_1 |
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR) | What was the host city of the 8th edition in the the host country of Croatia? | SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th" |
CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR) | Name the result for first elected being 1798 1825 | SELECT result FROM table_2668243_18 WHERE first_elected = "1798 1825" |
CREATE TABLE table_2668243_18 (party VARCHAR, incumbent VARCHAR) | Name the total number of party for willis alston | SELECT COUNT(party) FROM table_2668243_18 WHERE incumbent = "Willis Alston" |
CREATE TABLE table_2668243_18 (result VARCHAR, candidates VARCHAR) | Name the result for augustine h. shepperd (j) 100% | SELECT result FROM table_2668243_18 WHERE candidates = "Augustine H. Shepperd (J) 100%" |
CREATE TABLE table_2668243_18 (result VARCHAR, incumbent VARCHAR) | Name the result for willis alston | SELECT result FROM table_2668243_18 WHERE incumbent = "Willis Alston" |
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR) | Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1% | SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%" |
CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR) | Name the district for anti-jacksonian | SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian" |
CREATE TABLE table_2668243_19 (result VARCHAR, first_elected VARCHAR) | What was the result for the candidate first elected in 1820? | SELECT result FROM table_2668243_19 WHERE first_elected = "1820" |
CREATE TABLE table_2668243_19 (party VARCHAR, incumbent VARCHAR) | What is the party of Joseph Vance? | SELECT party FROM table_2668243_19 WHERE incumbent = "Joseph Vance" |
CREATE TABLE table_2668352_11 (first_elected VARCHAR, candidates VARCHAR) | Name the first elected for hosea moffitt (f) 57.9% josiah masters (dr) 42.1% | SELECT first_elected FROM table_2668352_11 WHERE candidates = "Hosea Moffitt (F) 57.9% Josiah Masters (DR) 42.1%" |
CREATE TABLE table_2668352_11 (first_elected VARCHAR, incumbent VARCHAR) | Name the first elected for jacob markell | SELECT first_elected FROM table_2668352_11 WHERE incumbent = "Jacob Markell" |
CREATE TABLE table_2668352_11 (first_elected INTEGER) | Name the least first elected | SELECT MIN(first_elected) FROM table_2668352_11 |
CREATE TABLE table_2668352_11 (first_elected INTEGER) | Name the most first elected | SELECT MAX(first_elected) FROM table_2668352_11 |
CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR) | Name the incumbent for new york 10 | SELECT incumbent FROM table_2668352_11 WHERE district = "New York 10" |
CREATE TABLE table_2668367_21 (district VARCHAR, incumbent VARCHAR) | Name the distrct for thomas wilson | SELECT district FROM table_2668367_21 WHERE incumbent = "Thomas Wilson" |
CREATE TABLE table_2668367_21 (party VARCHAR, incumbent VARCHAR) | Name the party for john randolph redistricted from the 15th district | SELECT party FROM table_2668367_21 WHERE incumbent = "John Randolph Redistricted from the 15th district" |
CREATE TABLE table_2668367_21 (party VARCHAR, district VARCHAR) | Name the party for virginia 12 | SELECT party FROM table_2668367_21 WHERE district = "Virginia 12" |
CREATE TABLE table_2668378_5 (candidates VARCHAR, incumbent VARCHAR) | Name the candidates for john boyle | SELECT candidates FROM table_2668378_5 WHERE incumbent = "John Boyle" |
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) | Name the first elected for kentucky 3 | SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 3" |
CREATE TABLE table_2668378_5 (incumbent VARCHAR, candidates VARCHAR) | Name the incumbent for matthew lyon (dr) anthony new (dr) | SELECT incumbent FROM table_2668378_5 WHERE candidates = "Matthew Lyon (DR) Anthony New (DR)" |
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) | Name the number of first elected for kentucky 3 | SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = "Kentucky 3" |
CREATE TABLE table_2668378_5 (party VARCHAR, district VARCHAR) | Name the number of party for kentucky 1 | SELECT COUNT(party) FROM table_2668378_5 WHERE district = "Kentucky 1" |
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) | Name the first elected for kentucky 1 | SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 1" |
CREATE TABLE table_2668416_7 (district VARCHAR, party VARCHAR, candidates VARCHAR) | What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%? | SELECT district FROM table_2668416_7 WHERE party = "Federalist" AND candidates = "William Craik (F) 51.0% Benjamin Edwards 49.0%" |
CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR) | What is the party when the incumbent is samuel smith? | SELECT party FROM table_2668416_7 WHERE incumbent = "Samuel Smith" |
CREATE TABLE table_2668416_7 (result VARCHAR, district VARCHAR) | What is the result for the district Maryland 7? | SELECT result FROM table_2668416_7 WHERE district = "Maryland 7" |
CREATE TABLE table_2668416_7 (candidates VARCHAR, district VARCHAR) | Who is the candidates for district maryland 1? | SELECT candidates FROM table_2668416_7 WHERE district = "Maryland 1" |
CREATE TABLE table_2668420_12 (candidates VARCHAR, first_elected VARCHAR) | Who was the candidate in 1791? | SELECT candidates FROM table_2668420_12 WHERE first_elected = 1791 |
CREATE TABLE table_2669287_1 (tv_season VARCHAR, episodes VARCHAR) | What tv season was episode 23 broadcast? | SELECT tv_season FROM table_2669287_1 WHERE episodes = 23 |
CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR) | How many seasons was the rank equal to #50? | SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.