answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = "app" AND construction_start = "2008 january" AND population_served > 3500 | What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500? | CREATE TABLE table_name_6 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR) |
SELECT home_team FROM table_name_29 WHERE tie_no = "1" | Who was the home team that has a tie no of 1? | CREATE TABLE table_name_29 (home_team VARCHAR, tie_no VARCHAR) |
SELECT time FROM table_name_54 WHERE nationality = "russia" | What is the time for Russia? | CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR) |
SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th" | Which Venue has a Competition of european championships, and a Position of 7th? | CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR) |
SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" | What year has a result of 3 in the venue of Jarama. | CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) |
SELECT away_team AS score FROM table_name_62 WHERE home_team = "footscray" | Who was the opponent when Footscray played as the home team? | CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR) |
SELECT school_club_team FROM table_11545282_18 WHERE player = "Kirk Snyder" | Which school is Kirk Snyder from? | CREATE TABLE table_11545282_18 (school_club_team VARCHAR, player VARCHAR) |
SELECT 2010 FROM table_name_44 WHERE 2007 = "grand slam tournaments" | What is the 2010 for the grand slam tournaments of 2007? | CREATE TABLE table_name_44 (Id VARCHAR) |
SELECT mccain_percentage FROM table_20539826_1 WHERE county = "DeBaca" | How many percent of the votes in Debaca did McCain get? | CREATE TABLE table_20539826_1 (mccain_percentage VARCHAR, county VARCHAR) |
SELECT MAX(loss) FROM table_name_31 WHERE game < 14 | What is the highest loss before game 14? | CREATE TABLE table_name_31 (loss INTEGER, game INTEGER) |
SELECT won FROM table_12792876_2 WHERE "club" = "club" | What is the third entry in the row with a first entry of "club"? | CREATE TABLE table_12792876_2 (won VARCHAR) |
SELECT director_s_ FROM table_name_42 WHERE prize = "Β₯2,000,000" | What Director won a prize of Β₯2,000,000? | CREATE TABLE table_name_42 (director_s_ VARCHAR, prize VARCHAR) |
SELECT COUNT(lost) FROM table_name_61 WHERE highest_ranking = "β β" | What is the total number of Lost for the Highest Ranking of β β? | CREATE TABLE table_name_61 (lost VARCHAR, highest_ranking VARCHAR) |
SELECT owner FROM table_name_65 WHERE frequency = "fm 92.1" | Who owns the station with the frequency FM 92.1? | CREATE TABLE table_name_65 (owner VARCHAR, frequency VARCHAR) |
SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 27 | What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths? | CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR) |
SELECT candidates FROM table_1341690_20 WHERE incumbent = "Goodloe Byron" | List all candidates in elections where the incumbent politician is Goodloe Byron. | CREATE TABLE table_1341690_20 (candidates VARCHAR, incumbent VARCHAR) |
SELECT qual_2 FROM table_name_65 WHERE best = "1:10.949" | What is the qual 2 with a 1:10.949 best? | CREATE TABLE table_name_65 (qual_2 VARCHAR, best VARCHAR) |
SELECT COUNT(appearances) FROM table_name_41 WHERE name = "batram suri category:articles with hcards" AND goals < 2 | how many appearances did batram suri category:articles with hcards have scoring less than 2 goals? | CREATE TABLE table_name_41 (appearances VARCHAR, name VARCHAR, goals VARCHAR) |
SELECT opponent_in_the_final FROM table_name_43 WHERE date = "24 november 2008" | Who is the opponent in the final on 24 November 2008? | CREATE TABLE table_name_43 (opponent_in_the_final VARCHAR, date VARCHAR) |
SELECT open_cup FROM table_name_36 WHERE year = "2012" | which open cup was in 2012? | CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR) |
SELECT best FROM table_name_47 WHERE name = "alex figge" | What was Alex Figge's Best? | CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR) |
SELECT venue FROM table_name_61 WHERE score = "8-2" | What is the venue when the score was 8-2? | CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR) |
SELECT series FROM table_name_54 WHERE high_rebounds = "gasol (10)" | What is the Series with a High rebounds with gasol (10)? | CREATE TABLE table_name_54 (series VARCHAR, high_rebounds VARCHAR) |
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4" | What is the NOAA of the higher harmonics that have a Darwin of mn 4? | CREATE TABLE table_name_49 (noaa VARCHAR, darwin VARCHAR) |
SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | What class had a Championship Test event with a 62.516 result? | CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR) |
SELECT date FROM table_name_7 WHERE winning_score = β6(69 - 69 - 73 - 71 = 282) | When was the winning score β6 (69-69-73-71=282)? | CREATE TABLE table_name_7 (date VARCHAR, winning_score VARCHAR) |
SELECT attendance FROM table_name_22 WHERE visitor = "anaheim" | What was the attendance at the Kings game when Anaheim was the visiting team? | CREATE TABLE table_name_22 (attendance VARCHAR, visitor VARCHAR) |
SELECT series_number FROM table_14330096_3 WHERE writer = "Julian Unthank" | What number from the total number of episodes is the episode written by Julian Unthank? | CREATE TABLE table_14330096_3 (series_number VARCHAR, writer VARCHAR) |
SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" | What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? | CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) |
SELECT city FROM table_name_39 WHERE date = "june 9, 1976" | Which City has a Date of june 9, 1976? | CREATE TABLE table_name_39 (city VARCHAR, date VARCHAR) |
SELECT res FROM table_name_98 WHERE event = "call to arms i" | What is the result for the Call to Arms I event? | CREATE TABLE table_name_98 (res VARCHAR, event VARCHAR) |
SELECT COUNT(record) FROM table_25461946_5 WHERE date = "November 27" | How many games were played on november 27? | CREATE TABLE table_25461946_5 (record VARCHAR, date VARCHAR) |
SELECT venue FROM table_name_58 WHERE result = "2β2" AND attendance = "5,760" | Which Venue has a Result of 2β2 and Attendances of 5,760? | CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, attendance VARCHAR) |
SELECT date FROM table_name_83 WHERE home_team = "essendon" | What date did Essendon play as the home team? | CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) |
SELECT charge_type, charge_amount FROM Charges | How much does each charge type costs? List both charge type and amount. | CREATE TABLE Charges (charge_type VARCHAR, charge_amount VARCHAR) |
SELECT MAX(pos) FROM table_19412902_2 | What is the lowest position? | CREATE TABLE table_19412902_2 (pos INTEGER) |
SELECT 1811 FROM table_name_47 WHERE "1801" = "1801" | Name the 1811 for 1801 of 1801 | CREATE TABLE table_name_47 (Id VARCHAR) |
SELECT district FROM table_2668387_18 WHERE incumbent = "Matthew Clay" | Name the district for matthew clay | CREATE TABLE table_2668387_18 (district VARCHAR, incumbent VARCHAR) |
SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = "Floor Exercise" | What was the maximum rank-final score on the floor exercise? | CREATE TABLE table_26681728_1 (rank_final INTEGER, apparatus VARCHAR) |
SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4" | What is the first elected for south carolina 4? | CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR) |
SELECT SUM(population) FROM table_name_1 WHERE town = "norton" | How many people live in Norton? | CREATE TABLE table_name_1 (population INTEGER, town VARCHAR) |
SELECT COUNT(network) FROM table_12438767_1 WHERE dates_aired = "1981" | How many networks aired the franchise in 1981 only? | CREATE TABLE table_12438767_1 (network VARCHAR, dates_aired VARCHAR) |
SELECT assets__bil_usd__ FROM table_23950611_2 WHERE rank__all__2013 = 1532 | How many assets in billions US$, for the company that ranked 1532 overall in 2013? | CREATE TABLE table_23950611_2 (assets__bil_usd__ VARCHAR, rank__all__2013 VARCHAR) |
SELECT player FROM table_name_27 WHERE to_par = "β1" | What is the name of the player that has a To par of β1? | CREATE TABLE table_name_27 (player VARCHAR, to_par VARCHAR) |
SELECT t2.All_Games, t1.location FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE team_name = 'Clemson' | Find the location and all games score of the school that has Clemson as its team name. | CREATE TABLE basketball_match (All_Games VARCHAR, school_id VARCHAR); CREATE TABLE university (location VARCHAR, school_id VARCHAR) |
SELECT MAX(attendance) FROM table_name_62 WHERE date = "19 february 2005" | Name the most attendance for 19 february 2005 | CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR) |
SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan Bomarito" | Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito | CREATE TABLE table_15511178_3 (race VARCHAR, winning_team VARCHAR, pole_position VARCHAR) |
SELECT cfl_team FROM table_26996293_1 WHERE player = "Barry Jamieson" | What CFL Team was Barry Jamieson a part of? | CREATE TABLE table_26996293_1 (cfl_team VARCHAR, player VARCHAR) |
SELECT opponent FROM table_name_12 WHERE venue = "h" AND result = "0β1" AND date = "29 august 1998" | Which Opponent has a Venue of h, and a Result of 0β1, and a Date of 29 august 1998? | CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) |
SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility" | WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? | CREATE TABLE table_name_74 (package_version VARCHAR, carrier VARCHAR) |
SELECT AVG(grid) FROM table_name_70 WHERE driver = "giorgio pantano" | What is the average grid for giorgio pantano? | CREATE TABLE table_name_70 (grid INTEGER, driver VARCHAR) |
SELECT capacity FROM table_name_88 WHERE position_in_2005 = "8" | Can you tell me the Capacity that has the Position in 2005 of 8? | CREATE TABLE table_name_88 (capacity VARCHAR, position_in_2005 VARCHAR) |
SELECT Left AS office FROM table_name_94 WHERE location = "washington" | What left office date happened in Washington? | CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR) |
SELECT COUNT(general_classification) FROM table_12261926_2 WHERE winner = "Evgeni Berzin" | What is the general classification with the winner being evgeni berzin? | CREATE TABLE table_12261926_2 (general_classification VARCHAR, winner VARCHAR) |
SELECT constructor FROM table_name_56 WHERE time_retired = "engine" AND laps > 50 | Who constructed the car that has a Time/Retired of engine, and over 50 laps? | CREATE TABLE table_name_56 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR) |
SELECT opponent FROM table_name_17 WHERE location = "sec tournament" | Who did they play at sec tournament? | CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR) |
SELECT COUNT(games_played) FROM table_name_8 WHERE goals_for < 30 | what is the total number of games played when the goals for is less than 30? | CREATE TABLE table_name_8 (games_played VARCHAR, goals_for INTEGER) |
SELECT title FROM table_name_61 WHERE first_year = "1950" AND publisher = "ec comics" AND last_year = "1953" | Which EC Comics title ran from 1950 to 1953? | CREATE TABLE table_name_61 (title VARCHAR, last_year VARCHAR, first_year VARCHAR, publisher VARCHAR) |
SELECT customer_name FROM customers WHERE customer_name LIKE "%Alex%" | Find the name of all customers whose name contains "Alex". | CREATE TABLE customers (customer_name VARCHAR) |
SELECT score FROM table_name_35 WHERE away_team = "chelsea" | What is the score for the away team Chelsea? | CREATE TABLE table_name_35 (score VARCHAR, away_team VARCHAR) |
SELECT score FROM table_name_50 WHERE date = "september 21" | WHAT SCORE WAS ON SEPTEMBER 21? | CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) |
SELECT AVG(casualties) FROM table_name_5 WHERE number = "u-844" | What is the average number of casualties for the convoy with a number of U-844? | CREATE TABLE table_name_5 (casualties INTEGER, number VARCHAR) |
SELECT series FROM table_29471472_1 WHERE races = 7 | What is the series for race 7 | CREATE TABLE table_29471472_1 (series VARCHAR, races VARCHAR) |
SELECT date FROM table_name_16 WHERE wickets = "chris gayle caught kapali" | Wickets of chris gayle caught kapali happened on what date? | CREATE TABLE table_name_16 (date VARCHAR, wickets VARCHAR) |
SELECT round FROM table_name_36 WHERE match = "2nd elimination final" | Name the round for 2nd elimination final | CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR) |
SELECT class FROM table_name_18 WHERE behind = "+44.780" | What is the class of the team that has a behind of +44.780? | CREATE TABLE table_name_18 (class VARCHAR, behind VARCHAR) |
SELECT away_team FROM table_name_63 WHERE home_team = "south melbourne" | Which Away team has a Home team of south melbourne? | CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR) |
SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current" | What is the Birth Name of the Archbishop with a Current End of Reign? | CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR) |
SELECT d_41_β FROM table_name_83 WHERE d_47_β = "d 34" | What is the D 41 β when the D 47 β is d 34? | CREATE TABLE table_name_83 (d_41_β VARCHAR, d_47_β VARCHAR) |
SELECT points FROM table_name_67 WHERE drawn = "1" AND lost = "5" | What is Points, when Drawn is "1", and when Lost is "5"? | CREATE TABLE table_name_67 (points VARCHAR, drawn VARCHAR, lost VARCHAR) |
SELECT district FROM table_name_41 WHERE name = "abhayapuri south" | What district has abhayapuri south as the name? | CREATE TABLE table_name_41 (district VARCHAR, name VARCHAR) |
SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood | Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA | CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR) |
SELECT MAX(_number) FROM table_26561506_1 WHERE patient_portrayer = "Doug Savant" | What is the highest numbered episode with patient portrayer doug savant? | CREATE TABLE table_26561506_1 (_number INTEGER, patient_portrayer VARCHAR) |
SELECT listed_owner_s_ FROM table_24535095_2 WHERE crew_chief = "Mike Garvey" | Name the listed owner for mike garvey | CREATE TABLE table_24535095_2 (listed_owner_s_ VARCHAR, crew_chief VARCHAR) |
SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 5 | Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5? | CREATE TABLE table_name_21 (surface VARCHAR, support_category VARCHAR, round VARCHAR) |
SELECT date FROM table_name_87 WHERE home_team = "carlton" | What day is carlton the home side? | CREATE TABLE table_name_87 (date VARCHAR, home_team VARCHAR) |
SELECT 1977 FROM table_name_12 WHERE tournament = "us open" | What is the listing for the US Open in 1977? | CREATE TABLE table_name_12 (tournament VARCHAR) |
SELECT time_retired FROM table_name_6 WHERE laps > 56 AND grid = 5 | What is the Time/Retired with over 56 laps and a grid of 5? | CREATE TABLE table_name_6 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT state FROM table_name_49 WHERE name = "yi" | What is the name of Yi's state? | CREATE TABLE table_name_49 (state VARCHAR, name VARCHAR) |
SELECT COUNT(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 100 OR T2.ticket_price < 10 | How many exhibitions have a attendance more than 100 or have a ticket price below 10? | CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, ticket_price VARCHAR) |
SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1 | What is the name of the singer with the largest net worth? | CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR) |
SELECT 1994 FROM table_name_35 WHERE 1998 = "0β1" | Which 1994 has a 1998 of 0β1? | CREATE TABLE table_name_35 (Id VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_91 WHERE player = "mikael renberg" | what is the school that hosts mikael renberg | CREATE TABLE table_name_91 (college_junior_club_team__league_ VARCHAR, player VARCHAR) |
SELECT races FROM table_21471897_2 WHERE team_name = "Prada Challenge" | Name the races for the prada challenge | CREATE TABLE table_21471897_2 (races VARCHAR, team_name VARCHAR) |
SELECT MIN(pick__number) FROM table_20649850_1 WHERE college = "New Mexico" | Name the number for new mexico | CREATE TABLE table_20649850_1 (pick__number INTEGER, college VARCHAR) |
SELECT COUNT(*) FROM Students WHERE NOT student_id IN (SELECT student_id FROM Student_Course_Enrolment) | How many students did not have any course enrollment? | CREATE TABLE Students (student_id VARCHAR); CREATE TABLE Student_Course_Enrolment (student_id VARCHAR) |
SELECT name FROM table_name_57 WHERE constituency_number = "16" | Where is constituency number 16? | CREATE TABLE table_name_57 (name VARCHAR, constituency_number VARCHAR) |
SELECT opponent FROM table_name_95 WHERE record = "1-1" | Which opponent has 1-1 as the record? | CREATE TABLE table_name_95 (opponent VARCHAR, record VARCHAR) |
SELECT years_for_jazz FROM table_11545282_7 WHERE no = 25 | How many years did number 25 play for the Jazz? | CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, no VARCHAR) |
SELECT record FROM table_name_45 WHERE date = "april 15" | What is the Record for April 15? | CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR) |
SELECT package_option FROM table_name_24 WHERE country = "italy" AND language = "italian" | What is the package/option for Italy when the language is italian? | CREATE TABLE table_name_24 (package_option VARCHAR, country VARCHAR, language VARCHAR) |
SELECT no FROM table_12962773_2 WHERE current_club = "Ironi Nahariya" | What are the numbers of the players currently playing for Ironi Nahariya? | CREATE TABLE table_12962773_2 (no VARCHAR, current_club VARCHAR) |
SELECT winning_constructor FROM table_name_88 WHERE winning_driver = "riccardo patrese" | What was the constructor when riccardo patrese was the winning driver? | CREATE TABLE table_name_88 (winning_constructor VARCHAR, winning_driver VARCHAR) |
SELECT score FROM table_name_1 WHERE country = "taiwan" | What did Taiwan score? | CREATE TABLE table_name_1 (score VARCHAR, country VARCHAR) |
SELECT actor FROM table_name_43 WHERE year = 1966 | Which actor won in 1966? | CREATE TABLE table_name_43 (actor VARCHAR, year VARCHAR) |
SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0 | What is the highest number of bronze medals for nations with under 0 golds? | CREATE TABLE table_name_46 (bronze INTEGER, gold INTEGER) |
SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich" | What nationality is Daryn Fersovich? | CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR) |
SELECT MIN(earnings___) AS $__ FROM table_name_34 WHERE player = "vijay singh" AND wins > 24 | What is the lowest earnings of Vijay Singh who had more than 24 wins? | CREATE TABLE table_name_34 (earnings___ INTEGER, player VARCHAR, wins VARCHAR) |
SELECT series FROM table_30087032_5 WHERE high_points = "Charles Barkley (34)" | In what series did Charles Barkley (34) did most high points? | CREATE TABLE table_30087032_5 (series VARCHAR, high_points VARCHAR) |
SELECT outcome FROM table_name_30 WHERE score = "4β6 3β6" | Which Outcome has a Score of 4β6 3β6? | CREATE TABLE table_name_30 (outcome VARCHAR, score VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.