output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT home_team AS score FROM table_name_39 WHERE venue = "kardinia park" | CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR), When playing at the Kardinia Park; what was the home teams score? |
SELECT venue FROM table_name_50 WHERE away_team = "essendon" | CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR), When Essendon played away; where did they play? |
SELECT termini FROM table_name_19 WHERE direction = "east west" AND remarks = "replaced by us 59" | CREATE TABLE table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR), What is the terminini of the highway with an east west direction and remarks that it was replaced by us 59? |
SELECT length FROM table_name_57 WHERE route_name = "sh 2" | CREATE TABLE table_name_57 (length VARCHAR, route_name VARCHAR), What is the length of the highway with the route name sh 2? |
SELECT length FROM table_name_28 WHERE remarks = "replaced by lp 20" | CREATE TABLE table_name_28 (length VARCHAR, remarks VARCHAR), What is the length of the highway with remarks that it was replaced by lp 20? |
SELECT length FROM table_name_77 WHERE remarks = "replaced by bsi-35" | CREATE TABLE table_name_77 (length VARCHAR, remarks VARCHAR), What is the length of the highway with remarks that it was replaced by bsi-35? |
SELECT length FROM table_name_25 WHERE junctions = "i-35 us 83" AND route_name = "us 83 bus." | CREATE TABLE table_name_25 (length VARCHAR, junctions VARCHAR, route_name VARCHAR), What is the length of the highway with junctions i-35 us 83 and named us 83 bus.? |
SELECT college FROM table_name_60 WHERE team = "chicago stags" | CREATE TABLE table_name_60 (college VARCHAR, team VARCHAR), What college has the Chicago Stags? |
SELECT college FROM table_name_78 WHERE team = "chicago stags" AND position = "g" | CREATE TABLE table_name_78 (college VARCHAR, team VARCHAR, position VARCHAR), What college has the Chicago stags and position is G? |
SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols" | CREATE TABLE table_name_58 (player VARCHAR, position VARCHAR, team VARCHAR), What is the name of the player with position of G and the team was the Washington Capitols? |
SELECT date_of_inauguration FROM table_name_78 WHERE length_of_retirement = "00,624 days" | CREATE TABLE table_name_78 (date_of_inauguration VARCHAR, length_of_retirement VARCHAR), What is the date of the inauguration with a Length of retirement of 00,624 days? |
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1 | CREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER), What largest bronze number has a gold number that is bigger than 1? |
SELECT COUNT(bronze) FROM table_name_86 WHERE rank < 2 AND gold < 1 | CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR), What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1? |
SELECT MAX(rank) FROM table_name_37 WHERE bronze < 1 AND silver = 1 AND total > 1 | CREATE TABLE table_name_37 (rank INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR), Which of the largest ranks has a bronze number less than 1, a silver of 1, and a total that is more than 1? |
SELECT SUM(average) FROM table_name_21 WHERE state = "south carolina" AND interview < 9.626 | CREATE TABLE table_name_21 (average INTEGER, state VARCHAR, interview VARCHAR), What is the Average for South Carolina with an Interview less than 9.626? |
SELECT MAX(interview) FROM table_name_77 WHERE average > 9.324 AND state = "louisiana" | CREATE TABLE table_name_77 (interview INTEGER, average VARCHAR, state VARCHAR), What is the highest interview for Louisiana with an average above 9.324? |
SELECT COUNT(crowd) FROM table_name_43 WHERE away_team = "carlton" | CREATE TABLE table_name_43 (crowd VARCHAR, away_team VARCHAR), How many people were in the crowd when Carlton was the away team? |
SELECT date FROM table_name_9 WHERE home_team = "essendon" | CREATE TABLE table_name_9 (date VARCHAR, home_team VARCHAR), What was the date when the home team was Essendon? |
SELECT away_team AS score FROM table_name_63 WHERE venue = "mcg" | CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR), What was the away score at the game at MCG? |
SELECT written_by FROM table_name_68 WHERE series__number = 99 | CREATE TABLE table_name_68 (written_by VARCHAR, series__number VARCHAR), Who wrote series number 99? |
SELECT original_air_date FROM table_name_85 WHERE series__number > 78 AND written_by = "jenee v. giles" | CREATE TABLE table_name_85 (original_air_date VARCHAR, series__number VARCHAR, written_by VARCHAR), What was the original air date of a series number after 78, written by Jenee V. Giles? |
SELECT COUNT(gold) FROM table_name_53 WHERE sport = "tennis" AND bronze < 2 | CREATE TABLE table_name_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR), When tennis has less than 2 bronze, what is the total number of Gold? |
SELECT COUNT(silver) FROM table_name_28 WHERE bronze = 2 AND sport = "volleyball" | CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR, sport VARCHAR), When volleyball has 2 bronze, what is the total number of silver? |
SELECT COUNT(bronze) FROM table_name_2 WHERE total > 2 AND gold = 0 AND sport = "athletics" | CREATE TABLE table_name_2 (bronze VARCHAR, sport VARCHAR, total VARCHAR, gold VARCHAR), When athletics has a total more than 2 and 0 gold, what is the total number of bronze? |
SELECT MAX(game) FROM table_name_44 WHERE attendance > 65 OFFSET 042 | CREATE TABLE table_name_44 (game INTEGER, attendance INTEGER), Which is the most recent game with an attendance larger than 65,042? |
SELECT name FROM table_name_43 WHERE order < 997 AND goals > 5 AND games = 215 | CREATE TABLE table_name_43 (name VARCHAR, games VARCHAR, order VARCHAR, goals VARCHAR), Which name has an Order smaller than 997,more than 5 goals, and 215 games? |
SELECT SUM(games) FROM table_name_94 WHERE order = 1006 AND goals > 192 | CREATE TABLE table_name_94 (games INTEGER, order VARCHAR, goals VARCHAR), How many games have an Order of 1006, and Goals larger than 192? |
SELECT games FROM table_name_5 WHERE order > 975 AND seasons = "2005 β 2007" AND goals = 46 | CREATE TABLE table_name_5 (games VARCHAR, goals VARCHAR, order VARCHAR, seasons VARCHAR), Which game has an order larger than 975, Seasons of 2005 β 2007, and 46 goals? |
SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france" | CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR), What is the latest year in Annecy, France? |
SELECT time_retired FROM table_name_61 WHERE driver = "ivan capelli" | CREATE TABLE table_name_61 (time_retired VARCHAR, driver VARCHAR), What's the Time/Retired of Ivan Capelli? |
SELECT COUNT(attendance) FROM table_name_96 WHERE score = "3 β 2" AND date = "january 10" | CREATE TABLE table_name_96 (attendance VARCHAR, score VARCHAR, date VARCHAR), How many people attended the game on january 10 with a Score of 3 β 2? |
SELECT COUNT(attendance) FROM table_name_23 WHERE record = "21β22β2" | CREATE TABLE table_name_23 (attendance VARCHAR, record VARCHAR), How many attended the game with a Record of 21β22β2? |
SELECT record FROM table_name_25 WHERE decision = "lehtonen" AND visitor = "atlanta" AND home = "ny rangers" | CREATE TABLE table_name_25 (record VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR), What is the team's record when the NY rangers are at home with atlanta visting and lehtonen getting the decision? |
SELECT time_retired FROM table_name_75 WHERE laps < 23 AND grid > 23 | CREATE TABLE table_name_75 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR), What was the time/retired for the driver with fewer than 23 laps and grid larger than 23? |
SELECT SUM(laps) FROM table_name_34 WHERE manufacturer = "aprilia" AND rider = "jorge lorenzo" AND grid > 1 | CREATE TABLE table_name_34 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR), How many laps by Jorge Lorenzo on the Aprilia with a grid bigger than 1? |
SELECT venue FROM table_name_30 WHERE date = "march 11, 1999" | CREATE TABLE table_name_30 (venue VARCHAR, date VARCHAR), Where was the game on March 11, 1999 played? |
SELECT date FROM table_name_95 WHERE race = "british grand prix" | CREATE TABLE table_name_95 (date VARCHAR, race VARCHAR), When were the British Grand Prix races? |
SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix" | CREATE TABLE table_name_11 (race VARCHAR, pole_position VARCHAR), What Canadian Grand Prix race winner had Didier Pironi in Pole Position? |
SELECT AVG(top_10) FROM table_name_42 WHERE wins < 1 AND top_25 = 5 AND cuts_made < 10 | CREATE TABLE table_name_42 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR, top_25 VARCHAR), Tell me the average top 10 for cuts made less than 10, wins less than 1 and top 25 of 5 |
SELECT prom__m_ FROM table_name_20 WHERE class = "hewitt" AND height__m_ = 715 | CREATE TABLE table_name_20 (prom__m_ VARCHAR, class VARCHAR, height__m_ VARCHAR), What is the prom with Hewitt class and a Height (m) of 715? |
SELECT laps FROM table_name_3 WHERE time_retired = "+ 4 laps" AND driver = "graham hill" | CREATE TABLE table_name_3 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR), How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill? |
SELECT time_retired FROM table_name_68 WHERE laps < 77 AND grid = 16 | CREATE TABLE table_name_68 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR), Which Time/Retired has less than 77 laps, and a Grid of 16? |
SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise" | CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR), Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise? |
SELECT team FROM table_name_56 WHERE college = "lawrence tech" | CREATE TABLE table_name_56 (team VARCHAR, college VARCHAR), What's the team of the player who went to lawrence tech? |
SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak" | CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR), Who drove the maserati under 18 laps with an oil leak that had a grid of under 14? |
SELECT AVG(grid) FROM table_name_57 WHERE driver = "jo siffert" | CREATE TABLE table_name_57 (grid INTEGER, driver VARCHAR), What is the average grid for jo siffert? |
SELECT nation FROM table_name_9 WHERE bronze = "1" AND silver = "3" | CREATE TABLE table_name_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR), What nation has 1 bronze and 3 silvers? |
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands" | CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR), How many total medals for the netherlands? |
SELECT venue FROM table_name_22 WHERE away_team = "footscray" | CREATE TABLE table_name_22 (venue VARCHAR, away_team VARCHAR), Which venue hosted an away team of Footscray? |
SELECT player FROM table_name_9 WHERE college = "murray state" | CREATE TABLE table_name_9 (player VARCHAR, college VARCHAR), Which player is from Murray State college? |
SELECT opponent_in_the_final FROM table_name_36 WHERE year = 1888 | CREATE TABLE table_name_36 (opponent_in_the_final VARCHAR, year VARCHAR), Name the opponent in the final for year of 1888 |
SELECT tournament FROM table_name_76 WHERE year = 1889 | CREATE TABLE table_name_76 (tournament VARCHAR, year VARCHAR), I want the tournament for 1889 |
SELECT date FROM table_name_78 WHERE opponent_in_the_final = "isabel cueto" | CREATE TABLE table_name_78 (date VARCHAR, opponent_in_the_final VARCHAR), On what date is Isabel cueto the opponent in the final? |
SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi" | CREATE TABLE table_name_55 (tournament VARCHAR, opponent_in_the_final VARCHAR), Which tournament has raffaella reggi listed as the opponent in the final? |
SELECT surface FROM table_name_41 WHERE score_in_the_final = "6β2, 6β3" | CREATE TABLE table_name_41 (surface VARCHAR, score_in_the_final VARCHAR), What type of surface was used where the final score was 6β2, 6β3? |
SELECT record FROM table_name_1 WHERE date = "april 22" | CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR), What was the record on April 22? |
SELECT date FROM table_name_29 WHERE opponent = "southampton" | CREATE TABLE table_name_29 (date VARCHAR, opponent VARCHAR), When was the game played against Southampton? |
SELECT venue FROM table_name_57 WHERE attendance = "13,634" | CREATE TABLE table_name_57 (venue VARCHAR, attendance VARCHAR), Which venue has 13,634 people in attendance? |
SELECT date FROM table_name_68 WHERE opponent = "leyton orient" AND venue = "away" | CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR, venue VARCHAR), When was Leyton Orient an away team? |
SELECT score FROM table_name_60 WHERE date = "may 16" | CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR), What is the score on may 16? |
SELECT constructor FROM table_name_69 WHERE entrant = "jo bonnier" AND rounds = "6" | CREATE TABLE table_name_69 (constructor VARCHAR, entrant VARCHAR, rounds VARCHAR), What was the constructor for jo bonnier of 6 rounds? |
SELECT driver FROM table_name_27 WHERE chassis = "t45 t44" AND rounds = "7" | CREATE TABLE table_name_27 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR), What was the driver with chassis of t45 t44 and rounds of 7? |
SELECT MAX(crowd) FROM table_name_40 WHERE away_team = "south melbourne" | CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR), What was the biggest crowd when the away team of south melbourne played there? |
SELECT away_team AS score FROM table_name_30 WHERE venue = "princes park" | CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR), What was the score of the away team at princes park? |
SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may" | CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR), Who was the winner with a mountain stage type on 22 May? |
SELECT course FROM table_name_76 WHERE type = "mountain stage" AND date = "3 june" | CREATE TABLE table_name_76 (course VARCHAR, type VARCHAR, date VARCHAR), Which course had a mountain stage type on 3 June? |
SELECT type FROM table_name_13 WHERE date = "22 may" | CREATE TABLE table_name_13 (type VARCHAR, date VARCHAR), What was the course type on 22 May? |
SELECT MIN(pick__number) FROM table_name_39 WHERE player = "jesse alexander" | CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR), What is the pick number of Jesse Alexander? |
SELECT COUNT(week) FROM table_name_37 WHERE result = "bye" | CREATE TABLE table_name_37 (week VARCHAR, result VARCHAR), How many weeks do they have a bye? |
SELECT english_title__chinese_title_ FROM table_name_67 WHERE airing_date = "18 dec 2006- 10 feb 2007" | CREATE TABLE table_name_67 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR), Which title aired on 18 dec 2006- 10 feb 2007? |
SELECT genre FROM table_name_27 WHERE airing_date = "12 feb- 9 mar" | CREATE TABLE table_name_27 (genre VARCHAR, airing_date VARCHAR), Which genre aired on 12 feb- 9 mar? |
SELECT english_title__chinese_title_ FROM table_name_20 WHERE number_of_episodes = 20 AND airing_date = "11 jun- 6 jul" | CREATE TABLE table_name_20 (english_title__chinese_title_ VARCHAR, number_of_episodes VARCHAR, airing_date VARCHAR), Which title had 20 episodes and aired on 11 jun- 6 jul? |
SELECT opponent FROM table_name_41 WHERE date = "september 17" | CREATE TABLE table_name_41 (opponent VARCHAR, date VARCHAR), Who was the opponent on September 17? |
SELECT opponent FROM table_name_53 WHERE date = "september 28, 1951" | CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR), Which Opponent has a Date of september 28, 1951? |
SELECT attendance FROM table_name_22 WHERE date = "november 18, 1951" | CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR), Which Attendance has a Date of november 18, 1951? |
SELECT bore_x_stroke FROM table_name_83 WHERE year = "1929-32" | CREATE TABLE table_name_83 (bore_x_stroke VARCHAR, year VARCHAR), Name the Bore x stroke of 1929-32 |
SELECT displacement FROM table_name_63 WHERE year = "1935-45" | CREATE TABLE table_name_63 (displacement VARCHAR, year VARCHAR), Tell me the displacement for 1935-45 |
SELECT power FROM table_name_91 WHERE year = "1935-45" | CREATE TABLE table_name_91 (power VARCHAR, year VARCHAR), Tell me the power for 1935-45 |
SELECT displacement FROM table_name_28 WHERE version = "db" | CREATE TABLE table_name_28 (displacement VARCHAR, version VARCHAR), I want the displacement for version of db |
SELECT version FROM table_name_71 WHERE year = "1940-45" | CREATE TABLE table_name_71 (version VARCHAR, year VARCHAR), Tell me the version for 1940-45 |
SELECT competition FROM table_name_98 WHERE position = "8th" | CREATE TABLE table_name_98 (competition VARCHAR, position VARCHAR), What's the name of the competition in 8th position? |
SELECT venue FROM table_name_27 WHERE competition = "european indoor championships" AND year > 1979 | CREATE TABLE table_name_27 (venue VARCHAR, competition VARCHAR, year VARCHAR), After 1979, where was the European Indoor Championships held? |
SELECT position FROM table_name_78 WHERE competition = "european indoor championships" AND year < 1979 | CREATE TABLE table_name_78 (position VARCHAR, competition VARCHAR, year VARCHAR), Before 1979, what position was the European Indoor Championships? |
SELECT player FROM table_name_94 WHERE pick__number < 2 | CREATE TABLE table_name_94 (player VARCHAR, pick__number INTEGER), What player is picked before 2? |
SELECT position FROM table_name_22 WHERE cfl_team = "bc lions" | CREATE TABLE table_name_22 (position VARCHAR, cfl_team VARCHAR), What position do the bc lions pick? |
SELECT city FROM table_name_43 WHERE icao = "epwa" | CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR), Where has an ICAO of EPWA? |
SELECT city FROM table_name_69 WHERE iata = "bva" | CREATE TABLE table_name_69 (city VARCHAR, iata VARCHAR), Where has an IATA of BVA? |
SELECT date FROM table_name_62 WHERE record = "3-14-6" | CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR), When was the record 3-14-6? |
SELECT home FROM table_name_34 WHERE record = "4-16-7" | CREATE TABLE table_name_34 (home VARCHAR, record VARCHAR), What home team had a record of 4-16-7? |
SELECT COUNT(year) FROM table_name_63 WHERE film_name = "rang barse" | CREATE TABLE table_name_63 (year VARCHAR, film_name VARCHAR), Which year was the film Rang Barse introduced? |
SELECT MAX(year) FROM table_name_95 WHERE film_name = "gaon ki ganga" | CREATE TABLE table_name_95 (year INTEGER, film_name VARCHAR), What was the latest year for the film Gaon Ki Ganga? |
SELECT film_name FROM table_name_63 WHERE year = 2002 | CREATE TABLE table_name_63 (film_name VARCHAR, year VARCHAR), Which film was released in the year 2002? |
SELECT music_director FROM table_name_86 WHERE year > 2003 | CREATE TABLE table_name_86 (music_director VARCHAR, year INTEGER), Name a music director, belonging to a year after 2003? |
SELECT AVG(crowd) FROM table_name_38 WHERE away_team = "collingwood" | CREATE TABLE table_name_38 (crowd INTEGER, away_team VARCHAR), What is the average crowd when the team Collingwood was away? |
SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw" | CREATE TABLE table_name_3 (first_criticality VARCHAR, electric_power VARCHAR), Name the first citicality for electric power of 1,380 mw |
SELECT constructor FROM table_name_52 WHERE engine_β = "cosworth cr-2" AND driver = "luciano burti" | CREATE TABLE table_name_52 (constructor VARCHAR, engine_β VARCHAR, driver VARCHAR), What constructor has an engine of cosworth cr-2 and a driver of luciano burti? |
SELECT tyre FROM table_name_40 WHERE engine_β = "peugeot a20" | CREATE TABLE table_name_40 (tyre VARCHAR, engine_β VARCHAR), What is the tyre for the peugeot a20 engine? |
SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife" | CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR), Which entrant had a constructor of benetton - playlife? |
SELECT entrant FROM table_name_68 WHERE engine_β = "mugen-honda mf-301 he" | CREATE TABLE table_name_68 (entrant VARCHAR, engine_β VARCHAR), Which entrant had a mugen-honda mf-301 he engine? |
SELECT chassis FROM table_name_7 WHERE engine_β = "playlife fb02" AND driver = "alexander wurz" | CREATE TABLE table_name_7 (chassis VARCHAR, engine_β VARCHAR, driver VARCHAR), What's the chassis for alexander wurz's playlife fb02 engine? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.