output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT nat FROM table_name_49 WHERE principal_victims = "civilians" | CREATE TABLE table_name_49 (nat VARCHAR, principal_victims VARCHAR), What is the nationality of the ship when the principle victims are civilians? |
SELECT name FROM table_name_23 WHERE ship_type = "battleship" AND date = "may 13, 1915" | CREATE TABLE table_name_23 (name VARCHAR, ship_type VARCHAR, date VARCHAR), what is the name of the battleship with the battle listed on May 13, 1915? |
SELECT tournament FROM table_name_74 WHERE 2000 = "2-4" | CREATE TABLE table_name_74 (tournament VARCHAR), In what year 2000 tournment did Angeles Montolio have a career win-loss record of 2-4? |
SELECT career_win_loss FROM table_name_75 WHERE 2002 = "1r" AND 2000 = "2r" AND 2001 = "2r" | CREATE TABLE table_name_75 (career_win_loss VARCHAR), Which career win-loss record has a 1r in 2002, a 2r in 2000 and a 2r in 2001? |
SELECT title FROM table_name_7 WHERE peak_position = 10 AND weeks_on_chart < 19 | CREATE TABLE table_name_7 (title VARCHAR, peak_position VARCHAR, weeks_on_chart VARCHAR), What is the title of the single with the peak position of 10 and weeks on chart is less than 19? |
SELECT weeks_on_chart FROM table_name_92 WHERE country = "france" | CREATE TABLE table_name_92 (weeks_on_chart VARCHAR, country VARCHAR), what is the weeks on chart for the single from france? |
SELECT country FROM table_name_53 WHERE album = "best of" AND weeks_on_chart < 5 | CREATE TABLE table_name_53 (country VARCHAR, album VARCHAR, weeks_on_chart VARCHAR), what is the country with the album best of and weeks on chart is less than 5? |
SELECT title FROM table_name_21 WHERE peak_position = 10 AND country = "france" | CREATE TABLE table_name_21 (title VARCHAR, peak_position VARCHAR, country VARCHAR), What is the title of the single with the peak position of 10 and from France? |
SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = "sweden" | CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR), what is the most weeks on chart when the peak position is less than 5 and from Sweden? |
SELECT COUNT(gold) FROM table_name_50 WHERE total = 1 AND silver = 1 | CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, silver VARCHAR), Name the total number of golds when total is 1 and silver is 1 |
SELECT COUNT(rank) FROM table_name_76 WHERE total < 1 | CREATE TABLE table_name_76 (rank VARCHAR, total INTEGER), Name the total number of ranks when total is less than 1 |
SELECT date FROM table_name_56 WHERE machine = "norton" AND rider = "harry l stephen" | CREATE TABLE table_name_56 (date VARCHAR, machine VARCHAR, rider VARCHAR), Harry l Stephen rides a Norton machine on what date? |
SELECT machine FROM table_name_76 WHERE rider = "keith t. gawler" | CREATE TABLE table_name_76 (machine VARCHAR, rider VARCHAR), What machine did Keith T. Gawler ride? |
SELECT place FROM table_name_3 WHERE machine = "249cc yamaha" | CREATE TABLE table_name_3 (place VARCHAR, machine VARCHAR), Where was the 249cc Yamaha? |
SELECT machine FROM table_name_2 WHERE rider = "kenneth e. herbert" | CREATE TABLE table_name_2 (machine VARCHAR, rider VARCHAR), What machine did Kenneth E. Herbert ride? |
SELECT event FROM table_name_56 WHERE rider = "rob vine" | CREATE TABLE table_name_56 (event VARCHAR, rider VARCHAR), What event was Rob Vine riding? |
SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx" | CREATE TABLE table_name_14 (time VARCHAR, team_s_ VARCHAR, artist_s_ VARCHAR), How long is the XXX track used by the Minnesota Vikings? |
SELECT team_s_ FROM table_name_51 WHERE time = "3:29" | CREATE TABLE table_name_51 (team_s_ VARCHAR, time VARCHAR), What teams used a track 3:29 long? |
SELECT artist_s_ FROM table_name_39 WHERE team_s_ = "seattle seahawks" | CREATE TABLE table_name_39 (artist_s_ VARCHAR, team_s_ VARCHAR), Who is the artist of the Seattle Seahawks track? |
SELECT SUM(attendance) FROM table_name_49 WHERE location = "ebbets field" AND time = "2:56" AND game > 6 | CREATE TABLE table_name_49 (attendance INTEGER, game VARCHAR, location VARCHAR, time VARCHAR), Location of ebbets field, and a Time of 2:56, and a Game larger than 6 has what sum of attendance? |
SELECT MIN(attendance) FROM table_name_47 WHERE game = 6 | CREATE TABLE table_name_47 (attendance INTEGER, game VARCHAR), The game of 6 has what lowest attendance? |
SELECT AVG(game) FROM table_name_47 WHERE date = "october 1" | CREATE TABLE table_name_47 (game INTEGER, date VARCHAR), Date of October 1 has what average game? |
SELECT attendance FROM table_name_56 WHERE location = "yankee stadium (i)" AND time = "3:00" | CREATE TABLE table_name_56 (attendance VARCHAR, location VARCHAR, time VARCHAR), yankee stadium (i), and a Time of 3:00 has what attendance for this location? |
SELECT COUNT(round) FROM table_name_52 WHERE college = "lsu" | CREATE TABLE table_name_52 (round VARCHAR, college VARCHAR), College of lsu has how many rounds? |
SELECT name FROM table_name_61 WHERE pick__number = 25 AND overall = 207 | CREATE TABLE table_name_61 (name VARCHAR, pick__number VARCHAR, overall VARCHAR), Pick # of 25, and an Overall of 207 has what name? |
SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129 | CREATE TABLE table_name_67 (college VARCHAR, round VARCHAR, overall VARCHAR), Round smaller than 7, and an Overall of 129 is what college? |
SELECT position FROM table_name_48 WHERE round > 6 AND pick__number < 25 AND college = "southern illinois" | CREATE TABLE table_name_48 (position VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR), Round larger than 6, and a Pick # smaller than 25, and a College of southern Illinois has what position? |
SELECT us_release FROM table_name_79 WHERE pages = "704" | CREATE TABLE table_name_79 (us_release VARCHAR, pages VARCHAR), Which US release has 704 pages? |
SELECT audio FROM table_name_21 WHERE title = "a storm of swords" | CREATE TABLE table_name_21 (audio VARCHAR, title VARCHAR), Which audio has a Title of a storm of swords? |
SELECT title FROM table_name_56 WHERE us_release = "august 1996" | CREATE TABLE table_name_56 (title VARCHAR, us_release VARCHAR), Which title has a US release of august 1996? |
SELECT pages FROM table_name_3 WHERE title = "a dream of spring" | CREATE TABLE table_name_3 (pages VARCHAR, title VARCHAR), How many pages does a dream of spring have? |
SELECT result FROM table_name_75 WHERE game_site = "kingdome" AND opponent = "denver broncos" | CREATE TABLE table_name_75 (result VARCHAR, game_site VARCHAR, opponent VARCHAR), Name the result for kingdome game site and opponent of denver broncos |
SELECT college_junior_club_team FROM table_name_27 WHERE pick__number = "1" | CREATE TABLE table_name_27 (college_junior_club_team VARCHAR, pick__number VARCHAR), Which College/junior/club team has a Pick # of 1? |
SELECT pick__number FROM table_name_69 WHERE nhl_team = "detroit red wings" | CREATE TABLE table_name_69 (pick__number VARCHAR, nhl_team VARCHAR), Which Pick # has an NHL team of detroit red wings? |
SELECT player FROM table_name_42 WHERE position = "defence" AND pick__number = "6" | CREATE TABLE table_name_42 (player VARCHAR, position VARCHAR, pick__number VARCHAR), Which player has a Position of defence, and a Pick # of 6? |
SELECT nhl_team FROM table_name_97 WHERE player = "steve durbano" | CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR), Which NHL team has a Player of steve durbano? |
SELECT MAX(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND player = "tiger woods" | CREATE TABLE table_name_64 (money___ INTEGER, place VARCHAR, player VARCHAR), What is the largest money for a t4 place, for Tiger Woods? |
SELECT goals_against FROM table_name_82 WHERE points = 58 | CREATE TABLE table_name_82 (goals_against VARCHAR, points VARCHAR), How many goals against have 58 points? |
SELECT MAX(top_10) FROM table_name_9 WHERE cuts_made > 1 AND events = 8 | CREATE TABLE table_name_9 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR), For majors with 8 events played and more than 1 made cut, what is the most top-10s recorded? |
SELECT MIN(wins) FROM table_name_33 WHERE tournament = "pga championship" AND events > 3 | CREATE TABLE table_name_33 (wins INTEGER, tournament VARCHAR, events VARCHAR), For more than 3 events in the PGA Championship, what is the fewest number of wins? |
SELECT COUNT(top_10) FROM table_name_24 WHERE events < 3 AND cuts_made < 1 | CREATE TABLE table_name_24 (top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR), For events with under 3 times played and fewer than 1 cut made, what is the total number of top-10 finishes? |
SELECT MIN(top_10) FROM table_name_79 WHERE events = 1 AND cuts_made > 0 | CREATE TABLE table_name_79 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR), For events with values of exactly 1, and 0 cuts made, what is the fewest number of top-10s? |
SELECT tyres FROM table_name_33 WHERE year < 1961 AND engine = "climax l4" | CREATE TABLE table_name_33 (tyres VARCHAR, year VARCHAR, engine VARCHAR), What is the tyres with a year earlier than 1961 for a climax l4 engine? |
SELECT chassis FROM table_name_69 WHERE year > 1959 AND engine = "climax l4" | CREATE TABLE table_name_69 (chassis VARCHAR, year VARCHAR, engine VARCHAR), What company built the chassis for a year later than 1959 and a climax l4 engine? |
SELECT engine FROM table_name_85 WHERE year = 1961 | CREATE TABLE table_name_85 (engine VARCHAR, year VARCHAR), What engine was in the year of 1961? |
SELECT engine FROM table_name_19 WHERE chassis = "cooper t43" | CREATE TABLE table_name_19 (engine VARCHAR, chassis VARCHAR), What engine was for the vehicle with a cooper t43 chassis? |
SELECT engine FROM table_name_59 WHERE year = 1960 | CREATE TABLE table_name_59 (engine VARCHAR, year VARCHAR), What is the engine for a vehicle in 1960? |
SELECT tyres FROM table_name_70 WHERE chassis = "jbw type 2" | CREATE TABLE table_name_70 (tyres VARCHAR, chassis VARCHAR), What is the tyres for the JBW type 2 chassis? |
SELECT location FROM table_name_68 WHERE game < 2 | CREATE TABLE table_name_68 (location VARCHAR, game INTEGER), What is the location of the game that has a number smaller than 2? |
SELECT film FROM table_name_55 WHERE category = "short film 2007 prix uip" AND director_s_ = "ian mackinnon" | CREATE TABLE table_name_55 (film VARCHAR, category VARCHAR, director_s_ VARCHAR), What film did ian mackinnon direct that was in the short film 2007 prix uip category? |
SELECT film FROM table_name_49 WHERE country = "spain" | CREATE TABLE table_name_49 (film VARCHAR, country VARCHAR), What film was filmed in Spain? |
SELECT country FROM table_name_43 WHERE director_s_ = "2007" | CREATE TABLE table_name_43 (country VARCHAR, director_s_ VARCHAR), What Country has a Director of 2007? |
SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar" | CREATE TABLE table_name_93 (film VARCHAR, category VARCHAR, director_s_ VARCHAR), What film did abdelatif hwidar direct that was in the short film 2007 prix uip category? |
SELECT nominating_festival FROM table_name_69 WHERE film = "adjustment" | CREATE TABLE table_name_69 (nominating_festival VARCHAR, film VARCHAR), What Nominating festival was party of the adjustment film? |
SELECT country FROM table_name_49 WHERE nominating_festival = "prix uip ghent" | CREATE TABLE table_name_49 (country VARCHAR, nominating_festival VARCHAR), What country was the prix uip ghent nominating festival? |
SELECT record FROM table_name_33 WHERE loss = "stottlemyre (10-12)" | CREATE TABLE table_name_33 (record VARCHAR, loss VARCHAR), What was the record of the game that had a loss of Stottlemyre (10-12)? |
SELECT MAX(attendance) FROM table_name_26 WHERE date = "august 28" | CREATE TABLE table_name_26 (attendance INTEGER, date VARCHAR), What was the Attendance high on August 28? |
SELECT opponent FROM table_name_95 WHERE record = "22-13" | CREATE TABLE table_name_95 (opponent VARCHAR, record VARCHAR), Who was the opponent at the game when the record was 22-13? |
SELECT loss FROM table_name_15 WHERE record = "21-13" | CREATE TABLE table_name_15 (loss VARCHAR, record VARCHAR), What was the loss of the game when the record was 21-13? |
SELECT date FROM table_name_14 WHERE record = "31-15" | CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR), What was date of the game when the record was 31-15? |
SELECT record FROM table_name_37 WHERE opponent = "indians" AND loss = "camacho (1-4)" | CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR), What was the record at the game against the Indians with a loss of Camacho (1-4)? |
SELECT type FROM table_name_81 WHERE themed_land = "wild asia" AND opened_in = 2000 | CREATE TABLE table_name_81 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR), What type ride is Wild Asia that opened in 2000? |
SELECT type FROM table_name_59 WHERE ride_name = "rameses revenge" | CREATE TABLE table_name_59 (type VARCHAR, ride_name VARCHAR), What type of ride is Rameses Revenge? |
SELECT type FROM table_name_32 WHERE opened_in > 2000 AND ride_name = "peeking heights" | CREATE TABLE table_name_32 (type VARCHAR, opened_in VARCHAR, ride_name VARCHAR), Which ride opened after the 2000 Peeking Heights? |
SELECT ride_name FROM table_name_43 WHERE manufacturer = "zierer" | CREATE TABLE table_name_43 (ride_name VARCHAR, manufacturer VARCHAR), What ride was manufactured by Zierer? |
SELECT year FROM table_name_77 WHERE engine = "ferrari v6" | CREATE TABLE table_name_77 (year VARCHAR, engine VARCHAR), What year engine does a ferrari v6 have? |
SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957 | CREATE TABLE table_name_42 (entrant VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR), What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957? |
SELECT d_45_o FROM table_name_5 WHERE d_44_o = "majority →" | CREATE TABLE table_name_5 (d_45_o VARCHAR, d_44_o VARCHAR), Name the D 45 O with D 44 O majority → |
SELECT d_45_o FROM table_name_97 WHERE d_46_o = "r 31 √" | CREATE TABLE table_name_97 (d_45_o VARCHAR, d_46_o VARCHAR), Name the D 45 O with D 46 O of r 31 √ |
SELECT d_41_√ FROM table_name_17 WHERE d_44_o = "r 13" | CREATE TABLE table_name_17 (d_41_√ VARCHAR, d_44_o VARCHAR), Name the D 41 √ with D 44 O of r 13 |
SELECT d_48_o FROM table_name_47 WHERE d_41_√ = "d 41 √" | CREATE TABLE table_name_47 (d_48_o VARCHAR, d_41_√ VARCHAR), Name the D 48 O with D 41 √ of d 41 √ |
SELECT d_47_o FROM table_name_80 WHERE d_48_o = "r 9" | CREATE TABLE table_name_80 (d_47_o VARCHAR, d_48_o VARCHAR), Name the D 47 O with D 48 O of r 9 |
SELECT MIN(league) AS Cup FROM table_name_34 WHERE league = 434 | CREATE TABLE table_name_34 (league INTEGER), What is the lowest number of League Cups a player with a 434 league has? |
SELECT AVG(fa_cup) FROM table_name_79 WHERE name = "steve whitworth" AND total < 400 | CREATE TABLE table_name_79 (fa_cup INTEGER, name VARCHAR, total VARCHAR), What is the average number of FA cups Steve Whitworth, who has less than 400 total, has? |
SELECT height_feet___m FROM table_name_68 WHERE floors < 34 AND name = "the tides" | CREATE TABLE table_name_68 (height_feet___m VARCHAR, floors VARCHAR, name VARCHAR), What is the height of the Tides with less than 34 floors? |
SELECT years_as_tallest FROM table_name_14 WHERE floors = 24 | CREATE TABLE table_name_14 (years_as_tallest VARCHAR, floors VARCHAR), How many years was the building with 24 floors the tallest? |
SELECT SUM(floors) FROM table_name_92 WHERE name = "blue diamond" | CREATE TABLE table_name_92 (floors INTEGER, name VARCHAR), How many floors does the Blue Diamond have? |
SELECT mixed_doubles FROM table_name_2 WHERE year > 2011 | CREATE TABLE table_name_2 (mixed_doubles VARCHAR, year INTEGER), Which mixed doubles happened later than 2011? |
SELECT name FROM table_name_19 WHERE country = "sco" | CREATE TABLE table_name_19 (name VARCHAR, country VARCHAR), What is the person's name that is from the country of SCO? |
SELECT source FROM table_name_89 WHERE name = "cresswell" | CREATE TABLE table_name_89 (source VARCHAR, name VARCHAR), What was the source for the person named Cresswell? |
SELECT status FROM table_name_65 WHERE name = "nicholls" | CREATE TABLE table_name_65 (status VARCHAR, name VARCHAR), What is the current status of the person named Nicholls? |
SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "crainey" | CREATE TABLE table_name_83 (transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR), What was the transfer fee for the summer transfer involving the SCO named Crainey? |
SELECT source FROM table_name_88 WHERE country = "eng" AND transfer_fee = "£1.5m" | CREATE TABLE table_name_88 (source VARCHAR, country VARCHAR, transfer_fee VARCHAR), What was the source of an ENG transfer that paid a £1.5m transfer fee? |
SELECT record FROM table_name_5 WHERE opponent = "@ orioles" AND loss = "leal (5-4)" | CREATE TABLE table_name_5 (record VARCHAR, opponent VARCHAR, loss VARCHAR), What was the record where the opponent was @ Orioles and the loss was to Leal (5-4)? |
SELECT record FROM table_name_84 WHERE date = "june 14" | CREATE TABLE table_name_84 (record VARCHAR, date VARCHAR), What was the record for the date of June 14? |
SELECT COUNT(seats) FROM table_name_89 WHERE vote__percentage > 19.5 | CREATE TABLE table_name_89 (seats VARCHAR, vote__percentage INTEGER), Name the total number of seats for votes % more than 19.5 |
SELECT MAX(vote__percentage) FROM table_name_53 WHERE election = "1946" | CREATE TABLE table_name_53 (vote__percentage INTEGER, election VARCHAR), Name the most vote % with election of 1946 |
SELECT vote__percentage FROM table_name_92 WHERE seats = 9 | CREATE TABLE table_name_92 (vote__percentage VARCHAR, seats VARCHAR), Name the vote % for seats of 9 |
SELECT SUM(votes) FROM table_name_26 WHERE vote__percentage > 19.5 | CREATE TABLE table_name_26 (votes INTEGER, vote__percentage INTEGER), Name the sum of votes % more than 19.5 |
SELECT director_s_ FROM table_name_80 WHERE recipient = "cracking film productions" | CREATE TABLE table_name_80 (director_s_ VARCHAR, recipient VARCHAR), Who directed a film for Cracking Film Productions? |
SELECT award FROM table_name_7 WHERE film = "ozone" | CREATE TABLE table_name_7 (award VARCHAR, film VARCHAR), What award did the film Ozone win? |
SELECT recipient FROM table_name_37 WHERE date = "4/9/02" AND award = "£3,000" | CREATE TABLE table_name_37 (recipient VARCHAR, date VARCHAR, award VARCHAR), Who won an award of £3,000 on 4/9/02? |
SELECT categorie FROM table_name_39 WHERE year = 2002 AND awards = "berlin international film festival" | CREATE TABLE table_name_39 (categorie VARCHAR, year VARCHAR, awards VARCHAR), What was the categorie in 2002 at the Berlin international Film Festival that Danielle Darrieux was in? |
SELECT result FROM table_name_80 WHERE year > 1987 AND awards = "berlin international film festival" | CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR), What was the result at the Berlin International Film Festival in a year greater than 1987? |
SELECT MIN(year) FROM table_name_70 WHERE movie = "8 women" AND awards = "césar award" | CREATE TABLE table_name_70 (year INTEGER, movie VARCHAR, awards VARCHAR), In what year was the movie 8 women up for a César Award? |
SELECT position FROM table_name_17 WHERE school = "indiana state" | CREATE TABLE table_name_17 (position VARCHAR, school VARCHAR), Name the position for indiana state |
SELECT format FROM table_name_53 WHERE date = "february 14, 2002" | CREATE TABLE table_name_53 (format VARCHAR, date VARCHAR), What is the format of the date February 14, 2002? |
SELECT region FROM table_name_7 WHERE catalog = "38xa-3" | CREATE TABLE table_name_7 (region VARCHAR, catalog VARCHAR), Which region is identified as 38xa-3 in the catalog? |
SELECT date FROM table_name_70 WHERE format = "cd" | CREATE TABLE table_name_70 (date VARCHAR, format VARCHAR), Which date is in CD format? |
SELECT date FROM table_name_97 WHERE format = "stereo lp" | CREATE TABLE table_name_97 (date VARCHAR, format VARCHAR), Which date is in stereo lp format? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.