question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
When 1985-2007 yamaha v-max honda vfr800 is the example what is the engine is it?
CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR)
SELECT engine FROM table_22915134_2 WHERE example = "1985-2007 Yamaha V-Max Honda VFR800"
Who is the home team based at windy hill?
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_56 WHERE venue = "windy hill"
What were the sets when Federer had 6 and a nadal of 13?
CREATE TABLE table_name_95 (sets VARCHAR, nadal VARCHAR, federer VARCHAR)
SELECT sets FROM table_name_95 WHERE nadal = 13 AND federer = 6
Who directed episode number 626 in the series?
CREATE TABLE table_25800134_19 (director VARCHAR, series__number VARCHAR)
SELECT director FROM table_25800134_19 WHERE series__number = 626
When and in what zip code did max temperature reach 80?
CREATE TABLE weather (date VARCHAR, zip_code VARCHAR, max_temperature_f VARCHAR)
SELECT date, zip_code FROM weather WHERE max_temperature_f >= 80
List first name and last name of customers that have more than 2 payments.
CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customer_Payments (customer_id VARCHAR)
SELECT T2.first_name, T2.last_name FROM Customer_Payments AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) > 2
Which result has a Record of 16-6?
CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_20 WHERE record = "16-6"
When his record was 15–1–1 (1) where did he fight?
CREATE TABLE table_name_82 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_82 WHERE record = "15–1–1 (1)"
What are the names of representatives whose party is not "Republican"?
CREATE TABLE Representative (Name VARCHAR, Party VARCHAR)
SELECT Name FROM Representative WHERE Party <> "Republican"
What title was release November 17, 2009 in a 16:9 aspect ratio?
CREATE TABLE table_name_5 (dvd_title VARCHAR, aspect_ratio VARCHAR, release_date VARCHAR)
SELECT dvd_title FROM table_name_5 WHERE aspect_ratio = "16:9" AND release_date = "november 17, 2009"
How many music entries are there when tor floysvik is 3?
CREATE TABLE table_28677723_10 (music VARCHAR, tor_fløysvik VARCHAR)
SELECT COUNT(music) FROM table_28677723_10 WHERE tor_fløysvik = 3
What is the record of the game on May 6?
CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_4 WHERE date = "may 6"
Name the final score for week 5
CREATE TABLE table_24126606_2 (final_score VARCHAR, week VARCHAR)
SELECT final_score FROM table_24126606_2 WHERE week = 5
how many channels were gained in 1997
CREATE TABLE table_1397655_1 (other_programming_sources VARCHAR, year_acquired VARCHAR)
SELECT COUNT(other_programming_sources) FROM table_1397655_1 WHERE year_acquired = 1997
Name the country vijay singh is from
CREATE TABLE table_name_16 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_16 WHERE player = "vijay singh"
Who is the President of the team that has the Head Coach Mark Wakeling?
CREATE TABLE table_name_37 (president VARCHAR, head_coach VARCHAR)
SELECT president FROM table_name_37 WHERE head_coach = "mark wakeling"
What is the latest year a division was established?
CREATE TABLE table_1784514_1 (year_established INTEGER)
SELECT MAX(year_established) FROM table_1784514_1
Name the chassis for ludwig fischer
CREATE TABLE table_28578594_1 (chassis VARCHAR, driver VARCHAR)
SELECT chassis FROM table_28578594_1 WHERE driver = "Ludwig Fischer"
Find the name and active date of the customer that use email as the contact channel.
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_contact_channels (active_from_date VARCHAR, customer_id VARCHAR, channel_code VARCHAR)
SELECT t1.customer_name, t2.active_from_date FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email'
Name the duration for vladimir vasyutin , alexander volkov
CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR)
SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov"
What is Team, when Qual 1 is 1:16.417?
CREATE TABLE table_name_70 (team VARCHAR, qual_1 VARCHAR)
SELECT team FROM table_name_70 WHERE qual_1 = "1:16.417"
What player is 2.01 m tall?
CREATE TABLE table_12962773_2 (player VARCHAR, height VARCHAR)
SELECT player FROM table_12962773_2 WHERE height = "2.01"
What time was the kickoff on September 15, 1985?
CREATE TABLE table_name_68 (kickoff_ VARCHAR, a_ VARCHAR, date VARCHAR)
SELECT kickoff_[a_] FROM table_name_68 WHERE date = "september 15, 1985"
In what district is the incumbent John Linder?
CREATE TABLE table_19753079_13 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_19753079_13 WHERE incumbent = "John Linder"
What tournament has a 2003 of a?
CREATE TABLE table_name_47 (tournament VARCHAR)
SELECT tournament FROM table_name_47 WHERE 2003 = "a"
Who does Yamaha Construct for?
CREATE TABLE table_name_46 (team VARCHAR, constructor VARCHAR)
SELECT team FROM table_name_46 WHERE constructor = "yamaha"
What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY?
CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR)
SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny"
What is the To par of the Player from Argentina?
CREATE TABLE table_name_39 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_39 WHERE country = "argentina"
What is Sue Bird's position?
CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_93 WHERE player = "sue bird"
When 106 is the area in kilometers squared what is the city/municipality?
CREATE TABLE table_29289372_1 (city_municipality VARCHAR, area__km²_ VARCHAR)
SELECT city_municipality FROM table_29289372_1 WHERE area__km²_ = "106"
What is Series, when Date is "June 7"?
CREATE TABLE table_name_74 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_74 WHERE date = "june 7"
what the team where the record is 1-1 and the player is 1-1
CREATE TABLE table_26173058_2 (× VARCHAR, jeel VARCHAR, ramtha VARCHAR)
SELECT × FROM table_26173058_2 WHERE jeel = "1-1" AND ramtha = "1-1"
What was the run 3 for the team in rank 12?
CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR)
SELECT run_3 FROM table_name_4 WHERE rank = "12"
What Grid has Driver Cristiano da Matta?
CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_10 WHERE driver = "cristiano da matta"
What is the Conference for the 1967–68 season?
CREATE TABLE table_name_71 (conference VARCHAR, season VARCHAR)
SELECT conference FROM table_name_71 WHERE season = "1967–68"
What is the attendance rate for the Middlesbrough opponent?
CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_27 WHERE opponent = "middlesbrough"
When is the latest game the bills had 21 first downs
CREATE TABLE table_16028459_2 (game INTEGER, bills_first_downs VARCHAR)
SELECT MIN(game) FROM table_16028459_2 WHERE bills_first_downs = 21
Name the barrel length for barrel twist of 1:7
CREATE TABLE table_name_90 (barrel_length VARCHAR, barrel_twist VARCHAR)
SELECT barrel_length FROM table_name_90 WHERE barrel_twist = "1:7"
What was the record for the game on March 25?
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_27 WHERE date = "march 25"
What is the average enrollment number?
CREATE TABLE College (enr INTEGER)
SELECT AVG(enr) FROM College
Which Airport has a Carrier of malaysia airlines?
CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR)
SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines"
If the just cents is 701.96, what is the interval name?
CREATE TABLE table_18955077_1 (interval_name VARCHAR, just__cents_ VARCHAR)
SELECT interval_name FROM table_18955077_1 WHERE just__cents_ = "701.96"
What is the reign for super kendo who held it for 35 days?
CREATE TABLE table_name_16 (reign VARCHAR, days_held VARCHAR, wrestler VARCHAR)
SELECT reign FROM table_name_16 WHERE days_held = "35" AND wrestler = "super kendo"
What is the course title of the prerequisite of course Mobile Computing?
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR)
SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing')
Which date has an Outcome of runner-up, and an Opponent in the final of gilles simon?
CREATE TABLE table_name_86 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_86 WHERE outcome = "runner-up" AND opponent_in_the_final = "gilles simon"
Where does Norway rank in total medals among countries with fewer than 7 bronzes?
CREATE TABLE table_name_96 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT rank FROM table_name_96 WHERE bronze < 7 AND nation = "norway"
What is the maximum money list rank for Matt Hansen?
CREATE TABLE table_24747844_2 (money_list_rank INTEGER, player VARCHAR)
SELECT MAX(money_list_rank) FROM table_24747844_2 WHERE player = "Matt Hansen"
When did the loan that Ended on 15 January Start?
CREATE TABLE table_name_60 (started VARCHAR, ended VARCHAR)
SELECT started FROM table_name_60 WHERE ended = "15 january"
What were the finishes by David Graham with totals lower than 292?
CREATE TABLE table_name_19 (finish VARCHAR, total VARCHAR, player VARCHAR)
SELECT finish FROM table_name_19 WHERE total = 292 AND player = "david graham"
What is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?
CREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)
SELECT general_classification FROM table_name_94 WHERE mountains_classification = "christophe moreau" AND team_classification = "team csc"
What is the active Date that has a 65 (100) Max 1-min wind?
CREATE TABLE table_name_28 (dates_active VARCHAR, max_1_min_wind_mph__km_h_ VARCHAR)
SELECT dates_active FROM table_name_28 WHERE max_1_min_wind_mph__km_h_ = "65 (100)"
Where is channel 83 broadcasted?
CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)
SELECT territory FROM table_name_86 WHERE channel = 83
What is the home for the league 3rd liga (iii)?
CREATE TABLE table_name_81 (home VARCHAR, league VARCHAR)
SELECT home FROM table_name_81 WHERE league = "3rd liga (iii)"
What is the Name of the Prime Minister with a Born-Died of 1873–1933?
CREATE TABLE table_name_34 (name VARCHAR, born_died VARCHAR)
SELECT name FROM table_name_34 WHERE born_died = "1873–1933"
Who was the director of episode 11 based on season?
CREATE TABLE table_25277296_2 (directed_by VARCHAR, no_in_season VARCHAR)
SELECT directed_by FROM table_25277296_2 WHERE no_in_season = 11
When the home team was hawthorn, what was the date?
CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_44 WHERE home_team = "hawthorn"
What is the highest total to par of +9?
CREATE TABLE table_name_40 (total INTEGER, to_par VARCHAR)
SELECT MAX(total) FROM table_name_40 WHERE to_par = "+9"
Who was from Great Britain in lane 5?
CREATE TABLE table_name_28 (name VARCHAR, nationality VARCHAR, lane VARCHAR)
SELECT name FROM table_name_28 WHERE nationality = "great britain" AND lane = 5
Which venue was used on 12 September 1998?
CREATE TABLE table_name_10 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_10 WHERE date = "12 september 1998"
What school has a team called the Pirates?
CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR)
SELECT school FROM table_name_79 WHERE team_name = "pirates"
Which venue has a note of AM?
CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_32 WHERE notes = "am"
What Nation has more than 4 silver, more than 3 gold and 18 total medals?
CREATE TABLE table_name_76 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_76 WHERE silver > 4 AND gold > 3 AND total = 18
What's the period of a rock album released in 1973?
CREATE TABLE table_name_83 (period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR)
SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock"
What subdivision names (RU) have a code of by-hr?
CREATE TABLE table_290017_1 (subdivision_name___ru____bgn_pcgn_ VARCHAR, code VARCHAR)
SELECT subdivision_name___ru____bgn_pcgn_ FROM table_290017_1 WHERE code = "BY-HR"
Which 3’UTR sequence has the GenBank ID at hq021440?
CREATE TABLE table_name_87 (genbank_id VARCHAR)
SELECT 3 AS ’utr_sequence FROM table_name_87 WHERE genbank_id = "hq021440"
What tournament was located in Colorado?
CREATE TABLE table_name_5 (tournament VARCHAR, location VARCHAR)
SELECT tournament FROM table_name_5 WHERE location = "colorado"
What was the score when the opposition was sussex after 1890?
CREATE TABLE table_name_49 (score VARCHAR, opposition VARCHAR, year VARCHAR)
SELECT score FROM table_name_49 WHERE opposition = "sussex" AND year > 1890
Show the name of the party that has the most delegates.
CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1
In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )?
CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)
SELECT place FROM table_name_50 WHERE silver = "valeri postoianov ( urs )" AND year > 1969 AND bronze = "alexander gazov ( urs )"
If the average is 50.16, who is the player?
CREATE TABLE table_27268238_4 (player VARCHAR, average VARCHAR)
SELECT player FROM table_27268238_4 WHERE average = "50.16"
List all opponents from the 4-4 scoring game.
CREATE TABLE table_24561550_1 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_24561550_1 WHERE record = "4-4"
What is the record of the game on March 5?
CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_57 WHERE date = "march 5"
How many years did the new york giants win with a result of 15-7 at lincoln financial field?
CREATE TABLE table_name_53 (year VARCHAR, result VARCHAR, location VARCHAR, winner VARCHAR)
SELECT COUNT(year) FROM table_name_53 WHERE location = "lincoln financial field" AND winner = "new york giants" AND result = "15-7"
Which member of the National Party is from the Hinkler electorate?
CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR)
SELECT member FROM table_name_6 WHERE party = "national" AND electorate = "hinkler"
What is H/A/N, when Date is October 31?
CREATE TABLE table_name_50 (h_a_n VARCHAR, date VARCHAR)
SELECT h_a_n FROM table_name_50 WHERE date = "october 31"
What is the Format of the Label with Catalog SBP 234999?
CREATE TABLE table_name_23 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_23 WHERE catalog = "sbp 234999"
In what stadium was the game on August 22, 2008 played?
CREATE TABLE table_name_36 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_36 WHERE date = "august 22, 2008"
Find names of the document without any images.
CREATE TABLE document_sections_images (section_id VARCHAR); CREATE TABLE documents (document_name VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR); CREATE TABLE document_sections (document_code VARCHAR, section_id VARCHAR)
SELECT document_name FROM documents EXCEPT SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code JOIN document_sections_images AS t3 ON t2.section_id = t3.section_id
What is the sum of Floors at st. joseph church?
CREATE TABLE table_name_52 (floors INTEGER, name VARCHAR)
SELECT SUM(floors) FROM table_name_52 WHERE name = "st. joseph church"
What type of glazing will stop a .44 magnum?
CREATE TABLE table_21538523_1 (type VARCHAR, caliber VARCHAR)
SELECT type FROM table_21538523_1 WHERE caliber = ".44 Magnum"
When was the delevery date when there were 12 ways of delivery?
CREATE TABLE table_11552751_2 (total_number_of_ways VARCHAR)
SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE total_number_of_ways = "12 ways"
What is the segment A on episode 237?
CREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR)
SELECT segment_a FROM table_15187735_19 WHERE episode = 237
What was Moe Gardner's pick?
CREATE TABLE table_name_36 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_name_36 WHERE player = "moe gardner"
Grechukha Tholi has what longitude?
CREATE TABLE table_16799784_4 (longitude VARCHAR, name VARCHAR)
SELECT longitude FROM table_16799784_4 WHERE name = "Grechukha Tholi"
What is the position for the player that played in 2006?
CREATE TABLE table_11734041_11 (position VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_11734041_11 WHERE years_for_rockets = "2006"
Name the theatre name for french
CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)
SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French"
How many table points are listed for the deficit is +194?
CREATE TABLE table_18505065_1 (table_points VARCHAR, difference VARCHAR)
SELECT COUNT(table_points) FROM table_18505065_1 WHERE difference = "+194"
Which Object type has a Constellation of cancer?
CREATE TABLE table_name_58 (object_type VARCHAR, constellation VARCHAR)
SELECT object_type FROM table_name_58 WHERE constellation = "cancer"
What was the District of California 2 result?
CREATE TABLE table_name_93 (result VARCHAR, district VARCHAR)
SELECT result FROM table_name_93 WHERE district = "california 2"
List the Episode of all TV series showed on TV Channel with series name "Sky Radio".
CREATE TABLE TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)
SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio"
Opponent of chicago bears involved what date?
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_95 WHERE opponent = "chicago bears"
How many races went for 10 rounds?
CREATE TABLE table_25668203_2 (fastest_lap VARCHAR, rnd VARCHAR)
SELECT COUNT(fastest_lap) FROM table_25668203_2 WHERE rnd = "10"
Which FAT32 has a no for HPFS, a no for ReFS, and a yes v3.0 fir NTFS?
CREATE TABLE table_name_54 (fat32 VARCHAR, ntfs VARCHAR, hpfs VARCHAR, refs VARCHAR)
SELECT fat32 FROM table_name_54 WHERE hpfs = "no" AND refs = "no" AND ntfs = "yes v3.0"
What is the gender of the junior high school is 24mm?
CREATE TABLE table_13555999_1 (gender VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm"
Which airport has an ICAO of RCKH?
CREATE TABLE table_name_81 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_81 WHERE icao = "rckh"
List names of all teams in the basketball competition, ordered by all home scores in descending order.
CREATE TABLE basketball_match (team_name VARCHAR, All_Home VARCHAR)
SELECT team_name FROM basketball_match ORDER BY All_Home DESC
What is the lowest Polish Cup, when Position is "Midfielder", when Player is "Miroslav Radović", and when Ekstraklasa is less than 1?
CREATE TABLE table_name_47 (polish_cup INTEGER, ekstraklasa VARCHAR, position VARCHAR, player VARCHAR)
SELECT MIN(polish_cup) FROM table_name_47 WHERE position = "midfielder" AND player = "miroslav radović" AND ekstraklasa < 1
What is Tournament, when Surface is "Hard"?
CREATE TABLE table_name_92 (tournament VARCHAR, surface VARCHAR)
SELECT tournament FROM table_name_92 WHERE surface = "hard"
What was Scott Riggs points when he had more than 400 laps?
CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400
Which Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against?
CREATE TABLE table_name_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR)
SELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = "37" AND goals_against < 63