question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?
CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)
SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev"
What Engine has a Finish of 21?
CREATE TABLE table_name_68 (engine VARCHAR, finish VARCHAR)
SELECT engine FROM table_name_68 WHERE finish = "21"
what is the date of the game played in the bangalore , karnataka, india location
CREATE TABLE table_29127804_3 (date VARCHAR, location VARCHAR)
SELECT date FROM table_29127804_3 WHERE location = "Bangalore , Karnataka, India"
Who is the current manager of the team located in tubize?
CREATE TABLE table_name_15 (current_manager VARCHAR, location VARCHAR)
SELECT current_manager FROM table_name_15 WHERE location = "tubize"
What did the away team score when playing against fitzroy?
CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy"
What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?
CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow"
What are the notes with the time 6:24.21?
CREATE TABLE table_name_94 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_94 WHERE time = "6:24.21"
Was position ss from carson city high school signed?
CREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR)
SELECT signed FROM table_name_48 WHERE position = "ss" AND school = "carson city high school"
Who is the player from Auburn?
CREATE TABLE table_name_86 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_86 WHERE school_club_team = "auburn"
What is the title with an average rating of 22.4%?
CREATE TABLE table_18540104_1 (romaji_title VARCHAR, average_ratings VARCHAR)
SELECT romaji_title FROM table_18540104_1 WHERE average_ratings = "22.4%"
What is the total points of teams using a ligier js11/15 chassis?
CREATE TABLE table_name_18 (points VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_18 WHERE chassis = "ligier js11/15"
What pens have a draw of 0 when the player is sione mafi pahulu?
CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR)
SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu"
how many chroma format with name being high profile
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)
SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = "High profile"
Name the format for super callanetics
CREATE TABLE table_27303975_2 (format VARCHAR, title VARCHAR)
SELECT format FROM table_27303975_2 WHERE title = "Super Callanetics"
What is the highest Laps with a Time/Retired Wheel?
CREATE TABLE table_name_80 (laps INTEGER, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_80 WHERE time_retired = "wheel"
Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?
CREATE TABLE table_name_98 (drawn INTEGER, games VARCHAR, lost VARCHAR, points VARCHAR)
SELECT AVG(drawn) FROM table_name_98 WHERE lost > 0 AND points < 11 AND games < 7
What is Result, when Year is greater than 1999, when White is "Kramnik", and when Tournament is "Mainz CC Champions Duel (5)"?
CREATE TABLE table_name_77 (result VARCHAR, tournament VARCHAR, year VARCHAR, white VARCHAR)
SELECT result FROM table_name_77 WHERE year > 1999 AND white = "kramnik" AND tournament = "mainz cc champions duel (5)"
Which rider's manufacturer is Honda and has 28 laps and a grid of 1?
CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_35 WHERE laps = "28" AND manufacturer = "honda" AND grid = "1"
Find the name of customers whose credit score is below the average credit scores of all customers.
CREATE TABLE customer (cust_name VARCHAR, credit_score INTEGER)
SELECT cust_name FROM customer WHERE credit_score < (SELECT AVG(credit_score) FROM customer)
What was the score of round 3?
CREATE TABLE table_21378160_2 (score VARCHAR, round VARCHAR)
SELECT score FROM table_21378160_2 WHERE round = "3"
What is the highest value for FA cups, that has a total of 0 4, with less than 4 championships?
CREATE TABLE table_name_43 (fa_cup INTEGER, total VARCHAR, championship VARCHAR)
SELECT MAX(fa_cup) FROM table_name_43 WHERE total = "0 4" AND championship < 4
What round did the player from delta st. get picked?
CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR)
SELECT round FROM table_name_84 WHERE school_club_team = "delta st."
How many economy stats for the player with 2/19 BBI?
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)
SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19"
Who directed episode number 18 in the series?
CREATE TABLE table_25668962_1 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18
What position did the player who scored 4 extra points play?
CREATE TABLE table_14342210_12 (position VARCHAR, extra_points VARCHAR)
SELECT position FROM table_14342210_12 WHERE extra_points = 4
In Western Oval, what was the away team score?
CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_33 WHERE venue = "western oval"
How many characteristics are there?
CREATE TABLE CHARACTERISTICS (Id VARCHAR)
SELECT COUNT(*) FROM CHARACTERISTICS
What is the customer id, first and last name with least number of accounts.
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)
SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1
What's the IHSAA Class when the school is Seymour?
CREATE TABLE table_name_39 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_39 WHERE school = "seymour"
What year was Neverchanger with the label of Latenight weeknight?
CREATE TABLE table_name_70 (year VARCHAR, label VARCHAR, release_title VARCHAR)
SELECT year FROM table_name_70 WHERE label = "latenight weeknight" AND release_title = "neverchanger"
How many teams finished with a 2nd points total of 31?
CREATE TABLE table_17357929_1 (position VARCHAR, points_2 VARCHAR)
SELECT COUNT(position) FROM table_17357929_1 WHERE points_2 = 31
If the salary range is 4,000-9,000, what is the Indians %?
CREATE TABLE table_27257896_2 (indians VARCHAR, salary_range VARCHAR)
SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000"
Who had the highest rebounds of the game with A. Johnson (14) as the highest assists?
CREATE TABLE table_name_55 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_55 WHERE high_assists = "a. johnson (14)"
What is the date of the game when the venue is Princes Park?
CREATE TABLE table_name_40 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_40 WHERE venue = "princes park"
List the results for all games which involved the detroit red wings.
CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings"
Which award was given to Lianhe Zaobao?
CREATE TABLE table_name_84 (award VARCHAR, organisation VARCHAR)
SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao"
Show the names and ids of tourist attractions that are visited at most once.
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) <= 1
What is the target market for the station on 97.9 fm?
CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)
SELECT target_city__market FROM table_134987_3 WHERE frequency = "97.9 FM"
What was the score of the game when the record was 18–43?
CREATE TABLE table_name_3 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_3 WHERE record = "18–43"
When is the event at lake oval?
CREATE TABLE table_name_79 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_79 WHERE venue = "lake oval"
What were the rank points when the total was 11?
CREATE TABLE table_name_72 (rank_points VARCHAR, total VARCHAR)
SELECT rank_points FROM table_name_72 WHERE total = "11"
Waht is the Country of the play by Author Aristophanes?
CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR)
SELECT country FROM table_name_25 WHERE author = "aristophanes"
What was the score of the match played on 14 October 1998, resulting in more than 10 goals?
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR)
SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10
At 1:48.16 what was the number of track time?
CREATE TABLE table_16689920_1 (track VARCHAR, time VARCHAR)
SELECT COUNT(track) FROM table_16689920_1 WHERE time = "1:48.16"
Which championship after 1985 had a winning score of –8 (68-72-69-71=280)?
CREATE TABLE table_name_17 (championship VARCHAR, year VARCHAR, winning_score VARCHAR)
SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280)
Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?
CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)
SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express"
What are the years that Andretti Autosport is a team?
CREATE TABLE table_name_44 (year VARCHAR, team VARCHAR)
SELECT COUNT(year) FROM table_name_44 WHERE team = "andretti autosport"
Who was the opponent at the game that had a loss of Harden (9-6)?
CREATE TABLE table_name_27 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_27 WHERE loss = "harden (9-6)"
Name the bronze when silver is 1
CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR)
SELECT bronze FROM table_name_25 WHERE silver = 1
Which home captian has aus by 295 runs as the result?
CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs"
What is the date when Miranda Gore Browne was runner-up?
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)
SELECT finale FROM table_28962227_1 WHERE runners_up = "Miranda Gore Browne"
What were the time and speed for the rider ranked in 12 on Wed, June 3?
CREATE TABLE table_21607058_1 (wed_3_june VARCHAR, rank VARCHAR)
SELECT wed_3_june FROM table_21607058_1 WHERE rank = 12
What is the Label of Catalogue # HVNLP26CD from United Kingdom?
CREATE TABLE table_name_14 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR)
SELECT label FROM table_name_14 WHERE country = "united kingdom" AND catalogue__number = "hvnlp26cd"
When were the ships launched that were laid down on september 1, 1964?
CREATE TABLE table_1014206_2 (launched VARCHAR, laid_down VARCHAR)
SELECT launched FROM table_1014206_2 WHERE laid_down = "September 1, 1964"
Which location has a team that is nicknamed the Vikings?
CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_13759592_1 WHERE nickname = "Vikings"
What is the round of 16 result for Jiske Griffioen Esther Vergeer?
CREATE TABLE table_18602462_22 (round_of_16 VARCHAR, athlete VARCHAR)
SELECT round_of_16 FROM table_18602462_22 WHERE athlete = "Jiske Griffioen Esther Vergeer"
When did Linda Smith visit Subway?
CREATE TABLE Restaurant (TIME VARCHAR); CREATE TABLE Visits_Restaurant (TIME VARCHAR); CREATE TABLE Student (TIME VARCHAR)
SELECT TIME FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway"
What is Laure Manaudou's highest rank?
CREATE TABLE table_name_32 (rank INTEGER, name VARCHAR)
SELECT MAX(rank) FROM table_name_32 WHERE name = "laure manaudou"
What's the English Pluperfect when the Bulgarian is бяха чули?
CREATE TABLE table_name_48 (english VARCHAR, bulgarian VARCHAR)
SELECT english FROM table_name_48 WHERE bulgarian = "бяха чули"
Who had the high assists when the high rebounds were from Nick Collison (15)?
CREATE TABLE table_11964154_11 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (15)"
What were the home team scores at york park?
CREATE TABLE table_16388478_2 (home_team VARCHAR, ground VARCHAR)
SELECT home_team AS score FROM table_16388478_2 WHERE ground = "York Park"
What number of attempts were recorded when the completions were 223?
CREATE TABLE table_name_17 (attempts VARCHAR, completions VARCHAR)
SELECT attempts FROM table_name_17 WHERE completions = "223"
What is the round for bob randall?
CREATE TABLE table_name_13 (round INTEGER, name VARCHAR)
SELECT AVG(round) FROM table_name_13 WHERE name = "bob randall"
How many total medals for the nation with 1 gold and 6 bronzes?
CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 6
At what Site was the Result W13-7?
CREATE TABLE table_name_59 (site VARCHAR, result VARCHAR)
SELECT site FROM table_name_59 WHERE result = "w13-7"
What were Sébastien Bourdais' lowest points when there were less than 63 laps?
CREATE TABLE table_name_16 (points INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MIN(points) FROM table_name_16 WHERE driver = "sébastien bourdais" AND laps < 63
What is the province amount if the % 2011 is 0.0%
CREATE TABLE table_1939367_1 (province VARCHAR, _percentage_2011 VARCHAR)
SELECT COUNT(province) FROM table_1939367_1 WHERE _percentage_2011 = "0.0%"
What was the Competition on November 16, 2007?
CREATE TABLE table_name_64 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_64 WHERE date = "november 16, 2007"
During the quarter of 2012 Q2, how many millions of Blackberry OS phones where shipped when 0.1 million others were shipped?
CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, other VARCHAR, quarter VARCHAR)
SELECT COUNT(blackberry_os) FROM table_14260687_3 WHERE other = "0.1" AND quarter = "2012 Q2"
Which Historical Photos were taken at prospect 43 prospect ave?
CREATE TABLE table_name_46 (historical_photos VARCHAR, location VARCHAR)
SELECT historical_photos FROM table_name_46 WHERE location = "prospect 43 prospect ave"
What is the Region with a Catalog of alca-487?
CREATE TABLE table_name_89 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_89 WHERE catalog = "alca-487"
What is the latest first year with 0 total medals and over 0 golds?
CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR)
SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0
What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?
CREATE TABLE table_name_78 (react VARCHAR, name VARCHAR, lane VARCHAR)
SELECT COUNT(react) FROM table_name_78 WHERE name = "sean wroe" AND lane > 2
How many touchdowns were there when Heston was in play?
CREATE TABLE table_14342592_7 (touchdowns INTEGER, player VARCHAR)
SELECT MAX(touchdowns) FROM table_14342592_7 WHERE player = "Heston"
What is the highest pick of scott turner, who has a round greater than 2?
CREATE TABLE table_name_37 (pick INTEGER, round VARCHAR, name VARCHAR)
SELECT MAX(pick) FROM table_name_37 WHERE round > 2 AND name = "scott turner"
What is Score, when Country is "United States", and when Player is "Raymond Floyd"?
CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_98 WHERE country = "united states" AND player = "raymond floyd"
What's the power when the frequency is 101.5mhz?
CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR)
SELECT power__kw_ FROM table_name_26 WHERE frequency = "101.5mhz"
What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)?
CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR)
SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = "abc" AND channel___tv___rf__ = "9 (22)"
How many singers do we have?
CREATE TABLE singer (Id VARCHAR)
SELECT COUNT(*) FROM singer
What is the game score when the tie no is 7?
CREATE TABLE table_name_7 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_7 WHERE tie_no = "7"
How many tries have goals greater than 0?
CREATE TABLE table_name_33 (tries INTEGER, goals INTEGER)
SELECT SUM(tries) FROM table_name_33 WHERE goals > 0
where cfl team is edmonton (2) what are all the position
CREATE TABLE table_26996293_2 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_26996293_2 WHERE cfl_team = "Edmonton (2)"
How many clubs had 7 wins?
CREATE TABLE table_13741576_6 (club VARCHAR, won VARCHAR)
SELECT COUNT(club) FROM table_13741576_6 WHERE won = "7"
How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?
CREATE TABLE table_22083044_2 (event VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT COUNT(event) FROM table_22083044_2 WHERE fastest_lap = "Tim Macrow" AND pole_position = "Joey Foster"
What is the lowest influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 inhabitant per MEP?
CREATE TABLE table_name_58 (influence INTEGER, inhabitants_per_mep VARCHAR, population_millions VARCHAR, meps VARCHAR)
SELECT MIN(influence) FROM table_name_58 WHERE population_millions < 60.64 AND meps < 22 AND inhabitants_per_mep = 454 OFFSET 059
What day was the opponent Austria?
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "austria"
what is the location where the record is 1-0
CREATE TABLE table_26173058_2 (ahli VARCHAR, ramtha VARCHAR)
SELECT ahli FROM table_26173058_2 WHERE ramtha = "1-0"
Who was the opponent in the game with save ||33,389||87–62?
CREATE TABLE table_name_58 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_58 WHERE save = "||33,389||87–62"
What is the June 21 ncaat baseball record for Fresno State Bulldogs?
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)
SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 21"
What is the Website of the Cheadle School for Ages 8-16?
CREATE TABLE table_name_53 (website VARCHAR, ages VARCHAR, locality VARCHAR)
SELECT website FROM table_name_53 WHERE ages = "8-16" AND locality = "cheadle"
What is the MSRP for the laptop with storage of 128-512 GB SSD?
CREATE TABLE table_name_2 (msrp VARCHAR, storage VARCHAR)
SELECT msrp FROM table_name_2 WHERE storage = "128-512 gb ssd"
Name the Years that have a free + pay?
CREATE TABLE table_name_58 (years VARCHAR, free_or_pay VARCHAR)
SELECT years FROM table_name_58 WHERE free_or_pay = "free + pay"
Who was the opponent at the game held on December 24, 2005?
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "december 24, 2005"
During the loss on march 26, 2005, what was the venue where the match was played?
CREATE TABLE table_name_10 (venue VARCHAR, result VARCHAR, date VARCHAR)
SELECT venue FROM table_name_10 WHERE result = "loss" AND date = "march 26, 2005"
What is the result on Saturday that's রবিবার robibar on Sunday
CREATE TABLE table_name_14 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
SELECT saturday_shani__saturn_ FROM table_name_14 WHERE sunday_surya__the_sun_ = "রবিবার robibar"
What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e?
CREATE TABLE table_name_94 (latitude VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR)
SELECT latitude FROM table_name_94 WHERE diameter__km_ = "13km" AND longitude = "72.9° e"
what is the cerclis ID when the site was proposed on 12/30/1982 and was partially deleted on 05/01/2003?
CREATE TABLE table_name_74 (cerclis_id VARCHAR, proposed VARCHAR, partially_deleted VARCHAR)
SELECT cerclis_id FROM table_name_74 WHERE proposed = "12/30/1982" AND partially_deleted = "05/01/2003"
Name the speed for andy reynolds
CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_41 WHERE rider = "andy reynolds"
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"
How many games are played?
CREATE TABLE table_15405904_1 (played INTEGER)
SELECT MIN(played) FROM table_15405904_1