question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What's the smallest amount of earnings when there are more than 18 wins and the rank is 2? | CREATE TABLE table_name_86 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR) | SELECT MIN(earnings___) AS $__ FROM table_name_86 WHERE wins > 18 AND rank = 2 |
When 9 is the number what is the title? | CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR) | SELECT title FROM table_24781886_3 WHERE _number = 9 |
What is the fastest lap for Seiji Ara? | CREATE TABLE table_name_49 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_49 WHERE winning_driver = "seiji ara" |
How many goals have a Lokomotiv Plovdiv club and goals against larger than 58? | CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR) | SELECT COUNT(goals_for) FROM table_name_80 WHERE club = "lokomotiv plovdiv" AND goals_against > 58 |
Who was the guest when attendance was 3? | CREATE TABLE table_name_98 (guest VARCHAR, attendance VARCHAR) | SELECT guest FROM table_name_98 WHERE attendance = 3 |
List all winning scores from 1982. | CREATE TABLE table_224616_1 (winners_score VARCHAR, year VARCHAR) | SELECT winners_score FROM table_224616_1 WHERE year = 1982 |
Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion | CREATE TABLE table_27965906_2 (gt_winning_car VARCHAR, a_winning_car VARCHAR) | SELECT gt_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" |
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck | CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR) | SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = "grover cleveland" AND representative = "charles w. buck" |
Who is the television commentator when the spokesperson is Kateryna Osadcha? | CREATE TABLE table_1998037_9 (television_commentator VARCHAR, spokesperson VARCHAR) | SELECT television_commentator FROM table_1998037_9 WHERE spokesperson = "Kateryna Osadcha" |
who was position 3 in 2007-2008? | CREATE TABLE table_22591910_4 (position VARCHAR) | SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3 |
What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters? | CREATE TABLE table_name_38 (stories INTEGER, height__m_ VARCHAR, location VARCHAR, year_of_completion VARCHAR) | SELECT MAX(stories) FROM table_name_38 WHERE location = "recife" AND year_of_completion > 2007 AND height__m_ < 135 |
Tell me the overs for mdns of 4 | CREATE TABLE table_name_66 (overs VARCHAR, mdns VARCHAR) | SELECT overs FROM table_name_66 WHERE mdns = "4" |
When the carrier is idc, what are the frequencies? | CREATE TABLE table_19246_1 (frequency VARCHAR, carrier VARCHAR) | SELECT frequency FROM table_19246_1 WHERE carrier = "IDC" |
What is the grid total for kazuyoshi hoshino with under 71 laps? | CREATE TABLE table_name_22 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_22 WHERE driver = "kazuyoshi hoshino" AND laps < 71 |
Who's the writer of the episode see by 12.13 million US viewers? | CREATE TABLE table_12159115_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_12159115_2 WHERE us_viewers__millions_ = "12.13" |
What year were the awards given june 6, 2004–june 15, 2004? | CREATE TABLE table_name_35 (year_of_award INTEGER, date_s_ VARCHAR) | SELECT SUM(year_of_award) FROM table_name_35 WHERE date_s_ = "june 6, 2004–june 15, 2004" |
Which township has a longitude of -98.741656? | CREATE TABLE table_18600760_12 (township VARCHAR, longitude VARCHAR) | SELECT township FROM table_18600760_12 WHERE longitude = "-98.741656" |
What was the Winning Score when Betsy Rawls was the Runner(s)-up? | CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls" |
What is the Apparent magnitude of a Declination (J2000) of °39′45″? | CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR) | SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "°39′45″" |
What engine did the mclaren mp4-20 use? | CREATE TABLE table_name_40 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_40 WHERE chassis = "mclaren mp4-20" |
Who was the away team playing the home team North Melbourne? | CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_88 WHERE home_team = "north melbourne" |
What is the average number of points of the team with more than 17 pg won? | CREATE TABLE table_name_26 (points__pts_ INTEGER, won__pg_ INTEGER) | SELECT AVG(points__pts_) FROM table_name_26 WHERE won__pg_ > 17 |
What is the id of the reviewer whose name has substring “Mike”? | CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR) | SELECT rID FROM Reviewer WHERE name LIKE "%Mike%" |
What did the away team score at Moorabbin oval? | CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_38 WHERE venue = "moorabbin oval" |
What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67? | CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR) | SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67 |
In what way was Kewaubis executed on December 27, 1827? | CREATE TABLE table_name_99 (method VARCHAR, date_of_execution VARCHAR, name VARCHAR) | SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis" |
Which Player has a Team from of south shore kings? | CREATE TABLE table_name_11 (player VARCHAR, team_from VARCHAR) | SELECT player FROM table_name_11 WHERE team_from = "south shore kings" |
What is the largest crowd when st kilda was the away team? | CREATE TABLE table_name_60 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_60 WHERE away_team = "st kilda" |
Which Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mhz? | CREATE TABLE table_name_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR) | SELECT multiplier FROM table_name_98 WHERE front_side_bus = "200 mhz" AND frequency = "1200 mhz" |
What years does the school have with a roll of 33? | CREATE TABLE table_name_85 (years VARCHAR, roll VARCHAR) | SELECT years FROM table_name_85 WHERE roll = 33 |
Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness? | CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR) | SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = "biodiversity richness" |
How many different last names do the actors and actresses have? | CREATE TABLE actor (last_name VARCHAR) | SELECT COUNT(DISTINCT last_name) FROM actor |
Who was the opponent on June 15? | CREATE TABLE table_name_71 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_71 WHERE date = "june 15" |
What was the outcome when the game was played on clay and on 2 May 2009? | CREATE TABLE table_name_49 (outcome VARCHAR, surface VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_49 WHERE surface = "clay" AND date = "2 may 2009" |
Who was the away team at the game held at Arden Street Oval? | CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_16 WHERE venue = "arden street oval" |
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8? | CREATE TABLE table_name_52 (week_8 VARCHAR, week_1 VARCHAR) | SELECT week_8 FROM table_name_52 WHERE week_1 = "carol roopali" |
What is the IATA for Esperadinha Airport? | CREATE TABLE table_name_3 (iata VARCHAR, airportname VARCHAR) | SELECT iata FROM table_name_3 WHERE airportname = "esperadinha airport" |
What is the team's record on april 23? | CREATE TABLE table_name_43 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_43 WHERE date = "april 23" |
Which Result has a Round larger than 17? | CREATE TABLE table_name_37 (result VARCHAR, round INTEGER) | SELECT result FROM table_name_37 WHERE round > 17 |
How many viewers watched the episode written by shana goldberg-meehan & greg malins? | CREATE TABLE table_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins" |
WHAT IS THE WORLDWIDE BOX OFFICE FOR BRAVE? | CREATE TABLE table_name_41 (worldwide VARCHAR, film VARCHAR) | SELECT worldwide FROM table_name_41 WHERE film = "brave" |
When the away team is Geelong, what is the highest crowd count? | CREATE TABLE table_name_86 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_86 WHERE away_team = "geelong" |
What is the lowest number of draws of the team with 9 wins and less than 0 byes? | CREATE TABLE table_name_41 (draws INTEGER, wins VARCHAR, byes VARCHAR) | SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 0 |
what is the least draws when the position is lower than 5, the points is 62 and played is more than 38? | CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR) | SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38 |
What are the other awards for 1995? | CREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR) | SELECT other_awards FROM table_name_77 WHERE year = 1995 |
Name the M809 seris with M939 series of M931/932 | CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR) | SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932" |
what venue saw a score of 285? | CREATE TABLE table_name_17 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_17 WHERE score = "285" |
What venue does st kilda play at as the away team? | CREATE TABLE table_name_30 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_30 WHERE away_team = "st kilda" |
What position has a pick less than 20? | CREATE TABLE table_name_2 (position VARCHAR, pick INTEGER) | SELECT position FROM table_name_2 WHERE pick < 20 |
what's the leading scorer where home is sacramento kings | CREATE TABLE table_11964047_9 (leading_scorer VARCHAR, home VARCHAR) | SELECT leading_scorer FROM table_11964047_9 WHERE home = "Sacramento Kings" |
When steve gomer is the director who is the writer? | CREATE TABLE table_14847258_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_14847258_1 WHERE directed_by = "Steve Gomer" |
What is the code for a Le Haut-Saint-Laurent municipality that has 16 or more regions? | CREATE TABLE table_name_14 (code INTEGER, regional_county_municipality VARCHAR, region VARCHAR) | SELECT MIN(code) FROM table_name_14 WHERE regional_county_municipality = "le haut-saint-laurent" AND region > 16 |
What is the 2005 Lukoil oil prodroduction when in 2007 oil production 91.100 million tonnes? | CREATE TABLE table_name_25 (Id VARCHAR) | SELECT 2005 FROM table_name_25 WHERE 2007 = "91.100" |
Who is the Visiting team on december 20? | CREATE TABLE table_name_99 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_99 WHERE date = "december 20" |
what's the number of households with per capita income being $16,820 | CREATE TABLE table_1350350_2 (number_of_households VARCHAR, per_capita_income VARCHAR) | SELECT number_of_households FROM table_1350350_2 WHERE per_capita_income = "$16,820" |
What was the district when the reason for change was died January 1, 1974? | CREATE TABLE table_1134091_4 (district VARCHAR, reason_for_change VARCHAR) | SELECT district FROM table_1134091_4 WHERE reason_for_change = "Died January 1, 1974" |
What is the Length (m) of the Koppenberg course? | CREATE TABLE table_name_46 (length__m_ VARCHAR, name VARCHAR) | SELECT length__m_ FROM table_name_46 WHERE name = "koppenberg" |
WHAT WAS THE SCORE OF THE GAME WITH A 2007-03-06, 20:45 KICKOFF? | CREATE TABLE table_name_50 (result VARCHAR, kick_off VARCHAR) | SELECT result FROM table_name_50 WHERE kick_off = "2007-03-06, 20:45" |
What is the average regular number of attendees that has 79 parishes? | CREATE TABLE table_name_36 (regular_attendees INTEGER, parishes VARCHAR) | SELECT AVG(regular_attendees) FROM table_name_36 WHERE parishes = 79 |
What address was the document with id 4 mailed to? | CREATE TABLE Addresses (document_id VARCHAR); CREATE TABLE Documents_Mailed (document_id VARCHAR) | SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4 |
What is Akron's highest Pct in 100 years? | CREATE TABLE table_name_5 (pct VARCHAR, years VARCHAR, team VARCHAR) | SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron" |
What is the lowest stage when the yellow jersey is Ronan Pensec? | CREATE TABLE table_275506_1 (stage INTEGER, yellow_jersey VARCHAR) | SELECT MIN(stage) FROM table_275506_1 WHERE yellow_jersey = "Ronan Pensec" |
where is team player mike mcniven played for? | CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1213511_5 WHERE player = "Mike McNiven" |
Who was Richmond's away team opponent? | CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_53 WHERE home_team = "richmond" |
Who won on the week of August 10? | CREATE TABLE table_name_7 (winner_and_score VARCHAR, week VARCHAR) | SELECT winner_and_score FROM table_name_7 WHERE week = "august 10" |
What is the Home team score for the Lake Oval Venue? | CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_7 WHERE venue = "lake oval" |
What is the number of points when the draws are more than 1? | CREATE TABLE table_name_57 (points VARCHAR, draw INTEGER) | SELECT COUNT(points) FROM table_name_57 WHERE draw > 1 |
Where is the Eren Talu bidding project located? | CREATE TABLE table_name_30 (location VARCHAR, project VARCHAR) | SELECT location FROM table_name_30 WHERE project = "eren talu bidding project" |
What is the english spelling of the word that has the strongs trasliteration of y e howram? | CREATE TABLE table_1242447_1 (english_spelling VARCHAR, strongs_transliteration VARCHAR) | SELECT english_spelling FROM table_1242447_1 WHERE strongs_transliteration = "Y e howram" |
When has an Album of l'un n'empêche pas l'autre? | CREATE TABLE table_name_14 (date VARCHAR, album VARCHAR) | SELECT date FROM table_name_14 WHERE album = "l'un n'empêche pas l'autre" |
What is the transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006? | CREATE TABLE table_name_60 (transfer_fee VARCHAR, nat VARCHAR, since VARCHAR, goals VARCHAR) | SELECT transfer_fee FROM table_name_60 WHERE since = "2006" AND goals < 63 AND nat = "mli" |
Where Date is october 14 what is the attendance? | CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_40 WHERE date = "october 14" |
Who are the cast members of episode 3-04? | CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR) | SELECT cast FROM table_2570269_3 WHERE episode__number = "3-04" |
Which driver set the Qualifying record with a time of 24.761 seconds? | CREATE TABLE table_name_61 (driver VARCHAR, record VARCHAR, time VARCHAR) | SELECT driver FROM table_name_61 WHERE record = "qualifying" AND time = "24.761" |
What is the name and salary for employee with id 242518965? | CREATE TABLE Employee (name VARCHAR, salary VARCHAR, eid VARCHAR) | SELECT name, salary FROM Employee WHERE eid = 242518965 |
Name the dates for margin of victory being 5 strokes | CREATE TABLE table_1628792_1 (dates VARCHAR, margin_of_victory VARCHAR) | SELECT COUNT(dates) FROM table_1628792_1 WHERE margin_of_victory = "5 strokes" |
What is the year to april when the revenue is 434.8 million dollars? | CREATE TABLE table_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR) | SELECT year_to_april FROM table_18077713_1 WHERE revenue__us_$million_ = "434.8" |
What was the attendance record for Leicester City? | CREATE TABLE table_name_17 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_17 WHERE home_team = "leicester city" |
which is the production code when the number of the episode in series is 87? | CREATE TABLE table_27622417_1 (prod_code VARCHAR, no_in_series VARCHAR) | SELECT prod_code FROM table_27622417_1 WHERE no_in_series = 87 |
What label shows an Album of cover version v? | CREATE TABLE table_name_24 (label VARCHAR, album VARCHAR) | SELECT label FROM table_name_24 WHERE album = "cover version v" |
What is the average Wkts, when Player is Beau Casson, and when Ovrs is greater than 32? | CREATE TABLE table_name_61 (wkts INTEGER, player VARCHAR, ovrs VARCHAR) | SELECT AVG(wkts) FROM table_name_61 WHERE player = "beau casson" AND ovrs > 32 |
What's the release date of Upswept Hare? | CREATE TABLE table_name_28 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_28 WHERE title = "upswept hare" |
on the span of 1992-2000, what was the conv ? | CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR) | SELECT conv FROM table_name_19 WHERE span = "1992-2000" |
Which athlete had a six month suspension from IIHF? | CREATE TABLE table_name_55 (athlete VARCHAR, punishment VARCHAR) | SELECT athlete FROM table_name_55 WHERE punishment = "six month suspension from iihf" |
Which English name has a Color of green? | CREATE TABLE table_name_54 (english_name VARCHAR, color VARCHAR) | SELECT english_name FROM table_name_54 WHERE color = "green" |
Which Release date has a Director of tom palmer, and a Production Num larger than 5956? | CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR) | SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956 |
Who were the visitors when the home team were the ny rangers? | CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_76 WHERE home = "ny rangers" |
What is the highest number of interceptions? | CREATE TABLE table_19418696_3 (interceptions INTEGER) | SELECT MAX(interceptions) FROM table_19418696_3 |
Which crime rate per 1,000 people is associated with a cost per capita of $152? | CREATE TABLE table_12340907_1 (crime_rate_per_1 INTEGER, cost_per_capita VARCHAR) | SELECT MAX(crime_rate_per_1), 000 AS _people FROM table_12340907_1 WHERE cost_per_capita = "$152" |
What the total of Week with attendance of 53,147 | CREATE TABLE table_name_70 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_70 WHERE attendance = "53,147" |
What is the release date of the album written by Goss, James James Goss under Audiogo? | CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR) | SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo" |
List the name and cost of all procedures sorted by the cost from the highest to the lowest. | CREATE TABLE procedures (name VARCHAR, cost VARCHAR) | SELECT name, cost FROM procedures ORDER BY cost DESC |
Which School/Club Team does Vince Carter Play for? | CREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_95 WHERE player = "vince carter" |
Which team classification has malaysian team classification of mncf continental team? | CREATE TABLE table_22464308_2 (team_classification VARCHAR, malaysian_team_classification VARCHAR) | SELECT team_classification FROM table_22464308_2 WHERE malaysian_team_classification = "MNCF Continental Team" |
what's the province where member is frederick merriman category:articles with hcards | CREATE TABLE table_1193568_1 (province VARCHAR, member VARCHAR) | SELECT province FROM table_1193568_1 WHERE member = "Frederick Merriman Category:Articles with hCards" |
Who won the race at Magny-Cours | CREATE TABLE table_15187794_1 (race_winner VARCHAR, circuit VARCHAR) | SELECT race_winner FROM table_15187794_1 WHERE circuit = "Magny-Cours" |
How many games had 22 goals before 1935? | CREATE TABLE table_name_23 (games INTEGER, goals VARCHAR, debut_year VARCHAR) | SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935 |
When did they play at the Cotton Bowl? | CREATE TABLE table_17765264_1 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_17765264_1 WHERE game_site = "Cotton Bowl" |
What's the total of the Morse Taper number when the D (max) is 20 and the B (max) greater than 94? | CREATE TABLE table_name_1 (morse_taper_number INTEGER, d__max_ VARCHAR, b__max_ VARCHAR) | SELECT SUM(morse_taper_number) FROM table_name_1 WHERE d__max_ = 20 AND b__max_ > 94 |
What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? | CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.