question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the description of the product named "Chocolate"? | CREATE TABLE products (product_description VARCHAR, product_name VARCHAR) | SELECT product_description FROM products WHERE product_name = "Chocolate" |
Who are all the writers of episodes in season 24? | CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR) | SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24 |
What is the smallest grid when the time is +8.051 and there were less than 23 laps? | CREATE TABLE table_name_43 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT MIN(grid) FROM table_name_43 WHERE time = "+8.051" AND laps < 23 |
How many people lived in the district whose headquarters is in Bhubaneswar in 2001? | CREATE TABLE table_2801442_1 (population__2001_census_ VARCHAR, headquarters VARCHAR) | SELECT population__2001_census_ FROM table_2801442_1 WHERE headquarters = "Bhubaneswar" |
Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h? | CREATE TABLE table_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR) | SELECT rider FROM table_name_43 WHERE rank < 8 AND year = 2000 AND speed = "18.32 km/h" |
What is the total of attendance at Venue h when Auxerre were playing? | CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre" |
If the song choice is Coba and the order number is 10, what is the result? | CREATE TABLE table_22736523_1 (result VARCHAR, order__number VARCHAR, song_choice VARCHAR) | SELECT result FROM table_22736523_1 WHERE order__number = "10" AND song_choice = "Coba" |
What is the score for the team with a record of 2-1? | CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_81 WHERE record = "2-1" |
Name the number of high rebounds for january 5 | CREATE TABLE table_27733909_7 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_27733909_7 WHERE date = "January 5" |
What is the least 08-09 i/o best? | CREATE TABLE table_23938357_6 (Id VARCHAR) | SELECT MIN(08 AS _09_i_o_best) FROM table_23938357_6 |
Who won soccer when madison won volleyball, lexington won cross country and orrville won softball | CREATE TABLE table_16423070_4 (soccer VARCHAR, softball VARCHAR, volleyball VARCHAR, cross_country VARCHAR) | SELECT soccer FROM table_16423070_4 WHERE volleyball = "Madison" AND cross_country = "Lexington" AND softball = "Orrville" |
wich spokesperson talked on luxembourg | CREATE TABLE table_184803_4 (spokespersons VARCHAR, country VARCHAR) | SELECT spokespersons FROM table_184803_4 WHERE country = "Luxembourg" |
When was the score 5-31? | CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_20 WHERE record = "5-31" |
What is the lowest Rank when Attempts was 319, and the Year was larger than 2000? | CREATE TABLE table_name_46 (rank INTEGER, attempts VARCHAR, year VARCHAR) | SELECT MIN(rank) FROM table_name_46 WHERE attempts = 319 AND year > 2000 |
What was the highest game number when the opponent was the Miami Heat? | CREATE TABLE table_name_5 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_name_5 WHERE opponent = "miami heat" |
When dis cbs release the DVD set? | CREATE TABLE table_name_76 (dvd_set_release_date VARCHAR, network VARCHAR) | SELECT dvd_set_release_date FROM table_name_76 WHERE network = "cbs" |
When David McNamara was the opponent in the final, what was the tier? | CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) | SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" |
Which Margin has a Winning score of –7 (71-72-67-71=281)? | CREATE TABLE table_name_26 (margin VARCHAR, winning_score VARCHAR) | SELECT margin FROM table_name_26 WHERE winning_score = –7(71 - 72 - 67 - 71 = 281) |
List the number of invoices and the invoice total from California. | CREATE TABLE invoices (billing_state VARCHAR, total INTEGER) | SELECT billing_state, COUNT(*), SUM(total) FROM invoices WHERE billing_state = "CA" |
What is the total number of to par when runner-up was Jonathan Kaye? | CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR) | SELECT COUNT(to_par) FROM table_247955_2 WHERE runner_s__up = "Jonathan Kaye" |
Which player was picked after 23? | CREATE TABLE table_name_89 (player VARCHAR, pick INTEGER) | SELECT player FROM table_name_89 WHERE pick > 23 |
Who is the coach of the team from Port Pirie? | CREATE TABLE table_name_6 (coach VARCHAR, location VARCHAR) | SELECT coach FROM table_name_6 WHERE location = "port pirie" |
what is the 1-letter for the amino acid asparagine? | CREATE TABLE table_name_10 (amino_acid VARCHAR) | SELECT 1 AS _letter FROM table_name_10 WHERE amino_acid = "asparagine" |
What ends has transferred as the type? | CREATE TABLE table_name_92 (ends VARCHAR, type VARCHAR) | SELECT ends FROM table_name_92 WHERE type = "transferred" |
What episode number had a cable ranking of 8? | CREATE TABLE table_24399615_4 (episode_no INTEGER, cable_rank VARCHAR) | SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_rank = "8" |
What round was less than 545 overall for San Francisco Giants? | CREATE TABLE table_name_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR) | SELECT round FROM table_name_92 WHERE overall < 545 AND mlb_team = "san francisco giants" |
What is the grid for Jack Brabham with more than 65 laps? | CREATE TABLE table_name_34 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_34 WHERE driver = "jack brabham" AND laps > 65 |
How many losses have draw values under 1? | CREATE TABLE table_name_36 (lost VARCHAR, drawn INTEGER) | SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 1 |
What was the largest crowd at Arden Street Oval? | CREATE TABLE table_name_85 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_85 WHERE venue = "arden street oval" |
What is the smallest Against with a Date of 18/02/1989? | CREATE TABLE table_name_55 (against INTEGER, date VARCHAR) | SELECT MIN(against) FROM table_name_55 WHERE date = "18/02/1989" |
What is the venue in Seattle? | CREATE TABLE table_name_22 (venue VARCHAR, city VARCHAR) | SELECT venue FROM table_name_22 WHERE city = "seattle" |
List the authors of submissions in ascending order of scores. | CREATE TABLE submission (Author VARCHAR, Scores VARCHAR) | SELECT Author FROM submission ORDER BY Scores |
Which player had a position of OL from Ohio State? | CREATE TABLE table_name_65 (player VARCHAR, pos VARCHAR, college VARCHAR) | SELECT player FROM table_name_65 WHERE pos = "ol" AND college = "ohio state" |
What was the wicket ranking for the match featuring partners Mohammad Azharuddin and Ajay Jadeja and also a fielding team of Sri Lanka? | CREATE TABLE table_name_93 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR) | SELECT wicket FROM table_name_93 WHERE batting_partners = "mohammad azharuddin and ajay jadeja" AND fielding_team = "sri lanka" |
Which player has an average of 38.22? | CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR) | SELECT player FROM table_name_53 WHERE average = 38.22 |
Which player went to Michigan State? | CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR) | SELECT player_name FROM table_10966926_2 WHERE college = "Michigan State" |
where was the abbas family and the pickering family located | CREATE TABLE table_19897294_9 (location_s_ VARCHAR, family_families VARCHAR) | SELECT location_s_ FROM table_19897294_9 WHERE family_families = "The Abbas Family and The Pickering Family" |
What are all the order #s from the week "top 6"? | CREATE TABLE table_29756040_1 (order__number VARCHAR, week__number VARCHAR) | SELECT order__number FROM table_29756040_1 WHERE week__number = "Top 6" |
When was brian lemay born? | CREATE TABLE table_name_1 (date_of_birth__age_ VARCHAR, player VARCHAR) | SELECT date_of_birth__age_ FROM table_name_1 WHERE player = "brian lemay" |
English title of amélie had what year? | CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR) | SELECT year FROM table_name_87 WHERE english_title = "amélie" |
In which championship had a previous champion of "defeated Justin Corino in tournament final"? | CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR) | SELECT championship FROM table_name_69 WHERE previous_champion_s_ = "defeated justin corino in tournament final" |
How many ranks by average for the couple Tana and Stuart? | CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR) | SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart" |
What is the attendance of the match on the 2nd with the slough jets as the opponent? | CREATE TABLE table_name_35 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_35 WHERE opponent = "slough jets" AND date = "2nd" |
How much Against has Draws of 2, and Losses smaller than 4? | CREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR) | SELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 4 |
what character did Masaharu satou play | CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR) | SELECT character_name FROM table_name_76 WHERE voice_actor__japanese_ = "masaharu satou" |
Where is the peak Pico Basilé located? | CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR) | SELECT location FROM table_name_15 WHERE peak = "pico basilé" |
How many yards did Davin Meggett have with more than 9 Rec.? | CREATE TABLE table_name_62 (yards INTEGER, player VARCHAR, rec VARCHAR) | SELECT SUM(yards) FROM table_name_62 WHERE player = "davin meggett" AND rec > 9 |
What kind of Week 4 has a Week 1 of sheila levell? | CREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR) | SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell" |
What is Bob Gilder in Place T3's To par? | CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_43 WHERE place = "t3" AND player = "bob gilder" |
What is the lowest ranking for 8:13.67? | CREATE TABLE table_name_4 (rank INTEGER, time VARCHAR) | SELECT MIN(rank) FROM table_name_4 WHERE time = "8:13.67" |
For the Indian Wells Masters tournament, what was the country? | CREATE TABLE table_name_96 (country VARCHAR, tournament VARCHAR) | SELECT country FROM table_name_96 WHERE tournament = "indian wells masters" |
What is the record for the game with an attendance of 35,305? | CREATE TABLE table_name_79 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_79 WHERE attendance = "35,305" |
Find the name and revenue of the company that earns the highest revenue in each city. | CREATE TABLE manufacturers (name VARCHAR, Headquarter VARCHAR, revenue INTEGER) | SELECT name, MAX(revenue), Headquarter FROM manufacturers GROUP BY Headquarter |
how many trains run daily to lonavla and arrive at 12:25 | CREATE TABLE table_29301050_1 (train_number VARCHAR, frequency VARCHAR, arrival_lonavla VARCHAR) | SELECT COUNT(train_number) FROM table_29301050_1 WHERE frequency = "Daily" AND arrival_lonavla = "12:25" |
What is the date of creation for the locomotive having a type of 0-4-2 | CREATE TABLE table_name_9 (date_made VARCHAR, type VARCHAR) | SELECT date_made FROM table_name_9 WHERE type = "0-4-2" |
what is the series for game 4? | CREATE TABLE table_name_88 (series VARCHAR, game VARCHAR) | SELECT series FROM table_name_88 WHERE game = 4 |
Who is the director of Cannibal vegetarian, which is the film title used in nomination? | CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director_s_ FROM table_name_92 WHERE film_title_used_in_nomination = "cannibal vegetarian" |
What date has postponed (rain) rescheduled for august 7 as the score? | CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_27 WHERE score = "postponed (rain) rescheduled for august 7" |
Which Directed by has an Original air date of april 29, 2000? | CREATE TABLE table_name_27 (directed_by VARCHAR, original_air_date VARCHAR) | SELECT directed_by FROM table_name_27 WHERE original_air_date = "april 29, 2000" |
What's the highest series number ? | CREATE TABLE table_27823058_1 (series__number INTEGER) | SELECT MAX(series__number) FROM table_27823058_1 |
Which opponent has an attendance of 17,015? | CREATE TABLE table_name_33 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_33 WHERE attendance = "17,015" |
Which Role has a First US National Tour of roger bart? | CREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR) | SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart" |
What is the total attendance when Stourbridge is the home team? | CREATE TABLE table_name_25 (attendance VARCHAR, home_team VARCHAR) | SELECT COUNT(attendance) FROM table_name_25 WHERE home_team = "stourbridge" |
What date did the episode with a production code of 3x6316 originally air? | CREATE TABLE table_28116528_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_28116528_1 WHERE production_code = "3X6316" |
Which Ratio has a Name of ansi e? | CREATE TABLE table_name_67 (ratio INTEGER, name VARCHAR) | SELECT MIN(ratio) FROM table_name_67 WHERE name = "ansi e" |
What is the part 2 entry for class 3a? | CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR) | SELECT part_2 FROM table_name_36 WHERE class = "3a" |
What was the average position of car number 59? | CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR) | SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59 |
What is the broadcast date with 7.0 million viewers? | CREATE TABLE table_name_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) | SELECT broadcast_date FROM table_name_46 WHERE viewers__in_millions_ = "7.0" |
When did Geelong play as the home team? | CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_89 WHERE home_team = "geelong" |
When the Altrincham was the home team what was the tie no? | CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_52 WHERE home_team = "altrincham" |
Who won the Gold Medal in Moscow after the year 1982? | CREATE TABLE table_name_55 (gold VARCHAR, year VARCHAR, place VARCHAR) | SELECT gold FROM table_name_55 WHERE year > 1982 AND place = "moscow" |
What are incumbent William Vandever's results? | CREATE TABLE table_name_81 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_name_81 WHERE incumbent = "william vandever" |
Who were the crew for the Falcon? | CREATE TABLE table_name_87 (crew VARCHAR, lunar_lander VARCHAR) | SELECT crew FROM table_name_87 WHERE lunar_lander = "falcon" |
What is Team 1 Al-Hilal's Agg.? | CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_81 WHERE team_1 = "al-hilal" |
what was the floor exercise score with a pommel horse score of 9.65 and horizontal bar score more than 9.475? | CREATE TABLE table_name_81 (floor_exercise INTEGER, pommel_horse VARCHAR, horizontal_bar VARCHAR) | SELECT MAX(floor_exercise) FROM table_name_81 WHERE pommel_horse = 9.65 AND horizontal_bar > 9.475 |
What is the location/ attendance for a 35-28 record? | CREATE TABLE table_name_4 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_4 WHERE record = "35-28" |
What is the overall draft number for the running back drafted after round 1 from fresno state? | CREATE TABLE table_name_68 (overall INTEGER, college VARCHAR, position VARCHAR, round VARCHAR) | SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fresno state" |
Name the lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4? | CREATE TABLE table_name_14 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, rank VARCHAR) | SELECT MIN(profits__billion_) AS $_ FROM table_name_14 WHERE sales__billion_$_ = 425.7 AND rank > 4 |
Where was match 8 played? | CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR) | SELECT ground FROM table_name_65 WHERE match = 8 |
How many goals did the player with less than 4 points have? | CREATE TABLE table_name_74 (goals VARCHAR, points INTEGER) | SELECT COUNT(goals) FROM table_name_74 WHERE points < 4 |
What's the Date with the Region of Europe and has a Catalog of 28765 22392 8? | CREATE TABLE table_name_13 (date VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_13 WHERE region = "europe" AND catalog = "28765 22392 8" |
What is the smallest week 3 score? | CREATE TABLE table_28946565_2 (week_3 INTEGER) | SELECT MIN(week_3) FROM table_28946565_2 |
What is the largest year with an Entrant of ron harris / team lotus? | CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR) | SELECT MAX(year) FROM table_name_79 WHERE entrant = "ron harris / team lotus" |
What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a? | CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT series FROM table_name_96 WHERE season < 2003 AND podiums = "1" AND points = "n/a" |
What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins? | CREATE TABLE table_name_7 (draws VARCHAR, golden_rivers VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT COUNT(draws) FROM table_name_7 WHERE losses > 11 AND wins < 4 AND golden_rivers = "wakool" |
What is the match report for the game that was against Houston? | CREATE TABLE table_name_12 (match_report VARCHAR, opponent VARCHAR) | SELECT match_report FROM table_name_12 WHERE opponent = "houston" |
What is Source Version, when Target Version is Java 7, 6, 5? | CREATE TABLE table_name_10 (source_version VARCHAR, target_version VARCHAR) | SELECT source_version FROM table_name_10 WHERE target_version = "java 7, 6, 5" |
When Lincoln City was the away team what is the tie number? | CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city" |
When 1 active, 1 inactive is the canadian chapters how many founding dates are there? | CREATE TABLE table_28436909_4 (founding_date VARCHAR, canadian_chapters VARCHAR) | SELECT COUNT(founding_date) FROM table_28436909_4 WHERE canadian_chapters = "1 Active, 1 Inactive" |
Name the least total when bronze is less than 2 and rank is more than 2 with silver less than 1 | CREATE TABLE table_name_24 (total INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_24 WHERE bronze < 2 AND rank > 2 AND silver < 1 |
What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941? | CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941 |
which Type has a Title of so alive? | CREATE TABLE table_name_49 (type VARCHAR, title VARCHAR) | SELECT type FROM table_name_49 WHERE title = "so alive" |
WHAT IS THE OPPONENT WITH A SCORE OF 72-63? | CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_89 WHERE score = "72-63" |
What is the value of match points when the points for is 570? | CREATE TABLE table_name_8 (match_points VARCHAR, points_against VARCHAR) | SELECT match_points FROM table_name_8 WHERE points_against = "570" |
How many directors have vietnamese titles of Gate, Gate, Paragate? | CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR) | SELECT COUNT(director) FROM table_22128871_1 WHERE vietnamese_title = "Gate, gate, paragate" |
What is the earliest year when games drawn was 0, points against are 86? | CREATE TABLE table_name_29 (year_s_ INTEGER, games_drawn___tests__ VARCHAR, points_against___tests__ VARCHAR) | SELECT MIN(year_s_) FROM table_name_29 WHERE games_drawn___tests__ = "0" AND points_against___tests__ = "86" |
What is the total number of games that has Juan Carlos Navarro and more than 266 points? | CREATE TABLE table_name_77 (games INTEGER, points VARCHAR, name VARCHAR) | SELECT SUM(games) FROM table_name_77 WHERE points > 266 AND name = "juan carlos navarro" |
Which provider is pay with analogue cable? | CREATE TABLE table_name_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR) | SELECT provider FROM table_name_83 WHERE free_or_pay = "pay" AND transmission = "analogue cable" |
What did South Africa place? | CREATE TABLE table_name_89 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_89 WHERE country = "south africa" |
What is the largest amount of goals when the points are less than 0? | CREATE TABLE table_name_3 (goals INTEGER, points INTEGER) | SELECT MAX(goals) FROM table_name_3 WHERE points < 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.