answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT theme FROM table_name_55 WHERE design = "sputnik design partners" | What is the Theme with a Design with sputnik design partners? | CREATE TABLE table_name_55 (theme VARCHAR, design VARCHAR) |
SELECT COUNT(rank) FROM table_name_86 WHERE ø_pts > 1.26 AND games = 1458 | What was the rank for 1.26 Ø-Pts in game 1458? | CREATE TABLE table_name_86 (rank VARCHAR, ø_pts VARCHAR, games VARCHAR) |
SELECT performer FROM table_19189856_1 WHERE last_performance = "04/08/1963" | who was the performer that did last performance on 04/08/1963 | CREATE TABLE table_19189856_1 (performer VARCHAR, last_performance VARCHAR) |
SELECT official_name FROM table_176529_2 WHERE area_km_2 = "578.28" | What is the name of the place where area is 578.28 square km? | CREATE TABLE table_176529_2 (official_name VARCHAR, area_km_2 VARCHAR) |
SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32 | What are the songs in volumes associated with the artist aged 32 or older? | CREATE TABLE volume (Song VARCHAR, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR) |
SELECT country FROM table_name_9 WHERE year_s__won = "1983" | From which country was the player whose year(s) won was 1983? | CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR) |
SELECT place FROM table_name_18 WHERE player = "lon hinkle" | What place in Lon Hinkle in? | CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR) |
SELECT MIN(round) FROM table_name_9 WHERE player = "adam wiesel" | What is the lowest round that Adam Wiesel was picked? | CREATE TABLE table_name_9 (round INTEGER, player VARCHAR) |
SELECT result FROM table_12175755_1 WHERE theme = "Finale" AND order__number = "3" | What theme placed as #3 in the finale? | CREATE TABLE table_12175755_1 (result VARCHAR, theme VARCHAR, order__number VARCHAR) |
SELECT wins FROM table_19839391_3 WHERE winning__percentage = "0.667" | How many wins had a win percentage of 0.667 | CREATE TABLE table_19839391_3 (wins VARCHAR, winning__percentage VARCHAR) |
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t1.sex = 'F' ORDER BY t1.name | list all female (sex is F) candidate names in the alphabetical order. | CREATE TABLE candidate (people_id VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR, sex VARCHAR) |
SELECT constructor FROM table_name_13 WHERE laps = 56 | What Constructor has 56 Laps? | CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR) |
SELECT high_rebounds FROM table_27902171_9 WHERE team = "Minnesota Timberwolves" | Who performed the most rebounds on games against the Minnesota Timberwolves? | CREATE TABLE table_27902171_9 (high_rebounds VARCHAR, team VARCHAR) |
SELECT AVG(original_week) FROM table_name_18 WHERE venue = "soldier field" | Tell me the average original week for soldier field | CREATE TABLE table_name_18 (original_week INTEGER, venue VARCHAR) |
SELECT position FROM table_21220720_1 WHERE name = "van den Brink, Bas" | Name the position for van den brink, bas | CREATE TABLE table_21220720_1 (position VARCHAR, name VARCHAR) |
SELECT opponent FROM table_name_28 WHERE date = "september 10, 1979" | Who was the opponent on september 10, 1979? | CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR) |
SELECT AVG(size__steps_) FROM table_name_62 WHERE interval_name = "minor third" | Tell me the average size for minor third | CREATE TABLE table_name_62 (size__steps_ INTEGER, interval_name VARCHAR) |
SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1 | Name the lowest total for rank of 13 with bronze less than 1 | CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0 | What is the highest field goals when there were more than 1 touchdown and 0 extra points? | CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) |
SELECT record FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565" | Name the record for rose garden 20,565 attendance | CREATE TABLE table_23286158_8 (record VARCHAR, location_attendance VARCHAR) |
SELECT SUM(year) FROM table_name_89 WHERE name = "greek small letter sampi" | What is the year that has a name with the Greek small letter sampi? | CREATE TABLE table_name_89 (year INTEGER, name VARCHAR) |
SELECT SUM(heat) FROM table_name_61 WHERE nationality = "china" AND name = "zhang lin" AND lane > 6 | What's China's heat for Zhang Lin in a lane after 6? | CREATE TABLE table_name_61 (heat INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR) |
SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky" | What is the position of the player whose college is Western Kentucky? | CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR) |
SELECT venue FROM table_name_6 WHERE competition = "friendly" AND result = "2-3" | What is the location of the game that was friendly and resulted in 2-3? | CREATE TABLE table_name_6 (venue VARCHAR, competition VARCHAR, result VARCHAR) |
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87" | What was the report for an away team of Sydney Spirit and score of 96-87? | CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR) |
SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943" | What is the comissioned for 4 may 1943? | CREATE TABLE table_1220125_4 (commissioned VARCHAR, laid_down VARCHAR) |
SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10 | What year did the King team have fewer than 10 points? | CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR) |
SELECT year FROM table_name_82 WHERE match = 63 | Which Year has a Match of 63? | CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR) |
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 4 | How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4? | CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR) |
SELECT wheel_arrangement FROM table_name_9 WHERE specification = "dl-700" | Which wheel arrangement had a Specification of dl-700? | CREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR) |
SELECT to_par FROM table_name_42 WHERE place = "t5" AND player = "jim thorpe" | What's the to par for Jim Thorpe in T5 Place? | CREATE TABLE table_name_42 (to_par VARCHAR, place VARCHAR, player VARCHAR) |
SELECT T2.employee_name, T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id | What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents? | CREATE TABLE Employees (employee_name VARCHAR, employee_id VARCHAR); CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR, Destroyed_by_Employee_ID VARCHAR) |
SELECT home_team AS score FROM table_name_93 WHERE home_team = "carlton" | When the Home team of carlton played, what was their score? | CREATE TABLE table_name_93 (home_team VARCHAR) |
SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma" | Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma? | CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR) |
SELECT date FROM table_name_32 WHERE away_team = "richmond" | On what date was Richmond playing as an away team? | CREATE TABLE table_name_32 (date VARCHAR, away_team VARCHAR) |
SELECT MIN(average) FROM table_11206787_5 | What is the average? | CREATE TABLE table_11206787_5 (average INTEGER) |
SELECT home_team FROM table_name_19 WHERE away_team = "geelong" | Which home teams had Geelong as the away team? | CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) |
SELECT opponent FROM table_name_58 WHERE attendance = "55,340" | Attendance of 55,340 had what opponent? | CREATE TABLE table_name_58 (opponent VARCHAR, attendance VARCHAR) |
SELECT engine FROM table_name_57 WHERE year < 1990 AND chassis = "eurobrun er189" | Name the engine for years before 1990 and chassis of eurobrun er189 | CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR) |
SELECT _percentage_cut FROM table_21690339_1 WHERE alternative_fuel = "Fuel oil stocks need only for industry" | What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative? | CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, alternative_fuel VARCHAR) |
SELECT place FROM table_name_82 WHERE player = "davis love iii" | Where is the player Davis Love III? | CREATE TABLE table_name_82 (place VARCHAR, player VARCHAR) |
SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38 | What is the total number of points for a total pld less than 38? | CREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER) |
SELECT date FROM table_28178756_1 WHERE team = "Joe Gibbs Racing" AND race_time = "1:53:26" | On what day did joe gibbs racing record a time of 1:53:26? | CREATE TABLE table_28178756_1 (date VARCHAR, team VARCHAR, race_time VARCHAR) |
SELECT MIN(wins) FROM table_15327489_1 | Name the most wins | CREATE TABLE table_15327489_1 (wins INTEGER) |
SELECT season FROM table_name_18 WHERE points > 21 AND finish = "6th north" | What season has a 6th north finish and more than 21 points? | CREATE TABLE table_name_18 (season VARCHAR, points VARCHAR, finish VARCHAR) |
SELECT SUM(attendance) FROM table_name_22 WHERE away_team = "macclesfield town" | What is the sum of Attendance when macclesfield town was the way team? | CREATE TABLE table_name_22 (attendance INTEGER, away_team VARCHAR) |
SELECT MIN(matches) FROM table_30085411_1 | what is the number of the least matches | CREATE TABLE table_30085411_1 (matches INTEGER) |
SELECT competition FROM table_name_95 WHERE score = "3–1" | During what competition was a game played with a score of 3–1? | CREATE TABLE table_name_95 (competition VARCHAR, score VARCHAR) |
SELECT MIN(grid) FROM table_name_31 WHERE laps = 10 AND driver = "jonathan summerton" | What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver? | CREATE TABLE table_name_31 (grid INTEGER, laps VARCHAR, driver VARCHAR) |
SELECT MAX(release_date) FROM table_1467951_4 | What is the most recent release date? | CREATE TABLE table_1467951_4 (release_date INTEGER) |
SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger" | What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24? | CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR) |
SELECT hometown_school FROM table_name_79 WHERE pick > 30 AND position = "of" AND team = "cleveland indians" | What Hometown/School had a pick above 30, position of OF and team of Cleveland Indians? | CREATE TABLE table_name_79 (hometown_school VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR) |
SELECT distance FROM table_2581397_4 WHERE race = "Manikato Stakes" | What was the distance in the Manikato Stakes race? | CREATE TABLE table_2581397_4 (distance VARCHAR, race VARCHAR) |
SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112" | What is the figure for La Crescenta-Montrose when Gelndale is $57,112? | CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR) |
SELECT COUNT(played) FROM table_name_25 WHERE bp = 0 AND pts_agst < 247 | B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played? | CREATE TABLE table_name_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR) |
SELECT COUNT(pick__number) FROM table_name_84 WHERE position = "running back" | If the Position is Running Back what is the Total number of Pick #? | CREATE TABLE table_name_84 (pick__number VARCHAR, position VARCHAR) |
SELECT country FROM table_name_46 WHERE airport = "paris-charles de gaulle airport" | Paris-Charles de Gaulle airport is in which country? | CREATE TABLE table_name_46 (country VARCHAR, airport VARCHAR) |
SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" | Who was the individual in the event of 1998 Pokljuka? | CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR) |
SELECT TMS AS number FROM table_1166023_1 WHERE year_built = 1923 | What where the tms numbers built in 1923 | CREATE TABLE table_1166023_1 (TMS VARCHAR, year_built VARCHAR) |
SELECT set_3 FROM table_name_9 WHERE set_1 = "25–20" | Which Set 3 has a Set 1 of 25–20? | CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR) |
SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790 | What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790? | CREATE TABLE table_name_67 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR) |
SELECT position FROM table_11545282_11 WHERE nationality = "Turkey" | Name the position of Turkey | CREATE TABLE table_11545282_11 (position VARCHAR, nationality VARCHAR) |
SELECT COUNT(directed_by) FROM table_26961951_4 WHERE written_by = "Alison McDonald" | How many episodes were written by Alison McDonald? | CREATE TABLE table_26961951_4 (directed_by VARCHAR, written_by VARCHAR) |
SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = "ParSU Cimmarons" | What is the founding of parsu cimmarons? | CREATE TABLE table_11604804_5 (founded INTEGER, nickname VARCHAR) |
SELECT result FROM table_name_19 WHERE attendance = "65,473" | What was the result of the game played in front of 65,473? | CREATE TABLE table_name_19 (result VARCHAR, attendance VARCHAR) |
SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–5" | Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5? | CREATE TABLE table_name_96 (champion VARCHAR, runner_up VARCHAR, score VARCHAR) |
SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story" | How many directors were there for the film with the original title of The Moises Padilla Story? | CREATE TABLE table_17919342_1 (director VARCHAR, original_title VARCHAR) |
SELECT net_power FROM table_name_74 WHERE type = "wwer-440/230" AND finish_construction = "24.10.1977" | What was the net power, when the type was wwer-440/230, and when construction was finished on 24.10.1977? | CREATE TABLE table_name_74 (net_power VARCHAR, type VARCHAR, finish_construction VARCHAR) |
SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles" | What was miles's bmi att the reunion? | CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR) |
SELECT COUNT(points) FROM table_name_39 WHERE goals_scored < 20 | What were the total number of points when the amount of goals scored was less than 20? | CREATE TABLE table_name_39 (points VARCHAR, goals_scored INTEGER) |
SELECT college FROM table_name_44 WHERE player = "peyton siva" | Which college does Peyton Siva play for? | CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR) |
SELECT MIN(totals_06_10) FROM table_name_15 WHERE pubs_2010 = 68 AND totals_07_11 > 305 | What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305? | CREATE TABLE table_name_15 (totals_06_10 INTEGER, pubs_2010 VARCHAR, totals_07_11 VARCHAR) |
SELECT report FROM table_name_33 WHERE pole_position = "bobby unser" AND winning_driver = "rick mears" | Which report includes Bobby Unser as the Pole Position and Rick Mears as the Winning driver? | CREATE TABLE table_name_33 (report VARCHAR, pole_position VARCHAR, winning_driver VARCHAR) |
SELECT city_of_license FROM table_name_68 WHERE call_sign = "k241an" | Which City of license has a Call sign of k241an? | CREATE TABLE table_name_68 (city_of_license VARCHAR, call_sign VARCHAR) |
SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states" | Which Player has a To par of e, and a Country of united states? | CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT COUNT(date_of_vacancy) FROM table_14406743_5 WHERE manner_of_departure = "Resigned" AND outgoing_manager = "Geninho" | Name the total number of date of vacancy for manner of departure being resigned and outgoing manager is geninho | CREATE TABLE table_14406743_5 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) |
SELECT T2.FirstName, T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie" | 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 SUM(area_km_2) FROM table_name_56 WHERE census_ranking = "1,773 of 5,008" | What is the Area km 2 with a Census Ranking of 1,773 of 5,008? | CREATE TABLE table_name_56 (area_km_2 INTEGER, census_ranking VARCHAR) |
SELECT date FROM table_name_63 WHERE city = "san jacinto, california" | When has a City of san jacinto, california? | CREATE TABLE table_name_63 (date VARCHAR, city VARCHAR) |
SELECT COUNT(horizontal_0_a) FROM table_25519358_1 WHERE number = 10 | Name the horizontal number for number 10 | CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, number VARCHAR) |
SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992" | In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)? | CREATE TABLE table_name_70 (ba__place_ VARCHAR, year VARCHAR, team VARCHAR, bb_ VARCHAR, hbp VARCHAR) |
SELECT AVG(gold) FROM table_name_53 WHERE silver > 1 AND bronze < 2 | What's the average amount of Gold medals won when there were more than 1 silver medal won and less than 2 bronze medals won. | CREATE TABLE table_name_53 (gold INTEGER, silver VARCHAR, bronze VARCHAR) |
SELECT id FROM instructor EXCEPT SELECT id FROM teaches | Find the id of instructors who didn't teach any courses? | CREATE TABLE teaches (id VARCHAR); CREATE TABLE instructor (id VARCHAR) |
SELECT location FROM table_name_96 WHERE opponenent = "germany" | Where was the opponent Germany? | CREATE TABLE table_name_96 (location VARCHAR, opponenent VARCHAR) |
SELECT pinyin FROM table_1204998_2 WHERE population = 374047 | Which pinyin have a population of 374047? | CREATE TABLE table_1204998_2 (pinyin VARCHAR, population VARCHAR) |
SELECT control FROM table_2076463_2 WHERE founded = 1873 | What is the only type of university that was founded in 1873? | CREATE TABLE table_2076463_2 (control VARCHAR, founded VARCHAR) |
SELECT directed_by FROM table_18274425_1 WHERE written_by = "Mike Daniels" | Who were the director/s of episodes written by Mike Daniels? | CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR) |
SELECT years_in_orlando FROM table_name_64 WHERE nationality = "united states" AND school_club_team = "concord hs" | What years in Orlando have the United States as the nationality, with concord hs as the school/club team? | CREATE TABLE table_name_64 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR) |
SELECT MIN(fourth_place) FROM table_1571238_2 WHERE team = "Lake Superior State" | When the team is lake superior state how many times did they place fourth? | CREATE TABLE table_1571238_2 (fourth_place INTEGER, team VARCHAR) |
SELECT Song FROM volume ORDER BY Song | Please list all songs in volumes in ascending alphabetical order. | CREATE TABLE volume (Song VARCHAR) |
SELECT score_in_the_final FROM table_23259077_1 WHERE outcome = "Runner-up" AND championship = "Wimbledon" | What were the scores of the Wimbledon final matches where Newcombe was the runner-up? | CREATE TABLE table_23259077_1 (score_in_the_final VARCHAR, outcome VARCHAR, championship VARCHAR) |
SELECT purpose FROM table_name_13 WHERE on_air_id = "2xx" | Name the purpose for on-air ID of 2xx | CREATE TABLE table_name_13 (purpose VARCHAR, on_air_id VARCHAR) |
SELECT COUNT(*) FROM Apartment_Bookings | How many apartment bookings are there in total? | CREATE TABLE Apartment_Bookings (Id VARCHAR) |
SELECT MAX(starts) FROM table_3005915_3 | What is the maximum number of starts? | CREATE TABLE table_3005915_3 (starts INTEGER) |
SELECT home FROM table_name_12 WHERE visitor = "dallas" AND date = "february 2" | Name the home when the visitor was dallas on february 2 | CREATE TABLE table_name_12 (home VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT tournament FROM table_name_59 WHERE opponents = "petra krejsová tereza smitková" | Which tournament had an opponent of petra krejsová tereza smitková? | CREATE TABLE table_name_59 (tournament VARCHAR, opponents VARCHAR) |
SELECT location_attendance FROM table_name_79 WHERE record = "16-6" | What was the location/attendance for the game with a record of 16-6? | CREATE TABLE table_name_79 (location_attendance VARCHAR, record VARCHAR) |
SELECT AVG(Earnings) FROM poker_player | What is the average earnings of poker players? | CREATE TABLE poker_player (Earnings INTEGER) |
SELECT MIN(total) FROM table_name_31 WHERE position < 1 | What's the total that the position is less than 1? | CREATE TABLE table_name_31 (total INTEGER, position INTEGER) |
SELECT written_by FROM table_11075747_4 WHERE series__number = 38 | Who wrote Series 38? | CREATE TABLE table_11075747_4 (written_by VARCHAR, series__number VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.