answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT 50 AS s FROM table_27268238_4 WHERE highest_score = "88" | If the highest score is 88, what are the 50s? | CREATE TABLE table_27268238_4 (highest_score VARCHAR) |
SELECT MAX(total_goals) FROM table_name_10 WHERE total_apps = "42 (3)" AND league_goals < 1 | Which Total Goals have Total Apps of 42 (3), and League Goals smaller than 1? | CREATE TABLE table_name_10 (total_goals INTEGER, total_apps VARCHAR, league_goals VARCHAR) |
SELECT COUNT(year) FROM table_name_87 WHERE original_title = "иваново детство" | How many years have an Original title of иваново детство? | CREATE TABLE table_name_87 (year VARCHAR, original_title VARCHAR) |
SELECT time_retired FROM table_17693171_1 WHERE driver = "Ed Carpenter" | What is the time/retired if the driver is Ed Carpenter? | CREATE TABLE table_17693171_1 (time_retired VARCHAR, driver VARCHAR) |
SELECT COUNT(current_club) FROM table_12962773_15 WHERE no = 6 | How many clubs does number 6 play for? | CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR) |
SELECT COUNT(episode) AS Summary FROM table_2140071_7 WHERE coach = "Valerie" | How many episodes have Valerie? | CREATE TABLE table_2140071_7 (episode VARCHAR, coach VARCHAR) |
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Crashed at take-off due to engine failure" | How many fatalities were there in the crash described as crashed at take-off due to engine failure? | CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR) |
SELECT SUM(gold) FROM table_name_81 WHERE participants = 4 AND silver < 0 | What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0? | CREATE TABLE table_name_81 (gold INTEGER, participants VARCHAR, silver VARCHAR) |
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID ORDER BY T1.pName | Find the name of all students who were in the tryout sorted in alphabetic order. | CREATE TABLE tryout (pID VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) |
SELECT os_x FROM table_name_88 WHERE name = "home media center" | What is the OS X for the Home Media Center? | CREATE TABLE table_name_88 (os_x VARCHAR, name VARCHAR) |
SELECT venue FROM table_name_26 WHERE against = 25 | Which Venue has an Against of 25? | CREATE TABLE table_name_26 (venue VARCHAR, against VARCHAR) |
SELECT centennial FROM table_name_4 WHERE altadeña = "panthers" | Which Centennial has a Altadeña of panthers? | CREATE TABLE table_name_4 (centennial VARCHAR, altadeña VARCHAR) |
SELECT country FROM table_name_43 WHERE score = 69 - 70 - 67 = 206 AND player = "sergio garcía" | What is the country sergio garcía, who has a score of 69-70-67=206, is from? | CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR, score VARCHAR) |
SELECT college FROM table_20589703_2 WHERE player = "Aaron Slegers" | What college did Aaron Slegers attend? | CREATE TABLE table_20589703_2 (college VARCHAR, player VARCHAR) |
SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9" | When the phillies 1:15 pm played on April 9, what was the attendance? | CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT mary_davis FROM table_name_96 WHERE gay_mitchell = "4.6%" | What is the Mary Davis with a Gay Mitchell that is 4.6%? | CREATE TABLE table_name_96 (mary_davis VARCHAR, gay_mitchell VARCHAR) |
SELECT COUNT(successes) FROM table_name_92 WHERE launches > 3 AND country = "russia" AND type = "soyuz" AND rocket = "soyuz-u" | What is the number of successes for rockets that have more than 3 launches, were based in Russia, are type soyuz and a rocket type of soyuz-u? | CREATE TABLE table_name_92 (successes VARCHAR, rocket VARCHAR, type VARCHAR, launches VARCHAR, country VARCHAR) |
SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = "Erma Franklin" | What was the order # or Erma Franklin? | CREATE TABLE table_26250151_1 (order__number VARCHAR, original_recording_artist VARCHAR) |
SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 | Where was there a school founded in 1927? | CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR) |
SELECT SUM(gold) FROM table_name_72 WHERE total = 12 AND bronze < 4 | What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals? | CREATE TABLE table_name_72 (gold INTEGER, total VARCHAR, bronze VARCHAR) |
SELECT date FROM table_name_32 WHERE track = "truro" | What is the date of the race at Truro? | CREATE TABLE table_name_32 (date VARCHAR, track VARCHAR) |
SELECT AVG(2009) FROM table_name_4 WHERE 2007 > 0 OFFSET 18 | What is the 2009 average when the 2007 average is more than 0,18? | CREATE TABLE table_name_4 (Id VARCHAR) |
SELECT res FROM table_name_20 WHERE record = "16-6" | Which result has a Record of 16-6? | CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR) |
SELECT country FROM table_name_14 WHERE icao = "tjvq" | Tell me the country for ICAO tjvq | CREATE TABLE table_name_14 (country VARCHAR, icao VARCHAR) |
SELECT player FROM table_name_82 WHERE college = "baylor" | Which players college was Baylor? | CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR) |
SELECT MIN(league) FROM table_name_88 WHERE play_offs > 0 AND total = 25 | Name the lowest league for play-offs more than 0 and total of 25 | CREATE TABLE table_name_88 (league INTEGER, play_offs VARCHAR, total VARCHAR) |
SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54" | What was the share for rank 54? | CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR) |
SELECT district FROM table_1341598_14 WHERE incumbent = "Dan Crane" | What district has Dan Crane as incumbent? | CREATE TABLE table_1341598_14 (district VARCHAR, incumbent VARCHAR) |
SELECT spacecraft FROM table_179174_2 WHERE launch_complex = "LC34" | What spacecraft was launched from the LC34 launch complex? | CREATE TABLE table_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR) |
SELECT MAX(no_in_season) FROM table_27397948_2 WHERE no_in_series = 47 | What's the highest season number with a series number of 47? | CREATE TABLE table_27397948_2 (no_in_season INTEGER, no_in_series VARCHAR) |
SELECT MIN(rank) FROM table_name_43 WHERE nation = "east germany" | What is the lowest Rank with a Nation that is east germany? | CREATE TABLE table_name_43 (rank INTEGER, nation VARCHAR) |
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Vines (S)" | Who were the umpires when Paul Vines (S) won the Simpson Medal? | CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR) |
SELECT discipline FROM table_30073089_2 WHERE fis_points = 1561 | Name the discipline for 1561 fis points | CREATE TABLE table_30073089_2 (discipline VARCHAR, fis_points VARCHAR) |
SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament" | What was the margin of the Masters Tournament? | CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR) |
SELECT points_for FROM table_13399573_3 WHERE points = "52" | What amount of points for were there when there was 52 points? | CREATE TABLE table_13399573_3 (points_for VARCHAR, points VARCHAR) |
SELECT wins FROM table_name_72 WHERE draws = "8" | How many wins happened with 8 draws? | CREATE TABLE table_name_72 (wins VARCHAR, draws VARCHAR) |
SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675 | how many time was points 6675? | CREATE TABLE table_26218783_7 (points VARCHAR) |
SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team" | Can you tell me the manufacturer behind Race Hill Farm Team? | CREATE TABLE table_2267465_1 (manufacturer VARCHAR, team VARCHAR) |
SELECT position FROM table_2597876_1 WHERE year = 1992 | What position was Parsons in for 1992? | CREATE TABLE table_2597876_1 (position VARCHAR, year VARCHAR) |
SELECT service FROM table_name_88 WHERE language = "bengali" | What network is in the language of Bengali? | CREATE TABLE table_name_88 (service VARCHAR, language VARCHAR) |
SELECT SUM(points) FROM table_name_58 WHERE year = 1988 | What is the total point for the year listed in 1988? | CREATE TABLE table_name_58 (points INTEGER, year VARCHAR) |
SELECT lname FROM student WHERE sex = 'F' AND city_code = 'BAL' UNION SELECT lname FROM student WHERE sex = 'M' AND age < 20 | Find the last name of students who is either female (sex is F) and living in the city of code BAL or male (sex is M) and in age of below 20. | CREATE TABLE student (lname VARCHAR, sex VARCHAR, city_code VARCHAR, age 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 team FROM table_22879323_8 WHERE date = "February 27" | What team was the game on February 27 played against? | CREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR) |
SELECT MAX(wins) FROM table_1672976_2 WHERE institution = "Northwestern Wildcats" | How many wins did the Northwestern Wildcats? | CREATE TABLE table_1672976_2 (wins INTEGER, institution VARCHAR) |
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference" | How many locations are listed for the Big 12 Conference? | CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR) |
SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon" | What was the 2011 Wimbledon result? | CREATE TABLE table_name_22 (tournament VARCHAR) |
SELECT member_countries FROM table_name_47 WHERE area__km²_ = "49,036" | What is the name of the country that has an Area (km²) of 49,036? | CREATE TABLE table_name_47 (member_countries VARCHAR, area__km²_ VARCHAR) |
SELECT clean_ & _jerk FROM table_name_82 WHERE snatch < 150 AND bodyweight = 76.18 | What is the Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18? | CREATE TABLE table_name_82 (clean_ VARCHAR, _jerk VARCHAR, snatch VARCHAR, bodyweight VARCHAR) |
SELECT country FROM table_29302711_13 WHERE name = "Mark Cox" | What country does the player named Mark Cox play for? | CREATE TABLE table_29302711_13 (country VARCHAR, name VARCHAR) |
SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82" | Which opponent has a Club of essendon, and a Score of 13.4.82? | CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR) |
SELECT title, rental_rate FROM film ORDER BY rental_rate DESC LIMIT 1 | Which film has the highest rental rate? And what is the rate? | CREATE TABLE film (title VARCHAR, rental_rate VARCHAR) |
SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = "Cannot handle non-empty timestamp argument! 1929" AND scrapped_sold = "Cannot handle non-empty timestamp argument! 1954" | How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954? | CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR, scrapped_sold VARCHAR) |
SELECT language FROM table_16278349_1 WHERE province = "Kunar" | Name the language for kunar | CREATE TABLE table_16278349_1 (language VARCHAR, province VARCHAR) |
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22" | What years did the player play when he scored 78 points and 22 goals? | CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR) |
SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000" | When £337,000 is £ saved what is the percentage of electricity reduction? | CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR) |
SELECT SUM(T1.amount_payment) FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Carole" AND T2.last_name = "Bernhard" | How much in total does customer with first name as Carole and last name as Bernhard paid? | CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Customer_Payments (amount_payment INTEGER, customer_id VARCHAR) |
SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9" | Which company had profits of 26.9? | CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR) |
SELECT date FROM table_name_17 WHERE record = "43-34" | What date had a record of 43-34? | CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR) |
SELECT COUNT(record) FROM table_22815265_1 WHERE opponents = 9 | How many records were there when opponents were 9? | CREATE TABLE table_22815265_1 (record VARCHAR, opponents VARCHAR) |
SELECT film_title_used_in_nomination FROM table_16255245_1 WHERE original_title = "Wohin und zurück - Welcome in Vienna" | Name the film title for wohin und zurück - welcome in vienna | CREATE TABLE table_16255245_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) |
SELECT outcome FROM table_name_38 WHERE partner = "christophe rochus" AND date = "31 july 2005" | What is the Outcome when christophe rochus was partner, on 31 july 2005? | CREATE TABLE table_name_38 (outcome VARCHAR, partner VARCHAR, date VARCHAR) |
SELECT SUM(gold) FROM table_name_98 WHERE rank = "3" AND silver > 7 | What is the sum of gold with a rank that is 3 and a silver larger than 7? | CREATE TABLE table_name_98 (gold INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT source FROM table_name_43 WHERE chrome = "32.60%" | Which source reported 32.60% of browsers used Chrome? | CREATE TABLE table_name_43 (source VARCHAR, chrome VARCHAR) |
SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning" | What game has 28 points, and tampa bay lightning as the opponent? | CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR) |
SELECT T2.School_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.amount > 8.5 GROUP BY T1.school_id HAVING COUNT(*) > 1 | Find the names of schools that have more than one donator with donation amount above 8.5. | CREATE TABLE school (School_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER) |
SELECT 1976 FROM table_name_46 WHERE 1980 = "2.0" | what is 1976 when 1980 is 2.0? | CREATE TABLE table_name_46 (Id VARCHAR) |
SELECT COUNT(total) FROM table_name_44 WHERE gold < 0 | What is the total Gold's less than 0? | CREATE TABLE table_name_44 (total VARCHAR, gold INTEGER) |
SELECT channel_code FROM customer_contact_channels GROUP BY channel_code HAVING COUNT(customer_id) < 5 | List all the contact channel codes that were used less than 5 times. | CREATE TABLE customer_contact_channels (channel_code VARCHAR, customer_id VARCHAR) |
SELECT location FROM table_name_75 WHERE opponent = "martinis knyzelis" | What is the location of the match against Martinis Knyzelis? | CREATE TABLE table_name_75 (location VARCHAR, opponent VARCHAR) |
SELECT dob FROM table_name_5 WHERE surname = "biddle" | When is Biddle's DOB? | CREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR) |
SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge" | Name the Qual 2 which has the name of katherine legge | CREATE TABLE table_name_40 (qual_2 VARCHAR, name VARCHAR) |
SELECT SUM(attendance) FROM table_name_52 WHERE date = "december 2, 1979" | What is the attendance number for December 2, 1979? | CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR) |
SELECT score FROM table_name_84 WHERE game = 4 | What was the score of game 4? | CREATE TABLE table_name_84 (score VARCHAR, game VARCHAR) |
SELECT COUNT(player) FROM table_14342210_14 WHERE touchdowns__5_points_ = 4 | How many players made 4 touchdowns? | CREATE TABLE table_14342210_14 (player VARCHAR, touchdowns__5_points_ VARCHAR) |
SELECT thursday_fourth_day FROM table_1277350_5 WHERE day__see_irregularities__ = "Slovene" | What's the Slovene word for Thursday? | CREATE TABLE table_1277350_5 (thursday_fourth_day VARCHAR, day__see_irregularities__ VARCHAR) |
SELECT driver FROM table_name_48 WHERE laps = 20 | I want the Driver with Laps of 20 | CREATE TABLE table_name_48 (driver VARCHAR, laps VARCHAR) |
SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide" | What is the home team score of the game with Adelaide as the away team? | CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) |
SELECT notes FROM table_name_24 WHERE time___sec__ > 23.34 AND rank = 8 | Which Notes have a Time larger than 23.34, and a Rank of 8? | CREATE TABLE table_name_24 (notes VARCHAR, time___sec__ VARCHAR, rank VARCHAR) |
SELECT MIN(uncommitted) FROM table_name_16 WHERE total > 16 AND hillary_clinton = 2 | What is the lowest number of uncommitted superdelegates for a state with more than 16 total and 2 for Hillary Clinton? | CREATE TABLE table_name_16 (uncommitted INTEGER, total VARCHAR, hillary_clinton VARCHAR) |
SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 5 | Which average's against score has 2 as a difference and a lost of 5? | CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR) |
SELECT MIN(goals) FROM table_name_98 WHERE years = "2008-present" AND player = "tony beltran" AND rank > 7 | What is the smallest number of goals for the player from 2008-present named tony beltran, ranked lower than 7? | CREATE TABLE table_name_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR) |
SELECT team FROM table_26914854_3 WHERE incoming_manager = "Martin Allen" | What is the team when the incoming manager is martin allen? | CREATE TABLE table_26914854_3 (team VARCHAR, incoming_manager VARCHAR) |
SELECT rank FROM table_name_96 WHERE total = 123 | What rank has 123 as the total? | CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR) |
SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)" | Name the high assists for chauncey billups , carmelo anthony (18) | CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR) |
SELECT city___state FROM table_26686908_2 WHERE circuit = "Adelaide Street circuit" | Which city and state hosted the adelaide street circuit? | CREATE TABLE table_26686908_2 (city___state VARCHAR, circuit VARCHAR) |
SELECT venue FROM table_name_16 WHERE status = "five nations" AND against = 22 | Which venue has a status of Five Nations and an against of 22? | CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR) |
SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 2" | What was the total score / week of the contestant who placed in the bottom 2 on august 14? | CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR) |
SELECT digital_channel FROM table_name_31 WHERE network = "nbc" | Network of nbc is what digital channel? | CREATE TABLE table_name_31 (digital_channel VARCHAR, network VARCHAR) |
SELECT game FROM table_name_29 WHERE result = "113-106" | Which game has a result of 113-106? | CREATE TABLE table_name_29 (game VARCHAR, result VARCHAR) |
SELECT points_against FROM table_name_97 WHERE tries_against = "29" | tries against is 29, what is the points against? | CREATE TABLE table_name_97 (points_against VARCHAR, tries_against VARCHAR) |
SELECT MIN(gold) FROM table_name_16 WHERE total = 4 AND nation = "liechtenstein" AND silver < 2 | What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein? | CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR) |
SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING COUNT(*) <= 3 | Find the country of all appelations who have at most three wines. | CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR); CREATE TABLE WINE (Appelation VARCHAR) |
SELECT MIN(attendance) FROM table_name_71 WHERE date = "august 26" | What is the lowest attendance total on August 26? | CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR) |
SELECT method FROM table_name_87 WHERE record = "12-2-3" | What method had a record 12-2-3? | CREATE TABLE table_name_87 (method VARCHAR, record VARCHAR) |
SELECT MAX(series__number) FROM table_29087004_2 WHERE united_states_original_airdate = "December 24, 2010" | What number episode in the series had and original United States air date of December 24, 2010? | CREATE TABLE table_29087004_2 (series__number INTEGER, united_states_original_airdate VARCHAR) |
SELECT MIN(area__acres__) FROM table_30120633_1 WHERE townland = "Clashroe" | How few acres is the area of Clashroe? | CREATE TABLE table_30120633_1 (area__acres__ INTEGER, townland VARCHAR) |
SELECT country FROM table_1506950_4 WHERE tournament = "The Open Championship" | What country hosts the tournament the open championship? | CREATE TABLE table_1506950_4 (country VARCHAR, tournament VARCHAR) |
SELECT home FROM table_name_81 WHERE date = "june 9" | Who was the home team on June 9? | CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR) |
SELECT attendance FROM table_name_25 WHERE week = 2 | What was the Attendance in Week 2? | CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.