answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT mpg_uk_combined FROM table_name_89 WHERE mpg_uk_urban__cold_ > 26.6 AND transmission = "m5" AND fuel_type = "diesel" AND engine_capacity < 1560 | What is the mpg-uk combined with an mpg-uk urban (cold) greater than 26.6, a m5 transmission, a diesel fuel type, and an engine capacity less than 1560? | CREATE TABLE table_name_89 (mpg_uk_combined VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_urban__cold_ VARCHAR, transmission VARCHAR) |
SELECT COUNT(DISTINCT bedType) FROM Rooms | How many different types of beds are there? | CREATE TABLE Rooms (bedType VARCHAR) |
SELECT place FROM table_name_66 WHERE player = "dave douglas" | What Dave Douglas' Place? | CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR) |
SELECT number FROM table_name_20 WHERE males = "977 948" | What is the number of males 977 948? | CREATE TABLE table_name_20 (number VARCHAR, males VARCHAR) |
SELECT event FROM table_name_2 WHERE snatch = 122.5 | What event has a 122.5 snatch rate? | CREATE TABLE table_name_2 (event VARCHAR, snatch VARCHAR) |
SELECT tv_network_s_ FROM table_18821196_1 WHERE country = "Belgium" | What is every TV network in Belgium? | CREATE TABLE table_18821196_1 (tv_network_s_ VARCHAR, country VARCHAR) |
SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix" | How many poles does status grand prix have? | CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) |
SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west" | What is the hot 100 reaction in week of top 13 for Kanye West? | CREATE TABLE table_name_41 (hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR) |
SELECT COUNT(round) FROM table_name_94 WHERE college = "georgia" | In how many rounds of the draft was there a college from Georgia involved? | CREATE TABLE table_name_94 (round VARCHAR, college VARCHAR) |
SELECT basketball FROM table_16423070_4 WHERE track_ & _field = "Ashland" AND cross_country = "Ashland" | who won basketball when ashland won track & field and cross country | CREATE TABLE table_16423070_4 (basketball VARCHAR, cross_country VARCHAR, track_ VARCHAR, _field VARCHAR) |
SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990 | How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990? | CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR) |
SELECT Carrier FROM phone WHERE Memory_in_G < 32 INTERSECT SELECT Carrier FROM phone WHERE Memory_in_G > 64 | Show the carriers that have both phones with memory smaller than 32 and phones with memory bigger than 64. | CREATE TABLE phone (Carrier VARCHAR, Memory_in_G INTEGER) |
SELECT name_of_administrative_unit FROM table_14465924_1 WHERE population__people_ = 3464 | Name the name of administrative unit for 3464 people | CREATE TABLE table_14465924_1 (name_of_administrative_unit VARCHAR, population__people_ VARCHAR) |
SELECT winner FROM table_name_58 WHERE edition = "23rd" | Who was the winner of the 23rd Edition? | CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR) |
SELECT MIN(to_par) FROM table_name_90 WHERE year_s__won = "1962, 1967, 1972, 1980" AND total > 149 | Which To par is the lowest one that has a Year(s) won of 1962, 1967, 1972, 1980, and a Total larger than 149? | CREATE TABLE table_name_90 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR) |
SELECT stolen_ends FROM table_1543845_63 WHERE locale = Sweden | How many stolen ends were there when the locale was Sweden? | CREATE TABLE table_1543845_63 (stolen_ends VARCHAR, locale VARCHAR, Sweden VARCHAR) |
SELECT SUM(total) FROM table_name_53 WHERE rd_7 < 8 | What is the sum of total values for Rd 7 less than 8? | CREATE TABLE table_name_53 (total INTEGER, rd_7 INTEGER) |
SELECT team FROM table_name_44 WHERE points < 1 AND chassis = "zakspeed 871" | What Team had less than 1 point with a Zakspeed 871 chassis? | CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, chassis VARCHAR) |
SELECT SUM(shirt_no) FROM table_name_11 WHERE position = "setter" AND nationality = "italy" AND height > 172 | What is the shirt no with a position of setter, a nationality of Italy, and height larger than 172? | CREATE TABLE table_name_11 (shirt_no INTEGER, height VARCHAR, position VARCHAR, nationality VARCHAR) |
SELECT COUNT(division) FROM table_name_89 WHERE regular_season = "2nd, northeast" AND year < 2008 | When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division? | CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR) |
SELECT MIN(champ_car_world_series__2004_2007_) FROM table_19524523_1 | What is the minimum number of wins possible for the Champ Car World Series among all the drivers? | CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER) |
SELECT ensemble FROM table_name_21 WHERE silver_medals > 1 | Name the ensemble with silver medals more than 1 | CREATE TABLE table_name_21 (ensemble VARCHAR, silver_medals INTEGER) |
SELECT driver FROM table_name_55 WHERE chassis = "193" AND rounds = "14" | What driver went 14 rounds with a 193 Chassis? | CREATE TABLE table_name_55 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) |
SELECT season FROM table_name_70 WHERE competition = "champions league" | In which season was there a competition in the Champions League? | CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR) |
SELECT COUNT(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000 | How many employees have salary between 100000 and 200000? | CREATE TABLE Employee (salary INTEGER) |
SELECT T1.Claim_id, COUNT(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id | How many settlements does each claim correspond to? List the claim id and the number of settlements. | CREATE TABLE Settlements (claim_id VARCHAR); CREATE TABLE Claims (Claim_id VARCHAR, claim_id VARCHAR) |
SELECT total_team_penalties FROM table_18666752_3 WHERE cross_country_penalties = "30.40" | How many total team penalties are there when cross country penalties is 30.40? | CREATE TABLE table_18666752_3 (total_team_penalties VARCHAR, cross_country_penalties VARCHAR) |
SELECT race_name FROM table_name_3 WHERE winning_driver = "innes ireland" | What's the race name that the driver Innes Ireland won? | CREATE TABLE table_name_3 (race_name VARCHAR, winning_driver VARCHAR) |
SELECT writer_s_ FROM table_name_27 WHERE catalogue = "lsp 2231" AND track < 17 | On songs with track numbers smaller than number 17 and catalogues of LSP 2231, who are the writer(s)? | CREATE TABLE table_name_27 (writer_s_ VARCHAR, catalogue VARCHAR, track VARCHAR) |
SELECT dates FROM table_15315816_1 WHERE country = "Canada" | What are all of the dates in the country of Canada? | CREATE TABLE table_15315816_1 (dates VARCHAR, country VARCHAR) |
SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g" | When was the coin with the mass of 3.7 g first minted? | CREATE TABLE table_1307572_1 (first_minting VARCHAR, mass VARCHAR) |
SELECT MAX(total) FROM table_name_20 WHERE year_s__won = "1976" | What is the winning total from 1976? | CREATE TABLE table_name_20 (total INTEGER, year_s__won VARCHAR) |
SELECT COUNT(tournament) FROM table_11622562_1 WHERE score = "204 (-12)" | How many tournaments ended with a score of 204 (-12)? | CREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR) |
SELECT result FROM table_1341690_20 WHERE district = "Maryland 7" | List all results where the voting district is Maryland 7. | CREATE TABLE table_1341690_20 (result VARCHAR, district VARCHAR) |
SELECT score FROM table_name_84 WHERE away_team = "west ham united" | What was the score for the game when West Ham United was the away team? | CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR) |
SELECT date FROM table_name_48 WHERE region = "france" AND catalog = "82876-70291-2" | What Date is listed for the Region of France and Catalog of 82876-70291-2? | CREATE TABLE table_name_48 (date VARCHAR, region VARCHAR, catalog VARCHAR) |
SELECT high_assists FROM table_23248869_8 WHERE score = "L 85β118 (OT)" | Who had the high assists when the score was l 85β118 (ot) | CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR) |
SELECT MAX(february) FROM table_name_43 WHERE opponent = "philadelphia flyers" AND game > 63 | What is the highest Feb value having an opponent of the Philadelphia Flyers and is after game 63? | CREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR) |
SELECT score FROM table_name_31 WHERE game > 78 AND date = 4 | What is Score, when Game is greater than 78, and when Date is "4"? | CREATE TABLE table_name_31 (score VARCHAR, game VARCHAR, date VARCHAR) |
SELECT TYPE FROM ship GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | Please show the most common type of ships. | CREATE TABLE ship (TYPE VARCHAR) |
SELECT MAX(enrollment) FROM table_name_93 WHERE location = "onalaska" | What is the Enrollment at Onalaska? | CREATE TABLE table_name_93 (enrollment INTEGER, location VARCHAR) |
SELECT T1.Allergy, T1.AllergyType FROM Allergy_type AS T1 JOIN Has_allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" ORDER BY T1.Allergy | What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies. | CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR) |
SELECT COUNT(ties) FROM table_name_41 WHERE wins < 1 AND games = 6 AND losses = 6 AND season > 1941 | How many Ties have Wins smaller than 1, and Games of 6, and Losses of 6, and a Season larger than 1941? | CREATE TABLE table_name_41 (ties VARCHAR, season VARCHAR, losses VARCHAR, wins VARCHAR, games VARCHAR) |
SELECT venue FROM table_name_85 WHERE player = "chuck klein" | What was the venue where Chuck Klein played? | CREATE TABLE table_name_85 (venue VARCHAR, player VARCHAR) |
SELECT time FROM table_name_99 WHERE year = "1984" | What was the winning time in 1984? | CREATE TABLE table_name_99 (time VARCHAR, year VARCHAR) |
SELECT MIN(game) FROM table_name_24 WHERE record = "1-0-2" | Name the least game for record of 1-0-2 | CREATE TABLE table_name_24 (game INTEGER, record VARCHAR) |
SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" | While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast? | CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) |
SELECT COUNT(number_of_families) FROM table_16048129_5 WHERE _percentage_of_total_deportees = "5.8" | How many total families are there in regions with 5.8 percent of the population being made up of deportees? | CREATE TABLE table_16048129_5 (number_of_families VARCHAR, _percentage_of_total_deportees VARCHAR) |
SELECT date FROM table_name_90 WHERE opponent = "white sox" AND record = "18-13" | On what date was the opponent the White Sox and the record 18-13? | CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR, record VARCHAR) |
SELECT home_team AS score FROM table_name_78 WHERE aedt_time = "11:00 pm" | Which Home team score has a AEDT Time of 11:00 pm? | CREATE TABLE table_name_78 (home_team VARCHAR, aedt_time VARCHAR) |
SELECT race_title FROM table_name_73 WHERE team = "dick johnson racing" | What is the race title of Dick Johnson Racing? | CREATE TABLE table_name_73 (race_title VARCHAR, team VARCHAR) |
SELECT aa_length FROM table_26708105_5 WHERE protein_name = "C11orf73" | What is the aa length when the protein name is c11orf73? | CREATE TABLE table_26708105_5 (aa_length VARCHAR, protein_name VARCHAR) |
SELECT opponent FROM table_name_6 WHERE outcome = "winner" AND surface = "hard" AND date = "august 27, 2011" | Who is the opponent for the winner outcome on a hard surface on August 27, 2011? | CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) |
SELECT COUNT(team_classification) FROM table_15059783_1 WHERE combination_classification = "Alejandro Valverde" AND points_classification = "Alessandro Petacchi" | How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi? | CREATE TABLE table_15059783_1 (team_classification VARCHAR, combination_classification VARCHAR, points_classification VARCHAR) |
SELECT T1.customer_name, T1.customer_phone, T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id ORDER BY COUNT(*) DESC LIMIT 1 | What are the name, phone number and email address of the customer who made the largest number of orders? | CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_email VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR) |
SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 9 | What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points? | CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) |
SELECT builder FROM table_name_75 WHERE launched = "20 jun 1953" | what builder launched 20 jun 1953? | CREATE TABLE table_name_75 (builder VARCHAR, launched VARCHAR) |
SELECT lead FROM table_name_78 WHERE alternate = "li dongyan" | What was the lead with an alternate of li dongyan? | CREATE TABLE table_name_78 (lead VARCHAR, alternate VARCHAR) |
SELECT commercial_operation FROM table_name_95 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4" | What commercial operation that has a gross capacity of 1,126 mw, and a unit of tianwan-4? | CREATE TABLE table_name_95 (commercial_operation VARCHAR, gross_capacity VARCHAR, unit VARCHAR) |
SELECT COUNT(points) FROM table_name_64 WHERE opponent = "@ new york islanders" AND game > 35 | How many points have @ new york islanders as the opponent, with a game greater than 35? | CREATE TABLE table_name_64 (points VARCHAR, opponent VARCHAR, game VARCHAR) |
SELECT record FROM table_name_34 WHERE date = "october 11" | Name the record for october 11 | CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) |
SELECT candidates FROM table_1341598_36 WHERE district = "Ohio 6" | who were the candidates for district ohio 6? | CREATE TABLE table_1341598_36 (candidates VARCHAR, district VARCHAR) |
SELECT country FROM table_name_23 WHERE score = 72 - 70 - 75 - 72 = 289 | What country has a 72-70-75-72=289 score? | CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR) |
SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s." | What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."? | CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) |
SELECT born_died FROM table_name_25 WHERE term_start = "4 december 1941" | What is Born-Died, when Term Start is 4 December 1941? | CREATE TABLE table_name_25 (born_died VARCHAR, term_start VARCHAR) |
SELECT run_4 FROM table_name_21 WHERE run_2 = "1:25.84" | What is Run 4, when Run 2 is 1:25.84? | CREATE TABLE table_name_21 (run_4 VARCHAR, run_2 VARCHAR) |
SELECT general_election FROM table_149330_1 WHERE votes_swing = "1.69" | Which general election had a vote swing of 1.69? | CREATE TABLE table_149330_1 (general_election VARCHAR, votes_swing VARCHAR) |
SELECT 1983 FROM table_name_44 WHERE 1975 = "career statistics" | What 1983 has a 1975 of career statistics? | CREATE TABLE table_name_44 (Id VARCHAR) |
SELECT performance_liaison FROM table_22410780_1 WHERE dramaturge = "Chrisena Ricci" | Who were the performance liaisons for the dramaturge Chrisena Ricci? | CREATE TABLE table_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR) |
SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa" | What was the broadcast date of the episode that visited South Africa? | CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) |
SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056" | What is the fleet number for the model with Serial number 68056? | CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR) |
SELECT MAX(2003) FROM table_name_84 WHERE 1990 > 74 AND 1985 = 125 AND 1995 > 130 | What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130? | CREATE TABLE table_name_84 (Id VARCHAR) |
SELECT MAX(first_elected) FROM table_1341522_13 WHERE district = "Georgia5" | What's Georgia5's first elected year? | CREATE TABLE table_1341522_13 (first_elected INTEGER, district VARCHAR) |
SELECT enterprise FROM table_name_1 WHERE datacenter = "yes" AND features = "memory modules: hot replacement" | What is the Enterprise for teh memory modules: hot replacement Feature that has a Datacenter of Yes? | CREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR) |
SELECT customer_email, customer_name FROM customers WHERE payment_method = 'Visa' | List the names and emails of customers who payed by Visa card. | CREATE TABLE customers (customer_email VARCHAR, customer_name VARCHAR, payment_method VARCHAR) |
SELECT lost FROM table_name_92 WHERE club = "mumbles rfc" | What did the loss come from a Club of mumbles rfc? | CREATE TABLE table_name_92 (lost VARCHAR, club VARCHAR) |
SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203" | What was the max character (per page row) of the encoding with a bit rate of 6.203? | CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR) |
SELECT release_price___usd__ FROM table_name_63 WHERE socket = "without quickassist" | Socket of without quickassist has what release price? | CREATE TABLE table_name_63 (release_price___usd__ VARCHAR, socket VARCHAR) |
SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = "melbourne victory" | Im the match where the home team is Melbourne Victory, what was the crowd attendance? | CREATE TABLE table_name_97 (crowd VARCHAR, home_team VARCHAR) |
SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach = "Yuriy Korotkevich" | What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich? | CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) |
SELECT COUNT(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle" | How many likes does Kyle have? | CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR) |
SELECT MIN(forfeited_in_seats) FROM table_22582663_1 WHERE seats_won = 19 | Where 19 seats were won, what was the minimum number of forfeited seats? | CREATE TABLE table_22582663_1 (forfeited_in_seats INTEGER, seats_won VARCHAR) |
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Sun Yu" | Who are the mens singles and womens singles with sun yu? | CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR) |
SELECT tournament FROM table_name_22 WHERE score_in_the_final = "6β7, 6β2, 6β4" | what tornament had the scores 6β7, 6β2, 6β4? | CREATE TABLE table_name_22 (tournament VARCHAR, score_in_the_final VARCHAR) |
SELECT title FROM table_name_73 WHERE type = "album" AND year > 1986 | Which Title has a Type of album and a Year larger than 1986? | CREATE TABLE table_name_73 (title VARCHAR, type VARCHAR, year VARCHAR) |
SELECT MIN(silver) FROM table_name_39 WHERE bronze > 3 | What is the least amount of Silver medals that have more than 3 Bronze? | CREATE TABLE table_name_39 (silver INTEGER, bronze INTEGER) |
SELECT director FROM table_28785738_1 WHERE no_in_season = 11 | Who directed episode 11 of the season? | CREATE TABLE table_28785738_1 (director VARCHAR, no_in_season VARCHAR) |
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "jack nicklaus" | Name the Score of jack nicklaus, united states, ? | CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR) |
SELECT MIN(goals) FROM table_name_20 WHERE goal_ratio = 0.14 AND debut_in_europe < 1995 | What are the smallest goals with a Goal Ratio of 0.14, and a Debut in Europe smaller than 1995? | CREATE TABLE table_name_20 (goals INTEGER, goal_ratio VARCHAR, debut_in_europe VARCHAR) |
SELECT catalog FROM table_name_68 WHERE format = "ed remaster cd" AND date = "december 19, 2001" | What catalog has a format of ED remaster CD and a date of December 19, 2001? | CREATE TABLE table_name_68 (catalog VARCHAR, format VARCHAR, date VARCHAR) |
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id GROUP BY t3.characteristic_name ORDER BY COUNT(*) DESC LIMIT 1 | What is the characteristic name used by most number of the products? | CREATE TABLE products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) |
SELECT rounds FROM table_name_15 WHERE chassis = "n180" AND driver = "geoff lees" | How many rounds did geoff lees drive with chassis of n180? | CREATE TABLE table_name_15 (rounds VARCHAR, chassis VARCHAR, driver VARCHAR) |
SELECT SUM(years_played) FROM table_name_28 WHERE singles_win_loss = "4-9" AND first_year_played < 1999 | How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999? | CREATE TABLE table_name_28 (years_played INTEGER, singles_win_loss VARCHAR, first_year_played VARCHAR) |
SELECT republican FROM table_name_49 WHERE district > 4 | Who was the Republican in the district more than 4? | CREATE TABLE table_name_49 (republican VARCHAR, district INTEGER) |
SELECT MAX(start) FROM table_name_83 WHERE finish > 3 AND manufacturer = "ford" AND year > 1969 | WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969? | CREATE TABLE table_name_83 (start INTEGER, year VARCHAR, finish VARCHAR, manufacturer VARCHAR) |
SELECT venue FROM table_name_26 WHERE competition = "international match" AND date = "1948-10-28" | In 1948-10-28, in what Venue was the Competition of International Match held? | CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE building = 'Chandler' AND semester = 'Fall' AND YEAR = 2010 | What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010? | CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE SECTION (course_id VARCHAR) |
SELECT teams FROM table_name_89 WHERE season = "1950-51" | what is the teams for season 1950-51? | CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR) |
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0 | What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? | CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR) |
SELECT time_retired FROM table_name_89 WHERE grid < 10 AND laps > 20 AND constructor = "talbot-lago - talbot" | What is the Time/Retired for a Grid smaller than 10, a Laps larger than 20, and a Constructor of talbot-lago - talbot? | CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.