answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT playoffs FROM table_name_54 WHERE year > 1975 AND record = "13–11" | Year larger than 1975, and a Record of 13–11 is what playoffs? | CREATE TABLE table_name_54 (playoffs VARCHAR, year VARCHAR, record VARCHAR) |
SELECT season FROM table_name_34 WHERE score = "1-0" | Can you tell me the Season that has the Score of 1-0? | CREATE TABLE table_name_34 (season VARCHAR, score VARCHAR) |
SELECT tournament FROM table_name_76 WHERE semi_finalists = "monica seles sandrine testud" | Which Tournament has a Semi finalists of monica seles sandrine testud? | CREATE TABLE table_name_76 (tournament VARCHAR, semi_finalists VARCHAR) |
SELECT date FROM table_23211041_7 WHERE location_attendance = "Verizon Center 20,173" | If the location attendance is the Verizon Center 20,173, what is the date? | CREATE TABLE table_23211041_7 (date VARCHAR, location_attendance VARCHAR) |
SELECT AVG(games) AS ↑ FROM table_name_51 WHERE name = "tony dixon" | What is the average games of Tony Dixon? | CREATE TABLE table_name_51 (games INTEGER, name VARCHAR) |
SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham" | What year was the first election when Fritz G. Lanham was elected? | CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR) |
SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval" | What was the smallest crowd at junction oval? | CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR) |
SELECT hometown FROM table_11677691_6 WHERE player = "Shaq Thompson" | Where is Shaq Thompson from? | CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR) |
SELECT years FROM table_name_41 WHERE goals < 160 | What years were the goals less then 160? | CREATE TABLE table_name_41 (years VARCHAR, goals INTEGER) |
SELECT fraction FROM table_name_58 WHERE parentheses = "0.(3)" | What fraction has parentheses of 0.(3)? | CREATE TABLE table_name_58 (fraction VARCHAR, parentheses VARCHAR) |
SELECT tournament FROM table_name_53 WHERE outcome = "winner" AND opponent = "dia evtimova" | Which tournament has an Outcome of winner, and a Opponent of dia evtimova? | CREATE TABLE table_name_53 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR) |
SELECT MAX(drawn) FROM table_name_86 WHERE games < 7 | What is the highest number of games drawn, where the games played was less than 7? | CREATE TABLE table_name_86 (drawn INTEGER, games INTEGER) |
SELECT T1.name, T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1 | Find the name and checking balance of the account with the lowest savings balance. | CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) |
SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "Team Impul" AND circuit = "Twin Ring Motegi" | Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit? | CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) |
SELECT undecided FROM table_name_22 WHERE roy_barnes = "47%" | What was the undecided with Roy Barnes at 47%? | CREATE TABLE table_name_22 (undecided VARCHAR, roy_barnes VARCHAR) |
SELECT college FROM table_name_16 WHERE pick__number = 203 | Pick # of 203 went to which college? | CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR) |
SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan" | Who directed all the episodes that were written by aaron ehasz & john o'bryan? | CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR) |
SELECT field FROM table_name_24 WHERE commissioned = "1958, 2005" | What Field was Commissioned in 1958, 2005? | CREATE TABLE table_name_24 (field VARCHAR, commissioned VARCHAR) |
SELECT MAX(first_elected) FROM table_1341472_49 | what's the latest first elected year | CREATE TABLE table_1341472_49 (first_elected INTEGER) |
SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "2040(93%)" | What are the countries in which the agricultural use (m 3 /p/yr)(in %) is 2040(93%)? | CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) |
SELECT MIN(attendance) FROM table_name_47 WHERE game = 6 | The game of 6 has what lowest attendance? | CREATE TABLE table_name_47 (attendance INTEGER, game VARCHAR) |
SELECT result FROM table_name_76 WHERE attendance = "72,703" | What was the result of the game that was attended by 72,703 people? | CREATE TABLE table_name_76 (result VARCHAR, attendance VARCHAR) |
SELECT 1992 FROM table_name_29 WHERE 1990 = "grand slams" | What is 1992, when 1990 is "Grand Slams"? | CREATE TABLE table_name_29 (Id VARCHAR) |
SELECT vacator FROM table_1802522_4 WHERE district = "Tennessee 1st" | Name the vacator for tennessee 1st | CREATE TABLE table_1802522_4 (vacator VARCHAR, district VARCHAR) |
SELECT Operating_system, COUNT(*) FROM web_client_accelerator GROUP BY Operating_system | Find the number of web accelerators used for each Operating system. | CREATE TABLE web_client_accelerator (Operating_system VARCHAR) |
SELECT heat FROM table_name_1 WHERE time = "15:29.69" | At time 15:29.69 what was the heat? | CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR) |
SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5 | What was the chassis when the entrant was Lavazza March, and the points were 0.5? | CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) |
SELECT gross_revenue__2011_ FROM table_name_28 WHERE gross_revenue__1982_ = "$1,988,047" | What is the gross revenue in 2011 with a gross revenue in 1982 of $1,988,047? | CREATE TABLE table_name_28 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR) |
SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands" | When is the Monsters of Rock show with 12 bands? | CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, acts VARCHAR) |
SELECT COUNT(to_par) FROM table_name_4 WHERE player = "lee trevino" | What is the total number of To par for Lee Trevino? | CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR) |
SELECT years FROM table_name_97 WHERE name = "ladbrooks school" | Which years have a Name of ladbrooks school? | CREATE TABLE table_name_97 (years VARCHAR, name VARCHAR) |
SELECT COUNT(director) FROM table_18123274_1 WHERE original_title = "Huelepega: Ley de la Calle" | Name the number of director for huelepega: ley de la calle | CREATE TABLE table_18123274_1 (director VARCHAR, original_title VARCHAR) |
SELECT MIN(rank) FROM table_name_62 WHERE title = "the big doll house" | What is the rank of The Big Doll House? | CREATE TABLE table_name_62 (rank INTEGER, title VARCHAR) |
SELECT date FROM table_name_28 WHERE surface = "clay" AND opponent_in_the_final = "cyril saulnier" | On what date was the surface clay with Cyril Saulnier as the opponent in the final? | CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT MIN(runs) FROM table_2985664_8 WHERE average = "42.36" | What is the lowest value for runs when the average is 42.36? | CREATE TABLE table_2985664_8 (runs INTEGER, average VARCHAR) |
SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio" | How many different kinds of reports are there for races that Juan Manuel Fangio won? | CREATE TABLE table_1140111_5 (report VARCHAR, winning_driver VARCHAR) |
SELECT report FROM table_name_31 WHERE home_team = "new zealand breakers" | what is the report when the home team is new zealand breakers? | CREATE TABLE table_name_31 (report VARCHAR, home_team VARCHAR) |
SELECT points FROM table_name_92 WHERE series = "gp3 series" AND podiums = "2" | What are the points for the GP3 series with 2 podiums? | CREATE TABLE table_name_92 (points VARCHAR, series VARCHAR, podiums VARCHAR) |
SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder" | What is the most money United States player Bob Gilder won? | CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR) |
SELECT result FROM table_2668329_11 WHERE incumbent = "Samuel Smith" | What was the result of Samuel Smith's race? | CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR) |
SELECT champion FROM table_name_47 WHERE location = "morrisville, nc" AND semi_finalist__number2 = "clemson" | Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson? | CREATE TABLE table_name_47 (champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR) |
SELECT points FROM table_name_24 WHERE year = 1974 | Name the point for 1974 | CREATE TABLE table_name_24 (points VARCHAR, year VARCHAR) |
SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães" | What was the day of vacancy for vitória de guimarães? | CREATE TABLE table_name_78 (date_of_vacancy VARCHAR, team VARCHAR) |
SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957 | What 1957 engine has a Chassis of connaught type b? | CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR) |
SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2" | What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees? | CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR) |
SELECT league_cup_goals FROM table_name_45 WHERE league_cup_apps = "1 (1)" | Which League Cup Goals have a League Cup Apps of 1 (1)? | CREATE TABLE table_name_45 (league_cup_goals VARCHAR, league_cup_apps VARCHAR) |
SELECT best_jump FROM table_name_48 WHERE jump_1 = "x" AND jump_2 = "7.28" | Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump? | CREATE TABLE table_name_48 (best_jump VARCHAR, jump_1 VARCHAR, jump_2 VARCHAR) |
SELECT driver FROM table_name_1 WHERE team = "p & l mechanical services" | Who is the Driver with the Team of P & L Mechanical Services? | CREATE TABLE table_name_1 (driver VARCHAR, team VARCHAR) |
SELECT result FROM table_name_57 WHERE rank__number = "1" AND attendance = "22,555" | What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1? | CREATE TABLE table_name_57 (result VARCHAR, rank__number VARCHAR, attendance VARCHAR) |
SELECT major, COUNT(*) FROM Student GROUP BY major | Show all majors and corresponding number of students. | CREATE TABLE Student (major VARCHAR) |
SELECT aprende FROM table_name_35 WHERE centennial = "1988" | WHich kind of Aprende has a Centennial of 1988? | CREATE TABLE table_name_35 (aprende VARCHAR, centennial VARCHAR) |
SELECT opponent FROM table_name_87 WHERE attendance = "60,355" | Who was the opponent when attendance was 60,355? | CREATE TABLE table_name_87 (opponent VARCHAR, attendance VARCHAR) |
SELECT location FROM table_name_31 WHERE type = "semi" AND entered_service = "1988" AND name = "transocean richardson" | Where is Transocean Richardson, a semi entered into service in 1988? | CREATE TABLE table_name_31 (location VARCHAR, name VARCHAR, type VARCHAR, entered_service VARCHAR) |
SELECT position FROM table_14342367_7 WHERE player = "Paul Jones" | What positions did Paul Jones play? | CREATE TABLE table_14342367_7 (position VARCHAR, player VARCHAR) |
SELECT MAX(laps) FROM table_name_17 WHERE qual = "165.229" | How many laps resulted from a Qual of 165.229? | CREATE TABLE table_name_17 (laps INTEGER, qual VARCHAR) |
SELECT MAX(created) FROM votes WHERE state = 'CA' | What is last date created of votes from the state 'CA'? | CREATE TABLE votes (created INTEGER, state VARCHAR) |
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.0 | Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees? | CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) |
SELECT COUNT(*) FROM Apartments WHERE NOT apt_id IN (SELECT apt_id FROM Apartment_Facilities) | How many apartments do not have any facility? | CREATE TABLE Apartment_Facilities (apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR) |
SELECT language FROM table_name_14 WHERE director = "hans kristensen" | What is the language of the film directed by Hans Kristensen? | CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR) |
SELECT position FROM table_1013129_1 WHERE nhl_team = "Hartford Whalers" | What positions do the hartford whalers nhl team have? | CREATE TABLE table_1013129_1 (position VARCHAR, nhl_team VARCHAR) |
SELECT release_date FROM table_16400024_1 WHERE part_number_s_ = "80525PY500512BX80525U500512BX80525U500512E" | What is the release date of part 80525py500512bx80525u500512bx80525u500512e? | CREATE TABLE table_16400024_1 (release_date VARCHAR, part_number_s_ VARCHAR) |
SELECT winning_driver FROM table_name_66 WHERE winning_manufacturer = "no race" | Who is the winning driver of the race with no race as the winning manufacturer? | CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR) |
SELECT date FROM table_name_74 WHERE venue = "princes park" | What date was the game played at princes park? | CREATE TABLE table_name_74 (date VARCHAR, venue VARCHAR) |
SELECT name FROM table_name_30 WHERE sport = "athletics" AND date < 16 | Who had the sport of athletics on a date earlier than 16? | CREATE TABLE table_name_30 (name VARCHAR, sport VARCHAR, date VARCHAR) |
SELECT score FROM table_27723228_12 WHERE team = "Indiana" | Name the score for indiana | CREATE TABLE table_27723228_12 (score VARCHAR, team VARCHAR) |
SELECT SUM(total) FROM table_name_72 WHERE silver = 0 AND gold = 1 | What is the sum of Total, when Silver is 0, and when Gold is 1? | CREATE TABLE table_name_72 (total INTEGER, silver VARCHAR, gold VARCHAR) |
SELECT result FROM table_name_47 WHERE opponent = "texas longhorns" | What result has texas longhorns as the opponent? | CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR) |
SELECT format FROM table_name_31 WHERE date = "may 27, 2009" | Which format is released on May 27, 2009? | CREATE TABLE table_name_31 (format VARCHAR, date VARCHAR) |
SELECT races FROM table_name_43 WHERE position = "8th" | What is the race in the 8th position? | CREATE TABLE table_name_43 (races VARCHAR, position VARCHAR) |
SELECT result FROM table_1342393_41 WHERE incumbent = "Cordell Hull" | What was the result of the election for incumbent Cordell Hull? | CREATE TABLE table_1342393_41 (result VARCHAR, incumbent VARCHAR) |
SELECT AVG(goals) FROM table_name_16 WHERE apps < 3 | Tell me the average goals with apps less than 3 | CREATE TABLE table_name_16 (goals INTEGER, apps INTEGER) |
SELECT car_make FROM table_27514362_7 WHERE driver = "Sterling Marlin" | What is the car make for Sterling Marlin? | CREATE TABLE table_27514362_7 (car_make VARCHAR, driver VARCHAR) |
SELECT MAX(overall) FROM table_name_77 WHERE executive_appointments = 28 AND background < 37 | What's the most overall when the executive appointments were 28 and the background was smaller than 37? | CREATE TABLE table_name_77 (overall INTEGER, executive_appointments VARCHAR, background VARCHAR) |
SELECT team FROM table_name_21 WHERE completions = "redshirt" | What team did James Vanderberg belong to when the Completions had a status of redshirt? | CREATE TABLE table_name_21 (team VARCHAR, completions VARCHAR) |
SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 4 | How many times is the country ireland and points more than 4? | CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR) |
SELECT written_by FROM table_20967430_3 WHERE season = 10 | When it is season 10 who are the writers? | CREATE TABLE table_20967430_3 (written_by VARCHAR, season VARCHAR) |
SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2 | Show all church names that have hosted least two weddings. | CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR) |
SELECT players_per_console FROM table_name_51 WHERE genre = "strategy" AND year = 1992 | For the strategy game in 1992, how many players were allowed per console? | CREATE TABLE table_name_51 (players_per_console VARCHAR, genre VARCHAR, year VARCHAR) |
SELECT bike FROM table_name_34 WHERE grid > 14 AND laps < 22 AND rider = "jiri drazdak" | Which bike did Jiri Drazdak ride when he had a grid number larger than 14 and less than 22 laps? | CREATE TABLE table_name_34 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR) |
SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Nick Hewer and Saira Khan" | List the director and producer when Nick Hewer and Saira Khan were starring. | CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR) |
SELECT video FROM table_name_49 WHERE channel = 25.3 | Which Video has a Channel of 25.3? | CREATE TABLE table_name_49 (video VARCHAR, channel VARCHAR) |
SELECT AVG(floors) FROM table_name_10 WHERE name = "citic square" | What is the number of floors for the Citic Square? | CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR) |
SELECT MIN(score) FROM table_name_23 WHERE player = "tommy bolt" | What is the score of Tommy Bolt | CREATE TABLE table_name_23 (score INTEGER, player VARCHAR) |
SELECT station_type FROM table_28794440_1 WHERE location = "Cebu" | What types of stations are located in Cebu? | CREATE TABLE table_28794440_1 (station_type VARCHAR, location VARCHAR) |
SELECT MIN(fiscal_year) FROM table_19255192_1 WHERE total_vehicles = 490 | What is the lowest fiscal year if total vehicles is 490? | CREATE TABLE table_19255192_1 (fiscal_year INTEGER, total_vehicles VARCHAR) |
SELECT class FROM table_name_15 WHERE part_3 = "blétu" | What is Class, when Part 2 is "blétu"? | CREATE TABLE table_name_15 (class VARCHAR, part_3 VARCHAR) |
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640 | How many tot officers were there on the date when the number of tot enlisted was 329640? | CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR) |
SELECT status FROM table_18278508_4 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "July 30" | Name the status for karanvir bohra and date performed being july 30 | CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR) |
SELECT home_venue FROM table_name_95 WHERE team = "bengaluru fc" | Where is the home venue of Bengaluru FC? | CREATE TABLE table_name_95 (home_venue VARCHAR, team VARCHAR) |
SELECT rider FROM table_name_78 WHERE speed = "86.15mph" | Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph? | CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR) |
SELECT opponent_in_the_final FROM table_name_69 WHERE date = "october 9, 2005" | What opponent in the final has October 9, 2005 as the date? | CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR) |
SELECT MIN(attendance) FROM table_name_53 WHERE record = "52-37" | Name the least attendance for 52-37 record | CREATE TABLE table_name_53 (attendance INTEGER, record VARCHAR) |
SELECT deaths FROM table_name_34 WHERE name = "eseta" | How many deaths did eseta cause? | CREATE TABLE table_name_34 (deaths VARCHAR, name VARCHAR) |
SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly" | If the assembly is the sixth assembly, what is the maximum election year? | CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR) |
SELECT gymnast FROM table_name_83 WHERE floor = "14.800" | Who is the gymnast with a floor score of 14.800? | CREATE TABLE table_name_83 (gymnast VARCHAR, floor VARCHAR) |
SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3 | What entrant had less than 3 points before 1963? | CREATE TABLE table_name_28 (entrant VARCHAR, year VARCHAR, points VARCHAR) |
SELECT to_par FROM table_name_23 WHERE score = "70-76-68-214" | Who has the par score of 70-76-68-214? | CREATE TABLE table_name_23 (to_par VARCHAR, score VARCHAR) |
SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN" | What was the length of the jumper representing FIN, in meters? | CREATE TABLE table_14407512_4 (nationality VARCHAR) |
SELECT vote FROM table_28742659_2 WHERE immunity = "David" AND reward = "None" | What is the vote number when immunity listed as David and reward is listed as none? | CREATE TABLE table_28742659_2 (vote VARCHAR, immunity VARCHAR, reward VARCHAR) |
SELECT location FROM table_name_84 WHERE opponent = "masanori suda" | Which location has an Opponent of masanori suda? | CREATE TABLE table_name_84 (location VARCHAR, opponent VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.