question
stringlengths 17
201
| answer
stringlengths 21
400
| context
stringlengths 32
286
|
---|---|---|
Which Method has a Round of 1, and a Record of 4–2? | SELECT method FROM table_name_37 WHERE round = 1 AND record = "4–2" | CREATE TABLE table_name_37 (method VARCHAR, round VARCHAR, record VARCHAR) |
Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton | SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton" | CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR) |
Name the most number when tournament is madrid masters | SELECT MAX(no) FROM table_1590652_4 WHERE tournament = "Madrid Masters" | CREATE TABLE table_1590652_4 (no INTEGER, tournament VARCHAR) |
What position Jason Fitzgerald played? | SELECT position FROM table_name_89 WHERE player = "jason fitzgerald" | CREATE TABLE table_name_89 (position VARCHAR, player VARCHAR) |
Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul? | SELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = "world pacific" AND from_album = "chile con soul" | CREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR) |
When 5 is the game who has the highest amount of points? | SELECT high_points FROM table_22883210_11 WHERE game = 5 | CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR) |
What Airport's ICAO is ENTO? | SELECT airport FROM table_name_23 WHERE icao = "ento" | CREATE TABLE table_name_23 (airport VARCHAR, icao VARCHAR) |
Which school did the player that played 2004-05 attend? | SELECT school_club_team FROM table_10015132_21 WHERE years_in_toronto = "2004-05" | CREATE TABLE table_10015132_21 (school_club_team VARCHAR, years_in_toronto VARCHAR) |
What was the final score for the match held on April 11, 2007? | SELECT score FROM table_name_68 WHERE date = "april 11, 2007" | CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR) |
Name the games with marks of 21 | SELECT games FROM table_name_71 WHERE marks = "21" | CREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR) |
what is the 1st round when team 2 is olympique lyonnais (d2)? | SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)" | CREATE TABLE table_name_67 (team_2 VARCHAR) |
How many ranks are for Switzerland with more than 2 total medals? | SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2 | CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR) |
How many Points have a January of 18? | SELECT COUNT(points) FROM table_name_88 WHERE january = 18 | CREATE TABLE table_name_88 (points VARCHAR, january VARCHAR) |
Which Points have Drawn of 1, and a Played larger than 14? | SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14 | CREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR) |
Original airdate for #6 with 1.246 viewers? | SELECT original_airdate FROM table_name_73 WHERE nightly_rank = "#6" AND viewers__millions_ = 1.246 | CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR) |
Which team is 9th in wickets? | SELECT fielding_team FROM table_1670921_1 WHERE wicket = "9th" | CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR) |
What are the phone numbers of all customers and suppliers. | SELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers | CREATE TABLE suppliers (customer_phone VARCHAR, supplier_phone VARCHAR); CREATE TABLE customers (customer_phone VARCHAR, supplier_phone VARCHAR) |
When 98 is the points what is the club? | SELECT club FROM table_17941032_1 WHERE points = "98" | CREATE TABLE table_17941032_1 (club VARCHAR, points VARCHAR) |
What is the qualifying end date when the qualifying start date is qualifying start date? | SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date" | CREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR) |
What name has a qual 2 of 1:43.374? | SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374" | CREATE TABLE table_name_97 (name VARCHAR, qual_2 VARCHAR) |
what's the earliest year that there was a cosworth v8 engine and 12 points? | SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12 | CREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR) |
What nationality has a ranking less than 7 with tony stenson as the name? | SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = "tony stenson" | CREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR, name VARCHAR) |
What is the lowest #? | SELECT MIN(_number) FROM table_11964047_10 | CREATE TABLE table_11964047_10 (_number INTEGER) |
What is the date for the home detroit and visitor was chicago? | SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago" | CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR) |
Who was in external affairs when Jakki Doyle was in Human Resources & Operations? | SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle" | CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) |
What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R? | SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r" | CREATE TABLE table_name_51 (Id VARCHAR) |
What is the Peak with a Project Name that is talakan ph 1? | SELECT peak FROM table_name_14 WHERE project_name = "talakan ph 1" | CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR) |
How many wins did the player have in the Formula BMW World Final? | SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final" | CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR) |
What are the notes for 2005? | SELECT notes FROM table_name_36 WHERE year = 2005 | CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR) |
Where was game 78 held? | SELECT location FROM table_name_62 WHERE game = 78 | CREATE TABLE table_name_62 (location VARCHAR, game VARCHAR) |
What is the game number that was on November 27? | SELECT _number FROM table_22871239_5 WHERE date = "November 27" | CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR) |
What college did jerry hackenbruck come from who had an overall pick less than 344? | SELECT college FROM table_name_60 WHERE overall < 344 AND name = "jerry hackenbruck" | CREATE TABLE table_name_60 (college VARCHAR, overall VARCHAR, name VARCHAR) |
What is the away team's score when footscray is the away team? | SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray" | CREATE TABLE table_name_74 (away_team VARCHAR) |
What year did Shelley Winters win? | SELECT year FROM table_name_13 WHERE actress = "shelley winters" | CREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR) |
Which player won less than $335? | SELECT player FROM table_name_43 WHERE money___$__ < 335 | CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER) |
Which Surface has a Partner of galina voskoboeva? | SELECT surface FROM table_name_45 WHERE partner = "galina voskoboeva" | CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR) |
Who had the fastest lap when Al Unser won? | SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser" | CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR) |
Score of 2–3 ot on what date? | SELECT date FROM table_name_76 WHERE score = "2–3 ot" | CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) |
Name the fifth district for steve rudoni | SELECT fifth_district FROM table_15442974_1 WHERE fourth_district = "Steve Rudoni" | CREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR) |
What television service has italian as the language, and sky famiglia as the package option? | SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia" | CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR) |
Who was in 2nd leg when Boca Juniors was in home (1st leg)? | SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Boca Juniors" | CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR) |
What is the total gold in Norway with more than 1 bronze? | SELECT SUM(gold) FROM table_name_84 WHERE nation = "norway" AND bronze > 1 | CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR) |
what is the identifier when the power is 22500 watts? | SELECT identifier FROM table_name_17 WHERE power = "22500 watts" | CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR) |
Name the number of goals for mauricio pochettino | SELECT COUNT(goals¹) FROM table_24565004_17 WHERE name = "Mauricio Pochettino" | CREATE TABLE table_24565004_17 (goals¹ VARCHAR, name VARCHAR) |
what is the number where the player was jimmy demaret | SELECT 54 AS _holes FROM table_262383_1 WHERE runner_s__up = "Jimmy Demaret" | CREATE TABLE table_262383_1 (runner_s__up VARCHAR) |
What Catalog has a label of Alfa records and a date of November 21, 1980? | SELECT catalog FROM table_name_31 WHERE label = "alfa records" AND date = "november 21, 1980" | CREATE TABLE table_name_31 (catalog VARCHAR, label VARCHAR, date VARCHAR) |
What is the molecular target of the organism that has a disease area of antiviral? | SELECT molecular_target FROM table_name_45 WHERE disease_area = "antiviral" | CREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR) |
Name the most attendance | SELECT MIN(attendance) FROM table_26401898_2 | CREATE TABLE table_26401898_2 (attendance INTEGER) |
Find the checking balance of the accounts whose savings balance is higher than the average savings balance. | SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings)) | CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER) |
What is the listed crowd at windy hill? | SELECT crowd FROM table_name_4 WHERE venue = "windy hill" | CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR) |
Which Artist is listed as having Top 6 in Week | SELECT artist FROM table_name_32 WHERE week = "top 6" | CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR) |
What is the week for Result of w 28-17? | SELECT week FROM table_name_70 WHERE result = "w 28-17" | CREATE TABLE table_name_70 (week VARCHAR, result VARCHAR) |
Which Architecture and modelling has a Unit test of no, and a Projects templates of limited? | SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templates = "limited" | CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR) |
Where was game 41 held, and how many people attended? | SELECT location_attendance FROM table_22883210_7 WHERE game = 41 | CREATE TABLE table_22883210_7 (location_attendance VARCHAR, game VARCHAR) |
Who was the top picki n the draft? | SELECT MIN(choice) FROM table_10360656_1 | CREATE TABLE table_10360656_1 (choice INTEGER) |
Name the number of song for solydo | SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Solydo" | CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR) |
What are the first names and last names of the employees who live in Calgary city. | SELECT FirstName, LastName FROM EMPLOYEE WHERE City = "Calgary" | CREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, City VARCHAR) |
What is the Date of the Competition with a Result of 3–0? | SELECT date FROM table_name_75 WHERE result = "3–0" | CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR) |
Name the reason for change pennsylvania 13th | SELECT reason_for_change FROM table_225102_4 WHERE district = "Pennsylvania 13th" | CREATE TABLE table_225102_4 (reason_for_change VARCHAR, district VARCHAR) |
What is the sum of the people in attendance when there was a Loss of clement (5–7)? | SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)" | CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR) |
Who is the vacator when south carolina 4th is the district? | SELECT vacator FROM table_225100_4 WHERE district = "South Carolina 4th" | CREATE TABLE table_225100_4 (vacator VARCHAR, district VARCHAR) |
What monarch(s) did Stanley Baldwin (1st ministry) serve? | SELECT monarchs_served FROM table_name_18 WHERE name = "stanley baldwin (1st ministry)" | CREATE TABLE table_name_18 (monarchs_served VARCHAR, name VARCHAR) |
When 60,254 (58.0) is the toll poll percentage what is the for percentage? | SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) |
what is the maximum completed for address on 410 22nd st e | SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E" | CREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR) |
What's the rank when the obese children and adolescent count is 14.2%? | SELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = "14.2%" | CREATE TABLE table_name_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR) |
Find the first names of teachers whose email address contains the word "man". | SELECT first_name FROM Teachers WHERE email_address LIKE '%man%' | CREATE TABLE Teachers (first_name VARCHAR, email_address VARCHAR) |
When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank? | SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 5 | CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR) |
Which team was 3:47.761 on day 2? | SELECT team FROM table_name_78 WHERE day_2 = "3:47.761" | CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR) |
With theme the Year They Were Born, what is the song of choice? | SELECT song_choice FROM table_21501565_1 WHERE theme = "Year They Were Born" | CREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR) |
what is the material of the surface in noida , uttar pradesh, india | SELECT surface FROM table_29127804_3 WHERE location = "Noida , Uttar Pradesh, India" | CREATE TABLE table_29127804_3 (surface VARCHAR, location VARCHAR) |
What is the average attendance when the Forest Green Rovers is the away team? | SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers" | CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR) |
What is the film, television series, or miniseries with a nomination in 2001? | SELECT film_or_television_series_or_miniseries FROM table_name_16 WHERE year = 2001 | CREATE TABLE table_name_16 (film_or_television_series_or_miniseries VARCHAR, year VARCHAR) |
What is the Origin of Programming for the Network MTV India? | SELECT origin_of_programming FROM table_name_43 WHERE network = "mtv india" | CREATE TABLE table_name_43 (origin_of_programming VARCHAR, network VARCHAR) |
Name the number of high rebounds for l 92–96 (ot) | SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)" | CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR) |
Which Airport has a Carrier of malaysia airlines? | SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines" | CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR) |
what is the nationality when the heat is less than 3 and the time is 2:35.31? | SELECT nationality FROM table_name_81 WHERE heat < 3 AND time = "2:35.31" | CREATE TABLE table_name_81 (nationality VARCHAR, heat VARCHAR, time VARCHAR) |
Which school are the Red Devils from? | SELECT school FROM table_name_24 WHERE team_name = "red devils" | CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR) |
What is the Location of the Frequency with a Callsign of DXBL? | SELECT location FROM table_name_89 WHERE callsign = "dxbl" | CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR) |
What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593? | SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551 | CREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR) |
What is the lowest game for a record of 32-12-3? | SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3" | CREATE TABLE table_name_48 (game INTEGER, record VARCHAR) |
If the proto-semitic is *bayt-, what are the geez? | SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-" | CREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR) |
Who was the opponent on clay surface when partnered with Horacio Zeballos? | SELECT opponents FROM table_name_23 WHERE surface = "clay" AND partnering = "horacio zeballos" | CREATE TABLE table_name_23 (opponents VARCHAR, surface VARCHAR, partnering VARCHAR) |
Which High rebounds have High points of chris bosh (34)? | SELECT high_rebounds FROM table_name_29 WHERE high_points = "chris bosh (34)" | CREATE TABLE table_name_29 (high_rebounds VARCHAR, high_points VARCHAR) |
What is Award, when Category is "Best Actor", and when Year is less than 1988? | SELECT award FROM table_name_35 WHERE category = "best actor" AND year < 1988 | CREATE TABLE table_name_35 (award VARCHAR, category VARCHAR, year VARCHAR) |
When was incumbent John N. Tillman first elected? | SELECT MIN(first_elected) FROM table_1346118_4 WHERE incumbent = "John N. Tillman" | CREATE TABLE table_1346118_4 (first_elected INTEGER, incumbent VARCHAR) |
Tell me the score for international friendly 17 august 2013 | SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013" | CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR) |
Which stadium has Seongnam Ilhwa Chunma? | SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma" | CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR) |
Find the emails of customers who has filed a complaints of the product with the most complaints. | SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1 | CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR) |
What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition? | SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008" | CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) |
WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%? | SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = "4.0%" | CREATE TABLE table_name_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR) |
what are all the result for New York 7 district | SELECT result FROM table_1341395_33 WHERE district = "New York 7" | CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR) |
Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue? | SELECT home_captain FROM table_name_99 WHERE venue = "edgbaston" | CREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR) |
what is the points for when the played is 22 and tries against is 68? | SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68" | CREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR) |
When the Attendance was 4,516, what was the Record? | SELECT record FROM table_name_72 WHERE attendance = "4,516" | CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR) |
What is the 2011 number (,000) when the status is separated? | SELECT 2011 AS _number__, 000 AS _ FROM table_273617_6 WHERE status = "Separated" | CREATE TABLE table_273617_6 (status VARCHAR) |
Show different parties of people along with the number of people in each party. | SELECT Party, COUNT(*) FROM people GROUP BY Party | CREATE TABLE people (Party VARCHAR) |
Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–? | SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–" | CREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR) |
Which class had 110 points? | SELECT class FROM table_name_23 WHERE points = 110 | CREATE TABLE table_name_23 (class VARCHAR, points VARCHAR) |
Who had the most points and how many did they have on April 22? | SELECT high_points FROM table_27700530_15 WHERE date = "April 22" | CREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR) |
What is the total attendance on April 25? | SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25" | CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) |
Subsets and Splits