question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Which Percentage has a District larger than 2, and a Party of independent? | CREATE TABLE table_name_86 (percentage VARCHAR, district VARCHAR, party VARCHAR) | SELECT percentage FROM table_name_86 WHERE district > 2 AND party = "independent" |
What was the highest attendance of games that resulted in L 23-20? | CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR) | SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20" |
What is the namesake of the ship that was commissioned or completed(*) 16 april 1864? | CREATE TABLE table_12592074_1 (namesake VARCHAR, commissioned_or_completed_ VARCHAR, _ VARCHAR) | SELECT namesake FROM table_12592074_1 WHERE commissioned_or_completed_ * _ = "16 April 1864" |
When was the game that had Sydney Spirit as the away team? | CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_64 WHERE away_team = "sydney spirit" |
How many people watched season 1? | CREATE TABLE table_name_69 (viewers__in_millions_ VARCHAR, season VARCHAR) | SELECT viewers__in_millions_ FROM table_name_69 WHERE season = "1" |
What is the total number of rounds that UCLA has? | CREATE TABLE table_name_41 (round VARCHAR, school VARCHAR) | SELECT COUNT(round) FROM table_name_41 WHERE school = "ucla" |
What is the season with podiums more than 2.0? | CREATE TABLE table_25740774_1 (season INTEGER, podiums INTEGER) | SELECT MAX(season) FROM table_25740774_1 WHERE podiums > 2.0 |
What percentage of users were using other browsers according to the source that reported 21.22% were using Firefox? | CREATE TABLE table_name_95 (other VARCHAR, firefox VARCHAR) | SELECT other FROM table_name_95 WHERE firefox = "21.22%" |
When the finish was t31 what was the To par? | CREATE TABLE table_name_28 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_28 WHERE finish = "t31" |
What is the sum of people in attendance on September 8? | CREATE TABLE table_name_49 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_49 WHERE date = "september 8" |
Who was the outgoing manager who departed due to fc energie cottbus purchased rights? | CREATE TABLE table_name_80 (outgoing_manager VARCHAR, manner_of_departure VARCHAR) | SELECT outgoing_manager FROM table_name_80 WHERE manner_of_departure = "fc energie cottbus purchased rights" |
Which Constructor has grid 2? | CREATE TABLE table_name_75 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_75 WHERE grid = 2 |
Name the number of branding for 31 physical | CREATE TABLE table_14623167_1 (branding VARCHAR, physical VARCHAR) | SELECT COUNT(branding) FROM table_14623167_1 WHERE physical = 31 |
How many tries for when the points against was 547? | CREATE TABLE table_13564637_4 (tries_for VARCHAR, points_against VARCHAR) | SELECT tries_for FROM table_13564637_4 WHERE points_against = "547" |
Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22? | CREATE TABLE table_name_26 (team VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR, position VARCHAR) | SELECT team FROM table_name_26 WHERE lost > 2 AND position < 7 AND drawn < 2 AND points = 22 |
What was the score to par in 1960? | CREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR) | SELECT to_par FROM table_name_74 WHERE year_s__won = "1960" |
What was the attendance on september 8? | CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_71 WHERE date = "september 8" |
What engine did David Coulthard have in his mp4-13 chassis? | CREATE TABLE table_name_86 (engine_† VARCHAR, chassis VARCHAR, driver VARCHAR) | SELECT engine_† FROM table_name_86 WHERE chassis = "mp4-13" AND driver = "david coulthard" |
who is the husband when ceased to be dauphine is 22 july 1461 became queen? | CREATE TABLE table_name_36 (husband VARCHAR, ceased_to_be_dauphine VARCHAR) | SELECT husband FROM table_name_36 WHERE ceased_to_be_dauphine = "22 july 1461 became queen" |
what is the market income per capita where the county is hancock? | CREATE TABLE table_22815568_13 (market_income_per_capita VARCHAR, county VARCHAR) | SELECT market_income_per_capita FROM table_22815568_13 WHERE county = "Hancock" |
In which week was attendance at 50,814? | CREATE TABLE table_name_10 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_10 WHERE attendance = "50,814" |
who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner | CREATE TABLE table_15002265_1 (mens_doubles VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) | SELECT mens_doubles FROM table_15002265_1 WHERE mens_singles = "Jürgen Koch" AND womens_singles = "Sabine Ploner" |
What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56? | CREATE TABLE table_name_26 (country VARCHAR, rank VARCHAR, time VARCHAR) | SELECT country FROM table_name_26 WHERE rank > 4 AND time = "5:59.56" |
What is the total points with less than 5 games? | CREATE TABLE table_name_28 (points VARCHAR, games INTEGER) | SELECT COUNT(points) FROM table_name_28 WHERE games < 5 |
What is the rank of the nation with more than 0 silver medals and 38 bronze medals? | CREATE TABLE table_name_97 (rank VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT rank FROM table_name_97 WHERE silver > 0 AND bronze = 38 |
What was the round of 16 result for felipe saucedo? | CREATE TABLE table_29521180_35 (round_of_16 VARCHAR, athlete VARCHAR) | SELECT round_of_16 FROM table_29521180_35 WHERE athlete = "Felipe Saucedo" |
What is Group Song, when Song is 换季? | CREATE TABLE table_name_80 (Group VARCHAR, song VARCHAR) | SELECT Group AS song FROM table_name_80 WHERE song = "换季" |
What is the result of the away game played on August 4? | CREATE TABLE table_name_15 (result VARCHAR, home_away VARCHAR, date VARCHAR) | SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 4" |
How many values for winnings correspond to average start of 19.0? | CREATE TABLE table_2597876_2 (winnings VARCHAR, avg_start VARCHAR) | SELECT COUNT(winnings) FROM table_2597876_2 WHERE avg_start = "19.0" |
Which Chief Judge has Appointed by of reagan category:articles with hcards? | CREATE TABLE table_name_42 (chief_judge VARCHAR, appointed_by VARCHAR) | SELECT chief_judge FROM table_name_42 WHERE appointed_by = "reagan category:articles with hcards" |
Which Points have a Score of 4–1? | CREATE TABLE table_name_35 (points INTEGER, score VARCHAR) | SELECT MAX(points) FROM table_name_35 WHERE score = "4–1" |
What is the label from 1973 that has a catalog number of l 35023? | CREATE TABLE table_name_98 (label VARCHAR, date VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_98 WHERE date = "1973" AND catalog = "l 35023" |
What is College, when Round is greater than 1, and when Pick is greater than 163? | CREATE TABLE table_name_11 (college VARCHAR, round VARCHAR, pick VARCHAR) | SELECT college FROM table_name_11 WHERE round > 1 AND pick > 163 |
what is the total number of points when the constructor is citroën total world rally team and the wins is less than 7? | CREATE TABLE table_name_72 (points VARCHAR, constructor VARCHAR, wins VARCHAR) | SELECT COUNT(points) FROM table_name_72 WHERE constructor = "citroën total world rally team" AND wins < 7 |
What week has an attendance of 10402 | CREATE TABLE table_23624542_4 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_23624542_4 WHERE attendance = 10402 |
How many election results in 2012 had a Cook PVI of D+16? | CREATE TABLE table_19283806_4 (cook_pvi VARCHAR) | SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16" |
What season did Stoke City win? | CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR) | SELECT season FROM table_name_13 WHERE winner = "stoke city" |
What titles were fought for on 1997-04-12? | CREATE TABLE table_12262182_2 (titles VARCHAR, date VARCHAR) | SELECT titles FROM table_12262182_2 WHERE date = "1997-04-12" |
On which dates was the value of Bada 0.05%? | CREATE TABLE table_11381701_3 (date VARCHAR, bada VARCHAR) | SELECT date FROM table_11381701_3 WHERE bada = "0.05%" |
If the language is another native, what is the San Benito Municipality total number? | CREATE TABLE table_2509112_3 (san_benito_municipality VARCHAR, language VARCHAR) | SELECT COUNT(san_benito_municipality) FROM table_2509112_3 WHERE language = "Another native" |
How many people attended the game at Lake Oval? | CREATE TABLE table_name_76 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_76 WHERE venue = "lake oval" |
Which Team that has a Position in table of 15th (a) and a Outgoing manager of claudio borghi? | CREATE TABLE table_name_55 (team VARCHAR, position_in_table VARCHAR, outgoing_manager VARCHAR) | SELECT team FROM table_name_55 WHERE position_in_table = "15th (a)" AND outgoing_manager = "claudio borghi" |
When was the Titans founded? | CREATE TABLE table_27816698_2 (founded INTEGER, nickname VARCHAR) | SELECT MAX(founded) FROM table_27816698_2 WHERE nickname = "Titans" |
Which Points 1 has a Team of atherton collieries, and a Position smaller than 8? | CREATE TABLE table_name_11 (points_1 INTEGER, team VARCHAR, position VARCHAR) | SELECT MAX(points_1) FROM table_name_11 WHERE team = "atherton collieries" AND position < 8 |
How many people attended the game against Clemson? | CREATE TABLE table_name_34 (attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_34 WHERE opponent = "clemson" |
What is the minimum total ATMs with new private sector banks as the bank type, and the on-site ATMs are greater than 1883? | CREATE TABLE table_name_42 (total_atms INTEGER, bank_type VARCHAR, on_site_atms VARCHAR) | SELECT MIN(total_atms) FROM table_name_42 WHERE bank_type = "new private sector banks" AND on_site_atms > 1883 |
Who attended the school in 2006, that Jasmine Wilson attended in 2005? | CREATE TABLE table_name_70 (Id VARCHAR) | SELECT 2006 FROM table_name_70 WHERE 2005 = "jasmine wilson" |
What is the first name and last name employee helps the customer with first name Leonie? | CREATE TABLE CUSTOMER (SupportRepId VARCHAR, FirstName VARCHAR); CREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, EmployeeId VARCHAR) | SELECT T2.FirstName, T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie" |
When was a game played where the away team is St Kilda? | CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_63 WHERE away_team = "st kilda" |
Which series # had 0.645 U.S. viewers(millions)? | CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR) | SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = "0.645" |
Which display has an ISO range of 80-800, and 0.8 Seconds/Frame? | CREATE TABLE table_name_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR) | SELECT display FROM table_name_21 WHERE iso_range = "80-800" AND seconds_frame = 0.8 |
Whose WSOP earnings were $36,372? | CREATE TABLE table_23696862_6 (name VARCHAR, wsop_earnings VARCHAR) | SELECT name FROM table_23696862_6 WHERE wsop_earnings = "$36,372" |
What are the least losses of Warrnambool with more than 6 wins and less than 630 against? | CREATE TABLE table_name_18 (losses INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR) | SELECT MIN(losses) FROM table_name_18 WHERE against < 630 AND club = "warrnambool" AND wins > 6 |
Name the team for november 5 | CREATE TABLE table_17355716_5 (team VARCHAR, date VARCHAR) | SELECT team FROM table_17355716_5 WHERE date = "November 5" |
In language where Thursday is برس وار bres'var, what is Sunday? | CREATE TABLE table_1277350_3 (sunday_surya__the_sun_ VARCHAR, thursday_guru__jupiter_ VARCHAR) | SELECT sunday_surya__the_sun_ FROM table_1277350_3 WHERE thursday_guru__jupiter_ = "برس وار Bres'var" |
Which competition in Budapest, Hungary gave a result of 8th? | CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary" |
Which Record has a December smaller than 22 and a Score of 4–3? | CREATE TABLE table_name_58 (record VARCHAR, december VARCHAR, score VARCHAR) | SELECT record FROM table_name_58 WHERE december < 22 AND score = "4–3" |
What's listed for the Turnout % with a Ngilu of 30,535? | CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR) | SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535" |
What is the nationality of Christian Lefebvre? | CREATE TABLE table_2840500_4 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_2840500_4 WHERE player = "Christian Lefebvre" |
What is the status of player Philipp Kohlschreiber? | CREATE TABLE table_24431348_18 (status VARCHAR, player VARCHAR) | SELECT status FROM table_24431348_18 WHERE player = "Philipp Kohlschreiber" |
What is the highest rank a team with 1 silver and less than 5 bronze medals has? | CREATE TABLE table_name_66 (rank INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 5 |
What is the Attendance of Tie no 3? | CREATE TABLE table_name_10 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_10 WHERE tie_no = "3" |
What episode number is the first episode of season 11 in Melrose Place? | CREATE TABLE table_name_60 (no_in_series INTEGER, no_in_season VARCHAR) | SELECT MIN(no_in_series) FROM table_name_60 WHERE no_in_season = 11 |
What was the score when the team was @ New Jersey? | CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR) | SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey" |
When 1881 is the by-election and death is the reason who is the incumbent? | CREATE TABLE table_28898948_3 (incumbent VARCHAR, reason VARCHAR, by_election VARCHAR) | SELECT incumbent FROM table_28898948_3 WHERE reason = "Death" AND by_election = 1881 |
What ship has a pennant number h05? | CREATE TABLE table_name_5 (ship VARCHAR, pennant_number VARCHAR) | SELECT ship FROM table_name_5 WHERE pennant_number = "h05" |
Find the emails of the user named "Mary". | CREATE TABLE user_profiles (email VARCHAR, name VARCHAR) | SELECT email FROM user_profiles WHERE name = 'Mary' |
Who is the home team at kardinia park? | CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_16 WHERE venue = "kardinia park" |
What was the away team's score when South Melbourne was the home team? | CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_51 WHERE home_team = "south melbourne" |
Which Hometown has a Height of 6-10? | CREATE TABLE table_name_90 (hometown VARCHAR, height VARCHAR) | SELECT hometown FROM table_name_90 WHERE height = "6-10" |
Who manufactured the vehicle that was withdrawn in 1927? | CREATE TABLE table_name_52 (manufacturer VARCHAR, year_withdrawn VARCHAR) | SELECT manufacturer FROM table_name_52 WHERE year_withdrawn = 1927 |
What is the score on December 31? | CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_13 WHERE date = "december 31" |
Who is the team of the Chevrolet, and has a position less than 7, for car # 88? | CREATE TABLE table_name_90 (team VARCHAR, car__number VARCHAR, make VARCHAR, pos VARCHAR) | SELECT team FROM table_name_90 WHERE make = "chevrolet" AND pos < 7 AND car__number = 88 |
Which Medal had a Name of félix sánchez, and a Games of 2012 london? | CREATE TABLE table_name_43 (medal VARCHAR, name VARCHAR, games VARCHAR) | SELECT medal FROM table_name_43 WHERE name = "félix sánchez" AND games = "2012 london" |
How many appearances did the flamengo player who was with flamengo during the years 1989–1993 1996–1998 2004–2005 have? | CREATE TABLE table_name_21 (appearances INTEGER, flamengo_career VARCHAR) | SELECT MAX(appearances) FROM table_name_21 WHERE flamengo_career = "1989–1993 1996–1998 2004–2005" |
What is Cross Country, when Soccer is Ashland, when Volleyball is Wooster, and when School Year is 2006-07? | CREATE TABLE table_name_35 (cross_country VARCHAR, school_year VARCHAR, soccer VARCHAR, volleyball VARCHAR) | SELECT cross_country FROM table_name_35 WHERE soccer = "ashland" AND volleyball = "wooster" AND school_year = "2006-07" |
Which Series has a Site of ames and a Sport of w gymnastics? | CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR) | SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics" |
WHAT PLAYER HAS THE OAKLAND ATHLETICS? | CREATE TABLE table_name_55 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_55 WHERE team = "oakland athletics" |
What event ended in 3:02 of round 1? | CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, time VARCHAR) | SELECT event FROM table_name_92 WHERE round = 1 AND time = "3:02" |
What Driver has 28 Laps and a Grid greater than 5? | CREATE TABLE table_name_91 (driver VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_91 WHERE grid > 5 AND laps = 28 |
Which production had Rex Robbins as Herbie? | CREATE TABLE table_name_96 (productions VARCHAR, herbie VARCHAR) | SELECT productions FROM table_name_96 WHERE herbie = "rex robbins" |
Who built giancarlo fisichella's car? | CREATE TABLE table_name_96 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_96 WHERE driver = "giancarlo fisichella" |
Which Total has a Rank of 9, and a Silver smaller than 2? | CREATE TABLE table_name_37 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MAX(total) FROM table_name_37 WHERE rank = 9 AND silver < 2 |
What home team played against Fleetwood Town? | CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_47 WHERE away_team = "fleetwood town" |
What year was Thierry Beccaro the spokesperson? | CREATE TABLE table_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR) | SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro" |
Which Game has a Score of 4–1? | CREATE TABLE table_name_47 (game INTEGER, score VARCHAR) | SELECT SUM(game) FROM table_name_47 WHERE score = "4–1" |
How many people watched when st kilda played at home? | CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_79 WHERE home_team = "st kilda" |
What shows for 1998 when 1996 is 1R, and 2002 is not held? | CREATE TABLE table_name_43 (Id VARCHAR) | SELECT 1998 FROM table_name_43 WHERE 1996 = "1r" AND 2002 = "not held" |
Who did Tina Pisnik verse? | CREATE TABLE table_11326124_3 (against VARCHAR, opponent VARCHAR) | SELECT against FROM table_11326124_3 WHERE opponent = "Tina Pisnik" |
Name the league for 2003 | CREATE TABLE table_2511876_1 (league VARCHAR, year VARCHAR) | SELECT league FROM table_2511876_1 WHERE year = 2003 |
Howard Twitty was the runner-up of what tournament? | CREATE TABLE table_name_14 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_14 WHERE runner_s__up = "howard twitty" |
Which Played has Goals against larger than 34, and Wins smaller than 12, and Goals for smaller than 50, and Losses larger than 15? | CREATE TABLE table_name_39 (played INTEGER, losses VARCHAR, goals_for VARCHAR, goals_against VARCHAR, wins VARCHAR) | SELECT AVG(played) FROM table_name_39 WHERE goals_against > 34 AND wins < 12 AND goals_for < 50 AND losses > 15 |
How many years did the team in slot number 9 have a franchise? | CREATE TABLE table_name_16 (years_with_franchise VARCHAR, number VARCHAR) | SELECT years_with_franchise FROM table_name_16 WHERE number = 9 |
What is the Type for l. publilius philo vulscus? | CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus" |
Which Last 64 has a Total of £34,600? | CREATE TABLE table_name_65 (last_64 VARCHAR, total VARCHAR) | SELECT last_64 FROM table_name_65 WHERE total = "£34,600" |
What district is incumbent melvin price from? | CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342233_13 WHERE incumbent = "Melvin Price" |
A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size. | CREATE TABLE invoices (billing_country VARCHAR, total INTEGER) | SELECT billing_country, SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8 |
What game type has 2:1 as the results? | CREATE TABLE table_name_91 (type_of_game VARCHAR, results¹ VARCHAR) | SELECT type_of_game FROM table_name_91 WHERE results¹ = "2:1" |
what is the highest attendance for a total attendance-regular season record | CREATE TABLE table_21436373_12 (attendance INTEGER, type_of_record VARCHAR) | SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season" |
which company has a person that can wear clothing in 33-23-36 | CREATE TABLE table_27515452_3 (agency VARCHAR, sizes VARCHAR) | SELECT agency FROM table_27515452_3 WHERE sizes = "33-23-36" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.